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
(For more resources related to this topic, see here.) Communicating easily with Max 6 – the [serial] object The easiest way to exchange data between your computer running a Max 6 patch and your Arduino board is via the serial port. The USB connector of our Arduino boards includes the FTDI integrated circuit EEPROM FT-232 that converts the RS-232 plain old serial standard to USB. We are going to use again our basic USB connection between Arduino and our computer in order to exchange data here. The [serial] object We have to remember the [serial] object's features. It provides a way to send and receive data from a serial port. To do this, there is a basic patch including basic blocks. We are going to improve it progressively all along this article. The [serial] object is like a buffer we have to poll as much as we need. If messages are sent from Arduino to the serial port of the computer, we have to ask the [serial] object to pop them out. We are going to do this in the following pages. This article is also a pretext for me to give you some of my tips and tricks in Max 6 itself. Take them and use them; they will make your patching life easier. Selecting the right serial port we have used the message (print) sent to [serial] in order to list all the serial ports available on the computer. Then we checked the Max window. That was not the smartest solution. Here, we are going to design a better one. We have to remember the [loadbang] object. It fires a bang, that is, a (print) message to the following object as soon as the patch is loaded. It is useful to set things up and initialize some values as we could inside our setup() block in our Arduino board's firmware. Here, we do that in order to fill the serial port selector menu. When the [serial] object receives the (print) message, it pops out a list of all the serial ports available on the computer from its right outlet prepended by the word port. We then process the result by using [route port] that only parses lists prepended with the word port. The [t] object is an abbreviation of [trigger]. This object sends the incoming message to many locations, as is written in the documentation, if you assume the use of the following arguments: - b means bang - f means float number - i means integer - s means symbol - l means list (that is, at least one element) We can also use constants as arguments and as soon as the input is received, the constant will be sent as it is. At last, the [trigger] output messages in a particular order: from the rightmost outlet to the leftmost one. So here we take the list of serial ports being received from the [route] object; we send the clear message to the [umenu] object (the list menu on the left side) in order to clear the whole list. Then the list of serial ports is sent as a list (because of the first argument) to [iter]. [iter] splits a list into its individual elements. [prepend] adds a message in front of the incoming input message. That means the global process sends messages to the [umenu] object similar to the following: - append xxxxxx - append yyyyyy Here xxxxxx and yyyyyy are the serial ports that are available. This creates the serial port selector menu by filling the list with the names of the serial ports. This is one of the typical ways to create some helpers, in this case the menu, in our patches using UI elements. As soon as you load this patch, the menu is filled, and you only have to choose the right serial port you want to use. As soon as you select one element in the menu, the number of the element in the list is fired to its leftmost outlet. We prepend this number by port and send that to [serial], setting it up to the right-hand serial port. Polling system One of the most used objects in Max 6 to send regular bangs in order to trigger things or count time is [metro]. We have to use one argument at least; this is the time between two bangs in milliseconds. Banging the [serial] object makes it pop out the values contained in its buffer. If we want to send data continuously from Arduino and process them with Max 6, activating the [metro] object is required. We then send a regular bang and can have an update of all the inputs read by Arduino inside our Max 6 patch. Choosing a value between 15 ms and 150 ms is good but depends on your own needs. Let's now see how we can read, parse, and select useful data being received from Arduino. Parsing and selecting data coming from Arduino First, I want to introduce you to a helper firmware inspired by the Arduino2Max page on the Arduino website but updated and optimized a bit by me. It provides a way to read all the inputs on your Arduino, to pack all the data read, and to send them to our Max 6 patch through the [serial] object. The readAll firmware The following code is the firmware. int val = 0; void setup() { Serial.begin(9600); pinMode(13,INPUT); } void loop() { // Check serial buffer for characters incoming if (Serial.available() > 0){ // If an 'r' is received then read all the pins if (Serial.read() == 'r') { // Read and send analog pins 0-5 values for (int pin= 0; pin<=5; pin++){ val = analogRead(pin); sendValue (val); } // Read and send digital pins 2-13 values for (int pin= 2; pin<=13; pin++){ val = digitalRead(pin); sendValue (val); } Serial.println();// Carriage return to mark end of data flow. delay (5); // prevent buffer overload } } } void sendValue (int val){ Serial.print(val); Serial.write(32); // add a space character after each value sent } For starters, we begin the serial communication at 9600 bauds in the setup() block. As usual with serial communication handling, we check if there is something in the serial buffer of Arduino at first by using the Serial.available() function. If something is available, we check if it is the character r. Of course, we can use any other character. r here stands for read, which is basic. If an r is received, it triggers the read of both analog and digital ports. Each value (the val variable) is passed to the sendValue()function; this basically prints the value into the serial port and adds a space character in order to format things a bit to provide an easier parsing by Max 6. We could easily adapt this code to only read some inputs and not all. We could also remove the sendValue() function and find another way of packing data. At the end, we push a carriage return to the serial port by using Serial.println(). This creates a separator between each pack of data that is sent. Now, let's improve our Max 6 patch to handle this pack of data being received from Arduino. The ReadAll Max 6 patch The following screenshot is the ReadAll Max patch that provides a way to communicate with our Arduino: Requesting data from Arduino First, we will see a [t b b] object. It is also a trigger, ordering bangs provided by the [metro] object. Each bang received triggers another bang to another [trigger] object, then another one to the [serial] object itself. The [t 13 r] object can seem tricky. It just triggers a character r and then the integer 13. The character r is sent to [spell] that converts it to ASCII code and then sends the result to [serial]. 13 is the ASCII code for a carriage return. This structure provides a way to fire the character r to the [serial] object, which means to Arduino, each time that the metro bangs. As we already see in the firmware, it triggers Arduino to read all its inputs, then to pack the data, and then to send the pack to the serial port for the Max 6 patch. To summarize what the metro triggers at each bang, we can write this sequence: - Send the character r to Arduino. - Send a carriage return to Arduino. - Bang the [serial] object. This triggers Arduino to send back all its data to the Max patch. Parsing the received data Under the [serial] object, we can see a new structure beginning with the [sel 10 13] object. This is an abbreviation for the [select] object. This object selects an incoming message and fires a bang to the specific output if the message equals the argument corresponding to the specific place of that output. Basically, here we select 10 or 13. The last output pops the incoming message out if that one doesn't equal any argument. Here, we don't want to consider a new line feed (ASCII code 10). This is why we put it as an argument, but we don't do anything if that's the one that has been selected. It is a nice trick to avoid having this message trigger anything and even to not have it from the right output of [select]. Here, we send all the messages received from Arduino, except 10 or 13, to the [zl group 78] object. The latter is a powerful list for processing many features. The group argument makes it easy to group the messages received in a list. The last argument is to make sure we don't have too many elements in the list. As soon as [zl group] is triggered by a bang or the list length reaches the length argument value, it pops out the whole list from its left outlet. Here, we "accumulate" all the messages received from Arduino, and as soon as a carriage return is sent (remember we are doing that in the last rows of the loop() block in the firmware), a bang is sent and all the data is passed to the next object. We currently have a big list with all the data inside it, with each value being separated from the other by a space character (the famous ASCII code 32 we added in the last function of the firmware). This list is passed to the [itoa] object. itoa stands for integer to ASCII . This object converts integers to ASCII characters. The [fromsymbol] object converts a symbol to a list of messages. Finally, after this [fromsymbol] object we have our big list of values separated by spaces and totally readable. We then have to unpack the list. [unpack] is a very useful object that provides a way to cut a list of messages into individual messages. We can notice here that we implemented exactly the opposite process in the Arduino firmware while we packed each value into a big message. [unpack] takes as many arguments as we want. It requires knowing about the exact number of elements in the list sent to it. Here we send 12 values from Arduino, so we put 12 i arguments. i stands for integer . If we send a float, [unpack] would cast it as an integer. It is important to know this. Too many students are stuck with troubleshooting this in particular. We are only playing with the integer here. Indeed, the ADC of Arduino provides data from 0 to 1023 and the digital input provides 0 or 1 only. We attached a number box to each output of the [unpack] object in order to display each value. Then we used a [change] object. This latter is a nice object. When it receives a value, it passes it to its output only if it is different from the previous value received. It provides an effective way to avoid sending the same value each time when it isn't required. Here, I chose the argument -1 because this is not a value sent by the Arduino firmware, and I'm sure that the first element sent will be parsed. So we now have all our values available. We can use them for different jobs. But I propose to use a smarter way, and this will also introduce a new concept. Distributing received data and other tricks Let's introduce here some other tricks to improve our patching style. Cordless trick We often have to use some data in our patches. The same data has to feed more than one object. A good way to avoid messy patches with a lot of cord and wires everywhere is to use the [send] and [receive] objects. These objects can be abbreviated with [s] and [r], and they generate communication buses and provide a wireless way to communicate inside our patches. These three structures are equivalent. The first one is a basic cord. As soon as we send data from the upper number box, it is transmitted to the one at the other side of the cord. The second one generates a data bus named busA. As soon as you send data into [send busA], each [receive busA] object in your patch will pop out that data. The third example is the same as the second one, but it generates another bus named busB. This is a good way to distribute data. I often use this for my master clock, for instance. I have one and only one master clock banging a clock to [send masterClock], and wherever I need to have that clock, I use [receive masterClock] and it provides me with the data I need. If you check the global patch, you can see that we distribute data to the structures at the bottom of the patch. But these structures could also be located elsewhere. Indeed, one of the strengths of any visual programming framework such as Max 6 is the fact that you can visually organize every part of your code exactly as you want in your patcher. And please, do that as much as you can. This will help you to support and maintain your patch all through your long development months. Check the previous screenshot. I could have linked the [r A1] object at the top left corner to the [p process03] object directly. But maybe this will be more readable if I keep the process chains separate. I often work this way with Max 6. This is one of the multiple tricks I teach in my Max 6 course. And of course, I introduced the [p] object, that is the [patcher] abbreviation. Let's check a couple of tips before we continue with some good examples involving Max 6 and Arduino. Encapsulation and subpatching When you open Max 6 and go to File | New Patcher , it opens a blank patcher. The latter, if you recall, is the place where you put all the objects. There is another good feature named subpatching . With this feature, you can create new patchers inside patchers, and embed patchers inside patchers as well. A patcher contained inside another one is also named a subpatcher. Let's see how it works with the patch named ReadAllCutest.maxpat. There are four new objects replacing the whole structures we designed before. These objects are subpatchers. If you double-click on them in patch lock mode or if you push the command key (or Ctrl for Windows), double-click on them in patch edit mode and you'll open them. Let's see what is there inside them. The [requester] subpatcher contains the same architecture that we designed before, but you can see the brown 1 and 2 objects and another blue 1 object. These are inlets and outlets. Indeed, they are required if you want your subpatcher to be able to communicate with the patcher that contains it. Of course, we could use the [send] and [receive] objects for this purpose too. The position of these inlets and outlets in your subpatcher matters. Indeed, if you move the 1 object to the right of the 2 object, the numbers get swapped! And the different inlets in the upper patch get swapped too. You have to be careful about that. But again, you can organize them exactly as you want and need. Check the next screenshot: And now, check the root patcher containing this subpatcher. It automatically inverts the inlets, keeping things relevant. Let's now have a look at the other subpatchers: The [p portHandler] subpatcher The [p dataHandler] subpatcher The [p dataDispatcher] subpatcher In the last figure, we can see only one inlet and no outlets. Indeed, we just encapsulated the global data dispatcher system inside the subpatcher. And this latter generates its data buses with [send] objects. This is an example where we don't need and even don't want to use outlets. Using outlets would be messy because we would have to link each element requesting this or that value from Arduino with a lot of cords. In order to create a subpatcher, you only have to type n to create a new object, and type p, a space, and the name of your subpatcher. While I designed these examples, I used something that works faster than creating a subpatcher, copying and pasting the structure on the inside, removing the structure from the outside, and adding inlets and outlets. This feature is named encapsulate and is part of the Edit menu of Max 6. You have to select the part of the patch you want to encapsulate inside a subpatcher, then click on Encapsulate , and voilà! You have just created a subpatcher including your structures that are connected to inlets and outlets in the correct order. Encapsulate and de-encapsulate features You can also de-encapsulate a subpatcher. It would follow the opposite process of removing the subpatcher and popping out the whole structure that was inside directly outside. Subpatching helps to keep things well organized and readable. We can imagine that we have to design a whole patch with a lot of wizardry and tricks inside it. This one is a processing unit, and as soon as we know what it does, after having finished it, we don't want to know how it does it but only use it . This provides a nice abstraction level by keeping some processing units closed inside boxes and not messing the main patch. You can copy and paste the subpatchers. This is a powerful way to quickly duplicate process units if you need to. But each subpatcher is totally independent of the others. This means that if you need to modify one because you want to update it, you'd have to do that individually in each subpatcher of your patch. This can be really hard. Let me introduce you to the last pure Max 6 concept now named abstractions before I go further with Arduino. Abstractions and reusability Any patch created and saved can be used as a new object in another patch. We can do this by creating a new object by typing n in a patcher; then we just have to type the name of our previously created and saved patch. A patch used in this way is called an abstraction . In order to call a patch as an abstraction in a patcher, the patch has to be in the Max 6 path in order to be found by it. You can check the path known by Max 6 by going to Options | File Preferences . Usually, if you put the main patch in a folder and the other patches you want to use as abstractions in that same folder, Max 6 finds them. The concept of abstraction in Max 6 itself is very powerful because it provides reusability . Indeed, imagine you need and have a lot of small (or big) patch structures that you are using every day, every time, and in almost every project. You can put them into a specific folder on your disk included in your Max 6 path and then you can call (we say instantiate ) them in every patch you are designing. Since each patch using it has only a reference to the one patch that was instantiated itself, you just need to improve your abstraction; each time you load a patch using it, the patch will have up-to-date abstractions loaded inside it. It is really easy to maintain all through the development months or years. Of course, if you totally change the abstraction to fit with a dedicated project/patch, you'll have some problems using it with other patches. You have to be careful to maintain even short documentation of your abstractions. Let's now continue by describing some good examples with Arduino. Creating a sound-level meter with LEDs This small project is a typical example of a Max 6/Arduino hardware and software collaboration. Max can easily listen for sounds and convert them from the analog to the digital domain. We are going to build a small sound level visualizer using Arduino, some LEDs, and Max 6. The circuit The following figure shows the circuit: Our double series of eight LEDs Our double series of eight LEDs The basic idea is to: - Use each series of eight LEDs for each sound channel (left and right) - Display the sound level all along the LED series For each channel, the greater the number of LEDs switched on, the higher the sound level. Let's now check how we can handle this in Max 6 first. The Max 6 patch for calculating sound levels Have a look at the following figure showing the SoundLevelMeters patch: Generating sounds and measuring sound levels We are using the MSP part of the Max 6 framework here that is related to sound signals. We have two sources (named source 1 and source 2) in the patch. Each one generates two signals. I connected each one to one of the [selector~ ] objects. Those latter are switches for signals. The source selector at the top left provides a way to switch between source 1 and source 2. I won't describe the cheap wizardry of sound sources; it would involve having a knowledge of synthesis and that would be out of the scope of this topic. Then, we have a connection between each [selector~ ] output and a small symbol like a speaker. This is related to the sound output of your audio interface. I also used the [meter~] object to display the level of each channel. At last, I added a [flonum] object to display the current value of the level each time. These are the numbers we are going to send to Arduino. Let's add the serial communication building blocks we already described. Sending data to Arduino We have our serial communication setup ready. We also have the [zmap 0. 1. 0 255] objects. These take a value intended to be between 0. 1, as was set up in the arguments, and scale it to the range 0 255. This provides a byte of data for each channel. We are using two data buses to send a value from each channel to a [pak] object. The latter collects the incoming messages and creates a list with them. The difference between [pack] and [pak] is that [pak] sends data as soon as it receives a message in one of its inputs, not only when it receives a message of its left input, as with [pack]. Thus, we have lists of messages that are popped out from the computer to Arduino as soon as the level values change. The firmware for reading bytes Let's see how to handle this in Arduino: #include <ShiftOutX.h> #include <ShiftPinNo.h> int CLOCK_595 = 4; // first 595 clock pin connecting to pin 4 int LATCH_595 = 3; // first 595 latch pin connecting to pin 3 int DATA_595 = 2; // first 595 serial data input pin connecting to pin 2 int SR_Number = 2; // number of shift registers in the chain // instantiate and enabling the shiftOutX library with our circuit parameters shiftOutX regGroupOne(LATCH_595, DATA_595, CLOCK_595, MSBFIRST, SR_ Number); // random groove machine variables int counter = 0; byte LeftChannel = B00000000 ; // store left channel Leds infos byte RightChannel = B00000000 ; // store right channel Leds infos void setup() { // NO MORE setup for each digital pin of the Arduino // EVERYTHING is made by the library :-) } void loop(){ if (Serial.available() > 0) { LeftChannel = (byte)Serial.parseInt(); RightChannel = (byte)Serial.parseInt(); unsigned short int data; // declaring the data container as a very local variable data = ( LeftChannel << 8 ) | RightChannel; // aggregating the 2 read bytes shiftOut_16(DATA_595, CLOCK_595, MSBFIRST, data); // pushing the whole data to SRs // make a short pause before changing LEDs states delay(2); } } We are doing that with Serial.parseInt() in the Serial.available() test. This means that as soon as the data is in the Arduino serial buffer, we'll read it. Actually, we are reading two values and storing them, after a byte conversion, in LeftChannel and RightChannel. We then process the data to the shift register to light the LEDs according to the value sent by the Max 6 patch. Let's take another example of playing with sound files and a distance sensor. Pitch shift effect controlled by hand Pitch shifting is a well-known effect in all fields related to sound processing. It changes the pitch of an incoming sound. Here we are going to implement a very cheap pitch shifter with Max 6, but we will focus on how to control this sound effect. We will control it by moving our hand over a distance sensor. The circuit with the sensor and the firmware The following circuit shows the Arduino board connected to a sensor: The Sharp distance sensor connected to Arduino The firmware is almost the same too. I removed the part about the distance calculation because, indeed, we don't care about the distance itself. The ADC of Arduino provides a resolution of 10 bits, which will give numbers from 0 to 1023. We are going to use this value to calibrate our system. The following code is the firmware. int sensorPin = 0; // pin number where the SHARP GP2Y0A02YK is connected int sensorValue = 0 ; // storing the value measured from 0 to 1023 void setup() { Serial.begin(9600); } void loop(){ sensorValue = analogRead(sensorPin); // read/store the value from sensor Serial.println(sensorValue); delay(20); } As soon as Arduino runs this firmware, it sends values to the serial port. The patch for altering the sound and parsing Arduino messages I cannot describe the whole pitch shifter itself. By the way, you can open the related subpatch to see how it has been designed. Everything is open. The pitch shifter controlled by your hand over the distance sensor As we described before, we have to choose the right serial port and then bang the [serial] object in order to make it pop out the values in its buffer. Here, we are using the [scale] object. It is similar to [zmap], which we already used, because it maps a range to another one but it can also work with inverted range and doesn't clip values. Here, I'm mapping values being received from the ADC of Arduino from 0 to 1023 to something fitting our need from 12.0 to 0.5. If we place our hand close to the sensor, the distance is small, and if we move our hand further away, the distance changes and the effect is modulated. Summary This article taught us how to deal with Arduino using Max 6. We learnt a bit more about some usual techniques in Max 6, and we practiced some concepts previously learnt in this article. Obviously, there is more to learn in Max 6, and I'd like to give you some good pointers for better learning. Firstly, I'd suggest you read all the tutorials, beginning with those about Max, then about MSP, and then about digital sound, and at last about Jitter if you are interested in visuals and OpenGL. That sounds obvious but I still have two or three persons a day asking me where to begin Max 6 from. The answer is: tutorials. Then, I'd suggest you design a small system. Less is definitely more. A small system provides easy ways to maintain, modify, and support. Using comments is also a nice way to quickly remember what you tried to do in this or that part. Lastly, patching a bit everyday is the real key to success. It takes time, but don't we want to become masters? Resources for Article : Further resources on this subject: - Using GLEW [Article] - Working with a Microsoft Windows Workflow Foundation 4.0 (WF) Program [Article] - OpenGL 4.0: Building a C++ Shader Program Class [Article]
https://www.packtpub.com/books/content/playing-max-6-framework
CC-MAIN-2016-30
refinedweb
4,807
71.04
08 March 2007 10:54 [Source: ICIS news] BRUSSELS (ICIS news)--European heads of state will meet in Brussels later on Thursday to try to agree new targets to cut greenhouse gas emissions (GHG) and reduce the threat of global warming. ?xml:namespace> Ministers were expected to agree to slash emissions of carbon dioxide by 20% by 2020 compared to 1990 levels - rising to 30% if and when the US and other countries make similar commitments. They were also due to decide tougher targets on increased use of renewables and biofuels. The ministers were likely to conclude that European Union (EU) member states should ensure at least 10% of their transport fuel was provided by biofuels by 2020. The European Commission (EC) would like renewables to provide 20% of EU energy by 2020. Currently, around 5% of the ?xml:namespace> But the idea of introducing a binding target for renewables would be hotly contested by those member states that are already heavily reliant on nuclear power. This bloc is led by outgoing French President Jacques Chirac, who has proposed that instead of a binding renewables target, member states should agree to produce 40-45% of their energy by "low carbon" means by 2020. Green members of the European Parliement have argued that such a target is "impossible" as it would require 20 to 40 nuclear power stations to be built across *For more on biofuels, please see
http://www.icis.com/Articles/2007/03/08/9012002/eu-ministers-to-set-new-greenhouse-gas-targets.html
CC-MAIN-2015-11
refinedweb
237
53.75
More Clues About Blue Origin's Space Plans 74 FleaPlus writes "Blue Origin, the secretive company started by Amazon.com founder Jeff Bezos, has recently released a number of new details about their suborbital launch plans and their private desert launch facility. The vehicle will be fully reusable, and similar in many ways to the vertical-takeoff-and-landing DC-X. The details were part of a 229-page environmental impact statement the company filed to comply with federal regulations. The company plans to start launching test vehicles later this year, with commercial operations beginning in 2010." I presume he's patented (Score:5, Funny) Re:I presume he's patented (Score:5, Funny) Re:I presume he's patented (Score:1) Re:I presume he's patented (Score:1) Reusable! (Score:4, Interesting) Re:Reusable! (Score:4, Interesting) Re:Reusable! (Score:3, Informative) The speed of this turnaround was mainly due to being able to take off from the same spot it landed on. Its like the old Lunar Lander games where you just boost back up into the sky after refueling. Looks very impressive. Re:Reusable! (Score:4, Informative) The 26 hour turnaround was for the DC-X. And people forget that the DC-X was a concept vehicle [jerrypournelle.com], to prove that the technology existed and could be adapted to VTOL rockets [nasa.gov]. It was Pete Conrad's dream to take the DC-X and expand it, and make it a viable competitor for space commerce, a dream he saw dashed when the DC-X crashed during a test in July 1995. Just add a nuclear engine and they've got it (Score:2) Re:Reusable! (Score:2) Re:Reusable! (Score:1) That's one of the more interesting aspects of 4x4 (SUV) ownership - although they may use lots of fuel, often 4x4s will last years and years longer than any other car (the land rover [series/defender] is a prime example) - the ammount of damage done to the environment through fuel burning is relatively small when compared to the pollution caused by the actual manufacturing process. The same thing applies to rockets, Re:Reusable! (Score:2) Re:Reusable! (Score:1) Standard cars are designed for a life of... what... 6 years? maybe 10 ye Re:Reusable! (Score:3, Insightful) The fact is, many if not most people in the US buy a new car because they want a new car or a different model, not because their old car has stopped running. My 4x4's dad could kick your 4x4's dad's ass (Score:1) I don't live in the US Well, in my experience - having lived in both urban, suburban and rural Britain, there are two types of "suv" - a "proper" 4x4 designed for use in the country, on farms, and for off-roading - typically, L Re:My 4x4's dad could kick your 4x4's dad's ass (Score:2) OTOH, I see all too many bling SUVs, with big flashy spinning rims that probably have trouble going up a driveway, let alone getting into the dirt and mud. (I'm surprised I haven't s The Carbon Trust? (Score:5, Insightful) Here is a big cheer for the fact that the object is re-usable. This is fast becoming one of the more considered aspects of shuttle design, and given taht there is a "The Carbon Trust" campaign going on in the uk [and the world!] a reuable shuttle is a big bonus. The DC-X and space shuttle are not at all comparable. The DC-X has about 1/100th the performance of the shuttle. The use of decent engines if frivolously wasteful. I am not surprised Bezos is attracted to it. The weight penalty imposed on the space shuttle for reusability, wings, wheels, thermal protection is huge. Strip all of that away and use a simple aerodynamic shape and you have the NASA CEV [nasa.gov]. What does "Carbon Trust" have anything to do with vehicles that use LOX and LH2 for fuel and are built out of Li-Al? Re:The Carbon Trust? (Score:2) All the CO2 dumped into the atmosphere when making the electricity to generate these for starters. Proposal for restricting CO2 output (Score:1, Flamebait) How silly and petty you Kyotoists are. Do you propose that we build rockets out of recycled plastic bottles? This is why your movement is dying. You are irresponsible. There would be a lot less CO2 if you held your breath. Fun-ny! (Score:1) Especially the last! Re:Fun-ny! (Score:2) This comment is kind of extreme but it is not intended as flamebait. It is to highlight some of the absurdity in the thinking of the envonmentalist response. I am not sure if you are laughing with me or at me. Re:The Carbon Trust? (Score:2) No, because descent engines just reduce per-flight payload and use fuel. Payload can be increased by using a larger rocket or making more flights, and fuel is cheap. Unlike fuel, orbital rockets are expensive. Throwing away a whole launch vehicle on every flight is wasteful. I am not surprised that cost-plus launch contractors are attracted to it. Re:The Carbon Trust? (Score:3, Insightful) However, wings are not an inherent penalty to a spacecraft. They allow you to lower your reentry beta, give you good subsonic maneuverability, and probably most New spacecraft: lessons learned (Score:3, Insightful) If cross range reentry is a requirement, fine. The shuttle has never made use of its maximum cross range of 1100 miles. It still gets hung up in space due to tight weather restrictions on landing. Ballistic reentry vehicl Re:New spacecraft: lessons learned (Score:3, Informative) That's not what I said; I didn't even mention cross range. Please don't argue against straw men. I mentioned: 1) Low Beta entry 2) Large surface are 3) Low speed maneuverability Low beta can imply significant crossrange, but the real advantage of it is that you have more time to radiate off your heat. Ballistic reentry vehicles are not as constrained by ground level winds. Yes, but they also do lovely things like crash through frozen lakes and nearly roll off cliffs ( Kliper misconceptions (Score:2) This is of no real value in terms of weight or reusability. Not very likely given Re:Kliper misconceptions (Score:2) Fair enough. But think about it for a second. Turkey Vultures don't go that high (best I could find was 100m). Since the Shuttle is accelerating from the ground, it isn't going that fast as it passes 100 meters. So therefore, there's not a good probability that the shut Rotavators? (Score:1) It doesn't require the same ridiculously exotic materials as a fully-fledged space elevator, and couldn't it potentially turn spacecraft like this and SpaceShipOne into orbital craft? Re:Rotavators? (Score:3, Interesting) Without a really good heavy lift system the rotavator won't get started at all. The best prospect was the Shuttle ET based big dumb booster, but no more ET's are going to be built now. Perhaps somebody can come up with a plan to use all those shuttle main engines which will be left at the end of the Shuttle program. Re:Rotavators? (Score:2) NASA joined with MasterCard... (Score:2, Funny) Another 30 billion to just get into space... Yet another 30 billion just to say you'll go back into space... Watching a first time yuppie from a dot-com industry spend...well... NOT 90 billion.... Pricel^H^H^H^H... it ain't 90 BILLION,/b> (Note: I just pulled that 90 billion from my posterior... it could well be more or less). Re:NASA joined with MasterCard... (Score:2) And these guys are HUNGRY. They haven't had the luxury of resting on their laurels for the last 30 years. Go ahead and mod me down, NASA lovers. In your heart you still know it's true. -Eric Re:NASA joined with MasterCard... (Score:2) Of course, Paul Allen is one of Bezos' partners in Blue Origin, and Allen's a bit richer. Still, I think that Blue Origin's business model only works if they can get the initial launch off for quite a bit less than the $30 billion that other initial launches cost (subsequent launche Xenu (Score:4, Funny) Re:Xenu (Score:2) Re:Xenu (Score:2) Have you heard the legend of the Black Dac? It is seen on rare occasions in remote parts of Australia, travelling more or less at tree top level in places where you could reasonable expect not to be seen at all. Painted entirely black with no ID, or course. Re:Xenu (Score:2) Batcave? (Score:5, Funny) A secretive billionaire with advanced aerospace technology and a Batcave? Holy Amazon, Batman! Re:Batcave? (Score:2) Maybe hes just trying to shove his ass off (Score:2) Come on people - look at the trend... (Score:5, Interesting) In those days, youngsters like me *knew* that we would have a base on the Moon in 10 years and another on Mars a few years after that. The excitement! Oh, dear... OK. I know now that it was all a "Get there before the Commies", but it *was* done. (BTW. To all you Yanks reading this - I think you guys made the greatest achievement of the human race, to date, happen. The reasons aren't important - you should be very proud). Now look at it. It's starting again, but this time on many fronts - this isn't the only initiative. I'm eight years old again. The only difference is that I'm too old to play a part. Re:Come on people - look at the trend... (Score:2, Troll) It was not Americans. Even if they like to point out the exelence of Armstrong or Kennedy, the real innovation and work was done by German people. Let's see how space.com puts it in its articleRemembering Wernher von Braun's German Rocket Team [space.com]: Walter Jacobi, one of the few remaining German technicians whose genius helped put American Re:Come on people - look at the trend... (Score:2) Fascinating. Does this mean that, if not for the Nazis, Germany would be the Space Empire by now ? Or, if Hitler had been somewhat sane and had not attacked Russia before finishing Britain, he'd be the ruler of the universe by now ? Such little things fate hangs Re:Come on people - look at the trend... (Score:3, Insightful) Either way you split it up, the Germans never would have gotten there without the Amer Re:Come on people - look at the trend... (Score:1) Unfortunately, some scientists are still working to crush kids' dreams. When Stephen Hawking spoke about space colonization [cnn.com] recently, MIT scientists came forward to say it was "very far off." Way to encourage the next generatio Can't wait for the promotional brochure! (Score:3, Funny) I hope it includes this quote from the article: "[the] most significant man-made feature of the area from a visual-aesthetic perspective is State Highway 54, a two-lane blacktop that connects Interstate 10 to State Highways 62 and 180." Bring your cameras when you go. Plus, if you sign up now, you can get a ninety-day free trial of New Shephard Prime -- no minumum flights required, free shipping to and from the launch site (including your remains if you don't make it back in one piece), and you can share your flight with up to four family members. Re:Can't wait for the promotional brochure! (Score:1, Redundant) 10 minutes! (Score:1) Re:10 minutes! (Score:1) hang on a minute - or 10 (Score:2) What do you mean by "stationary 3 times en route". The thing is going to go from whatever bat-out-of-hell speed it's traveling, to a dead stop - not once, but 3 TIMES during the ascent? Cartoon physics aside (which are hillariously significant), doesn't subjecting the human body to such rigors resemble something akin to "bug on windshield"? If that's the case, then we will not only have Re:hang on a minute - or 10 (Score:1) nope, what i meant was it starts off stationary, comes very close to stopping fully at the highest point (there might be some lateral movement), and stops at the end of the trip. Re:10 minutes! (Score:1) Velocity is the first derivative of Location. Accel is the second, and Jerk is the third. Solve the jerk for zeros. This locates the minimum and maximum velocity points. Plug in the location vector and get the actual maximum velocity. The magnitude of the velocity is speed. This number will be on the order of 3500 km/h on accent and probably 300 km/h decending - I do not know the drag coffecents. Re:10 minutes! (Score:1) Writing on the wall for NASA? (Score:2) If I worked at NASA, I might be updating my resume right now. -Eric DCX, nice to see it return (Score:2) I'm sure with commercial development they will work out the problems of the landing statem. Re:DCX, nice to see it return (Score:2) Since Moon is vacuum, could you simply make your orbit more and more elliptical, until one end was close enough to lunar surface (a few meters) to drop a wheeled vechile that would then brake normally ? How flat are those "seas", and what would the minimum orbital speed required be ? Remember, there's no atmosphere, so it's enough if your orbit just clears the highest mountaintops on your path. Heck, while it isn't feasible right now DCX (Score:2) Scientology MUST stop this DCX in the courts before it comes to pass! New Book Delivery Method (Score:1) its the mum thing... (Score:1) Passenger Carrying UAV (Score:1) Getting the technology to the point where you would be willing to put your Mom into a craft and just sit back and watch it fly her around without a human pilot is really a much bigger accomplishment than going to 100km. Assuming you love your Mom of course. This DC-X approach is very high risk compared to the much more conservative Scaled Composite X-15 style craft. I'd let my Mom ride on Space Ship 2, but not New Shepard.
https://slashdot.org/story/06/06/27/039216/more-clues-about-blue-origins-space-plans
CC-MAIN-2017-43
refinedweb
2,420
72.36
Peripheral configuration that is common for all ESP32x SoCs. More... Peripheral configuration that is common for all ESP32x SoCs. Definition in file periph_cpu.h. #include <stdbool.h> #include <stdint.h> #include "sdkconfig.h" #include "hal/ledc_types.h" #include "hal/spi_types.h" #include "soc/ledc_struct.h" #include "soc/periph_defs.h" #include "soc/soc_caps.h" Go to the source code of this file. Override the default gpio_t type definition. This is required here to have gpio_t defined in this file. Definition at line 76 of file periph_cpu.h. RTT frequency definition. The RTT frequency is always 32.768 kHz even if no external crystal is connected. In this case the RTT value counted with the internal 150 kHz RC oscillator is converted to a value for an RTT with 32.768 kHz. Definition at line 489 of file periph_cpu.h. Hardware timer modules are used for timer implementation (default) Since one timer is used for the system time, there is one timer less than the total number of timers. Definition at line 657 of file periph_cpu.h.
https://api.riot-os.org/esp32_2include_2periph__cpu_8h.html
CC-MAIN-2022-33
refinedweb
175
63.96
import "go.opencensus.io/stats/view". Collected and aggregated data can be exported to a metric collection backend by registering its exporter. Multiple exporters can be registered to upload the data to various different back ends.. aggregation.go aggregation_data.go collector.go doc.go export.go view.go view_to_metric.go worker.go worker_commands.go ErrNegativeBucketBounds error returned if histogram contains negative bounds. Deprecated: this should not be public. Register begins collecting data for the given views. Once a view is registered, it reports data to the registered exporters.. Unregister the given views. Data will not longer be exported for these views after Unregister returns. It is not necessary to unregister from views you expect to collect for the duration of your program execution. UnregisterExporter unregisters an exporter.() *Aggregation Count indicates that data collected and aggregated with this method will be turned into a count value. For example, total number of accepted requests can be aggregated by using Count.() *Aggregation LastValue only reports the last value recorded using this aggregation. All other measurements will be dropped. func Sum() *Aggregation Sum indicates that data collected and aggregated with this method will be summed up. For example, accumulated request bytes can be aggregated by using Sum. AggregationData represents an aggregated value from a collection. They are reported on the view data during exporting. Mosts users won't directly access aggregration data. CountData is the aggregated data for the Count aggregation. A count aggregation processes data and counts the recordings. Most users won't directly access count data. A Data is a set of rows about usage of the single measure associated with the given view. Each row is specific to a unique set of tags. (a *DistributionData) Sum() float64 Sum returns the sum of all samples collected.. LastValueData returns the last value recorded for LastValue aggregation.. NewMeter constructs a Meter instance. You should only need to use this if you need to separate out Measurement recordings and View aggregations within a single process. type Row struct { Tags []tag.Tag Data AggregationData } Row is the collected value for a specific set of key value pairs a.k.a tags. RetrieveData gets a snapshot of the data collected for the the view registered with the given name. It is intended for testing only. Equal returns true if both rows are equal. Tags are expected to be ordered by the key name. Even if both rows have the same tags but the tags appear in different orders it will return false. SumData is the aggregated data for the Sum aggregation. A sum aggregation processes data and sums up the recordings. Most users won't directly access sum data.. Find returns a registered view associated with this name. If no registered view is found, nil is returned. WithName returns a copy of the View with a new name. This is useful for renaming views to cope with limitations placed on metric names by various backends. Package view imports 16 packages (graph) and is imported by 504 packages. Updated 2020-02-19. Refresh now. Tools for package owners.
https://godoc.org/go.opencensus.io/stats/view
CC-MAIN-2020-16
refinedweb
510
51.75
I put my HC-SR04 sensor in the mail to Tim today. Hopefully it'll tighten the test cycle and benefit others who have HC-SR04 sensors. My backup HC-SR04 is definitely less reliable than the one I shipped out, but it still "works" (for some value of "work"). I have digital filters in place to try to determine if a reading is true or not, so this mitigates the inherent issues with the sensor.My code base can also create a virtual sensor from N actual sensors, and I was planning to do this to work around the unreliability, since it seemed unlikely that two sensors would be unreliable at the same moment in time (unless there are common environmental or power factors that cause this). If the HY-SRF05 is more reliable, then I can probably start trusting the data more and tune the digital filters to be more lenient.Is there any demand for virtual sensors as I described? If so, I can work on turning what I have into a subclass of NewPing. It sounded like other people are using multiple sensors in non-redundant ways, and if the reliability solution really is "just buy an HR-SRF05" then maybe that effort would be wasted. Can't wait to get the sensor and figure out what's going on. I hope to test and send back ASAP. With properly working sensors, a virtual sensor from multiple sensors should not be required. Sensors that actually work are very reliable and give consistent and accurate readings all the time. I also have sensors that "work" but are clearly not 100% functional (this is with any library). Mine having a problem seem to work to around 50cm, then get all wonky. While I find that my SRF05 and SRF06 are more reliable, online I've also found at least two totally different kinds of SRF05 sensors. Both have the same model number on them, but each are electronically different with different pinouts. So, I don't want to totally endorse the SRF05 as superior, as it appears they're made my multiple manufactures with different specs. Which is probably why there's some HC-SR04 sensors that "work" and probably why the HC-SR04 sensors you have don't work with my library, as they're made by a bunch of different manufactures, with different specs or quality control. Hmm. Any such variations with the SRF06 sensors? Quote from: teckel on Jul 07, 2012, 06:19 amCan't wait to get the sensor and figure out what's going on. I hope to test and send back ASAP.I'm still amazed you're volunteering to do this That's dedication!If you find that the SR04 that I sent you behaves significantly differently than the ones you have, I would be happy for you to keep it for regression testing purposes. (I could potentially help write a regression test, too, although I've never tried making one for an Arduino library, and it couldn't be fully automated due to its nature.) I have a spare SR04 anyway, and they're cheap enough that I could just order more if I wanted more. hii,..i m using hc-sr04 ultrasonic sensor,..i m using the lastest version of ping,...all my connections are fine,,... and the code i m running is..// ---------------------------------------------------------------------------// Getting a reliable ping every 50 milliseconds isn't possible with other ping or ultrasonic libraries.// These kinds of speeds work perfectly with the NewPing library. Even at the maximum sensor distance of// 500cm, distance measurements can be done 20 times a second! If you set the maximum distance to 200cm// as we have in this example sketch, even faster pings can be achieved. I suggest waiting at least 37// milliseconds between pings to avoid previous ping echo issues, that translates to a maximum ping rate// of around 27 times per second. Much better than the sometimes 1 ping a second with other libraries.// () {Serial.begin(115200); // Open serial monitor at 115200 baud to see ping results..Serial.print("Ping: ");int cm = sonar.ping_cm(); // Send out the ping, get the results in centimeters.Serial.print(cm); // Print the result (0 = outside the set distance range, no ping echo)Serial.println("cm");}}and the output coming is..Ping: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmPing: 0cmand continue....i dont know why,..the sensor is just giving this outputplzz help I'm still amazed you're volunteering to do this That's dedication! I don't mind posting this in public, since it may benefit others, but I was accidentally using a Duemilenove (2009) board instead of an Uno R3 With the 2009 board, the sensor will send a ping, and status output goes to the serial port, but the distance reported is always 0cm. Swapping out the board for an Uno R3 makes it all work with NewPing, and the 2009 board works fine with the code I linked to. I assume that it's something about how NewPing compiles for the 2009's architecture.I don't know *why* the 2009 board would have this issue, but at least this explains why my HC-SR04 *appeared* to be acting strangely.To sum up:2009 + NewPing + HC-SR04 = 0cm always2009 + NewPing + HY-SRF05 = 0cm always2009 + primitive code + HC-SR04 = works2009 + primitive code + HY-SRF05 = worksUnoR3 + NewPing + HC-SR04 = worksUnoR3 + NewPing + HY-SRF05 = worksUnoR3 + primitive code + HC-SR04 = worksUnoR3 + primitive code + HY-SRF05 = works I? Quote from: teckel on Jul 09, 2012, 10:01 pmI?Reading the chip silkscreening itself indicates that it's an ATmega328, which is consistent with the behavior in the IDE. So, the exact same processor as the Uno, darn... I'm thinking that I'll create a couple different test libraries if you're willing to try each. Probably one that replaces the ping echo detection with pulseIn to isolate the problem, then a few variations that do it a little differently.Let me know if you're willing to do this, should be really quick and simple. #include <NewPing.h>#define TRIGGER_PIN 7 #define ECHO_PIN 6 #define MAX_DISTANCE 200 NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); int Range=200;boolean Alarm=false; int Counter = 1;void setup() { Serial.begin(9600); }void loop() { Range = sonar.ping_cm(); delay(20); if (Range < 10) { Alarm = true; Counter = 1; } else if (Counter == 11) { Alarm = false; Counter = 1; } if (Alarm) AlarmOn(); }void AlarmOn(){Serial.print("Intruso en:"); Serial.println(Range); Serial.print("Valor del contador:"); Serial.println(Counter); Counter++; } Valor del contador:8Intruso en:40Valor del contador:9Intruso en:40Valor del contador:10Intruso en loop:0Intruso en:0Valor del contador:1Intruso en:39Valor del contador:2Intruso en:39Valor del contador:3 from time to time the sensor gets a 0 value
https://forum.arduino.cc/index.php?topic=106043.msg854079
CC-MAIN-2020-10
refinedweb
1,139
62.78
Saturday 27 September 2008 We pushed new code to our production servers last week. There were a lot of changes, including our upgrade to Django 1.0. As soon as the servers restarted, they immediately suffered, with Python processes bloated to 2Gb or more memory each. Yikes! We reverted to the old code, and began the process of finding the leak. These are details on what we (Dave, Peter, and I, mostly them) did to find and fix the problem. We used Guppy, a very capable Python memory diagnostic tool. It showed that the Python heap was much smaller than the memory footprint of the server process, so the leak seemed to be in memory managed by C extensions. We identified these C extensions: We tried to keep these possibilities in mind as we worked through our next steps. PIL and PDFlib in particular seemed likely given how heavily we use them, and because they traffic in large data (high-res images). We had some unit tests that showed fat memory behavior. We ran valgrind on them hoping they would demonstrate a leak that we could fix. Valgrind is a very heavy-weight tool, requiring re-compiling the Python interpreter to get good results, and even so, we were overwhelmed with data and noise. The tests took long enough to run that other techniques proved more productive. Our staging server had been running the code for over a week, and showed no ill effects. We tried to reason out what is the important difference between the staging server and the production server? We figured the biggest difference is the traffic they each receive. We tried to load up the staging server with traffic. An aggressive test downloading many dynamic PDFs quickly ballooned the memory on the staging server, so we suspected PDFlib as the culprit. Closely reading the relevant code, we realized we had a memory leak if an exception occurred: p = PDF_new()# Lots of stuff, including an exceptionPDF_delete(p) # Not called: leak! We felt pretty good about finding that, and fixed it up with a lot of unfortunate try/finally clauses. We put the code on our staging server, and it behaved much better. Lots of PDF downloads would still cause the memory to grow, but when the requests were done, it would settle back down again. So we liked the theory that this was the fix. The only flaw in the theory was it didn't provide a reason why our old code was good and our new code was bad. We put the fixed code on the production server: boom, the app server processes ballooned immediately. Apparently as good as this exception fix was for our PDFlib code, it wasn't the real problem. We tried chopping out functionality to isolate the problem. Certain subsets of URLs were removed from the URL map to remove the traffic from the server. We ran the code for short five-minute bursts to see the behavior under real traffic, and it was no better. To be sure it wasn't still PDFlib somehow, we tried removing PDFlib by raising an exception at the one place in our code where PDF contexts are allocated. Memory still exploded. We tried removing PIL by writing a dummy Image.py that raises exceptions unconditionally. It didn't help. We tried logging requests and memory footprints, but correlations elusive. We tried changing the process architecture to use only one thread per process, no luck. We tried reverting all the Django 1.0 changes, to move back to the Django version we had been using before. This changed back the Django code, and the adaptations we'd made to that code, but (in theory) left in place all of the feature work and bug fixes we had done. We pushed that to the servers, and everything performed beautifully, the server processes used reasonable amounts of memory, and didn't grow and shrink. So now we know the leak is either in the Django 1.0 code, or in our botched adaptation to it, or in some combination of the two. Many people are using Django 1.0, so it seemed unlikely to be as simple as a Django leak, so we focused on our Django-intensive code. Now that we'd narrowed it down to the Django upgrade, how to find it? We went back to the request logs, examining them more closely for any clues. We found one innocuous-seeming URL that appeared near a number of the memory explosions. We took one app server out of rotation, so that it wasn't serving any live requests. Our nginx load balancer is configured so that a URL parameter can direct a request to a particular app server. We used that to hit the isolated app server once with the suspect request. Sure enough, the process ballooned to 1Gb, and stayed there. Then we killed that process, and did it again. The Python process grew to 1Gb again. Yay! We had a single URL that reproduced the problem! Now we could review the code that handled that URL, and eyeball everything for suspects. We found this: @memoize()def getRecentStories(num=5): """ Return num most recent stories. Only public stories are returned. """ stories = Story.objects.published(access=kAccess.public).\ exclude(type=kStoryType.personal).\ order_by('-published_date') if num: stories = stories[:num] return stories Our @memoize decorator here caches the result of the function, based on its argument values. The result of the function is a QuerySet. Most of the code that calls getRecentStories uses a specific num value, so it returns a QuerySet for a small number of stories, and the caller simply uses that value (for example, in a template context variable). However, in this case, the getRecentStories function is called like this: next_story = getRecentStories(0).filter(published_date__lt=the_date)[0] The QuerySet is left unlimited until after it is filtered by published_date, and then the first story is limited off. Now we're getting to the heart of one of our mysteries: why was the old Django code good, and the new Django code bad? The Django ORM changed a great deal in 1.0, and one of the changes was in what happened when you pickle a QuerySet. To cache a QuerySet, you have to pickle it. Django's QuerySets are lazy: they only actually query the database when they need to. For as long as possible, they simply collect up the parameters that define the query. In Django 0.96, pickling a QuerySet didn't force the query to execute, you simply got a pickled version of the query parameters. In Django 1.0, pickling the query causes it to query the database, and the results of the query are part of the pickle. Looking at how the getRecentStories function is called, you see that it returns a QuerySet for all the public stories in the database, which is then narrowed by the caller first on the published_date, but more importantly, with the [0] slice. In Django 0.96, the query wasn't executed against the database until the [0] had been applied, meaning the SQL query had a "LIMIT 1" clause added. In Django 1.0, the query is executed when cached, meaning we request a list of all public stories from the database, then cache that result list. Then the caller further filters the query, and executes it again to get just one result. So in Django 0.96, this code resulted in one query to the database, with a LIMIT 1 clause included, but in Django 1.0, this code resulted in two queries. The first was executed when the result was cached by the @memoize decorator, the second when that result was further refined in the caller. The second query is the same one the old code ran, but the first query is new, and it returns a lot of results because it has no LIMIT clause at all. The fix to reduce the database query was to split getRecentStories into two functions: one that caches its result, and is used when the result will not be filtered further, and another uncached function to use when it will be filtered: def getRecentStories(num=5): """ Return num most recent stories. Only public stories are returned. Use this function if you want to filter the results yourself. Otherwise use getCachedRecentStories. """ stories = Story.objects.published(access=kAccess.public).\ exclude(type=kStoryType.personal).\ order_by('-published_date') if num: stories = stories[:num] return stories @memoize()def getCachedRecentStories(num=5): """ Return num most recent stories. Only public stories are returned. If you need to filter the results further, use getRecentStories. """ return list(getRecentStories(num=num)) One last point about the Django change: should we have known this from reading the docs? Neither the QuerySet refactoring notes nor the 1.0 backwards incompatible changes pages mention this change, or address the question of pickled QuerySets directly. Interestingly, an older version of the docs does describe this exact behavior. This changes was explicitly made and discussed, but seems to have been misplaced in the 1.0 doc refactoring. Of course, we may not have realized we had this behavior even if we had read about the change. So we've found a big difference in the queries made using the old code and the new code. But why the leak? The theory is that MySQLdb has a leak which has been fixed on its trunk. Looking at the MySQLdb code, it's pretty clear that they've been developing for a while since releasing version 1.2.2. Unfortunately, the MySQLdb trunk doesn't work under Django yet, so we can't verify the theory that MySQLdb is the source of the leak. Ironically, MySQLdb was not on our list of C extensions to look at. If it had been, we might have identified it as the culprit with a Google search. Since the MySQLdb trunk doesn't work under Django, I guess we would have hacked MySQLdb or Django to get them to work together. We would have run leak-free, but would be unknowingly executing the giant database query. The last mystery: why didn't the problem appear on our staging server? Because it was running with a much smaller database than our production servers, so the "all public stories" query wasn't a big deal. We learned a lesson there: sometimes subtle difference can make all the difference. We need to keep the staging server's database as current as we can to make sure it's replicating the production environment as much as possible. It's impossible to make them identical (for example, the staging server doesn't get traffic from search bots), but at times like this, it's important to understand what all the differences are, and minimize them where you can. Thank you for taking the time to document in detail what you ran into, how you debugged it, and what you found. Such detailed accounts are priceless. I'd been bitten by the QuerySet pickling feature about a week ago. My workaround was to cache the QuerySet's query attribute (qs.query) and do something like the following to restore the queryset from the cached query. if cached_query is not None : qs = model.objects.all() qs.query = cached_query return qs Great post! I highly recommend the with statement for ensuring destructors are called as soon as possible. I've found that a good way to build test servers is to restore the backup of the production system on to a new machine. This not only ensures you have a data set that matches your live systems, but also lets you test that your backup procedures work correctly. Very nice article indeed. I have done extensive debugging of Python applications under valgrind but some times that does not help to isolate the problem, even with custom valgrind suppression files. Guppy looks very interesting and I was not aware of its existence, so that you for mentioning it. What a chase. Thanks for posting. Indeed, guppy (and also winpdb) has become one of my favorite tools lately. FYI, awhile ago we were trying to solve some memory related segfaults of our desktop SpiderOak backup client, and created some integration code so valgrind can show which Python lines are leaking memory (similar to how gdb does.) It's available here: I've been bitten by a 'not big enough database' in a staging environment before as well - very frustrating but a lesson well learned. We now make sure our staging environment is not more than a week behind our production servers, just in case something strange has happened! The Django team has updated the docs to include the QuerySet caching issue: @Alan: thanks for the pointer to valgrind integration. I'll definitely be keeping that on hand for the next "impossible" debugging situation. @Andrew: the with statement is a likely tool for us to use in solving the deallocation problem with PDFlib. We've got it solved now with finally clauses, but we're contemplating cleaning it up with with's. Thanks for this very illuminating writeup! One thing I find curious is why you were bothering to memoize the results of getRecentStories in the first place? Given the old behavior of QuerySets (caching doesn't execute the query), and the fact that getRecentStories doesn't seem to include any expensive operations (just the code time to build up the query parameters), that memoization can't have been addressing any kind of real bottleneck, unless I'm missing something. @Carl, that's a very astute question. The fact is, the actual code was a little more complicated that I showed here: it sometimes returned the QuerySet, but sometimes returned the list of results, depending on how it was called. That was another code smell that should have pointed us toward splitting it into the two functions it is now. Your DBA could and should have seen a massive new query returning a lot of data when you changed app code version and told you about it. Seeing the SQL and comparing it with similar queries from the previous version of the app, you would have noticed that the query without the LIMIT clause is not supposed to be executed. This would have helped you find the problem. A very interesting read, but you should consider logging your db queries to find perf. regressions. @wolf550e: your point is a good one, we should be monitoring the db more closely to see egregious changes like this. One small point, though: we don't have a DBA: it's us. The leak is still present in MySQLdb. I'm waiting eagerly for fix... a good post; maybe others having the same problem will get the answer; but to my puzzled, Python's GC don't free large-object(>256k),so when the python program allocate large-object memory from system..it coudln't be stopped until it reach the limit of the OS. 2008, Ned Batchelder
http://nedbatchelder.com/blog/200809/a_server_memory_leak.html
CC-MAIN-2015-27
refinedweb
2,508
63.9
Troubleshooting Reports: Report Processing After the report data is retrieved, the report processor combines the data and layout information. Each report item property that has an expression is evaluated in the context of the combined data and layout. Use this topic to help troubleshoot these issues. At run time, the report processor combines data and layout elements in the report definition, and evaluates expressions for report item properties. The report processor checks that the report definition (.rdl file) conforms to the schema that is specified in the namespace declaration at the beginning of the .rdl file. For more information about RDL schemas, see How to: Find the Report Definition Schema Version (SSRS). In addition, the report expressions that are evaluated at run time must follow a set of rules that ensure the report data and layout can be combined correctly. When the report processor detects a problem, you might see the following message: The definition of the report <report name> is invalid. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Use the following list to help determine the cause of the error: When a report has more than one dataset, an aggregate expression in a text box on the report body must specify a scope parameter. For example, =First(Fields!FieldName.Value, "DataSet1"). To specify a scope parameter, provide the name of a dataset, data region, or group that is in scope for the report item. For more information, see Understanding Expression Scope for Totals, Aggregates, and Built-in Collections (Report Builder 3.0 and SSRS) and Expression Reference (Report Builder 3.0 and SSRS). Names of objects must be greater than 0 and less than or equal to 256 characters. The length of object identifiers in a report definition is restricted to 256 characters. Identifiers must be case-sensitive and CLS-compliant. Names must begin with a letter, consist of letters, numbers, or an underscore (_), and have no spaces. For example, text box names or data region names must comply with these guidelines. To change the name of an object, in the toolbar of the Properties pane, select the item in the drop-down list, scroll to Name and enter a valid object name. The "#Error" message occurs when the report processor evaluates expressions in report item properties at run-time and detects a data type conversion, scope, or other error. A data type error usually means the default or the specified data type is not supported. A scope error means that the specified scope was not available at the time that the expression was evaluated. To eliminate the #Error message, you must rewrite the expression that causes it. To determine more details about the issue, view the detailed error message. In preview, in Business Intelligence Development Studio, view the Output window. On the report server, view the call stack. For more information, see Troubleshooting Techniques for Report Problems.
http://msdn.microsoft.com/en-us/library/cc879331(v=sql.105).aspx
CC-MAIN-2014-23
refinedweb
495
55.03
Python Multimedia — Save 50% Learn how to develop Multimedia applications using Python with this practical step-by-step guide (For more resources on Python, see here.) So let's get on with it! Installation prerequisites Since we are going to use an external multimedia framework, it is necessary to install the necessary to install the packages mentioned in this section. GStreamer GStreamer is a popular open source multimedia framework that supports audio/video manipulation of a wide range of multimedia formats. It is written in the C programming language and provides bindings for other programming languages including Python. Several open source projects use GStreamer framework to develop their own multimedia application. Throughout this article, we will make use of the GStreamer framework for audio handling. In order to get this working with Python, we need to install both GStreamer and the Python bindings for GStreamer. Windows platform The binary distribution of GStreamer is not provided on the project website. Installing it from the source may require considerable effort on the part of Windows users. Fortunately, GStreamer WinBuilds project provides pre-compiled binary distributions. Here is the URL to the project website: The binary distribution for GStreamer as well as its Python bindings (Python 2.6) are available in the Download area of the website: You need to install two packages. First, the GStreamer and then the Python bindings to the GStreamer. Download and install the GPL distribution of GStreamer available on the GStreamer WinBuilds project website. The name of the GStreamer executable is GStreamerWinBuild-0.10.5.1.exe. The version should be 0.10.5 or higher. By default, this installation will create a folder C:\gstreamer on your machine. The bin directory within this folder contains runtime libraries needed while using GStreamer. Next, install the Python bindings for GStreamer. The binary distribution is available on the same website. Use the executable Pygst-0.10.15.1-Python2.6.exe pertaining to Python 2.6. The version should be 0.10.15 or higher. GStreamer WinBuilds appears to be an independent project. It is based on the OSSBuild developing suite. Visit for more information. It could happen that the GStreamer binary built with Python 2.6 is no longer available on the mentioned website at the time you are reading this book. Therefore, it is advised that you should contact the developer community of OSSBuild. Perhaps they might help you out! Alternatively, you can build GStreamer from source on the Windows platform, using a Linux-like environment for Windows, such as Cygwin (). Under this environment, you can first install dependent software packages such as Python 2.6, gcc compiler, and others. Download the gst-python-0.10.17.2.tar.gz package from the GStreamer website. Then extract this package and install it from sources using the Cygwin environment. The INSTALL file within this package will have installation instructions. Other platforms Many of the Linux distributions provide GStreamer package. You can search for the appropriate gst-python distribution (for Python 2.6) in the package repository. If such a package is not available, install gst-python from the source as discussed in the earlier the Windows platform section. If you are a Mac OS X user, visit. It has detailed instructions on how to download and install the package Py26-gst-python version 0.10.17 (or higher). Mac OS X 10.5.x (Leopard) comes with the Python 2.5 distribution. If you are using packages using this default version of Python, GStreamer Python bindings using Python 2.5 are available on the darwinports website: PyGobject There is a free multiplatform software utility library called 'GLib'. It provides data structures such as hash maps, linked lists, and so on. It also supports the creation of threads. The 'object system' of GLib is called GObject. Here, we need to install the Python bindings for GObject. The Python bindings are available on the PyGTK website at:. Windows platform The binary installer is available on the PyGTK website. The complete URL is:?. Download and install version 2.20 for Python 2.6. Other platforms For Linux, the source tarball is available on the PyGTK website. There could even be binary distribution in the package repository of your Linux operating system. The direct link to the Version 2.21 of PyGObject (source tarball) is: If you are a Mac user and you have Python 2.6 installed, a distribution of PyGObject is available at. Install version 2.14 or later. Summary of installation prerequisites The following table summarizes the packages needed for this article. Testing the installation Ensure that the GStreamer and its Python bindings are properly installed. It is simple to test this. Just start Python from the command line and type the following: >>>import pygst If there is no error, it means the Python bindings are installed properly. Next, type the following: >>>pygst.require("0.10") >>>import gst If this import is successful, we are all set to use GStreamer for processing audios and videos! If import gst fails, it will probably complain that it is unable to work some required DLL/shared object. In this case, check your environment variables and make sure that the PATH variable has the correct path to the gstreamer/bin directory. The following lines of code in a Python interpreter show the typical location of the pygst and gst modules on the Windows platform. >>> import pygst >>> pygst <module 'pygst' from 'C:\Python26\lib\site-packages\pygst.pyc'> >>> pygst.require('0.10') >>> import gst >>> gst <module 'gst' from 'C:\Python26\lib\site-packages\gst-0.10\gst\__init__.pyc'> Next, test if PyGObject is successfully installed. Start the Python interpreter and try importing the gobject module. >>import gobject If this works, we are all set to proceed! A primer on GStreamer In this article,. For further reading, you are recommended to visit the GStreamer project website: gst-inspect and gst-launch We will start by learning the two important GStreamer commands. GStreamer can be run from the command line, by calling gst-launch-0.10.exe (on Windows) or gst-launch-0.10(on other platforms). The following command shows a typical execution of GStreamer on Linux. We will see what a pipeline means in the next sub-section. $gst-launch-0.10 pipeline_description GStreamer has a plugin architecture. It supports a huge number of plugins. To see more details about any plugin in your GStreamer installation, use the command gst-inspect-0.10 (gst-inspect-0.10.exe on Windows). We will use this command quite often. Use of this command is illustrated here. $gst-inspect-0.10 decodebin Here, decodebin is a plugin. Upon execution of the preceding command, it prints detailed information about the plugin decodebin. Elements and pipeline In GStreamer, the data flows in a pipeline. Various elements are connected together forming a pipeline, such that the output of the previous element is the input to the next one. A pipeline can be logically represented as follows: Element1 ! Element2 ! Element3 ! Element4 ! Element5 Here, Element1 through to Element5 are the element objects chained together by the symbol !. Each of the elements performs a specific task. One of the element objects performs the task of reading input data such as an audio or a video. Another element decodes the file read by the first element, whereas another element performs the job of converting this data into some other format and saving the output. As stated earlier, linking these element objects in a proper manner creates a pipeline. The concept of a pipeline is similar to the one used in Unix. Following is a Unix example of a pipeline. Here, the vertical separator | defines the pipe. $ls -la | more Here, the ls -la lists all the files in a directory. However, sometimes, this list is too long to be displayed in the shell window. So, adding | more allows a user to navigate the data. Now let's see a realistic example of running GStreamer from the command prompt. $ gst-launch-0.10 -v filesrc location=path/to/file.ogg ! decodebin ! audioconvert ! fakesink For a Windows user, the gst command name would be gst-launch-0.10.exe. The pipeline is constructed by specifying different elements. The !symbol links the adjacent elements, thereby forming the whole pipeline for the data to flow. For Python bindings of GStreamer, the abstract base class for pipeline elements is gst.Element, whereas gst.Pipeline class can be used to created pipeline instance. In a pipeline, the data is sent to a separate thread where it is processed until it reaches the end or a termination signal is sent. Plugins GStreamer is a plugin-based framework. There are several plugins available. A plugin is used to encapsulate the functionality of one or more GStreamer elements. Thus we can have a plugin where multiple elements work together to create the desired output. The plugin itself can then be used as an abstract element in the GStreamer pipeline. An example is decodebin. We will learn about it in the upcoming sections. A comprehensive list of available plugins is available at the GStreamer website. In almost all applications to be developed, decodebin plugin will be used. For audio processing, the functionality provided by plugins such as gnonlin, audioecho, monoscope, interleave, and so on will be used. Bins In GStreamer, a bin is a container that manages the element objects added to it. A bin instance can be created using gst.Bin class. It is inherited from gst.Element and can act as an abstract element representing a bunch of elements within it. A GStreamer plugin decodebin is a good example representing a bin. The decodebin contains decoder elements. It auto-plugs the decoder to create the decoding pipeline. Pads Each element has some sort of connection points to handle data input and output. GStreamer refers to them as pads. Thus an element object can have one or more "receiver pads" termed as sink pads that accept data from the previous element in the pipeline. Similarly, there are 'source pads' that take the data out of the element as an input to the next element (if any) in the pipeline. The following is a very simple example that shows how source and sink pads are specified. >gst-launch-0.10.exe fakesrc num-bufferes=1 ! fakesink The fakesrc is the first element in the pipeline. Therefore, it only has a source pad. It transmits the data to the next linkedelement, that is fakesink which only has a sink pad to accept elements. Note that, in this case, since these are fakesrc and fakesink, just empty buffers are exchanged. A pad is defined by the class gst.Pad. A pad can be attached to an element object using the gst.Element.add_pad() method. The following is a diagrammatic representation of a GStreamer element with a pad. It illustrates two GStreamer elements within a pipeline, having a single source and sink pad. Now that we know how the pads operate, let's discuss some of special types of pads. In the example, we assumed that the pads for the element are always 'out there'. However, there are some situations where the element doesn't have the pads available all the time. Such elements request the pads they need at runtime. Such a pad is called a dynamic pad. Another type of pad is called ghost pad. These types are discussed in this section. Dynamic pads Some objects such as decodebin do not have pads defined when they are created. Such elements determine the type of pad to be used at the runtime. For example, depending on the media file input being processed, the decodebin will create a pad. This is often referred to as dynamic pad or sometimes the available pad as it is not always available in elements such as decodebin. Ghost pads As stated in the Bins section a bin object can act as an abstract element. How is it achieved? For that, the bin uses 'ghost pads' or 'pseudo link pads'. The ghost pads of a bin are used to connect an appropriate element inside it. A ghost pad can be created using gst.GhostPad class. Caps The element objects send and receive the data by using the pads. The type of media data that the element objects will handle is determined by the caps (a short form for capabilities). It is a structure that describes the media formats supported by the element. The caps are defined by the class gst.Caps. Bus A bus refers to the object that delivers the message generated by GStreamer. A message is a gst.Message object that informs the application about an event within the pipeline. A message is put on the bus using the gst.Bus.gst_bus_post() method. The following code shows an example usage of the bus. 1 bus = pipeline.get_bus() 2 bus.add_signal_watch() 3 bus.connect("message", message_handler) The first line in the code creates a gst.Bus instance. Here the pipeline is an instance of gst.PipeLine. On the next line, we add a signal watch so that the bus gives out all the messages posted on that bus. Line 3 connects the signal with a Python method. In this example, the message is the signal string and the method it calls is message_handler. Playbin/Playbin2 Playbin is a GStreamer plugin that provides a high-level audio/video player. It can handle a number of things such as automatic detection of the input media file format, auto-determination of decoders, audio visualization and volume control, and so on. The following line of code creates a playbin element. playbin = gst.element_factory_make("playbin") It defines a property called uri. The URI (Uniform Resource Identifier) should be an absolute path to a file on your computer or on the Web. According to the GStreamer documentation, Playbin2 is just the latest unstable version but once stable, it will replace the Playbin. A Playbin2 instance can be created the same way as a Playbin instance. gst-inspect-0.10 playbin2 With this basic understanding, let us learn about various audio processing techniques using GStreamer and Python. (For more resources on Python, see here.) Playing music Given an audio file, one the first things you will do is to play that audio file, isn't it? In GStreamer, what basic elements do we need to play an audio? The essential elements are listed as follows. - The first thing we need is to open an audio file for reading - Next, we need a decoder to transform the encoded information - Then, there needs to be an element to convert the audio format so that it is in a 'playable' format required by an audio device such as speakers - Finally, an element that will enable the actual playback of the audio file How will you play an audio file using the command-line version of GStreamer? One way to execute it using command line is as follows: $gstlaunch-0.10 filesrc location=/path/to/audio.mp3 ! decodebin ! audioconvert ! autoaudiosink The autoaudiosink automatically detects the correct audio device on your computer to play the audio. This was tested on a machine with Windows XP and it worked fine. If there is any error playing an audio, check if the audio device on your computer is working properly. You can also try using element sdlaudiosink that outputs to the sound card via SDLAUDIO. If this doesn't work, and you want to install a plugin for audiosink—here is a partial list of GStreamer plugins: Mac OS X users can try installing osxaudiosink if the default autoaudiosink doesn't work. The audio file should start playing with this command unless there are any missing plugins. Time for action – playing an audio: method 1 There are a number of ways to play an audio using Python and GStreamer. Let's start with a simple one. In this section, we will use a command string, similar to what you would specify using the command-line version of GStreamer. This string will be used to construct a gst.Pipeline instance in a Python program. So, here we go! - Start by creating an AudioPlayer class in a Python source file. Just define the empty methods illustrated in the following code snippet. We will expand those in the later steps. 1 import thread 2 import gobject 3 import pygst 4 pygst.require("0.10") 5 import gst 6 7 class AudioPlayer: 8 def __init__(self): 9 pass 10 def constructPipeline(self): 11 pass 12 def connectSignals(self): 13 pass 14 def play(self): 15 pass 16 def message_handler(self): 17 pass 18 19 # Now run the program 20 player = AudioPlayer() 21 thread.start_new_thread(player.play, ()) 22 gobject.threads_init() 23 evt_loop = gobject.MainLoop() 24 evt_loop.run() Lines 1 to 5 in the code import the necessary modules. As discussed in the Installation prerequisites section, the package pygst is imported first. Then we call pygst.require to enable the import of gst module. - Now focus on the code block between lines 19 to 24. It is the main execution code. It enables running the program until the music is played. We will use this or similar code throughout to run our audio application. On line 21, the thread module is used to create a new thread for playing the audio. The method AudioPlayer.play is sent on this thread. The second argument of thread.start_new_thread is the list of arguments to be passed to the method play. In this example, we do not support any command-line arguments. Therefore, an empty tuple is passed. Python adds its own thread management functionality on top of the operating system threads. When such a thread makes calls to external functions (such as C functions), it puts the 'Global Interpreter Lock' on other threads until, for instance, the C function returns a value. The gobject.threads_init() is an initialization function for facilitating the use of Python threading within the gobject modules. It can enable or disable threading while calling the C functions. We call this before running the main event loop. The main event loop for executing this program is created using gobject on line 23 and this loop is started by the call evt_loop.run(). - Next, fill the AudioPlayer class methods with the code. First, write the constructor of the class. 1 def __init__(self): 2 self.constructPipeline() 3 self.is_playing = False 4 self.connectSignals() The pipeline is constructed by the method call on line 2. The flag self.is_playing is initialized to False. It will be used to determine whether the audio being played has reached the end of the stream. On line 4, a method self.connectSignals is called, to capture the messages posted on a bus. We will discuss both these methods next. - The main driver for playing the sound is the following gst command: "filesrc location=C:/AudioFiles/my_music.mp3 "\ "! decodebin ! audioconvert ! autoaudiosink" The preceding string has four elements separated by the symbol !. These elements represent the components we briefly discussed earlier. - The first element filesrc location=C:/AudioFiles/my_music.mp3 defines the source element that loads the audio file from a given location. In this string, just replace the audio file path represented by location with an appropriate file path on your computer. You can also specify a file on a disk drive. If the filename contains namespaces, make sure you specify the path within quotes. For example, if the filename is my sound.mp3, specify it as follows: filesrc location =\"C:/AudioFiles/my sound.mp3\" - The next element loads the file. This element is connected to a decodebin. As discussed earlier, the decodebin is a plugin to GStreamer and it inherits gst.Bin. Based on the input audio format, it determines the right type of decoder element to use. The third element is audioconvert. It translates the decoded audio data into a format playable by the audio device. The final element, autoaudiosink, is a plugin; it automatically detects the audio sink for the audio output. We have sufficient information now to create an instance of gst.Pipeline. Write the following method. 1 def constructPipeline(self): 2 myPipelineString = \ 3 "filesrc location=C:/AudioFiles/my_music.mp3 "\ 4 "! decodebin ! audioconvert ! autoaudiosink" 5 self.player = gst.parse_launch(myPipelineString) An instance of gst.Pipeline is created on line 5, using the gst.parse_launch method. - Now write the following method of class AudioPlayer. 1 def connectSignals(self): 2 # In this case, we only capture the messages 3 # put on the bus. 4 bus = self.player.get_bus() 5 bus.add_signal_watch() 6 bus.connect("message", self.message_handler) On line 4, an instance of gst.Bus is created. In the introductory section on GStreamer, we already learned what the code between lines 4 to 6 does. This bus has the job of delivering the messages posted on it from the streaming threads. The add_signal_watch call makes the bus emit the message signal for each message posted. This signal is used by the method message_handler to take appropriate action. Write the following method: 1 def play(self): 2 self.is_playing = True 3 self.player.set_state(gst.STATE_PLAYING) 4 while self.is_playing: 5 time.sleep(1) 6 evt_loop.quit() On line 2, we set the state of the gst pipeline to gst.STATE_PLAYING to start the audio streaming. The flag self.is_playing controls the while loop on line 4. This loop ensures that the main event loop is not terminated before the end of the audio stream is reached. Within the loop the call to time.sleep just buys some time for the audio streaming to finish. The value of flag is changed in the method message_handler that watches for the messages from the bus. On line 6, the main event loop is terminated. This gets called when the end of stream message is emitted or when some error occurs while playing the audio. - Next, develop method AudioPlayer.message_handler. This method sets the appropriate flag to terminate the main loop and is also responsible for changing the playing state of the pipeline. 1 def message_handler(self, bus, message): 2 # Capture the messages on the bus and 3 # set the appropriate flag. 4 msgType = message.type 5 if msgType == gst.MESSAGE_ERROR: 6 self.player.set_state(gst.STATE_NULL) 7 self.is_playing = False 8 print "\n Unable to play audio. Error: ", \ 9 message.parse_error() 10 elif msgType == gst.MESSAGE_EOS: 11 self.player.set_state(gst.STATE_NULL) 12 self.is_playing = False In this method, we only check two things: whether the message on the bus says the streaming audio has reached its end (gst.MESSAGE_EOS) or if any error occurred while playing the audio stream (gst.MESSAGE_ERROR). For both these messages, the state of the gst pipeline is changed from gst.STATE_PLAYING to gst.STATE_NULL. The self.is_playing flag is updated to instruct the program to terminate the main event loop. We have defined all the necessary code to play the audio. Save the file as PlayingAudio.py and run the application from the command line as follows: $python PlayingAudio.py This will begin playback of the input audio file. Once it is done playing, the program will be terminated. You can press Ctrl + C on Windows or Linux to interrupt the playing of the audio file. It will terminate the program. What just happened? We developed a very simple audio player, which can play an input audio file. The code we wrote covered some of the most important components of GStreamer. These components will be useful throughout this article. The core component of the program was a GStreamer pipeline that had instructions to play the given audio file. Additionally, we learned how to create a thread and then start a gobject event loop to ensure that the audio file is played until the end. Have a go hero – play audios from a playlist The simple audio player we developed can only play a single audio file, whose path is hardcoded in the constructed GStreamer pipeline. Modify this program so it can play audios in a playlist. In this case, play list should define full paths of the audio files you would like to play, one after the other. For example, you can specify the file paths as arguments to this application or load the paths defined in a text file or load all audio files from a directory. Building a pipeline from elements In the last section, a gst.Pipeline was automatically constructed for us by the gst.parse_launch method. All it required was an appropriate command string, similar to the one specified while running the command-line version of GStreamer. The creation and linking of elements was handled internally by this method. In this section, we will see how to construct a pipeline by adding and linking individual element objects. 'GStreamer Pipeline' construction is a fundamental technique that we will use throughout this article. Time for action – playing an audio: method 2 We have already developed code for playing an audio. Let's now tweak the method AudioPlayer.constructPipeline to build the gst.Pipeline using different element objects. - Rewrite the constructPipeline method as follows. You can also download the file PlayingAudio.py from the Packt website for reference. 1 def constructPipeline(self): 2 self.player = gst.Pipeline() 3 self.filesrc = gst.element_factory_make("filesrc") 4 self.filesrc.set_property("location", 5 "C:/AudioFiles/my_music.mp3") 6 7 self.decodebin = gst.element_factory_make("decodebin", 8 "decodebin") 9 # Connect decodebin signal with a method. 10 # You can move this call to self.connectSignals) 11 self.decodebin.connect("pad_added", 12 self.decodebin_pad_added) 13 14 self.audioconvert = \ 15 gst.element_factory_make("audioconvert", 16 "audioconvert") 17 18 self.audiosink = \ 19 gst.element_factory_make("autoaudiosink", 20 "a_a_sink") 21 22 # Construct the pipeline 23 self.player.add(self.filesrc, self.decodebin, 24 self.audioconvert, self.audiosink) 25 # Link elements in the pipeline. 26 gst.element_link_many(self.filesrc, self.decodebin) 27 gst.element_link_many(self.audioconvert,self.audiosink) - We begin by creating an instance of class gst.Pipeline. - Next, on line 2, we create the element for loading the audio file. Any new gst element can be created using the API method, gst.element_factory_make. The method takes the element name (string) as an argument. For example, on line 3, this argument is specified as "filesrc" in order to create an instance of element GstFileSrc. Each element will have a set of properties. The path of the input audio file is stored in a property location of self.filesrc element. This property is set on line 4. Replace the file path string with an appropriate audio file path. You can get a list of all properties by running the 'gst-inspect-0.10 ' command from a console window. See the introductory section on GSreamer for more details. - The second optional argument serves as a custom name for the created object. For example, on line 20, the name for the autoaudiosink object is specified as a_a_sink. Like this, we create all the essential elements necessary to build the pipeline. - On line 23 in the code, all the elements are put in the pipeline by calling the gst.Pipeline.add method. - The method gst.element_link_many establishes connection between two or more elements for the audio data to flow between them. The elements are linked together by the code on lines 26 and 27. However, notice that we haven't linked together the elements self.decodebin and self.audioconvert. Why? That's up next. - We cannot link the decodebin element with the audioconvert element at the time the pipeline is created. This is because decodebin uses dynamic pads. These pads are not available for connection with the audioconvert element when the pipeline is created. Depending upon the input data , it will create a pad. Thus, we need to watch out for a signal that is emitted when the decodebin adds a pad! How do we do that? It is done by the code on line 11 in the code snippet above. The "pad-added" signal is connected with a method, decodebin_pad_added. Whenever decodebin adds a dynamic pad, this method will get called. - Thus, all we need to do is to manually establish a connection between decodebin and audioconvert elements in the method decodebin_pad_added. Write the following method. 1 def decodebin_pad_added(self, decodebin, pad ): 2 caps = pad.get_caps() 3 compatible_pad = \ 4 self.audioconvert.get_compatible_pad(pad, caps) 5 6 pad.link(compatible_pad) The method takes the element (in this case it is self.decodebin ) and pad as arguments. The pad is the new pad for the decodebin element. We need to link this pad with the appropriate one on self.audioconvert. - On line 2 in this code snippet, we find out what type of media data the pad handles. Once the capabilities (caps) are known, we pass this information to the method get_compatible_pad of object self.audioconvert. This method returns a compatible pad which is then linked with pad on line 6. - The rest of the code is identical with the one illustrated in the earlier section. You can run this program the same way described earlier. What just happened? We learned some very crucial components of GStreamer framework. With the simple audio player as an example, we created a GStreamer pipeline 'from scratch' by creating various element objects and linking them together. We also learned how to connect two elements by 'manually' linking their pads and why that was required for the element self.decodebin. Playing an audio from a website If there is an audio somewhere on a website that you would like to play, we can pretty much use the same AudioPlayer class developed earlier. In this section, we will illustrate the use of gst.Playbin2 to play an audio by specifying a URL. The code snippet below shows the revised AudioPlayer.constructPipeline method. The name of this method should be changed as it is playbin object that it creates. 1 def constructPipeline(self): 2 file_url = "" 3 buf_size = 1024000 4 self.player = gst.element_factory_make("playbin2") 5 self.player.set_property("uri", file_url) 6 self.player.set_property("buffer-size", buf_size) 7 self.is_playing = False 8 self.connectSignals() On line 4, the gst.Playbin2 element is created using gst.element_factory_make method. The argument to this method is a string that describes the element to be created. In this case it is playbi . You can also define a custom name for this object by supplying an optional second argument to this method. Next, on line 5 and 6, we assign values to the properties uri and buffer-size. Set the uri property to an appropriate URL , the full path to the audio file you would like to play. Note: When you execute this program, Python application tries to access the Internet. The anti-virus installed on your computer may block the program execution. In this case, you will need to allow this program to access the Internet. Also, you need to be careful of hackers. If you get the fil_url from an untrusted source, perform a safety check such as assert not re.match("file://", file_url). Have a go hero – use 'playbin' to play local audios In the last few sections, we learned different ways to play an audio file using Python and GStreamer. In the previous section, you must have noticed another simple way to achieve this, using a playbin or playbin2 object to play an audio. In the previous section, we learned how to play an audio file from a URL. Modify this code so that this program can now play audio files located in a drive on your computer. Hint: You will need to use the correct uri path. Convert the file path using Python's module urllib.pathname2url and then append it to the string: "file://". Converting audio file format Suppose you have a big collection of songs in wav file format that you would like to load on a cell phone. But you find out that the cell phone memory card doesn't have enough space to hold all these. What will you do? You will probably try to reduce the size of the song files right? Converting the files into mp3 format will reduce the size. Of course you can do it using some media player. Let's learn how to perform this conversion operation using Python and GStreamer. Later we will develop a simple command-line utility that can be used to perform a batch conversion for all the files you need. - Like in the earlier examples, let's first list the important building blocks we need to accomplish file conversion. The first three elements remain the same. - As before, the first thing we need is to load an audio file for reading. - Next, we need a decoder to transform the encoded information. - Then, there needs to be an element to convert the raw audio buffers into an appropriate format. - An encoder is needed that takes the raw audio data and encodes it to an appropriate file format to be written. - An element where the encoded data will be streamed to is needed. In this case it is our output audio file. Okay, what's next? Before jumping into the code, first check if you can achieve what you want using the command-line version of GStreamer. $gstlaunch-0.10.exe filesrc location=/path/to/input.wav ! decodebin ! audioconvert ! lame ! Filesink location=/path/to/output.mp3 Specify the correct input and output file paths and run this command to convert a wave file to an mp3. If it works, we are all set to proceed. Otherwise check for missing plugins. You should refer to the GStreamer API documentation to know more about the properties of various elements illustrated above. Trust me, the gst-inspect-0.10 (or gst-inspect-0.10.exe for Windows users) command is a very handy tool that will help you understand the components of a GStreamer plugin. The instructions on running this tool are already discussed earlier in this article. (For more resources on Python, see here.) Time for action – audio file format converter Let's write a simple audio file converter. This utility will batch process input audio files and save them in a user-specified file format. To get started, download the file AudioConverter.py from the Packt website. This file can be run from the command line as: python AudioConverter.py [options] Where, the [options] are as follows: - --input_dir: The directory from which to read the input audio file(s) to be converted. - --input_format: The audio format of the input files. The format should be in a supported list of formats. The supported formats are "mp3", "ogg", and "wav". If no format is specified, it will use the default format as ".wav". - --output_dir : The output directory where the converted files will be saved. If no output directory is specified, it will create a folder OUTPUT_AUDIOS within the input directory. - --output_format: The audio format of the output file. Supported output formats are "wav" and "mp3". Let's write this code now. - Start by importing necessary modules. import os, sys, time import thread import getopt, glob import gobject import pygst pygst.require("0.10") import gst - Now declare the following class and the utility function. As you will notice, several of the methods have the same names as before. The underlying functionality of these methods will be similar to what we already discussed. In this section we will review only the most important methods in this class. You can refer to file AudioConverter.py for other methods or develop those on your own. def audioFileExists(fil): return os.path.isfile(fil) class AudioConverter: def __init__(self): pass def constructPipeline(self): pass def connectSignals(self): pass def decodebin_pad_added(self, decodebin, pad): pass def processArgs(self): pass def convert(self): pass def convert_single_audio(self, inPath, outPath): pass def message_handler(self, bus, message): pass def printUsage(self): pass def printFinalStatus(self, inputFileList, starttime, endtime): pass # Run the converter converter = AudioConverter() thread.start_new_thread(converter.convert, ()) gobject.threads_init() evt_loop = gobject.MainLoop() evt_loop.run() - Look at the last few lines of code above. This is exactly the same code we used in the Playing Music section. The only difference is the name of the class and its method that is put on the thread in the call thread.start_new_thread. At the beginning, the function audioFileExists() is declared. It will be used to check if the specified path is a valid file path. - Now write the constructor of the class. Here we do initialization of various variables. def __init__(self): # Initialize various attrs self.inputDir = os.getcwd() self.inputFormat = "wav" self.outputDir = "" self.outputFormat = "" self.error_message = "" self.encoders = {"mp3":"lame", "wav": "wavenc"} self.supportedOutputFormats = self.encoders.keys() self.supportedInputFormats = ("ogg", "mp3", "wav") self.pipeline = None self.is_playing = False self.processArgs() self.constructPipeline() self.connectSignals() - The self.supportedOutputFormats is a tuple that stores the supported output formats. self.supportedInputFormatsis a list obtained from the keys of self.encoders and stores the supported input formats. These objects are used in self.processArgumentsto do necessary checks. The dictionary self.encoders provides the correct type of encoder string to be used to create an encoder element object for the GStreamer pipeline. As the name suggests, the call to self.constructPipeline() builds a gst.Pipeline instance and various signals are connected using self.connectSignals(). - Next, prepare a GStreamer pipeline. def constructPipeline(self): self.pipeline = gst.Pipeline("pipeline") self.filesrc = gst.element_factory_make("filesrc") self.decodebin = gst.element_factory_make("decodebin") self.audioconvert = gst.element_factory_make( "audioconvert") self.filesink = gst.element_factory_make("filesink") encoder_str = self.encoders[self.outputFormat] self.encoder= gst.element_factory_make(encoder_str) self.pipeline.add( self.filesrc, self.decodebin, self.audioconvert, self.encoder, self.filesink) gst.element_link_many(self.filesrc, self.decodebin) gst.element_link_many(self.audioconvert, self.encoder, self.filesink) - This code is similar to the one we developed in the Playing Music sub-section. However there are some noticeable differences. In the Audio Player example, we used the autoaudiosink plugin as the last element. In the Audio Converter, we have replaced it with elements self.encoder and self.filesink. The former encodes the audio data coming out of the self.audioconvert. The encoder will be linked to the sink element. In this case, it is a filesink. The self.filesink is where the audio data is written to a file given by the location property. - The encoder string, encoder_str determines the type of encoder element to create. For example, if the output format is specified as "mp3" the corresponding encoder to use is "lame" mp3 encoder. You can run the gst-inspect-0.10 command to know more about the lame mp3 encoder. The following command can be run from shell on Linux. $gst-inspect-0.10 lame - The elements are added to the pipeline and then linked together. As before, the self.decodebin and self.audioconvert are not linked in this method as the decodebin plugin uses dynamic pads. The pad_added signal from the self.decodebin is connected in the self.connectSignals() method. - Another noticeable change is that we have not set the location property for both, self.filesrc and self.filesink. These properties will be set at the runtime. The input and output file locations keep on changing as the tool is a batch processing utility. - Let's write the main method that controls the conversion process. 1 def convert(self): 2 pattern = "*." + self.inputFormat 3 filetype = os.path.join(self.inputDir, pattern) 4 fileList = glob.glob(filetype) 5 inputFileList = filter(audioFileExists, fileList) 6 7 if not inputFileList: 8 print "\n No audio files with extension %s "\ 9 "located in dir %s"%( 10 self.outputFormat, self.inputDir) 11 return 12 else: 13 # Record time before beginning audio conversion 14 starttime = time.clock() 15 print "\n Converting Audio files.." 16 17 # Save the audio into specified file format. 18 # Do it in a for loop If the audio by that name already 19 # exists, do not overwrite it 20 for inPath in inputFileList: 21 dir, fil = os.path.split(inPath) 22 fil, ext = os.path.splitext(fil) 23 outPath = os.path.join( 24 self.outputDir, 25 fil + "." + self.outputFormat) 26 27 28 print "\n Input File: %s%s, Conversion STARTED..."\ 29 % (fil, ext) 30 self.convert_single_audio(inPath, outPath) 31 if self.error_message: 32 print "\n Input File: %s%s, ERROR OCCURED" \ 33 % (fil, ext) 34 print self.error_message 35 else: 36 print "\nInput File: %s%s,Conversion COMPLETE"\ 37 % (fil, ext) 38 39 endtime = time.clock() 40 41 self.printFinalStatus(inputFileList, starttime, 42 endtime) 43 evt_loop.quit() - All the input audio files are collected in the list inputFileList by the code between lines 2 to 6. Then, we loop over each of these files. First, the output file path is derived based on user inputs and then the input file path. - The highlighted line of code is the workhorse method, AudioConverter.convert_single_audio, that actually does the job of converting the input audio. We will discuss that method next. On line 43, the main event loop is terminated. The rest of the code in method convert is self-explanatory. - The code in method convert_single_audio is illustrated below. 1 def convert_single_audio(self, inPath, outPath): 2 inPth = repr(inPath) 3 outPth = repr(outPath) 4 5 # Set the location property for file source and sink 6 self.filesrc.set_property("location", inPth[1:-1]) 7 self.filesink.set_property("location", outPth[1:-1]) 8 9 self.is_playing = True 10 self.pipeline.set_state(gst.STATE_PLAYING) 11 while self.is_playing: 12 time.sleep(1) - As mentioned in the last step, convert_single_audio method is called within a for loop in the self.convert(). The for loop iterates over a list containing input audio file paths. The input and output file paths are given as arguments to this method. The code between lines 8-12 looks more or less similar to AudioPlayer.play() method illustrated in the Play audio section. The only difference is the main event loop is not terminated in this method. Earlier we did not set the location property for the file source and sink. These properties are set on lines 6 and 7 respectively. - Now what's up with the code on lines 2 and 3? The call repr(inPath) returns a printable representation of the string inPath. The inPathis obtained from the 'for loop'. The os.path.normpath doesn't work on this string. In Windows, if you directly use inPath, GStreamer will throw an error while processing such a path string. One way to handle this is to use repr(string) , which will return the whole string including the quotes . For example: if inPath be "C:/AudioFiles/my_music.mp3" , then repr(inPath) will return in "'C:\\\\AudioFiles\\\\my_music.mp3'". Notice that it has two single quotes. We need to get rid of the extra single quotes at the beginning and end by slicing the string as inPth[1:-1]. There could be some other better ways. You can come up with one and then just use that code as a path string! - Let's quickly skim through a few more methods. Write these down: def connectSignals(self): # Connect the signals. # Catch the messages on the bus bus = self.pipeline.get_bus() bus.add_signal_watch() bus.connect("message", self.message_handler) # Connect the decodebin "pad_added" signal. self.decodebin.connect("pad_added", self.decodebin_pad_added) def decodebin_pad_added(self, decodebin, pad): caps = pad.get_caps() compatible_pad=\ self.audioconvert.get_compatible_pad(pad, caps) pad.link(compatible_pad) - The connectSignal method is identical to the one discussed in the Playing music section, except that we are also connecting the decodebin signal with a method decodebin_pad_added. Add a print statement to decodebin_pad_added to check when it gets called. It will help you understand how the dynamic pad works! The program starts by processing the first audio file. The method convert_single_audio gets called. Here, we set the necessary file paths. After that, it begins playing the audio file. At this time, the pad_addedsignal is generated. Thus based on the input file data, decodebin will create the pad. - The rest of the methods such as processArgs, printUsage, and message_handler are self-explanatory. You can review these methods from the file AudioConverter.py. - The audio converter should be ready for action now! Make sure that all methods are properly defined and then run the code by specifying appropriate input arguments. The following screenshot shows a sample run of audio conversion utility on Windows XP. Here, it will batch process all audio files in directory C:\AudioFiles with extension .ogg and convert them into mp3 file format . The resultant mp3 files will be created in directory C:\AudioFiles\OUTPUT_AUDIOS. What just happened? A basic audio conversion utility was developed in the previous section. This utility can batch-convert audio files with ogg or mp3 or wav format into user-specified output format (where supported formats are wav and mp3). We learned how to specify encoder and filesink elements and link them in the GStreamer pipeline. To accomplish this task, we also applied knowledge gained in earlier sections such as creation of GStreamer pipeline, capturing bus messages, running the main event loop, and so on. Have a go hero – do more with audio converter The audio converter we wrote is fairly simple. It deserves an upgrade. Extend this application to support more audio output formats such as ogg, flac, and so on. The following pipeline illustrated one way of converting an input audio file into ogg file format. filesrc location=input.mp3 ! decodebin ! audioconvert ! vorbisenc ! oggmux ! filesink location=output.ogg Notice that we have an audio muxer, oggmux, that needs to be linked with encoder vorbisenc. Similarly, to create an MP4 audio file, it will need {faac ! mp4mux} as encoder and audio muxer. One of the simplest things to do is to define proper elements (such as encoder and muxer) and instead of constructing a pipeline from individual elements, use the gst.parse_launch method we studied earlier and let it automatically create and link elements using the command string. You can create a pipeline instance each time the audio conversion is called for. But in this case you would also need to connect signals each time the pipeline is created. Another better and simpler way is to link the audio muxer in the AudioConverter.constructPipeline method. You just need to check if it is needed based on the type of plugin you are using for encoding. In this case the code will be: gst.element_link_many(self.audioconvert, self.encoder, self.audiomuxer, self.filesink) The audio converter illustrated in this example takes input files of only a single audio file format. This can easily be extended to accept input audio files in all supported file formats (except for the type specified by the --output_format option). The decodebin should take care of decoding the given input data. Extend Audio Converter to support this feature. You will need to modify the code in the AudioConverter.convert() method where the input file list is determined. Extracting part of an audio Suppose you have recorded a live concert of your favorite musician or a singer. You have saved all this into a single file with MP3 format but you would like to break this file into small pieces. There is more than one way to achieve this using Python and GStreamer. We will use the simplest and perhaps the most efficient way of cutting a small piece from an audio track. It makes use of an excellent GStreamer plugin, called Gnonlin. The Gnonlin plugin The multimedia editing can be classified as linear or non-linear. Non-linear multimedia editing enables control over the media progress in an interactive way. For example, it allows you to control the order in which the sources should be executed. At the same time it allows modifications to the position in a media track. While doing all this, note that the original source (such as an audio file) remains unchanged. Thus the editing is non-destructive. The Gnonlin or (G-Non-Linear) provides essential elements for non-linear editing of a multimedia. It has five major elements, namely, gnlfilesource, gnlurisource, gnlcomposition, gnloperation, and gnlsource. To know more about their properties, run gst-inspect-0.10 command on each of these elements. Here, we will only focus on the element gnlfilesource and a few of its properties. This is really a GStreamer bin element. Like decodebin, it determines which pads to use at the runtime. As the name suggests, it deals with the input media file. All you need to specify is the input media source it needs to handle. The media file format can be any of the supported media formats. The gnlfilesource defines a number of properties. To extract a chunk of an audio, we just need to consider three of them: - media-start: The position in the input media file, which will become the start position of the extracted media. This is specified in nanoseconds. - media-duration: Total duration of the extracted media file (beginning from media-start). This is specified in nanoseconds as well. - uri: The full path of the input media file. For example, if it is a file on your local hard drive, the uri will be something like. If the file is located on a website, then the uri will something of this sort:. The gnlfilesource internally does operations like loading and decoding the file, seeking the track to the specified position, and so on. This makes our job easier. We just need to create basic elements that will process the information furnished by gnlfilesource, to create an output audio file. Now that we know the basics of gnlfilesource, let's try to come up with a GStreamer pipeline that will cut a portion of an input audio file. - First the gnlfilesource element that does the crucial job of loading, decoding the file, seeking the correct start position, and finally presenting us with an audio data that represents the portion of track to be extracted. - An audioconvert element that will convert this data into an appropriate audio format. - An encoder that encodes this data further into the final audio format we want. - A sink where the output data is dumped. This specifies the output audio file. Try running the following from the command prompt by replacing the uri and location paths with appropriate file paths on your computer. $gst-launch-0.10.exe gnlfilesource uri= media-start=0 media-duration=15000000000 ! audioconvert ! lame ! filesink location=C:/my_chunk.mp3 This should create an extracted audio file of duration 15 seconds, starting at the initial position on the original file. Note that the media-start and media-duration properties take the input in nanoseconds. This is really the essence of what we will do next. Time for action – MP3 cutter! In this section we will develop a utility that will cut out a portion of an MP3 formatted audio and save it as a separate file. - Keep the file AudioCutter.py handy. You can download it from the Packt website. Here we will only discuss important methods. The methods not discussed here are similar to the ones from earlier examples. Review the file AudioCutter.py which has all the necessary source code to run this application. - Start the usual way. Do the necessary imports and write the following skeleton code. import os, sys, time import thread import gobject import pygst pygst.require("0.10") import gst class AudioCutter: def __init__(self): pass def constructPipeline(self): pass def gnonlin_pad_added(self, gnonlin_elem, pad): pass def connectSignals(self): pass def run(self): pass def printFinalStatus(self): pass def message_handler(self, bus, message): pass #Run the program audioCutter = AudioCutter() thread.start_new_thread(audioCutter.run, ()) gobject.threads_init() evt_loop = gobject.MainLoop() evt_loop.run() The overall code layout looks familiar doesn't it? The code is very similar to the code we developed earlier in this article. The key here is the appropriate choice of the file source element and linking it with the rest of the pipeline! The last few lines of code create a thread with method AudioCutter.run and run the main event loop as seen before. - Now fill in the constructor of the class. We will keep it simple this time. The things we need will be hardcoded within the constructor of the class AudioCutter. It is very easy to implement a processArgs() method as done on many occasions before. Replace the input and output file locations in the code snippet with a proper audio file path on your computer. def __init__(self): self.is_playing = False # Flag used for printing purpose only. self.error_msg = '' self.media_start_time = 100 self.media_duration = 30 self.inFileLocation = "C:\AudioFiles\my_music.mp3" self.outFileLocation = "C:\AudioFiles\my_music_chunk.mp3" self.constructPipeline() self.connectSignals() - The self.media_start_time is the new starting position of the mp3 file in seconds. This is the new start position for the extracted output audio. The self.duration variable stores the total duration extracted track. Thus, if you have an audio file with a total duration of 5 minutes, the extracted audio will have a starting position corresponding to 1 min, 40 seconds on the original track. The total duration of this output file will be 30 seconds, that is, the end time will correspond to 2 minutes, 10 seconds on the original track. The last two lines of this method build a pipeline and connect signals with class methods. - Next, build the GStreamer pipeline. 1 def constructPipeline(self): 2 self.pipeline = gst.Pipeline() 3 self.filesrc = gst.element_factory_make( 4 "gnlfilesource") 5 6 # Set properties of filesrc element 7 # Note: the gnlfilesource signal will be connected 8 # in self.connectSignals() 9 self.filesrc.set_property("uri", 10 "" + self.inFileLocation) 11 self.filesrc.set_property("media-start", 12 self.media_start_time*gst.SECOND) 13 self.filesrc.set_property("media-duration", 14 self.media_duration*gst.SECOND) 15 16 self.audioconvert = \ 17 gst.element_factory_make("audioconvert") 18 19 self.encoder = \ 20 gst.element_factory_make("lame", "mp3_encoder") 21 22 self.filesink = \ 23 gst.element_factory_make("filesink") 24 25 self.filesink.set_property("location", 26 self.outFileLocation) 27 28 #Add elements to the pipeline 29 self.pipeline.add(self.filesrc, self.audioconvert, 30 self.encoder, self.filesink) 31 # Link elements 32 gst.element_link_many(self.audioconvert,self.encoder, 33 self.filesink) The highlighted line of code (line 3) creates the gnlfilesource. We call this as self.filesrc. As discussed earlier, this is responsible for loading and decoding audio data and presenting only the required portion of audio data that we need. It enables a higher level of abstraction in the main pipeline. - The code between lines 9 to 13 sets three properties of gnlfilesource, uri, media-start and media-duration. The media-start and media-duration are specified in nanoseconds. Therefore, we multiply the parameter value (which is in seconds) by gst.SECOND which takes care of the units. - The rest of the code looks very much similar to the Audio Converter example. In this case, we only support saving the file in mp3 audio format. The encoder element is defined on line 19. self.filesink determines where the output file will be saved. Elements are added to the pipeline by self.pipeline.add call and are linked together on line 32. Note that the gnlfilesource element, self.filesrc, is not linked with self.audioconvert while constructing the pipeline. Like the decodebin, the gnlfilesource implements dynamic pads. Thus, the pad is not available when the pipeline is constructed. It is created at the runtime depending on the specified input audio format. The "pad_added" signal of gnlfilesource is connected with a method self.gnonlin_pad_added. - Now write the connectSignals and gnonlin_pad_added methods. def connectSignals(self): # capture the messages put on the bus. bus = self.pipeline.get_bus() bus.add_signal_watch() bus.connect("message", self.message_handler) # gnlsource plugin uses dynamic pads. # Capture the pad_added signal. self.filesrc.connect("pad-added",self.gnonlin_pad_added) def gnonlin_pad_added(self, gnonlin_elem, pad): pad.get_caps() compatible_pad = \ self.audioconvert.get_compatible_pad(pad, caps) pad.link(compatible_pad) The highlighted line of code in method connectSignals connects the pad_added signal of gnlfilesource with a method gnonlin_pad_added. The gnonlin_pad_added method is identical to the decodebin_pad_added method of class AudioConverter developed earlier. Whenever gnlfilesource creates a pad at the runtime, this method gets called and here, we manually link the pads of gnlfilesource with the compatible pad on self.audioconvert. - The rest of the code is very much similar to the code developed in the Playing an audio section. For example, AudioCutter.run method is equivalent to AudioPlayer.play and so on. You can review the code for remaining methods from the file AudioCutter.py. - Once everything is in place, run the program from the command line as: $python AudioCutter.py - This should create a new MP3 file which is just a specific portion of the original audio file. What just happened? We accomplished creation of a utility that can cut a piece out of an MP3 audio file (yet keep the original file unchanged). This audio piece was saved as a separate MP3 file. We learned about a very useful plugin, called Gnonlin, intended for non-linear multimedia editing. A few fundamental properties of gnlfilesource element in this plugin to extract an audio file. Have a go hero – extend MP3 cutter - Modify this program so that the parameters such as media_start_time can be passed as an argument to the program. You will need a method like processArguments(). You can use either getopt or OptionParser module to parse the arguments. - Add support for other file formats. For example, extend this code so that it can extract a piece from a wav formatted audio and save it as an MP3 audio file. The input part will be handled by gnlfilesource. Depending upon the type of output file format, you will need a specific encoder and possibly an audio muxer element. Then add and link these elements in the main GStreamer pipeline. Recording After learning how to cut out a piece from our favorite music tracks, the next exciting thing we will have is a 'home grown' audio recorder. Then use it the way you like to record music, mimicry or just a simple speech! Remember what pipeline we used to play an audio? The elements in the pipeline to play an audio were filesrc ! decodebin ! audioconvert ! autoaudiosink. The autoaudiosink did the job of automatically detecting the output audio device on your computer. For recording purposes, the audio source is going to be from the microphone connected to your computer. Thus, there won't be any filesrc element. We will instead replace with a GStreamer plugin that automatically detects the input audio device. On similar lines, you probably want to save the recording to a file. So, the autoaudiosink element gets replaced with a filesink element. autoaudiosrc is an element we can possibly use for detecting input audio source. However, while testing this program on Windows XP, the autoaudiosrc was unable to detect the audio source for unknown reasons. So, we will use the Directshow audio capture source plugin called dshowaudiosrc, to accomplish the recording task. Run the gst-inspect-0.10 dshowaudiosrc command to make sure it is installed and to learn various properties of this element. Putting this plugin in the pipeline worked fine on Windows XP. The dshowaudiosrc is linked to the audioconvert. With this information, let's give it a try using the command-line version of GStreamer. Make sure you have a microphone connected or built into your computer. For a change, we will save the output file in ogg format. gst-launch-0.10.exe dshowaudiosrc num-buffers=1000 ! audioconvert ! audioresample ! vorbisenc ! oggmux ! filesink location=C:/my_voice.ogg The audioresample re-samples the raw audio data with different sample rates. Then the encoder element encodes it. The multiplexer or mux, if present, takes the encoded data and puts it into a single channel. The recorded audio file is written to the location specified by the filesink element. Time for action – recording Okay, time to write some code that does audio recording for us. - Download the file RecordingAudio.py and review the code. You will notice that the only important task is to set up a proper pipeline for audio recording. Content-wise, the other code is very much similar to what we learned earlier in the article. It will have some minor differences such as method names and print statements. In this section we will discuss only the important methods in the class AudioRecorder. - Write the constructor. def __init__(self): self.is_playing = False self.num_buffers = -1 self.error_message = "" self.processArgs() self.constructPipeline() self.connectSignals() - This is similar to the AudioPlayer.__init__() except that we have added a call to processArgs() and initialized the error reporting variable self.error_message and the variable that indicates the total duration of the recording. - Build the GStreamer pipeline by writing constructPipeline method. 1 def constructPipeline(self): 2 # Create the pipeline instance 3 self.recorder = gst.Pipeline() 4 5 # Define pipeline elements 6 self.audiosrc = \ 7 gst.element_factory_make("dshowaudiosrc") 8 9 self.audiosrc.set_property("num-buffers", 10 self.num_buffers) 11 12 self.audioconvert = \ 13 gst.element_factory_make("audioconvert") 14 15 self.audioresample = \ 16 gst.element_factory_make("audioresample") 17 18 self.encoder = \ 19 gst.element_factory_make("lame") 20 21 self.filesink = \ 22 gst.element_factory_make("filesink") 23 24 self.filesink.set_property("location", 25 self.outFileLocation) 26 27 # Add elements to the pipeline 28 self.recorder.add(self.audiosrc, self.audioconvert, 29 self.audioresample, 30 self.encoder, self.filesink) 31 32 # Link elements in the pipeline. 33 gst.element_link_many(self.audiosrc,self.audioconvert, 34 self.audioresample, 35 self.encoder,self.filesink) - We use the dshowaudiosrc (Directshow audiosrc) plugin as an audio source element. It finds out the input audio source which will be, for instance, the audio input from a microphone. - On line 9, we set the number of buffers property to the one specified by self.num_buffers. This has a default value as -1 , indicating that there is no limit on the number of buffers. If you specify this value as 500 for instance, it will output 500 buffers (5 second duration) before sending a End of Stream message to end the run of the program. - On line 15, an instance of element 'audioresample' is created. This element is takes the raw audio buffer from the self.audioconvert and re-samples it to different sample rates. The encoder element then encodes the audio data into a suitable format and the recorder file is written to the location specified by self.filesink. - The code between lines 28 to 35 adds various elements to the pipeline and links them together. - Review the code in file RecordingAudio.py to add rest of the code. Then run the program to record your voice or anything that you want to record that makes an audible sound! Following are sample command-line arguments. This program will record an audio for 5 seconds. $python RecordingAudio.py –-num_buffers=500 --out_file=C:/my_voice.mp3 What just happened? We learned how to record an audio using Python and GStreamer. We developed a simple audio recording utility to accomplish this task. The GStreamer plugin, dshowaudiosrc, captured the audio input for us. We created the main GStreamer Pipeline by adding this and other elements and used it for the Audio Recorder program. Summary This article gave us deeper insight into the fundamentals of audio processing using Python and the GStreamer multimedia framework. We used several important components of GStreamer to develop some frequently needed audio processing utilities. The main learning points of the article can be summarized as follows: - GStreamer installation: We learned how to install GStreamer and the dependent packages on various platforms. This set up a stage for learning audio processing techniques and will also be useful for the next chapters on audio/video processing. - A primer on GStreamer: A quick primer on GStreamer helped us understand important elements required for media processing. - Use of GStreamer API to develop audio tools: We learned how to use GStremer API for general audio processing. This helped us develop tools such as an Audio player, a file format converter, an MP3 cutter, and audio recorder. Further resources on this subject: -
http://www.packtpub.com/article/python-multimedia-working-with-audios
CC-MAIN-2014-10
refinedweb
10,637
60.31
How to Send Email with Nodemailer March 16th, 2021 What You Will Learn in This Tutorial Learn how to configure an SMTP server and send email from your app using Nodemailer. Also learn how to use EJS to create dynamic HTML templates for sending email. Table of Contents Master Websockets — Learn how to build a scalable websockets implementation and interactive UI. To get started, we need to install the nodemailer package via NPM: npm install nodemailer This will add Nodemailer to your app. If you're using a recent version of NPM, this should also add nodemailer as a dependency in your app's package.json file. Choosing an SMTP Provider Before we move forward, we need to make sure we have access to an SMTP provider. An SMTP provider is a service that provides access to the SMTP server we need to physically send our emails. While you can create an SMTP server on your own, it's usually more trouble than it's worth due to regulatory compliance and technical overhead. SMTP stands for Simple Mail Transfer Protocol. It's an internet standard communication protcol that describes the protocol used for sending email over the internet. When it comes to using SMTP in your app, the standard is to use a third-party SMTP service to handle the compliance and technical parts for you so you can just focus on your app. There are a lot of different SMTP providers out there, each with their own advantages, disadvantages, and costs. Our recommendation? Postmark. It's a paid service, however, it has a great user interface and excellent documentation that save you a lot of time and trouble. If you're trying to avoid paying, an alternative and comparable service is Mailgun. Before you continue, set up an account with Postmark and then follow this quick tutorial to access your SMTP credentials (we'll need these next). Alternatively, set up an account with Mailgun and then follow this tutorial to access your SMTP credentials. Once you have your SMTP provider and credentials ready, let's keep moving. Configuring Your SMTP Server Before we start sending email, the first step is to configure an SMTP transport. A transport is the term Nodemailer uses to describe the method it will use to actually send your email. import nodemailer from 'nodemailer'; const smtp = nodemailer.createTransport({ host: '', port: 587, secure: process.env.NODE_ENV !== "development", auth: { user: '', pass: '', }, }); First, we import nodemailer from the nodemailer package we installed above. Next, we define a variable const smtp and assign it to a call to nodemailer.createTransport(). This is the important part. Here, we're passing an options object that tells Nodemailer what SMTP service we want to use to send our email. Wait, aren't we sending email using our app? Technically, yes. But sending email on the internet requires a functioning SMTP server. With Nodemailer, we're not creating a server, but instead an SMTP client. The difference is that a server acts as the actual sender (in the technical sense), while the client connects to the server to use it as a relay to perform the actual send. In our app, then, calling nodemailer.createTransport() establishes the client connection to our SMTP provider. Using the credentials you obtained from your SMTP provider earlier, let's update this options object. While they may not be exact, your SMTP provider should use similar terminology to describe each of the settings we need to pass: { host: 'smtp.postmarkapp.com', port: 587, secure: process.env.NODE_ENV !== "development", auth: { user: 'postmark-api-key-123', pass: 'postmark-api-key-123', }, } Here, we want to replace host, port, and the user and pass under the nested auth object. host should look something like smtp.postmarkapp.com. port should be set to 587 (the secure port for sending email with SMTP). Note: If you're using Postmark, you will use your API key for both the username and password here. Double-check and make sure you have the correct settings and then we're ready to move on to sending. Sending Email Sending email with Nodemailer is straightforward: all we need to do is call the sendMail method on the value returned from nodemailer.createTransport() that we stored in the smtp variable above, like this: smtp.sendMail({ ... }) Next, we need to pass the appropriate message configuration for sending our email. The message configuration object is passed to smtp.sendMail() and contains settings like to, from, subject, and html. As a quick example, let's pass the bare minimum settings we'll need to fire off an email: [...] smtp.sendMail({ to: 'somebody@gmail.com', from: 'support@myapp.com', subject: 'Testing Email Sends', html: '<p>Sending some HTML to test.</p>', }); Pretty clear. Here we pass in a to, from, subject, and html setting to specify who our email is going to, where it's coming from, a subject to help the recipient identify the email, and some HTML to send in the body of the email. That's it! Well, that's the basic version. If you take a look at the message configuration documentation for Nodemailer, you'll see that there are several options that you can pass. To make sure this is all clear, let's look at our full example code so far: import nodemailer from 'nodemailer'; const smtp = nodemailer.createTransport({ host: 'smtp.someprovider.com', port: 587, secure: process.env.NODE_ENV !== "development", auth: { user: 'smtp-username', pass: 'smtp-password', }, }); smtp.sendMail({ to: 'somebody@gmail.com', from: 'support@myapp.com', subject: 'Testing Email Sends', html: '<p>Sending some HTML to test.</p>', }); Now, while this technically will work, if we copy and paste it verbatim into a plain file, when we run the code, we'll send our email immediately. That's likely a big oops. Let's modify this code slightly: import nodemailer from 'nodemailer'; const smtp = nodemailer.createTransport({ host: 'smtp.someprovider.com', port: 587, secure: process.env.NODE_ENV !== "development", auth: { user: 'smtp-username', pass: 'smtp-password', }, }); export default (options = {}) => { return smtp.sendMail(options); } Wait! Where did our example options go? It's very unlikely that we'll want to send an email as soon as our app starts up. To make it so that we can send an email manually, here, we wrap our call to smtp.sendMail() with another function that takes an options object as an argument. Can you guess what that options object contains? That's right, our missing options. The difference between this code and the above is that we can import this file elsewhere in our app, calling the exported function at the point where we want to send our email. For example, let's assume the code above lives at the path /lib/email/send.js in our application: import sendEmail from '/lib/email/send.js'; import generateId from '/lib/generateId.js'; export default { createCustomer: (parent, args, context) => { const customerId = generateId(); await Customers.insertOne({ _id: customerId, ...args.customer }); await sendEmail({ to: 'admin@myapp.com', from: 'support@myapp.com', subject: 'You have a new customer!', text: 'Hooray! A new customer has signed up for the app.', }); return true; }, }; This should look familiar. Again, we're using the same exact message configuration object from Nodemailer here. The only difference is that now, Nodemailer won't send our email until we call the sendEmail() function. Awesome. So, now that we know how to actually send email, let's take this a step further and make it more usable in our application. Creating Dynamic Templates with EJS If you're a Pro Subscriber and have access to the repo for this tutorial, you'll notice that this functionality is built-in to the boilerplate that the repo is based on, the CheatCode Node.js Boilerplate. The difference between that code and the examples we've looked at so far is that it includes a special feature: the ability to define custom HTML templates and have them compile automatically with dynamic data passed when we call to sendEmail. Note: The paths above the code blocks below map to paths available in the repo for this tutorial. If you're a CheatCode Pro subscriber and have connected your Github account on the account page, click the "View on Github" button at the top of this tutorial to view the source. Let's take a look at the entire setup and walk through it. /lib/email/send.js import nodemailer from "nodemailer"; import fs from "fs"; import ejs from "ejs"; import { htmlToText } from "html-to-text"; import juice from "juice"; import settings from "../settings"; const smtp = nodemailer.createTransport({ host: settings?.smtp?.host, port: settings?.smtp?.port, secure: process.env.NODE_ENV !== "development", auth: { user: settings?.smtp?.username, pass: settings?.smtp?.password, }, }); export default ({ template: templateName, templateVars, ...restOfOptions }) => { const templatePath = `lib/email/templates/${templateName}.html`; const options = { ...restOfOptions, }; if (templateName && fs.existsSync(templatePath)) { const template = fs.readFileSync(templatePath, "utf-8"); const html = ejs.render(template, templateVars); const text = htmlToText(html); const htmlWithStylesInlined = juice(html); options.html = htmlWithStylesInlined; options.text = text; } return smtp.sendMail(options); }; There's a lot of extras here, so let's focus on the familiar stuff first. Starting with the call to nodemailer.createTransport(), notice that we're calling the exact same code above. The only difference is that here, instead of passing our settings directly, we're relying on the built-in settings convention in the CheatCode Node.js Boilerplate. Code Tip Notice that weird syntax we're using in our call to createTransport()like settings?.smtp?.host? Though it may look like a mistake, this is known as optional chaining and is a recent edition to the ECMAScript language specification (the technical name for the specification that JavaScript is based on). Optional chaining helps us to avoid runtime errors when accessing nested properties on objects. Instead of writing settings && settings.smtp && settings.smtp.host, we can simiplify our code by writing settings?.smtp?.hostto achieve the same result. Next, we want to look at the very bottom of the file. That call to smtp.sendMail(options) should look familiar. In fact, this is the exact same pattern we saw above when we wrapped our call in the function that took the options object. Adding the Templating Functionality Now for the tricky part. You'll notice that we've added quite a few imports to the top of our file. In addition to nodemailer, we've added: fs- No install required. This is the File System package that's built-in to the Node.js core. It gives us access to the file system for things like reading and writing files. ejs- The library we'll use for replacing dynamic content inside of our HTML email template. html-to-text- A library that we'll use to automatically convert our compiled HTML into text to improve the accessibility of our emails for users. juice- A library used for automatically inlining any <style></style>tags in our HTML email template. If you're not using the CheatCode Node.js Boilerplate, go ahead and install those last three dependencies now: npm install ejs html-to-text juice Now, let's look a bit closer at the function being exported at the bottom of this example. This function is technically identical to the wrapper function we looked at earlier, with one big difference: we now anticipate a possible template and templateVars value being passed in addition to the message configuration we've seen so far. Instead of just taking in the options object blindly, though, we're using JavaScript object destructuring to "pluck off" the properties we want from the options object—kind of like grapes. Once we have the template and templateVars properties (grapes), we collect the rest of the options in a new variable called restOfOptions using the ...JavaScript spread operator. Next, just inside the function body at the top of the function we define a variable templatePath that points to the planned location of our HTML email templates: /lib/email/templates/${templateName}.html. Here, we pass the templateName property that we destructured from the options object passed to our new function (again, the one that's already included in the CheatCode Node.js Boilerplate). It's important to note: even though we're using the name templateName here, that value is assigned to the options object we pass as template. Why the name change? Well, if we look a bit further down, we want to make sure that the variable name template is still accessible to us. So, we take advantage of the ability to rename destructured properties in JavaScript by writing { template: templateName }. Here, the template tells JavaScript that we want to assign the value in that variable to a new name, in the scope of our current function. :after To be clear: we're not permanently changing or mutating the options object here. We're only changing the name—giving it an alias—temporarily within the body of this function; nowhere else. Next, once we have our template path, we get to work. First, we set up a new options object containing the "unpacked" version of our restOfOptions variable using the JavaScript spread operator. We do this here because at this point, we can only know for certain the options object passed to our function contains the Nodemailer message configuration options. In order to determine if we're sending our email using a template, we writing an if statement to say "if there's a templateName present and fs.existsSync(templatePath) returns true for the templatePath we wrote above, assume we have a template to compile." If either templateName or the fs.existsSync() check were to fail, we'd skip any template compilation and hand off our options object directly to smtp.sendMail(). If, however, we do have a template and it does exist at the path, next, we use fs.readFileSync() to get the raw contents of the HTML template and store them in the template variable. Next, we use the ejs.render() method, passing the HTML template we want to replace content within, followed by the templateVars object containing the replacements for that file. Because we're writing our code to support any template (not a specific one), let's take a quick look at an example HTML template to ensure this isn't confusing: /lib/email/templates/reset-password.html <html> <head> <title>Reset Password</title> </head> <style> body { color: #000; font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-size: 16px; line-height: 24px; } </style> <body> <p>Hello,</p> <p>A password reset was requested for this email address (<%= emailAddress %>). If you requested this reset, click the link below to reset your password:</p> <p><a href="<%= resetLink %>">Reset Your Password</a></p> </body> </html> Here, we have a plain HTML file with a <style></style> tag containing some generic color and font styles and a short <body></body> containing the contents of our email. Notice that inside we have some strange, non-standard HTML tags like <%= emailAddress =>. Those are known as EJS tags and are designed to be placeholders where EJS will "spit out" the corresponding values from our templateVars object into the template. In other words, if our templateVars object looks like this: We'd expect to get HTML back like this from EJS: <body> <p>Hello,</p> <p>A password reset was requested for this email address (pizza@test.com). If you requested this reset, click the link below to reset your password:</p> <p><a href=" Your Password</a></p> </body> Now, back in our JavaScript code, after we've gotten back our html string from ejs.render(), we pass it to the htmlToText() method we imported to get back an HTML-free, plain-text string (again, this is used for accessibility—email clients fall back to the text version of an email in the event that there's an issue with the HTML version). Finally, we take the html once more and pass it to juice() to inline the <style></style> tag we saw at the top. Inlining is the process of adding styles contained in a <style></style> tag directly to an HTML element via its style attribute. This is done to ensure styles are compatible with all email clients which, unfortunately, are all over the map. Once we have our compiled htmlWithStylesInlined and our text, as our final step, at the bottom of our if statement, we assign options.html and options.text to our htmlWithStylesInlined and our text values, respectively. Done! Now, when we call our function, we can pass in a template name (corresponding to the name of the HTML file in the /lib/email/templates directory) along with some templateVars to send a dynamically rendered HTML email to our users. Let's take a look at using this function to wrap things up: await sendEmail({ to: args.emailAddress, from: settings?.support?.email, subject: "Reset Your Password", template: "reset-password", templateVars: { emailAddress: args.emailAddress, resetLink, }, }); Nearly identical to what we saw before, but notice: this time we pass a template name and templateVars to signal to our function that we want to use the reset-password.html template and to replace its EJS tags with the values in the templateVars object. Make sense? If not, feel free to share a comment below and we'll help you out! Get the latest free JavaScript and Node.js tutorials, course announcements, and updates from CheatCode in your inbox. No spam. Just new tutorials, course announcements, and updates from CheatCode.
https://cheatcode.co/tutorials/how-to-send-email-with-nodemailer
CC-MAIN-2022-21
refinedweb
2,915
64.81
This appendix contains a list of all warning and error messages produced by the Watcom C compilers. Diagnostic messages are issued during compilation and execution. The messages listed in the following sections contain references to %s, %d and %u. They represent strings that are substituted by the Watcom C compilers to make the error message more exact: This appendix includes the following sections: Consider the following program, named err.c, which contains errors: #include <stdio.h> void main() { int i; float i; i = 383; x = 13143.0; printf( "Integer value is %d\n", i ); printf( "Floating-point value is %f\n", x ); } If we compile the above program, the following messages appear on the screen: err.c(6): Error! E1034: Symbol 'i' already defined err.c(9): Error! E1011: Symbol 'x' has not been declared err.c: 12 lines, included 191, 0 warnings, 2 errors The diagnostic messages consist of the following information: In the above example, the first error occurred on line 6 of the file err.c. Error number 1034 (with the appropriate substitutions) was diagnosed. The second error occurred on line 9 of the file err.c. Error number 1011 (with the appropriate substitutions) was diagnosed. The following sections contain a complete list of the messages. Runtime messages (that is, messages displayed during execution) don't have message numbers associated with them. Use this table to find a message quickly: Solution: Correct the levels of indirection or use a void *. Suppose we have the declaration char buffer[80];. Then the expression (&buffer + 3) is evaluated as (buffer + 3 * sizeof(buffer)), which is (buffer + 3 * 80), and not (buffer + 3 * 1), which is what most people expect to happen. The address of operator & isn't required for getting the address of an array. For example, #define XX 23 // comment start \ comment \ end int x = XX; // comment start ...\ comment end In some cases, there may be a valid reason for retaining the variable. You can prevent the message from being issued through use of #pragma off(unreferenced). Use this table to find a message quickly: For the 16-bit WATCOM C compiler, the -d2 option causes the compiler to use more memory. Try compiling with the d1 option instead. /* Uncommenting the following line will eliminate the error */ /* struct foo; */ void fn1( struct foo * ); struct foo { int a,b; }; void fn1( struct foo *bar ) { fn2( bar ); } The problem can be corrected by reordering the sequence in which items are declared (by moving the description of the structure foo ahead of its first reference, or by adding the indicated statement). This will assure that the first instance of structure foo is defined at the proper outer scope. both in the same function. The return statement that doesn't return a value needs to have a value specified to be consistent with the other return statement in the function. and the identifier defined can't be deleted by the #undef directive. For the 32-bit WATCOM C compiler: For example, #define str(x) #x str(@#\) This message is purely informational. It's only printed if the warning level is greater than or equal to 4.
https://users.pja.edu.pl/~jms/qnx/help/watcom/compiler-tools/cmsgs.html
CC-MAIN-2022-33
refinedweb
523
55.13
I've been reading about instance initializers in Java, and it's been explained that code common to all constructors can be put into them because they are called every time a new instance of a class is created. Is there an equivalent of instance initializers that run after constructors, for code that would be common to all constructors, but depends on what happens in the constructors? No, there isn't an exact equivalent. If you want to run some common code, you can always factor out a method and call it at the end of all your constructors: public class C { private int x = 5; private String y; public C(int x) { this.x = x; endConstructor(); } public C(String x) { this.x = x.length; endConstructor(); } private void endConstructor() { y = x + "!"; } } Sometimes, what seems like a situation where you want to call the same code at the "end" of all constructors can be refactored so that this code is in a single main constructor. Then, all other constructors call it using this(). For the example above: public class C { private int x = 5; private String y; public C(int x) { this.x = x; y = x + "!"; } public C(String x) { this(x.length); } } The main constructor can be private, if appropriate.
https://codedump.io/share/gILJIbksnzsr/1/java-equivalent-of-instance-initializer-called-after-constructor
CC-MAIN-2017-04
refinedweb
210
71.75
Python Deprecated Client This SDK has been superseded by a new unified one. The documentation here is preserved for customers using the old client. For new projects have a look at the new client documentation: Unified Python SDK.. It’s an Open Source project and available under a very liberal BSD license. Installation If you haven’t already, start by downloading Raven. The easiest way is with pip: pip install raven --upgrade Configuring the Client Settings are specified as part of the initialization of the client. The client is a class that can be instanciated with a specific configuration and all reporting can then happen from the instance of that object. Typically an instance is created somewhere globally and then imported as necessary. For getting started all you need is your DSN: from raven import Client client = Client('___DSN___') Capture an Error The most basic use for raven is to record one specific error that occurs: from raven import Client client = Client('___DSN___') try: 1 / 0 except ZeroDivisionError: client.captureException() Adding Context Much of the usefulness of Sentry comes from additional context data with the events. The Python client makes this very convenient by providing methods to set thread local context data that is then submitted automatically with all events. For instance you can use user_context() to set the information about the current user: def handle_request(request): client.user_context({ 'email': request.user.email }) Deep Dive Raven Python is more than that however. To dive deeper into what it does, how it works and how it integrates into other systems there is more to discover: - Basic Usage - Advanced Usage - Logging Breadcrumbs - Integrations - Transports - Supported Platforms - API Reference Resources: - Documentation - Bug Tracker - Code - Mailing List - IRC (irc.freenode.net, #sentry)
https://docs.sentry.io/clients/python/
CC-MAIN-2019-04
refinedweb
288
52.7
Odoo Help Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps: CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc. How to make an Auto incremental field in Odoo with prefix letters? Odoo team, my question is about how to create a read-only field in Odoo, have a prefix or suffix, eg. fact00001, fact00002, fact00003 etc. or 00001A,00002A,00003A, etc I need that new field in the invoice module but I have no idea how to make it appear there. I know I create a new class in python, then inherit from the base class, you need to create the field, then create an .xml file with the structure of the view and modify the view from the xml, but I do not know how to do it ... thanks in advance ... Hi, You can have better understanding with an example: in your xml file, you can define the sequence with the prefix or suffix you need: <?xml version="1.0" encoding="utf-8"?> <openerp> <data noupdate="1"> <record id="seq_invoice_code" model="ir.sequence.type"> <field name="name">Invoice</field> <field name="code">account.invoice</field> </record> <record id="seq_invoice" model="ir.sequence"> <field name="name">Invoice</field> <field name="code">account.invoice</field> <field name="padding">5</field> <field name="prefix">fact</field> <field name="suffix">A</field> </record> </data> </openerp> in your .py file, you can define the readonly field and override the create() to get the sequence on that field: class account_invoice(models.Model): _inherit = "account.invoice" inv_code = fields.Char(string='Code', readonly=True) @api.v7 def create(self, cr, uid, vals, context=None): vals['inv_code'] = self.pool.get('ir.sequence').get(cr, uid,'account.invoice') return super(account_invoice, self).create(cr, uid, vals, context=context) You can then call this field in the form view wherever you want, by inheriting the corresponding form view. And you may also check all the sequences available in your current database and can also modify from here: Settings >> Technical >> Sequences & identifiers >> Sequences Hope this helps! You should consider using the sequence in invoice module. It has the prefix, suffix and auto increment feature. You need to create a sequence and sequence code. Invoice already has a sequence field there. You should take it has a example. Go through the following links to get the basics: About This Community Odoo Training Center Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now ok thanks you, I will try it and I will comment the result :)
https://www.odoo.com/forum/help-1/question/how-to-make-an-auto-incremental-field-in-odoo-with-prefix-letters-85794
CC-MAIN-2018-13
refinedweb
434
59.09
There. It would therefore be interesting to list the differences, objectively. So no "Python's lambdas sucks". Instead explain what Ruby's lambdas can do that Python's can't. No subjectivity. Example code is good! Don't have several differences in one answer, please. And vote up the ones you know are correct, and down those you know are incorrect (or are subjective). Also, differences in syntax is not interesting. We know Python does with indentation what Ruby does with brackets and ends, and that @ is called self in Python. UPDATE: This is now a community wiki, so we can add the big differences here. In Ruby you have a reference to the class (self) already in the class body. In Python you don't have a reference to the class until after the class construction is finished. An example: class Kaka puts self end self in this case is the class, and this code would print out "Kaka". There is no way to print out the class name or in other ways access the class from the class definition body in Python (outside method definitions). This lets you develop extensions to core classes. Here's an example of a rails extension: class String def starts_with?(other) head = self[0, other.length] head == other end end Python (imagine there were no ''.startswith method): def starts_with(s, prefix): return s[:len(prefix)] == prefix You could use it on any sequence (not just strings). In order to use it you should import it explicitly e.g., from some_module import starts_with. Ruby has first class regexps, $-variables, the awk/perl line by line input loop and other features that make it more suited to writing small shell scripts that munge text files or act as glue code for other programs. Thanks to the callcc statement. In Python you can create continuations by various techniques, but there is no support built in to the language. With the "do" statement you can create a multi-line anonymous function in Ruby, which will be passed in as an argument into the method in front of do, and called from there. In Python you would instead do this either by passing a method or with generators. Ruby: amethod { |here| many=lines+of+code goes(here) } Python (Ruby blocks correspond to different constructs in Python): with amethod() as here: # `amethod() is a context manager many=lines+of+code goes(here) Or for here in amethod(): # `amethod()` is an iterable many=lines+of+code goes(here) Or def function(here): many=lines+of+code goes(here) amethod(function) # `function` is a callback Interestingly, the convenience statement in Ruby for calling a block is called "yield", which in Python will create a generator. Ruby: def themethod yield 5 end themethod do |foo| puts foo end Python: def themethod(): yield 5 for foo in themethod(): print foo Although the principles are different, the result is strikingly similar. myList.map(&:description).reject(&:empty?).join("\n") Python: descriptions = (f.description() for f in mylist) "\n".join(filter(len, descriptions)) Python has support for generators in the language. In Ruby 1.8 you can use the generator module which uses continuations to create a generator from a block. Or, you could just use a block/proc/lambda! Moreover, in Ruby 1.9 Fibers are, and can be used as, generators, and the Enumerator class is a built-in generator 4 docs.python.org has this generator example: def reverse(data): for index in range(len(data)-1, -1, -1): yield data[index] Contrast this with the above block examples. In Ruby, when you import a file with require, all the things defined in that file will end up in your global namespace. This causes namespace pollution. The solution to that is Rubys modules. But if you create a namespace with a module, then you have to use that namespace to access the contained classes. In Python, the file is a module, and you can import its contained names with from themodule import *, thereby polluting the namespace if you want. But you can also import just selected names with from themodule import aname, another or you can simply import themodule and then access the names with themodule.aname. If you want more levels in your namespace you can have packages, which are directories with modules and an __init__.py file. Docstrings are strings that are attached to modules, functions and methods and can be introspected at runtime. This helps for creating such things as the help command and automatic documentation. def frobnicate(bar): """frobnicate takes a bar and frobnicates it >>> bar = Bar() >>> bar.is_frobnicated() False >>> frobnicate(bar) >>> bar.is_frobnicated() True """ Ruby's equivalent are similar to javadocs, and located above the method instead of within it. They can be retrieved at runtime from the files by using 1.9's Method#source_location example use Ruby does not ("on purpose" -- see Ruby's website, see here how it's done in Ruby). It does reuse the module concept as a type of abstract classes. Python: res = [x*x for x in range(1, 10)] Ruby: res = (0..9).map { |x| x * x } Python: >>> (x*x for x in range(10)) <generator object <genexpr> at 0xb7c1ccd4> >>> list(_) [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] Ruby: p = proc { |x| x * x } (0..9).map(&p) Python 2.7+: >>> {x:str(y*y) for x,y in {1:2, 3:4}.items()} {1: '4', 3: '16'} Ruby: >> Hash[{1=>2, 3=>4}.map{|x,y| [x,(y*y).to_s]}] => {1=>"4", 3=>"16"} Things similar to decorators can also be created in Ruby, and it can also be argued that they aren't as necessary as in Python. Ruby requires "end" or "}" to close all of its scopes, while Python uses white-space only. There have been recent attempts in Ruby to allow for whitespace only indentation You can have code in the class definition in both Ruby and Python. However, in Ruby you have a reference to the class (self). In Python you don't have a reference to the class, as the class isn't defined yet. An example: class Kaka puts self end self in this case is the class, and this code would print out "Kaka". There is no way to print out the class name or in other ways access the class from the class definition body in Python..
https://pythonpedia.com/en/knowledge-base/1113611/what-does-ruby-have-that-python-doesn-t--and-vice-versa-
CC-MAIN-2020-16
refinedweb
1,070
72.76
On Mon, 2012-02-13 at 23:57 +0400, Ivan Pechorin wrote: > 2012/2/13 stephenju <stephen@ju-ju.com> > > > Is there a way to access the text bytes without creating a temporary > > std::string? I am dealing with some large text messages and try not to > > allocate memory when making copies. For example, when I get the message: > > > > std::string reply = myMessage->getText(); > > > > getText() makes a copy of its data on return. And the assignment operator > > copies it again into my variable. If I can pass my std::string variable to > > the message and have it fill it out for me, or I can get the constant > > reference to the string data in the message, it will save considerable time > > and memory. > > > > There are also times that I don't need to make a copy of the text. Like > > when > > parsing the text as XML or JSON, the data is no longer needed after the > > parsed structure is created. > > > > > Technically, you can get text bytes without copying using something like > this: > > using namespace cms; > using namespace activemq::commands; > ... > const TextMessage* textMsg = ... > const ActiveMQTextMessage* msg = > dynamic_cast<ActiveMQTextMessage*>( textMsg ); > assert(msg != NULL); > > const std::vector<unsigned char>& data( msg->getContent() ); > assert(data.size() >= 4); > > unsigned int data_len = (data[0] << 24 | data[1] << 16 | data[2] << 8 | > data[3] << 0); > const char* data_ptr = (const char*) &(data[4]); > > It's not pretty, Be careful though because if the message payload is compressed you won't get a valid string, also the payload will be in modified UTF-8 format so it could be different then what you'd expect also. -- Tim Bish Sr Software Engineer | FuseSource Corp tim.bish@fusesource.com | skype: tabish121 | twitter: @tabish121
http://mail-archives.apache.org/mod_mbox/activemq-users/201202.mbox/%3C1329165115.13836.16.camel@OfficePC%3E
CC-MAIN-2014-52
refinedweb
282
63.09
The .NET Framework Class Library: Types and Structures Console class and applications System namespace Object class Type class and Reflection namespace Types Conversions with the System.Convert Class Reference types Arrays Collections Strings System.Text namespace Formatting In this chapter we will start our journey through the .NET Framework class library – a set of namespaces, classes, interfaces, and value types that are used in our .NET applications, components, and controls. Contrary to class libraries such as Microsoft Foundation Classes (MFC) or Borland Visual Class Library (VCL), the .NET Framework class library is language-independent. This means it can be used from any programming language, such as Visual Basic.NET, C#.NET, C++ with managed extensions, J#.NET, or any third-party language that conforms to the Common Language Specification (CLS). The .NET Framework class library includes classes that support the following functions: base and user-defined data types; support for handling exceptions; input/output and stream operations; communications with the underlying system; access to data; ability to create Windows–based GUI applications; ability to create web–client and server applications; support for creating web services. All classes implemented in the .NET class library are organized into namespaces. Each namespace contains classes and other types that are related to the specific task or set of tasks – input/output operations, web applications creation, working with data and XML, and so on. Table 3.1 shows the most important namespaces in the .NET class library. Table 3.1. The main namespaces in the .NET class library After this brief overview of most of the chapters in the book, we are ready to start our journey through the .NET Framework class library. Main namespaces are shown in Figure 3.1. Our first stop is a little bit unusual – instead of covering the Object class – that is, the ultimate ancestor for all of the classes in the .NET Framework class library – we will discuss the Console class. The following section will explain why we do this. Figure 3.1. Main namespaces in the .NET framework class library 3.1 Console class and applications Using the System.Console class, we can implement the simplest .NET application – a console application that runs in a system-supplied window and does not require a graphical user interface. Since in this and several other chapters of this book we will use the console applications heavily, we will start this chapter with an overview of the Console class. The Console class represents the standard input, output, and error streams. Applications built on this class can read characters from the standard input stream and write characters to the standard output stream. Errors are written to the standard error output stream. These three streams are automatically associated with the console on which the application starts and we can obtain them via the In, Out, and Error properties of the Console class. By default, the standard input stream is a System.IO. TextReader object, the output and output error streams are System.IO.TextWriter objects. If we need it, we can associate input and output streams with different streams – file streams, network streams, memory streams, and so on. In Visual Basic.NET, we create a console application by creating a new module that contains one subroutine called Main – this is the entry point into our console application (see Figure 3.2): Figure 3.2. Console application in action '--------------------------------------- ' .NET Console Application '--------------------------------------- Imports System Module Cons Sub Main() Console.WriteLine(".NET Console application") Console.ReadLine() End Sub End Module The Read and ReadLine methods allow us to read a character or new line character from the standard input, while Write and WriteLine perform the output. The SetIn, SetOut, and SetError methods allows us to specify different input, output, and error output streams. These methods take a parameter of TextWriter type that specifies the output stream. Now we are ready to start to learn about the Microsoft .NET class library. We will start with an overview of the System namespace.
http://www.informit.com/articles/article.aspx?p=102312&amp;seqNum=5
CC-MAIN-2016-50
refinedweb
664
57.98
We are about to switch to a new forum software. Until then we have removed the registration on this forum. I want to develop a Java project using Eclipse that utilizes some Processing graphics elements and in particular video capture. The two Processing tutorials related to using video and using the Eclipse IDE are quite helpful but.. the problem appears to be how to import the video library into Eclipse. I've added the video library to my Processing 3.3 app and the simple example works correctly (and so do a number of other more complex codes using the Capture object and the Processing IDE). I've also successfully used Eclipse to write a number of codes that use the Processing .core jars (extend PApplet) and appear to have the Processing core correctly imported and the build paths set. I imported the .jar files from the added "video" libraries folder of the Processing,app as well as the ldylib files (based upon a recommendation in the Forum: Eclipse appears to recognize the presence of "processing.video.*" - see Eclipse "output" below but it doesn't recognize the presence of the Capture class in the library?? Suggestions from anyone who has used video capture (i.e. camera image capture on a Mac) would be appreciated. `import processing.core.PApplet; import processing.video.*; Capture video; public class VideoTest1 extends PApplet { public static void main(String[] args) { PApplet.main("VideoTest1"); } public void settings(){ size(500,500); } public void setup(){ video = new Capture(this,320,240); video.start(); } public void draw(){ image(video, 0, 0); } } ` The error is associated with the Capture object. Answers So far in the 10 days this question has been posted, there have been 23 reads but not a single comment/suggestion. Is that because the question is unclear or that no one has ever tried this or ...? Any ideas/comments might help! Ok, so I gave it a try.... You can find these instructions also in GitHub as the forum might shink the images: As a reference: I have Win10 64bit, P3.3.4 64bit and Eclipse Mars 2.0 This is what I did. Open the example video>>Capture>>BrightnessTracking Run the sketch. It works for me. I get some warnings related to the GStreamer-CRITICAL... Notice you will get those warnings on the other side. Now I did this: I exported the library and I didn't check the 64 bit part[STEP1.png]. This step will produce two folders. Check Export_BrightnessTracking_folderTree.txt This will create two folders,one for the 32 and another for the 64 bit version. In my machine, I tried running the 32 version and it didn't execute as I didn't get any video. On the other hand, the executable in the 64 but folder worked [!!!]. So I will be using these files in the rest of the steps. Now open eclipse and create a new Java Project which I named briBriBri (For a better name) [STEP2]: In this new project, add a new class called BrightnessTracking [STEP3].No need to add main as it will be replaced in the next step. Now, go back to the 64 bit export folder and search for the BrightnessTracking.java file. Open it with a text editor (or Processing) and copy the entire content and paste it in this new generated class. Make sure you preserve the first line of the class, the o one that makes reference to the name of your project's package. In my case: package briBriBri; [STEP4] shows all those red lines... let's fix that. [STEP5 and STEP6] Right click on your project and click on import, then on the dialog box click File System: In [STEP7] search for the location of the exported files that you get from step1. I decided to use library>>video>capture>BrigghtnessTracking>>application.windows64>>lib for reasons I commented above. Notice there is also a folder called plugins inside the lib folder. Then you are back on the previous dialog box Title Import and Importing: File System. It will populated with jar and dll files on the right box. [STEP8] Click select all: Now, select all the jar files. Notice there is the video.jar file at the end of the list (It is not shown in the screen shot). Right click on the selection then select Build Path>> Add To Build Path [STEP9] Step10 shows when I try running the code. Choose Java Applet and hit run. Notice I got a warning shown in STEP11.png: ""Selection does not contain an Applet". Dismiss it: Now you will get a bunch of warnings and the sketch should run. If it does not work, then go to Build >> Clean in the Eclipse's menu and try running again. I attached an extra file showing the structure of the files and folders in the briBriBri project after i get everything running. The name of the file is Export_BrightnessTracking_folderTree.txt I hope it works. Kf Ok... so i tried these other instructions and it also worked taking less steps: Notice that when adding the jar files, I only added the jar file and I did not include the DLL files or the plugins folder which contains more DLL files. It didn't at first, so i had to do a Project>>Clean and then run it and voila. Kf
https://forum.processing.org/two/discussion/23015/how-to-use-video-capture-when-developing-in-eclipse
CC-MAIN-2019-35
refinedweb
894
74.59
[ ] Laura Stewart commented on DERBY-2527: -------------------------------------- Suresh - I updated the topics based on your comments and answers to my questions. I will post a patch and updated PDFs soon. My responses to your comments/questions are below: Derby Reference Manual: 1) Usage - There are several sections typically used in SQL References, for example: Invocation, Authorization, Syntax, Notes (numbered notes on the syntax), Description (where the parameters are described), Usage, Examples. Not all of these are used but can be. I do think that we need to have something, so I left Usage in because it does point off to the Tools Guide where we do talk about usage. However, I did move the paragraph you were concerned about outside of the Usage section. 2) We still need an example for SYSCS_UTIL.SYSCS_EXPORT_QUERY_LOBS_TO_EXTFILE 3) lobsFileName parameter description needs a small change - DONE Derby Tools Guide : ------------------ 1) a /(slash) is missing the reference format. - DONE 2) a) It may be better to say, something like: "export data from columns of types " - DONE b) I think, it might be to say: "To import data into a table, that has columns of these data types, the data in the import file for those column must be in the hexadecimal format" - DONE 3) ... you may want to remove the phrase " No result is returned from this procedure" - DONE 4) I think we should mention user can use "SYSCS_UTIL.SYSCS_IMPORT_DATA_LOBS_FROM_EXTFILE" - DONE 5) Same as page 49/50, you may want to remove the phrase " No result is returned from this procedure" - DONE 6) update the description of the lobsFileName parameter. - DONE 7) a) Some of the examples have table name lower case as 'staff table name in all of the should be in upper case as 'STAFF' - DONE b) Please add the following two new examples using SYSCS_UTIL.SYSCS_IMPORT_DATA and SYSCS_UTIL.SYSCS_IMPORT_DATA_LOBS_FROM_EXTFILE - DONE . *** (LS) I left the examples in both Ref Guide and Tools Guide for now... >. *** (LS) Okay. No Change. >?. *** (LS) Changed to uppercase. . *** (LS) DONE >.. *** (LS) The parameters for each system procedure MUST be listed with the syntax in the Ref Guide, so I can't combine them like we do in the Tools Guide. I have left the duplication there for now, but in the future I will be asking derby-dev about improving the docs and avoiding duplication. Generally all reference info, examples, parameters etc should be in the Ref Guide and the Tools guide should show usage with pointers to the ref info, not duplicate what is in the Ref Guide. But I'll ask the community and see what they say... probably post 10.3 :-) >. *** (LS) DONE >. Same issues as "Parameters for the import procedures". *** (LS) Same response, left duplication there for now. > In the topic "Examples of bulk import and export" please provide examples for > SYSCS_UTIL.SYSCS_IMPORT_DATA_LOBS_FROM_EXTFILE and SYSCS_UTIL.SYSCS_IMPORT_DATA Added in my review my comments. *** (LS) I'm still missing an example for SYSCS_UTIL.SYSCS_EXPORT_QUERY_LOBS_TO_EXTFILE >. *** (LS) DONE >. *** (LS) Thanks! >.
http://mail-archives.apache.org/mod_mbox/db-derby-dev/200705.mbox/%3C27811239.1178574495625.JavaMail.jira@brutus%3E
CC-MAIN-2015-48
refinedweb
491
61.36
Hello everyone ! This is my very first 3D project and I have just started it. Also this is the first time I use "modern OpenGL" and shaders. In my project I use some help classes and concepts from At the moment I am trying to set up the scene so there is nothing related to game mechanics yet. My intention is to keep it simple, not going to load models, just geometric shapes (and maybe textures). Unfortunately I am stuck . Maybe the most annoying thing that could happen - everything seems to work just fine, but the object won't draw on the screen . I am using Visual Studio 2012 on Windows 8 32bit. Because the source files are many, I will give link to my github repo : GPUProgram class handles shader operations. Util is namespace that has different utilities, at the moment only function for loading files. The other classes should be clear. Ask me if you don't understand anything. I hope you can help me with that. Also I will be happy if you can give me any ideas or suggestions about how to continue the game.
http://www.gamedev.net/topic/639803-tower-defense-game-3d/?forceDownload=1&_k=880ea6a14ea49e853634fbdc5015a024
CC-MAIN-2014-41
refinedweb
189
82.24
Node.namespaceURI Obsolete This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it. The Node.namespaceURI read-only property returns the namespace URI of the node, or null if the node is not in a namespace. When the node is a document, it returns the XML namespace for the current document. Syntax namespace = node.namespaceURI Example In this snippet, a node is being examined for its Node.localName and its namespaceURI. If the namespaceURI returns the XUL namespace and the localName returns "browser", then the node is understood to be a XUL <browser/>. if (node.localName == "browser" && node.namespaceURI == "") { // this is a XUL browser } Notes This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. The namespace URI of a node is frozen at the node creation time. In Firefox 3.5 and earlier, the namespace URI for HTML elements in HTML documents is null. In later versions, in compliance with HTML5, it is as in XHTML. For nodes of any Node.nodeType other than ELEMENT_NODE and ATTRIBUTE_NODE the value of namespaceURI is always null. You can create an element with the specified namespaceURI using the DOM Level 2 method Document.createElementNS and attributes with moved to the Element and Attr APIs according to the DOM4 standard. [2] Prior to Gecko 5.0 (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2), this property was read-write; starting with Gecko 5.0 it is read-only, following the specification. See also License © 2016 Mozilla Contributors Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://reference.codeproject.com/book/dom/Node/namespaceURI
CC-MAIN-2021-10
refinedweb
290
61.33
Example 3-1 is a relatively short program that deletes a file or directory specified on the command line. Before it does the actual deletion, it performs several checks to ensure that the specified file exists, that it is writable, and, if it is a directory, that it is empty. If any of the tests fail, the program throws an exception explaining why the file cannot be deleted. These tests demonstrate some of the important features of the File class, and are necessary because the File.delete( ) method does not have useful failure diagnostics: instead of throwing an informative IOException on failure, it simply returns false. Thus, if we want to know why a file could not be deleted, we must test its deleteability before calling File.delete( ). Other useful File methods (worth looking up) include getParent( ), length( ), mkdir( ), and renameTo( ). package je3.io; import java.io.*; /** * This class is a static method delete( ) and a standalone program that * deletes a specified file or directory. **/ public class Delete { /** * This is the main( ) method of the standalone program. After checking * it arguments, it invokes the Delete.delete( ) method to do the deletion **/ public static void main(String[ ] args) { if (args.length != 1) { // Check command-line arguments System.err.println("Usage: java Delete <file or directory>"); System.exit(0); } // Call delete( ) and display any error messages it throws. try { delete(args[0]); } catch (IllegalArgumentException e) { System.err.println(e.getMessage( )); } } /** * The static method that does the deletion. Invoked by main( ), and * designed for use by other programs as well. It first makes sure that * the specified file or directory is deleteable before attempting to * delete it. If there is a problem, it throws an * IllegalArgumentException. **/ public static void delete(String filename) { // Create a File object to represent the filename File f = new File(filename); // Make sure the file or directory exists and isn't write protected if (!f.exists( )) fail("Delete: no such file or directory: " +filename); if (!f.canWrite( )) fail("Delete: write protected: " + filename); // If it is a directory, make sure it is empty if (f.isDirectory( )) { String[ ] files = f.list( ); if (files.length > 0) fail("Delete: directory not empty: " + filename); } // If we passed all the tests, then attempt to delete it boolean success = f.delete( ); // And throw an exception if it didn't work for some (unknown) reason. // For example, because of a bug with Java 1.1.1 on Linux, // directory deletion always fails if (!success) fail("Delete: deletion failed"); } /** A convenience method to throw an exception */ protected static void fail(String msg) throws IllegalArgumentException { throw new IllegalArgumentException(msg); } }
http://books.gigatux.nl/mirror/javaexamples/0596006209_jenut3-chp-3-sect-2.html
CC-MAIN-2019-13
refinedweb
430
58.18
Pythonista app saving to iOS 11 Files? Hi! Pardon me if this has been asked, I could not find it in the search. I have made a drawing app that is working quite well. One thing I have not solved is the loading and saving of images, and instead of loading and saving from Camera Roll, I thought it would be better to save them to iCloud or Dropbox. Can Pythonista open a file requester to let the user save to the new Files system in iOS 11? @superrune , this is not your full answer. But the below is something I did some time ago. I think for the write, gives you an idea. Not sure you are on the beta program or not. But if you are on the beta program the file would be saved to Icloud as the path will exist. Otherwise it will create the image in the script dir. This example renders a simple image to a ui.View, console and writes the image to a file. Does not do the read. But this is a basic framework. import ui import os.path icloud_path='/private/var/mobile/Library/Mobile Documents/iCloud~com~omz-software~Pythonista3/Documents/' class DrawSomething(ui.View): rect = (0, 0, 200, 200) def draw(self): self.my_draw() def my_draw(self): with ui.GState(): ui.set_color('deeppink') shape = ui.Path.rect(*self.rect) shape.fill() def image_get(self): with ui.ImageContext(self.rect[2], self.rect[3]) as ctx: self.my_draw() img = ctx.get_image() return img def image_save(self, path): img = self.image_get() with open(path, 'wb') as file: file.write(img.to_png()) if __name__ == '__main__': img_fn = 'junk.png' if os.path.exists(icloud_path): img_fn = os.path.join(icloud_path, img_fn) ds = DrawSomething() ds.present('sheet') ds.image_save(img_fn) ds.image_get().show() print(img_fn) It's very strange but I have the Pythonista version from the App Store (not the beta);and I've remarked today that I can, in Pythonista, do: Edit (in the left browser) Select any file, even a .py Save in Files And my Pythonista file is really saved where I want, for instance in "On my iPad" or in "iCloud Drive" I don't see that before... The easiest way to export a file programmatically would be to use console.open_in(some_file). You'll get a menu that includes a “Save to Files” option (on iOS 11 at least). This doesn’t require the beta, and should even work in Pythonista 2.x. @omz What could be marvelous is to be able to limit the apps list of the "open in" at only one ap, like Workflow already did in the past. Thanks for all the answers! I will try out the different ones and see which one works best. Cheers! Using console.open_in(filename) worked great. Took some attempts before I realized I had to write the file locally/inside Pythonista first :) Is there an equally simple way to programmatically load a file from a selection of sources, like Dropbox, iCloud etc?
https://forum.omz-software.com/topic/4475/pythonista-app-saving-to-ios-11-files
CC-MAIN-2021-17
refinedweb
504
77.03
Ianier Munoz Chronotron February 2, 2004 Summary: Guest columnist Ianier Munoz builds a drum machine using the managed Microsoft DirectX libraries and C# to synthesize an audio stream on the fly. Download the source code for this article. (An introduction from Duncan Mackenzie.) Ianier has a cool job; he writes code for DJs, allowing them to do professional digital signal processing (DSP) work using consumer software like Microsoft® Windows Media® Player. Very neat work, and lucky for us, he is digging into the world of managed code and managed Microsoft® DirectX®. In this article, Ianier has built a demo (see Figure 1) that will have you pounding your very own bass beats out of your little computer speakers in minutes. It's a managed drum machine that lets you configure and play multiple channels of sampled music. The code should work without any real configuration, but you have to make sure to download and install (and then restart) the DirectX SDK (available from here) before you open and run the winrythm sample project. Figure 1. The main form of the drum machine (Oh yeah, oh yeah... boom, boom, boom...) Prior to the release of the DirectX 9 SDK, the Microsoft® .NET Framework was desperately soundless. The only way you could work around this limitation was by accessing the Microsoft® Windows® API through COM Interop or P-Invoke. Managed Microsoft® DirectSound®, which is a component of DirectX 9, allows you to play sounds in .NET without resorting to COM Interop or P-Invoke. In this article I will explain how to implement a simple drum machine (see Figure 1) by synthesizing audio samples on the fly, using DirectSound to play the resulting stream. This article assumes that you're familiar with C# and the .NET Framework. Some basic knowledge of audio processing would also help you better understand the ideas described here. The code accompanying this article was compiled with Microsoft® Visual Studio® .NET 2003. It requires the DirectX 9 SDK, which you can download from here. DirectSound is a component of DirectX that gives applications access to audio resources in a hardware-independent way. In DirectSound, the unit of audio playback is the sound buffer. A sound buffer belongs to an audio device, which represents a sound card in the host system. When an application wants to play a sound using DirectSound, it creates an audio device object, creates a buffer on the device, fills the buffer with sound data and then plays the buffer. For a detailed explanation of the relationship between the different DirectSound objects, check the DirectX SDK documentation. Sound buffers can be classified as static buffers or as streaming buffers depending on their intended usage. Static buffers are initialized once with some predefined audio data and then played as many times as necessary. This kind of buffer is typically used in games for shots and for other short effects. Streaming buffers, on the other hand, are typically used for playing content that is too big to fit in memory, or those sounds whose length or content cannot be determined in advance, such as the speaker's voice in a telephony application. Streaming buffers are implemented using a small buffer that is constantly refreshed with new data as the buffer is playing. While managed DirectSound provides good documentation and examples for static buffers, it currently lacks an example on streaming buffers. It should be mentioned, though, that Managed DirectX does include a class for playing audio streams, namely the Audio class in the AudioVideoPlayback namespace. This class allows you to play most kinds of audio files, including WAV and MP3. However, the Audio class doesn't allow you to select the output device programmatically, and it doesn't give you access to the audio samples, in case you want to modify them. I defined a streaming audio player as a component that pulls audio data from some source and plays it back through some device. A typical streaming audio player component would play the incoming stream through the sound card, but it could also send the audio stream over the network or save it to a file. The IAudioPlayer interface contains everything that our application should know about the player. This interface will also allow you to isolate your sound synthesis engine from the actual player implementation, which may be useful if you want to port this example to another .NET platform that uses a different playback technology. /// <summary> /// Delegate used to fill in a buffer /// </summary> public delegate void PullAudioCallback(IntPtr data, int count); /// <summary> /// Audio player interface /// </summary> public interface IAudioPlayer : IDisposable { int SamplingRate { get; } int BitsPerSample { get; } int Channels { get; } int GetBufferedSize(); void Play(PullAudioCallback onAudioData); void Stop(); } The SamplingRate, BitsPerSample, and Channels properties describe the audio format that the player understands. The Play method starts playback of the stream supplied by a PullAudioCallback delegate, and the Stop method, not surprisingly, stops audio playback. Note that PullAudioCallback expects count bytes of audio data to be copied to the data buffer, which is an IntPtr. You may think that I should have used a byte array rather than an IntPtr, because dealing with data in the IntPtr forces the application to call functions that require permission for unmanaged code execution. However, managed DirectSound requires such permission anyway, so using an IntPtr has no major implications and may avoid extra data copying when dealing with different sample formats and with other playback technologies. GetBufferedSize returns how many bytes have already been queued into the player since the last call to the PullAudioCallback delegate. We will use this method to calculate the current playback position with respect to the input stream. As I mentioned before, a streaming buffer in DirectSound is nothing but a small buffer that is constantly refreshed with new data as the buffer is playing. The StreamingPlayer class uses a streaming buffer to implement the IAudioPlayer interface. Let's have a look at the StreamingPlayer constructor: public StreamingPlayer(Control owner, Device device, WaveFormat format) { m_Device = device; if (m_Device == null) { m_Device = new Device(); m_Device.SetCooperativeLevel( owner, CooperativeLevel.Normal); m_OwnsDevice = true; } BufferDescription desc = new BufferDescription(format); desc.BufferBytes = format.AverageBytesPerSecond; desc.ControlVolume = true; desc.GlobalFocus = true; m_Buffer = new SecondaryBuffer(desc, m_Device); m_BufferBytes = m_Buffer.Caps.BufferBytes; m_Timer = new System.Timers.Timer( BytesToMs(m_BufferBytes) / 6); m_Timer.Enabled = false; m_Timer.Elapsed += new System.Timers.ElapsedEventHandler(Timer_Elapsed); } The StreamingPlayer constructor first ensures that we have a valid DirectSound audio device to work with, and it creates a new device if none is specified. For creating a Device object, we must specify a Microsoft® Windows Forms control that DirectSound will use to track the application focus; hence the owner parameter. A DirectSound SecondaryBuffer instance is then created and initialized, and a timer is allocated. I will come back shortly to the role of this timer. The implementation of IAudioPlayer.Start and IAudioPlayer.Stop are quite trivial. The Play method ensures that there's some audio data to play; then it enables the timer and starts playing the buffer. Symmetrically, the Stop method disables the timer and stops the buffer. public void Play( Chronotron.AudioPlayer.PullAudioCallback pullAudio) { Stop(); m_PullStream = new PullStream(pullAudio); m_Buffer.SetCurrentPosition(0); m_NextWrite = 0; Feed(m_BufferBytes); m_Timer.Enabled = true; m_Buffer.Play(0, BufferPlayFlags.Looping); } public void Stop() { if (m_Timer != null) m_Timer.Enabled = false; if (m_Buffer != null) m_Buffer.Stop(); } The idea is to keep the buffer continuously fed with sound data coming from the delegate. To achieve this goal, the timer periodically checks how much audio data has already been played, and adds more data to the buffer as necessary. private void Timer_Elapsed( object sender, System.Timers.ElapsedEventArgs e) { Feed(GetPlayedSize()); } The GetPlayedSize function uses the buffer's PlayPosition property to calculate how many bytes the playback cursor has advanced. Note that because the buffer plays in a loop, GetPlayedSize has to detect when the playback cursor wraps around, and adjust the result accordingly. private int GetPlayedSize() { int pos = m_Buffer.PlayPosition; return pos < m_NextWrite ? pos + m_BufferBytes - m_NextWrite : pos - m_NextWrite; } The routine that fills in the buffer is called Feed and it's shown in the code below. This routine calls SecondaryBuffer.Write, which pulls the audio data from a stream and writes it to the buffer. In our case, the stream is merely a wrapper around the PullAudioCallback delegate that we received in the Play method. private void Feed(int bytes) { // limit latency to some milliseconds int tocopy = Math.Min(bytes, MsToBytes(MaxLatencyMs)); if (tocopy > 0) { // restore buffer if (m_Buffer.Status.BufferLost) m_Buffer.Restore(); // copy data to the buffer m_Buffer.Write(m_NextWrite, m_PullStream, tocopy, LockFlag.None); m_NextWrite += tocopy; if (m_NextWrite >= m_BufferBytes) m_NextWrite -= m_BufferBytes; } } Note that we force the amount of data to add to the buffer to be under a certain limit in order to reduce playback latency. Latency can be defined as the difference between the time when a change in the incoming audio stream occurs and the time when the change is actually heard. Without such latency control, the average latency would be approximately equal to the total buffer length, which might not be acceptable for a real-time synthesizer. A drum machine is an example of a real-time synthesizer: a set of sample waveforms representing each of the possible drum sounds (also called "patches" in musical jargon) is mixed into the output stream following some rhythmic patterns to simulate a drummer's play. This is as simple as it sounds, so let's dig into the code! The main elements of the drum machine are implemented in the Patch, Track, and Mixer classes (see Figure 2). All these are implemented in Rhythm.cs. Figure 2. Class Diagram of Rhythm.cs The Patch class holds the waveform for a particular instrument. A Patch is initialized with a Stream object that contains audio data in WAV format. I won't explain here the details of reading WAV files, but you can have a look at the WaveStream helper class to get the whole picture. For simplicity, the Patch converts the audio data to mono by adding both the left and right channels (if the supplied file is stereo) and stores the result in an array of 32-bit integers. The actual data range is -32768 +32767 so that we can mix multiple audio streams without having to take care of overflow. The PatchReader class allows you to read audio data from the Patch and mix it to a destination buffer. Separating the reader from the actual Patch data is necessary because a single Patch can be heard several times playing at different positions. This happens specifically when the same sound occurs more than once in a very short time. The Track class represents a sequence of events to play using a single instrument. A track is initialized with a Patch, a number of time slots (that is, possible beat positions), and optionally an initial pattern. The pattern is just an array of Boolean values, equal in length to the number of time slots in the track. If you set an element of the array to true, then the selected Patch should be played at that beat position. The Track.GetBeat method returns a PatchReader instance for a particular beat position, or null if nothing should play in the current beat. The Mixer class generates the actual audio stream given a set of tracks, so it implements a method that matches the PullAudioCallback signature. The mixer also keeps track of the current beat position and the list of PatchReader instances that are currently playing. The hardest work is done inside the DoMix method, which you can see in the code below. The mixer calculates how many samples correspond to the beat duration and advances the current beat position as the output stream is synthesized. To generate a block of samples, the mixer just adds up the patches that are playing at the current beat. private void DoMix(int samples) { // grow mix buffer as necessary if (m_MixBuffer == null || m_MixBuffer.Length < samples) m_MixBuffer = new int[samples]; // clear mix buffer Array.Clear(m_MixBuffer, 0, m_MixBuffer.Length); int pos = 0; while(pos < samples) { // load current patches if (m_TickLeft == 0) { DoTick(); lock(m_BPMLock) m_TickLeft = m_TickPeriod; } int tomix = Math.Min(samples - pos, m_TickLeft); // mix current streams for (int i = m_Readers.Count - 1; i >= 0; i--) { PatchReader r = (PatchReader)m_Readers[i]; if (!r.Mix(m_MixBuffer, pos, tomix)) m_Readers.RemoveAt(i); } m_TickLeft -= tomix; pos += tomix; } } To calculate how many audio samples correspond to a time slot for a given tempo, the mixer uses the formula, (SamplingRate * 60 / BPM) / Resolution, where SamplingRate is the sampling frequency of the player expressed in Hertz; Resolution is the number of slots per beat; BPM is the tempo expressed in beats per minute. The BPM property applies this formula to initialize the m_TickPeriod member variable. Now that we have all the elements we need to implement the drum machine, the only thing left to make things work is connecting them together. Here is the sequence of operations: As you can see in the code below, the RythmMachineApp class does exactly this. public RythmMachineApp(Control control, IAudioPlayer player) { int measuresPerBeat = 2; Type resType = control.GetType(); Mixer = new Chronotron.Rythm.Mixer( player, measuresPerBeat); Mixer.Add(new Track("Bass drum", new Patch(resType, "media.bass.wav"), TrackLength)); Mixer.Add(new Track("Snare drum", new Patch(resType, "media.snare.wav"), TrackLength)); Mixer.Add(new Track("Closed hat", new Patch(resType, "media.closed.wav"), TrackLength)); Mixer.Add(new Track("Open hat", new Patch(resType, "media.open.wav"), TrackLength)); Mixer.Add(new Track("Toc", new Patch(resType, "media.rim.wav"), TrackLength)); // Init with any preset Mixer["Bass drum"].Init(new byte[] { 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0 } ); Mixer["Snare drum"].Init(new byte[] { 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0 } ); Mixer["Closed hat"].Init(new byte[] { 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0 } ); Mixer["Open hat"].Init(new byte[] { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1 } ); BuildUI(control); m_Timer = new Timer(); m_Timer.Interval = 250; m_Timer.Tick += new EventHandler(m_Timer_Tick); m_Timer.Enabled = true; } That's all there is to it. The rest of the code implements a simple user interface for the drum machine to let the user create rhythmic patterns on the computer screen. This article shows you how to create streaming buffers using the managed DirectSound API and how to generate an audio stream on the fly. I hope you have some fun playing with the sample code provided. You might also consider making a number of improvements, such as support for loading and saving patterns, a user interface control for changing the tempo, stereo playback, and so on. I'll leave these for you, as it wouldn't be fair for me to have all the fun... Finally, I would like to thank Duncan for allowing me to post this article in his Coding4Fun column. I hope you will enjoy playing with this code as much as I enjoyed writing it. In a future article, I'll explore how to port the drum machine to the Compact Framework to make it run on the Pocket PC. At the end of these Coding4Fun columns, Duncan usually has a little coding challenge—something for you to work on if you are interested. After reading this article, I would like to challenge you to follow my example and create some code that works with DirectX. Just post whatever you produce to GotDotNet and send Duncan an e-mail message (at duncanma@microsoft.com) with an explanation of what you have done and why you feel it is interesting. You can send Duncan your ideas whenever you like, but please just send links to code samples, not the samples themselves. Have your own ideas for hobbyist content? Other people you would like to see as guest columnists? Let Duncan know at duncanma@microsoft.com. The core of this article was built using the DirectX 9 SDK, which is available from here, but you should also check out the DirectX section of the MSDN Library at. An episode of the .NET show () was focused on managed DirectX as well, if you are looking for a multi-media introduction to this topic. Coding4Fun Ianier Munoz lives in Metz, France, and works as a senior consultant and analyst for an international consulting firm in Luxembourg. He has authored some popular multimedia software, such as Chronotron, Adapt-X, and American DJ's Pro-Mix. You can reach him at.
http://msdn.microsoft.com/en-us/library/ms973091.aspx
crawl-002
refinedweb
2,762
55.54
Hello, Here is a workarround for Java 1.3.1 from HP/Compaq/DEC that helps it working (you need to have latest glibc otherwise java crashes with segfault): - compile the attached file: # gcc -O2 -shared -o libcwait.so -fpic -c libcwait.c - copy libcwait.so to a proper place (/usr/local/lib for instance) - put the following in the beginning of your /usr/java/jdk1.3.1/bin/java (or /usr/java/jre1.3.1/bin/java) or elsewhere depending on your needs: LD_ASSUME_KERNEL=2.4.19 LD_PRELOAD=/usr/local/lib/libcwait.so export LD_ASSUME_KERNEL LD_PRELOAD So now we have Java available on FC2 for Alpha ! Java 1.3.1 from HP is already quite old and quite slow but is the best (and only) currently available on Linux/Alpha at the moment (I'd like so very much if somebody tells me I am wrong and if there is some work going on with newer Java releases for Linux/Alpha) Regards #include <errno.h> #include <sys/syscall.h> #include <sys/types.h> #include <sys/wait.h> __pid_t __libc_wait (__WAIT_STATUS_DEFN stat_loc) { return __waitpid (WAIT_ANY, (int *) stat_loc,.
https://www.redhat.com/archives/axp-list/2004-August/msg00019.html
CC-MAIN-2014-15
refinedweb
187
60.11
I’m working with sqlite. I successfully created database and table. I also wrote code which can insert new values in my table. My code is working perfect, but now I want to show for example: toast message if inserted new value, else show error message in toast or something else. This is a my insert […] I have a database name “CUED” (sqlite Android)it have a table HELLO which contain a column NAME I can get the value to String from that column. Let me show you my code section myDB =hello.this.openOrCreateDatabase(“CUED”, MODE_PRIVATE, null); Cursor crs = myDB.rawQuery(“SELECT * FROM HELLO”, null); while(crs.moveToNext()) { String uname = crs.getString(crs.getColumnIndex(“NAME”)); System.out.println(uname); } It […] I want my SQLite database instance to be wiped away when the program starts. What I tried was make a method on my class MyDBAdapter.java like this: public class MyDbAdapter { private static final String TAG = “NotesDbAdapter”; private DatabaseHelper mDbHelper; private SQLiteDatabase mDb; private static final String DATABASE_NAME = “gpslocdb”; private static final String […] I have a table in my android sqlite database.There is a field ‘id’ which is auto increment primary key.My application service inserting a row in every minutes in the table.At some point in time i am deleting the entry older than 5 days.So total entry is limited.But id is increasing.So i am confuse about the […] My application has a SQLite database in the asset folder. When the user launches my application, the database is created and the tables too. This works fine with a lot of devices (Nexus One, Htc Magic, SGS, X10… and even Htc Desire HD v2.2). My application works with all versions of Android (tested on my […] I use a SQLite database in an Android application and sometimes get an SQLiteMisuseException when calling database.rawQuery(String sql, String[] selectionArgs). This is pretty odd because this Exception appears ramdomly and I realy don’t know why. There is more informations about the Exception: android.database.sqlite.SQLiteMisuseException: library routine called out of sequence: , while compiling: SELECT PromoGuid, PromoViewCount […] In android how can I read database which is in DDMS? I want to see the data of my database which is stored in DDMS can I do this? I am using a while loop to iterate through a cursor and then outputing the longitude and latitude values of every point within the database. For some reason it is not returning the last (or first depending on if I use Cursor.MoveToLast) set of longitude and latitude values in the cursor. Here is my code: […] I’ve the following code, it gives a run time error as below. Why? try{ String myPath = DB_PATH + DB_NAME; mDB = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READONLY); }catch(SQLiteException e){} Runtime Error: :sqlite returned: error code = 1, msg = no such table: android_metadata :SELECT locale FROM android_metadata failed :Failed to setLocale() when constructing, closing the database :android.database.sqlite.SQLiteException: […] I am developing an Android application that would have an offline data in start and online syncing. That means: user clicks on an item and application reads data for that item from offline (SQLite database or file) and displays that Activity with data (text, picture, movie etc.). At the same time (if online) application goes […]
http://babe.ilandroid.com/android/sqlite/page/3
CC-MAIN-2018-26
refinedweb
549
57.06
Overview Atlassian SourceTree is a free Git and Mercurial client for Windows. Atlassian SourceTree is a free Git and Mercurial client for Mac. Overview JsTester is a library to run javascript tests from within .NET by using phantom.js instead of a UI browser. Blog Posts Support Currently, jasmine.js is the only javascript test framework supported. Tests can be run using any .NET framework and/or runner, but full integration support is only available for xUnit . Requirements Phantomjs.exe needs to be available in the path. Usage 1. Prepare the jasmine spec file Edit the jasmine runner.html file and add a conditional to only execute the tests on load if running on a UI browser. For example: <html> <head> <title>Jasmine Test Runner</title> <!-- Additional resources --> </head> <body> <script type="text/javascript"> jasmine.getEnv().addReporter(new jasmine.TrivialReporter()); if (navigator.userAgent.indexOf('PhantomJS') == -1) { jasmine.getEnv().execute(); } </script> </body> </html> 2. Invoke the test from .NET If you are using xUnit you can use the RunWithPhantomjs and JasmineSpec attributes to point to the jasmine spec file. By default, the name of the spec file is inferred from the method name, but it can also be supplied to the JasmineSpec attribute. using JsTester.Xunit; namespace Tests.Integration { [RunWithPhantomjs] public class MyJasmineTests { [JasmineSpec] public void TestRunner() { } } } Now you can execute this test as part of the regular xUnit run.
https://bitbucket.org/farmas/jstester/overview
CC-MAIN-2017-26
refinedweb
229
53.37
short x = 7; And C# would allow this: class Alien { internal string invade(short ships) { return "a few"; } internal string invade(params short[] ships) { return "many"; } } class Program { public static void Main(string[] args) { short x = 7; System.Console.WriteLine(new Alien().invade(7)); } } C#'s output: a few Java does not allow this: class Alien { String invade(short ships) { return "a few"; } String invade(short... ships) { return "many"; } } class Main { public static void main(String[] args) { short x = 7; System.out.println(new Alien().invade(7)); } } As Java decided that 7 is an int when being passed to a method, and there's no matching method that accepts an int, hence the above code will not compile Compilation error: Main.java:13: cannot find symbol symbol : method invade(int) location: class Alien System.out.println(new Alien().invade(7)); ^ 1 error Java lacks symmetry here. 7 can be assigned to short, but it cannot be passed to short. Might be by design, think component versioning issue. To fix the above problem. cast 7 to short: System.out.println(new Alien().invade((short)7)); Output: a few Java is the odd one out, this would compile in C++: #include <iostream> using namespace std; class Alien { public: char* invade(short ships) { return "a few"; } }; int main() { printf( (new Alien())->invade(7) ); return 0; }
https://www.anicehumble.com/2012/03/
CC-MAIN-2020-16
refinedweb
222
62.68
Before learning heap sorting, you first need to understand the meaning of heap: in a sequence containing n elements, if the elements in the sequence meet one of the following relationships, the sequence can be called heap. - ki ≤ k2i And ki ≤ k2i+1 (within the range of n records, the value of the ith keyword is less than the 2nd * I keyword and also less than the 2nd * I + 1 keyword) - ki ≥ k2i And ki ≥ k2i+1 (within the range of n records, the value of the ith keyword is greater than the 2nd * I keyword and also greater than the 2nd * I + 1 keyword) For the definition of heap, you can also use full Binary tree Because in a complete binary tree, the left child of the ith node happens to be the 2i node and the right child happens to be the 2i+1 node. If the sequence can be called heap, the value of each root node in the complete binary tree constructed by using the sequence must not be less than (or greater than) the value of about child nodes. In terms of the unordered table {49, 38, 65, 97, 76, 13, 27, 49}, the corresponding heap is represented by a complete binary tree as follows: Figure 3 heap corresponding to unordered table Tip: when the heap is represented by a complete binary tree, its representation method is not unique, but it can be determined that the root node of the tree is either the minimum value or the maximum value in the unordered table. By converting an unordered table into a heap, you can directly find the maximum or minimum value in the table, and then extract it, so that the remaining records can rebuild a heap, and take out the second largest value or the second smallest value. In this way, an ordered sequence can be obtained by repeated execution. This process is heap sequencing. The code implementation of heap sorting process needs to solve two problems: - How to convert the obtained unordered sequence into a heap? - After outputting the top elements of the heap (the root node of the complete binary tree), how to adjust the remaining elements to build a new heap? First, solve the second problem. Figure 3 shows a complete binary tree. If the heap top element is removed, the tree root node of the binary tree is deleted. At this time, the last node 97 in the binary tree is used instead, as shown in the following figure: At this time, node 97 is larger than the values of the left and right child nodes, which destroys the heap structure. Therefore, it needs to be adjusted: first, compare the heap top element 97 with the left and right subtrees, and the node exchange position with the lowest same value, that is, the exchange positions of 27 and 97: Since the heap structure of the right subtree of the root node is destroyed after replacement, the same adjustment needs to be made as above, that is, 97 and 49 exchange positions: Through the above adjustment, the previously damaged reactor structure is re established. The whole adjustment process from root node to leaf node is called "filtering". The first problem is solved by using the continuous filtering process, as shown in the figure below. The unordered table {49, 38, 65, 97, 76, 13, 27, 49} preliminarily establishes a complete binary tree, as shown in the figure below: When filtering the above figure, the rule is from the bottom node to the root node. For a complete binary tree with n nodes, the node at the beginning of the filtering work is the ⌊ n/2 ⌋ (this node is a leaf node in the subsequent order, so there is no need to filter). Therefore, for a complete binary tree with 9 nodes, the filtering starts from the fourth node 97. Since 97 > 49, it needs to be exchanged with each other. After exchange, it is shown in the figure below: Then filter the third node 65. Since 65 is larger than the left and right child nodes, select the smallest one to exchange with 65. The exchange result is: Then, the second node is filtered. Because it meets the requirements, it does not need to be filtered; Finally, the root node 49 is selected and exchanged with 13. The exchange result is: After the exchange, it is found that the structure of the right subtree heap is damaged, so it needs to be adjusted. The final adjustment result is: Therefore, the complete code for heap sorting is: #include <stdio.h> #include <stdlib.h> #define MAX 9 //Structure of a single record typedef struct { int key; }SqNote; //Structure of record table typedef struct { SqNote r[MAX]; int length; }SqList; //The subtree with r[s] as the root node forms a heap, and the value of each root node in the heap is greater than that of its child node void HeapAdjust(SqList * H,int s,int m){ SqNote rc=H->r[s];//First, save the node data at the operation position, and then move the element after placing it. The element is lost. //For the s-th node, filter until the end of the leaf node for (int j=2*s; j<=m; j*=2) { //Find the child node with the largest value if (j+1<m && (H->r[j].key<H->r[j+1].key)) { j++; } //If the current node is larger than the value of the largest child node, you do not need to filter this node and skip it directly if (!(rc.key<H->r[j].key)) { break; } //If the value of the current node is smaller than the maximum value of the child node, the maximum value will be moved to the node. Since rc records the value of the node, the value of the node will not be lost H->r[s]=H->r[j]; s=j;//s is equivalent to a pointer, pointing to its child node to continue filtering } H->r[s]=rc;//Finally, you need to add the value of rc to the correct position } //Swap the location of two records void swap(SqNote *a,SqNote *b){ int key=a->key; a->key=b->key; b->key=key; } void HeapSort(SqList *H){ //The process of building a heap for (int i=H->length/2; i>0; i--) { //Filter the root nodes with child nodes HeapAdjust(H, i, H->length); } //By constantly filtering the maximum value, while constantly filtering the remaining elements for (int i=H->length; i>1; i--) { //The exchange process is to save the selected maximum value at the end of the large table, and replace it with the element at the last position, so as to prepare for the next filtering swap(&(H->r[1]), &(H->r[i])); //Filter the next maximum HeapAdjust(H, 1, i-1); } } int main() { SqList * L=(SqList*)malloc(sizeof(SqList)); L->length=8; L->r[1].key=49; L->r[2].key=38; L->r[3].key=65; L->r[4].key=97; L->r[5].key=76; L->r[6].key=13; L->r[7].key=27; L->r[8].key=49; HeapSort(L); for (int i=1; i<=L->length; i++) { printf("%d ",L->r[i].key); } return 0; } The operation result is: 13 27 38 49 49 65 76 97 Tip: in the code, in order to reflect the process of building the heap and rebuilding the heap after outputting the top elements of the heap, the second relationship of the heap is adopted in the process of building the heap, that is, the value of the parent node is greater than that of the child node; The same is true of the process of rebuilding the heap. Heap sorting in the worst case, its Time complexity Still O(nlogn). This is relative to Quick sort The advantages of. At the same time, compared with tree selection sort, heap sort only needs an auxiliary storage space for record exchange (rc), which is smaller than the running space of tree selection sort. Data structure heap sorting tutorial: [data structure] the basic concept of heap and its detailed operation must be mastered in the data structure examination_ Beep beep beep_ bilibili my C/C + + learning materials / Notes / source code are all in the fan group: [921427443] you can come in and play and learn with a group of friends ~ ps: collection ≠ one key three times = steady I have a programming learning group, which has all kinds of C/C + + project materials, tutorials and source code. Welcome to learn and exchange together~ Scan the QR code below to enter
https://programmer.help/blogs/detailed-explanation-of-heap-sorting-algorithm-in-c-language.html
CC-MAIN-2021-49
refinedweb
1,441
54.9
This blog will discuss features about .NET, both windows and web development. You may have noticed that the Page has an items collection. This items collection can store any information, as it's a local dictionary. I could not find anywhere where the dictionary is serialized and stored, so the dictionary is only temporary and has to be reloaded on every page load. If you've dug around the .NET framework, you may have seen that the web parts manager and AJAX script manager utilize this, as it's a great way to get a reference to a component. I've even done this in my code, so in a class I may do on initialization: this.Page.Items[typeof(MyManager)] = this; This code exists within the web control (of type MyManager above). Any components that use MyManager can reference it via the Items collection, or it's possible to create a static method that returns: public static MyManager GetManager(Page page){ return (MyManager)page.Items[typeof(MyManager)];} And an instance of the manager is returned to any caller. I really like this approach for certain things, but I ran into a jam; in a component I had, I tried this approach and it didn't work. I had a faulty assumption. See, the page class exposes properties named the same that exist on the System.Web.HttpContext class; in the page class, it simply returns the current context's instance of the property. I thought it was the same with the Items property in this case. But no, it isn't; HttpContext has it's own separate Items dictionary, which you can use at a more globular level. I got myself out of a jam in a component this way; I was able to do: if (HttpContext.Current != null) SomeComponent comp = (SomeComponent)HttpContext.Current.Items[typeof(SomeComponent)]; And make it available in a class that isn't generally web accessible (doesn't inherit from Control and have any references to the page class, viewstate, etc). One of the problems you may experience is the issue of postbacks with the "staleness" of queried data. Because ASP.NET is stateless, when after unloading resources, all previously known resources are gone. A common way to keep data around is to store it in the cache. So if there is a commonly referenced LINQ business object in an ASP.NET site, it can be cached in the system. The problem you may experience with this is that you can't use the object in certain situations. You may get an error stating that the object isn't new and wasn't queried with the current instance of the data context class; this is because an object originally queried on the first page load is cached, the data context is destroyed, and on the next load, the cached object is retrieved. This object can be used to reference it's child data, especially if you've loaded the related data in an immediate fashion. What I experienced is an issue with updating data using this object or its related data as a reference. If you assign the object reference to a recently queried object, you may get an error stating that the object isn't new and isn't known by the current data context. A solution could be to cache the data context; I personally don't like to do that because that's a lot of data to store in the cache (depending on the size of the application).. If you are familiar with LINQ, you know that your objects have hierarchies, that can be a challenge when binding to ASP.NET tabular controls such as the GridView. So how can you do this? Anonymous types can come to the rescue. For instance, if you want to show the customer who participated in a collection of orders, to show the relation, the following approach can be used: var orders = this.GetAllOrders(); //Gets all orders from the data contextvar orderDisplay = from order in orders orderby order.Customer.LastName, order.OrderDate select new { order.Customer.LastName, order.Customer.FirstName, FullName = order.Customer.LastName + " " + order.Customer.FirstName, order.OrderDate, order.OrderAmount };this.gvwOrders.DataSource = orderDisplay;this.gvwOrders.DataBind(); Because of anonymous types, LINQ can safely show hierarchical data in a tabular control. 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/04.aspx
crawl-003
refinedweb
742
55.34
I'm asking this because even tho it seems to work, I feel like it shouldn't. The goal is to have a collection of objects kept alive, and general access to them. This is what I have at the moment: Take a base pointer access: struct base {virtual void tick() = 0; }//ptr access struct :public base { int x,y; //2 ints void tick() { cout << "im type 1" << endl; } }type1; struct :public base { int x,y,z; //3 ints to make it different void tick() { cout << "im type 2" << endl; } }type2; class xtype { vector<char>charcast; public: template<typename T> base* serial_acc(T &input) //take object, return (base*) { charcast.resize(sizeof(input)); //size for serialize memcpy(charcast.data(), (char*)&input, sizeof(input)); //copy into vector return (base*)charcast.data(); //return base ptr to serialized object } }xcontainer; base* base_ptr; //the access pointer base_ptr = xpointer.serial_acc(type1); //type that inherits from base base_ptr->tick(); //which will output "im type 1" to console What you are doing is illegal. You can only memcpy an object as an array of chars when the object is TriviallyCopyable. And your object is not, since it has virtual functions. Instead of doing this, you should simply store a (unique) pointer to newly allocated object, and avoid any casts to enforce hierarchy. Like this: class xtype { std::unique_ptr<base> ptr; public: template<typename T> base* serial_acc(T &input) //take object, return (base*) { static_assert(std::is_base_of<base, T>::value, "Please use proper type"); ptr = std::make_unique<base>(input); return ptr; } } xcontainer;
https://codedump.io/share/dtYX3wzmGxEG/1/is-an-object-valid-in-serialized-form-cinheritanceserialization
CC-MAIN-2017-17
refinedweb
252
51.18
An iOS 10 3D Touch Force Handling Tutorial 3D Touch brings with it a range of different features that can be added to an iOS app running on a 3D Touch enabled iOS device. Perhaps the simplest of these features is the ability to detect the force being applied to a touch on the screen and to react accordingly. A drawing app might, for example, enable the user to change the thickness of a line as it is being drawn based on the current level of force being applied to the touch. In this chapter, a simple project will be created that is designed to quickly demonstrate the detection of force applied during a touch within an iOS 10 app. Creating the 3D Touch Example Project Begin by invoking Xcode and creating a new iOS Single View Application project named 3DTouchForce using Swift as the programming language and with the devices menu set to Universal. Adding the UIView Subclass to the Project When the app launches, the background view will be colored green. As a touch is performed with increasing pressure, a red gauge effect will rise up from the bottom edge of the screen reflecting the force being applied. In practice the red area of the view will be implemented by repeatedly drawing a red rectangle, the height of which is sized in proportion to the prevailing touch force value. In order to draw graphics on the view it is necessary to create a subclass of the UIView object and override the draw method. In the project navigator panel located on the left-hand side of the main Xcode window Ctrl-click on the 3DTouchForce folder entry and select New File… from the resulting menu. In the New File window, select the iOS source Cocoa Touch Class icon and click Next. On the subsequent options screen, change the Subclass of menu to UIView and the class name to MyUIView. Click Next and on the final screen click on the Create button. Select the Main.storyboard file and select the UIView component in either the view controller canvas or the Document Outline panel. Display the Identity Inspector (View -> Utilities -> Show Identity Inspector) and change the Class setting from UIView to our new class named MyUIView. With the UIView object still selected, display the Attributes Inspector panel and change the background color to green. Locating the draw Method in the UIView Subclass Now that we have subclassed our application’s UIView instance the next step is to implement the draw method in this subclass. Fortunately Xcode has already created a template of this method for us. To locate this method, select the MyUIView.swift file in the Project Navigator panel. Having located the method in the file, remove the comment markers (/* and */) within which it is currently encapsulated: import UIKit class MyUIView: UIView { override func draw(_ rect: CGRect) { // Drawing code } } Remaining within the MyUIView.swift file, add a variable to store the height of the rectangle and implement the drawing code in the draw method as follows: class MyUIView: UIView { var size:CGFloat = 0 override func draw(_ rect: CGRect) { let view_width = self.bounds.width let view_height = self.bounds.height let context = UIGraphicsGetCurrentContext() let rectangle = CGRect(x: 0, y: view_height - size, width: view_width, height: size) context?.addRect(rectangle) context?.setFillColor(UIColor.red.cgColor) context?.fill(rectangle) } . . } The code added identifies the height and width of the visible area of the display and then uses Core Graphics to draw a filled red rectangle starting at the bottom of the display at a height defined by the size variable. The next step is to implement the touch event methods to set the size value based on the force of the touch. Implementing the Touch Methods This example project will require that the touchesBegan, touchesMoved and touchesEnded methods be implemented. The touchesBegan and touchesMoved methods will both call a method named handleTouch, passing through to that method the UITouch objects associated with the touch event. The touchesEnded method, on the other hand, will set the size variable to zero and trigger a redraw of the rectangle via a call to the view’s setNeedsDisplay method. Within the MyUIView.swift file implement these three methods as follows: override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) { handleTouch(touches) } override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) { handleTouch(touches) } override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) { size = 0 self.setNeedsDisplay() } The final task is to write the handleTouch method so that it reads as follows: func handleTouch(_ touches:Set<UITouch>) { let touch = touches.first size = touch!.force * 100 self.setNeedsDisplay() } The method extracts the first touch object from the set of touches and accesses the force property of that object. The method then calculates a height value based on the force value of the touch and assigns it to the size variable. The view is then instructed to redraw itself, thereby triggering a call to the draw method where the rectangle will be redrawn using the new size value. Testing the Touch Force App Figure 57-1 Summary On devices with 3D Touch support, the pressure of a touch on a view can be measured by accessing the force property of the UITouch objects passed through to the touchesBegan, touchesMoved and touchesEnded methods. This chapter has illustrated this concept in action through the creation of a pressure gauge tied to the force applied to a touch.
https://www.techotopia.com/index.php?title=An_iOS_9_3D_Touch_Force_Handling_Tutorial&oldid=31620
CC-MAIN-2018-51
refinedweb
908
59.43
The Elder Scrolls V: Skyrim Can you become a werewolf in skyrim? - I loved bloodmoon for the simple fact you can become a werewolf and do quests rather than just a vampire. I just wanted to know if there is going to be anything like this in skyrim? godofsteakpie - 5 years ago Top Voted Answer Answers - - - Based off of oblvion there might be a diesea which you contract and if not treated you will be come a werewolf. You have to remeber that this is skyrim the land of bitter cold and power also dragons so with all these challenges where would Bethesda put in a powerful werewolf. This is a great idea but i highly doubt that werewolf diesea will come into play in Skyrim :) wymerm1 - 5 years ago - Well if horkers are making a return (FROM BLOODMOON), werewolves are probably coming back to. Even if you don't necessarily turn into one. LiLPunisher12 - 5 years ago - It certainly possible and it would fit in well with the environment but nothing has been confirmed. And to Wymerm1. 1). Diesea isn't a word (I assume you mean disease) 2). How does Skyrim being cold and having dragons seem to make you think that werewolfs wont be part of it? You think that the only enemies in the game are dragons and avoiding hypothermia? sqicychiqotles - 5 years ago - Hopefully you can. What about Vampires? nmenezes92 - 5 years ago This question has been successfully answered and closed.
https://www.gamefaqs.com/xbox360/615803-the-elder-scrolls-v-skyrim/answers/282488-can-you-become-a-werewolf-in-skyrim
CC-MAIN-2017-09
refinedweb
246
80.31
Stop Mocking, Start Newing Stop Mocking, Start Newing Mock has become so popular in agile development teams. Many disciplined teams won’t write a unit test without mocked dependencies.. Mock has become so popular in agile development teams. Many disciplined teams won’t write a unit test without mocked dependencies. However, mock is not the silver-bullet. Instead, I find many teams using mock struggle with refactoring. Martin Fowler, Kent Beck and David David Heinemeier Hansson had a hangout last year, in which the shared their opinions on mocking. The substantial problem of mocking is that when you set up the dependencies with mock, you are assuming an implementation, because you know that the mocked method will be called. Martin Fowler, Kent Beck and David Heinemeier Hansson had a hangout talking about TDD, in which all three expressed their concerns around mocking from different angles. The videos last for more than one hour so here is the text version if you prefer. The hangout is not just about mocking. So I have attempted to summarize their concerns or comments on mocking below (extracted from the text version): - David Heinemeier Hansson does not agree with “isolated unit testing” because there tend to be “lots of mocks”. - Kent Beck doesn’t mock very much; implies it’s a smell of bad design. - Martin Fowler doesn’t mock much either. DHH, Kent Beck and Martin Fowler did not use any code example in their hangout. I think some Java code can demonstrate the real problems better. Let’s use online store as an example. To summarize the business rule, if an Order is shipped to within Australia, free shipping is applied, otherwise no free shipping. Here is our test code: @Test public void free_shipping_applies_on_orders_shipped_within_australia(){ Country mockedCountry = mock(Country.class); when(mockedCountry.getName()).thenReturn("Australia"); Order order = new Order(mockedCountry, other, parameters); assertThat(order.freeShipping(), isTrue()); } Here is our Order class under test: public class Order { // other methods ...... public boolean freeShipping() { return country.getName().equalsIgnoreCase("Australia"); } } Now we would like to change the way to decide if the country is Australia from comparing Name to comparing Country Code. public class Order { public boolean freeShipping() { return country.getCountryCode().equalsIgnoreCase("Au"); } } The test will fail (throw NullPointerException), because getCountryCode is not mocked. We assumed that we will call getName, but that is an implementation detail. We are not changing the behaviour of the class Order. The test should pass without any change. If real Country object is used, it won’t fail. Yes, as you said, we should test contract. But we should test the contracts of the class that is under test, not how the class under test interacts with its dependencies, which is again implementation detail. A paper ( ) published in 2004 suggested that we should “mock roles, not objects”. I agree that it is good technique to drive interfaces. It should be limited to that. It should not be used when the dependent classes are already there. This is an elaborated example, but it does not mean the problems are there in rare cases. It is common and popular. I’ve seen more teams using Mock in most of the unit tests than not doing that. When they feel the pain of re factoring, they believe that is necessary pain. More teams do not feel the pain, because it has not hurt them that hard. So I would like to reiterate the problems of mocking: - Mocking is unfriendly to refactoring. The Mock-based test is highly coupled with the implementation. - Mocking makes untestable (bad-designed) code look testable and gives fake confidence. Sometimes, especially when the object is quite complex, mocking an object is easier than creating a real object. That is a design smell(as Kent Beck said). It means your code violates either Single-Responsibility-Principle or Law of Demeter* or, in most cases, both. Before mocking your own classes, re-think if it is easy to create, build and configure. The team may lose an opportunity to verify the design, if they always go with mocking. - It is easy to understand, that when an object is difficult to create it may have too many dependencies and then tends to violate SRP. Another possible reason is it has a long dependency chain, thus difficult to create. In this case the code violates LoD. [Latest Guide] Ship faster because you know more, not because you are rushing. Get actionable insights from 7 million commits and 85,000+ software engineers, to increase your team's velocity. Brought to you in partnership with GitPrime. Published at DZone with permission of Peng Xiao , 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/stop-mocking-start-newing
CC-MAIN-2019-09
refinedweb
794
66.54
Simple Delivery Profile (SDP) caption styling You can position and style captions on your HTML5 videos using Simple Delivery Profile (SDP). In Internet Explorer 11 you can use SDP to style and position closed-caption text on your video screen. SDP is a new W3C standard for creating closed captions, that lets you put your text anywhere on a video frame, and style it for better visibility or emphasis. Based on Timed Text Markup Language (TTML), you can: - Change text color. - Create solid colored backgrounds. - Change fonts, font size, and font styles. - Animate text on the screen. Using these new capabilities, you can: - Simulate speech balloons when multiple speakers are shown. - Set colors for text that will show up better against light or dark backgrounds. - Reveal text a letter at a time for more emphasis. Writing SDP text for IE11 Writing SDP based TTML code for IE11 isn't much different from writing TTML caption code for Internet Explorer 10. The header information is similar to earlier versions, and includes the following elements for namespace and version: The first line defines that this is an XML file: <?xml version="1.0" encoding="utf-8"?> The next line is the language and namespace definition. <tt xml: The <head> area of the page contains the profile, styling, and layout sections. The profile section uses a <p:profile> tag, and consists of the profile name: <p:profile The styling section defines the page's styles for the text. Styles include: - Id for the style. - Display preference (auto, none, etc). - Text color. - Text alignment (left, center, right). - Outline (or stroke) color and width. - Background color and transparency. - Origin (x/y position) of text, expressed as a percentage (e.g., 30%). - Extent (size of text box or background), expressed as a percentages (e.g., 75%). The layout section defines the following attributes for up to four regions: - Id for a region. - Regions, the basic unit of location on the screen. - A beginning and end time for roll up text. - Display preference, often used to turn on specific text when style has it turned off. These are the basic tags to get you started. There are a number of other styles and layout options described in the W3C specification TTML Simple Delivery Profile for Closed Captions (US). There are a few rules specified by the W3C spec that you need to follow to create styled closed captions. The following is a list of top issues. - All documents must have tt, head, and body elements. - All documents must have both a styling element and a layout element. - You can't nest div or span elements; only one level per element is allowed at a time. You can have a span as a child of a div. Note A document must not contain two elements for which the lexical order of the elements is different from the temporal order of the elements. Thus, you need to arrange your cues chronologically by begin time, and never put a later time before an earlier one. For example: This is the right way: <p region="bottomMid" begin='00:00:00.101' end='00:00:05.000'> This is the first caption</p> <p region="topMid" begin='00:00:05.000' end='00:00:10.000'> This is the second caption</p> <p region="topLeft" begin='00:00:10.000' end='00:00:15.000'> This is the third caption</p> <p region="bottomRight" begin='00:00:15.000' end='00:00:20.000'> This is the fourth caption</p> This is the wrong way: <p region="bottomMid" begin='00:00:00.101' end='00:00:05.000'> This is the first caption</p> <p region="topLeft" begin='00:00:10.000' end='00:00:15.000'> This is the third caption</p> <p region="topMid" begin='00:00:05.000' end='00:00:10.000'> This is the second caption</p> <p region="bottomRight" begin='00:00:15.000' end='00:00:20.000'> This is the fourth caption</p> In this example, the third caption comes before the second one. While the full TTML spec allows the captions to be placed in any order, SDP requires the begin values to be in chronological order. The end values can be in any order. Using SDP in your apps Here's an example that uses SDP to style and position text. The example consists of two files, the first is the HTML file that shows the video and reads the track file. The second is saved as a .ttml file, and contains the captions in SDP format. This HTML example loads a generic video and the track file. The file isn't synced to a specific video, so you can substitute any mp4 file for testing. <!DOCTYPE html> <html> <head> <title>SDP Test</title> <meta http- </head> <body> <video src="video.mp4" controls muted autoplay <track src="SDPTest.ttml" label="SDP Examples" default/> </video> </body> </html> This example is the SDPTest.ttml file that positions four different colored messages on the video screen at 5 second intervals. <?xml version="1.0" encoding="utf-8"?> <tt xml: <head> <p:profile <styling> <!-- define styles for text color and position --> <style xml: <region xml: <region xml: <region xml: </layout> </head> <body> <div style="defaultFont"> <p region="bottomMid" begin='00:00:00.101' end='00:00:05.000'> This is a Pop-up caption</p> <p region="topMid" begin='00:00:05.000' end='00:00:10.000'> This is another Pop-up caption</p> <p region="topLeft" begin='00:00:10.000' end='00:00:15.000'> Hello from up top</p> <p region="bottomRight" begin='00:00:15.000' end='00:00:20.000'> And back down</p> </div> </body> </tt> Related topics Enabling Professional-Quality Online Video: New Specifications for Interoperable Captioning TTML Simple Delivery Profile for Closed Captions (US)
https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/dev-guides/dn265042(v=vs.85)
CC-MAIN-2019-35
refinedweb
977
66.64
Hi, I am building a system whereby the architecture is as follows:- 1) Client application - i) Business layer ii) Domain Layer iii) Data Access Layer 2) WCF Service:- i) Service layer ii) Domain Layer (with data contracts) - This is a shared assembly with the Client containing all the types Problem is , in the client when I get to adding a Service reference, it recreates all the data contract types with a completely different namespaces. So from my client/business layer when i try to call a Operation in my WCF, it complains "cannot convert type <my domain layer> to <The proxy namespace type>". Please help. Regards, Sumit Hi, Hi Sumit, In order to fix your problem, you'll have to use the command line tool, svcutil.exe to generate the proxy code. With the /reference (or /r for short) switch, you can specify assemblies that contains shared types. (You will probably use the /target:code (or /t) switch - to generate your proxy class). Run svcutil.exe without any arguments to view the help - or look it up in the MSDN documentation. Regards, Lars Wilhelmsen Senior Software Engineer Norway A major point is that you should not share clr types. You share interfaces/contracts. Ref dlls is a dead end and against SOA tenants for many good reasons. The basic idea is that you build your server with your types as needed and expose the types client needs with datacontract. Then your client runs svcutil in create the matching types. Then change types as needed. The main thing is, the client still has his own types and server has his types. They are wire compatable, but not binary compatable which allows things like versioning and loose-coupling, etc. If Thread Closed This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.
https://channel9.msdn.com/Forums/TechOff/253716-Using-shared-DataContract-between-client-and-Service
CC-MAIN-2015-40
refinedweb
323
68.4
Determine if script is run on iPhone or iPad? (SOLVED) Is there any way to determine if a script is run on an iPhone or an iPad? I'm creating a game and I want it to be able to run both on an iPhone and an iPad. Like for instance: <PRE> class Alien(object): def init(self): self.width = 60 if run_on_ipad else 30 </PRE> Why not base the size of your alien on the x/y dimensions of the screen, which you can get from the Scene module, instead of a specific device model? You could use the <code>size</code> property of your scene. Have a look at the bundled "Clock" script for an example. It uses different margins, line widths, etc. depening on the type of device (iPad/iPhone). The bundled "Cascade" game uses a similar approach to determine the number of tiles that fit on the screen. Thanks guys! I used the same approach as the one used in the "Cascade" game. <PRE> from scene import * class Alien(object): def init(self): ipad = WIDTH > 700 self.width_and_height = (60,60) if ipad else (30,30) def draw(self): image('Alien_Monster',100,100,*self.width_and_height) class MyScene(Scene): def setup(self): global WIDTH; WIDTH = self.size.w self.alien = Alien() def draw(self): self.alien.draw() run(MyScene(), PORTRAIT) </PRE>
https://forum.omz-software.com/topic/72/determine-if-script-is-run-on-iphone-or-ipad-solved/4
CC-MAIN-2019-18
refinedweb
223
84.47
In SEC573: Automating Information Security with Python, we teach defenders to build tools that root out the signs of compromise in your sea of logs and network traffic. We teach forensicators to build tools to find that crucial piece of evidence with no other tools exist. We teach penetration testers how to build a few different types of backdoors that provide you with a stable foothold for you to begin your testing. Let's look at the practical application of one of the backdoors taught in that class. During a penetration test I had come across a remote code execution vulnerability in a web application running on a Linux web server. After a few failed attempts to upload additional malware to the target I decided a netcat connection was desirable rather than the hoops I had to jump through to trigger the exploit. I decided to use the systems built in Python interpreter to execute a Python script that would give me a more stable shell. This shell will connect back to a netcat listener on my IP address on port 9000 ($nc -l -p 9000). In the examples below I'll transmit the shell to 127.0.0.1 to make it easy for you to test this on your own laptops. First we start out with one of the simple python reverse tcp connect shell from SEC573. import socket import subprocess s=socket.socket() s.connect(("127.0.0.1",9000)) while True: proc = subprocess.Popen(s.recv(1024), shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE) s.send(proc.stdout.read() + proc.stderr.read()) This backdoor shell works just fine on my local system, but there is a significant problem. If I want to use this with a remote command injection vulnerability I have to pass this entire script on one line as an argument to the Python interpreter. The Python interpreter looks at the tabs and spaces in the code to find the "code blocks". The two lines that are indented beneath my while statement are not easily placed on one line unless you know a trick. We can easily put all of the unintended lines on a single line by just putting semicolon between them. Although Python doesn't consider it good coding style you can put the entire while code block on a single line. You must be very careful to have the same number of spaces after the colon and semicolon. In this example there are two spaces after the colon and the semicolon in my while loop. Now our program has been condensed into these two lines: student@573:~/Documents/pythonclass$ python3 Python 3.5.2 (default, Jul 5 2016, 12:43:10) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket;import subprocess ;s=socket.socket() ;s.connect(("127.0.0.1",9000)) >>> while 1: p = subprocess.Popen(s.recv(1024),shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE,stdin=subprocess.PIPE); s.send(p.stdout.read() + p.stderr.read()) If you keep the spacing straight and put those two lines into an interactive python session it works properly in either Python 2 or Python 3. But, if you try to combine those two lines into a single line with another semicolon it will not work. The Python interpreter generates a syntax error. The good news is you can get around that with the "exec" method. Python's exec method is similar to "eval()" in javascript and we can use it to interpret a script with "\n" (new lines) in it to separate the lines. Using this technique we get the following one line python shell that can be transmitted to the remote website for execution on any target that has a Python 2 or Python 3 interpreter. student@573:~/$ python -c "exec(\())\")" Setup a netcat listener on your localhost listening on port 9000 and this works very nicely. A technique to make sure your indentions and tabs are correct is to change all of those semicolons to '\n'. Then, in a python interactive session, assign a variable such as 'shellcode' to contain your payload. Then print(shellcode). If the printed result looks just like the multi-line program we started out with then the exec() function should work properly. With these techniques we can collapse all manner of scripts down to one line. Knowing that, we might as well add a little code obfuscation to the mix. Next we drop into interactive python and base64 encode our payload. student@573:~/Documents/pythonclass$ python Python 2.7.12 (default, Jul 1 2016, 15:12:24) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information.>>> import base64 >>> shellcode = ())" >>> base64.b64encode(shellcode) ' To use our code we need to base64 decode it right before execute it. Our one liner becomes this: student@573:~/Documents/pythonclass$ python -c "import base64;exec(base64.b64decode('))" This code sample is compatible with both Python 2 and Python 3. For more tips like this.
https://pen-testing.sans.org/blog/2017/01/31/pen-test-poster-white-board-python-python-reverse-shell/
CC-MAIN-2019-18
refinedweb
845
63.7
The language of the element and it's children. Valid values are any two-letter ISO language code, optionally followed by a hyphen or underscore and a two letter country code. The language affects a number of factors, including the default font-family, the quoting style of the element if the requote option is set, the capitalization rules if the text-transform attribute is set, the text-align value, and the direction attribute. In addition, the country part of the language code specifies the format of the currency() yaxis-formatter for graphs. As the attribute is inherited, it's typically set on the pdf or body elements, if it's set at all. The XML namespace attribute xml:lang can be used as a synonym. Sets the main language of the document to use Hong-Kong chinese <pdf lang="zh_HK">
https://bfo.com/products/report/docs/tags/atts/lang.html
CC-MAIN-2021-43
refinedweb
140
52.8
Transforming XML Introduction The Wolfram Language is uniquely suited for processing symbolic expressions because of its powerful pattern-matching abilities and large collection of built-in structural manipulation functions. This tutorial provides a few examples to illustrate the use of the Wolfram Language for processing XML data. When you import an arbitrary XML document into the Wolfram Language, it is automatically converted into a symbolic XML expression. Symbolic XML is the format used for representing XML documents in Wolfram Language syntax. The conversion to symbolic XML translates the XML document into a Wolfram Language expression while preserving its structure. The advantage of converting XML data into symbolic XML is that you can directly manipulate symbolic XML using any of the Wolfram Language's built-in functions. Visualizing the XML Tree Many XML tools display an XML document as a collapsible tree, where the nodes correspond to the elements of the document. This example shows how to produce a similar visualization using cell grouping in a Wolfram Language notebook. You will do this by recursively traversing the symbolic XML expression and creating a CellGroupData expression that contains cells for each of the XMLElement object's attributes and children. Each nested CellGroupData expression will be indented from the previous one. You start with the function to process an XMLElement object. Use the integer m for indentation. When you map onto the XMLElement object's children, you pass a larger value for m, increasing the indentation for the child elements. A CellGroupData expression contains a list of cells. In the definition, you have only created a cell for the XMLElement x. However, you have then mapped onto the attribute list. Since this returns a list, you need to use Apply[Sequence] for the result in order to merge that list into the CellGroupData expression's list of cells. You then do the same thing to the children of the XMLElement. However, you have not yet defined to work on attributes. The attributes of an XMLElement object are stored in symbolic XML as rules. In most cases, the rule contains two strings: the key and the value. However, when namespaces are involved, the first element of the rule may be a list containing two strings: the namespace and the key. You will need to make two definitions to handle the attributes. We will need one more definition in order to process simple symbolic XML expressions. The text nodes in an XML document are stored simply as String objects in symbolic XML. Thus, you need a definition that handles String objects. Since the default value of the option is None, you did not alter comments, processing instructions, or anything else that would be stored in an XMLObject. Adding definitions for these is not difficult and would be a good exercise in processing symbolic XML. Manipulating XML Data XML applications are used for more than just document layout. XML is also an excellent format for storing structured data. Many commercial database vendors are now adding XML support to their products, allowing you to work with databases using XML as an intermediate format. The Wolfram Language's symbolic pattern-matching capabilities make it an ideal tool for extracting and manipulating information from XML documents. To illustrate this, manipulate an XML file containing data on major league baseball players. Symbolic XML is a general-purpose format for expressing arbitrary XML data. In some cases, you may find it more useful to convert symbolic XML into a different type of Wolfram Language expression. This type of conversion is easy to do using pattern matching. All the information about the player is stored in a list of Wolfram Language rules with as the head. In addition to transforming the data into a different expression syntax, you can also modify the data and leave the overall expression in symbolic XML. This way you can alter our data, but still export it to an XML file for use with other applications. As an example, you will work with the salaries of American League hitters. Comparing XSLT and the Wolfram Language In many situations, you need to transform a document from one XML format into another; one popular technique used for this purpose is XSLT transformations. The Wolfram Language's pattern-matching and transformation abilities allow you to do similar transformations by importing the original document and then manipulating the symbolic XML. This section gives examples of some basic XSLT transformations and shows how to do the equivalent transformations in the Wolfram Language. A Simple Template In this example, XML dialect uses the code tag to enclose program code. Typically, this is displayed in a monospace font. If you were to convert such a document to XHTML, you would probably want to use the pre tag for code. <xsl:template <pre class="code"> <xsl:value-of </pre> </xsl:template> Inserting Attribute Values Now consider an XML application that uses the termdef element to indicate the definition of a new term. You might want to anchor the definition with an element named a so that you can link directly to that location in the document. Assuming you have templates to handle whatever string formatting is inside the termdef element, you can use the following XSLT. <xsl:template <span class="termdef"> <a name="{@id}">[Definition:] </a> <xsl:apply-templates/> </span> </xsl:template> Notice that the name attribute in the resultant XHTML gets the value of the id attribute of the original termdef element. Using Predicates Consider a more complicated example, which will use XPath predicates. Assume you would like to match a note element, but only if it either has a role attribute set to example or if it contains an eg element as a child. Look at an XSLT template and then explain what it does. <xsl:template <div class="exampleOuter"> <div class="exampleHeader">Example</div> <xsl:if <div class="exampleWrapper"> <xsl:apply-templates </div> </xsl:if> <div class="exampleInner"> <xsl:apply-templates </div> <xsl:if <div class="exampleWrapper"> <xsl:apply-templates </div> </xsl:if> </div> </xsl:template> The first xsl:if element checks to see if the first child element is a p element. If it is, then xsl:apply-templates is called on that child. This is similar to calling Map across the results of Cases. In the second xsl:if element, you check if there are p child elements beyond the first child. If so, xsl:apply-templates is called on those. Here is the corresponding Wolfram Language code. Traversing Upward To select an ancestor or sibling, you have to realize that an XML document is just a stream of characters that follows a grammar. Tools for manipulating XML documents treat XML according to some model. In the case of XSLT (and its path-selection language, XPath), this model is that of a tree. Since the Wolfram Language is a list-based language, it treats XML as nested expression lists. While these two models are similar, they have important differences. Most notably, in nested lists you do not inherently have any concept of the containing list. Technically, any transformation that can be done with axis types like ancestor can also be done without them. However, it is often convenient to traverse up the XML document. Assume you simply want to have a template that matches bibref elements and replaces them with the text inside of the corresponding bibl element. In XSLT, you would write the following template. <xsl:template <xsl:param <xsl:value-of </xsl:param> <xsl:value-of </xsl:template> Converting a Notebook to HTML Suppose you need to export a notebook in a specific XML format (one not listed under the File ▶ Save As dialog's Save As Type: submenu). One option would be to export to ExpressionML and then use some external tool (e.g. XSLT rules) to transform to the desired form of XML. But often it is just as easy to perform the manipulation within the Wolfram Language, converting the notebook expression directly into symbolic XML and saving the latter. Anyone with a basic command of Wolfram Language patterns and programming should be able to do this. Users coming from an XSLT background may even feel a sense of deja vu; since Wolfram Language expressions are essentially trees, the techniques are much the same. As an example, re-create an abridged version of the File ▶ Save As ▶ Web Page (*.html) functionality. Define a recursive function, transform, to process the original notebook expression from top to bottom, similar to the templates of XSLT. The definition uses Sequence[] since transform will be applied recursively. The best "null'' result is one that can be dropped in the midst of a list of arguments without disrupting the syntax. - The argument pattern must be robust enough to accept all variants. (Even though the notebook options are discarded in this conversion, a BlankNullSequence ( ) is included to allow for them.) The same general theme is followed for the remaining definitions. Here is how the two methods differ. - Since the recursion occurs implicitly via ReplaceRepeated, the latter implementation is cleaner in spots. In particular, contrast the handling of Text cells: the rule can be separated from the Cell rule. The same could be accomplished for the recursive function, but at the cost of additional patterns for the various forms that contents might take (for example, versus and so on). ReplaceRepeated, by acting on all subexpressions, obviates this need. Verifying Symbolic XML Syntax You can use XML`SymbolicXMLErrors to find errors in a symbolic XML expression. This function returns a part specification that you can use with functions like Part or Extract to access the problematic part of your symbolic XML expression.
http://reference.wolfram.com/language/XML/tutorial/TransformingXML.html
CC-MAIN-2014-35
refinedweb
1,607
53.92
Opened 8 years ago Closed 8 years ago Last modified 10 months ago #10066 closed Uncategorized (invalid) can per-site cache and per-view cache or some low level cache work together? Description can per-site cache and per-view cache or some low level cache work together? my purpose is to cache the whole site for anonymous and cache serveral view for registered user only. first, i set these in per-site cache in settings.py: CACHE_BACKEND = 'memcached://100.13.192.7:11211/' CACHE_MIDDLEWARE_SECONDS = 600 CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True this means only cache for anonymous. then i set some per-view cache as below: @cache_page(60 * 15) def slashdot_this(request): so view of slashdot_this will cache for register user and anonymous. am i right? If I have added the middleware needed for per-site cache,the cache middleware will cache again the data already cached by my view? Can you give more explanation in cache settings for using one of per-persite and per-view/low level and using them together? Change History (2) comment:1 Changed 8 years ago by comment:2 Changed 10 months ago by I've tried to suggest ways to solve this in Please ask questions like this on the django-users mailing list or in the #django IRC channel. This Trac install is only for bug reports. Thanks.
https://code.djangoproject.com/ticket/10066
CC-MAIN-2016-40
refinedweb
223
71.44
Numpy is the best python module that allows you to do any mathematical calculations on your arrays. For example, you can convert NumPy array to the image, NumPy array, NumPy array to python list, and many things. But here in this tutorial, I will show you how to use the NumPy gradient with simple examples using the numpy.gradient() method. What is Gradient? In mathematics, Gradient is a vector that contains the partial derivatives of all variables. Like in 2- D you have a gradient of two vectors, in 3-D 3 vectors, and show on. In NumPy, the gradient is computed using central differences in the interior and it is of first or second differences (forward or backward) at the boundaries. Let’s calculate the gradient of a function using numpy.gradient() method. But before that know the syntax of the gradient() method. numpy.gradient(f, *varargs, axis=None, edge_order=1) The numpy.gradient() function accepts the following important parameters. f: The input array on which you want to calculate the gradient. varargs: It is list of scalar or array. axis: Either 0 or 1 to do calculation row-wise or column-wise. The default value is None. edge_order: {1, 2}, and it is optional. The gradient is calculated using N-th order accurate differences at the boundaries. Default value is 1. Step by Step to calculate Numpy Gradient Here you will know all the steps to compute numpy gradient of an array. Just follow the below steps. Step 1: Import all the necessary libraries Here I am using only NumPy python modules so importing it only. import numpy as np Step 2: Create a Dummy Numpy Array. For the demonstration purpose lets the first create a NumPy array to calculate the numpy gradient. You can create a NumPy array using numpy.array() method like below. Example 1: Simple Numpy Array Gradient. numpy_array = np.array([1, 2, 4, 7, 11, 16], dtype=float) First-order Differences Gradient np.gradient(numpy_array) Second-Order Differences Gradient np.gradient(numpy_array,2) Example 2: Calculation of Gradient using other NumPy array. You can also calculate the gradient of a NumPy array with another NumPy array. Let’s create a second NumPy array. numpy_array2 = np.array([2, 1, 5, 10, 11, 15], dtype=float) np.gradient(numpy_array,numpy_array2) Example 3: Gradient for the N-dimensional NumPy array You can also calculate the gradient for the N dimension NumPy array. The gradient will of the same dimension as the dimension array. Let’s create a two-dimensional NumPy array. numpy_array_2d = np.array([[10,20,30],[40,50,60]],dtype=float) Use the code below to calculate the gradient. np.gradient(numpy_array_2d) The above code will return two arrays. The first one is the gradient of all the row values and the second one is the gradient along the column. If you want to calculate row-wise then pass the axis =0 as an argument to the gradient() method and for column-wise axis =1. These are some basic examples that show you how to calculate numpy gradient of a NumPy array. If you have also a dataset or excel file then you can read it using the pandas module and then extract data as a NumPy array. Hope you have liked this article if you have any query or wants to know more then please contact us. We are always ready for help. Join our list Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
https://www.datasciencelearner.com/numpy-gradient-examples/
CC-MAIN-2020-50
refinedweb
586
58.99
Rotation orders are always kind of important, but on certain animations it can be pretty necessary to manage them correctly (I'll try to do a separate post on rotation orders in general later). I was just on a commercial recently where I was tasked with animating a couple of leaves fluttering into position. Somehow I got something sideways in one of the leaves and already had a fairly decent animation base down before I realized it. One leaf was correctly oriented in the rig to point in X and the other got perpendicular in Z. I built the entire rig for both as though they were pointing in X with the default rotate order (XYZ) and thus had two slightly different behaviors. I couldn't get a clean rotation down the axis of the leaf that was oriented in Z because the rotation order was incorrect (should have been ZYX, if I remember correctly). The general rule of thumb is that you usually want any channel that you'd like clean to be FIRST in the rotate order (though technically, that means it rotates last). Anyways, that's a fairly easy fix in the rig, just had to go back to my working version and change the rotate orders of the control structure elements, publish it back to the master version and done. BUT, since I'd already animated a bunch of stuff, swapping the rotation orders under the published version of the rig would mess all the rotations up. Didn't want to have to match each keyframe by eye, but there seemed to be no numerical way to match stuff up. I was banging my head against the wall when I asked Brad Friedman, who's a really smart pipeline TD at Method and he told me unequivocally, "nope. Can't be done mathematically". My next thought was to try to go to a key, orient constrain the object, delete the constraint, key it and repeat. The evil trick, though, is that this isn't even doable by hand (except to go through and key by eye), because even if you were to try and constrain then delete the constraint, then key the value, it would blow away any keys you previously had. So you can do that once, but not multiple times over the length of the animation. Ugh. So I came up with a quick little script (with a python assist from Brendon, who's another smart pipeline TD there). Basically the idea is this, you have a scene with your incorrect rotate orders already animated. Import your new rig with the correct rotation orders. Select the animated original, then the new rig, then run the script. It will find any keyframes for rotation and translation. For each keyframe, it will point and orient constrain the new rig to the old rig and store the translate and rotate values of the NEW rig (which are the numbers, at least rotation, that aren't derivable from the orig data) and then, once it's stored them all, go back and key those stored values at the correct frame for your new object. Finally, it will run an Euler filter on the lot of the new curves (I noticed some rotations can get a bit weird without it). Not perfect but serviceable and fast. Which is good cuz it was my mess up in building the rig that started the whole problem! So here's the script: zbw_swapRotateOrder.py.zip (rt-click,save as) To use this, drop it in your version/scripts folder (or wherever else you stash your python scripts) and then in Maya, select the original object, then the new rotation order rig and type: import zbw_swapRotateOrder zbw_swapRotateOrder.swapOrder() Once you've imported the script, you just need the second line to run the function thereafter, I believe. (I can write the python scripts fairly simply, but using them in Maya still seems like a pain to me)
http://williework.blogspot.com/2011/09/swapping-out-rotation-orders-under.html
CC-MAIN-2017-26
refinedweb
664
65.05
!26 73 2011/03/26 23:57:1326 49 + add special check in Ada95/configure script for ncurses6 reentrant 50 code. 51 + regen Ada html documentation. 52 + build-fix for Ada shared libraries versus the varargs workaround. 53 + add rpm and dpkg scripts for Ada95 and test directories, for test 54 builds. 55 + update test/configure macros CF_CURSES_LIBS, CF_XOPEN_SOURCE and 56 CF_X_ATHENA_LIBS. 57 + add configure check to determine if gnat's project feature supports 58 libraries, i.e., collections of .ali files. 59 + make all dereferences in Ada95 samples explicit. 60 + fix typo in comment in lib_add_wch.c (patch by Petr Pavlu). 61 + add configure check for, ifdef's for math.h which is in a separate 62 package on Solaris and potentially not installed (report by Petr 63 Pavlu). 64 > fixes for Ada95 binding (Nicolas Boulenguez): 65 + improve type-checking in Ada95 by eliminating a few warning-suppress 66 pragmas. 67 + suppress unreferenced warnings. 68 + make all dereferences in binding explicit. 69 70 20110319 71 + regen Ada html documentation. 72 + change order of -I options from ncurses*-config script when the 73 --disable-overwrite option was used, so that the subdirectory include 74 is listed first. 75 + modify the make-tar.sh scripts to add a MANIFEST and NEWS file. 76 + modify configure script to provide value for HTML_DIR in 77 Ada95/gen/Makefile.in, which depends on whether the Ada95 binding is 78 distributed separately (report by Nicolas Boulenguez). 79 + modify configure script to add -g and/or -O3 to ADAFLAGS if the 80 CFLAGS for the build has these options. 81 + amend change from 20070324, to not add 1 to the result of getmaxx 82 and getmaxy in the Ada binding (report by Nicolas Boulenguez for 83 thread in comp.lang.ada). 84 + build-fix Ada95/samples for gnat 4.5 85 + spelling fixes for Ada95/samples/explain.txt 86 > fixes for Ada95 binding (Nicolas Boulenguez): 87 + add item in Trace_Attribute_Set corresponding to TRACE_ATTRS. 88 + add workaround for binding to set_field_type(), which uses varargs. 89 The original binding from 990220 relied on the prevalent 90 implementation of varargs which did not support or need va_copy(). 91 + add dependency on gen/Makefile.in needed for *-panels.ads 92 + add Library_Options to library.gpr 93 + add Languages to library.gpr, for gprbuild 94 95 20110307 96 + revert changes to limit-checks from 20110122 (Debian #616711). 97 > minor type-cleanup of Ada95 binding (Nicolas Boulenguez): 98 + corrected a minor sign error in a field of Low_Level_Field_Type, to 99 conform to form.h. 100 + replaced C_Int by Curses_Bool as return type for some callbacks, see 101 fieldtype(3FORM). 102 + modify samples/sample-explain.adb to provide explicit message when 103 explain.txt is not found. 104 105 20110305 106 + improve makefiles for Ada95 tree (patch by Nicolas Boulenguez). 107 + fix an off-by-one error in _nc_slk_initialize() from 20100605 fixes 108 for compiler warnings (report by Nicolas Boulenguez). 109 + modify Ada95/gen/gen.c to declare unused bits in generated layouts, 110 needed to compile when chtype is 64-bits using gnat 4.4.5 111 112 20110226 5.8 release for upload to 113 114 20110226 115 + update release notes, for 5.8. 116 + regenerated html manpages. 117 + change open() in _nc_read_file_entry() to fopen() for consistency 118 with write_file(). 119 + modify misc/run_tic.in to create parent directory, in case this is 120 a new install of hashed database. 121 + fix typo in Ada95/mk-1st.awk which causes error with original awk. 122 123 20110220 124 + configure script rpath fixes from xterm #269. 125 + workaround for cygwin's non-functional features.h, to force ncurses' 126 configure script to define _XOPEN_SOURCE_EXTENDED when building 127 wide-character configuration. 128 + build-fix in run_tic.sh for OS/2 EMX install 129 + add cons25-debian entry (patch by Brian M Carlson, Debian #607662). 130 131 20110212 132 + regenerated html manpages. 133 + use _tracef() in show_where() function of tic, to work correctly with 134 special case of trace configuration. 135 136 20110205 137 + add xterm-utf8 entry as a demo of the U8 feature -TD 138 + add U8 feature to denote entries for terminal emulators which do not 139 support VT100 SI/SO when processing UTF-8 encoding -TD 140 + improve the NCURSES_NO_UTF8_ACS feature by adding a check for an 141 extended terminfo capability U8 (prompted by mailing list 142 discussion). 143 144 20110122 145 + start documenting interface changes for upcoming 5.8 release. 146 + correct limit-checks in derwin(). 147 + correct limit-checks in newwin(), to ensure that windows have nonzero 148 size (report by Garrett Cooper). 149 + fix a missing "weak" declaration for pthread_kill (patch by Nicholas 150 Alcock). 151 + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted 152 by discussion with Kevin Martin). 153 154 20110115 155 + modify Ada95/configure script to make the --with-curses-dir option 156 work without requiring the --with-ncurses option. 157 + modify test programs to allow them to be built with NetBSD curses. 158 + document thick- and double-line symbols in curs_add_wch.3x manpage. 159 + document WACS_xxx constants in curs_add_wch.3x manpage. 160 + fix some warnings for clang 2.6 "--analyze" 161 + modify Ada95 makefiles to make html-documentation with the project 162 file configuration if that is used. 163 + update config.guess, config.sub 164 165 20110108 166 + regenerated html manpages. 167 + minor fixes to enable lint when trace is not enabled, e.g., with 168 clang --analyze. 169 + fix typo in man/default_colors.3x (patch by Tim van der Molen). 170 + update ncurses/llib-lncurses* 171 172 20110101 173 + fix remaining strict compiler warnings in ncurses library ABI=5, 174 except those dealing with function pointers, etc. 175 176 20101225 177 + modify nc_tparm.h, adding guards against repeated inclusion, and 178 allowing TPARM_ARG to be overridden. 179 + fix some strict compiler warnings in ncurses library. 180 181 20101211 182 + suppress ncv in screen entry, allowing underline (patch by Alejandro 183 R Sedeno). 184 + also suppress ncv in konsole-base -TD 185 + fixes in wins_nwstr() and related functions to ensure that special 186 characters, i.e., control characters are handled properly with the 187 wide-character configuration. 188 + correct a comparison in wins_nwstr() (Redhat #661506). 189 + correct help-messages in some of the test-programs, which still 190 referred to quitting with 'q'. 191 192 20101204 193 + add special case to _nc_infotocap() to recognize the setaf/setab 194 strings from xterm+256color and xterm+88color, and provide a reduced 195 version which works with termcap. 196 + remove obsolete emacs "Local Variables" section from documentation 197 (request by Sven Joachim). 198 + update doc/html/index.html to include NCURSES-Programming-HOWTO.html 199 (report by Sven Joachim). 200 201 20101128 202 + modify test/configure and test/Makefile.in to handle this special 203 case of building within a build-tree (Debian #34182): 204 mkdir -p build && cd build && ../test/configure && make 205 206 20101127 207 + miscellaneous build-fixes for Ada95 and test-directories when built 208 out-of-tree. 209 + use VPATH in makefiles to simplify out-of-tree builds (Debian #34182). 210 + fix typo in rmso for tek4106 entry -Goran Weinholt 211 212 20101120 213 + improve checks in test/configure for X libraries, from xterm #267 214 changes. 215 + modify test/configure to allow it to use the build-tree's libraries 216 e.g., when using that to configure the test-programs without the 217 rpath feature (request by Sven Joachim). 218 + repurpose "gnome" terminfo entries as "vte", retaining "gnome" items 219 for compatibility, but generally deprecating those since the VTE 220 library is what actually defines the behavior of "gnome", etc., 221 since 2003 -TD 222 223 20101113 224 + compiler warning fixes for test programs. 225 + various build-fixes for test-programs with pdcurses. 226 + updated configure checks for X packages in test/configure from xterm 227 #267 changes. 228 + add configure check to gnatmake, to accommodate cygwin. 229 230 20101106 231 + correct list of sub-directories needed in Ada95 tree for building as 232 a separate package. 233 + modify scripts in test-directory to improve builds as a separate 234 package. 235 236 20101023 237 + correct parsing of relative tab-stops in tabs program (report by 238 Philip Ganchev). 239 + adjust configure script so that "t" is not added to library suffix 240 when weak-symbols are used, allowing the pthread configuration to 241 more closely match the non-thread naming (report by Werner Fink). 242 + modify configure check for tic program, used for fallbacks, to a 243 warning if not found. This makes it simpler to use additonal 244 scripts to bootstrap the fallbacks code using tic from the build 245 tree (report by Werner Fink). 246 + fix several places in configure script using ${variable-value} form. 247 + modify configure macro CF_LDFLAGS_STATIC to accommodate some loaders 248 which do not support selectively linking against static libraries 249 (report by John P. Hartmann) 250 + fix an unescaped dash in man/tset.1 (report by Sven Joachim). 251 252 20101009 253 + correct comparison used for setting 16-colors in linux-16color 254 entry (Novell #644831) -TD 255 + improve linux-16color entry, using "dim" for color-8 which makes it 256 gray rather than black like color-0 -TD 257 + drop misc/ncu-indent and misc/jpf-indent; they are provided by an 258 external package "cindent". 259 260 20101002 261 + improve linkages in html manpages, adding references to the newer 262 pages, e.g., *_variables, curs_sp_funcs, curs_threads. 263 + add checks in tic for inconsistent cursor-movement controls, and for 264 inconsistent printer-controls. 265 + fill in no-parameter forms of cursor-movement where a parameterized 266 form is available -TD 267 + fill in missing cursor controls where the form of the controls is 268 ANSI -TD 269 + fix inconsistent punctuation in form_variables manpage (patch by 270 Sven Joachim). 271 + add parameterized cursor-controls to linux-basic (report by Dae) -TD 272 > patch by Juergen Pfeifer: 273 + document how to build 32-bit libraries in README.MinGW 274 + fixes to filename computation in mk-dlls.sh.in 275 + use POSIX locale in mk-dlls.sh.in rather than en_US (report by Sven 276 Joachim). 277 + add a check in mk-dlls.sh.in to obtain the size of a pointer to 278 distinguish between 32-bit and 64-bit hosts. The result is stored 279 in mingw_arch 280 281 20100925 282 + add "XT" capability to entries for terminals that support both 283 xterm-style mouse- and title-controls, for "screen" which 284 special-cases TERM beginning with "xterm" or "rxvt" -TD 285 > patch by Juergen Pfeifer: 286 + use 64-Bit MinGW toolchain (recommended package from TDM, see 287 README.MinGW). 288 + support pthreads when using the TDM MinGW toolchain 289 290 20100918 291 + regenerated html manpages. 292 + minor fixes for symlinks to curs_legacy.3x and curs_slk.3x manpages. 293 + add manpage for sp-funcs. 294 + add sp-funcs to test/listused.sh, for documentation aids. 295 296 20100911 297 + add manpages for summarizing public variables of curses-, terminfo- 298 and form-libraries. 299 + minor fixes to manpages for consistency (patch by Jason McIntyre). 300 + modify tic's -I/-C dump to reformat acsc strings into canonical form 301 (sorted, unique mapping) (cf: 971004). 302 + add configure check for pthread_kill(), needed for some old 303 platforms. 304 305 20100904 306 + add configure option --without-tests, to suppress building test 307 programs (request by Frederic L W Meunier). 308 309 20100828 310 + modify nsterm, xnuppc and tek4115 to make sgr/sgr0 consistent -TD 311 + add check in terminfo source-reader to provide more informative 312 message when someone attempts to run tic on a compiled terminal 313 description (prompted by Debian #593920). 314 + note in infotocap and captoinfo manpages that they read terminal 315 descriptions from text-files (Debian #593920). 316 + improve acsc string for vt52, show arrow keys (patch by Benjamin 317 Sittler). 318 319 20100814 320 + document in manpages that "mv" functions first use wmove() to check 321 the window pointer and whether the position lies within the window 322 (suggested by Poul-Henning Kamp). 323 + fixes to curs_color.3x, curs_kernel.3x and wresize.3x manpages (patch 324 by Tim van der Molen). 325 + modify configure script to transform library names for tic- and 326 tinfo-libraries so that those build properly with Mac OS X shared 327 library configuration. 328 + modify configure script to ensure that it removes conftest.dSYM 329 directory leftover on checks with Mac OS X. 330 + modify configure script to cleanup after check for symbolic links. 331 332 20100807 333 + correct a typo in mk-1st.awk (patch by Gabriele Balducci) 334 (cf: 20100724) 335 + improve configure checks for location of tic and infocmp programs 336 used for installing database and for generating fallback data, 337 e.g., for cross-compiling. 338 + add Markus Kuhn's wcwidth function for compiling MinGW 339 + add special case to CF_REGEX for cross-compiling to MinGW target. 340 341 20100731 342 + modify initialization check for win32con driver to eliminate need for 343 special case for TERM "unknown", using terminal database if available 344 (prompted by discussion with Roumen Petrov). 345 + for MinGW port, ensure that terminal driver is setup if tgetent() 346 is called (patch by Roumen Petrov). 347 + document tabs "-0" and "-8" options in manpage. 348 + fix Debian "lintian" issues with manpages reported in 349 350 351 20100724 352 + add a check in tic for missing set_tab if clear_all_tabs given. 353 + improve use of symbolic links in makefiles by using "-f" option if 354 it is supported, to eliminate temporary removal of the target 355 (prompted by) 356 + minor improvement to test/ncurses.c, reset color pairs in 'd' test 357 after exit from 'm' main-menu command. 358 + improved ncu-indent, from mawk changes, allows more than one of 359 GCC_NORETURN, GCC_PRINTFLIKE and GCC_SCANFLIKE on a single line. 360 361 20100717 362 + add hard-reset for rs2 to wsvt25 to help ensure that reset ends 363 the alternate character set (patch by Nicholas Marriott) 364 + remove tar-copy.sh and related configure/Makefile chunks, since the 365 Ada95 binding is now installed using rules in Ada95/src. 366 367 20100703 368 + continue integrating changes to use gnatmake project files in Ada95 369 + add/use configure check to turn on project rules for Ada95/src. 370 + revert the vfork change from 20100130, since it does not work. 371 372 20100626 373 + continue integrating changes to use gnatmake project files in Ada95 374 + old gnatmake (3.15) does not produce libraries using project-file; 375 work around by adding script to generate alternate makefile. 376 377 20100619 378 + continue integrating changes to use gnatmake project files in Ada95 379 + add configure --with-ada-sharedlib option, for the test_make rule. 380 + move Ada95-related logic into aclocal.m4, since additional checks 381 will be needed to distinguish old/new implementations of gnat. 382 383 20100612 384 + start integrating changes to use gnatmake project files in Ada95 tree 385 + add test_make / test_clean / test_install rules in Ada95/src 386 + change install-path for adainclude directory to /usr/share/ada (was 387 /usr/lib/ada). 388 + update Ada95/configure. 389 + add mlterm+256color entry, for mlterm 3.0.0 -TD 390 + modify test/configure to use macros to ensure consistent order 391 of updating LIBS variable. 392 393 20100605 394 + change search order of options for Solaris in CF_SHARED_OPTS, to 395 work with 64-bit compiles. 396 + correct quoting of assignment in CF_SHARED_OPTS case for aix 397 (cf: 20081227) 398 399 20100529 400 + regenerated html documentation. 401 + modify test/configure to support pkg-config for checking X libraries 402 used by PDCurses. 403 + add/use configure macro CF_ADD_LIB to force consistency of 404 assignments to $LIBS, etc. 405 + fix configure script for combining --with-pthread 406 and --enable-weak-symbols options. 407 408 20100522 409 + correct cross-compiling configure check for CF_MKSTEMP macro, by 410 adding a check cache variable set by AC_CHECK_FUNC (report by 411 Pierre Labastie). 412 + simplify include-dependencies of make_hash and make_keys, to reduce 413 the need for setting BUILD_CPPFLAGS in cross-compiling when the 414 build- and target-machines differ. 415 + repair broken-linker configuration by restoring a definition of SP 416 variable to curses.priv.h, and adjusting for cases where sp-funcs 417 are used. 418 + improve configure macro CF_AR_FLAGS, allowing ARFLAGS environment 419 variable to override (prompted by report by Pablo Cazallas). 420 421 20100515 422 + add configure option --enable-pthreads-eintr to control whether the 423 new EINTR feature is enabled. 424 + modify logic in pthread configuration to allow EINTR to interrupt 425 a read operation in wgetch() (Novell #540571, patch by Werner Fink). 426 + drop mkdirs.sh, use "mkdir -p". 427 + add configure option --disable-libtool-version, to use the 428 "-version-number" feature which was added in libtool 1.5 (report by 429 Peter Haering). The default value for the option uses the newer 430 feature, which makes libraries generated using libtool compatible 431 with the standard builds of ncurses. 432 + updated test/configure to match configure script macros. 433 + fixes for configure script from lynx changes: 434 + improve CF_FIND_LINKAGE logic for the case where a function is 435 found in predefined libraries. 436 + revert part of change to CF_HEADER (cf: 20100424) 437 438 20100501 439 + correct limit-check in wredrawln, accounting for begy/begx values 440 (patch by David Benjamin). 441 + fix most compiler warnings from clang. 442 + amend build-fix for OpenSolaris, to ensure that a system header is 443 included in curses.h before testing feature symbols, since they 444 may be defined by that route. 445 446 20100424 447 + fix some strict compiler warnings in ncurses library. 448 + modify configure macro CF_HEADER_PATH to not look for variations in 449 the predefined include directories. 450 + improve configure macros CF_GCC_VERSION and CF_GCC_WARNINGS to work 451 with gcc 4.x's c89 alias, which gives warning messages for cases 452 where older versions would produce an error. 453 454 20100417 455 + modify _nc_capcmp() to work with cancelled strings. 456 + correct translation of "^" in _nc_infotocap(), used to transform 457 terminfo to termcap strings 458 + add configure --disable-rpath-hack, to allow disabling the feature 459 which adds rpath options for libraries in unusual places. 460 + improve CF_RPATH_HACK_2 by checking if the rpath option for a given 461 directory was already added. 462 + improve CF_RPATH_HACK_2 by using ldd to provide a standard list of 463 directories (which will be ignored). 464 465 20100410 466 + improve win_driver.c handling of mouse: 467 + discard motion events 468 + avoid calling _nc_timed_wait when there is a mouse event 469 + handle 4th and "rightmost" buttons. 470 + quote substitutions in CF_RPATH_HACK_2 configure macro, needed for 471 cases where there are embedded blanks in the rpath option. 472 473 20100403 474 + add configure check for exctags vs ctags, to work around pkgsrc. 475 + simplify logic in _nc_get_screensize() to make it easier to see how 476 environment variables may override system- and terminfo-values 477 (prompted by discussion with Igor Bujna). 478 + make debug-traces for COLOR_PAIR and PAIR_NUMBER less verbose. 479 + improve handling of color-pairs embedded in attributes for the 480 extended-colors configuration. 481 + modify MKlib_gen.sh to build link_test with sp-funcs. 482 + build-fixes for OpenSolaris aka Solaris 11, for wide-character 483 configuration as well as for rpath feature in *-config scripts. 484 485 20100327 486 + refactor CF_SHARED_OPTS configure macro, making CF_RPATH_HACK more 487 reusable. 488 + improve configure CF_REGEX, similar fixes. 489 + improve configure CF_FIND_LINKAGE, adding add check between system 490 (default) and explicit paths, where we can find the entrypoint in the 491 given library. 492 + add check if Gpm_Open() returns a -2, e.g., for "xterm". This is 493 normally suppressed but can be overridden using $NCURSES_GPM_TERMS. 494 Ensure that Gpm_Close() is called in this case. 495 496 20100320 497 + rename atari and st52 terminfo entries to atari-old, st52-old, use 498 newer entries from FreeMiNT by Guido Flohr (from patch/report by Alan 499 Hourihane). 500 501 20100313 502 + modify install-rule for manpages so that *-config manpages will 503 install when building with --srcdir (report by Sven Joachim). 504 + modify CF_DISABLE_LEAKS configure macro so that the --enable-leaks 505 option is not the same as --disable-leaks (GenToo #305889). 506 + modify #define's for build-compiler to suppress cchar_t symbol from 507 compile of make_hash and make_keys, improving cross-compilation of 508 ncursesw (report by Bernhard Rosenkraenzer). 509 + modify CF_MAN_PAGES configure macro to replace all occurrences of 510 TPUT in tput.1's manpage (Debian #573597, report/analysis by Anders 511 Kaseorg). 512 513 20100306 514 + generate manpages for the *-config scripts, adapted from help2man 515 (suggested by Sven Joachim). 516 + use va_copy() in _nc_printf_string() to avoid conflicting use of 517 va_list value in _nc_printf_length() (report by Wim Lewis). 518 519 20100227 520 + add Ada95/configure script, to use in tar-file created by 521 Ada95/make-tar.sh 522 + fix typo in wresize.3x (patch by Tim van der Molen). 523 + modify screen-bce.XXX entries to exclude ech, since screen's color 524 model does not clear with color for that feature -TD 525 526 20100220 527 + add make-tar.sh scripts to Ada95 and test subdirectories to help with 528 making those separately distributable. 529 + build-fix for static libraries without dlsym (Debian #556378). 530 + fix a syntax error in man/form_field_opts.3x (patch by Ingo 531 Schwarze). 532 533 20100213 534 + add several screen-bce.XXX entries -TD 535 536 20100206 537 + update mrxvt terminfo entry -TD 538 + modify win_driver.c to support mouse single-clicks. 539 + correct name for termlib in ncurses*-config, e.g., if it is renamed 540 to provide a single file for ncurses/ncursesw libraries (patch by 541 Miroslav Lichvar). 542 543 20100130 544 + use vfork in test/ditto.c if available (request by Mike Frysinger). 545 + miscellaneous cleanup of manpages. 546 + fix typo in curs_bkgd.3x (patch by Tim van der Molen). 547 + build-fix for --srcdir (patch by Miroslav Lichvar). 548 549 20100123 550 + for term-driver configuration, ensure that the driver pointer is 551 initialized in setupterm so that terminfo/termcap programs work. 552 + amend fix for Debian #542031 to ensure that wattrset() returns only 553 OK or ERR, rather than the attribute value (report by Miroslav 554 Lichvar). 555 + reorder WINDOWLIST to put WINDOW data after SCREEN pointer, making 556 _nc_screen_of() compatible between normal/wide libraries again (patch 557 by Miroslav Lichvar) 558 + review/fix include-dependencies in modules files (report by Miroslav 559 Lichvar). 560 561 20100116 562 + modify win_driver.c to initialize acs_map for win32 console, so 563 that line-drawing works. 564 + modify win_driver.c to initialize TERMINAL struct so that programs 565 such as test/lrtest.c and test/ncurses.c which test string 566 capabilities can run. 567 + modify term-driver modules to eliminate forward-reference 568 declarations. 569 570 20100109 571 + modify configure macro CF_XOPEN_SOURCE, etc., to use CF_ADD_CFLAGS 572 consistently to add new -D's while removing duplicates. 573 + modify a few configure macros to consistently put new options 574 before older in the list. 575 + add tiparm(), based on review of X/Open Curses Issue 7. 576 + minor documentation cleanup. 577 + update config.guess, config.sub from 578 579 (caveat - its maintainer put 2010 copyright date on files dated 2009) 580 581 20100102 582 + minor improvement to tic's checking of similar SGR's to allow for the 583 most common case of SGR 0. 584 + modify getmouse() to act as its documentation implied, returning on 585 each call the preceding event until none are left. When no more 586 events remain, it will return ERR. 587 588 20091227 589 + change order of lookup in progs/tput.c, looking for terminfo data 590 first. This fixes a confusion between termcap "sg" and terminfo 591 "sgr" or "sgr0", originally from 990123 changes, but exposed by 592 20091114 fixes for hashing. With this change, only "dl" and "ed" are 593 ambiguous (Mandriva #56272). 594 595 20091226 596 + add bterm terminfo entry, based on bogl 0.1.18 -TD 597 + minor fix to rxvt+pcfkeys terminfo entry -TD 598 + build-fixes for Ada95 tree for gnat 4.4 "style". 599 600 20091219 601 + remove old check in mvderwin() which prevented moving a derived 602 window whose origin happened to coincide with its parent's origin 603 (report by Katarina Machalkova). 604 + improve test/ncurses.c to put mouse droppings in the proper window. 605 + update minix terminfo entry -TD 606 + add bw (auto-left-margin) to nsterm* entries (Benjamin Sittler) 607 608 20091212 609 + correct transfer of multicolumn characters in multirow 610 field_buffer(), which stopped at the end of the first row due to 611 filling of unused entries in a cchar_t array with nulls. 612 + updated nsterm* entries (Benjamin Sittler, Emanuele Giaquinta) 613 + modify _nc_viscbuf2() and _tracecchar_t2() to show wide-character 614 nulls. 615 + use strdup() in set_menu_mark(), restore .marklen struct member on 616 failure. 617 + eliminate clause 3 from the UCB copyrights in read_termcap.c and 618 tset.c per 619 620 (patch by Nicholas Marriott). 621 + replace a malloc in tic.c with strdup, checking for failure (patch by 622 Nicholas Marriott). 623 + update config.guess, config.sub from 624 625 626 20091205 627 + correct layout of working window used to extract data in 628 wide-character configured by set_field_buffer (patch by Rafael 629 Garrido Fernandez) 630 + improve some limit-checks related to filename length in reading and 631 writing terminfo entries. 632 + ensure that filename is always filled in when attempting to read 633 a terminfo entry, so that infocmp can report the filename (patch 634 by Nicholas Marriott). 635 636 20091128 637 + modify mk-1st.awk to allow tinfo library to be built when term-driver 638 is enabled. 639 + add error-check to configure script to ensure that sp-funcs is 640 enabled if term-driver is, since some internal interfaces rely upon 641 this. 642 643 20091121 644 + fix case where progs/tput is used while sp-funcs is configure; this 645 requires save/restore of out-character function from _nc_prescreen 646 rather than the SCREEN structure (report by Charles Wilson). 647 + fix typo in man/curs_trace.3x which caused incorrect symbolic links 648 + improved configure macros CF_GCC_ATTRIBUTES, CF_PROG_LINT. 649 650 20091114 651 652 + updated man/curs_trace.3x 653 + limit hashing for termcap-names to 2-characters (Ubuntu #481740). 654 + change a variable name in lib_newwin.c to make it clearer which 655 value is being freed on error (patch by Nicholas Marriott). 656 657 20091107 658 + improve test/ncurses.c color-cycling test by reusing attribute- 659 and color-cycling logic from the video-attributes screen. 660 + add ifdef'd with NCURSES_INTEROP_FUNCS experimental bindings in form 661 library which help make it compatible with interop applications 662 (patch by Juergen Pfeifer). 663 + add configure option --enable-interop, for integrating changes 664 for generic/interop support to form-library by Juergen Pfeifer 665 666 20091031 667 + modify use of $CC environment variable which is defined by X/Open 668 as a curses feature, to ignore it if it is not a single character 669 (prompted by discussion with Benjamin C W Sittler). 670 + add START_TRACE in slk_init 671 + fix a regression in _nc_ripoffline which made test/ncurses.c not show 672 soft-keys, broken in 20090927 merging. 673 + change initialization of "hidden" flag for soft-keys from true to 674 false, broken in 20090704 merging (Ubuntu #464274). 675 + update nsterm entries (patch by Benjamin C W Sittler, prompted by 676 discussion with Fabian Groffen in GenToo #206201). 677 + add test/xterm-256color.dat 678 679 20091024 680 + quiet some pedantic gcc warnings. 681 + modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a 682 SIGWINCH, and discard that value, to avoid confusing application 683 (patch by Eygene Ryabinkin, FreeBSD bin/136223). 684 685 20091017 686 + modify handling of $PKG_CONFIG_LIBDIR to use only the first item in 687 a possibly colon-separated list (Debian #550716). 688 689 20091010 690 + supply a null-terminator to buffer in _nc_viswibuf(). 691 + fix a sign-extension bug in unget_wch() (report by Mike Gran). 692 + minor fixes to error-returns in default function for tputs, as well 693 as in lib_screen.c 694 695 20091003 696 + add WACS_xxx definitions to wide-character configuration for thick- 697 and double-lines (discussion with Slava Zanko). 698 + remove unnecessary kcan assignment to ^C from putty (Sven Joachim) 699 + add ccc and initc capabilities to xterm-16color -TD 700 > patch by Benjamin C W Sittler: 701 + add linux-16color 702 + correct initc capability of linux-c-nc end-of-range 703 + similar change for dg+ccc and dgunix+ccc 704 705 20090927 706 + move leak-checking for comp_captab.c into _nc_leaks_tinfo() since 707 that module since 20090711 is in libtinfo. 708 + add configure option --enable-term-driver, to allow compiling with 709 terminal-driver. That is used in MinGW port, and (being somewhat 710 more complicated) is an experimental alternative to the conventional 711 termlib internals. Currently, it requires the sp-funcs feature to 712 be enabled. 713 + completed integrating "sp-funcs" by Juergen Pfeifer in ncurses 714 library (some work remains for forms library). 715 716 20090919 717 + document return code from define_key (report by Mike Gran). 718 + make some symbolic links in the terminfo directory-tree shorter 719 (patch by Daniel Jacobowitz, forwarded by Sven Joachim).). 720 + fix some groff warnings in terminfo.5, etc., from recent Debian 721 changes. 722 + change ncv and op capabilities in sun-color terminfo entry to match 723 Sun's entry for this (report by Laszlo Peter). 724 + improve interix smso terminfo capability by using reverse rather than 725 bold (report by Kristof Zelechovski). 726 727 20090912 728 + add some test programs (and make these use the same special keys 729 by sharing linedata.h functions): 730 test/test_addstr.c 731 test/test_addwstr.c 732 test/test_addchstr.c 733 test/test_add_wchstr.c 734 + correct internal _nc_insert_ch() to use _nc_insert_wch() when 735 inserting wide characters, since the wins_wch() function that it used 736 did not update the cursor position (report by Ciprian Craciun). 737 738 20090906 739 + fix typo s/is_timeout/is_notimeout/ which made "man is_notimeout" not 740 work. 741 + add null-pointer checks to other opaque-functions. 742 + add is_pad() and is_subwin() functions for opaque access to WINDOW 743 (discussion with Mark Dickinson). 744 + correct merge to lib_newterm.c, which broke when sp-funcs was 745 enabled. 746 747 20090905 748 + build-fix for building outside source-tree (report by Sven Joachim). 749 + fix Debian lintian warning for man/tabs.1 by making section number 750 agree with file-suffix (report by Sven Joachim). 751 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 752 753 20090829 754 + workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro on 755 amd64 (Debian #542031). 756 + fix typo in curs_mouse.3x (Debian #429198). 757 758 20090822 759 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 760 761 20090815 762 + correct use of terminfo capabilities for initializing soft-keys, 763 broken in 20090509 merging. 764 + modify wgetch() to ensure it checks SIGWINCH when it gets an error 765 in non-blocking mode (patch by Clemens Ladisch). 766 + use PATH_SEPARATOR symbol when substituting into run_tic.sh, to 767 help with builds on non-Unix platforms such as OS/2 EMX. 768 + modify scripting for misc/run_tic.sh to test configure script's 769 $cross_compiling variable directly rather than comparing host/build 770 compiler names (prompted by comment in GenToo #249363). 771 + fix configure script option --with-database, which was coded as an 772 enable-type switch. 773 + build-fixes for --srcdir (report by Frederic L W Meunier). 774 775 20090808 776 + separate _nc_find_entry() and _nc_find_type_entry() from 777 implementation details of hash function. 778 779 20090803 780 + add tabs.1 to man/man_db.renames 781 + modify lib_addch.c to compensate for removal of wide-character test 782 from unctrl() in 20090704 (Debian #539735). 783 784 20090801 785 + improve discussion in INSTALL for use of system's tic/infocmp for 786 cross-compiling and building fallbacks. 787 + modify test/demo_termcap.c to correspond better to options in 788 test/demo_terminfo.c 789 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 790 + fix logic for 'V' in test/ncurses.c tests f/F. 791 792 20090728 793 + correct logic in tigetnum(), which caused tput program to treat all 794 string capabilities as numeric (report by Rajeev V Pillai, 795 cf: 20090711). 796 797 20090725 798 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 799 800 20090718 801 + fix a null-pointer check in _nc_format_slks() in lib_slk.c, from 802 20070704 changes. 803 + modify _nc_find_type_entry() to use hashing. 804 + make CCHARW_MAX value configurable, noting that changing this would 805 change the size of cchar_t, and would be ABI-incompatible. 806 + modify test-programs, e.g,. test/view.c, to address subtle 807 differences between Tru64/Solaris and HPUX/AIX getcchar() return 808 values. 809 + modify length returned by getcchar() to count the trailing null 810 which is documented in X/Open (cf: 20020427). 811 + fixes for test programs to build/work on HPUX and AIX, etc. 812 813 20090711 814 + improve performance of tigetstr, etc., by using hashing code from tic. 815 + minor fixes for memory-leak checking. 816 + add test/demo_terminfo, for comparison with demo_termcap 817 818 20090704 819 + remove wide-character checks from unctrl() (patch by Clemens Ladisch). 820 + revise wadd_wch() and wecho_wchar() to eliminate dependency on 821 unctrl(). 822 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 823 824 20090627 825 + update llib-lncurses[wt] to use sp-funcs. 826 + various code-fixes to build/work with --disable-macros configure 827 option. 828 + add several new files from Juergen Pfeifer which will be used when 829 integration of "sp-funcs" is complete. This includes a port to 830 MinGW. 831 832 20090613 833 + move definition for NCURSES_WRAPPED_VAR back to ncurses_dll.h, to 834 make includes of term.h without curses.h work (report by "Nix"). 835 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 836 837 20090607 838 + fix a regression in lib_tputs.c, from ongoing merges. 839 840 20090606 841 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 842 843 20090530 844 + fix an infinite recursion when adding a legacy-coding 8-bit value 845 using insch() (report by Clemens Ladisch). 846 + free home-terminfo string in del_curterm() (patch by Dan Weber). 847 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 848 849 20090523 850 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 851 852 20090516 853 + work around antique BSD game's manipulation of stdscr, etc., versus 854 SCREEN's copy of the pointer (Debian #528411). 855 + add a cast to wattrset macro to avoid compiler warning when comparing 856 its result against ERR (adapted from patch by Matt Kraii, Debian 857 #528374). 858 859 20090510 860 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 861 862 20090502 863 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 864 + add vwmterm terminfo entry (patch by Bryan Christ). 865 866 20090425 867 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 868 869 20090419 870 + build fix for _nc_free_and_exit() change in 20090418 (report by 871 Christian Ebert). 872 873 20090418 874 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 875 876 20090411 877 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 878 This change finishes merging for menu and panel libraries, does 879 part of the form library. 880 881 20090404 882 + suppress configure check for static/dynamic linker flags for gcc on 883 Darwin (report by Nelson Beebe). 884 885 20090328 886 + extend ansi.sys pfkey capability from kf1-kf10 to kf1-kf48, moving 887 function key definitions from emx-base for consistency -TD 888 + correct missing final 'p' in pfkey capability of ansi.sys-old (report 889 by Kalle Olavi Niemitalo). 890 + improve test/ncurses.c 'F' test, show combining characters in color. 891 + quiet a false report by cppcheck in c++/cursesw.cc by eliminating 892 a temporary variable. 893 + use _nc_doalloc() rather than realloc() in a few places in ncurses 894 library to avoid leak in out-of-memory condition (reports by William 895 Egert and Martin Ettl based on cppcheck tool). 896 + add --with-ncurses-wrap-prefix option to test/configure (discussion 897 with Charles Wilson). 898 + use ncurses*-config scripts if available for test/configure. 899 + update test/aclocal.m4 and test/configure 900 > patches by Charles Wilson: 901 + modify CF_WITH_LIBTOOL configure check to allow unreleased libtool 902 version numbers (e.g. which include alphabetic chars, as well as 903 digits, after the final '.'). 904 + improve use of -no-undefined option for libtool by setting an 905 intermediate variable LT_UNDEF in the configure script, and then 906 using that in the libtool link-commands. 907 + fix an missing use of NCURSES_PUBLIC_VAR() in tinfo/MKcodes.awk 908 from 2009031 changes. 909 + improve mk-1st.awk script by writing separate cases for the 910 LIBTOOL_LINK command, depending on which library (ncurses, ticlib, 911 termlib) is to be linked. 912 + modify configure.in to allow broken-linker configurations, not just 913 enable-reentrant, to set public wrap prefix. 914 915 20090321 916 + add TICS_LIST and SHLIB_LIST to allow libtool 2.2.6 on Cygwin to 917 build with tic and term libraries (patch by Charles Wilson). 918 + add -no-undefined option to libtool for Cygwin, MinGW, U/Win and AIX 919 (report by Charles Wilson). 920 + fix definition for c++/Makefile.in's SHLIB_LIST, which did not list 921 the form, menu or panel libraries (patch by Charles Wilson). 922 + add configure option --with-wrap-prefix to allow setting the prefix 923 for functions used to wrap global variables to something other than 924 "_nc_" (discussion with Charles Wilson). 925 926 20090314 927 + modify scripts to generate ncurses*-config and pc-files to add 928 dependency for tinfo library (patch by Charles Wilson). 929 + improve comparison of program-names when checking for linked flavors 930 such as "reset" by ignoring the executable suffix (reports by Charles 931 Wilson, Samuel Thibault and Cedric Bretaudeau on Cygwin mailing 932 list). 933 + suppress configure check for static/dynamic linker flags for gcc on 934 Solaris 10, since gcc is confused by absence of static libc, and 935 does not switch back to dynamic mode before finishing the libraries 936 (reports by Joel Bertrand, Alan Pae). 937 + minor fixes to Intel compiler warning checks in configure script. 938 + modify _nc_leaks_tinfo() so leak-checking in test/railroad.c works. 939 + modify set_curterm() to make broken-linker configuration work with 940 changes from 20090228 (report by Charles Wilson). 941 942 20090228 943 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 944 + modify declaration of cur_term when broken-linker is used, but 945 enable-reentrant is not, to match pre-5.7 (report by Charles Wilson). 946 947 20090221 948 + continue integrating "sp-funcs" by Juergen Pfeifer (incomplete). 949 950 20090214 951 + add configure script --enable-sp-funcs to enable the new set of 952 extended functions. 953 + start integrating patches by Juergen Pfeifer: 954 + add extended functions which specify the SCREEN pointer for several 955 curses functions which use the global SP (these are incomplete; 956 some internals work is needed to complete these). 957 + add special cases to configure script for MinGW port. 958 959 20090207 960 + update several configure macros from lynx changes 961 + append (not prepend) to CFLAGS/CPPFLAGS 962 + change variable from PATHSEP to PATH_SEPARATOR 963 + improve install-rules for pc-files (patch by Miroslav Lichvar). 964 + make it work with $DESTDIR 965 + create the pkg-config library directory if needed. 966 967 20090124 968 + modify init_pair() to allow caller to create extra color pairs beyond 969 the color_pairs limit, which use default colors (request by Emanuele 970 Giaquinta). 971 + add misc/terminfo.tmp and misc/*.pc to "sources" rule. 972 + fix typo "==" where "=" is needed in ncurses-config.in and 973 gen-pkgconfig.in files (Debian #512161). 974 975 20090117 976 + add -shared option to MK_SHARED_LIB when -Bsharable is used, for 977 *BSD's, without which "main" might be one of the shared library's 978 dependencies (report/analysis by Ken Dickey). 979 + modify waddch_literal(), updating line-pointer after a multicolumn 980 character is found to not fit on the current row, and wrapping is 981 done. Since the line-pointer was not updated, the wrapped 982 multicolumn character was written to the beginning of the current row 983 (cf: 20041023, reported by "Nick" regarding problem with ncmpc 984). 985 986 20090110 987 + add screen.Eterm terminfo entry (GenToo #124887) -TD 988 + modify adacurses-config to look for ".ali" files in the adalib 989 directory. 990 + correct install for Ada95, which omitted libAdaCurses.a used in 991 adacurses-config 992 + change install for adacurses-config to provide additional flavors 993 such as adacursesw-config, for ncursesw (GenToo #167849). 994 995 20090105 996 + remove undeveloped feature in ncurses-config.in for setting 997 prefix variable. 998 + recent change to ncurses-config.in did not take into account the 999 --disable-overwrite option, which sets $includedir to the 1000 subdirectory and using just that for a -I option does not work - fix 1001 (report by Frederic L W Meunier). 1002 1003 20090104 1004 + modify gen-pkgconfig.in to eliminate a dependency on rpath when 1005 deciding whether to add $LIBS to --libs output; that should be shown 1006 for the ncurses and tinfo libraries without taking rpath into 1007 account. 1008 + fix an overlooked change from $AR_OPTS to $ARFLAGS in mk-1st.awk, 1009 used in static libraries (report by Marty Jack). 1010 1011 20090103 1012 + add a configure-time check to pick a suitable value for 1013 CC_SHARED_OPTS for Solaris (report by Dagobert Michelsen). 1014 + add configure --with-pkg-config and --enable-pc-files options, along 1015 with misc/gen-pkgconfig.in which can be used to generate ".pc" files 1016 for pkg-config (request by Jan Engelhardt). 1017 + use $includedir symbol in misc/ncurses-config.in, add --includedir 1018 option. 1019 + change makefiles to use $ARFLAGS rather than $AR_OPTS, provide a 1020 configure check to detect whether a "-" is needed before "ar" 1021 options. 1022 + update config.guess, config.sub from 1023 1024 1025 20081227 1026 + modify mk-1st.awk to work with extra categories for tinfo library. 1027 + modify configure script to allow building shared libraries with gcc 1028 on AIX 5 or 6 (adapted from patch by Lital Natan). 1029 1030 20081220 1031 + modify to omit the opaque-functions from lib_gen.o when 1032 --disable-ext-funcs is used. 1033 + add test/clip_printw.c to illustrate how to use printw without 1034 wrapping. 1035 + modify ncurses 'F' test to demo wborder_set() with colored lines. 1036 + modify ncurses 'f' test to demo wborder() with colored lines. 1037 1038 20081213 1039 + add check for failure to open hashed-database needed for db4.6 1040 (GenToo #245370). 1041 + corrected --without-manpages option; previous change only suppressed 1042 the auxiliary rules install.man and uninstall.man 1043 + add case for FreeMINT to configure macro CF_XOPEN_SOURCE (patch from 1044 GenToo #250454). 1045 + fixes from NetBSD port at 1046 1047 patch-ac (build-fix for DragonFly) 1048 patch-ae (use INSTALL_SCRIPT for installing misc/ncurses*-config). 1049 + improve configure script macros CF_HEADER_PATH and CF_LIBRARY_PATH 1050 by adding CFLAGS, CPPFLAGS and LDFLAGS, LIBS values to the 1051 search-lists. 1052 + correct title string for keybound manpage (patch by Frederic Culot, 1053 OpenBSD documentation/6019), 1054 1055 20081206 1056 + move del_curterm() call from _nc_freeall() to _nc_leaks_tinfo() to 1057 work for progs/clear, progs/tabs, etc. 1058 + correct buffer-size after internal resizing of wide-character 1059 set_field_buffer(), broken in 20081018 changes (report by Mike Gran). 1060 + add "-i" option to test/filter.c to tell it to use initscr() rather 1061 than newterm(), to investigate report on comp.unix.programmer that 1062 ncurses would clear the screen in that case (it does not - the issue 1063 was xterm's alternate screen feature). 1064 + add check in mouse-driver to disable connection if GPM returns a 1065 zero, indicating that the connection is closed (Debian #506717, 1066 adapted from patch by Samuel Thibault). 1067 1068 20081129 1069 + improve a workaround in adding wide-characters, when a control 1070 character is found. The library (cf: 20040207) uses unctrl() to 1071 obtain a printable version of the control character, but was not 1072 passing color or video attributes. 1073 + improve test/ncurses.c 'a' test, using unctrl() more consistently to 1074 display meta-characters. 1075 + turn on _XOPEN_CURSES definition in curses.h 1076 + add eterm-color entry (report by Vincent Lefevre) -TD 1077 + correct use of key_name() in test/ncurses.c 'A' test, which only 1078 displays wide-characters, not key-codes since 20070612 (report by 1079 Ricardo Cantu). 1080 1081 20081122 1082 + change _nc_has_mouse() to has_mouse(), reflect its use in C++ and 1083 Ada95 (patch by Juergen Pfeifer). 1084 + document in TO-DO an issue with Cygwin's package for GNAT (report 1085 by Mike Dennison). 1086 + improve error-checking of command-line options in "tabs" program. 1087 1088 20081115 1089 + change several terminfo entries to make consistent use of ANSI 1090 clear-all-tabs -TD 1091 + add "tabs" program (prompted by Debian #502260). 1092 + add configure --without-manpages option (request by Mike Frysinger). 1093 1094 20081102 5.7 release for upload to 1095 1096 20081025 1097 + add a manpage to discuss memory leaks. 1098 + add support for shared libraries for QNX (other than libtool, which 1099 does not work well on that platform). 1100 + build-fix for QNX C++ binding. 1101 1102 20081018 1103 + build-fixes for OS/2 EMX. 1104 + modify form library to accept control characters such as newline 1105 in set_field_buffer(), which is compatible with Solaris (report by 1106 Nit Khair). 1107 + modify configure script to assume --without-hashed-db when 1108 --disable-database is used. 1109 + add "-e" option in ncurses/Makefile.in when generating source-files 1110 to force earlier exit if the build environment fails unexpectedly 1111 (prompted by patch by Adrian Bunk). 1112 + change configure script to use CF_UTF8_LIB, improved variant of 1113 CF_LIBUTF8. 1114 1115 20081012 1116 + add teraterm4.59 terminfo entry, use that as primary teraterm entry, rename 1117 original to teraterm2.3 -TD 1118 + update "gnome" terminfo to 2.22.3 -TD 1119 + update "konsole" terminfo to 1.6.6, needs today's fix for tic -TD 1120 + add "aterm" terminfo -TD 1121 + add "linux2.6.26" terminfo -TD 1122 + add logic to tic for cancelling strings in user-defined capabilities, 1123 overlooked til now. 1124 1125 20081011 1126 + regenerated html documentation. 1127 + add -m and -s options to test/keynames.c and test/key_names.c to test 1128 the meta() function with keyname() or key_name(), respectively. 1129 + correct return value of key_name() on error; it is null. 1130 + document some unresolved issues for rpath and pthreads in TO-DO. 1131 + fix a missing prototype for ioctl() on OpenBSD in tset.c 1132 + add configure option --disable-tic-depends to make explicit whether 1133 tic library depends on ncurses/ncursesw library, amends change from 1134 20080823 (prompted by Debian #501421). 1135 1136 20081004 1137 + some build-fixes for configure --disable-ext-funcs (incomplete, but 1138 works for C/C++ parts). 1139 + improve configure-check for awks unable to handle large strings, e.g. 1140 AIX 5.1 whose awk silently gives up on large printf's. 1141 1142 20080927 1143 + fix build for --with-dmalloc by workaround for redefinition of 1144 strndup between string.h and dmalloc.h 1145 + fix build for --disable-sigwinch 1146 + add environment variable NCURSES_GPM_TERMS to allow override to use 1147 GPM on terminals other than "linux", etc. 1148 + disable GPM mouse support when $TERM does not happen to contain 1149 "linux", since Gpm_Open() no longer limits its assertion to terminals 1150 that it might handle, e.g., within "screen" in xterm. 1151 + reset mouse file-descriptor when unloading GPM library (report by 1152 Miroslav Lichvar). 1153 + fix build for --disable-leaks --enable-widec --with-termlib 1154 > patch by Juergen Pfeifer: 1155 + use improved initialization for soft-label keys in Ada95 sample code. 1156 + discard internal symbol _nc_slk_format (unused since 20080112). 1157 + move call of slk_paint_info() from _nc_slk_initialize() to 1158 slk_intern_refresh(), improving initialization. 1159 1160 20080925 1161 + fix bug in mouse code for GPM from 20080920 changes (reported in 1162 Debian #500103, also Miroslav Lichvar). 1163 1164 20080920 1165 + fix shared-library rules for cygwin with tic- and tinfo-libraries. 1166 + fix a memory leak when failure to connect to GPM. 1167 + correct check for notimeout() in wgetch() (report on linux.redhat 1168 newsgroup by FurtiveBertie). 1169 + add an example warning-suppression file for valgrind, 1170 misc/ncurses.supp (based on example from Reuben Thomas) 1171 1172 20080913 1173 + change shared-library configuration for OpenBSD, make rpath work. 1174 + build-fixes for using libutf8, e.g., on OpenBSD 3.7 1175 1176 20080907 1177 + corrected fix for --enable-weak-symbols (report by Frederic L W 1178 Meunier). 1179 1180 20080906 1181 + corrected gcc options for building shared libraries on IRIX64. 1182 + add configure check for awk programs unable to handle big-strings, 1183 use that to improve the default for --enable-big-strings option. 1184 + makefile-fixes for --enable-weak-symbols (report by Frederic L W 1185 Meunier). 1186 + update test/configure script. 1187 + adapt ifdef's from library to make test/view.c build when mbrtowc() 1188 is unavailable, e.g., with HPUX 10.20. 1189 + add configure check for wcsrtombs, mbsrtowcs, which are used in 1190 test/ncurses.c, and use wcstombs, mbstowcs instead if available, 1191 fixing build of ncursew for HPUX 11.00 1192 1193 20080830 1194 + fixes to make Ada95 demo_panels() example work. 1195 + modify Ada95 'rain' test program to accept keyboard commands like the 1196 C-version. 1197 + modify BeOS-specific ifdef's to build on Haiku (patch by Scott 1198 Mccreary). 1199 + add configure-check to see if the std namespace is legal for cerr 1200 and endl, to fix a build issue with Tru64. 1201 + consistently use NCURSES_BOOL in lib_gen.c 1202 + filter #line's from lib_gen.c 1203 + change delimiter in MKlib_gen.sh from '%' to '@', to avoid 1204 substitution by IBM xlc to '#' as part of its extensions to digraphs. 1205 + update config.guess, config.sub from 1206 1207 (caveat - its maintainer removed support for older Linux systems). 1208 1209 20080823 1210 + modify configure check for pthread library to work with OSF/1 5.1, 1211 which uses #define's to associate its header and library. 1212 + use pthread_mutexattr_init() for initializing pthread_mutexattr_t, 1213 makes threaded code work on HPUX 11.23 1214 + fix a bug in demo_menus in freeing menus (cf: 20080804). 1215 + modify configure script for the case where tic library is used (and 1216 possibly renamed) to remove its dependency upon ncurses/ncursew 1217 library (patch by Dr Werner Fink). 1218 + correct manpage for menu_fore() which gave wrong default for 1219 the attribute used to display a selected entry (report by Mike Gran). 1220 + add Eterm-256color, Eterm-88color and rxvt-88color (prompted by 1221 Debian #495815) -TD 1222 1223 20080816 1224 + add configure option --enable-weak-symbols to turn on new feature. 1225 + add configure-check for availability of weak symbols. 1226 + modify linkage with pthread library to use weak symbols so that 1227 applications not linked to that library will not use the mutexes, 1228 etc. This relies on gcc, and may be platform-specific (patch by Dr 1229 Werner Fink). 1230 + add note to INSTALL to document limitation of renaming of tic library 1231 using the --with-ticlib configure option (report by Dr Werner Fink). 1232 + document (in manpage) why tputs does not detect I/O errors (prompted 1233 by comments by Samuel Thibault). 1234 + fix remaining warnings from Klocwork report. 1235 1236 20080804 1237 + modify _nc_panelhook() data to account for a permanent memory leak. 1238 + fix memory leaks in test/demo_menus 1239 + fix most warnings from Klocwork tool (report by Larry Zhou). 1240 + modify configure script CF_XOPEN_SOURCE macro to add case for 1241 "dragonfly" from xterm #236 changes. 1242 + modify configure script --with-hashed-db to let $LIBS override the 1243 search for the db library (prompted by report by Samson Pierre). 1244 1245 20080726 1246 + build-fixes for gcc 4.3.1 (changes to gnat "warnings", and C inlining 1247 thresholds). 1248 1249 20080713 1250 + build-fix (reports by Christian Ebert, Funda Wang). 1251 1252 20080712 1253 + compiler-warning fixes for Solaris. 1254 1255 20080705 1256 + use NCURSES_MOUSE_MASK() in definition of BUTTON_RELEASE(), etc., to 1257 make those work properly with the "--enable-ext-mouse" configuration 1258 (cf: 20050205). 1259 + improve documentation of build-cc options in INSTALL. 1260 + work-around a bug in gcc 4.2.4 on AIX, which does not pass the 1261 -static/-dynamic flags properly to linker, causing test/bs to 1262 not link. 1263 1264 20080628 1265 + correct some ifdef's needed for the broken-linker configuration. 1266 + make debugging library's $BAUDRATE feature work for termcap 1267 interface. 1268 + make $NCURSES_NO_PADDING feature work for termcap interface (prompted 1269 by comment on FreeBSD mailing list). 1270 + add screen.mlterm terminfo entry -TD 1271 + improve mlterm and mlterm+pcfkeys terminfo entries -TD 1272 1273 20080621 1274 + regenerated html documentation. 1275 + expand manpage description of parameters for form_driver() and 1276 menu_driver() (prompted by discussion with Adam Spragg). 1277 + add null-pointer checks for cur_term in baudrate() and 1278 def_shell_mode(), def_prog_mode() 1279 + fix some memory leaks in delscreen() and wide acs. 1280 1281 20080614 1282 + modify test/ditto.c to illustrate multi-threaded use_screen(). 1283 + change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris. 1284 + add "-shared" option to MK_SHARED_LIB for gcc on Solaris (report 1285 by Poor Yorick). 1286 1287 20080607 1288 + finish changes to wgetch(), making it switch as needed to the 1289 window's actual screen when calling wrefresh() and wgetnstr(). That 1290 allows wgetch() to get used concurrently in different threads with 1291 some minor restrictions, e.g., the application should not delete a 1292 window which is being used in a wgetch(). 1293 + simplify mutex's, combining the window- and screen-mutex's. 1294 1295 20080531 1296 + modify wgetch() to use the screen which corresponds to its window 1297 parameter rather than relying on SP; some dependent functions still 1298 use SP internally. 1299 + factor out most use of SP in lib_mouse.c, using parameter. 1300 + add internal _nc_keyname(), replacing keyname() to associate with a 1301 particular SCREEN rather than the global SP. 1302 + add internal _nc_unctrl(), replacing unctrl() to associate with a 1303 particular SCREEN rather than the global SP. 1304 + add internal _nc_tracemouse(), replacing _tracemouse() to eliminate 1305 its associated global buffer _nc_globals.tracemse_buf now in SCREEN. 1306 + add internal _nc_tracechar(), replacing _tracechar() to use SCREEN in 1307 preference to the global _nc_globals.tracechr_buf buffer. 1308 1309 20080524 1310 + modify _nc_keypad() to make it switch temporarily as needed to the 1311 screen which must be updated. 1312 + wrap cur_term variable to help make _nc_keymap() thread-safe, and 1313 always set the screen's copy of this variable in set_curterm(). 1314 + restore curs_set() state after endwin()/refresh() (report/patch 1315 Miroslav Lichvar) 1316 1317 20080517 1318 + modify configure script to note that --enable-ext-colors and 1319 --enable-ext-mouse are not experimental, but extensions from 1320 the ncurses ABI 5. 1321 + corrected manpage description of setcchar() (discussion with 1322 Emanuele Giaquinta). 1323 + fix for adding a non-spacing character at the beginning of a line 1324 (report/patch by Miroslav Lichvar). 1325 1326 20080503 1327 + modify screen.* terminfo entries using new screen+fkeys to fix 1328 overridden keys in screen.rxvt (Debian #478094) -TD 1329 + modify internal interfaces to reduce wgetch()'s dependency on the 1330 global SP. 1331 + simplify some loops with macros each_screen(), each_window() and 1332 each_ripoff(). 1333 1334 20080426 1335 + continue modifying test/ditto.c toward making it demonstrate 1336 multithreaded use_screen(), using fifos to pass data between screens. 1337 + fix typo in form.3x (report by Mike Gran). 1338 1339 20080419 1340 + add screen.rxvt terminfo entry -TD 1341 + modify tic -f option to format spaces as \s to prevent them from 1342 being lost when that is read back in unformatted strings. 1343 + improve test/ditto.c, using a "talk"-style layout. 1344 1345 20080412 1346 + change test/ditto.c to use openpty() and xterm. 1347 + add locks for copywin(), dupwin(), overlap(), overlay() on their 1348 window parameters. 1349 + add locks for initscr() and newterm() on updates to the SCREEN 1350 pointer. 1351 + finish table in curs_thread.3x manpage. 1352 1353 20080405 1354 + begin table in curs_thread.3x manpage describing the scope of data 1355 used by each function (or symbol) for threading analysis. 1356 + add null-pointer checks to setsyx() and getsyx() (prompted by 1357 discussion by Martin v. Lowis and Jeroen Ruigrok van der Werven on 1358 python-dev2 mailing list). 1359 1360 20080329 1361 + add null-pointer checks in set_term() and delscreen(). 1362 + move _nc_windows into _nc_globals, since windows can be pads, which 1363 are not associated with a particular screen. 1364 + change use_screen() to pass the SCREEN* parameter rather than 1365 stdscr to the callback function. 1366 + force libtool to use tag for 'CC' in case it does not detect this, 1367 e.g., on aix when using CC=powerpc-ibm-aix5.3.0.0-gcc 1368 (report/patch by Michael Haubenwallner). 1369 + override OBJEXT to "lo" when building with libtool, to work on 1370 platforms such as AIX where libtool may use a different suffix for 1371 the object files than ".o" (report/patch by Michael Haubenwallner). 1372 + add configure --with-pthread option, for building with the POSIX 1373 thread library. 1374 1375 20080322 1376 + fill in extended-color pair two more places in wbkgrndset() and 1377 waddch_nosync() (prompted by Sedeno's patch). 1378 + fill in extended-color pair in _nc_build_wch() to make colors work 1379 for wide-characters using extended-colors (patch by Alejandro R 1380 Sedeno). 1381 + add x/X toggles to ncurses.c C color test to test/demo 1382 wide-characters with extended-colors. 1383 + add a/A toggles to ncurses.c c/C color tests. 1384 + modify test/ditto.c to use use_screen(). 1385 + finish modifying test/rain.c to demonstrate threads. 1386 1387 20080308 1388 + start modifying test/rain.c for threading demo. 1389 + modify test/ncurses.c to make 'f' test accept the f/F/b/F/</> toggles 1390 that the 'F' accepts. 1391 + modify test/worm.c to show trail in reverse-video when other threads 1392 are working concurrently. 1393 + fix a deadlock from improper nesting of mutexes for windowlist and 1394 window. 1395 1396 20080301 1397 + fixes from 20080223 resolved issue with mutexes; change to use 1398 recursive mutexes to fix memory leak in delwin() as called from 1399 _nc_free_and_exit(). 1400 1401 20080223 1402 + fix a size-difference in _nc_globals which caused hanging of mutex 1403 lock/unlock when termlib was built separately. 1404 1405 20080216 1406 + avoid using nanosleep() in threaded configuration since that often 1407 is implemented to suspend the entire process. 1408 1409 20080209 1410 + update test programs to build/work with various UNIX curses for 1411 comparisons. This was to reinvestigate statement in X/Open curses 1412 that insnstr and winsnstr perform wrapping. None of the Unix-branded 1413 implementations do this, as noted in manpage (cf: 20040228). 1414 1415 20080203 1416 + modify _nc_setupscreen() to set the legacy-coding value the same 1417 for both narrow/wide models. It had been set only for wide model, 1418 but is needed to make unctrl() work with locale in the narrow model. 1419 + improve waddch() and winsch() handling of EILSEQ from mbrtowc() by 1420 using unctrl() to display illegal bytes rather than trying to append 1421 further bytes to make up a valid sequence (reported by Andrey A 1422 Chernov). 1423 + modify unctrl() to check codes in 128-255 range versus isprint(). 1424 If they are not printable, and locale was set, use a "M-" or "~" 1425 sequence. 1426 1427 20080126 1428 + improve threading in test/worm.c (wrap refresh calls, and KEY_RESIZE 1429 handling). Now it hangs in napms(), no matter whether nanosleep() 1430 or poll() or select() are used on Linux. 1431 1432 20080119 1433 + fixes to build with --disable-ext-funcs 1434 + add manpage for use_window and use_screen. 1435 + add set_tabsize() and set_escdelay() functions. 1436 1437 20080112 1438 + remove recursive-mutex definitions, finish threading demo for worm.c 1439 + remove a redundant adjustment of lines in resizeterm.c's 1440 adjust_window() which caused occasional misadjustment of stdscr when 1441 softkeys were used. 1442 1443 20080105 1444 + several improvements to terminfo entries based on xterm #230 -TD 1445 + modify MKlib_gen.sh to handle keyname/key_name prototypes, so the 1446 "link_test" builds properly. 1447 + fix for toe command-line options -u/-U to ensure filename is given. 1448 + fix allocation-size for command-line parsing in infocmp from 20070728 1449 (report by Miroslav Lichvar) 1450 + improve resizeterm() by moving ripped-off lines, and repainting the 1451 soft-keys (report by Katarina Machalkova) 1452 + add clarification in wclear's manpage noting that the screen will be 1453 cleared even if a subwindow is cleared (prompted by Christer Enfors 1454 question). 1455 + change test/ncurses.c soft-key tests to work with KEY_RESIZE. 1456 1457 20071222 1458 + continue implementing support for threading demo by adding mutex 1459 for delwin(). 1460 1461 20071215 1462 + add several functions to C++ binding which wrap C functions that 1463 pass a WINDOW* parameter (request by Chris Lee). 1464 1465 20071201 1466 + add note about configure options needed for Berkeley database to the 1467 INSTALL file. 1468 + improve checks for version of Berkeley database libraries. 1469 + amend fix for rpath to not modify LDFLAGS if the platform has no 1470 applicable transformation (report by Christian Ebert, cf: 20071124). 1471 1472 20071124 1473 + modify configure option --with-hashed-db to accept a parameter which 1474 is the install-prefix of a given Berkeley Database (prompted by 1475 pierre4d2 comments). 1476 + rewrite wrapper for wcrtomb(), making it work on Solaris. This is 1477 used in the form library to determine the length of the buffer needed 1478 by field_buffer (report by Alfred Fung). 1479 + remove unneeded window-parameter from C++ binding for wresize (report 1480 by Chris Lee). 1481 1482 20071117 1483 + modify the support for filesystems which do not support mixed-case to 1484 generate 2-character (hexadecimal) codes for the lower-level of the 1485 filesystem terminfo database (request by Michail Vidiassov). 1486 + add configure option --enable-mixed-case, to allow overriding the 1487 configure script's check if the filesystem supports mixed-case 1488 filenames. 1489 + add wresize() to C++ binding (request by Chris Lee). 1490 + define NCURSES_EXT_FUNCS and NCURSES_EXT_COLORS in curses.h to make 1491 it simpler to tell if the extended functions and/or colors are 1492 declared. 1493 1494 20071103 1495 + update memory-leak checks for changes to names.c and codes.c 1496 + correct acsc strings in h19, z100 (patch by Benjamin C W Sittler). 1497 1498 20071020 1499 + continue implementing support for threading demo by adding mutex 1500 for use_window(). 1501 + add mrxvt terminfo entry, add/fix xterm building blocks for modified 1502 cursor keys -TD 1503 + compile with FreeBSD "contemporary" TTY interface (patch by 1504 Rong-En Fan). 1505 1506 20071013 1507 + modify makefile rules to allow clear, tput and tset to be built 1508 without libtic. The other programs (infocmp, tic and toe) rely on 1509 that library. 1510 + add/modify null-pointer checks in several functions for SP and/or 1511 the WINDOW* parameter (report by Thorben Krueger). 1512 + fixes for field_buffer() in formw library (see Redhat Bugzilla 1513 #310071, patches by Miroslav Lichvar). 1514 + improve performance of NCURSES_CHAR_EQ code (patch by Miroslav 1515 Lichvar). 1516 + update/improve mlterm and rxvt terminfo entries, e.g., for 1517 the modified cursor- and keypad-keys -TD 1518 1519 20071006 1520 + add code to curses.priv.h ifdef'd with NCURSES_CHAR_EQ, which 1521 changes the CharEq() macro to an inline function to allow comparing 1522 cchar_t struct's without comparing gaps in a possibly unpacked 1523 memory layout (report by Miroslav Lichvar). 1524 1525 20070929 1526 + add new functions to lib_trace.c to setup mutex's for the _tracef() 1527 calls within the ncurses library. 1528 + for the reentrant model, move _nc_tputs_trace and _nc_outchars into 1529 the SCREEN. 1530 + start modifying test/worm.c to provide threading demo (incomplete). 1531 + separated ifdef's for some BSD-related symbols in tset.c, to make 1532 it compile on LynxOS (report by Greg Gemmer). 1533 20070915 1534 + modify Ada95/gen/Makefile to use shlib script, to simplify building 1535 shared-library configuration on platforms lacking rpath support. 1536 + build-fix for Ada95/src/Makefile to reflect changed dependency for 1537 the terminal-interface-curses-aux.adb file which is now generated. 1538 + restructuring test/worm.c, for use_window() example. 1539 1540 20070908 1541 + add use_window() and use_screen() functions, to develop into support 1542 for threaded library (incomplete). 1543 + fix typos in man/curs_opaque.3x which kept the install script from 1544 creating symbolic links to two aliases created in 20070818 (report by 1545 Rong-En Fan). 1546 1547 20070901 1548 + remove a spurious newline from output of html.m4, which caused links 1549 for Ada95 html to be incorrect for the files generated using m4. 1550 + start investigating mutex's for SCREEN manipulation (incomplete). 1551 + minor cleanup of codes.c/names.c for --enable-const 1552 + expand/revise "Routine and Argument Names" section of ncurses manpage 1553 to address report by David Givens in newsgroup discussion. 1554 + fix interaction between --without-progs/--with-termcap configure 1555 options (report by Michail Vidiassov). 1556 + fix typo in "--disable-relink" option (report by Michail Vidiassov). 1557 1558 20070825 1559 + fix a sign-extension bug in infocmp's repair_acsc() function 1560 (cf: 971004). 1561 + fix old configure script bug which prevented "--disable-warnings" 1562 option from working (patch by Mike Frysinger). 1563 1564 20070818 1565 + add 9term terminal description (request by Juhapekka Tolvanen) -TD 1566 + modify comp_hash.c's string output to avoid misinterpreting a null 1567 "\0" followed by a digit. 1568 + modify MKnames.awk and MKcodes.awk to support big-strings. 1569 This only applies to the cases (broken linker, reentrant) where 1570 the corresponding arrays are accessed via wrapper functions. 1571 + split MKnames.awk into two scripts, eliminating the shell redirection 1572 which complicated the make process and also the bogus timestamp file 1573 which was introduced to fix "make -j". 1574 + add test/test_opaque.c, test/test_arrays.c 1575 + add wgetscrreg() and wgetparent() for applications that may need it 1576 when NCURSES_OPAQUE is defined (prompted by Bryan Christ). 1577 1578 20070812 1579 + amend treatment of infocmp "-r" option to retain the 1023-byte limit 1580 unless "-T" is given (cf: 981017). 1581 + modify comp_captab.c generation to use big-strings. 1582 + make _nc_capalias_table and _nc_infoalias_table private accessed via 1583 _nc_get_alias_table() since the tables are used only within the tic 1584 library. 1585 + modify configure script to skip Intel compiler in CF_C_INLINE. 1586 + make _nc_info_hash_table and _nc_cap_hash_table private accessed via 1587 _nc_get_hash_table() since the tables are used only within the tic 1588 library. 1589 1590 20070728 1591 + make _nc_capalias_table and _nc_infoalias_table private, accessed via 1592 _nc_get_alias_table() since they are used only by parse_entry.c 1593 + make _nc_key_names private since it is used only by lib_keyname.c 1594 + add --disable-big-strings configure option to control whether 1595 unctrl.c is generated using the big-string optimization - which may 1596 use strings longer than supported by a given compiler. 1597 + reduce relocation tables for tic, infocmp by changing type of 1598 internal hash tables to short, and make those private symbols. 1599 + eliminate large fixed arrays from progs/infocmp.c 1600 1601 20070721 1602 + change winnstr() to stop at the end of the line (cf: 970315). 1603 + add test/test_get_wstr.c 1604 + add test/test_getstr.c 1605 + add test/test_inwstr.c 1606 + add test/test_instr.c 1607 1608 20070716 1609 + restore a call to obtain screen-size in _nc_setupterm(), which 1610 is used in tput and other non-screen applications via setupterm() 1611 (Debian #433357, reported by Florent Bayle, Christian Ohm, 1612 cf: 20070310). 1613 1614 20070714 1615 + add test/savescreen.c test-program 1616 + add check to trace-file open, if the given name is a directory, add 1617 ".log" to the name and try again. 1618 + add konsole-256color entry -TD 1619 + add extra gcc warning options from xterm. 1620 + minor fixes for ncurses/hashmap test-program. 1621 + modify configure script to quiet c++ build with libtool when the 1622 --disable-echo option is used. 1623 + modify configure script to disable ada95 if libtool is selected, 1624 writing a warning message (addresses FreeBSD ports/114493). 1625 + update config.guess, config.sub 1626 1627 20070707 1628 + add continuous-move "M" to demo_panels to help test refresh changes. 1629 + improve fix for refresh of window on top of multi-column characters, 1630 taking into account some split characters on left/right window 1631 boundaries. 1632 1633 20070630 1634 + add "widec" row to _tracedump() output to help diagnose remaining 1635 problems with multi-column characters. 1636 + partial fix for refresh of window on top of multi-column characters 1637 which are partly overwritten (report by Sadrul H Chowdhury). 1638 + ignore A_CHARTEXT bits in vidattr() and vid_attr(), in case 1639 multi-column extension bits are passed there. 1640 + add setlocale() call to demo_panels.c, needed for wide-characters. 1641 + add some output flags to _nc_trace_ttymode to help diagnose a bug 1642 report by Larry Virden, i.e., ONLCR, OCRNL, ONOCR and ONLRET, 1643 1644 20070623 1645 + add test/demo_panels.c 1646 + implement opaque version of setsyx() and getsyx(). 1647 1648 20070612 1649 + corrected xterm+pcf2 terminfo modifiers for F1-F4, to match xterm 1650 #226 -TD 1651 + split-out key_name() from MKkeyname.awk since it now depends upon 1652 wunctrl() which is not in libtinfo (report by Rong-En Fan). 1653 1654 20070609 1655 + add test/key_name.c 1656 + add stdscr cases to test/inchs.c and test/inch_wide.c 1657 + update test/configure 1658 + correct formatting of DEL (0x7f) in _nc_vischar(). 1659 + null-terminate result of wunctrl(). 1660 + add null-pointer check in key_name() (report by Andreas Krennmair, 1661 cf: 20020901). 1662 1663 20070602 1664 + adapt mouse-handling code from menu library in form-library 1665 (discussion with Clive Nicolson). 1666 + add a modification of test/dots.c, i.e., test/dots_mvcur.c to 1667 illustrate how to use mvcur(). 1668 + modify wide-character flavor of SetAttr() to preserve the 1669 WidecExt() value stored in the .attr field, e.g., in case it 1670 is overwritten by chgat (report by Aleksi Torhamo). 1671 + correct buffer-size for _nc_viswbuf2n() (report by Aleksi Torhamo). 1672 + build-fixes for Solaris 2.6 and 2.7 (patch by Peter O'Gorman). 1673 1674 20070526 1675 + modify keyname() to use "^X" form only if meta() has been called, or 1676 if keyname() is called without initializing curses, e.g., via 1677 initscr() or newterm() (prompted by LinuxBase #1604). 1678 + document some portability issues in man/curs_util.3x 1679 + add a shadow copy of TTY buffer to _nc_prescreen to fix applications 1680 broken by moving that data into SCREEN (cf: 20061230). 1681 1682 20070512 1683 + add 'O' (wide-character panel test) in ncurses.c to demonstrate a 1684 problem reported by Sadrul H Chowdhury with repainting parts of 1685 a fullwidth cell. 1686 + modify slk_init() so that if there are preceding calls to 1687 ripoffline(), those affect the available lines for soft-keys (adapted 1688 from patch by Clive Nicolson). 1689 + document some portability issues in man/curs_getyx.3x 1690 1691 20070505 1692 + fix a bug in Ada95/samples/ncurses which caused a variable to 1693 become uninitialized in the "b" test. 1694 + fix Ada95/gen/Makefile.in adahtml rule to account for recent 1695 movement of files, fix a few incorrect manpage references in the 1696 generated html. 1697 + add Ada95 binding to _nc_freeall() as Curses_Free_All to help with 1698 memory-checking. 1699 + correct some functions in Ada95 binding which were using return value 1700 from C where none was returned: idcok(), immedok() and wtimeout(). 1701 + amend recent changes for Ada95 binding to make it build with 1702 Cygwin's linker, e.g., with configure options 1703 --enable-broken-linker --with-ticlib 1704 1705 20070428 1706 + add a configure check for gcc's options for inlining, use that to 1707 quiet a warning message where gcc's default behavior changed from 1708 3.x to 4.x. 1709 + improve warning message when checking if GPM is linked to curses 1710 library by not warning if its use of "wgetch" is via a weak symbol. 1711 + add loader options when building with static libraries to ensure that 1712 an installed shared library for ncurses does not conflict. This is 1713 reported as problem with Tru64, but could affect other platforms 1714 (report Martin Mokrejs, analysis by Tim Mooney). 1715 + fix build on cygwin after recent ticlib/termlib changes, i.e., 1716 + adjust TINFO_SUFFIX value to work with cygwin's dll naming 1717 + revert a change from 20070303 which commented out dependency of 1718 SHLIB_LIST in form/menu/panel/c++ libraries. 1719 + fix initialization of ripoff stack pointer (cf: 20070421). 1720 1721 20070421 1722 + move most static variables into structures _nc_globals and 1723 _nc_prescreen, to simplify storage. 1724 + add/use configure script macro CF_SIG_ATOMIC_T, use the corresponding 1725 type for data manipulated by signal handlers (prompted by comments 1726 in mailing.openbsd.bugs newsgroup). 1727 + modify CF_WITH_LIBTOOL to allow one to pass options such as -static 1728 to the libtool create- and link-operations. 1729 1730 20070414 1731 + fix whitespace in curs_opaque.3x which caused a spurious ';' in 1732 the installed aliases (report by Peter Santoro). 1733 + fix configure script to not try to generate adacurses-config when 1734 Ada95 tree is not built. 1735 1736 20070407 1737 + add man/curs_legacy.3x, man/curs_opaque.3x 1738 + fix acs_map binding for Ada95 when --enable-reentrant is used. 1739 + add adacurses-config to the Ada95 install, based on version from 1740 FreeBSD port, in turn by Juergen Pfeifer in 2000 (prompted by 1741 comment on comp.lang.ada newsgroup). 1742 + fix includes in c++ binding to build with Intel compiler 1743 (cf: 20061209). 1744 + update install rule in Ada95 to use mkdirs.sh 1745 > other fixes prompted by inspection for Coverity report: 1746 + modify ifdef's for c++ binding to use try/catch/throw statements 1747 + add a null-pointer check in tack/ansi.c request_cfss() 1748 + fix a memory leak in ncurses/base/wresize.c 1749 + corrected check for valid memu/meml capabilities in 1750 progs/dump_entry.c when handling V_HPUX case. 1751 > fixes based on Coverity report: 1752 + remove dead code in test/bs.c 1753 + remove dead code in test/demo_defkey.c 1754 + remove an unused assignment in progs/infocmp.c 1755 + fix a limit check in tack/ansi.c tools_charset() 1756 + fix tack/ansi.c tools_status() to perform the VT320/VT420 1757 tests in request_cfss(). The function had exited too soon. 1758 + fix a memory leak in tic.c's make_namelist() 1759 + fix a couple of places in tack/output.c which did not check for EOF. 1760 + fix a loop-condition in test/bs.c 1761 + add index checks in lib_color.c for color palettes 1762 + add index checks in progs/dump_entry.c for version_filter() handling 1763 of V_BSD case. 1764 + fix a possible null-pointer dereference in copywin() 1765 + fix a possible null-pointer dereference in waddchnstr() 1766 + add a null-pointer check in _nc_expand_try() 1767 + add a null-pointer check in tic.c's make_namelist() 1768 + add a null-pointer check in _nc_expand_try() 1769 + add null-pointer checks in test/cardfile.c 1770 + fix a double-free in ncurses/tinfo/trim_sgr0.c 1771 + fix a double-free in ncurses/base/wresize.c 1772 + add try/catch block to c++/cursesmain.cc 1773 1774 20070331 1775 + modify Ada95 binding to build with --enable-reentrant by wrapping 1776 global variables (bug: acs_map does not yet work). 1777 + modify Ada95 binding to use the new access-functions, allowing it 1778 to build/run when NCURSES_OPAQUE is set. 1779 + add access-functions and macros to return properties of the WINDOW 1780 structure, e.g., when NCURSES_OPAQUE is set. 1781 + improved install-sh's quoting. 1782 + use mkdirs.sh rather than mkinstalldirs, e.g., to use fixes from 1783 other programs. 1784 1785 20070324 1786 + eliminate part of the direct use of WINDOW data from Ada95 interface. 1787 + fix substitutions for termlib filename to make configure option 1788 --enable-reentrant work with --with-termlib. 1789 + change a constructor for NCursesWindow to allow compiling with 1790 NCURSES_OPAQUE set, since we cannot pass a reference to 1791 an opaque pointer. 1792 1793 20070317 1794 + ignore --with-chtype=unsigned since unsigned is always added to 1795 the type in curses.h; do the same for --with-mmask-t. 1796 + change warning regarding --enable-ext-colors and wide-character 1797 in the configure script to an error. 1798 + tweak error message in CF_WITH_LIBTOOL to distinguish other programs 1799 such as Darwin's libtool program (report by Michail Vidiassov) 1800 + modify edit_man.sh to allow for multiple substitutions per line. 1801 + set locale in misc/ncurses-config.in since it uses a range 1802 + change permissions libncurses++.a install (report by Michail 1803 Vidiassov). 1804 + corrected length of temporary buffer in wide-character version 1805 of set_field_buffer() (related to report by Bryan Christ). 1806 1807 20070311 1808 + fix mk-1st.awk script install_shlib() function, broken in 20070224 1809 changes for cygwin (report by Michail Vidiassov). 1810 1811 20070310 1812 + increase size of array in _nc_visbuf2n() to make "tic -v" work 1813 properly in its similar_sgr() function (report/analysis by Peter 1814 Santoro). 1815 + add --enable-reentrant configure option for ongoing changes to 1816 implement a reentrant version of ncurses: 1817 + libraries are suffixed with "t" 1818 + wrap several global variables (curscr, newscr, stdscr, ttytype, 1819 COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES and TABSIZE) as 1820 functions returning values stored in SCREEN or cur_term. 1821 + move some initialization (LINES, COLS) from lib_setup.c, 1822 i.e., setupterm() to _nc_setupscreen(), i.e., newterm(). 1823 1824 20070303 1825 + regenerated html documentation. 1826 + add NCURSES_OPAQUE symbol to curses.h, will use to make structs 1827 opaque in selected configurations. 1828 + move the chunk in lib_acs.c which resets acs capabilities when 1829 running on a terminal whose locale interferes with those into 1830 _nc_setupscreen(), so the libtinfo/libtinfow files can be made 1831 identical (requested by Miroslav Lichvar). 1832 + do not use configure variable SHLIB_LIBS for building libraries 1833 outside the ncurses directory, since that symbol is customized 1834 only for that directory, and using it introduces an unneeded 1835 dependency on libdl (requested by Miroslav Lichvar). 1836 + modify mk-1st.awk so the generated makefile rules for linking or 1837 installing shared libraries do not first remove the library, in 1838 case it is in use, e.g., libncurses.so by /bin/sh (report by Jeff 1839 Chua). 1840 + revised section "Using NCURSES under XTERM" in ncurses-intro.html 1841 (prompted by newsgroup comment by Nick Guenther). 1842 1843 20070224 1844 + change internal return codes of _nc_wgetch() to check for cases 1845 where KEY_CODE_YES should be returned, e.g., if a KEY_RESIZE was 1846 ungetch'd, and read by wget_wch(). 1847 + fix static-library build broken in 20070217 changes to remove "-ldl" 1848 (report by Miroslav Lichvar). 1849 + change makefile/scripts for cygwin to allow building termlib. 1850 + use Form_Hook in manpages to match form.h 1851 + use Menu_Hook in manpages, as well as a few places in menu.h 1852 + correct form- and menu-manpages to use specific Field_Options, 1853 Menu_Options and Item_Options types. 1854 + correct prototype for _tracechar() in manpage (cf: 20011229). 1855 + correct prototype for wunctrl() in manpage. 1856 1857 20070217 1858 + fixes for $(TICS_LIST) in ncurses/Makefile (report by Miroslav 1859 Lichvar). 1860 + modify relinking of shared libraries to apply only when rpath is 1861 enabled, and add --disable-relink option which can be used to 1862 disable the feature altogether (reports by Michail Vidiassov, 1863 Adam J Richter). 1864 + fix --with-termlib option for wide-character configuration, stripping 1865 the "w" suffix in one place (report by Miroslav Lichvar). 1866 + remove "-ldl" from some library lists to reduce dependencies in 1867 programs (report by Miroslav Lichvar). 1868 + correct description of --enable-signed-char in configure --help 1869 (report by Michail Vidiassov). 1870 + add pattern for GNU/kFreeBSD configuration to CF_XOPEN_SOURCE, 1871 which matches an earlier change to CF_SHARED_OPTS, from xterm #224 1872 fixes. 1873 + remove "${DESTDIR}" from -install_name option used for linking 1874 shared libraries on Darwin (report by Michail Vidiassov). 1875 1876 20070210 1877 + add test/inchs.c, test/inch_wide.c, to test win_wchnstr(). 1878 + remove libdl from library list for termlib (report by Miroslav 1879 Lichvar). 1880 + fix configure.in to allow --without-progs --with-termlib (patch by 1881 Miroslav Lichvar). 1882 + modify win_wchnstr() to ensure that only a base cell is returned 1883 for each multi-column character (prompted by report by Wei Kong 1884 regarding change in mvwin_wch() cf: 20041023). 1885 1886 20070203 1887 + modify fix_wchnstr() in form library to strip attributes (and color) 1888 from the cchar_t array (field cells) read from a field's window. 1889 Otherwise, when copying the field cells back to the window, the 1890 associated color overrides the field's background color (report by 1891 Ricardo Cantu). 1892 + improve tracing for form library, showing created forms, fields, etc. 1893 + ignore --enable-rpath configure option if --with-shared was omitted. 1894 + add _nc_leaks_tinfo(), _nc_free_tic(), _nc_free_tinfo() entrypoints 1895 to allow leak-checking when both tic- and tinfo-libraries are built. 1896 + drop CF_CPP_VSCAN_FUNC macro from configure script, since C++ binding 1897 no longer relies on it. 1898 + disallow combining configure script options --with-ticlib and 1899 --enable-termcap (report by Rong-En Fan). 1900 + remove tack from ncurses tree. 1901 1902 20070128 1903 + fix typo in configure script that broke --with-termlib option 1904 (report by Rong-En Fan). 1905 1906 20070127 1907 + improve fix for FreeBSD gnu/98975, to allow for null pointer passed 1908 to tgetent() (report by Rong-en Fan). 1909 + update tack/HISTORY and tack/README to tell how to build it after 1910 it is removed from the ncurses tree. 1911 + fix configure check for libtool's version to trim blank lines 1912 (report by sci-fi@hush.ai). 1913 + review/eliminate other original-file artifacts in cursesw.cc, making 1914 its license consistent with ncurses. 1915 + use ncurses vw_scanw() rather than reading into a fixed buffer in 1916 the c++ binding for scanw() methods (prompted by report by Nuno Dias). 1917 + eliminate fixed-buffer vsprintf() calls in c++ binding. 1918 1919 20070120 1920 + add _nc_leaks_tic() to separate leak-checking of tic library from 1921 term/ncurses libraries, and thereby eliminate a library dependency. 1922 + fix test/mk-test.awk to ignore blank lines. 1923 + correct paths in include/headers, for --srcdir (patch by Miroslav 1924 Lichvar). 1925 1926 20070113 1927 + add a break-statement in misc/shlib to ensure that it exits on the 1928 _first_ matched directory (report by Paul Novak). 1929 + add tack/configure, which can be used to build tack outside the 1930 ncurses build-tree. 1931 + add --with-ticlib option, to build/install the tic-support functions 1932 in a separate library (suggested by Miroslav Lichvar). 1933 1934 20070106 1935 + change MKunctrl.awk to reduce relocation table for unctrl.o 1936 + change MKkeyname.awk to reduce relocation table for keyname.o 1937 (patch by Miroslav Lichvar). 1938 1939 20061230 1940 + modify configure check for libtool's version to trim blank lines 1941 (report by sci-fi@hush.ai). 1942 + modify some modules to allow them to be reentrant if _REENTRANT is 1943 defined: lib_baudrate.c, resizeterm.c (local data only) 1944 + eliminate static data from some modules: add_tries.c, hardscroll.c, 1945 lib_ttyflags.c, lib_twait.c 1946 + improve manpage install to add aliases for the transformed program 1947 names, e.g., from --program-prefix. 1948 + used linklint to verify links in the HTML documentation, made fixes 1949 to manpages as needed. 1950 + fix a typo in curs_mouse.3x (report by William McBrine). 1951 + fix install-rule for ncurses5-config to make the bin-directory. 1952 1953 20061223 1954 + modify configure script to omit the tic (terminfo compiler) support 1955 from ncurses library if --without-progs option is given. 1956 + modify install rule for ncurses5-config to do this via "install.libs" 1957 + modify shared-library rules to allow FreeBSD 3.x to use rpath. 1958 + update config.guess, config.sub 1959 1960 20061217 5.6 release for upload to 1961 1962 20061217 1963 + add ifdef's for <wctype.h> for HPUX, which has the corresponding 1964 definitions in <wchar.h>. 1965 + revert the va_copy() change from 20061202, since it was neither 1966 correct nor portable. 1967 + add $(LOCAL_LIBS) definition to progs/Makefile.in, needed for 1968 rpath on Solaris. 1969 + ignore wide-acs line-drawing characters that wcwidth() claims are 1970 not one-column. This is a workaround for Solaris' broken locale 1971 support. 1972 1973 20061216 1974 + modify configure --with-gpm option to allow it to accept a parameter, 1975 i.e., the name of the dynamic GPM library to load via dlopen() 1976 (requested by Bryan Henderson). 1977 + add configure option --with-valgrind, changes from vile. 1978 + modify configure script AC_TRY_RUN and AC_TRY_LINK checks to use 1979 'return' in preference to 'exit()'. 1980 1981 20061209 1982 + change default for --with-develop back to "no". 1983 + add XTABS to tracing of TTY bits. 1984 + updated autoconf patch to ifdef-out the misfeature which declares 1985 exit() for configure tests. This fixes a redefinition warning on 1986 Solaris. 1987 + use ${CC} rather than ${LD} in shared library rules for IRIX64, 1988 Solaris to help ensure that initialization sections are provided for 1989 extra linkage requirements, e.g., of C++ applications (prompted by 1990 comment by Casper Dik in newsgroup). 1991 + rename "$target" in CF_MAN_PAGES to make it easier to distinguish 1992 from the autoconf predefined symbol. There was no conflict, 1993 since "$target" was used only in the generated edit_man.sh file, 1994 but SuSE's rpm package contains a patch. 1995 1996 20061202 1997 + update man/term.5 to reflect extended terminfo support and hashed 1998 database configuration. 1999 + updates for test/configure script. 2000 + adapted from SuSE rpm package: 2001 + remove long-obsolete workaround for broken-linker which declared 2002 cur_term in tic.c 2003 + improve error recovery in PUTC() macro when wcrtomb() does not 2004 return usable results for an 8-bit character. 2005 + patches from rpm package (SuSE): 2006 + use va_copy() in extra varargs manipulation for tracing version 2007 of printw, etc. 2008 + use a va_list rather than a null in _nc_freeall()'s call to 2009 _nc_printf_string(). 2010 + add some see-also references in manpages to show related 2011 wide-character functions (suggested by Claus Fischer). 2012 2013 20061125 2014 + add a check in lib_color.c to ensure caller does not increase COLORS 2015 above max_colors, which is used as an array index (discussion with 2016 Simon Sasburg). 2017 + add ifdef's allowing ncurses to be built with tparm() using either 2018 varargs (the existing status), or using a fixed-parameter list (to 2019 match X/Open). 2020 2021 20061104 2022 + fix redrawing of windows other than stdscr using wredrawln() by 2023 touching the corresponding rows in curscr (discussion with Dan 2024 Gookin). 2025 + add test/redraw.c 2026 + add test/echochar.c 2027 + review/cleanup manpage descriptions of error-returns for form- and 2028 menu-libraries (prompted by FreeBSD docs/46196). 2029 2030 20061028 2031 + add AUTHORS file -TD 2032 + omit the -D options from output of the new config script --cflags 2033 option (suggested by Ralf S Engelschall). 2034 + make NCURSES_INLINE unconditionally defined in curses.h 2035 2036 20061021 2037 + revert change to accommodate bash 3.2, since that breaks other 2038 platforms, e.g., Solaris. 2039 + minor fixes to NEWS file to simplify scripting to obtain list of 2040 contributors. 2041 + improve some shared-library configure scripting for Linux, FreeBSD 2042 and NetBSD to make "--with-shlib-version" work. 2043 + change configure-script rules for FreeBSD shared libraries to allow 2044 for rpath support in versions past 3. 2045 + use $(DESTDIR) in makefile rules for installing/uninstalling the 2046 package config script (reports/patches by Christian Wiese, 2047 Ralf S Engelschall). 2048 + fix a warning in the configure script for NetBSD 2.0, working around 2049 spurious blanks embedded in its ${MAKEFLAGS} symbol. 2050 + change test/Makefile to simplify installing test programs in a 2051 different directory when --enable-rpath is used. 2052 2053 20061014 2054 + work around bug in bash 3.2 by adding extra quotes (Jim Gifford). 2055 + add/install a package config script, e.g., "ncurses5-config" or 2056 "ncursesw5-config", according to configuration options. 2057 2058 20061007 2059 + add several GNU Screen terminfo variations with 16- and 256-colors, 2060 and status line (Alain Bench). 2061 + change the way shared libraries (other than libtool) are installed. 2062 Rather than copying the build-tree's libraries, link the shared 2063 objects into the install directory. This makes the --with-rpath 2064 option work except with $(DESTDIR) (cf: 20000930). 2065 2066 20060930 2067 + fix ifdef in c++/internal.h for QNX 6.1 2068 + test-compiled with (old) egcs-1.1.2, modified configure script to 2069 not unset the $CXX and related variables which would prevent this. 2070 + fix a few terminfo.src typos exposed by improvments to "-f" option. 2071 + improve infocmp/tic "-f" option formatting. 2072 2073 20060923 2074 + make --disable-largefile option work (report by Thomas M Ott). 2075 + updated html documentation. 2076 + add ka2, kb1, kb3, kc2 to vt220-keypad as an extension -TD 2077 + minor improvements to rxvt+pcfkeys -TD 2078 2079 20060916 2080 + move static data from lib_mouse.c into SCREEN struct. 2081 + improve ifdef's for _POSIX_VDISABLE in tset to work with Mac OS X 2082 (report by Michail Vidiassov). 2083 + modify CF_PATH_SYNTAX to ensure it uses the result from --prefix 2084 option (from lynx changes) -TD 2085 + adapt AC_PROG_EGREP check, noting that this is likely to be another 2086 place aggravated by POSIXLY_CORRECT. 2087 + modify configure check for awk to ensure that it is found (prompted 2088 by report by Christopher Parker). 2089 + update config.sub 2090 2091 20060909 2092 + add kon, kon2 and jfbterm terminfo entry (request by Till Maas) -TD 2093 + remove invis capability from klone+sgr, mainly used by linux entry, 2094 since it does not really do this -TD 2095 2096 20060903 2097 + correct logic in wadd_wch() and wecho_wch(), which did not guard 2098 against passing the multi-column attribute into a call on waddch(), 2099 e.g., using data returned by win_wch() (cf: 20041023) 2100 (report by Sadrul H Chowdhury). 2101 2102 20060902 2103 + fix kterm's acsc string -TD 2104 + fix for change to tic/infocmp in 20060819 to ensure no blank is 2105 embedded into a termcap description. 2106 + workaround for 20050806 ifdef's change to allow visbuf.c to compile 2107 when using --with-termlib --with-trace options. 2108 + improve tgetstr() by making the return value point into the user's 2109 buffer, if provided (patch by Miroslav Lichvar (see Redhat Bugzilla 2110 #202480)). 2111 + correct libraries needed for foldkeys (report by Stanislav Ievlev) 2112 2113 20060826 2114 + add terminfo entries for xfce terminal (xfce) and multi gnome 2115 terminal (mgt) -TD 2116 + add test/foldkeys.c 2117 2118 20060819 2119 + modify tic and infocmp to avoid writing trailing blanks on terminfo 2120 source output (Debian #378783). 2121 + modify configure script to ensure that if the C compiler is used 2122 rather than the loader in making shared libraries, the $(CFLAGS) 2123 variable is also used (Redhat Bugzilla #199369). 2124 + port hashed-db code to db2 and db3. 2125 + fix a bug in tgetent() from 20060625 and 20060715 changes 2126 (patch/analysis by Miroslav Lichvar (see Redhat Bugzilla #202480)). 2127 2128 20060805 2129 + updated xterm function-keys terminfo to match xterm #216 -TD 2130 + add configure --with-hashed-db option (tested only with FreeBSD 6.0, 2131 e.g., the db 1.8.5 interface). 2132 2133 20060729 2134 + modify toe to access termcap data, e.g., via cgetent() functions, 2135 or as a text file if those are not available. 2136 + use _nc_basename() in tset to improve $SHELL check for csh/sh. 2137 + modify _nc_read_entry() and _nc_read_termcap_entry() so infocmp, 2138 can access termcap data when the terminfo database is disabled. 2139 2140 20060722 2141 + widen the test for xterm kmous a little to allow for other strings 2142 than \E[M, e.g., for xterm-sco functionality in xterm. 2143 + update xterm-related terminfo entries to match xterm patch #216 -TD 2144 + update config.guess, config.sub 2145 2146 20060715 2147 + fix for install-rule in Ada95 to add terminal_interface.ads 2148 and terminal_interface.ali (anonymous posting in comp.lang.ada). 2149 + correction to manpage for getcchar() (report by William McBrine). 2150 + add test/chgat.c 2151 + modify wchgat() to mark updated cells as changed so a refresh will 2152 repaint those cells (comments by Sadrul H Chowdhury and William 2153 McBrine). 2154 + split up dependency of names.c and codes.c in ncurses/Makefile to 2155 work with parallel make (report/analysis by Joseph S Myers). 2156 + suppress a warning message (which is ignored) for systems without 2157 an ldconfig program (patch by Justin Hibbits). 2158 + modify configure script --disable-symlinks option to allow one to 2159 disable symlink() in tic even when link() does not work (report by 2160 Nigel Horne). 2161 + modify MKfallback.sh to use tic -x when constructing fallback tables 2162 to allow extended capabilities to be retrieved from a fallback entry. 2163 + improve leak-checking logic in tgetent() from 20060625 to ensure that 2164 it does not free the current screen (report by Miroslav Lichvar). 2165 2166 20060708 2167 + add a check for _POSIX_VDISABLE in tset (NetBSD #33916). 2168 + correct _nc_free_entries() and related functions used for memory leak 2169 checking of tic. 2170 2171 20060701 2172 + revert a minor change for magic-cookie support from 20060513, which 2173 caused unexpected reset of attributes, e.g., when resizing test/view 2174 in color mode. 2175 + note in clear manpage that the program ignores command-line 2176 parameters (prompted by Debian #371855). 2177 + fixes to make lib_gen.c build properly with changes to the configure 2178 --disable-macros option and NCURSES_NOMACROS (cf: 20060527) 2179 + update/correct several terminfo entries -TD 2180 + add some notes regarding copyright to terminfo.src -TD 2181 2182 20060625 2183 + fixes to build Ada95 binding with gnat-4.1.0 2184 + modify read_termtype() so the term_names data is always allocated as 2185 part of the str_table, a better fix for a memory leak (cf: 20030809). 2186 + reduce memory leaks in repeated calls to tgetent() by remembering the 2187 last TERMINAL* value allocated to hold the corresponding data and 2188 freeing that if the tgetent() result buffer is the same as the 2189 previous call (report by "Matt" for FreeBSD gnu/98975). 2190 + modify tack to test extended capability function-key strings. 2191 + improved gnome terminfo entry (GenToo #122566). 2192 + improved xterm-256color terminfo entry (patch by Alain Bench). 2193 2194 20060617 2195 + fix two small memory leaks related to repeated tgetent() calls 2196 with TERM=screen (report by "Matt" for FreeBSD gnu/98975). 2197 + add --enable-signed-char to simplify Debian package. 2198 + reduce name-pollution in term.h by removing #define's for HAVE_xxx 2199 symbols. 2200 + correct typo in curs_terminfo.3x (Debian #369168). 2201 2202 20060603 2203 + enable the mouse in test/movewindow.c 2204 + improve a limit-check in frm_def.c (John Heasley). 2205 + minor copyright fixes. 2206 + change configure script to produce test/Makefile from data file. 2207 2208 20060527 2209 + add a configure option --enable-wgetch-events to enable 2210 NCURSES_WGETCH_EVENTS, and correct the associated loop-logic in 2211 lib_twait.c (report by Bernd Jendrissek). 2212 + remove include/nomacros.h from build, since the ifdef for 2213 NCURSES_NOMACROS makes that obsolete. 2214 + add entrypoints for some functions which were only provided as macros 2215 to make NCURSES_NOMACROS ifdef work properly: getcurx(), getcury(), 2216 getbegx(), getbegy(), getmaxx(), getmaxy(), getparx() and getpary(), 2217 wgetbkgrnd(). 2218 + provide ifdef for NCURSES_NOMACROS which suppresses most macro 2219 definitions from curses.h, i.e., where a macro is defined to override 2220 a function to improve performance. Allowing a developer to suppress 2221 these definitions can simplify some application (discussion with 2222 Stanislav Ievlev). 2223 + improve description of memu/meml in terminfo manpage. 2224 2225 20060520 2226 + if msgr is false, reset video attributes when doing an automargin 2227 wrap to the next line. This makes the ncurses 'k' test work properly 2228 for hpterm. 2229 + correct caching of keyname(), which was using only half of its table. 2230 + minor fixes to memory-leak checking. 2231 + make SCREEN._acs_map and SCREEN._screen_acs_map pointers rather than 2232 arrays, making ACS_LEN less visible to applications (suggested by 2233 Stanislav Ievlev). 2234 + move chunk in SCREEN ifdef'd for USE_WIDEC_SUPPORT to the end, so 2235 _screen_acs_map will have the same offset in both ncurses/ncursesw, 2236 making the corresponding tinfo/tinfow libraries binary-compatible 2237 (cf: 20041016, report by Stanislav Ievlev). 2238 2239 20060513 2240 + improve debug-tracing for EmitRange(). 2241 + change default for --with-develop to "yes". Add NCURSES_NO_HARD_TABS 2242 and NCURSES_NO_MAGIC_COOKIE environment variables to allow runtime 2243 suppression of the related hard-tabs and xmc-glitch features. 2244 + add ncurses version number to top-level manpages, e.g., ncurses, tic, 2245 infocmp, terminfo as well as form, menu, panel. 2246 + update config.guess, config.sub 2247 + modify ncurses.c to work around a bug in NetBSD 3.0 curses 2248 (field_buffer returning null for a valid field). The 'r' test 2249 appears to not work with that configuration since the new_fieldtype() 2250 function is broken in that implementation. 2251 2252 20060506 2253 + add hpterm-color terminfo entry -TD 2254 + fixes to compile test-programs with HPUX 11.23 2255 2256 20060422 2257 + add copyright notices to files other than those that are generated, 2258 data or adapted from pdcurses (reports by William McBrine, David 2259 Taylor). 2260 + improve rendering on hpterm by not resetting attributes at the end 2261 of doupdate() if the terminal has the magic-cookie feature (report 2262 by Bernd Rieke). 2263 + add 256color variants of terminfo entries for programs which are 2264 reported to implement this feature -TD 2265 2266 20060416 2267 + fix typo in change to NewChar() macro from 20060311 changes, which 2268 broke tab-expansion (report by Frederic L W Meunier). 2269 2270 20060415 2271 + document -U option of tic and infocmp. 2272 + modify tic/infocmp to suppress smacs/rmacs when acsc is suppressed 2273 due to size limit, e.g., converting to termcap format. Also 2274 suppress them if the output format does not contain acsc and it 2275 was not VT100-like, i.e., a one-one mapping (Novell #163715). 2276 + add configure check to ensure that SIGWINCH is defined on platforms 2277 such as OS X which exclude that when _XOPEN_SOURCE, etc., are 2278 defined (report by Nicholas Cole) 2279 2280 20060408 2281 + modify write_object() to not write coincidental extensions of an 2282 entry made due to it being referenced in a use= clause (report by 2283 Alain Bench). 2284 + another fix for infocmp -i option, which did not ensure that some 2285 escape sequences had comparable prefixes (report by Alain Bench). 2286 2287 20060401 2288 + improve discussion of init/reset in terminfo and tput manpages 2289 (report by Alain Bench). 2290 + use is3 string for a fallback of rs3 in the reset program; it was 2291 using is2 (report by Alain Bench). 2292 + correct logic for infocmp -i option, which did not account for 2293 multiple digits in a parameter (cf: 20040828) (report by Alain 2294 Bench). 2295 + move _nc_handle_sigwinch() to lib_setup.c to make --with-termlib 2296 option work after 20060114 changes (report by Arkadiusz Miskiewicz). 2297 + add copyright notices to test-programs as needed (report by William 2298 McBrine). 2299 2300 20060318 2301 + modify ncurses.c 'F' test to combine the wide-characters with color 2302 and/or video attributes. 2303 + modify test/ncurses to use CTL/Q or ESC consistently for exiting 2304 a test-screen (some commands used 'x' or 'q'). 2305 2306 20060312 2307 + fix an off-by-one in the scrolling-region change (cf_ 20060311). 2308 2309 20060311 2310 + add checks in waddchnstr() and wadd_wchnstr() to stop copying when 2311 a null character is found (report by Igor Bogomazov). 2312 + modify progs/Makefile.in to make "tput init" work properly with 2313 cygwin, i.e., do not pass a ".exe" in the reference string used 2314 in check_aliases (report by Samuel Thibault). 2315 + add some checks to ensure current position is within scrolling 2316 region before scrolling on a new line (report by Dan Gookin). 2317 + change some NewChar() usage to static variables to work around 2318 stack garbage introduced when cchar_t is not packed (Redhat #182024). 2319 2320 20060225 2321 + workarounds to build test/movewindow with PDcurses 2.7. 2322 + fix for nsterm-16color entry (patch by Alain Bench). 2323 + correct a typo in infocmp manpage (Debian #354281). 2324 2325 20060218 2326 + add nsterm-16color entry -TD 2327 + updated mlterm terminfo entry -TD 2328 + remove 970913 feature for copying subwindows as they are moved in 2329 mvwin() (discussion with Bryan Christ). 2330 + modify test/demo_menus.c to demonstrate moving a menu (both the 2331 window and subwindow) using shifted cursor-keys. 2332 + start implementing recursive mvwin() in movewindow.c (incomplete). 2333 + add a fallback definition for GCC_PRINTFLIKE() in test.priv.h, 2334 for movewindow.c (report by William McBrine). 2335 + add help-message to test/movewindow.c 2336 2337 20060211 2338 + add test/movewindow.c, to test mvderwin(). 2339 + fix ncurses soft-key test so color changes are shown immediately 2340 rather than delayed. 2341 + modify ncurses soft-key test to hide the keys when exiting the test 2342 screen. 2343 + fixes to build test programs with PDCurses 2.7, e.g., its headers 2344 rely on autoconf symbols, and it declares stubs for nonfunctional 2345 terminfo and termcap entrypoints. 2346 2347 20060204 2348 + improved test/configure to build test/ncurses on HPUX 11 using the 2349 vendor curses. 2350 + documented ALTERNATE CONFIGURATIONS in the ncurses manpage, for the 2351 benefit of developers who do not read INSTALL. 2352 2353 20060128 2354 + correct form library Window_To_Buffer() change (cf: 20040516), which 2355 should ignore the video attributes (report by Ricardo Cantu). 2356 2357 20060121 2358 + minor fixes to xmc-glitch experimental code: 2359 + suppress line-drawing 2360 + implement max_attributes 2361 tested with xterm. 2362 + minor fixes for the database iterator. 2363 + fix some buffer limits in c++ demo (comment by Falk Hueffner in 2364 Debian #348117). 2365 2366 20060114 2367 + add toe -a option, to show all databases. This uses new private 2368 interfaces in the ncurses library for iterating through the list of 2369 databases. 2370 + fix toe from 20000909 changes which made it not look at 2371 $HOME/.terminfo 2372 + make toe's -v option parameter optional as per manpage. 2373 + improve SIGWINCH handling by postponing its effect during newterm(), 2374 etc., when allocating screens. 2375 2376 20060111 2377 + modify wgetnstr() to return KEY_RESIZE if a sigwinch occurs. Use 2378 this in test/filter.c 2379 + fix an error in filter() modification which caused some applications 2380 to fail. 2381 2382 20060107 2383 + check if filter() was called when getting the screensize. Keep it 2384 at 1 if so (based on Redhat #174498). 2385 + add extension nofilter(). 2386 + refined the workaround for ACS mapping. 2387 + make ifdef's consistent in curses.h for the extended colors so the 2388 header file can be used for the normal curses library. The header 2389 file installed for extended colors is a variation of the 2390 wide-character configuration (report by Frederic L W Meunier). 2391 2392 20051231 2393 + add a workaround to ACS mapping to allow applications such as 2394 test/blue.c to use the "PC ROM" characters by masking them with 2395 A_ALTCHARSET. This worked up til 5.5, but was lost in the revision 2396 of legacy coding (report by Michael Deutschmann). 2397 + add a null-pointer check in the wide-character version of 2398 calculate_actual_width() (report by Victor Julien). 2399 + improve test/ncurses 'd' (color-edit) test by allowing the RGB 2400 values to be set independently (patch by William McBrine). 2401 + modify test/configure script to allow building test programs with 2402 PDCurses/X11. 2403 + modified test programs to allow some to work with NetBSD curses. 2404 Several do not because NetBSD curses implements a subset of X/Open 2405 curses, and also lacks much of SVr4 additions. But it's enough for 2406 comparison. 2407 + update config.guess and config.sub 2408 2409 20051224 2410 + use BSD-specific fix for return-value from cgetent() from CVS where 2411 an unknown terminal type would be reportd as "database not found". 2412 + make tgetent() return code more readable using new symbols 2413 TGETENT_YES, etc. 2414 + remove references to non-existent "tctest" program. 2415 + remove TESTPROGS from progs/Makefile.in (it was referring to code 2416 that was never built in that directory). 2417 + typos in curs_addchstr.3x, some doc files (noticed in OpenBSD CVS). 2418 2419 20051217 2420 + add use_legacy_coding() function to support lynx's font-switching 2421 feature. 2422 + fix formatting in curs_termcap.3x (report by Mike Frysinger). 2423 + modify MKlib_gen.sh to change preprocessor-expanded _Bool back to 2424 bool. 2425 2426 20051210 2427 + extend test/ncurses.c 's' (overlay window) test to exercise overlay(), 2428 overwrite() and copywin() with different combinations of colors and 2429 attributes (including background color) to make it easy to see the 2430 effect of the different functions. 2431 + corrections to menu/m_global.c for wide-characters (report by 2432 Victor Julien). 2433 2434 20051203 2435 + add configure option --without-dlsym, allowing developers to 2436 configure GPM support without using dlsym() (discussion with Michael 2437 Setzer). 2438 + fix wins_nwstr(), which did not handle single-column non-8bit codes 2439 (Debian #341661). 2440 2441 20051126 2442 + move prototypes for wide-character trace functions from curses.tail 2443 to curses.wide to avoid accidental reference to those if 2444 _XOPEN_SOURCE_EXTENDED is defined without ensuring that <wchar.h> is 2445 included. 2446 + add/use NCURSES_INLINE definition. 2447 + change some internal functions to use int/unsigned rather than the 2448 short equivalents. 2449 2450 20051119 2451 + remove a redundant check in lib_color.c (Debian #335655). 2452 + use ld's -search_paths_first option on Darwin to work around odd 2453 search rules on that platform (report by Christian Gennerat, analysis 2454 by Andrea Govoni). 2455 + remove special case for Darwin in CF_XOPEN_SOURCE configure macro. 2456 + ignore EINTR in tcgetattr/tcsetattr calls (Debian #339518). 2457 + fix several bugs in test/bs.c (patch by Stephen Lindholm). 2458 2459 20051112 2460 + other minor fixes to cygwin based on tack -TD 2461 + correct smacs in cygwin (Debian #338234, report by Baurzhan 2462 Ismagulov, who noted that it was fixed in Cygwin). 2463 2464 20051029 2465 + add shifted up/down arrow codes to xterm-new as kind/kri strings -TD 2466 + modify wbkgrnd() to avoid clearing the A_CHARTEXT attribute bits 2467 since those record the state of multicolumn characters (Debian 2468 #316663). 2469 + modify werase to clear multicolumn characters that extend into 2470 a derived window (Debian #316663). 2471 2472 20051022 2473 + move assignment from environment variable ESCDELAY from initscr() 2474 down to newterm() so the environment variable affects timeouts for 2475 terminals opened with newterm() as well. 2476 + fix a memory leak in keyname(). 2477 + add test/demo_altkeys.c 2478 + modify test/demo_defkey.c to exit from loop via 'q' to allow 2479 leak-checking, as well as fix a buffer size in winnstr() call. 2480 2481 20051015 2482 + correct order of use-clauses in rxvt-basic entry which made codes for 2483 f1-f4 vt100-style rather than vt220-style (report by Gabor Z Papp). 2484 + suppress configure check for gnatmake if Ada95/Makefile.in is not 2485 found. 2486 + correct a typo in configure --with-bool option for the case where 2487 --without-cxx is used (report by Daniel Jacobowitz). 2488 + add a note to INSTALL's discussion of --with-normal, pointing out 2489 that one may wish to use --without-gpm to ensure a completely 2490 static link (prompted by report by Felix von Leitner). 2491 2492 20051010 5.5 release for upload to 2493 2494 20051008 2495 + document in demo_forms.c some portability issues. 2496 2497 20051001 2498 + document side-effect of werase() which sets the cursor position. 2499 + save/restore the current position in form field editing to make 2500 overlay mode work. 2501 2502 20050924 2503 + correct header dependencies in progs, allowing parallel make (report 2504 by Daniel Jacobowitz). 2505 + modify CF_BUILD_CC to ensure that pre-setting $BUILD_CC overrides 2506 the configure check for --with-build-cc (report by Daniel Jacobowitz). 2507 + modify CF_CFG_DEFAULTS to not use /usr as the default prefix for 2508 NetBSD. 2509 + update config.guess and config.sub from 2510 2511 2512 20050917 2513 + modify sed expression which computes path for /usr/lib/terminfo 2514 symbolic link in install to ensure that it does not change unexpected 2515 levels of the path (Gentoo #42336). 2516 + modify default for --disable-lp64 configure option to reduce impact 2517 on existing 64-bit builds. Enabling the _LP64 option may change the 2518 size of chtype and mmask_t. However, for ABI 6, it is enabled by 2519 default (report by Mike Frysinger). 2520 + add configure script check for --enable-ext-mouse, bump ABI to 6 by 2521 default if it is used. 2522 + improve configure script logic for bumping ABI to omit this if the 2523 --with-abi-version option was used. 2524 + update address for Free Software Foundation in tack's source. 2525 + correct wins_wch(), which was not marking the filler-cells of 2526 multi-column characters (cf: 20041023). 2527 2528 20050910 2529 + modify mouse initialization to ensure that Gpm_Open() is called only 2530 once. Otherwise GPM gets confused in its initialization of signal 2531 handlers (Debian #326709). 2532 2533 20050903 2534 + modify logic for backspacing in a multiline form field to ensure that 2535 it works even when the preceding line is full (report by Frank van 2536 Vugt). 2537 + remove comment about BUGS section of ncurses manpage (Debian #325481) 2538 2539 20050827 2540 + document some workarounds for shared and libtool library 2541 configurations in INSTALL (see --with-shared and --with-libtool). 2542 + modify CF_GCC_VERSION and CF_GXX_VERSION macros to accommodate 2543 cross-compilers which emit the platform name in their version 2544 message, e.g., 2545 arm-sa1100-linux-gnu-g++ (GCC) 4.0.1 2546 (report by Frank van Vugt). 2547 2548 20050820 2549 + start updating documentation for upcoming 5.5 release. 2550 + fix to make libtool and libtinfo work together again (cf: 20050122). 2551 + fixes to allow building traces into libtinfo 2552 + add debug trace to tic that shows if/how ncurses will write to the 2553 lower corner of a terminal's screen. 2554 + update llib-l* files. 2555 2556 20050813 2557 + modify initializers in c++ binding to build with old versions of g++. 2558 + improve special case for 20050115 repainting fix, ensuring that if 2559 the first changed cell is not a character that the range to be 2560 repainted is adjusted to start at a character's beginning (Debian 2561 #316663). 2562 2563 20050806 2564 + fixes to build on QNX 6.1 2565 + improve configure script checks for Intel 9.0 compiler. 2566 + remove #include's for libc.h (obsolete). 2567 + adjust ifdef's in curses.priv.h so that when cross-compiling to 2568 produce comp_hash and make_keys, no dependency on wchar.h is needed. 2569 That simplifies the build-cppflags (report by Frank van Vugt). 2570 + move modules related to key-binding into libtinfo to fix linkage 2571 problem caused by 20050430 changes to MKkeyname.sh (report by 2572 Konstantin Andreev). 2573 2574 20050723 2575 + updates/fixes for configure script macros from vile -TD 2576 + make prism9's sgr string agree with the rest of the terminfo -TD 2577 + make vt220's sgr0 string consistent with sgr string, do this for 2578 several related cases -TD 2579 + improve translation to termcap by filtering the 'me' (sgr0) strings 2580 as in the runtime call to tgetent() (prompted by a discussion with 2581 Thomas Klausner). 2582 + improve tic check for sgr0 versus sgr(0), to help ensure that sgr0 2583 resets line-drawing. 2584 2585 20050716 2586 + fix special cases for trimming sgr0 for hurd and vt220 (Debian 2587 #318621). 2588 + split-out _nc_trim_sgr0() from modifications made to tgetent(), to 2589 allow it to be used by tic to provide information about the runtime 2590 changes that would be made to sgr0 for termcap applications. 2591 + modify make_sed.sh to make the group-name in the NAME section of 2592 form/menu library manpage agree with the TITLE string when renaming 2593 is done for Debian (Debian #78866). 2594 2595 20050702 2596 + modify parameter type in c++ binding for insch() and mvwinsch() to 2597 be consistent with underlying ncurses library (was char, is chtype). 2598 + modify treatment of Intel compiler to allow _GNU_SOURCE to be defined 2599 on Linux. 2600 + improve configure check for nanosleep(), checking that it works since 2601 some older systems such as AIX 4.3 have a nonworking version. 2602 2603 20050625 2604 + update config.guess and config.sub from 2605 2606 + modify misc/shlib to work in test-directory. 2607 + suppress $suffix in misc/run_tic.sh when cross-compiling. This 2608 allows cross-compiles to use the host's tic program to handle the 2609 "make install.data" step. 2610 + improve description of $LINES and $COLUMNS variables in manpages 2611 (prompted by report by Dave Ulrick). 2612 + improve description of cross-compiling in INSTALL 2613 + add NCURSES-Programming-HOWTO.html by Pradeep Padala 2614 (see). 2615 + modify configure script to obtain soname for GPM library (discussion 2616 with Daniel Jacobowitz). 2617 + modify configure script so that --with-chtype option will still 2618 compute the unsigned literals suffix for constants in curses.h 2619 (report by Daniel Jacobowitz: 2620 + patches from Daniel Jacobowitz: 2621 + the man_db.renames entry for tack.1 was backwards. 2622 + tack.1 had some 1m's that should have been 1M's. 2623 + the section for curs_inwstr.3 was wrong. 2624 2625 20050619 2626 + correction to --with-chtype option (report by Daniel Jacobowitz). 2627 2628 20050618 2629 + move build-time edit_man.sh and edit_man.sed scripts to top directory 2630 to simplify reusing them for renaming tack's manpage (prompted by a 2631 review of Debian package). 2632 + revert minor optimization from 20041030 (Debian #313609). 2633 + libtool-specific fixes, tested with libtool 1.4.3, 1.5.0, 1.5.6, 2634 1.5.10 and 1.5.18 (all work except as noted previously for the c++ 2635 install using libtool 1.5.0): 2636 + modify the clean-rule in c++/Makefile.in to work with IRIX64 make 2637 program. 2638 + use $(LIBTOOL_UNINSTALL) symbol, overlooked in 20030830 2639 + add configure options --with-chtype and --with-mmask-t, to allow 2640 overriding of the non-LP64 model's use of the corresponding types. 2641 + revise test for size of chtype (and mmask_t), which always returned 2642 "long" due to an uninitialized variable (report by Daniel Jacobowitz). 2643 2644 20050611 2645 + change _tracef's that used "%p" format for va_list values to ignore 2646 that, since on some platforms those are not pointers. 2647 + fixes for long-formats in printf's due to largefile support. 2648 2649 20050604 2650 + fixes for termcap support: 2651 + reset pointer to _nc_curr_token.tk_name when the input stream is 2652 closed, which could point to free memory (cf: 20030215). 2653 + delink TERMTYPE data which is used by the termcap reader, so that 2654 extended names data will be freed consistently. 2655 + free pointer to TERMTYPE data in _nc_free_termtype() rather than 2656 its callers. 2657 + add some entrypoints for freeing permanently allocated data via 2658 _nc_freeall() when NO_LEAKS is defined. 2659 + amend 20041030 change to _nc_do_color to ensure that optimization is 2660 applied only when the terminal supports back_color_erase (bce). 2661 2662 20050528 2663 + add sun-color terminfo entry -TD 2664 + correct a missing assignment in c++ binding's method 2665 NCursesPanel::UserPointer() from 20050409 changes. 2666 + improve configure check for large-files, adding check for dirent64 2667 from vile -TD 2668 + minor change to configure script to improve linker options for the 2669 Ada95 tree. 2670 2671 20050515 2672 + document error conditions for ncurses library functions (report by 2673 Stanislav Ievlev). 2674 + regenerated html documentation for ada binding. 2675 see 2676 2677 20050507 2678 + regenerated html documentation for manpages. 2679 + add $(BUILD_EXEEXT) suffix to invocation of make_keys in 2680 ncurses/Makefile (Gentoo #89772). 2681 + modify c++/demo.cc to build with g++ -fno-implicit-templates option 2682 (patch by Mike Frysinger). 2683 + modify tic to filter out long extended names when translating to 2684 termcap format. Only two characters are permissible for termcap 2685 capability names. 2686 2687 20050430 2688 + modify terminfo entries xterm-new and rxvt to add strings for 2689 shift-, control-cursor keys. 2690 + workaround to allow c++ binding to compile with g++ 2.95.3, which 2691 has a broken implementation of static_cast<> (patch by Jeff Chua). 2692 + modify initialization of key lookup table so that if an extended 2693 capability (tic -x) string is defined, and its name begins with 'k', 2694 it will automatically be treated as a key. 2695 + modify test/keynames.c to allow for the possibility of extended 2696 key names, e.g., via define_key(), or via "tic -x". 2697 + add test/demo_termcap.c to show the contents of given entry via the 2698 termcap interface. 2699 2700 20050423 2701 + minor fixes for vt100/vt52 entries -TD 2702 + add configure option --enable-largefile 2703 + corrected libraries used to build Ada95/gen/gen, found in testing 2704 gcc 4.0.0. 2705 2706 20050416 2707 + update config.guess, config.sub 2708 + modify configure script check for _XOPEN_SOURCE, disable that on 2709 Darwin whose header files have problems (patch by Chris Zubrzycki). 2710 + modify form library Is_Printable_String() to use iswprint() rather 2711 than wcwidth() for determining if a character is printable. The 2712 latter caused it to reject menu items containing non-spacing 2713 characters. 2714 + modify ncurses test program's F-test to handle non-spacing characters 2715 by combining them with a reverse-video blank. 2716 + review/fix several gcc -Wconversion warnings. 2717 2718 20050409 2719 + correct an off-by-one error in m_driver() for mouse-clicks used to 2720 position the mouse to a particular item. 2721 + implement test/demo_menus.c 2722 + add some checks in lib_mouse to ensure SP is set. 2723 + modify C++ binding to make 20050403 changes work with the configure 2724 --enable-const option. 2725 2726 20050403 2727 + modify start_color() to return ERR if it cannot allocate memory. 2728 + address g++ compiler warnings in C++ binding by adding explicit 2729 member initialization, assignment operators and copy constructors. 2730 Most of the changes simply preserve the existing semantics of the 2731 binding, which can leak memory, etc., but by making these features 2732 visible, it provides a framework for improving the binding. 2733 + improve C++ binding using static_cast, etc. 2734 + modify configure script --enable-warnings to add options to g++ to 2735 correspond to the gcc --enable-warnings. 2736 + modify C++ binding to use some C internal functions to make it 2737 compile properly on Solaris (and other platforms). 2738 2739 20050327 2740 + amend change from 20050320 to limit it to configurations with a 2741 valid locale. 2742 + fix a bug introduced in 20050320 which broke the translation of 2743 nonprinting characters to uparrow form (report by Takahashi Tamotsu). 2744 2745 20050326 2746 + add ifdef's for _LP64 in curses.h to avoid using wasteful 64-bits for 2747 chtype and mmask_t, but add configure option --disable-lp64 in case 2748 anyone used that configuration. 2749 + update misc/shlib script to account for Mac OS X (report by Michail 2750 Vidiassov). 2751 + correct comparison for wrapping multibyte characters in 2752 waddch_literal() (report by Takahashi Tamotsu). 2753 2754 20050320 2755 + add -c and -w options to tset to allow user to suppress ncurses' 2756 resizing of the terminal emulator window in the special case where it 2757 is not able to detect the true size (report by Win Delvaux, Debian 2758 #300419). 2759 + modify waddch_nosync() to account for locale zn_CH.GBK, which uses 2760 codes 128-159 as part of multibyte characters (report by Wang 2761 WenRui, Debian #300512). 2762 2763 20050319 2764 + modify ncurses.c 'd' test to make it work with 88-color 2765 configuration, i.e., by implementing scrolling. 2766 + improve scrolling in ncurses.c 'c' and 'C' tests, e.g., for 88-color 2767 configuration. 2768 2769 20050312 2770 + change tracemunch to use strict checking. 2771 + modify ncurses.c 'p' test to test line-drawing within a pad. 2772 + implement environment variable NCURSES_NO_UTF8_ACS to support 2773 miscellaneous terminal emulators which ignore alternate character 2774 set escape sequences when in UTF-8 mode. 2775 2776 20050305 2777 + change NCursesWindow::err_handler() to a virtual function (request by 2778 Steve Beal). 2779 + modify fty_int.c and fty_num.c to handle wide characters (report by 2780 Wolfgang Gutjahr). 2781 + adapt fix for fty_alpha.c to fty_alnum.c, which also handled normal 2782 and wide characters inconsistently (report by Wolfgang Gutjahr). 2783 + update llib-* files to reflect internal interface additions/changes. 2784 2785 20050226 2786 + improve test/configure script, adding tests for _XOPEN_SOURCE, etc., 2787 from lynx. 2788 + add aixterm-16color terminfo entry -TD 2789 + modified xterm-new terminfo entry to work with tgetent() changes -TD 2790 + extended changes in tgetent() from 20040710 to allow the substring of 2791 sgr0 which matches rmacs to be at the beginning of the sgr0 string 2792 (request by Thomas Wolff). Wolff says the visual effect in 2793 combination with pre-20040710 ncurses is improved. 2794 + fix off-by-one in winnstr() call which caused form field validation 2795 of multibyte characters to ignore the last character in a field. 2796 + correct logic in winsch() for inserting multibyte strings; the code 2797 would clear cells after the insertion rather than push them to the 2798 right (cf: 20040228). 2799 + fix an inconsistency in Check_Alpha_Field() between normal and wide 2800 character logic (report by Wolfgang Gutjahr). 2801 2802 20050219 2803 + fix a bug in editing wide-characters in form library: deleting a 2804 nonwide character modified the previous wide-character. 2805 + update manpage to describe NCURSES_MOUSE_VERSION 2. 2806 + correct manpage description of mouseinterval() (Debian #280687). 2807 + add a note to default_colors.3x explaining why this extension was 2808 added (Debian #295083). 2809 + add traces to panel library. 2810 2811 20050212 2812 + improve editing of wide-characters in form library: left/right 2813 cursor movement, and single-character deletions work properly. 2814 + disable GPM mouse support when $TERM happens to be prefixed with 2815 "xterm". Gpm_Open() would otherwise assert that it can deal with 2816 mouse events in this case. 2817 + modify GPM mouse support so it closes the server connection when 2818 the caller disables the mouse (report by Stanislav Ievlev). 2819 2820 20050205 2821 + add traces for callback functions in form library. 2822 + add experimental configure option --enable-ext-mouse, which defines 2823 NCURSES_MOUSE_VERSION 2, and modifies the encoding of mouse events to 2824 support wheel mice, which may transmit buttons 4 and 5. This works 2825 with xterm and similar X terminal emulators (prompted by question by 2826 Andreas Henningsson, this is also related to Debian #230990). 2827 + improve configure macros CF_XOPEN_SOURCE and CF_POSIX_C_SOURCE to 2828 avoid redefinition warnings on cygwin. 2829 2830 20050129 2831 + merge remaining development changes for extended colors (mostly 2832 complete, does not appear to break other configurations). 2833 + add xterm-88color.dat (part of extended colors testing). 2834 + improve _tracedump() handling of color pairs past 96. 2835 + modify return-value from start_color() to return OK if colors have 2836 already been started. 2837 + modify curs_color.3x list error conditions for init_pair(), 2838 pair_content() and color_content(). 2839 + modify pair_content() to return -1 for consistency with init_pair() 2840 if it corresponds to the default-color. 2841 + change internal representation of default-color to allow application 2842 to use color number 255. This does not affect the total number of 2843 color pairs which are allowed. 2844 + add a top-level tags rule. 2845 2846 20050122 2847 + add a null-pointer check in wgetch() in case it is called without 2848 first calling initscr(). 2849 + add some null-pointer checks for SP, which is not set by libtinfo. 2850 + modify misc/shlib to ensure that absolute pathnames are used. 2851 + modify test/Makefile.in, etc., to link test programs only against the 2852 libraries needed, e.g., omit form/menu/panel library for the ones 2853 that are curses-specific. 2854 + change SP->_current_attr to a pointer, adjust ifdef's to ensure that 2855 libtinfo.so and libtinfow.so have the same ABI. The reason for this 2856 is that the corresponding data which belongs to the upper-level 2857 ncurses library has a different size in each model (report by 2858 Stanislav Ievlev). 2859 2860 20050115 2861 + minor fixes to allow test-compiles with g++. 2862 + correct column value shown in tic's warnings, which did not account 2863 for leading whitespace. 2864 + add a check in _nc_trans_string() for improperly ended strings, i.e., 2865 where a following line begins in column 1. 2866 + modify _nc_save_str() to return a null pointer on buffer overflow. 2867 + improve repainting while scrolling wide-character data (Eungkyu Song). 2868 2869 20050108 2870 + merge some development changes to extend color capabilities. 2871 2872 20050101 2873 + merge some development changes to extend color capabilities. 2874 + fix manpage typo (FreeBSD report docs/75544). 2875 + update config.guess, config.sub 2876 > patches for configure script (Albert Chin-A-Young): 2877 + improved fix to make mbstate_t recognized on HPUX 11i (cf: 2878 20030705), making vsscanf() prototype visible on IRIX64. Tested for 2879 on HP-UX 11i, Solaris 7, 8, 9, AIX 4.3.3, 5.2, Tru64 UNIX 4.0D, 5.1, 2880 IRIX64 6.5, Redhat Linux 7.1, 9, and RHEL 2.1, 3.0. 2881 + print the result of the --disable-home-terminfo option. 2882 + use -rpath when compiling with SGI C compiler. 2883 2884 20041225 2885 + add trace calls to remaining public functions in form and menu 2886 libraries. 2887 + fix check for numeric digits in test/ncurses.c 'b' and 'B' tests. 2888 + fix typo in test/ncurses.c 'c' test from 20041218. 2889 2890 20041218 2891 + revise test/ncurses.c 'c' color test to improve use for xterm-88color 2892 and xterm-256color, added 'C' test using the wide-character color_set 2893 and attr_set functions. 2894 2895 20041211 2896 + modify configure script to work with Intel compiler. 2897 + fix an limit-check in wadd_wchnstr() which caused labels in the 2898 forms-demo to be one character short. 2899 + fix typo in curs_addchstr.3x (Jared Yanovich). 2900 + add trace calls to most functions in form and menu libraries. 2901 + update working-position for adding wide-characters when window is 2902 scrolled (prompted by related report by Eungkyu Song). 2903 2904 20041204 2905 + replace some references on Linux to wcrtomb() which use it to obtain 2906 the length of a multibyte string with _nc_wcrtomb, since wcrtomb() is 2907 broken in glibc (see Debian #284260). 2908 + corrected length-computation in wide-character support for 2909 field_buffer(). 2910 + some fixes to frm_driver.c to allow it to accept multibyte input. 2911 + modify configure script to work with Intel 8.0 compiler. 2912 2913 20041127 2914 + amend change to setupterm() in 20030405 which would reuse the value 2915 of cur_term if the same output was selected. This now reuses it only 2916 when setupterm() is called from tgetent(), which has no notion of 2917 separate SCREENs. Note that tgetent() must be called after initscr() 2918 or newterm() to use this feature (Redhat Bugzilla #140326). 2919 + add a check in CF_BUILD_CC macro to ensure that developer has given 2920 the --with-build-cc option when cross-compiling (report by Alexandre 2921 Campo). 2922 + improved configure script checks for _XOPEN_SOURCE and 2923 _POSIX_C_SOURCE (fix for IRIX 5.3 from Georg Schwarz, _POSIX_C_SOURCE 2924 updates from lynx). 2925 + cosmetic fix to test/gdc.c to recolor the bottom edge of the box 2926 for consistency (comment by Dan Nelson). 2927 2928 20041120 2929 + update wsvt25 terminfo entry -TD 2930 + modify test/ins_wide.c to test all flavors of ins_wstr(). 2931 + ignore filler-cells in wadd_wchnstr() when adding a cchar_t array 2932 which consists of multi-column characters, since this function 2933 constructs them (cf: 20041023). 2934 + modify winnstr() to return multibyte character strings for the 2935 wide-character configuration. 2936 2937 20041106 2938 + fixes to make slk_set() and slk_wset() accept and store multibyte 2939 or multicolumn characters. 2940 2941 20041030 2942 + improve color optimization a little by making _nc_do_color() check 2943 if the old/new pairs are equivalent to the default pair 0. 2944 + modify assume_default_colors() to not require that 2945 use_default_colors() be called first. 2946 2947 20041023 2948 + modify term_attrs() to use termattrs(), add the extended attributes 2949 such as enter_horizontal_hl_mode for WA_HORIZONTAL to term_attrs(). 2950 + add logic in waddch_literal() to clear orphaned cells when one 2951 multi-column character partly overwrites another. 2952 + improved logic for clearing cells when a multi-column character 2953 must be wrapped to a new line. 2954 + revise storage of cells for multi-column characters to correct a 2955 problem with repainting. In the old scheme, it was possible for 2956 doupdate() to decide that only part of a multi-column character 2957 should be repainted since the filler cells stored only an attribute 2958 to denote them as fillers, rather than the character value and the 2959 attribute. 2960 2961 20041016 2962 + minor fixes for traces. 2963 + add SP->_screen_acs_map[], used to ensure that mapping of missing 2964 line-drawing characters is handled properly. For example, ACS_DARROW 2965 is absent from xterm-new, and it was coincidentally displayed the 2966 same as ACS_BTEE. 2967 2968 20041009 2969 + amend 20021221 workaround for broken acs to reset the sgr, rmacs 2970 and smacs strings as well. Also modify the check for screen's 2971 limitations in that area to allow the multi-character shift-in 2972 and shift-out which seem to work. 2973 + change GPM initialization, using dl library to load it dynamically 2974 at runtime (Debian #110586). 2975 2976 20041002 2977 + correct logic for color pair in setcchar() and getcchar() (patch by 2978 Marcin 'Qrczak' Kowalczyk). 2979 + add t/T commands to ncurses b/B tests to allow a different color to 2980 be tested for the attrset part of the test than is used in the 2981 background color. 2982 2983 20040925 2984 + fix to make setcchar() to work when its wchar_t* parameter is 2985 pointing to a string which contains more data than can be converted. 2986 + modify wget_wstr() and example in ncurses.c to work if wchar_t and 2987 wint_t are different sizes (report by Marcin 'Qrczak' Kowalczyk). 2988 2989 20040918 2990 + remove check in wget_wch() added to fix an infinite loop, appears to 2991 have been working around a transitory glibc bug, and interferes 2992 with normal operation (report by Marcin 'Qrczak' Kowalczyk). 2993 + correct wadd_wch() and wecho_wch(), which did not pass the rendition 2994 information (report by Marcin 'Qrczak' Kowalczyk). 2995 + fix aclocal.m4 so that the wide-character version of ncurses gets 2996 compiled as libncursesw.5.dylib, instead of libncurses.5w.dylib 2997 (adapted from patch by James J Ramsey). 2998 + change configure script for --with-caps option to indicate that it 2999 is no longer experimental. 3000 + change configure script to reflect the fact that --enable-widec has 3001 not been "experimental" since 5.3 (report by Bruno Lustosa). 3002 3003 20040911 3004 + add 'B' test to ncurses.c, to exercise some wide-character functions. 3005 3006 20040828 3007 + modify infocmp -i option to match 8-bit controls against its table 3008 entries, e.g., so it can analyze the xterm-8bit entry. 3009 + add morphos terminfo entry, improve amiga-8bit entry (Pavel Fedin). 3010 + correct translation of "%%" in terminfo format to termcap, e.g., 3011 using "tic -C" (Redhat Bugzilla #130921). 3012 + modified configure script CF_XOPEN_SOURCE macro to ensure that if 3013 it defines _POSIX_C_SOURCE, that it defines it to a specific value 3014 (comp.os.stratus newsgroup comment). 3015 3016 20040821 3017 + fixes to build with Ada95 binding with gnat 3.4 (all warnings are 3018 fatal, and gnat does not follow the guidelines for pragmas). 3019 However that did find a coding error in Assume_Default_Colors(). 3020 + modify several terminfo entries to ensure xterm mouse and cursor 3021 visibility are reset in rs2 string: hurd, putty, gnome, 3022 konsole-base, mlterm, Eterm, screen (Debian #265784, #55637). The 3023 xterm entries are left alone - old ones for compatibility, and the 3024 new ones do not require this change. -TD 3025 3026 20040814 3027 + fake a SIGWINCH in newterm() to accommodate buggy terminal emulators 3028 and window managers (Debian #265631). 3029 > terminfo updates -TD 3030 + remove dch/dch1 from rxvt because they are implemented inconsistently 3031 with the common usage of bce/ech 3032 + remove khome from vt220 (vt220's have no home key) 3033 + add rxvt+pcfkeys 3034 3035 20040807 3036 + modify test/ncurses.c 'b' test, adding v/V toggles to cycle through 3037 combinations of video attributes so that for instance bold and 3038 underline can be tested. This made the legend too crowded, added 3039 a help window as well. 3040 + modify test/ncurses.c 'b' test to cycle through default colors if 3041 the -d option is set. 3042 + update putty terminfo entry (Robert de Bath). 3043 3044 20040731 3045 + modify test/cardfile.c to allow it to read more data than can be 3046 displayed. 3047 + correct logic in resizeterm.c which kept it from processing all 3048 levels of window hierarchy (reports by Folkert van Heusden, 3049 Chris Share). 3050 3051 20040724 3052 + modify "tic -cv" to ignore delays when comparing strings. Also 3053 modify it to ignore a canceled sgr string, e.g., for terminals which 3054 cannot properly combine attributes in one control sequence. 3055 + corrections for gnome and konsole entries (Redhat Bugzilla #122815, 3056 patch by Hans de Goede) 3057 > terminfo updates -TD 3058 + make ncsa-m rmacs/smacs consistent with sgr 3059 + add sgr, rc/sc and ech to syscons entries 3060 + add function-keys to decansi 3061 + add sgr to mterm-ansi 3062 + add sgr, civis, cnorm to emu 3063 + correct/simplify cup in addrinfo 3064 3065 20040717 3066 > terminfo updates -TD 3067 + add xterm-pc-fkeys 3068 + review/update gnome and gnome-rh90 entries (prompted by Redhat 3069 Bugzilla #122815). 3070 + review/update konsole entries 3071 + add sgr, correct sgr0 for kterm and mlterm 3072 + correct tsl string in kterm 3073 3074 20040711 3075 + add configure option --without-xterm-new 3076 3077 20040710 3078 + add check in wget_wch() for printable bytes that are not part of a 3079 multibyte character. 3080 + modify wadd_wchnstr() to render text using window's background 3081 attributes. 3082 + improve tic's check to compare sgr and sgr0. 3083 + fix c++ directory's .cc.i rule. 3084 + modify logic in tgetent() which adjusts the termcap "me" string 3085 to work with ISO-2022 string used in xterm-new (cf: 20010908). 3086 + modify tic's check for conflicting function keys to omit that if 3087 converting termcap to termcap format. 3088 + add -U option to tic and infocmp. 3089 + add rmam/smam to linux terminfo entry (Trevor Van Bremen) 3090 > terminfo updates -TD 3091 + minor fixes for emu 3092 + add emu-220 3093 + change wyse acsc strings to use 'i' map rather than 'I' 3094 + fixes for avatar0 3095 + fixes for vp3a+ 3096 3097 20040703 3098 + use tic -x to install terminfo database -TD 3099 + add -x to infocmp's usage message. 3100 + correct field used for comparing O_ROWMAJOR in set_menu_format() 3101 (report/patch by Tony Li). 3102 + fix a missing nul check in set_field_buffer() from 20040508 changes. 3103 > terminfo updates -TD 3104 + make xterm-xf86-v43 derived from xterm-xf86-v40 rather than 3105 xterm-basic -TD 3106 + align with xterm patch #192's use of xterm-new -TD 3107 + update xterm-new and xterm-8bit for cvvis/cnorm strings -TD 3108 + make xterm-new the default "xterm" entry -TD 3109 3110 20040626 3111 + correct BUILD_CPPFLAGS substitution in ncurses/Makefile.in, to allow 3112 cross-compiling from a separate directory tree (report/patch by 3113 Dan Engel). 3114 + modify is_term_resized() to ensure that window sizes are nonzero, 3115 as documented in the manpage (report by Ian Collier). 3116 + modify CF_XOPEN_SOURCE configure macro to make Hurd port build 3117 (Debian #249214, report/patch by Jeff Bailey). 3118 + configure-script mods from xterm, e.g., updates to CF_ADD_CFLAGS 3119 + update config.guess, config.sub 3120 > terminfo updates -TD 3121 + add mlterm 3122 + add xterm-xf86-v44 3123 + modify xterm-new aka xterm-xfree86 to accommodate luit, which 3124 relies on G1 being used via an ISO-2022 escape sequence (report by 3125 Juliusz Chroboczek) 3126 + add 'hurd' entry 3127 3128 20040619 3129 + reconsidered winsnstr(), decided after comparing other 3130 implementations that wrapping is an X/Open documentation error. 3131 + modify test/inserts.c to test all flavors of insstr(). 3132 3133 20040605 3134 + add setlocale() calls to a few test programs which may require it: 3135 demo_forms.c, filter.c, ins_wide.c, inserts.c 3136 + correct a few misspelled function names in ncurses-intro.html (report 3137 by Tony Li). 3138 + correct internal name of key_defined() manpage, which conflicted with 3139 define_key(). 3140 3141 20040529 3142 + correct size of internal pad used for holding wide-character 3143 field_buffer() results. 3144 + modify data_ahead() to work with wide-characters. 3145 3146 20040522 3147 + improve description of terminfo if-then-else expressions (suggested 3148 by Arne Thomassen). 3149 + improve test/ncurses.c 'd' test, allow it to use external file for 3150 initial palette (added xterm-16color.dat and linux-color.dat), and 3151 reset colors to the initial palette when starting/ending the test. 3152 + change limit-check in init_color() to allow r/g/b component to 3153 reach 1000 (cf: 20020928). 3154 3155 20040516 3156 + modify form library to use cchar_t's rather than char's in the 3157 wide-character configuration for storing data for field buffers. 3158 + correct logic of win_wchnstr(), which did not work for more than 3159 one cell. 3160 3161 20040508 3162 + replace memset/memcpy usage in form library with for-loops to 3163 simplify changing the datatype of FIELD.buf, part of wide-character 3164 changes. 3165 + fix some inconsistent use of #if/#ifdef (report by Alain Guibert). 3166 3167 20040501 3168 + modify menu library to account for actual number of columns used by 3169 multibyte character strings, in the wide-character configuration 3170 (adapted from patch by Philipp Tomsich). 3171 + add "-x" option to infocmp like tic's "-x", for use in "-F" 3172 comparisons. This modifies infocmp to only report extended 3173 capabilities if the -x option is given, making this more consistent 3174 with tic. Some scripts may break, since infocmp previous gave this 3175 information without an option. 3176 + modify termcap-parsing to retain 2-character aliases at the beginning 3177 of an entry if the "-x" option is used in tic. 3178 3179 20040424 3180 + minor compiler-warning and test-program fixes. 3181 3182 20040417 3183 + modify tic's missing-sgr warning to apply to terminfo only. 3184 + free some memory leaks in tic. 3185 + remove check in post_menu() that prevented menus from extending 3186 beyond the screen (request by Max J. Werner). 3187 + remove check in newwin() that prevents allocating windows 3188 that extend beyond the screen. Solaris curses does this. 3189 + add ifdef in test/color_set.c to allow it to compile with older 3190 curses. 3191 + add napms() calls to test/dots.c to make it not be a CPU hog. 3192 3193 20040403 3194 + modify unctrl() to return null if its parameter does not correspond 3195 to an unsigned char. 3196 + add some limit-checks to guard isprint(), etc., from being used on 3197 values that do not fit into an unsigned char (report by Sami Farin). 3198 3199 20040328 3200 + fix a typo in the _nc_get_locale() change. 3201 3202 20040327 3203 + modify _nc_get_locale() to use setlocale() to query the program's 3204 current locale rather than using getenv(). This fixes a case in tin 3205 which relies on legacy treatment of 8-bit characters when the locale 3206 is not initialized (reported by Urs Jansen). 3207 + add sgr string to screen's and rxvt's terminfo entries -TD. 3208 + add a check in tic for terminfo entries having an sgr0 but no sgr 3209 string. This confuses Tru64 and HPUX curses when combined with 3210 color, e.g., making them leave line-drawing characters in odd places. 3211 + correct casts used in ABSENT_BOOLEAN, CANCELLED_BOOLEAN, matches the 3212 original definitions used in Debian package to fix PowerPC bug before 3213 20030802 (Debian #237629). 3214 3215 20040320 3216 + modify PutAttrChar() and PUTC() macro to improve use of 3217 A_ALTCHARSET attribute to prevent line-drawing characters from 3218 being lost in situations where the locale would otherwise treat the 3219 raw data as nonprintable (Debian #227879). 3220 3221 20040313 3222 + fix a redefinition of CTRL() macro in test/view.c for AIX 5.2 (report 3223 by Jim Idle). 3224 + remove ".PP" after ".SH NAME" in a few manpages; this confuses 3225 some apropos script (Debian #237831). 3226 3227 20040306 3228 + modify ncurses.c 'r' test so editing commands, like inserted text, 3229 set the field background, and the state of insert/overlay editing 3230 mode is shown in that test. 3231 + change syntax of dummy targets in Ada95 makefiles to work with pmake. 3232 + correct logic in test/ncurses.c 'b' for noncolor terminals which 3233 did not recognize a quit-command (cf: 20030419). 3234 3235 20040228 3236 + modify _nc_insert_ch() to allow for its input to be part of a 3237 multibyte string. 3238 + split out lib_insnstr.c, to prepare to rewrite it. X/Open states 3239 that this function performs wrapping, unlike all of the other 3240 insert-functions. Currently it does not wrap. 3241 + check for nl_langinfo(CODESET), use it if available (report by 3242 Stanislav Ievlev). 3243 + split-out CF_BUILD_CC macro, actually did this for lynx first. 3244 + fixes for configure script CF_WITH_DBMALLOC and CF_WITH_DMALLOC, 3245 which happened to work with bash, but not with Bourne shell (report 3246 by Marco d'Itri via tin-dev). 3247 3248 20040221 3249 + some changes to adapt the form library to wide characters, incomplete 3250 (request by Mike Aubury). 3251 + add symbol to curses.h which can be used to suppress include of 3252 stdbool.h, e.g., 3253 #define NCURSES_ENABLE_STDBOOL_H 0 3254 #include <curses.h> 3255 (discussion on XFree86 mailing list). 3256 3257 20040214 3258 + modify configure --with-termlib option to accept a value which sets 3259 the name of the terminfo library. This would allow a packager to 3260 build libtinfow.so renamed to coincide with libtinfo.so (discussion 3261 with Stanislav Ievlev). 3262 + improve documentation of --with-install-prefix, --prefix and 3263 $(DESTDIR) in INSTALL (prompted by discussion with Paul Lew). 3264 + add configure check if the compiler can use -c -o options to rename 3265 its output file, use that to omit the 'cd' command which was used to 3266 ensure object files are created in a separate staging directory 3267 (prompted by comments by Johnny Wezel, Martin Mokrejs). 3268 3269 20040208 5.4 release for upload to 3270 + update TO-DO. 3271 3272 20040207 pre-release 3273 + minor fixes to _nc_tparm_analyze(), i.e., do not count %i as a param, 3274 and do not count %d if it follows a %p. 3275 + correct an inconsistency between handling of codes in the 128-255 3276 range, e.g., as illustrated by test/ncurses.c f/F tests. In POSIX 3277 locale, the latter did not show printable results, while the former 3278 did. 3279 + modify MKlib_gen.sh to compensate for broken C preprocessor on Mac 3280 OS X, which alters "%%" to "% % " (report by Robert Simms, fix 3281 verified by Scott Corscadden). 3282 3283 20040131 pre-release 3284 + modify SCREEN struct to align it between normal/wide curses flavors 3285 to simplify future changes to build a single version of libtinfo 3286 (patch by Stanislav Ievlev). 3287 + document handling of carriage return by addch() in manpage. 3288 + document special features of unctrl() in manpage. 3289 + documented interface changes in INSTALL. 3290 + corrected control-char test in lib_addch.c to account for locale 3291 (Debian #230335, cf: 971206). 3292 + updated test/configure.in to use AC_EXEEXT and AC_OBJEXT. 3293 + fixes to compile Ada95 binding with Debian gnat 3.15p-4 package. 3294 + minor configure-script fixes for older ports, e.g., BeOS R4.5. 3295 3296 20040125 pre-release 3297 + amend change to PutAttrChar() from 20030614 which computed the number 3298 of cells for a possibly multi-cell character. The 20030614 change 3299 forced the cell to a blank if the result from wcwidth() was not 3300 greater than zero. However, wcwidth() called for parameters in the 3301 range 128-255 can give this return value. The logic now simply 3302 ensures that the number of cells is greater than zero without 3303 modifying the displayed value. 3304 3305 20040124 pre-release 3306 + looked good for 5.4 release for upload to (but see above) 3307 + modify configure script check for ranlib to use AC_CHECK_TOOL, since 3308 that works better for cross-compiling. 3309 3310 20040117 pre-release 3311 + modify lib_get_wch.c to prefer mblen/mbtowc over mbrlen/mbrtowc to 3312 work around core dump in Solaris 8's locale support, e.g., for 3313 zh_CN.GB18030 (report by Saravanan Bellan). 3314 + add includes for <stdarg.h> and <stdio.h> in configure script macro 3315 to make <wchar.h> check work with Tru64 4.0d. 3316 + add terminfo entry for U/Win -TD 3317 + add terminfo entries for SFU aka Interix aka OpenNT (Federico 3318 Bianchi). 3319 + modify tput's error messages to prefix them with the program name 3320 (report by Vincent Lefevre, patch by Daniel Jacobowitz (see Debian 3321 #227586)). 3322 + correct a place in tack where exit_standout_mode was used instead of 3323 exit_attribute_mode (patch by Jochen Voss (see Debian #224443)). 3324 + modify c++/cursesf.h to use const in the Enumeration_Field method. 3325 + remove an ambiguous (actually redundant) method from c++/cursesf.h 3326 + make $HOME/.terminfo update optional (suggested by Stanislav Ievlev). 3327 + improve sed script which extracts libtool's version in the 3328 CF_WITH_LIBTOOL macro. 3329 + add ifdef'd call to AC_PROG_LIBTOOL to CF_WITH_LIBTOOL macro (to 3330 simplify local patch for Albert Chin-A-Young).. 3331 + add $(CXXFLAGS) to link command in c++/Makefile.in (adapted from 3332 patch by Albert Chin-A-Young).. 3333 + fix a missing substitution in configure.in for "$target" needed for 3334 HPUX .so/.sl case. 3335 + resync CF_XOPEN_SOURCE configure macro with lynx; fixes IRIX64 and 3336 NetBSD 1.6 conflicts with _XOPEN_SOURCE. 3337 + make check for stdbool.h more specific, to ensure that including it 3338 will actually define/declare bool for the configured compiler. 3339 + rewrite ifdef's in curses.h relating NCURSES_BOOL and bool. The 3340 intention of that is to #define NCURSES_BOOL as bool when the 3341 compiler declares bool, and to #define bool as NCURSES_BOOL when it 3342 does not (reported by Jim Gifford, Sam Varshavchik, cf: 20031213). 3343 3344 20040110 pre-release 3345 + change minor version to 4, i.e., ncurses 5.4 3346 + revised/improved terminfo entries for tvi912b, tvi920b (Benjamin C W 3347 Sittler). 3348 + simplified ncurses/base/version.c by defining the result from the 3349 configure script rather than using sprintf (suggested by Stanislav 3350 Ievlev). 3351 + remove obsolete casts from c++/cursesw.h (reported by Stanislav 3352 Ievlev). 3353 + modify configure script so that when configuring for termlib, programs 3354 such as tic are not linked with the upper-level ncurses library 3355 (suggested by Stanislav Ievlev). 3356 + move version.c from ncurses/base to ncurses/tinfo to allow linking 3357 of tic, etc., using libtinfo (suggested by Stanislav Ievlev). 3358 3359 20040103 3360 + adjust -D's to build ncursesw on OpenBSD. 3361 + modify CF_PROG_EXT to make OS/2 build with EXEEXT. 3362 + add pecho_wchar(). 3363 + remove <wctype.h> include from lib_slk_wset.c which is not needed (or 3364 available) on older platforms. 3365 3366 20031227 3367 + add -D's to build ncursew on FreeBSD 5.1. 3368 + modify shared library configuration for FreeBSD 4.x/5.x to add the 3369 soname information (request by Marc Glisse). 3370 + modify _nc_read_tic_entry() to not use MAX_ALIAS, but PATH_MAX only 3371 for limiting the length of a filename in the terminfo database. 3372 + modify termname() to return the terminal name used by setupterm() 3373 rather than $TERM, without truncating to 14 characters as documented 3374 by X/Open (report by Stanislav Ievlev, cf: 970719). 3375 + re-add definition for _BSD_TYPES, lost in merge (cf: 20031206). 3376 3377 20031220 3378 + add configure option --with-manpage-format=catonly to address 3379 behavior of BSDI, allow install of man+cat files on NetBSD, whose 3380 behavior has diverged by requiring both to be present. 3381 + remove leading blanks from comment-lines in manlinks.sed script to 3382 work with Tru64 4.0d. 3383 + add screen.linux terminfo entry (discussion on mutt-users mailing 3384 list). 3385 3386 20031213 3387 + add a check for tic to flag missing backslashes for termcap 3388 continuation lines. ncurses reads the whole entry, but termcap 3389 applications do not. 3390 + add configure option "--with-manpage-aliases" extending 3391 "--with-manpage-aliases" to provide the option of generating ".so" 3392 files rather than symbolic links for manpage aliases. 3393 + add bool definition in include/curses.h.in for configurations with no 3394 usable C++ compiler (cf: 20030607). 3395 + fix pathname of SigAction.h for building with --srcdir (reported by 3396 Mike Castle). 3397 3398 20031206 3399 + folded ncurses/base/sigaction.c into includes of ncurses/SigAction.h, 3400 since that header is used only within ncurses/tty/lib_tstp.c, for 3401 non-POSIX systems (discussion with Stanislav Ievlev). 3402 + remove obsolete _nc_outstr() function (report by Stanislav Ievlev 3403 <inger@altlinux.org>). 3404 + add test/background.c and test/color_set.c 3405 + modify color_set() function to work with color pair 0 (report by 3406 George Andreou <gbandreo@tem.uoc.gr>). 3407 + add configure option --with-trace, since defining TRACE seems too 3408 awkward for some cases. 3409 + remove a call to _nc_free_termtype() from read_termtype(), since the 3410 corresponding buffer contents were already zeroed by a memset (cf: 3411 20000101). 3412 + improve configure check for _XOPEN_SOURCE and related definitions, 3413 adding special cases for Solaris' __EXTENSIONS__ and FreeBSD's 3414 __BSD_TYPES (reports by Marc Glisse <marc.glisse@normalesup.org>). 3415 + small fixes to compile on Solaris and IRIX64 using cc. 3416 + correct typo in check for pre-POSIX sort options in MKkey_defs.sh 3417 (cf: 20031101). 3418 3419 20031129 3420 + modify _nc_gettime() to avoid a problem with arithmetic on unsigned 3421 values (Philippe Blain). 3422 + improve the nanosleep() logic in napms() by checking for EINTR and 3423 restarting (Philippe Blain). 3424 + correct expression for "%D" in lib_tgoto.c (Juha Jarvi 3425 <mooz@welho.com>). 3426 3427 20031122 3428 + add linux-vt terminfo entry (Andrey V Lukyanov <land@long.yar.ru>). 3429 + allow "\|" escape in terminfo; tic should not warn about this. 3430 + save the full pathname of the trace-file the first time it is opened, 3431 to avoid creating it in different directories if the application 3432 opens and closes it while changing its working directory. 3433 + modify configure script to provide a non-empty default for 3434 $BROKEN_LINKER 3435 3436 20031108 3437 + add DJGPP to special case of DOS-style drive letters potentially 3438 appearing in TERMCAP environment variable. 3439 + fix some spelling in comments (reports by Jason McIntyre, Jonathon 3440 Gray). 3441 + update config.guess, config.sub 3442 3443 20031101 3444 + fix a memory leak in error-return from setupterm() (report by 3445 Stanislav Ievlev <inger@altlinux.org>). 3446 + use EXEEXT and OBJEXT consistently in makefiles. 3447 + amend fixes for cross-compiling to use separate executable-suffix 3448 BUILD_EXEEXT (cf: 20031018). 3449 + modify MKkey_defs.sh to check for sort utility that does not 3450 recognize key options, e.g., busybox (report by Peter S Mazinger 3451 <ps.m@gmx.net>). 3452 + fix potential out-of-bounds indexing in _nc_infotocap() (found by 3453 David Krause using some of the new malloc debugging features 3454 under OpenBSD, patch by Ted Unangst). 3455 + modify CF_LIB_SUFFIX for Itanium releases of HP-UX, which use a 3456 ".so" suffix (patch by Jonathan Ward <Jonathan.Ward@hp.com>). 3457 3458 20031025 3459 + update terminfo for xterm-xfree86 -TD 3460 + add check for multiple "tc=" clauses in a termcap to tic. 3461 + check for missing op/oc in tic. 3462 + correct _nc_resolve_uses() and _nc_merge_entry() to allow infocmp and 3463 tic to show cancelled capabilities. These functions were ignoring 3464 the state of the target entry, which should be untouched if cancelled. 3465 + correct comment in tack/output.c (Debian #215806). 3466 + add some null-pointer checks to lib_options.c (report by Michael 3467 Bienia). 3468 + regenerated html documentation. 3469 + correction to tar-copy.sh, remove a trap command that resulted in 3470 leaving temporary files (cf: 20030510). 3471 + remove contact/maintainer addresses for Juergen Pfeifer (his request). 3472 3473 20031018 3474 + updated test/configure to reflect changes for libtool (cf: 20030830). 3475 + fix several places in tack/pad.c which tested and used the parameter- 3476 and parameterless strings inconsistently, i.e., in pad_rin(), 3477 pad_il(), pad_indn() and pad_dl() (Debian #215805). 3478 + minor fixes for configure script and makefiles to cleanup executables 3479 generated when cross-compiling for DJGPP. 3480 + modify infocmp to omit check for $TERM for operations that do not 3481 require it, e.g., "infocmp -e" used to build fallback list (report by 3482 Koblinger Egmont). 3483 3484 20031004 3485 + add terminfo entries for DJGPP. 3486 + updated note about maintainer in ncurses-intro.html 3487 3488 20030927 3489 + update terminfo entries for gnome terminal. 3490 + modify tack to reset colors after each color test, correct a place 3491 where exit_standout_mode was used instead of exit_attribute_mode. 3492 + improve tack's bce test by making it set colors other than black 3493 on white. 3494 + plug a potential recursion between napms() and _nc_timed_wait() 3495 (report by Philippe Blain). 3496 3497 20030920 3498 + add --with-rel-version option to allow workaround to allow making 3499 libtool on Darwin generate the "same" library names as with the 3500 --with-shared option. The Darwin ld program does not work well 3501 with a zero as the minor-version value (request by Chris Zubrzycki). 3502 + modify CF_MIXEDCASE_FILENAMES macro to work with cross-compiling. 3503 + modify tack to allow it to run from fallback terminfo data. 3504 > patch by Philippe Blain: 3505 + improve PutRange() by adjusting call to EmitRange() and corresponding 3506 return-value to not emit unchanged characters on the end of the 3507 range. 3508 + improve a check for changed-attribute by exiting a loop when the 3509 change is found. 3510 + improve logic in TransformLine(), eliminating a duplicated comparison 3511 in the clr_bol logic. 3512 3513 20030913 3514 > patch by Philippe Blain: 3515 + in ncurses/tty/lib_mvcur.c, 3516 move the label 'nonlocal' just before the second gettimeofday() to 3517 be able to compute the diff time when 'goto nonlocal' used. 3518 Rename 'msec' to 'microsec' in the debug-message. 3519 + in ncurses/tty/lib_mvcur.c, 3520 Use _nc_outch() in carriage return/newline movement instead of 3521 putchar() which goes to stdout. Move test for xold>0 out of loop. 3522 + in ncurses/tinfo/setbuf.c, 3523 Set the flag SP->_buffered at the end of operations when all has been 3524 successful (typeMalloc can fail). 3525 + simplify NC_BUFFERED macro by moving check inside _nc_setbuf(). 3526 3527 20030906 3528 + modify configure script to avoid using "head -1", which does not 3529 work if POSIXLY_CORRECT (sic) is set. 3530 + modify run_tic.in to avoid using wrong shared libraries when 3531 cross-compiling (Dan Kegel). 3532 3533 20030830 3534 + alter configure script help message to make it clearer that 3535 --with-build-cc does not specify a cross-compiler (suggested by Dan 3536 Kegel <dank@kegel.com>). 3537 + modify configure script to accommodate libtool 1.5, as well as add an 3538 parameter to the "--with-libtool" option which can specify the 3539 pathname of libtool (report by Chris Zubrzycki). We note that 3540 libtool 1.5 has more than one bug in its C++ support, so it is not 3541 able to install libncurses++, for instance, if $DESTDIR or the option 3542 --with-install-prefix is used. 3543 3544 20030823 3545 > patch by Philippe Blain: 3546 + move assignments to SP->_cursrow, SP->_curscol into online_mvcur(). 3547 + make baudrate computation in delay_output() consistent with the 3548 assumption in _nc_mvcur_init(), i.e., a byte is 9 bits. 3549 3550 20030816 3551 + modify logic in waddch_literal() to take into account zh_TW.Big5 3552 whose multibyte sequences may contain "printable" characters, e.g., 3553 a "g" in the sequence "\247g" (Debian #204889, cf: 20030621). 3554 + improve storage used by _nc_safe_strcpy() by ensuring that the size 3555 is reset based on the initialization call, in case it were called 3556 after other strcpy/strcat calls (report by Philippe Blain). 3557 > patch by Philippe Blain: 3558 + remove an unused ifdef for REAL_ATTR & WANT_CHAR 3559 + correct a place where _cup_cost was used rather than _cuu_cost 3560 3561 20030809 3562 + fix a small memory leak in _nc_free_termtype(). 3563 + close trace-file if trace() is called with a zero parameter. 3564 + free memory allocated for soft-key strings, in delscreen(). 3565 + fix an allocation size in safe_sprintf.c for the "*" format code. 3566 + correct safe_sprintf.c to not return a null pointer if the format 3567 happens to be an empty string. This applies to the "configure 3568 --enable-safe-sprintf" option (Redhat #101486). 3569 3570 20030802 3571 + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by 3572 Daniel Jacobowitz). 3573 > patch by Philippe Blain: 3574 + change padding for change_scroll_region to not be proportional to 3575 the size of the scroll-region. 3576 + correct error-return in _nc_safe_strcat(). 3577 3578 20030726 3579 + correct limit-checks in _nc_scroll_window() (report and test-case by 3580 Thomas Graf <graf@dms.at> cf: 20011020). 3581 + re-order configure checks for _XOPEN_SOURCE to avoid conflict with 3582 _GNU_SOURCE check. 3583 3584 20030719 3585 + use clr_eol in preference to blanks for bce terminals, so select and 3586 paste will have fewer trailing blanks, e.g., when using xterm 3587 (request by Vincent Lefevre). 3588 + correct prototype for wunctrl() in manpage. 3589 + add configure --with-abi-version option (discussion with Charles 3590 Wilson). 3591 > cygwin changes from Charles Wilson: 3592 + aclocal.m4: on cygwin, use autodetected prefix for import 3593 and static lib, but use "cyg" for DLL. 3594 + include/ncurses_dll.h: correct the comments to reflect current 3595 status of cygwin/mingw port. Fix compiler warning. 3596 + misc/run_tic.in: ensure that tic.exe can find the uninstalled 3597 DLL, by adding the lib-directory to the PATH variable. 3598 + misc/terminfo.src (nxterm|xterm-color): make xterm-color 3599 primary instead of nxterm, to match XFree86's xterm.terminfo 3600 usage and to prevent circular links. 3601 (rxvt): add additional codes from rxvt.org. 3602 (rxvt-color): new alias 3603 (rxvt-xpm): new alias 3604 (rxvt-cygwin): like rxvt, but with special acsc codes. 3605 (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or 3606 with a "native" MSWin GUI. Each takes different acsc codes, 3607 which are both different from the "normal" rxvt's acsc. 3608 (cygwin): cygwin-in-cmd.exe window. Lots of fixes. 3609 (cygwinDBG): ditto. 3610 + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import 3611 and static libs. 3612 3613 20030712 3614 + update config.guess, config.sub 3615 + add triples for configuring shared libraries with the Debian 3616 GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>). 3617 3618 20030705 3619 + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some 3620 platforms have installed g++ along with the native C compiler, which 3621 would not accept gcc warning options. 3622 + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to 3623 get mbstate_t declaration on HPUX 11.11 (report by David Ellement). 3624 + add _nc_pathlast() to get rid of casts in _nc_basename() calls. 3625 + correct a sign-extension in wadd_wch() and wecho_wchar() from 3626 20030628 (report by Tomohiro Kubota). 3627 + work around omission of btowc() and wctob() from wide-character 3628 support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by 3629 Gabor Z Papp). 3630 + add portability note to curs_get_wstr.3x (Debian #199957). 3631 3632 20030628 3633 + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar() 3634 respectively, to avoid calling waddch_noecho() with wide-character 3635 data, since that function assumes its input is 8-bit data. 3636 Similarly, modify waddnwstr() to call wadd_wch(). 3637 + remove logic from waddnstr() which transformed multibyte character 3638 strings into wide-characters. Rewrite of waddch_literal() from 3639 20030621 assumes its input is raw multibyte data rather than wide 3640 characters (report by Tomohiro Kubota). 3641 3642 20030621 3643 + write getyx() and related 2-return macros in terms of getcury(), 3644 getcurx(), etc. 3645 + modify waddch_literal() in case an application passes bytes of a 3646 multibyte character directly to waddch(). In this case, waddch() 3647 must reassemble the bytes into a wide-character (report by Tomohiro 3648 Kubota <kubota@debian.org>). 3649 3650 20030614 3651 + modify waddch_literal() in case a multibyte value occupies more than 3652 two cells. 3653 + modify PutAttrChar() to compute the number of character cells that 3654 are used in multibyte values. This fixes a problem displaying 3655 double-width characters (report/test by Mitsuru Chinen 3656 <mchinen@yamato.ibm.com>). 3657 + add a null-pointer check for result of keyname() in _tracechar() 3658 + modify _tracechar() to work around glibc sprintf bug. 3659 3660 20030607 3661 + add a call to setlocale() in cursesmain.cc, making demo display 3662 properly in a UTF-8 locale. 3663 + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted 3664 by discussion with Gabor Z Papp). 3665 + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to 3666 appease -Wchar-subscript with g++ 3.3 (Debian #195732). 3667 + fix a redefinition of $RANLIB in the configure script when libtool 3668 is used, which broke configure on Mac OS X (report by Chris Zubrzycki 3669 <beren@mac.com>). 3670 + simplify ifdef for bool declaration in curses.h.in (suggested by 3671 Albert Chin-A-Young). 3672 + remove configure script check to allow -Wconversion for older 3673 versions of gcc (suggested by Albert Chin-A-Young). 3674 3675 20030531 3676 + regenerated html manpages. 3677 + modify ifdef's in curses.h.in that disabled use of __attribute__() 3678 for g++, since recent versions implement the cases which ncurses uses 3679 (Debian #195230). 3680 + modify _nc_get_token() to handle a case where an entry has no 3681 description, and capabilities begin on the same line as the entry 3682 name. 3683 + fix a typo in ncurses_dll.h reported by gcc 3.3. 3684 + add an entry for key_defined.3x to man_db.renames. 3685 3686 20030524 3687 + modify setcchar() to allow converting control characters to complex 3688 characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>). 3689 + add tkterm entry -TD 3690 + modify parse_entry.c to allow a terminfo entry with a leading 3691 2-character name (report by Don Libes). 3692 + corrected acsc in screen.teraterm, which requires a PC-style mapping. 3693 + fix trace statements in read_entry.c to use lseek() rather than 3694 tell(). 3695 + fix signed/unsigned warnings from Sun's compiler (gcc should give 3696 these warnings, but it is unpredictable). 3697 + modify configure script to omit -Winline for gcc 3.3, since that 3698 feature is broken. 3699 + modify manlinks.sed to add a few functions that were overlooked since 3700 they return function pointers: field_init, field_term, form_init, 3701 form_term, item_init, item_term, menu_init and menu_term. 3702 3703 20030517 3704 + prevent recursion in wgetch() via wgetnstr() if the connection cannot 3705 be switched between cooked/raw modes because it is not a TTY (report 3706 by Wolfgang Gutjahr <gutw@knapp.com>). 3707 + change parameter of define_key() and key_defined() to const (prompted 3708 by Debian #192860). 3709 + add a check in test/configure for ncurses extensions, since there 3710 are some older versions, etc., which would not compile with the 3711 current test programs. 3712 + corrected demo in test/ncurses.c of wgetn_wstr(), which did not 3713 convert wchar_t string to multibyte form before printing it. 3714 + corrections to lib_get_wstr.c: 3715 + null-terminate buffer passed to setcchar(), which occasionally 3716 failed. 3717 + map special characters such as erase- and kill-characters into 3718 key-codes so those will work as expected even if they are not 3719 mentioned in the terminfo. 3720 + modify PUTC() and Charable() macros to make wide-character line 3721 drawing work for POSIX locale on Linux console (cf: 20021221). 3722 3723 20030510 3724 + make typography for program options in manpages consistent (report 3725 by Miloslav Trmac <mitr@volny.cz>). 3726 + correct dependencies in Ada95/src/Makefile.in, so the builds with 3727 "--srcdir" work (report by Warren L Dodge). 3728 + correct missing definition of $(CC) in Ada95/gen/Makefile.in 3729 (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>). 3730 + fix typos and whitespace in manpages (patch by Jason McIntyre 3731 <jmc@prioris.mini.pw.edu.pl>). 3732 3733 20030503 3734 + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR, 3735 REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at 3736 the editing position before making modifications. 3737 + add test/demo_forms and associated test/edit_field.c demos. 3738 + modify test/configure.in to use test/modules for the list of objects 3739 to compile rather than using the list of programs. 3740 3741 20030419 3742 + modify logic of acsc to use the original character if no mapping is 3743 defined, noting that Solaris does this. 3744 + modify ncurses 'b' test to avoid using the acs_map[] array since 3745 20021231 changes it to no longer contain information from the acsc 3746 string. 3747 + modify makefile rules in c++, progs, tack and test to ensure that 3748 the compiler flags (e.g., $CFLAGS or $CCFLAGS) are used in the link 3749 command (report by Jose Luis Rico Botella <informatica@serpis.com>). 3750 + modify soft-key initialization to use A_REVERSE if A_STANDOUT would 3751 not be shown when colors are used, i.e., if ncv#1 is set in the 3752 terminfo as is done in "screen". 3753 3754 20030412 3755 + add a test for slk_color(), in ncurses.c 3756 + fix some issues reported by valgrind in the slk_set() and slk_wset() 3757 code, from recent rewrite. 3758 + modify ncurses 'E' test to use show previous label via slk_label(), 3759 as in 'e' test. 3760 + modify wide-character versions of NewChar(), NewChar2() macros to 3761 ensure that the whole struct is initialized. 3762 3763 20030405 3764 + modify setupterm() to check if the terminfo and terminal-modes have 3765 already been read. This ensures that it does not reinvoke 3766 def_prog_mode() when an application calls more than one function, 3767 such as tgetent() and initscr() (report by Olaf Buddenhagen). 3768 3769 20030329 3770 + add 'E' test to ncurses.c, to exercise slk_wset(). 3771 + correct handling of carriage-return in wgetn_wstr(), used in demo of 3772 slk_wset(). 3773 + first draft of slk_wset() function. 3774 3775 20030322 3776 + improved warnings in tic when suppressing items to fit in termcap's 3777 1023-byte limit. 3778 + built a list in test/README showing which externals are being used 3779 by either programs in the test-directory or via internal library 3780 calls. 3781 + adjust include-options in CF_ETIP_DEFINES to avoid missing 3782 ncurses_dll.h, fixing special definitions that may be needed for 3783 etip.h (reported by Greg Schafer <gschafer@zip.com.au>). 3784 3785 20030315 3786 + minor fixes for cardfile.c, to make it write the updated fields to 3787 a file when ^W is given. 3788 + add/use _nc_trace_bufcat() to eliminate some fixed buffer limits in 3789 trace code. 3790 3791 20030308 3792 + correct a case in _nc_remove_string(), used by define_key(), to avoid 3793 infinite loop if the given string happens to be a substring of other 3794 strings which are assigned to keys (report by John McCutchan). 3795 + add key_defined() function, to tell which keycode a string is bound 3796 to (discussion with John McCutchan <ttb@tentacle.dhs.org>). 3797 + correct keybound(), which reported definitions in the wrong table, 3798 i.e., the list of definitions which are disabled by keyok(). 3799 + modify demo_keydef.c to show the details it changes, and to check 3800 for errors. 3801 3802 20030301 3803 + restructured test/configure script, make it work for libncursesw. 3804 + add description of link_fieldtype() to manpage (report by 3805 L Dee Holtsclaw <dee@sunbeltsoft.com>). 3806 3807 20030222 3808 + corrected ifdef's relating to configure check for wchar_t, etc. 3809 + if the output is a socket or other non-tty device, use 1 millisecond 3810 for the cost in mvcur; previously it was 9 milliseconds because the 3811 baudrate was not known. 3812 + in _nc_get_tty_mode(), initialize the TTY buffer on error, since 3813 glibc copies uninitialized data in that case, as noted by valgrind. 3814 + modify tput to use the same parameter analysis as tparm() does, to 3815 provide for user-defined strings, e.g., for xterm title, a 3816 corresponding capability might be 3817 title=\E]2;%p1%s^G, 3818 + modify MKlib_gen.sh to avoid passing "#" tokens through the C 3819 preprocessor. This works around Mac OS X's preprocessor, which 3820 insists on adding a blank on each side of the token (report/analysis 3821 by Kevin Murphy <murphy@genome.chop.edu>). 3822 3823 20030215 3824 + add configure check for wchar_t and wint_t types, rather than rely 3825 on preprocessor definitions. Also work around for gcc fixinclude 3826 bug which creates a shadow copy of curses.h if it sees these symbols 3827 apparently typedef'd. 3828 + if database is disabled, do not generate run_tic.sh 3829 + minor fixes for memory-leak checking when termcap is read. 3830 3831 20030208 3832 + add checking in tic for incomplete line-drawing character mapping. 3833 + updated configure script to reflect fix for AC_PROG_GCC_TRADITIONAL, 3834 which is broken in autoconf 2.5x for Mac OS X 10.2.3 (report by 3835 Gerben Wierda <Sherlock@rna.nl>). 3836 + make return value from _nc_printf_string() consistent. Before, 3837 depending on whether --enable-safe-sprintf was used, it might not be 3838 cached for reallocating. 3839 3840 20030201 3841 + minor fixes for memory-leak checking in lib_tparm.c, hardscroll.c 3842 + correct a potentially-uninitialized value if _read_termtype() does 3843 not read as much data as expected (report by Wolfgang Rohdewald 3844 <wr6@uni.de>). 3845 + correct several places where the aclocal.m4 macros relied on cache 3846 variable names which were incompatible (as usual) between autoconf 3847 2.13 and 2.5x, causing the test for broken-linker to give incorrect 3848 results (reports by Gerben Wierda <Sherlock@rna.nl> and Thomas Esser 3849 <te@dbs.uni-hannover.de>). 3850 + do not try to open gpm mouse driver if standard output is not a tty; 3851 the gpm library does not make this check (bug report for dialog 3852 by David Oliveira <davidoliveira@develop.prozone.ws>). 3853 3854 20030125 3855 + modified emx.src to correspond more closely to terminfo.src, added 3856 emx-base to the latter -TD 3857 + add configure option for FreeBSD sysmouse, --with-sysmouse, and 3858 implement support for that in lib_mouse.c, lib_getch.c 3859 3860 20030118 3861 + revert 20030105 change to can_clear_with(), does not work for the 3862 case where the update is made on cells which are blanks with 3863 attributes, e.g., reverse. 3864 + improve ifdef's to guard against redefinition of wchar_t and wint_t 3865 in curses.h (report by Urs Jansen). 3866 3867 20030111 3868 + improve mvcur() by checking if it is safe to move when video 3869 attributes are set (msgr), and if not, reset/restore attributes 3870 within that function rather than doing it separately in the GoTo() 3871 function in tty_update.c (suggested by Philippe Blain). 3872 + add a message in run_tic.in to explain more clearly what does not 3873 work when attempting to create a symbolic link for /usr/lib/terminfo 3874 on OS/2 and other platforms with no symbolic links (report by John 3875 Polterak). 3876 + change several sed scripts to avoid using "\+" since it is not a BRE 3877 (basic regular expression). One instance caused terminfo.5 to be 3878 misformatted on FreeBSD (report by Kazuo Horikawa 3879 <horikawa@FreeBSD.org> (see FreeBSD docs/46709)). 3880 + correct misspelled 'wint_t' in curs_get_wch.3x (Michael Elkins). 3881 3882 20030105 3883 + improve description of terminfo operators, especially static/dynamic 3884 variables (comments by Mark I Manning IV <mark4th@earthlink.net>). 3885 + demonstrate use of FIELDTYPE by modifying test/ncurses 'r' test to 3886 use the predefined TYPE_ALPHA field-type, and by defining a 3887 specialized type for the middle initial/name. 3888 + fix MKterminfo.sh, another workaround for POSIXLY_CORRECT misfeature 3889 of sed 4.0 3890 > patch by Philippe Blain: 3891 + optimize can_clear_with() a little by testing first if the parameter 3892 is indeed a "blank". 3893 + simplify ClrBottom() a little by allowing it to use clr_eos to clear 3894 sections as small as one line. 3895 + improve ClrToEOL() by checking if clr_eos is available before trying 3896 to use it. 3897 + use tputs() rather than putp() in a few cases in tty_update.c since 3898 the corresponding delays are proportional to the number of lines 3899 affected: repeat_char, clr_eos, change_scroll_region. 3900 3901 20021231 3902 + rewrite of lib_acs.c conflicts with copying of SCREEN acs_map to/from 3903 global acs_map[] array; removed the lines that did the copying. 3904 3905 20021228 3906 + change some overlooked tputs() calls in scrolling code to use putp() 3907 (report by Philippe Blain). 3908 + modify lib_getch.c to avoid recursion via wgetnstr() when the input 3909 is not a tty and consequently mode-changes do not work (report by 3910 <R.Chamberlin@querix.com>). 3911 + rewrote lib_acs.c to allow PutAttrChar() to decide how to render 3912 alternate-characters, i.e., to work with Linux console and UTF-8 3913 locale. 3914 + correct line/column reference in adjust_window(), needed to make 3915 special windows such as curscr track properly when resizing (report 3916 by Lucas Gonze <lgonze@panix.com>). 3917 > patch by Philippe Blain: 3918 + correct the value used for blank in ClrBottom() (broken in 20000708). 3919 + correct an off-by-one in GoTo() parameter in _nc_scrolln(). 3920 3921 20021221 3922 + change several tputs() calls in scrolling code to use putp(), to 3923 enable padding which may be needed for some terminals (patch by 3924 Philippe Blain). 3925 + use '%' as sed substitute delimiter in run_tic script to avoid 3926 problems with pathname delimiters such as ':' and '@' (report by John 3927 Polterak). 3928 + implement a workaround so that line-drawing works with screen's 3929 crippled UTF-8 support (tested with 3.9.13). This only works with 3930 the wide-character support (--enable-widec); the normal library will 3931 simply suppress line-drawing when running in a UTF-8 locale in screen. 3932 3933 20021214 3934 + allow BUILD_CC and related configure script variables to be 3935 overridden from the environment. 3936 + make build-tools variables in ncurses/Makefile.in consistent with 3937 the configure script variables (report by Maciej W Rozycki). 3938 + modify ncurses/modules to allow 3939 configure --disable-leaks --disable-ext-funcs 3940 to build (report by Gary Samuelson). 3941 + fix a few places in configure.in which lacked quotes (report by 3942 Gary Samuelson <gary.samuelson@verizon.com>). 3943 + correct handling of multibyte characters in waddch_literal() which 3944 force wrapping because they are started too late on the line (report 3945 by Sam Varshavchik). 3946 + small fix for CF_GNAT_VERSION to ignore the help-message which 3947 gnatmake adds to its version-message. 3948 > Maciej W Rozycki <macro@ds2.pg.gda.pl>: 3949 + use AC_CHECK_TOOL to get proper values for AR and LD for cross 3950 compiling. 3951 + use $cross_compiling variable in configure script rather than 3952 comparing $host_alias and $target alias, since "host" is 3953 traditionally misused in autoconf to refer to the target platform. 3954 + change configure --help message to use "build" rather than "host" 3955 when referring to the --with-build-XXX options. 3956 3957 20021206 3958 + modify CF_GNAT_VERSION to print gnatmake's version, and to allow for 3959 possible gnat versions such as 3.2 (report by Chris Lingard 3960 <chris@stockwith.co.uk>). 3961 + modify #define's for CKILL and other default control characters in 3962 tset to use the system's default values if they are defined. 3963 + correct interchanged defaults for kill and interrupt characters 3964 in tset, which caused it to report unnecessarily (Debian #171583). 3965 + repair check for missing C++ compiler, which is broken in autoconf 3966 2.5x by hardcoding it to g++ (report by Martin Mokrejs). 3967 + update config.guess, config.sub (2002-11-30) 3968 + modify configure script to skip --with-shared, etc., when the 3969 --with-libtool option is given, since they would be ignored anyway. 3970 + fix to allow "configure --with-libtool --with-termlib" to build. 3971 + modify configure script to show version number of libtool, to help 3972 with bug reports. libtool still gets confused if the installed 3973 ncurses libraries are old, since it ignores the -L options at some 3974 point (tested with libtool 1.3.3 and 1.4.3). 3975 + reorder configure script's updating of $CPPFLAGS and $CFLAGS to 3976 prevent -I options in the user's environment from introducing 3977 conflicts with the build -I options (may be related to reports by 3978 Patrick Ash and George Goffe). 3979 + rename test/define_key.c to test/demo_defkey.c, test/keyok.c to 3980 test/demo_keyok.c to allow building these with libtool. 3981 3982 20021123 3983 + add example program test/define_key.c for define_key(). 3984 + add example program test/keyok.c for keyok(). 3985 + add example program test/ins_wide.c for wins_wch() and wins_wstr(). 3986 + modify wins_wch() and wins_wstr() to interpret tabs by using the 3987 winsch() internal function. 3988 + modify setcchar() to allow for wchar_t input strings that have 3989 more than one spacing character. 3990 3991 20021116 3992 + fix a boundary check in lib_insch.c (patch by Philippe Blain). 3993 + change type for *printw functions from NCURSES_CONST to const 3994 (prompted by comment by Pedro Palhoto Matos <plpm@mega.ist.utl.pt>, 3995 but really from a note on X/Open's website stating that either is 3996 acceptable, and the latter will be used in a future revision). 3997 + add xterm-1002, xterm-1003 terminfo entries to demonstrate changes in 3
http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blob;f=NEWS;hb=2b635f090ec43c82958cef9369464aee4dd8975f
CC-MAIN-2022-40
refinedweb
29,996
66.44
http1 0.3.0 http1 is an API to perform HTTP requests in a single call HTTP1 is a wrapper around httplib to perform HTTP requests in a single call. For instance, to get PyPI index of packages, you might write: import http1 print http1.request('').body request() method This method performs an HTTP request. The signature of the request method is the following: request(url, params={}, method='GET', body=None, headers={}, content_type=None, content_length=True, username=None, password=None, capitalize_headers=True, follow_redirect=True, max_redirect=3) The parameters are the following: - url: the URL call, including protocol and parameters (such as ‘’). - params: URL parameters as a map, so that {‘foo’: 1, ‘bar’: 2} will result in an URL ending with ‘?foo=1&bar=2’. - method: the HTTP method (such as ‘GET’ or ‘POST’). Defaults to ‘GET’. - body: the body of the request as a string. Defaults to None. - headers: request headers as a dictionnary. Defaults to ‘{}’. - content_type: the content type header of the request. Defauls to None. - content_length: tells if we should add content length headers to the request. Defaults to true. - username: username while performing basic authentication, must be set with password. - password: password while performing basic authentication, must be set with username. - capitalize_headers: tells if headers should be capitalized (so that their names are all like ‘Content-Type’ for instance). - follow_redirect: tells if http1 should follow redirections (status codes 3xx). Defaults to True. - max_redirect: maximum number of redirections to follow. If there are too many redirects, a TooManyRedirectsException is raised. Defaults to 3. This method returns the response as a Response object described hereafter. May raise a TooManyRedirectsException. NOTE: to call HTTPS URLs, Python must have been built with SSL support. There are dedicated functions for HTTP methods (GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS and TRACE). Thus, to perform a head call for instance, you may write: response = http1.head('') Which is the same as: response = http1.request('', method='HEAD') Response object This object encapsulates status code (200, 404, as an integer), message (such as ‘OK’, ‘Not Found’, as a string), headers (as a dictionnary), and body (as a string). TooManyRedirectsException This exception is thrown when there have been too many redirects (that is a number of refirects greater than max_redirect). Releases - 0.3.0 (2014-04-05): Added functions for HTTP methods. - 0.2.1 (2014-04-05): Added TooManyRedirectsException. - 0.2.0 (2014-04-05): Added option follow_redirect. - 0.1.4 (2014-04-04): Project structure refactoring, included license in the archive. - 0.1.3 (2013-07-05): Fixed bug regarding matrix params. - 0.1.2 (2012-03-30): More documentation fixes. - 0.1.1 (2012-03-30): Documentation fixes. - 0.1.0 (2012-03-29): First public release. Enjoy! - Author: Michel Casabianca - License: Apache Software License - Package Index Owner: casa - DOAP record: http1-0.3.0.xml
https://pypi.python.org/pypi/http1/0.3.0
CC-MAIN-2016-40
refinedweb
473
69.07
13 August 2010 03:34 [Source: ICIS news] SINGAPORE (ICIS)--Saudi Kayan Petrochemical Co has achieved on-spec production at its new 650,000 tonne/year ethylene glycol (EG) unit in Al-Jubail, Saudi Arabia in the middle of this week, just a few days after it started up, a source close to the company said on Friday. “The start-up process [of the EG unit is] going smoothly,” the source said, but declined to provide the current operating rates at the plant, which commenced operations on 8-9 August. Around 60-70% of the plant’s output would be allocated to Asia, while the rest would go to Europe and ?xml:namespace> Petrochemical giant Saudi Basic Industries Corp (SABIC), which acts as the trading arm of company, had started arranging shipments for the first batch of new EG products to “Almost all the new EG products from Kayan will go directly to contract clients, with few cargoes flowing into spot market,” said the first source. Asia monoethylene glycol (MEG) prices slightly declined on Thursday at to $760-770/tonne CFR (cost and freight) China Main Port (CMP) due to weaker crude values, after staying at 11-week highs of $770-780/tonne CFR CMP for most of the week, according to ICIS data. Saudi Kayan Petrochemical Co is listed on the Saudi Stock Exchange. SABIC owns 35% of the company while Al-Kayan Petrochemical Co owns a 20%
http://www.icis.com/Articles/2010/08/13/9384764/saudi-kayan-petchem-achieves-on-spec-eg-at-al-jubail-plant.html
CC-MAIN-2015-18
refinedweb
239
56.22
Create an endpoint for communication #include <sys/types.h> #include <sys/socket.h> int socket( int domain, int type, int protocol ); For more information, see below. libsocket Use the -l socket option to qcc to link against this library. The socket() function creates an endpoint for communication and returns a descriptor.. With SOCK_DGRAM and SOCK_RAW sockets, datagrams can be sent to correspondents named in send() calls. Datagrams are generally received with recvfrom(), which returns the next datagram with its return address. You can use the ioctl() call to specify a process group to receive a SIGURG signal when the out-of-band data arrives. The call may also enable nonblocking I/O and asynchronous notification of I/O events via SIGIO. The operation of sockets is controlled by socket-level options. These options are defined in the file <sys/socket.h>. Use setsockopt() and getsockopt() to set and get options. A descriptor referencing the socket, or -1 if an error occurs (errno is set). POSIX 1003.1. ICMP6, ICMP, INET6, IPv6, IP, IPsec, ROUTE, TCP, UDP, UNIX protocols accept(), bind(), close(), connect(), getprotobyname(), getsockname(), getsockopt(), ioctl(), listen(), read(), recv(), select(), send(), shutdown(), socketpair(), write()
http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_lib_ref/s/socket.html
CC-MAIN-2019-39
refinedweb
194
58.28
Problem statement In the problem “Best Time to Buy and Sell Stock III,” we are given an array where each element in the array contains the price of the given stock on that day. The definition of the transaction is buying one share of stock and selling that one share of stock. Our task is to find the maximum profit under the following restrictions: - we can’t buy a new stock if we have not sold the previous stock. that is at a time we can have at most one stock. - we can do at most two transactions. Example prices = [1,2,3,4,5] 4 Explanation: maximum profit that can be obtained is 4. Following is the transaction detail: First day: buy Second day: rest Third day: rest Fourth day: rest Fifth day: sell Approach for Best Time to Buy and Sell Stock III Leetcode Solution This problem is a harder version of Best Time to Buy and Sell Stock. So must solve the easy version of the problem before jumping into this problem. In comparison to the easy version where we can do only one transaction here, we can do at most two transactions. which means either one transaction or two transactions in such a way that gives maximum profit. The trickiest part of the problem is how to handle the second transaction. This problem can be converted into an easy version of this problem, once we change our perspective to see this problem. let’s say we completed our first transaction with a profit of 200 Rs. (This part is the same as Best Time to Buy and Sell Stock). So after the first transaction, we have 200 Rs in our hand. Now when we go to buy a stock of 500 Rs. We can think it like, although the price of the stock is 500 Rs. But for us, it is 300 Rs because we already have 200 Rs in our hands and we got it for free. Now we will make the second transaction in such a way to maximize the net profit in the same way as we did in Best Time to Buy and Sell Stock problem. The approach will be more clear from this example: Implementation Java code for Best Time to Buy and Sell Stock III import java.util.Arrays; public class Tutorialcup { public static int maxProfit(int[] prices) { int firstSell = 0; int secondSell = 0; int firstBuy = Integer.MAX_VALUE; int secondBuy = Integer.MAX_VALUE; for(int i = 0; i < prices.length; i++) { int p = prices[i]; firstBuy = Math.min(firstBuy, p); firstSell = Math.max(firstSell, p - firstBuy); secondBuy = Math.min(secondBuy, p - firstSell); secondSell = Math.max(secondSell, p - secondBuy); } return secondSell; } public static void main(String[] args) { int [] arr = {1,2,3,4,5}; int ans= maxProfit(arr); System.out.println(ans); } } 4 C++ code for Best Time to Buy and Sell Stock III #include <bits/stdc++.h> using namespace std; int maxProfit(vector<int>& prices) { int firstSell = 0;//stores profit after one sell int secondSell = 0;//stores profit after two sell int firstBuy = INT_MAX; int secondBuy = INT_MAX; int n=prices.size(); for(int i=0;i<n;i++) { firstBuy=min(firstBuy,prices[i]); firstSell=max(firstSell,prices[i]-firstBuy); secondBuy=min(secondBuy,prices[i]-firstSell); secondSell=max(secondSell,prices[i]-secondBuy); } return secondSell; } int main() { vector<int> arr = { 1,2,3,4,5 }; cout<<maxProfit(arr)<<endl; return 0; } 4 Complexity Analysis of Best Time to Buy and Sell Stock III Leetcode Solution Time complexity The time complexity of the above code is O(n) because we are traversing the price array only once. Here n is the length of the price array. Space complexity The space complexity of the above code is O(1) because we using memory only to store the answer.
https://www.tutorialcup.com/leetcode-solutions/best-time-to-buy-and-sell-stock-iii-leetcode-solution.htm
CC-MAIN-2021-04
refinedweb
633
62.68
assalam alaikum oh thanks this site is gr8 becou assalam alaikum oh thanks this site is gr8 becouse it help me in solving my assingment thanks alot this is incorrect Actually Java passes method arguments by value. So even though the value has changed in the method, after the return from that method, in the main function, the values of i and j will be the same. swapping two numbers with and without temp variabl Hi roseindia, thanks for the requested solution also please send the code or program to swap two numbers a)with temporary variables b)without temporary variables please kindly send the reply as soo as possible thanking you yours faithfully java well c# it is nice but i want in c# programing language Correction in the swapping programme public class Swapping{ static void swap(int i,int j){ int temp=i; i=j; j=temp; System.out.println("After swapping i = " + i + " j = " + j); } public static void main(String[] args){ int i=1; int j=2; Sys subtracting two numbers using addition in java pls do it for me....... give the proper answer cannot find method println (Java.lang.String) swapping - Java Beginners swapping How to swap values of two variable without using third..., Try the following code: class Swapping { public static void main(String... = num1 - num2; num1 = num1 - num2; System.out.println("After swapping, num1 swapping - Java Beginners new to java so plz guys if u kno the answer then plz help me!!!plzzz Hi Friend, Try the following code: import java.util.*; class Swapping...; num2=num1-num2; num1=num1-num2; System.out.println("After swapping Thanks - Java Beginners Thanks Hi, Thanks for reply I m solve this problem Hi ragini, Thanks for visiting roseindia.net site Thanks for fast reply - Java Beginners Thanks for fast reply Thanks for response I am already use html for data grid but i m noot understood how to connect to the data base, and how... oh well... do not get confused with all that! these are very simple Ask Questions? If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for. Ask your questions, our development team will try to give answers to your questions.
http://www.roseindia.net/tutorialhelp/allcomments/1609
CC-MAIN-2013-20
refinedweb
378
59.13
#include <SIM_DataFactory.h> This helper class lets each SIM_Engine create an instance of each SIM_DataFactory available on the system. Definition at line 96 of file SIM_DataFactory.h. Defines a function for creating a SIM_DataFactory. Definition at line 100 of file SIM_DataFactory.h. Constructor sets the SIM_DataFactory creation function. It also registers this SIM_DataFactoryCreator instance with the global list in the SIM_Engine class. Destructor which removes this SIM_DataFactoryCreator from the global list owned by the SIM_Engine class. Call addDataFactory on the specified SIM_Engine. Call the creation function to make a new SIM_DataFactory instance. Returns the name of the DSO or DLL file that defines the data type. For data types defined internally to Houdini the returned string will be empty.
https://www.sidefx.com/docs/hdk/class_s_i_m___data_factory_creator.html
CC-MAIN-2020-50
refinedweb
119
52.36
Realtime everywhere! If you are an ardent follower of the trends in the industry, especially the web development ecosystem, you will agree with me that a larger percentage of users appreciate realtime responses from web applications. This may be in the form of notifications, events, alerts, instant messaging or anything similar to these. Only a few platforms offer realtime technologies applicable for use in realtime digital experiences like Gaming and Gambling, Chat and Social, Data Content, Notifications and Alert and so on. This is where Ably as a company shines. To explore the realtime technology, I have always wanted to try out Ably and after reading this post I had to get down to work. So when I finally got the chance, I was able to explore the awesomeness of realtime functionality as offered by Ably by building the following application: This is a realtime opinion poll built with Nest.js and powered by Ably. In this article, I am going to document the stage by stage process of how I was able to build the demo shown above. Pre-requisites To get the most out of this tutorial, a basic understanding of TypeScript and Node.js is advised. Tools we will use the following tools to build this app : - Nest.js : A progressive Node.js framework for building efficient and scalable server-side applications. It leverages on TypeScript to create reliable and well structured server-side application. If you are quite conversant with Angular, Nest.js gives you similar experience of building an Angular app, but on the backend. Despite using modern JavaScript (Typescript), it’s quite compatible with vanilla JavaScript which makes it very easy to get started with. You can read more about it here. - Ably : An excellent realtime messaging platform that makes it easy to add realtime functionality to applications. - Axios : A promise-based HTTP client that works both in the browser and in a node.js environment. - CanvasJS: A responsive HTML5 Charting library for data visualisation. - Lastly, we will also need to install few modules using npm Setting up the Application Its super easy to setup a new application using Nest.js, but before we proceed, it is assumed that you already have node and npm installed. If not, kindly check the node.js and npm websites for installation steps. To begin, use the commands below to clone a new starter repository, change directory into the newly created project folder and finally install all the required dependencies for Nest.js application. $ git clone ably-nest-poll $ cd ably-nest-poll $ npm install Run the Application $ npm run start This will start the application on the default port used by Nest.js (3000). Head over to Ably Account Setup If you don’t already have an ably account, head over to their website and create one. Follow the remaining process and once you are done, you should have a free account with a private key. You will see an ‘API key’ on your account dashboard, this is of importance to us as we’ll use it later in the tutorial to connect to Ably using the Basic Authentication scheme. You will see that by default, Ably creates an app for you which you can readily start using. However, you can also create a new application and configure it according to your needs. I have named mine 'ably-nest-poll' . Feel free to choose any name that suits your purpose. Dependencies Use the Node Package Manager to install dependencies for the application: npm install ejs ably --save Bootstrap application One of the core files in Nest.js is 'main.ts’ This file contains the necessary functions with the responsibility of bootstrapping our application. Nest favours the popular MVC pattern and therefore allows the usage of template engine. Open '.src/main.ts’ and fill with : import { NestFactory } from '@nestjs/core'; import { ApplicationModule } from './app.module'; //import express module import * as express from 'express'; // path import * as path from 'path'; async function bootstrap() { const app = await NestFactory.create(ApplicationModule); // A public folder to serve static files app.use(express.static(path.join(__dirname, 'public'))); app.set('views', __dirname + '/views'); // set ejs as the view engine app.set('view engine', 'ejs'); await app.listen(3000); } bootstrap(); The only addition I have made to the default configuration of this file is to import Express module, path and finally set ejs as the view engine for the application. Set Up the View In order to render the HTML output and display the application to users, we will create a folder called views within the src folder. Now, within this newly created folder, create a new file and name it index.ejs Then add the following code to your 'index.ejs' file: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http- <link rel="stylesheet" href=""> <title>Realtime Poll</title> </head> <body> <div class="container"> <h1> Marvel Movies </h1> <p> Select your favorite Marvel Movie </p> <form id="opinion-form"> <p> <input type="radio" name="movie" id="avengers" value="The Avengers"> <label for="avengers">The Avengers</label> </p> <p> <input type="radio" name="movie" id="black-panther" value="Black Panther"> <label for="black-panther">Black Panther</label> </p> <p> <input type="radio" name="movie" id="captain-america" value="Captain America"> <label for="captain-america">Captain America</label> </p> <p> <input type="radio" name="movie" id="other" value="Other"> <label for="other">Something Else </label> </p> <input type="submit" value="Vote" class="btn btn-success"/> </form> <br><br> <div id="chart-container" style="height:300px;width:100%;"> </div> </div> <script src="" integrity="sha256-2Kok7MbOyxpgUVvAk/</script> <script src=""></script> <script src=""></script> <script src=""></script> <script src=""></script> <script src="/main.js"></script> </body> </html> This will serve as the homepage for our realtime poll application. In order to make this page look presentable, I included a CDN file each for Materialize, Ably, CanvasJS and JQuery. Further, I’ve included a form with radio-button input fields and finally linked a custom script named main.js that we’ll visit later on in this tutorial. Handling Route Route is handled within Nest.js by the controller layer. This receives the incoming requests and returns a response to the client. Nest uses a Controller metadata '@Controller' to map routes to a specific controller. For now, we will make use of the default controller to set up the homepage for our demo app. So edit '.src/app.controller.ts' and add the code shown below : import { Get, Controller, Res } from '@nestjs/common'; @Controller() export class AppController { @Get() root(@Res() res) { res.render('index'); } } The above code lets us manipulate the response by injecting the response object using the @Res() decorator. This will ensure that Nest maps every '/' route to the 'index.ejs' file. Create a Controller The next thing we need to build is the controller for poll. This will handle every request once a user selects a choice and submit votes. So go ahead and create a new folder named poll in your 'src' folder and then create a file 'poll.controller.ts' within it. Paste the following code in the newly created file. import { Controller, Post, Res, Body } from '@nestjs/common'; // import pollService import { PollService } from './poll.service'; @Controller('poll') export class PollController { // inject service constructor(private pollService: PollService) {} submitVote(@Res() res, @Body() poll: string) { this.pollService.create(poll); res.render('index'); } } A quick peek into the code above, you will realize that we imported a service and injected it into the controller through the constructor, this is recommended by Nest in order to ensure controllers handles only HTTP requests. This service will perform a task of publishing payload to Ably. We will create this service PollService in a bit. In addition, the @Controller(‘poll’) tells the framework that we expect this controller to respond to requests posted to /poll route. Realtime Service Basically, we want to utilize one of the core functionalities of Ably, which is publishing messages or payload to Ably and ensure that every connected client or device on that channel receives them in realtime by means of subscription. This is where Ably really shines; you get to focus on building apps and allow the platform to use their internal infrastructure to manage communication without you having to worry about it Lets create a component as a service within Nest.js . This will be used to publish a payload to Ably on a specified channel. Controllers in Nest.js only handle HTTP requests and delegate complex tasks to components. Components here are plain TypeScript classes with @Component decorator. So create a new file within poll folder named poll.service.ts import { Component } from '@nestjs/common'; @Component() export class PollService { private poll: string; create(poll) { const Ably = require('ably'); // replace with your API Key var ably = new Ably.Realtime('YOUR_KEY'); var channel = ably.channels.get('ably-nest'); const data = { points: 1, movie: poll.movie }; channel.publish('vote', data); } } Here, I required the ably module that was installed earlier and passed in the required API key. Also, I created a unique channel ably-nest for clients to subscribe to. I also have the publish method which takes in two parameters, one is an optional message event name and the other is a payload to be published. Connecting the dots At the moment, our application doesn’t recognise any newly created controller and service. We need to change this by editing our module file 'app.module.ts' and put controller into the 'controller' array and service into 'components' array of the '@Module() decorator respectively. import { PollController } from './poll/poll.controller'; import { Module } from '@nestjs/common'; import { AppController } from './app.controller'; import { PollService } from './poll/poll.service'; @Module({ imports: [], controllers: [AppController, PollController], components: [PollService], }) export class ApplicationModule {} Plug in Ably client-side and update UI Just a quick recap before the final stage. So far, in this tutorial, we have - Created a form with radio buttons for users to cast and submit polls. - We went further to create an account on Ably - Set up an homepage - Created a controller to handle post route. - Setup a service to publish payloads to a named channel ably-neston Ably and - Lastly, we registered the newly created controller and service within our application module. Remember that we included a custom 'main.js' file in our index.ejs file? Go ahead a create a new folder called public within the src folder then create the main.js file within it. Further, add the following code to the file. const form = document.getElementById('opinion-form'); // form submit event form.addEventListener('submit', (e) => { const choice = document.querySelector('input[name=movie]:checked').value; const data = {movie: choice}; axios.post('/poll', data).then( (data) => { console.log(data); }); e.preventDefault(); }); let dataPoints = [ {label: 'The Avengers', y: 0}, {label: 'Black Panther', y: 0}, {label: 'Captain America', y: 0}, {label: 'Other', y: 0}, ]; const chartContainer = document.querySelector('#chart-container'); if (chartContainer) { const chart = new CanvasJS.Chart('chart-container', { animationEnabled: true, theme: 'theme1', title: { text: 'Favorite Movies' }, data: [ { type: 'column', dataPoints: dataPoints } ] }); chart.render(); var ably = new Ably.Realtime('YOUR_KEY'); var channel = ably.channels.get('ably-nest'); channel.subscribe('vote', function(poll) { dataPoints = dataPoints.map(x => { if (x.label == poll.data.movie) { x.y += poll.data.points; return x; } else { return x; } }); chart.render(); }); } This content of this file is self explanatory, we handle form submission and post to the poll route using axios. We also set a default dataPoints for our chart and finally subscribe to the payload posted from the server. Don’t forget to replace the YOUR_KEY with the appropriate API KEY from your dashboard. Bringing it all together Restart the development server again if it is currently running and navigate to or to check it out. And that is it. If you miss any of the steps, you can find the code for this demo here on GitHub Conclusion We have successfully achieved two things in this tutorial: - Get introduced to building web applications using Nest.js - Explore the realtime functionality offered by Ably If you would like to find out more about how channels, publishing and subscribing works, see the Realtime channels & messages documentation or better still learn more about the complete set of Ably features.
https://hackernoon.com/building-real-time-web-applications-using-nest-js-and-ably-d85887e81f06
CC-MAIN-2019-39
refinedweb
2,045
56.15
A procedural using GT to create geometry for rendering. More... #include <RAY_DemoGT.h> A procedural using GT to create geometry for rendering. Definition at line 39 of file RAY_DemoGT.h. Definition at line 73 of file RAY_DemoGT.C. Definition at line 82 of file RAY_DemoGT.C. The class name is used in diagnostic messages. It can simply be the name of the class, or alternatively, you can choose a unique name for each procedural instance. Implements RAY_Procedural. Definition at line 87 of file RAY_DemoGT.C. The bounding box is the "object space" bounds of the procedural. Implements RAY_Procedural. Definition at line 121 of file RAY_DemoGT.C. The initialize method is called when the procedural is created. Returning zero (failure) will abort the rendering of this procedural. The bounding box passed in is the user defined bounding box. If the user didn't specify a bounding box, then the box will be NULL. Implements RAY_Procedural. Definition at line 93 of file RAY_DemoGT.C. The render method is called when the procedural is required to either generate geometry or split into more procedurals. Inside the render() method you should make calls to open/add/close geometry or sub-procedurals. The way that a procedural splits is critical to the performance of mantra's ray tracer. For optimal performance, make sure that sub-procedural bounding boxes overlap as little as possible - which allows mantra to build more optimal trees for ray tracing. In multi-threaded renders, the render() method needs to be reentrant Implements RAY_Procedural. Definition at line 271 of file RAY_DemoGT.C.
http://www.sidefx.com/docs/hdk/class_h_d_k___sample_1_1_r_a_y___demo_g_t.html
CC-MAIN-2018-05
refinedweb
260
51.14
semitwistweb 0.0.7 A usable-but-unpolished Vibe.d/mustache-based web framework. To use this package, run the following command in your project's root directory: SemiTwist Web Framework A usable-but-unpolished Vibe.d/mustache-based web framework. This is a framework I've built up as part of my own (currently in-development) web projects, but I've separated it out for reusability. It provides an additional integrated feature-set on top of Vibe.d, such as: - A class-based session system (based on Vibe.d's sessions): - Allows arbitrary data types and compile-time checking of key names. - Automatically creates/resumes a session on page requests. - Logged in sessions are persistently logged in via a MySQL backend (although other session data is not automatically persistent). - Mustache-D templates. - A page system which prevents internal broken links and populates Vibe.d's UrlRouter. - A customizable form system which handles HTML-generation, validation, validation error messages and re-populating of form data on failed validation. - Configurable prefix for URLs. - Customizable HTTP handler struct which: - Prevents accidents like "headers already sent", sending a page twice, or forgetting to send a response on certain code paths. This is because your handler returns its page as a return value instead of manually writing it. - Automatically provides access to the request, response, session and Mustache view context without a non-DRY argument list repeated for every handler. - Automatically log uncaught exceptions, and optionally (for debugging) all MySQL commands. - Various command-line options, such as listening IP/port, logfile, (dis)allowing of insecure access, and whether or not to display exceptions and stack traces on the "500 - Internal error" page. - Direct access to Vibe.d is completely allowed. You can have purely Vibe.d-only pages side-by-side with ones that use SemiTwist Web Framework. - Various helper functions. The current downsides are: - The API isn't stable, well-polished or documented. - Setting up a new project using it currently involves some manual effort (see below). - Compared to Vibe.d itself, not quite as much as attention has been paid to avoiding GC allocations. How to Set Up a New Project To set up a new project using SemiTwist Web Framework: Create a new directory for your project. In your new project's directory, create a basic `dub.json / dub.sdl` DUB project file that lists `semitwistweb` as a dependency (as demonstrated here). From your new project's directory, run `dub upgrade to download all your project's dependencies, including SemiTwistWeb. This will also copy two directories from SemiTwistWeb to your project: res and www-static`. Make a copy of `res/conf-sample.d named res/conf.d . Open the new res/conf.d`, read the comments and enter your own configuration settings. Open `res/dbTroubleshootMsg.txt` and read it. Make sure you have a MySQL database set up appropriately as that file describes. Open `res/init.sql . Leave the session` table alone, but add any additional SQL statements to initialize your own MySQL database. Customize the main HTML page template `res/templates/frame-main.html (using Mustache syntax), the CSS file www-static/style.css (not a templated file), and optionally the HTML error page templates ( res/templates/err-*.html`) to your liking. Import Vibe.d by using `import vibe.vibe; , NOT import vibe.d; . Also import (at the very least) semitwistWeb.init . Then create a main()` function like this: module myProj.main; import vibe.vibe; import mysql.db; import semitwistWeb.init; //...whatever other imports... int main(string[] args) { //...any initial setup here... return semitwistWebMain!(MyCustomSessionType, MyCustomHandlerType, MyCustomDBOTypes)(args, &postInit, () => openDB()); } /// Returns: -1 normally, or else an errorlevel /// for the program to immediately exit with. int postInit(ref HttpServerSettings httpServerSettings, ref UrlRouter router) { /+ ...any additional setup to be done after semitwistWeb initializes, but just before it starts listening for connections... +/ return -1; } Connection openDB() { //...open a connection to your MySQL DB... } Add a root index page and other pages to your site using the completely undocumented API. Also, there aren't any example applications to learn from yet. Yea, I'm really helpful so far aren't I? Build your project. Run your project with the --init-db switch to create the needed DB tables (THIS WILL DESTROY ALL DATA!) Run your project without the --init-db switch to actually start it. What is "SemiTwist"? This project is "SemiTwist Web Framework" or "SemiTwist Web". "SemiTwist" is just an umbrella name I attach to some of my projects so their names aren't too generic, like "My Web Framework". It's also my domain name: semitwist.com. - 0.0.7 released 4 years ago - Abscissa/SemiTwistWeb - github.com/Abscissa/SemiTwistWeb - zlib/libpng - ©2013-2015 Nick Sabalausky - Authors: - - Dependencies: - vibe-d, mustache-d, gen-package-version, semitwistdtools, mysql-native - Versions: - Show all 7 versions - Download Stats: 0 downloads today 0 downloads this week 0 downloads this month 0 downloads total - Score: - 0.8 - Short URL: - semitwistweb.dub.pm
http://code-mirror3.dlang.io/packages/semitwistweb
CC-MAIN-2020-40
refinedweb
825
52.66
Content count34 Donations0.00 CAD Joined Last visited Community Reputation0 Neutral About faxingberlin - RankPeon - Birthday 12/03/1990 Contact Methods - Website URL Personal Information - NameHyunjun - LocationSeoul, Korea - Interestshoudini, HDK, Shader, VEX, AI, tensorflow, System Programming Recent Profile Visitors Torus Procedural faxingberlin posted a topic in ModelingHello, I try to make this model to show chemical structure. I am a beginner.. Is there good way to make this through procedural method? I try to this. and attach file. Hard to make like the picture. topographically.hip How Could I use Complex Number via VEX Language? How Could I use Complex Number via VEX Language? How Could I use Complex Number via VEX Language? faxingberlin posted a topic in ScriptingI am making some fractal which is needed Complex Numbers. I use Python Module's Complex Method. => complex(1, 2) = 1+2j But I want to know using Complex Numbers via VEX Language. According to SideFX's Houdini Documents, vector2 : Two floating point values. You might use this to represent texture coordinates (though usually Houdini uses vectors) or complex numbers. But I cannot know how to express the complex numbers in VEX. Write(Modify) Extra File in HDAs faxingberlin replied to faxingberlin's topic in ScriptingI really appreciate of your answer, Illusionist. Thanks! I will try right now. Converting VEX to OpenCL faxingberlin replied to art3mis's topic in ScriptingAre there any reference of OpenGL Context for houdini? like vex context(P, Cd, ....) Write(Modify) Extra File in HDAs faxingberlin posted a topic in ScriptingHi, there. I have some HDAs that use an external python module. I'd like to package the module into the HDAs so that external files are not necessary to use them. Currently I am embedding the python module using the “Custom Script” event handler, and I want to read file from “Extra Files” Tab. I want to write & read files from HDA's Extra Files Tab. Because I don't want to write & read files from External Directory. If I changed computer, I should move not only HDA asset but related External Files. I want to embed all files related to HDA. The Extra File is just txt file or json file. I already ask same question to sidefx forum. But, I receive some useful tips. I try HDADefinition Module but I cannot find to write in HDA. I spend about two weeks.. otl OTL Is there any way to write in the HDA's Extra Files? Link I asked same question About VEX_example.C -> Make build-in VEX function? faxingberlin replied to faxingberlin's topic in HDK : Houdini Development KitThank you ! Thanks you! Nowadays, I study in compatible environment and I successfully implement Dijsktra Function on my own VEX function! Adding to a Group / GEO_PointList Alternatives? faxingberlin posted a topic in HDK : Houdini Development KitI am a beginner who studied HDK. I use VC14(visual studio 15), Houdini 15.5. I study many examples in SOP folder and etc... There are two questions. First, GA_PointGroup * mygroup; GEO_Point * ppt; GR_FOR_ALL_GPOINTS_NC(gdp, GEO_Point, pt) { mygroup->add(ppt->getNum()); } This Code should be fixed by reference HDK Documents(Geometry Porting Cookbook) /* *Adding To A Group * *GB Code *group->add(prim->getNum()) *==> *GA Code *group->add(*prim); *group->addIndex(prim->getNum()); */ GA_PointGroup * mygroup; GEO_Point * ppt; GR_FOR_ALL_GPOINTS_NC(gdp, GEO_Point, pt) { mygroup->add(*ppt); mygroup->addInex(ppt->getNum()); } I changed like this. But mygroup->add(*ppt); still error... Is There any way? Second, I have one more question about GEO_PointList For the Documents, GB_ElementList GB had arrays of pointers to objects. As these objects no longer exist, code using element arrays should likely be re-written to be more efficient. The GA version of element lists return by value (not by reference). // GB Code GEO_PointList &pnts = gdp->points(); ==> // GA Code GEO_PointList pnts = gdp->points(); But there is no GEO_PointList.. I check it existed 13.0 not 15.0 I traverse 13.0 HDK Documents related GEO_PointList.. It's so difficult to find out the replacements. I search for Major Changes and HDK Forums, Documents. I cannot find. I want use points() function.. OTL About VEX_example.C -> Make build-in VEX function? faxingberlin replied to faxingberlin's topic in HDK : Houdini Development KitOkay That works perfectly. Thank you! About VEX_example.C -> Make build-in VEX function? faxingberlin replied to faxingberlin's topic in HDK : Houdini Development KitThank for answering kindly. Yes, I change output directory like this. In Visual Studio 2015, Property Pages - Linker - General - Output File : C:\Program Files\Side Effects Software\Houdini 15.5.480\houdini\vex\myprint.dll But, Windows 10 needs Administor authorization to access or modify in C drive especially, Program Files. So, I solve this program by window mount using mklink. About VEX_example.C -> Make build-in VEX function? faxingberlin replied to faxingberlin's topic in HDK : Houdini Development KitVEX_example.C cannot print Vectors. So, I modified function. it works! it's fun. Thank you for answering again. Could I ask one more question? This is VEXdso file in $HFS/houdini/vex. #ifndef __HFS_VEXdso__ #define __HFS_VEXdso__ // // VEXdso // // This file contains the definitions for VEX plug-in functions. // // There is currently one dynamic loaded VEX instructions. // // Please see $HH/vex/dso/VEX_VexOp.html for more details. // // // Since Windows dynamic objects have a different file extension than // most unix platforms, we define a macro which makes the correct // filename. We also simplify the path construction a little. // #if defined(WIN32) #define DSO_FILE(filename) filename.dll #elif defined(MBSD) #define DSO_FILE(filename) filename.dylib #else #define DSO_FILE(filename) filename.so #endif // Define VEX plug-ins here DSO_FILE(vex/VEX_OpRender) DSO_FILE(FLU_Filament) DSO_FILE(vex/myprint) // This Line is I added. // Make sure to undefine the macro before doing any further includes #undef DSO_FILE // // When copying this file to other locations in the HOUDINI_PATH, // please uncomment the following line (or change it) so that any // other VEXdso files get processed. Also, you'll have to change the // #ifndef/#define at the top of this file. // // #include "$HFS/houdini/vex/VEXdso" #endif I add the line : DSO_FILE(vex/myprint) myfunc.dll is in $HFS/houdini/dso/vex. But, In my Setting : When I compile VEX_example.C using Visual Studio 2015, The myfunc.dll file is generated in $HOME/houdini15.5/dso So I have to move again again whenever I recompile. How Could I modify VEXdso when houdini starts up scanning $HOME/houdini15.5/dso. I try to modify like DSO_FILE($HOME/houdini15.5/dso/myprint) or DSO_FILE(/c/Documents/.../.../houdini15.5/dso/myprint), it doesn't work. This is vector print out example. About VEX_example.C -> Make build-in VEX function? faxingberlin replied to faxingberlin's topic in HDK : Houdini Development KitThank YOU! it works About VEX_example.C -> Make build-in VEX function? faxingberlin posted a topic in HDK : Houdini Development KitI successfully compiled VEX_example.C (code is at below the link) I understand this produces Build-In VEX function like lerp(), geoself(), addpoint().... How could I use produced function in VEX? I refer to see. Make VEX operator and try to use function, but I can't.. Is there any example? How could I extract shop's material color to obj level? faxingberlin replied to faxingberlin's topic in General Houdini QuestionsThank you for answering. I use Cop and finally I use instance I solve! Thank you!
http://forums.odforce.net/profile/14129-faxingberlin/
CC-MAIN-2018-09
refinedweb
1,215
53.07
It's CouchDB 1.1.1, erlang R14B03 (erts-5.8.4) The script takes all docs from a view in several DBs, changes one field and then puts it back. I've tried several versions of the script, one that maintains the TCP socket and all kinds of reconnect logic, more or less the same effect. I will review my settings, but there shouldn't be anything too crazy there. The machine is solid - xeon 4 core server with 16G and there is very little CPU and IO utilisation, Debian. It's unknown right now if compaction is correlated. I will have to get back to you on that. This DB was migrated from a bigcouch, so I guess I will have to rule out some problem with that too. The python3 script looks something very close to the minimal script that demonstrates the issue for me. def update(db, conn): conn.request("GET", "/" + db + "/_design/account/_view/by_name") response = conn.getresponse().read().decode() rj = json.loads(response) for account in rj["rows"]: conn.request("GET", "/" + db + "/" + account["id"]) docresp = conn.getresponse().read().decode() jdocresp = json.loads(docresp) jdocresp["url"] = "" conn.request("PUT","/" + db + "/" + account["id"], json.dumps(jdocresp)) conn.getresponse().read() print ('Done ' + json.dumps(jdocresp)) def main(): conn = http.client.HTTPConnection('host',5984, True, 20) conn.request("GET", "/_all_dbs") response = conn.getresponse() body = response.read().decode() jdbs = json.loads(body) for db in jdbs: updatenotify(db, conn) conn.close() time.sleep(20) # HERE IS THE SLEEP I mentioned conn = http.client.HTTPConnection('host', 5984, True, 20) On Fri, Dec 27, 2013 at 3:27 AM, Stanley Iriele <siriele2x3@gmail.com>wrote: > What's the hardware... Cocudb version...operating system of your > project...also that doesn't sound like a lot..sounds like there's something > funky going on...you're not spinning up new processes for each request are > you? > On Dec 26, 2013 7:51 PM, . > > >
http://mail-archives.apache.org/mod_mbox/couchdb-user/201312.mbox/%3CCAELWUnUVFPYFTohzGGnczeXK1fjC+BuySQSvOR7S+C3qtNbUFQ@mail.gmail.com%3E
CC-MAIN-2019-09
refinedweb
320
63.76
Hi Hi if i have a linked list name Card class and I want to link the card class to the Deck class. I want to declare a deck linked list in the deck class (which should be linked to the card class) Is... I tried it with the command prompt and it cannot find the specified path. Yes, i do have a child class. Nothing seems to run due to the error Hi, I am having problems running my code. I tried eclipse to run my java codes and got the error: The selection cannot be launched, and there are no recent launches Then i tried jCreator and got... ok thanks thank you hey, need to convert infix To Postfix but have a few errors. error msg: PostFix: Exception in thread "main" java.util.EmptyStackException at java.util.Stack.peek(Unknown Source) at... Thanks everyone. Hi, a valid ticket is one in which has a total of 6 characters. The first 3 characters are letters and the last 3 are numbers/digits. The program must determine whether or not a ticket is valid. ... Thanks for the guidance. Here is the modified code: import java.util.*; public class NumberOfWordsInString { public static void main (String[] args){ Scanner in= new Scanner... Up, working on my java skills. :D The isDelimiter function is suppose to return true if there is a delimiter in the string and false otherwise. The main is suppose to call this function and count... Thanks a lot, I changed i>0 to i>=0 and it worked! :D Hi am trying to reverse a string Here is my code: import java.util.*; public class ReverseLettersInString { public static void main (String[] args){ Scanner in = new Scanner... Hey guys, I eventually got it to work, thanks tho :) Am not sure that's why I posted Hi, I just don't seem to grasp arrays at all! So am continuing my practice in java. QUESTION: It's a radio poll on the most listened to radio station. I have to read the UNKNOWN number of... I only do soley java programs in my course and I use the assigned text to that, seem like you are doing gui which we haven't started yet. You can probably refer to your textbook or youtube tutorials... Am not an expert in the forum but I interpret it means having a main program as well as other methods which can be called within the main, thereby linking the entire program. Still practicing java questions for improvement :D I completed 2 solutions to a question, please tell me which one is more accurate: This is what the question is based on: land line to land... yup, everytime I adjust something, another problem arises. Nevermind :) Exception in thread "main" java.lang.Error: Unresolved compilation problem: Duplicate local variable i at pastpapers.PatientExercise.main(PatientExercise.java:25) line 25:the for loop line import java.util.*; import java.io.*; public class PatientExercise { //patients exercise time public static void main (String[]args) throws IOException{ Scanner in = new Scanner(new... still not getting it to wrk :/ i ended up placing the for loop in the while and it created more problems.
http://www.javaprogrammingforums.com/search.php?s=9cc4d500c3821639c87acf24ce7e38a2&searchid=255787
CC-MAIN-2016-36
refinedweb
531
74.19
Scala URL FAQ: How do I download the contents of a URL to a String or file in Scala? I ran a few tests last night in the Scala REPL to see if I could think of different ways to download the contents of a URL to a String or file in Scala, and came up with a couple of different solutions, which I'll share here. Download URL contents to a String in Scala The best way I could think of to download the contents of a URL to a String looks like this: import scala.io.Source val html = Source.fromURL("") val s = html.mkString println(s) If you really want to impress your friends and relatives, you can shorten that to one line, like this: println(scala.io.Source.fromURL("").mkString) That seems like the most direct and "Scala like" approach to the problem. Another approach is to reach out to the shell and use the wget or curl command, like this: import sys.process._ val s = "curl" !! While that also works, I don't like depending on wget or curl when you can do everything you need from within the Scala/Java environment. Download the contents of a URL to a file If you want to download the contents of a URL directly to a file, you can do so like this: import sys.process._ import java.net.URL import java.io.File new URL("") #> new File("Output.html") !! As you can see, most of that code involves importing the packages you need, and then the last line of code actually downloads the URL contents and saves it to a file named Output.html. If you're not used to the syntax of that last line, please see my tutorial on how to execute system commands in Scala. Other ideas? I just wrote these ideas down fairly quickly last night while thinking about the problem, and there may be other and better ways to download UTL contents in Scala. If you know of better solutions, feel free to leave a note in the Comments section below.
https://alvinalexander.com/scala/scala-how-to-download-url-contents-to-string-file
CC-MAIN-2018-26
refinedweb
352
78.38
Mention two popular VGA resolutions that are used for recent monitors. For unlimited access to Homework Help, a Homework+ subscription is required. Related questions 4. In this question, you will be shown a snippet of code. You will then be shown the output from either the compiler or the Java virtual machine and be asked what the error is and how to fix it. In each case, your answer should include the line number of the problem, a one or two sentence explanation as to why the issue occurs, and a specific fix for the problem. Your fix should mention the exact line or lines of code you'd add/change/delete. Total for this question (5 parts): (15 points) (a) Consider the following class: import java.util.Scanner; public class Hockeystandings //This method should calculate the percentage of games in which the team lost. public static double computePercentageLosses (int numwins, int numLosses) return numLosses/ (numwins + numLosses) * 100; public static void main(String[] args) { Scanner reader - new Scanner (System.in); System.out.println("Enter the number of wins for the Maple Leafs"); int numLeafwins = reader.nextInt (); System.out.println("Enter the number of losses for the Maple Leafs"); int numLeaflosses-reader.nextInt (); System.out.println("Enter the number of wins for the Canadiens"); int numCanadienswins – reader.nextInt (); System.out.println("Enter the number of losses for the Canadiens"); int numCanadienslosses = reader.nextInt (); double mapleLeafs Record - computePercentage Losses (numLeafwins, numLeaf Losses); double canadienskecord - computePercentage Losses (numCanadienswins, nuCanadienslos305): if (canadiens Record > mapleleafsRecord) { System.out.println("Of course the Leafs did worse."); else { System.out.println("Wow, that hasn't happened for a long time!"); The point of the program is to ask the user to enter numbers representing the wins and losses of the Maple Leafs and Canadiens in a season. The code compiles successfully and when you run the program, you enter the values: 2 80 40 42 into the keyboard. You expect that the program will output the message Of course the Leafs did worse since they had fewer wins. However, to your surprise, the output of the program is: Wow, that hasn't happened for a long time! Why is this the case and fix the error? 12. Which of the following is NOT specified for the formal parameters in a function (or method) definition? A. type B. name C.value D. position in the parameter list The next set of four problems is an extended "matching" problem. Each problem shows a Processing sketch. Enter the letter that corresponds to the output. The possible choices are not all used and some may be used more than once.
https://oneclass.com/homework-help/computer-science/5575490-vga-mode-includes-what-two-reso.en.html
CC-MAIN-2022-21
refinedweb
438
56.25
We stayed at Infinity Bay for a week, renting through VRBO. Condo was nice and the facility well appointed. They arranged pickup at the airport, shuttled us to the hotel and ported our bags to our room. Communication and service to this point was excellent. They had everything ready to go and were expedient about the check in process. The facility is approx 5 yrs. old and is in good shape. There were a few housekeeping items on the property that could be attended to... ie. fountains not working, window screens hanging off window etc... but the property was nice, well taken care of and had a beautiful, clean pool. Front desk service left a very unpleasant taste in our mouths based on the rip off taxi service they provided to the West End for a dinner reservation. There are 3 options available - water taxi, taxi from West Bay Mall or taxi from the resort... The resort charged us $30US return for 2 people without offering alternatives. We found out a day later the water taxi is $12 return and a cab is $16 return (a little negotiation required). We were frankly pissed off and did not book any future activities with the hotel. We provided feedback to the activities coordinator and hotel manager. Other than that, the stay was pleasant. Bar was good - average prices for drinks, food decent again with average prices. Rooms are cleaned every 3 days. We will be back, just more savvy the second time around. Would have given 4 as a rating if not for the screwing on the taxi ride. -.
http://www.tripadvisor.com/ShowUserReviews-g944573-d939692-r179521424-Infinity_Bay_Spa_and_Beach_Resort-West_Bay_Roatan_Bay_Islands.html
CC-MAIN-2014-10
refinedweb
267
75.5
Portuguese translation to follow. Since last June 22nd, SAP has released under General Availability (GA) the latest version for its NF-e (Brazilian electronic invoicing) solution: SAP NFE 10.0. It had been in Ramp-up since December 13th, 2010, and since the successful go-live of the first of its ramp-up projects, it has been made generally available. But what has changed in this newer version? Well, first of all, the version itself. 🙂 Lots of people have asked why the number went all the way from 1.0 up to 10.0! The answer is rather simple though, it has nothing to do with the (real) fact that the solution has improved 1000% (hehe) – the point is that, as part of the SAP Governance, Risk and Compliance (GRC) Suite, SAP NFE was also part of the GRC Suite Harmonization project, under which all GRC products were redesigned & relabeled as 10.0. That’s why we have Access Control 10.0, Process Control 10.0 and so on… Secondly, the product name has changed altogether. The first version used to be called, in its full name, SAP GRC Nota Fiscal Eletronica 1.0, or SAP NFE 1.0 for shorts. Now, also under the GRC harmonization, its official full name has been changed to SAP BusinessObjects Electronic Invoicing for Brazil 10.0. Pretty fancy, ain’t it?? The short version remains rather the same, SAP NFE 10.0. Folks down here in Brazil, who have been used to call the product just as “GRC”, will have to get used to the new name… or not. Power to the people! But what has really changed underneath?? Is it the same thing with a new name? Not at all!!! History In simple terms, the first version of the product (covered in SAP GRC NFE 1.0 – New Solution Introduction & Implemention Best Practices) was aimed at meeting with the requirements of the issuing of electronic invoices by the companies selling (or returning, importing etc.) goods. For any scenario that demanded an invoice (or Nota Fiscal, in Brazilian terms) to be issued, it needed to be converted into the electronic format defined by the government and processed through a predefined set of steps in order to comply with the legal requirements. Only after getting the online approval from the government for that particular invoice, the company would be allowed to ship the goods. This was well achieved by the SAP NFE 1.0 solution. It revolutionized the way the Brazilian SAP customers were managing electronic invoices, in terms of integration to the SAP ERP as well as the stability & scability that only a solution based on the SAP NetWeaver platform could offer. Being the best of breed solution in its niche, SAP NFE is now present in more than 1/3 of the SAP installed base in Brazil, even though it was released later than most of the competitive solutions. However, the experience that SAP gathered with the NF-e projects allied to the business insight that only SAP has, made it possible for our engineers & consultants to perceive a couple of bottlenecks that were happening in the process. While the outgoing part of the process (i.e. selling the goods) was considerably efficient, the adoption of electronic invoicing brought serious drawbacks to the other side of the supply chain: the companies pruchasing the goods were having a much harder time processing these incoming electronic invoices, due to new legal requirements which were specific to the NF-es. The new Incoming piece So, with the experience gathered in SAP’s 300+ implementations of SAP NFE among the Brazilian customers, our development engineers & architects were able to come up with a solution that would make the life of the companies purchasing the goods much easier. Instead of having a bigger burden because of the electronic document, the solution SAP has come up with is able to actually take advantage of the fact that the process is based on such electronic documents and reduce the overall average time spent in the fiscal validation of these incoming invoices by 7/8! So, now, the SAP NFE solution is comprised of two pieces, or “modules”: - SAP NFE, Outbound: the classic feature of SAP NFE, best of breed NF-e issuing system for SAP ERP customers in the market; - SAP NFE, Incoming: leveraging the NF-e capabilities in order to improve the procurement & logisitc process for the Brazilian customers. Much different from the SAP NFE Outbound piece, though, the Inbound piece is not just a mere transactional message handler anymore. It is tightly integrated to the SAP ERP invoice verification & material movement processes, leveraging the actual Business Users to migrate from the old-fashioned transactions into modern web-based mashed-up interfaces, which integrate in a single workplace all the information the users need to do their jobs. More specific details about the new SAP NFE Incoming Automation process will be explored further in a future blog. What’s new for the Outbound process While the main feature of the new version is indeed the Incoming process, the Oubtound process has not been neglected by the developers and it has been remodeled and improved since SAP NFE 1.0. There were 3 major enhancements, besides several other minor improvements (some of which have been downported to the 1.0 codeline): - Simplification of the architecture, with the complete removal of the SLL-NFE-JWS Java component: now, the XML digital signature is fully handled by the SLL-NFE ABAP component (leveraging new features of the 7.02 NetWeaver platform), what has reduced the complexity & TCO of the solution, as well as increased the overall message throughput by 30+%; - New Mass Download UI: an old recurring request of existing customers, now it’s possible to download a set of XML files (filtered by date, for example) in a single step; - Standardized look & feel of the UIs: the UIs have been aligned with the more classical web dynpro look & feel of other SAP applications. They were also modified to make use of the POWL (Personal Object Worklist) Web Dynpro framework, leveraging the use of NW Business Client as an alternative frontend option. All in all, it continues to be the best of breed solution for SAP ERP customers to issue Brazilian electronic invoices, yet more powerful. It will continue to grow both in terms of robustness and functionalities, along with the Incoming piece. One important message to all SAP NFE 1.0 customers out there: the SAP NFE 1.0 licenses you’ve acquired are equivalent to the SAP NFE Outbound piece, no matter what the version. So, if you want to leverage the new goodies of the Oubound process that come in 10.0, it doesn’t require any additional licensing. It’s possible to migrate your existing NFE 1.0 installation to NFE 10.0 – Outbound. The Inbound piece, on the other hand, does need to be licensed additionally, since it covers an entirely new business process that was never addressed in 1.0. Summary In short, starting from version 10.0, SAP NFE now comprises two business processes (or “modules”) within the same product: the Outbound part, for issuing NF-es, and the Inbound part, for receiving NF-es. We at SAP are pretty sure that, with these latest additions, SAP has put NFE even more into the leadership position of a governance & compliance solution for NF-e in Brazil, helping our customers to meet the legal requirements and, at the same time, to improve the procure-to-pay business process at these companies. I am not sure whether this is right place for the question. We are implementing the NFE 10.0. We have imported the XI content for the NFE 10.0 in ESR. Now we have to start the PI configuration for the same. I have found four namespaces in the XI content for NFE 10.0: I found the scenarios that we want to configure in two namespaces and I am not sure objects from which namespace to be used in PI ID configuration. Could you please put some light on this? Regards, Sami. it’s ok to talk about it here, no problem. You need to use configure the integration scenarios in the “” namespace, for the NF-e scenarios. Also, make sure you have the latest version of the SLL-NFE SAPBO SLL-NFE 10.0 XI Content. In the one in the internal system, I can see the “” namespace as well. But if you’re considering to implement the receiving of CT-es, you’ll probably still use the 103 namespace. Cheers, Henrique. I will check it and will configure the integration accordingly. Regards, Sami. Hi Samiullah, How you did configuration for namespace “” as it was already existing from NFe 1.0. Was it a fresh one or used the existing? Please explain how you did configuration by differentiating namespace for NFe 10.0 with NFe 1.0, which is same in both the versions. Thank you, Farooq Hi Farooq, In my opinion you have to do following: First of all you have to import the BPMs of Newer SWCV(NFe10.0) into your Integration Directory to be used for scenarios with Authorities. If you already have the BPMs for NFe1.0 available in your integration directory, then you can use different names for the BPMs(Integration Scenarios) in integration directory(I have used suffix _NFE10 to the BPMs name). Then use the Integration scenarios available in NFE 10.0 standard content to generate the configuration objects using the new BPMs. There will few objects(Receiver Determinations etc.) that will be reused(where GRC system is sender system). For those objects you need to change the SWCV to NFE10.0 as explained by Hanrique. After above changes it worked for me. Regards, Sami. Hi Henrique, You say it is OK to ask here? I am at the same juncture where Samiullah was. We have NFE 10.0 just imported in system. My query is about next step, configuration. Do we really need to configure or the system will automatically take the existing configurations as in NFE 1.0 because namespace is same. If we have to configure, we have the namespace ““, Will the system treat this as that belongs to NFE10.0. What exactly happening here. Please elaborate on the behavior of namespace in NFe10.0 & NFe 1.0 & configuration for NFe 10.0. Thank you, Farooq. Hi Farooq, even though the namespace is the same, the SWCV (software component version) is different (from 1.0 to 10.0), and hence you really need to rerun the configuration wizards. Hello Henrique, We are in the process of upgrading from SAP NFE 1.0 to SAP NFE 10.0 I have a question regarding SAP NFE 10.0 architecture : Currently on SAP NFE 1.0 we have deployed the “one instance architecture” ; All ABAP & Java NFE have been installed on SAP PI 7.0 ( based on Netweaver 7.0), that solution is briefly mentionned in one of your previous blog (even though you mentionned that it was not really recommended) Now we SAP NFE 10.0 we need to upgrade SAP netweaver AS ABAP 7.02 (PI abap stack) in order to deploy GRC suite 10.0. That would mean that the PI j2ee stack would also be upgraded to J2ee 7.02. I have one question ; Is the “one instance” scenario still supported with NFE 10.0 ? Thank you very much Best Regards Yes, it is still possible to deploy the “all in one” architecture. Specifically, AS Java is not relevant anymore for NFE since the SLL-NFE-JWS component does not exist anymore – in 10.0, the digital signature is handled by the ABAP layer. Of course, AS Java will still be an inherent part of PI 702. The problem of this architecture is that you won’t be able to update your PI to the newer versions (7.3x), being limited to the same codeline as NFE (7.0x, x >= 2). Hi Thanks for the blog. I’ll pop in a question as well as I am not sure how the signature service can be utilized. We are currently signing on a different server than PI, but want to move the signature to PI. We don’t have the DigitalSignature service interface on PI at the moment – does this come with one of the SWC? Do we also have an opportunity to sign the messages in the backend system? Thank you regards Ole Hi Henrique, We upgraded from 1.0 to 10.0 and I have a question regarding the Digital Certificate; We created the .pse using sapgenpse and imported it in STRUST. Do we need to send the ..p10 file to the CA/Brazilian Govt to be signed and imported back in to the .pse for it to work? We have an existing cert from them in the .p7b format that was used in the old Java system but are confused if we can use it with the .pse in the abap 10.0 system ? Best Regards.. If you go for the standard SAP solution, yes, that is the recommended architecture. Just not sure what you mean by “standalone PI” – you could use any existing PI 7+ instances you already have in your landscape. There is no official sizing recommendations for NFE sizing. Our presales team in SAP Brasil has developed a benchmark locally, so my recommendation would also to get your customer in touch with our local sales reps so that they might request this information. Hi, any advice where can the NFE Master Guide be found? Using the SDN search engine it didn’t jump out at me. Many thanks, Aaron It’s in SAP Service Marketplace. A quick link is available in. Greate Blog Henrique! I´d like to know where could I find documents regarding configuration in SAP ECC e GRC 10.0 to work with GRC 10.0 Inbouud. Kind Regards, Luis Hi Luis Below the link to NFe10 help Regards Eduardo Chagas Hi Eduardo, Somehow I was on a different version of the NFe 10 help…search engine maybe… The process overview looks different. I think your link is better to use… Yup! The link I’ve posted is the right path. I saw that you asked about the Master Guide. Do you still need? Regards Eduardo Chagas You can find it in the PAM session… PAM (Product Availability Matrix) Regards Eduardo Chagas Actually, this is the 1.0 version help (you couldn’t say just by looking at the URL since you can’t have dots in the URL). I do agree the URLs are a bit misleading. Hi Henrique, Very nice blog!! Could you please provide me the link where i can get more specific details on SAP NFE Incoming Automation process? Thanks, Prasanthi Hi Prashanthi Chavala, Could you please check the link below ? You can find anything about Inbound/Outbound process for NF-e 10.0 Kind regards, Viana. Great blog But I´m confused about implementation of the new SP 13 into our landscape, specially in put to work the new scenarios like NFe Download and NFe List. It´s assumed I need some previous knowledge that I don´t have. There is some training track for this? I´m a ABAP senior and a PI junior. Thank you. Not really, SAP training for NFE has been really lacking, specially regarding newer functionalities (automation, manifesto do destinatario, etc.). I’d say to follow up in the space (with a question). And notice the topics are not really technical but rather functional – it’d be better to have someone with fiscal knowledge. Hi Henrique, Your blog on NFE was a real eye opener. 🙂 We have a migration project ( 7.0 to 7.3) and NFE is involved in it. How do we approach NFE migration? Should the content be exported/imported or should it to be downloaded fresh for 7.3 system? What would the impact be? Note : NFE 10.0 is used Kindly let me know. Regards, Sanjay Hi Sanjay, is the SLL-NFE Add-On installed in the same instance as PI? If so, I’d say this is a proper moment for your company to consider separating them, so that in future PI migrations, you don’t need to consider NFE objects as well. Nevertheless, be it on a new separate instance or the new PI instance, there is no standard NFE migration tool. You’ll need to figure out which tables to move and move them on your own (basically all tables with the /XNFE/* prefix). Additionally, is it PI 7.30 or 7.31? If 7.31, I’d consider changing the integration pattern to AEX instead of ccBPMs, since it’s much more performatic. You can find more info in SAP Note 1743455. Best regards, Henrique. Hi Henrique, First of all thanks for sharing these information. We are currently working on PI 7.1 Enhancement Pack 1 SPS11 and we have a requirement to add NFE 10.0 in our landscape. But we also have plan to upgrade our PI system to 7.3 EHP 1 Java only. So logically we should use AEX instead of ccBPM. Do you know whether AEX components mentioned in SAP Note 1743455 will work with PI 7.11 SP 11 or not? I am really confused. Regards, Nabendu. The Adapter Modules that are used by AEX are not present in 7.11. If you want to set it up now, you’ll need to use the ccBPM based scenarios and change that to AEX once you move to PI 7.31 Java-only. Thanks a lot Henrique for clarification. Appreciate your quick response. We are going to implement NFE in our landscape with PI 7.11, so pretty much sure that I am coming back with lot of questions in this forum. Regards, Nabendu. Nice Blog! I have just a question regarding the communication interfaces between NFE<->PI. I know the connection type is HTTP. But i cannot find the prefixes, which have to defined in SM59 in NFE an PI system. PI –> NFE: /sap/xi/engine?type=entry??? NFE–>PI: ???? Moreover do i still need to assign IE in SXMB_ADM on NFE Core? Thanks for you input, Reagds Christoph Hi Chris, sorry for not replying earlier. The connection details remain more or less the same as in NFE 1.0, so I’d say to refer to that blog (linked in the beginning of this one). But in summary, NFE -> PI you don’t need a channel (since it’s a proxy, it’ll go automatically to the integration engine), and PI -> NFE you use a HTTP destination, referred to in a XI channel. And yes, you do need to assign a HTTP Destination pointing to IE in SXMB_ADM -> Integration Engine Configuration. Henrique Pinto precisa voltar a publicar por aqui hein! Eu publico, mas mais em relacao a HANA que a NFE… Hi Henrique! Your blog clarified a lot of things regarding NF-e.Thank you. We are in process of implementingthe same in our landscape. Infact I have configured almost all the configuration scenrarion in SAP PI but I have imported the process inetgration scenarios from namespace 5a not 6, so does it make any differenec as I can see that service interfaces are the ones I require. Secondly, for the B2B scenarios which send the cancelled NF-e to the receiver, a mailpackage inbound interface has been mentioned in one of the refernce guide i received from client.But I can not find any such interface in any of namespaces in ESR. Could you please suggest! Thanks! Indu Khurana. Hi Indu, you should use the latest namespace, since it’s the only one being updated with the latest changes. Namespace 005a is deprecated is most likely will lead to communication issues. The cancellation scenario is deprecated, the cancellation business process is now fulfilled as an event. You then use the event B2B scenarios. Best, Henrique. Hi Henrique Thanks for replying. We are trying to implement B2B outbound mail scenario. The GRC and ECC team is not sure of how to send a attachment with the xml file which is to be sent to recepient in SEFAZ. Can you please help us with what approach should we folllow? We are trying to follow this appraoch: Please suggest! Thanks, Indu Khurana. I’d say to ask a question in the NFE space: SPED & NF-e.
https://blogs.sap.com/2011/09/02/sap-nfe-100-whats-it-all-about/
CC-MAIN-2017-47
refinedweb
3,428
65.52
Virtual Host Proxy Server From time to time, I pick-up ideas from codeguru.com so I thought that I should contribute as well. The program I'm submitting today is aimed at solving a problem that sounds simple but appears to be next to impossible: running multiple Web servers on a single Windows 95/98 machine. If you are running NT, you can assign multiple IP addresses to your networks card, edit the hosts file to translate domain names into IP addresses and assign multiple Websites to Internet Information Server... What I've done is write a very simple proxy server that translate server names into a sub folder of your local machine so your can host as many Websites as you want with one single HTTP server. Let's imagine your web root is C:\WebRoot\, you will put the files for into C:\WebRoot\\. The files for will go in C:\WebRoot\\ and so on. What the proxy will actually do is replace by on the fly (127.0.0.1 is equivalent to localhost and is by definition the IP address of your local machine). So to test the program, what you really need is a Web server, something as simple as Personal Web Server (PWS) from Microsoft and a browser (Netscape Navigator, Internet Explorer or anything else). You have to create the directories for the virtual servers as mentioned above and you have to configure your browser to use a proxy. Here is an example with Internet Explorer 5.0 from Microsoft (Tools>Internet Options>Connections>LAN Settings) As you can see, by default the proxy is running on port 5060. Something else you have to be aware of is that the proxy doesn't support HTTP 1.1. The way HTTP 1.1 handles connections is slightly more complicated than HTTP 1.0. To keep the code as simple as possible, I decided to support HTTP 1.0 only. Anyway it's the default behavior of the browser when you go through a proxy as you can see on the following screenshot of IE5. The code is very basic and there are numerous ways to improve it but a) it solved my problem and b) it's short and easy to read. It also provides a very good example on how to use the CSocket classes which are very high level classes and not very well documented. // VirtualHostProxy.cpp // // Virtual Host Proxy Server // (c) Franck JEANNIN 1999 - fjeannin@linkguard.com // // Simulate multiple Web servers on one single Windows 95/98 machine // // Does not support HTTP 1.1 (HTTP 1.0 only) // Use high level MFC socket classes: CSocket // #include "stdafx.h" #include <afxsock.h> // MFC socket extensions #include <conio.h> #define BUFFERSIZE 10000 #define SERVERNAMEMAXSIZE 256 #define PROXYPORT 5060 #define SERVERADDRESS "127.0.0.1" #define SERVERPORT 80 char Buffer[BUFFERSIZE+SERVERNAMEMAXSIZE]; int main(int argc, char* argv[]) { CSocket Proxy; CSocket Client; CSocket Server; // initialize MFC if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0)) { printf("Fatal Error: MFC initialization failed\nPress any key\n"); getch(); return -1; } // initialize Socket support if (!AfxSocketInit()) { printf("Fatal Error: Socket initialization failed\nPress any key\n"); getch(); return -1; } // create Proxy socket if (!Proxy.Create(PROXYPORT)) { printf("Fatal Error: Proxy socket creation failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } if (!Proxy.Listen(1)) { printf("Fatal Error: Proxy socket activation failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } else { printf("Virtual Host Proxy Server started on port %d\n(c) Franck JEANNIN 1999\n\n",PROXYPORT); } while(1) { if (!Proxy.Accept(Client)) { printf("Fatal Error: Client connection to Proxy failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } int n = Client.Receive(Buffer,BUFFERSIZE); if (n == -1) { printf("Fatal Error: Client transmission to Proxy failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } Buffer[n] = 0; printf("Received from client: %s\n",Buffer); // calls to are transformed to calls to char* p = strstr(Buffer,"//"); if (p) { p += 2; memmove(p+sizeof(SERVERADDRESS),p,n); memcpy(p,SERVERADDRESS,sizeof(SERVERADDRESS)-1); *(p+sizeof(SERVERADDRESS)-1) = '/'; n += sizeof(SERVERADDRESS); } if (!Server.Create()) { printf("Fatal Error: Server socket creation failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } if (!Server.Connect(SERVERADDRESS,SERVERPORT)) { printf("Fatal Error: Server socket connection to HTTP server failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } n = Server.Send(Buffer,n); if (n == -1) { printf("Fatal Error: Proxy transmission to Server failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } Buffer[n] = 0; printf("Sent to server: %s\n",Buffer); while ( (n = Server.Receive(Buffer,BUFFERSIZE)) != 0) { if (n == -1) { printf("Fatal Error: Server transmission to Proxy failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } Buffer[n] = 0; printf("Received from server: %s\n",Buffer); n = Client.Send(Buffer,n); if (n == -1) { printf("Fatal Error: Proxy transmission to Server failed\nError %d\n\nPress any key\n",GetLastError()); getch(); return -1; } Buffer[n] = 0; printf("Sent to Client: %s\n",Buffer); } printf("Closing Client & Server sockets\n"); Client.Close(); Server.Close(); } return 0; } Download demo project - 47KB History Very good starting pointPosted by Legacy on 01/22/2004 12:00am Originally posted by: Edgar Leon Great and simple, I've succesfully modify it to meet my needs. I'm very thankfullReply "" cann't be logged on, use the proxyPosted by Legacy on 10/25/2001 12:00am Originally posted by: wisber Your proxy don't work properly,Reply the website "" cann't be logged on. Virtual Host Proxy ServerPosted by Legacy on 06/28/2001 12:00am Originally posted by: George Any ideas on how HTTP/1.1 persistant connections work?Reply I have done some experimentation and I am still mystified. If I recv twice before sending something to the HTTP server I get a broken pipe, or error. Anyway you have to add .Posted by Legacy on 05/18/2001 12:00am Originally posted by: michel Very usefull for my first step in CSocket; Merci. Insert a CWinApp instance at the beginning of your main().Reply for exemple CWinApp MyApp; Have a look to the "help" for AfxWinInit and AfxSocketInit. no response from clientPosted by Legacy on 04/20/2001 12:00am Originally posted by: Adrian Austin Hi, Please Help. I found your code on the net. Good stuff. I'm currently trying to write a simple proxy server to sit in between our windows clients and the real proxy server. We're doing this so that we can do some clever authentication on client ip addresses. Anyway, I found your code and thought this was the answer. I'd already tried a very similar thing in visual basic. I still have a problem however, in the command prompt window it all seems to work great. The http request comes in, is sent to the proxy server and the correct response comes back BUT, when I step throught the code I can see that it thinks it has successfully sent the response back to the client but Internet Explorer just sits there and eventually times out. I can't work out why this is happening. Any ideas very much appretiated? Also, will this work for ftp and all other protocols?Reply For me eitherPosted by Legacy on 03/13/2001 12:00am Originally posted by: Chris If I had a webpage with a graphic in it. The page would load the html page fine but would not continue loading graphics embedded in the page. It would stick on the while( n = server.receive(Buffer.BUFFERSIZE) ) != 0 ) line. If I change the logic to check to see if the last receive was less then BUFFERSIZE it works under DEBUG mode only. I am not an expert at this so my debugging that error was futile.Reply Your proxy not work properyPosted by Legacy on 01/16/2000 12:00am Originally posted by: JP Your proxy not work properyReply
http://www.codeguru.com/cpp/i-n/internet/generalinternet/article.php/c3407/Virtual-Host-Proxy-Server.htm
CC-MAIN-2015-11
refinedweb
1,340
54.02
One: - RewriteInboundQdigURLs – This rule will rewrite inbound user-friendly URLs into the appropriate query string values that QDIG expects. I should point out that I rearrange the parameters from the way that QDIG would normally define them; more specifically, I pass the value Qwd parameter last, and I do this so that the current directory “.” does not get ignored by browsers and break the functionality. - RewriteOutboundQdigURLs – This rule will rewrite outbound HTML so that all anchor, link, and image tags are in the new format. This is where I actually rearrange the parameters that I mentioned earlier. - RewriteOutboundRelativeQdigFileURLs – There are several files that QDIG creates in the “/qdig-files/” folder of your application; when the application paths are rewritten, you need to make sure that the those paths won’t just break. For example, once you have a path that is rewritten as, the relative paths will seem to be offset from that URL space as though it were a physical path; since it isn’t, you’d get HTTP 404 errors throughout your application. - RewriteOutboundRelativeFileURLs – This rule is related to the previous rule, although this works for the files in your actual gallery. Since the paths are relative, you need to make sure that they will work in the rewritten URL namespace. - ResponseIsHTML – This pre-condition verifies if an outbound response is HTML; this is used by the three outbound rules to make sure that URL Rewrite doesn’t try to rewrite responses where it’s not warranted.. ;-]
https://blogs.msdn.microsoft.com/robert_mcmurray/2012/06/28/using-url-rewrite-with-qdig/
CC-MAIN-2016-44
refinedweb
249
55.47
managed to find myarcade plugin lite and i have got it working with a wordpress game portal theme. Problem is that i fail to get the game appear in the theme's window. I have tried to use myarcade plugin: import game>embed code or import game>iframe url Then i tried in passing: ' "G" folder is where my C2 export file is. I cannot make it work. Do i need to create some special url? Like a url feed or something? If so how can i do that? Replace localhost with your server address. Thanks for your suggestion. My intention was to give it a file reference path so that the computer knows that game file are on the same machine. I thought it should work. Maybe i am writing the file reference path in the wrong way. I guess it should be fine. BTW: i am on xampp and there are no issues with permissions. I finally got it working both ways i.e. with "embed code" and "url". As far as the latter is concerned it did work only in the way suggested by you. Therefore, thank you again. The embed code or the plain url do not seem to cooperate with a full screen feature available on wordpress theme. What i mean is the type of feature that youtube video has. It expands full screen and shrinks back to smaller box. My games can be either or. Either box type and they don't extend full screen, they just stay the same or they are already in a full screen (840 x 480px) mode and in both cases the only thing that happens is that the background disappears on full screen pressed. Should the embed / url codes be adjusted in some way to take advantage of the full screen feature? Develop games in your browser. Powerful, performant & highly capable. Got a private message but I have little points to reply to private messages. There has been no other information on a way to reach the user so in an effort to reply, I decided to make it public, so that the message gets to the interested party in this manner. The message: from: scirra.com/users/nlon "Hello i saw your post: viewtopic.php?f=147&t=183049&p=1074506&hilit=embed+game+wordpress#p1074506 i am interested in the same plugin, but i dont know if it works well with Construct 2 games or not can you tell me what happened with your project?" The reply: I have sent numerous messages to the author’s plugin and I have not received a decisive answer, all the replies were spare. It appeared to me they did not know anything about Construct 2 games and I was the one to introduce them to Construct 2. In my opinion the plugin has not been created with a view to being used with Construct 2 games. They can be embedded but I am not sure how the full screen feature should work for instance, the way it seems to work (or not), does not make sense to me. Maybe they have done something with the plugin after I have sent them messages, up until now I have not researched what might have happened in the aftermath. Please note I did my testing on a free and pretty old version of the plugin I found on github. It appeared to me that they have intentionally withdrew all free versions of the plugin hoping to sell more copies except the one I managed to stumble upon github. As far I remember the author charges meticulously for every little thing like: the plugin itself and then they also charge for setting it up to your liking. Maybe it could be done if you decide to pay for it. However insane it may seem, I have set out to create my own website to host the games the way I would like it to be. Unfortunately, I have been stuck with the concept of an expandable iframe to “copy†youtube videos functionality when you hit full screen on the video. I have no idea how to programme it, while keeping everything responsive, or where to seek such information. There is an “automated way†to embed videos in html/css by typing specific html, and as a result, the expandable box is somehow generated automatically by a browser, there seems to be no way to control the expandable functionality to adapt it to C2 games, it gets created behind the scenes by default by the browser. It just works with video and does not lend itself to anything else. This is my conclusion, but I might be missing something. Note that I am pretty much an amateurish and self-thought web designer as well as programmer. However, I have done my best to research the idea thoroughly. I am pretty much stuck here. If you ever have any ideas to push me forward, let me know.
https://www.construct.net/en/forum/construct-2/how-do-i-18/myarcade-plugin-c2-exported-118239
CC-MAIN-2022-21
refinedweb
834
80.41
Recursion is the core of programming and is used in many related concepts like sorting, tree traversal, and graphs. In addition, recursion has a wide variety of uses in data structures and algorithms, and even though it is a complex concept, it can be used to make the task easier. Recursion, in simple words, is a function calling itself. Let’s witness our first code, which literally describes the definition. Recursion in Java /** This class has a recursive method. */ public class EndlessRecursion { public static void message() { System.out.println("This is a recursive method."); //recursive call message(); } } The above code is pretty simple. We have a class call endless recursion with a function named message, and the function prints the line “This is a recursive method.”. However, there is a problem. There’s no way to stop the recursive calls. So, this method is like an infinite loop because there is no code to stop it from repeating. So, we concluded that a recursive function also requires a termination condition to stop, just like a loop. A simple code is demonstrated below with a termination condition. /** This class has a recursive method, message, which displays a message n times. */ public class Recursive { public static void message(int n) { if (n > 0) { System.out.println("This is a recursive method."); message(n - 1); //After the condition is false the control returns to the end of the if //expression and since no statement is written below the recursive //call, the method returns. } } } Now the method message() contains an if condition that controls the repetition of the function. As long as the n parameter is greater than zero, the method displays the message and calls itself again. Let’s consider that n=5 in this case. Thus, the function message() will call itself 5 times and display the contents of the print statement. The number of times a method is called is the depth of recursion. In this case, the depth of recursion is 5. When the method reaches the sixth call, n=0. At that point, the if statement’s conditional expression is false, so the method returns. Solving Problems with Recursion Recursion can be a powerful tool for solving repetitive problems and is an important topic in upper-level computer science courses. What might not be clear to you yet is how to use recursion to solve a problem. Any problem that can be solved recursively can also be solved using a loop. In fact, recursive solutions are less efficient as compared to iterative solutions. However, recursion is still widely used because it makes the job of a programmer simpler. In general, a recursive method works like this: • If the problem can be solved without recursion, then the method solves it and returns. • If the problem cannot be solved, then the method reduces it to a smaller but similar problem and calls itself to solve the smaller problem. To apply this, we must identify at least one case in which the problem can be solved without recursion, and this is known as the base case. Then, we determine a way to solve the problem in all other circumstances using recursion. Finally, let’s consider a code that describes this recursive method. /** The factorial method uses recursion to calculate the factorial of its argument, which is assumed to be a nonnegative number. @param n The number to use in the calculation. @return The factorial of n. */ private static int factorial(int n) { if (n == 0) return 1; // Base case else //Although this is a return statement, it does not immediately return. Before the return value //can be determined, the value of factorial(n − 1) must be determined. The factorial //method is called recursively until the n parameter will be set to zero. return n * factorial(n - 1); } Famous Recursive Problems Some well-known recursive problems include Fibonacci series, factorial, Greatest common divisor, binary search, and many more. Let’s start with the simplest, i.e., the Fibonacci series. The Fibonacci series is a sequence that looks something like this. 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, . . . Notice that each number in the series is the sum of the two previous numbers after the second number. Thus, the Fibonacci series can be defined as follows. public static int fib(int n) { //base case 1 if (n == 0) return 0; //base case 2 else if (n == 1) return 1; else return fib(n - 1) + fib(n - 2); } Let’s write the whole code to test this function /** This program demonstrates the recursive fib method. */ public class FibNumbers { public static void main(String[] args) { System.out.println("The first 10 numbers in " + "the Fibonacci series are:"); for (int i = 0; i < 10; i++) System.out.print(fib(i) + " "); System.out.println(); } /** The fib method calculates the nth number in the Fibonacci series. @param n The nth number to calculate. @return The nth number. */ public static int fib(int n) { if (n == 0) return 0; else if (n == 1) return 1; else return fib(n − 1) + fib(n − 2); } } Next comes the greatest common divisor, i.e., the GCD. The GCD of two positive integers, x, and y, is as follows: if y divides x evenly, then gcd(x, y) = y Otherwise, gcd(x, y) = gcd(y, remainder of x/y) This definition states that the GCD of x and y is y if x/y has no remainder. This is the base case. Otherwise, the answer is the GCD of y and the remainder of x/y. import java.util.Scanner; /** This program demonstrates the recursive gcd method. */ public class GCDdemo { public static void main(String[] args) { int num1, num2; // Two numbers for GCD calculation // Create a Scanner object for keyboard input. Scanner keyboard = new Scanner(System.in); // Get the first number from the user. System.out.print("Enter an integer: "); num1 = keyboard.nextInt(); // Get the second number from the user. System.out.print("Enter another integer: "); num2 = keyboard.nextInt(); // Display the GCD. System.out.println("The greatest common divisor " + "of these two numbers is " + gcd(num1, num2)); } /** The gcd method calculates the greatest common divisor of the arguments passed into x and y. @param x A number. @param y Another number. @returns The greatest common divisor of x and y. */ public static int gcd(int x, int y) { if (x % y == 0) return y; else return gcd(y, x % y); } } The output of the above program is Enter an integer: 49 [Enter] Enter another integer: 28 [Enter] The greatest common divisor of these two numbers is 7 Conclusion All the methods described above have an iterative solution, but the recursive solution creates an elegant and easy write solution. In data structures like trees and graphs, recursive calls are widespread because they make the code concise and easy to understand.
https://www.codeunderscored.com/recursion-in-java/
CC-MAIN-2022-21
refinedweb
1,142
64.91
This is the second in a serious of articles I'm writing on the new features in the .NET framework V2.0. Today's topic is generics. Generics is a mechanism used to parameterize types(classes,interface etc.) with other types. The best way to explain this is with an example: public class Jar<T> { private T _member; public T member { get { return _member; } set { _member = value; } } } The new construct introduced is the <T> directly after the class name, called a "type parameter". T is just a variable name, for some reason when using generics, people tend to go for just one capital letter instead of a multi-letter name. Once this name is declared, we can use it inside the class definition exactly as we would any other type such as int,string,Arraylist,Dataset etc. Notice though that T is not linked to any specific type, yet. This is where the advantage of generics comes in, we can replace T with any type when we create an instance of Jar, like so: Jar<int> myJar = new Jar<int>(); or Jar<ArrayList> myJar = new Jar<ArrayList>(); a major advantage of this approach is that types will be checked at compile time, for example if we use <int>, the following statement will result in a compile time error: because the types are fixed at compile time, we do not have to do upcasts and downcasts like we would have to do without generics. This is demonstrated in collection classes such as ArrayList (data structure classes are the classical use of generics and are implemented as part of the .NET framework 2.0 under the System.Collections.Generic namespace)://OLD WAY /////////////////////////////////////////////ArrayList oldWay = new ArrayList The where clause(not to be confused with a SQL where clause :) ) above indicates that whatever type I pass in for T must have a public parameterless constructor, if it doesn't I'll get a compile time error. The other constraints I can use is : And the most useful one (in my opinion) : where T : <class or interface name> which will ensure that T inherits from a certain base class or implements a certain interface. We can of course give a comma sperated list of interfaces and a maximum of one base class. Once we've done this we can actually call methods on T like so: Which will compile without error. You can also compose constraints by comma delimiting them: (not very useful but good as an example). As someone famous once said: "That's all I have to say about that!" :) There's a bit more to generics that you can read up on in the help files, but this should give you a pretty good idea of what it's about.
http://dotnet.org.za/eduard/archive/2004/08/19/3441.aspx
crawl-002
refinedweb
459
66.37
# Check how you remember nullable value types. Let's peek under the hood ![image1.png](https://habrastorage.org/r/w1560/getpro/habr/post_images/292/bc3/02b/292bc302b579fa41d1521e92558c2d55.png) Recently nullable reference types have become trendy. Meanwhile, the good old nullable value types are still here and actively used. How well do you remember the nuances of working with them? Let's jog your memory or test your knowledge by reading this article. Examples of C# and IL code, references to the CLI specification, and CoreCLR code are provided. Let's start with an interesting case. **Note**. If you are interested in nullable reference types, you can read several articles by my colleagues: "[Nullable Reference types in C# 8.0 and static analysis](https://www.viva64.com/en/b/0631/)", "[Nullable Reference will not protect you, and here is the proof](https://www.viva64.com/en/b/0764/)". Take a look at the sample code below and answer what will be output to the console. And, just as importantly, why. Just let's agree right away that you will answer as it is: without compiler hints, documentation, reading literature, or anything like that. :) ``` static void NullableTest() { int? a = null; object aObj = a; int? b = new int?(); object bObj = b; Console.WriteLine(Object.ReferenceEquals(aObj, bObj)); // True or False? } ``` ![image2.png](https://habrastorage.org/r/w1560/getpro/habr/post_images/bbf/9a2/dc4/bbf9a2dc4547378c0be25a33084e64ae.png) Well, let's do some thinking. Let's take a few main lines of thought that I think may arise. **1. Assume that *int?* is a reference type.** Let's reason, that *int?* is a reference type. In this case, *null* will be stored in *a*, and it will also be stored in *aObj* after assignment. A reference to an object will be stored in *b*. It will also be stored in *bObj* after assignment. As a result, *Object.ReferenceEquals* will take *null* and a non-null reference to the object as arguments, so… **That needs no saying, the answer is False!** **2. Assume that *int?* is a value type.** Or maybe you doubt that *int?* is a reference type? And you are sure of this, despite the *int? a = null* expression? Well, let's go from the other side and start from the fact that *int?* is a value type. In this case, the expression *int? a = null* looks a bit strange, but let's assume that C# got some extra syntactic sugar. Turns out, *a* stores an object. So does *b*. When initializing *aObj* and *bObj* variables, objects stored in *a* and *b* will be boxed, resulting in different references being stored in *aObj* and *bObj*. So, in the end, *Object.ReferenceEquals* takes references to different objects as arguments, therefore… **That needs no saying, the answer is False!** **3. We assume that here we use *Nullable*.** Let's say you didn't like the options above. Because you know perfectly well that there is no *int?*, but there is a value type *Nullable*, and in this case *Nullable* will be used. You also realize that *a* and *b* will actually have the same objects. With that, you remember that storing values in *aObj* and *bObj* will result in boxing. At long last, we'll get references to different objects. Since *Object.ReferenceEquals* gets references to the different objects… **That needs no saying, the answer is False!** **4. ;)** For those who started from value types — if a suspicion crept into your mind about comparing links, you can view the documentation for *Object.ReferenceEquals* at [docs.microsoft.com](https://docs.microsoft.com/en-us/dotnet/api/system.object.referenceequals?view=netcore-3.1). In particular, it also touches on the topic of value types and boxing/unboxing. Except for the fact that it describes the case, when instances of value types are passed directly to the method, whereas we made the boxing separately, but the main point is the same. *When comparing value types, if objA and objB are value types, they are boxed before they are passed to the ReferenceEquals method. This means that **if both objA and objB represent the same instance of a value type**, the ReferenceEquals **method nevertheless returns false**, as the following example shows.* Here we could have ended the article, but the thing is that… the correct answer is **True**. Well, let's figure it out. Investigation ------------- There are two ways — simple and interesting. ### Simple way *int?* is *Nullable*. Open [documentation on *Nullable*](https://docs.microsoft.com/en-us/dotnet/api/system.nullable-1?view=netcore-3.1), where we look at the section "Boxing and Unboxing". Well, that's all, see the behavior description. But if you want more details, welcome to the interesting path. ;) ### Interesting way There won't be enough documentation on this path. It describes the behavior, but does not answer the question 'why'? What are actually *int?* and *null* in the given context? Why does it work like this? Are there different commands used in the IL code or not? Is behavior different at the CLR level? Is it another kind of magic? Let's start by analyzing the *int?* entity to recall the basics, and gradually get to the initial case analysis. Since C# is a rather "sugary" language, we will sometimes refer to the IL code to get to the bottom of things (yes, C# documentation is not our cup of tea today). #### int?, Nullable Here we will look at the basics of nullable value types in general: what they are, what they are compiled into in IL, etc. The answer to the question from the case at the very beginning of the article is discussed in the next section. Let's look at the following code fragment: ``` int? aVal = null; int? bVal = new int?(); Nullable cVal = null; Nullable dVal = new Nullable(); ``` Although the initialization of these variables looks different in C#, the same IL code will be generated for all of them. ``` .locals init (valuetype [System.Runtime]System.Nullable`1 V\_0, valuetype [System.Runtime]System.Nullable`1 V\_1, valuetype [System.Runtime]System.Nullable`1 V\_2, valuetype [System.Runtime]System.Nullable`1 V\_3) // aVal ldloca.s V\_0 initobj valuetype [System.Runtime]System.Nullable`1 // bVal ldloca.s V\_1 initobj valuetype [System.Runtime]System.Nullable`1 // cVal ldloca.s V\_2 initobj valuetype [System.Runtime]System.Nullable`1 // dVal ldloca.s V\_3 initobj valuetype [System.Runtime]System.Nullable`1 ``` As you can see, in C# everything is heartily flavored with syntactic sugar for our greater good. But in fact: * *int?* is a value type. * *int?* is the same as *Nullable.* The IL code works with *Nullable* * *int? aVal = null* is the same as *Nullable aVal =* *new Nullable()*. In IL, this is compiled to an *initobj* instruction that performs default initialization by the loaded address. Let's consider this code: ``` int? aVal = 62; ``` We're done with the default initialization — we saw the related IL code above. What happens here when we want to initialize *aVal* with the value 62? Look at the IL code: ``` .locals init (valuetype [System.Runtime]System.Nullable`1 V\_0) ldloca.s V\_1 ldc.i4.s 62 call instance void valuetype [System.Runtime]System.Nullable`1::.ctor(!0) ``` Again, nothing complicated — the *aVal* address pushes onto the evaluation stack, as well as the value 62. After the constructor with the signature *Nullable(T)* is called. In other words, the following two statements will be completely identical: ``` int? aVal = 62; Nullable bVal = new Nullable(62); ``` You can also see this after checking out the IL code again: ``` // int? aVal; // Nullable bVal; .locals init (valuetype [System.Runtime]System.Nullable`1 V\_0, valuetype [System.Runtime]System.Nullable`1 V\_1) // aVal = 62 ldloca.s V\_0 ldc.i4.s 62 call instance void valuetype [System.Runtime]System.Nullable`1::.ctor(!0) // bVal = new Nullable(62) ldloca.s V\_1 ldc.i4.s 62 call instance void valuetype [System.Runtime]System.Nullable`1::.ctor(!0) ``` And what about the checks? What does this code represent? ``` bool IsDefault(int? value) => value == null; ``` That's right, for better understanding, we will again refer to the corresponding IL code. ``` .method private hidebysig instance bool IsDefault(valuetype [System.Runtime]System.Nullable`1 'value') cil managed { .maxstack 8 ldarga.s 'value' call instance bool valuetype [System.Runtime]System.Nullable`1::get\_HasValue() ldc.i4.0 ceq ret } ``` As you may have guessed, there is actually no *null* — all that happens is accessing the *Nullable.HasValue* property. In other words, the same logic in C# can be written more explicitly in terms of the entities used, as follows. ``` bool IsDefaultVerbose(Nullable value) => !value.HasValue; ``` IL code: ``` .method private hidebysig instance bool IsDefaultVerbose(valuetype [System.Runtime]System.Nullable`1 'value') cil managed { .maxstack 8 ldarga.s 'value' call instance bool valuetype [System.Runtime]System.Nullable`1::get\_HasValue() ldc.i4.0 ceq ret } ``` Let's recap. * Nullable value types are implemented using the *Nullable* type; * *int?* is actually a constructed type of the unbound generic value type *Nullable*; * *int? a = null* is the initialization of an object of *Nullable* type with the default value, no *null* is actually present here; * *if (a == null)* — again, there is no *null*, there is a call of the *Nullable.HasValue* property. The source code of the *Nullable* type can be viewed, for example, on GitHub in the dotnet/runtime repository — a [direct link to the source code file](https://github.com/dotnet/runtime/blob/master/src/libraries/System.Private.CoreLib/src/System/Nullable.cs). There's not much code there, so check it out just for kicks. From there, you can learn (or recall) the following facts. For convenience, the *Nullable* type defines: * implicit conversion operator from *T* to *Nullable>;* * explicit conversion operator from *Nullable* to *T*. The main logic of work is implemented by two fields (and corresponding properties): * *T value* — the value itself, the wrapper over which is *Nullable*; * *bool hasValue* — the flag indicating "whether the wrapper contains a value". It's in quotation marks, since in fact *Nullable* always contains a value of type *T*. Now that we've refreshed our memory about nullable value types, let's see what's going on with the boxing. #### Nullable boxing Let me remind you that when boxing an object of a value type, a new object will be created on the heap. The following code snippet illustrates this behavior: ``` int aVal = 62; object obj1 = aVal; object obj2 = aVal; Console.WriteLine(Object.ReferenceEquals(obj1, obj2)); ``` The result of comparing references is expected to be *false*. It is due to 2 boxing operations and creating of 2 objects whose references were stored in *obj1* and *obj2* Now let's change *int* to *Nullable*. ``` Nullable aVal = 62; object obj1 = aVal; object obj2 = aVal; Console.WriteLine(Object.ReferenceEquals(obj1, obj2)); ``` The result is expectedly *false*. And now, instead of 62, we write the default value. ``` Nullable aVal = new Nullable(); object obj1 = aVal; object obj2 = aVal; Console.WriteLine(Object.ReferenceEquals(obj1, obj2)); ``` Aaand… the result is unexpectedly *true*. One might wonder that we have all the same 2 boxing operations, two created objects and references to two different objects, but the result is *true*! Yeah, it's probably sugar again, and something has changed at the IL code level! Let's see. Example N1. C# code: ``` int aVal = 62; object aObj = aVal; ``` IL code: ``` .locals init (int32 V_0, object V_1) // aVal = 62 ldc.i4.s 62 stloc.0 // aVal boxing ldloc.0 box [System.Runtime]System.Int32 // saving the received reference in aObj stloc.1 ``` Example N2. C# code: ``` Nullable aVal = 62; object aObj = aVal; ``` IL code: ``` .locals init (valuetype [System.Runtime]System.Nullable`1 V\_0, object V\_1) // aVal = new Nullablt(62) ldloca.s V\_0 ldc.i4.s 62 call instance void valuetype [System.Runtime]System.Nullable`1::.ctor(!0) // aVal boxing ldloc.0 box valuetype [System.Runtime]System.Nullable`1 // saving the received reference in aObj stloc.1 ``` Example N3. C# code: ``` Nullable aVal = new Nullable(); object aObj = aVal; ``` IL code: ``` .locals init (valuetype [System.Runtime]System.Nullable`1 V\_0, object V\_1) // aVal = new Nullable() ldloca.s V\_0 initobj valuetype [System.Runtime]System.Nullable`1 // aVal boxing ldloc.0 box valuetype [System.Runtime]System.Nullable`1 // saving the received reference in aObj stloc.1 ``` As we can see, in all cases boxing happens in the same way — values of local variables are pushed onto the evaluation stack (*ldloc* instruction). After that the boxing itself occurs by calling the *box* command, which specifies what type we will be boxing. Next we refer to [Common Language Infrastructure specification](https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-335.pdf), see the description of the *box* command, and find an interesting note regarding nullable types: If typeTok is a value type, the box instruction converts val to its boxed form.… *If it is a nullable type, this is done by inspecting val's HasValue property; if it is false, a null reference is pushed onto the stack; otherwise, the result of boxing val's Value property is pushed onto the stack.* This leads to several conclusions that dot the 'i': * the state of the *Nullable* object is taken into account (the *HasValue* flag we discussed earlier is checked). If *Nullable* does not contain a value (*HasValue* — *false*), the result of boxing is *null*; * if *Nullable* contains a value (*HasValue* - *true*), it is not a *Nullable* object that is boxed, but an instance of type *T* that is stored in the *value* field of type *Nullable>;* * specific logic for handling *Nullable* boxing is not implemented at the C# level or even at the IL level — it is implemented in the CLR. Let's go back to the examples with *Nullable* that we touched upon above. First: ``` Nullable aVal = 62; object obj1 = aVal; object obj2 = aVal; Console.WriteLine(Object.ReferenceEquals(obj1, obj2)); ``` The state of the instance before the boxing: * *T* -> *int*; * *value* -> *62*; * *hasValue* -> *true*. The value 62 is boxed twice. As we remember, in this case, instances of the *int* type are boxed, not *Nullable*. Then 2 new objects are created, and 2 references to different objects are obtained, the result of their comparing is *false*. Second: ``` Nullable aVal = new Nullable(); object obj1 = aVal; object obj2 = aVal; Console.WriteLine(Object.ReferenceEquals(obj1, obj2)); ``` The state of the instance before the boxing: * *T* -> *int*; * *value* -> *default* (in this case, *0* — a default value for *int*); * *hasValue* -> *false*. Since is *hasValue* is *false*, objects are not created. The boxing operation returns *null* which is stored in variables *obj1* and *obj2*. Comparing these values is expected to return *true*. In the original example, which was at the very beginning of the article, exactly the same thing happens: ``` static void NullableTest() { int? a = null; // default value of Nullable object aObj = a; // null int? b = new int?(); // default value of Nullable object bObj = b; // null Console.WriteLine(Object.ReferenceEquals(aObj, bObj)); // null == null } ``` For the sake of interest, let's look at the CoreCLR source code from the [dotnet/runtime](https://github.com/dotnet/runtime) repository mentioned earlier. We are interested in the file [object.cpp](https://github.com/dotnet/runtime/blob/master/src/coreclr/src/vm/object.cpp), specifically, the *Nullable::Bo*x method with the logic we need: ``` OBJECTREF Nullable::Box(void* srcPtr, MethodTable* nullableMT) { CONTRACTL { THROWS; GC_TRIGGERS; MODE_COOPERATIVE; } CONTRACTL_END; FAULT_NOT_FATAL(); // FIX_NOW: why do we need this? Nullable* src = (Nullable*) srcPtr; _ASSERTE(IsNullableType(nullableMT)); // We better have a concrete instantiation, // or our field offset asserts are not useful _ASSERTE(!nullableMT->ContainsGenericVariables()); if (!*src->HasValueAddr(nullableMT)) return NULL; OBJECTREF obj = 0; GCPROTECT_BEGININTERIOR (src); MethodTable* argMT = nullableMT->GetInstantiation()[0].AsMethodTable(); obj = argMT->Allocate(); CopyValueClass(obj->UnBox(), src->ValueAddr(nullableMT), argMT); GCPROTECT_END (); return obj; } ``` Here we have everything we discussed earlier. If we don't store the value, we return *NULL*: ``` if (!*src->HasValueAddr(nullableMT)) return NULL; ``` Otherwise we initiate the boxing: ``` OBJECTREF obj = 0; GCPROTECT_BEGININTERIOR (src); MethodTable* argMT = nullableMT->GetInstantiation()[0].AsMethodTable(); obj = argMT->Allocate(); CopyValueClass(obj->UnBox(), src->ValueAddr(nullableMT), argMT); ``` Conclusion ---------- You're welcome to show the example from the beginning of the article to your colleagues and friends just for kicks. Will they give the correct answer and justify it? If not, share this article with them. If they do it — well, kudos to them! I hope it was a small but exciting adventure. :) **P.S.** Someone might have a question: how did we happen to dig that deep in this topic? We were writing a new diagnostic rule in [PVS-Studio](https://www.viva64.com/en/pvs-studio/) related to *Object.ReferenceEquals* working with arguments, one of which is represented by a value type. Suddenly it turned out that with *Nullable* there is an unexpected subtlety in the behavior when boxing. We looked at the IL code — there was nothing special about the *box*. Checked out the CLI specification — and gotcha! The case promised to be rather exceptional and noteworthy, so here's the article right in front of you. **P.P.S.** By the way, recently, I have been spending more time on Twitter where I post some interesting code snippets and retweet some news in the .NET world and so on. Feel free to look through it and follow me if you want ([link to the profile](https://twitter.com/_SergVasiliev_)).
https://habr.com/ru/post/525816/
null
null
2,885
52.15
This page uses content from Wikipedia and is licensed under CC BY-SA. This is Wikipedia. You do not have to log in to edit, and almost anyone can edit almost any article at any given time. But be aware that the source of an edit is always publicly displayed; making edits with an artificially named Wikipedia account means your account's name will be linked to every edit. That means less freedom and less transparency. By contrast, an IP address allows editors more freedom to edit (and more protection from wikidrama). Wherever you are, whatever your device, if you make edits using your IP address, your transparency will be total: only the IP address you used will ever be displayed to anyone, even CheckUsers. Not creating an account is quicker, more completely free in resource costs, and more entirely non-intrusive, than creating an account. It is easier to join the community and share what you know, and especially easier to get more incisive feedback from registered editors. Each of us volunteers in different ways. Some Wikipedians make it a hobby, and others just like to have their IP addresses ready for those times when they notice possible improvements. Wikipedians can focus on content (e.g., we have volunteer journalists, editors, commentators), systems maintenance (e.g., anti-vandals, software developers), and much more (e.g., artists providing images through our Wikimedia Commons project, creators of guides to welcome and support new editors, projects in your local community, and much more (e.g., and much more)). So check out the summary of the benefits below, and give it a go! If necessary, log out now, and officially join Earth's Wikipedia project by editing from a naked IP address. As a general rule, unregistered users can do most things that registered users can. As current policy stands, unregistered users have the same rights as registered users to participate in the writing of Wikipedia. Unregistered users may edit articles, participate in talk page discussions, contribute to policy proposals and do some things that a registered user can do. There are, however, some specific actions where unregistered users require the assistance of registered users: as will be seen, this works out more for the protection of the unregistered user than for anyone else. Policy and guidelines affect all users, registered and unregistered, equally. Unregistered users may create talk pages in any talk namespace, including creation and submission of properly tagged userspace drafts, allowing sufficient process for all content creation needs: you can collaborate, share information about yourself, or just practice editing and publishing. You do not need to reveal your offline identity, but having a static IP, or a recognizable dynamic IP range, gives you a fixed Wikipedia identity that other users will take pains to recognize. You will have a static or dynamic user talk page you can use to communicate with other users. You will be notified whenever someone writes a message on your talk page. From there, you can also view a convenient list of all your contributions from your IP, and you can use the "top" marker within the contributions to monitor changes made to pages that interest you. You will get full credit for your contributions in the page history, which are assigned to your IP address. All users may send emails to other users who have openly disclosed their email addresses. All users may also query the site API in 500-record batches. Unregistered users are able to fully participate in deletion discussions, and have been since 2005. On the few occasions when decisions on Wikipedia are decided by democracy (e.g., request for adminship, elections to the arbitration committee) unregistered users may participate fully in the discussions without voting. (Rather than being evidence of the untrustworthiness of unregistered users, this is in fact because of the untrustworthiness of registered users. If unregistered users were allowed to vote, disreputable registered users could log out of their accounts to vote twice.) Registered users are often called "accounts". But in fact, because their IP addresses are hidden, you, the IP editor, are more "account"able! The only difference between you and registered contributors is that they are hiding behind usernames. But, unlike account-based editors, while you are unregistered: For a little bit more detail, read on. Or, beat account applicants to the punch and start editing a random article before they can say their passwords twice: be a raindrop in the ocean and contribute to the Wikipedia Project the way that you want to! If you create an account, you can only pick a username if it is available and unique. All edits you make while logged in will be assigned to that name. For the sake of "privacy", this creates an opaque barrier (a persona or mask) between the editor and the edits. Edits logged to an IP are disarmingly transparent and no IP edit can ever be accused of hiding an identity. In fact, IP editing not only edits without an artificial mask, it also tends to lead those editors who contribute toward a systemic anti-IP bias to drop their masks as well, treating IP edits more ruthlessly (and thus more honestly) than others. You actually remove your identifiability logged in, rather than when you are as an unregistered editor, owing to the hiding of your IP address. Various factors, including privacy and the possibility of offline harassment, affect selecting a username, and a misselected username that can be linked to a personal identity can never be retracted, while an IP address can never be linked to any more data than is publicly available at the time of the edit. Wikipedia welcomes contributions from unregistered editors. Editing under a static IP lets you build trust and respect through a history of good edits. Editing under a dynamic IP can also build reputation if a single IP talk page (e.g., the first IP used) becomes a repository for linking histories of other IPs used. When you share an IP with other Wikipedia edits you did not make, clearly distinguishing your own edits and disclaiming (or even reverting) problematic edits from others is a useful good-faith measure. Adding a link to the history repository, from other IP pages in a dynamic range and from your talk comments, is very helpful. It is easier to communicate and collaborate with an editor if we know who you are on Wikipedia. It is easier for veteran users to assume good faith from new users who take the effort to distinguish their edits and link their histories (and you may well become a veteran IP user yourself some day!). You may well be afforded a great deal less leeway if you do not go to the trouble of making these distinctions, but you will likely receive more leeway than a sockpuppeteer: linking multiple named accounts is a moral responsibility, but (because of their variability) linking multiple IPs is only a best-efforts recommendation. As your reputation builds, it is possible to earn privileges such as deference to your opinion and closer attention to your edit requests. It is not possible for a registered editor to make similar edit requests to semi-protected articles without an investigation of motives, because the registered editor has already asked for the responsibility to make the edit directly without ratification by others. If you log in, all your edits are publicly associated with your account name, and are internally associated with your IP address. See Wikipedia's "privacy" policy for more information on this practice. The privacy implications of this vary, depending on the nature of your Internet Service Provider, local laws and regulations, and the nature and quantity of your edits to Wikipedia. Be aware that Wikipedia technologies and policies may change. If you are not logged in, all your edits are, much more transparently, publicly associated with your IP address at the time of that edit. Shared IP addresses such as school and enterprise networks or proxy servers are frequently blocked for vandalism which, unfortunately, may also affect innocent editors on the same network. However, unregistered users in good standing can request existing blocks on their IP address be removed so that they can continue contributing to Wikipedia. If you are currently blocked from creating an account, we suggest you do one of the following:
https://readtiger.com/wkp/en/Wikipedia:Why_not_create_an_account%3F
CC-MAIN-2018-51
refinedweb
1,394
50.67
Functional Programming: A Paradigm Functional Programming: A Paradigm There are two main components that make up functional programming — pure functions and immutable values. Click here to learn more about the FP paradigm. Join the DZone community and get the full member experience.Join For Free It’s surprisingly hard to find a consistent definition of functional programming. But, I think you can define FP with just two simple statements: 1. FP is about writing software applications using only pure functions. 2. When writing FP code, you only use immutable values. Therefore, functional programming is a way of writing software applications using only pure functions and immutable values. Now, let further explore the two statements that we stated above. Pure Functions A pure function can be defined as: - The output of a pure function depends only on (a) its input parameters and (b) its internal algorithm, which is unlike an OOP method and can depend on other fields in the same class as the method. - A pure function has no side effects. five. - Here is an example of a pure function: def sum(firstNumber: Int, secondNumber): Int = { firstNumber + secondNumber } Immutable Values The best functional programming code is like algebra, and, in algebra, you never reuse variables. By avoiding the re-use of variables, we can get. val a = f(x) val b = g(a) val c = h(b) 1 val a = f(x) 2 val b = g(a) 3 val c = h(b) - two things — (a) exactly what’s going into each function and . def doSomething(): Unit { code here ... } It takes no input parameters and returns nothing. Therefore, there’s no way to guess from the signature what this method does. In contrast, because pure functions depend only on their input parameters to produce their output, their function signatures are extremely meaningful. - Parallel/concurrent programming is that you can easily add threads without ever giving conventional problems that plague concurrency applications a second thought. Disadvantages of Functional Programming There are a few disadvantages of FP as well, but don’t worry; there is a way around every problem. - Writing pure functions is easy, but combining them into a complete application is where things get hard: All of the functions follow the same pattern — (1) data in, (2) apply an algorithm (to transform the data), and (3) data outGluing pure functions to create a complete FP application is one of the biggest stumbling blocks you’ll encounter. But, there are solutions to this, but that is a topic for another day. - Advanced maths terminologies make FP intimidating: When you first hear terms like combinator, monoid, monad, and functor, you find these terminologies intimidating and that fear factor becomes a barrier to learning FP. - For many people, recursion doesn’t feel natural: For many programmers coming from, and it is definitely worth learning as it provides an amazing bunch of features, which we have discussed above. It is quite hard to decide the side to choose in the battle between FP and OOP, but we can surely say that FP certainly holds the upper hand when it comes to concurrency/parallelism, math, etc. I hope now you have a fair idea about FP and are ready to explore the world of functional programming paradigms. References - Learning FP in Scala By Alvin Alexander Published at DZone with permission of Ayush Hooda . 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/functional-programming-a-paradigm?fromrel=true
CC-MAIN-2020-05
refinedweb
582
51.99
iRenderLoopManager Struct ReferenceRender loop manager. More... [Renderloops & Rendersteps] #include <iengine/renderloop.h> Inheritance diagram for iRenderLoopManager: Detailed DescriptionRender loop manager. Use to create new loops and manage loop names. - Remarks: - It's not recommended to unregister the loop with the name of CS_DEFAULT_RENDERLOOP_NAME. Definition at line 79 of file renderloop.h. Member Function Documentation Create a new render loop. - Remarks: - This render loop is "unnamed". To name it, use Register(). Get the name asociated to the render loop. - Parameters: - - Returns: - Name of the loop. 0 if the loop isn't registered. Load a renderloop from VFS file. This file should be a renderloop XML file with <params> as the root. - Parameters: - Associate a name with a renderloop. One name is associated with one render loop. If you try to register a loop with a name that is already used, Register() will fail. - Parameters: - - Returns: - Whether the loop could be registered with the name. Fails if either the name is already used or the loop is already registered. Get the render loop associated with the name. - Parameters: - - Returns: - The render loop associated with the name, or 0 when no loop is registered with that name. Remove an association between a name and a render loop. - Parameters: - - Returns: - Whether the association was successfully removed. The documentation for this struct was generated from the following file: - iengine/renderloop.h Generated for Crystal Space 1.0.2 by doxygen 1.4.7
http://www.crystalspace3d.org/docs/online/api-1.0/structiRenderLoopManager.html
CC-MAIN-2014-41
refinedweb
238
54.18
Set Up Papervision 2.0 for Flex 3 in 3 Minutes Flat Sep 18 Technology 3d, actionscript, flex, papervision 25 Comments Anybody who knows me knows that I’m all about quick and dirty, get it done, up and running and worry about it later. I don’t like to waste time and I’m sure you don’t either. If you want to set up Papervision Great White for Flex fast, you’ve come to the right place. You got your timer ready? Here we go: - Create a new Flex project, called it FlexPapervision Base. Time elapsed: 20 seconds. - Drop the Papervision library into your libs folder. You can download the Papervision library at the Google Code repository, but that’s too messy and going to take too much time. I’ve taken the liberty of downloading it and compiling it into an easy to consume swc right here. Time elapsed: 15 seconds. [If you are using Eclipse, create a libs folder in your project. You'll also need to add the libs folder to your build path - Go to Project -> Properties -> Flex Build Path -> Library Path, and add the libs folder] - Assuming you have some Flex basics and Papervision basics, here’s the essential code:// these 3 lines are key to putting Papervision in Flex var uicomp:UIComponent = new UIComponent(); canvasPv3D.addChild( uicomp ); uicomp.addChild( viewport ); canvasPv3D is just a regular Flex Canvas. You add a Papervision viewport to a UIComponent which can then be added to a Flex Canvas. That’s it. Here’s the complete FlexPapervisionBase.mxml file<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns: <mx:Script> <![CDATA[ import mx.core.UIComponent; import org.papervision3d.cameras.Camera3D; import org.papervision3d.render.BasicRenderEngine; import org.papervision3d.objects.DisplayObject3D; import org.papervision3d.scenes.Scene3D; import org.papervision3d.view.Viewport3D; import org.papervision3d.materials.ColorMaterial; import org.papervision3d.objects.primitives.Plane; private var renderer:BasicRenderEngine = new BasicRenderEngine(); private var scene:Scene3D = new Scene3D(); private var camera:Camera3D = new Camera3D; private var viewport:Viewport3D; private var plane:Plane; private var angle:int = 0; protected function onInit( event:Event ) : void { viewport = new Viewport3D(canvasPv3D.width, canvasPv3D.height, true, true); // these 3 lines are key to putting Papervision in Flex var uicomp:UIComponent = new UIComponent(); canvasPv3D.addChild( uicomp ); uicomp.addChild( viewport ); camera.z = -500; var mat:ColorMaterial = new ColorMaterial(); mat.doubleSided = true; plane = new Plane(mat, 200, 200, 4, 4); scene.addChild(plane); // update the scene every frame canvasPv3D.addEventListener(Event.ENTER_FRAME,onEnterFrame); } private function onEnterFrame( event : Event ):void { angle = angle+=1%360; plane.rotationY = angle; // render the scene on every frame renderer.renderScene(scene,camera,viewport); } ]]> </mx:Script> <mx:Canvas </mx:Application> All this project does is put a 3D plane in the scene and rotates it 1 degree every frame. Time to read this bullet point and copy paste this piece of code into your project: 40 seconds. If you’re feeling super lazy and can’t even be bothered to create a project of your own, here’s the project: FlexPapervisionBase.zip This is what the end product looks like: Your welcome. Related posts: Oct 15, 2008 @ 00:00:54 Thanks a lot for this. I was trying to set up something simple in “flash develop”, but could not make it work. Now having this in Flex is a good starting point for me to try and crasp the concept. Kind regards, Robert Oct 16, 2008 @ 20:01:39 Hey Robert. I’m glad this was useful to someone. Good luck with Papervision3D. Also, look into Away3D as well. Setting it up in Flex is pretty much the same. Nov 08, 2008 @ 08:47:18 Thanks a lot! I was trying to put pv3D working into Flex last night.. i wish i read your post 10 hours ago haha Dec 10, 2008 @ 21:18:56 You are awesome. thank you. In addition to being lazy and ignorant, I am cheap, so am compiling using just the sdk (plus, using linux so why not try for fully free anyway). luckily, with your zip file it’s super easy, just add the papervision sources to the directory with the .mxml file and run your build file. charms. so awesome, thanks again. Dec 10, 2008 @ 21:22:24 Glad it was helpful. Did you do it in under 3 minutes? Dec 10, 2008 @ 21:32:12 ha, that depends… slow reader… so it probably took me 3 minutes to read up to “if you’re super lazy”, at which point I realized that I needed to give this a try. after than, under 3 minutes for sure! I’ve bashed my head on trying to do this with just the sdk, and what has been frustrating is (in addition to the paucity of non-.fla examples) wading through overly complex set-ups. there are some good tutorials that work, but for a beginner this is a perfect starting point upon which to “build by doing”. Dec 15, 2008 @ 23:42:11 The first example which worked for me, thx a lot! But I have one question: How do I add a UIComponent, let’s say a TextField or a HBox, to the whole 3D scene (or plane, I don’t know where to add), so that it appears on the plane, or, what would even be better, it appears instead of the plane. Dec 15, 2008 @ 23:59:36 Hmm, it’s a great question. That’s a good topic for a possible next tutorial. Dec 16, 2008 @ 00:22:23 yep, looking for something like this since yesterday now ^^ Dec 16, 2008 @ 01:19:47 finally I figured something out based on your code here, I will post an example as soon as I debugged it. Dec 16, 2008 @ 05:34:37 Here is a very simple example. I’ve tried to add some more functionality (like adding a HBox and then adding a Button to the box in runtime), but couldn’t get them to work properly yet. Dec 16, 2008 @ 10:13:43 Nicely done Sheik. My first question after reading this post was “Where do I go from here?” You’ve answered it. Mar 13, 2009 @ 02:20:59 Hi, Pek! Good job! I tried to set the position of the purple square to the top left of the application window but didn’t succeed. Any ideas? Mar 25, 2009 @ 23:11:20 Hi mozz, There are many ways to do it. You can either move the camera by setting its coordinates (x, y, z), you can move the plane by setting its coordinates, or you can specify the size of the canvas and position that canvas wherever you want. Apr 18, 2009 @ 13:01:14 Hi, i’ve got a question, that i couldn’t answer, since i’m new to Flex even though i searched around for couple weeks. is it possible to instantiate the papervision code from an external file, meaning not in the ? i think it’s not elegant to put the logic programming code in the middle of the block just below the MXML code. I would like to use a this mxml code as a base, and depending on the class i instantiate, have different papervision projects open. Is there anyway to do this? Thanks, Andre Apr 18, 2009 @ 21:00:38 Hi Andre You can absolutely instantiate papervision code from an external file not in an MXML. You can create different MXML components (each w/ their own papervision scenes/models that the main MXML loads or have separate Papervision classes that the main MXML instantiates depending on parameters. P May 26, 2009 @ 02:05:37 nice sample. Its actually 1min. if you used the zip Jun 10, 2009 @ 06:33:12 Hellooo ! I’m working with augmented reality and i want to create a plane with a movie but i have a problem. could it be possible to send you the code? Aug 10, 2009 @ 07:55:26 Thanks bro – good tut. Sep 25, 2009 @ 07:04:29 Bloody marvelous! Getting PV3D running has been driving me to the edge of sanity for the past 48hrs – thank-you one thousand times thank-you – Huzzah! Oct 15, 2009 @ 04:15:06 Thanks ; I was using a book ‘papervision essentials’ but it has errors in the downloaded examples . With your help I am good to go, very good of you to help us. Feb 11, 2010 @ 16:19:27 <30secs. I wish there were more like you around, I truly do. Jul 29, 2012 @ 07:08:16 thank u very much!
http://blog.pekpongpaet.com/2008/09/18/set-up-papervision-20-for-flex-3-in-3-minutes-flat/
CC-MAIN-2017-22
refinedweb
1,431
66.23
Online Text: Click on Sign in: UN: PW: Knights1 - Geoffrey Barton - 1 years ago - Views: Transcription 1 Teacher: Mrs. Barcus 6 th Grade Period 3 Earth Science Syllabus Phone: EXT: Class Website: Click Contact Us Click Teacher & Staff Webpages Click Bernini Team Click Mrs. Barcus Online Text: Click on Sign in: UN: PW: Knights1 1. Nature of Science: Safety, Tools, Scientific Method, Variables 2. Earth s Structure: 6 th Grade Earth Science Topics Parts of the Earth, Rocks and Minerals, Plate Tectonics, Geological Activity from Plate Tectonics 3. Earth s Surface: Weathering and Soil, Erosion and Deposition 4. Water and Atmosphere: Water on Earth, the Atmosphere, Weather, Climate 5. Astronomy and Space Science: The sky from Earth, Earth in Space, Gravity and Motion, The Solar System, The Expanding Universe 2 Class Responsibilities 1. Be on time and prepared for class with your materials every day. Materials: Agenda, Notebook, Blue Folder, Sharpened Pencil, Text Book, Red Pen, Highlighter 2. Raise your hand before you speak and listen while others are speaking. 3. Observe all safety precautions at all times, failure to do so will result in immediate removal from the classroom. 4. Write all homework, tests and quizzes in your agenda. This is an expectation for 6 th grade. Agendas will not be signed by teachers it is your job to make sure all homework is complete for the next class. 5. Clean up after yourself and leave your area as neat and organized as it was when you arrived. 6. ALWAYS TRY YOUR BEST AND BE RESPECTFUL OF OTHERS Grade Breakdown for Science Category Work that is included % of total grade Do Now, Notebook Checks, Labs, Text Questions, Classwork Current Events, Projects, Make Up Work, and Class 40% Participation Assessments Quizzes, Tests, Performance Tasks, Learning Checks 60% Quizzes and Tests Quizzes will be given after each lesson taught, this is done to check for understanding and improve instruction. All quiz dates will be written in your agenda two days prior to the quiz. Tests will be given at the end of each chapter. Study guides will be sent home at least 1 week before the test. All test scores under 70% must be signed by a parent and returned to Mrs. Barcus. Quiz and test dates for the week are also listed on Mrs. Barcus website at 3 NEW FOR 6 GRADE!!!!! Quiz and Test Retests Opportunities Everyone has an off day now and then when we are not performing at our best! Because of this, you have the opportunity to request up to 3 retests or re-quizzes each trimester. My requirements are: Your original score must be below an 80% on the test or quiz. You must thoughtfully fill out a request to retest form including a parent signature so that they are aware you will be retaking your assessment You must staple the request to your original assessment and turn it into me during our next class. I will then assign a date for review (if requested) and assign your retest day as well so that you can better prepare. Homework Homework is rarely given in science, the exceptions include: Make up work if absent Studying for tests and quizzes. Enrichment projects that are assigned each trimester. Late enrichment projects will be accepted for half credit until the close of the trimester. You will receive a description and grading rubric for each project at least one month before the listed due date. These grades will be added to your classwork % for science. Due Dates for Enrichment Projects (Subject to Change) Trimester 1: Egg Drop Due: October 10, 2016 Trimester 2: RA Science Fair Project Due: January 17, 2017 Trimester 3: STEM Bag Challenge Due: May 15, 2017 Classwork and Participation Each trimester you will receive a class participation grade which will be a part of your classwork grade. During SLC s which take place during the middle of the trimester, I will use the attached class participation rubric to show your strengths and weaknesses so that you have the opportunity to improve or maintain your class participation grade before the trimester is over. This rubric is also the one I will use to determine your final class participation grade for the trimester. 4 CLASS PARTICIPATION RUBRIC = 15 POINTS TOTAL Category Description Score Participation 3-Consistent participation throughout the entire class. 2-Some participation throughout class on most days. 0/1-Rare participation throughout class on a daily basis. Attitude/ Effort Active Learning Cooperative Partnerships Prepared for Class 3-Comes into class each day with a positive attitude, works hard, shows consistent effort, and works up to their potential. 2-Comes into class on some days with a positive attitude, sometimes works hard and shows effort occasionally. 0/1-Comes into class with a negative attitude on most days, does not work to potential, and shows little effort. 3-Comes into class each day ready to learn! Always tracking the teacher, follows directions, and shows appropriate learning posture. 2-Sometimes comes into class ready to learn. Sometimes tracks the teacher, follows directions, and shows appropriate learning posture. 0/1-Rarely comes into class ready to learn. Rarely tracks the teacher, rarely follows directions, and does not show appropriate learning posture. 3-Works very well with partners and in groups. Offers help and shares insightful ideas when working with others. 2-Sometimes works well with partners and in groups. Completes the assigned task with their partner(s), but does not always coach or help their partner(s). 0/1-Struggles to work well with partners or in groups. Does not always complete the assigned task or follow directions. 3-Comes in with the proper learning materials for class every day. 2-Sometimes comes in with the proper learning materials for class. 0/1-Rarely comes in with the proper learning materials for class. 5 1 st Homework Assignment: Worth 6pts Due 9/9/16 1. Review your science syllabus with your family. 2. Attempt to log on to Mrs. Barcus webpage 3. Attempt to log on to your online science text 4. Fill out information below for Mrs. Barcus reference 5. Both you and your parent/guardian sign this form and return (only this sheet) to Mrs. Barcus on Thursday September 8th. 6. Return the remainder of your syllabus to your BLUE science folder to reference throughout the year. Parents/Guardians: Please circle all that apply: I have access to the internet, printer, neither at home. The best way to reach me is by , home phone, or cell phone. My preferred to contact me is My preferred phone contact is *I acknowledge that I have read and reviewed the 5 th grade science syllabus with my parent/child. I understand that the information contained in this syllabus is also available on Mrs. Barcus webpage to be accessed at any time online. Student Signature: Parent Signature: Additional Comments for Mrs. Barcus: 6 Psychology Course Syllabus 2014-2015 Semester II Psychology Course Syllabus 2014-2015 Semester II Class: Psychology Room: 2313 Teacher: Mr. Olson Prep Period: 7 Class Website: Welcome to Psychology, the study of human behavior and INTRODUCTION TO BUSINESS INTRODUCTION TO BUSINESS (Intro to Business) Mrs. L. Johnson Planning: 3rd period E-mail: Lisha.Johnson@highlineschools.org COURSE DESCRIPTION Introduction to Business will introduce you to the role and Algebra 1 Mr. LaCaille Course Objectives: All high school students must pass Algebra 1 in order to graduate from high school. The Algebra 1 curriculum is the standard on which the California High School Exit Exam is based. Algebra Ms. Ratkoff Biology, 2015 Ms. Ratkoff Biology, 2015 Room B118 August 24, 2015 Dear Students, Parents and/or Guardians, Greetings! My name is Ms. Jaime Ratkoff; I am Duke Ellington s Physics and Biology teacher this year, and I Web Design Syllabus. Mr. Calabrese. Room 320. Email: Matthew.Calabrese@wattsburg.org Phone: 814-824-3400 x5550 Web Design Syllabus Mr. Calabrese Room 320 Email: Matthew.Calabrese@wattsburg.org Phone: 814-824-3400 x5550 Course Description/Objectives: Students will be instructed on web design applications on a PC WEB-BASED LESSON PLAN ED 101 Educational Technology Lab - Fall 2010 Boston University School of Education WEB-BASED LESSON PLAN Requirement Your Answer Grade LESSON BASICS (21 pts.) Your Name Victoria Bado ED 101 Lab Section Geology 12 Syllabus House, Fall 2010 INSTRUCTOR INFORMATION Dr. Martha House; Office E210B; Office hours posted at office; Voice (626) 585-7026; Email mahouse@pasadena.edu REQUIRED MATERIALS: Textbook Essentials of Oceanography (Thurman and Curriculum Map Earth Science - High School September Science is a format process to use Use instruments to measure Measurement labs - mass, volume, to observe, classify, and analyze the observable properties. density environment. Use lab equipment GREENSPUN JUNIOR HIGH SCHOOL TEACHER COURSE EXPECTATION SHEET GREENSPUN JUNIOR HIGH SCHOOL TEACHER COURSE EXPECTATION SHEET Teacher: Joie Bloom Course Title: English 6 Course Number: 0210 Course Scope: Course Goals: This one-year course provides instruction in the GEOL 101: Introduction to Geology GEOL 101: Introduction to Geology Course Overview Welcome to GEOL 101: Introduction to Geology! I'm Carrie Bartek, and I'll be your instructor for the course. In this course you will learn about the processes MAKING FRIENDS WITH MATH MAKING FRIENDS WITH MATH Workshop sponsored by: The Dr. Mack Gipson, Jr., Tutorial and Enrichment Center Presented by: Carole Overton, Director The Dr. Mack Gipson, Jr., Tutorial and Enrichment Center Business & Technology Education Syllabus Business & Technology Education Syllabus Sylvester Middle School, Room # 400 Class Information Web Site: (This site includes all class information and Modules/Projects) Geology 110 Sect.1 Syllabus; Fall, 2015. GEOL110 Section 3 (3 credits) Fall, 2015 Physical Geology Geology 110 Sect.1 Syllabus; Fall, 2015 GEOL110 Section 3 (3 credits) Fall, 2015 Physical Geology Dr. Scott Werts Office: Sims 212A Course Classroom: Sims 201 Meeting Time: TTh 12:30-1:45 Email: wertss@winthrop.edu COURSE REQUIREMENTS AND EXPECTATIONS Mrs. Schneck Culinary Arts I jschneck@westex.org COURSE REQUIREMENTS AND EXPECTATIONS 1. Each student is expected to arrive to class on time. When the bell rings, you are expected to be seated and quiet. COURSE SYLLABUS -- 6TH GRADE MATH Kellye Voigt kellye.voigt@palmettoscholarsacademy.org Concepts & Processes COURSE SYLLABUS -- 6TH GRADE MATH Sixth grade math will create a firm foundation of pre-algebra skills and concepts that are necessary Interpretation of Data (IOD) Score Range These Standards describe what students who score in specific score ranges on the Science Test of ACT Explore, ACT Plan, and the ACT college readiness assessment are likely to know and be able to do. 13. Course Syllabus GEOL 10 Fall 2015. Geology 10-A1: Introduction to Geology F 0900 1150; D-222; Schedule #43906 Geology 10-A1: Introduction to Geology F 0900 1150; D-222; Schedule #43906 Instructor: Zachary Lauffenburger Office: D-220 Email: zlauffenburger@peralta.edu Office hours: F 1200 1300 or by appointment Developmental Psychology Course Syllabus Developmental Psychology Course Syllabus Teacher: Lisa Bernstein Course Description : Psychology is designed to introduce students to the systematic and scientific study of the behavior and mental processes) Phone: (301) 434-4700 x 736 Instructor: Email : Hilary E. Daly hdaly@ta.edu Phone: (301) 434-4700 x 736 AP Environmental Science Syllabus Course Overview Course Requirements Lesson Topics Grading Procedures Course Overview Textbook REQUIRED MATERIALS: I. COURSE OVERVIEW AND OUTLINE: Ms. Lockhart Phone Number (360) 874-5679 Room 202B ADVANCED PHOTOGRAPHY SYLLABUS COURSE DESCRIPTION: Builds upon skills learned in Introduction to Photography, includes camera techniques, photo analysis, ACCOUNTING I. Course Overview. Instructors: Mrs. Truax ACCOUNTING I Course Overview Instructors: Mrs. Truax COURSE DESCRIPTION: This course develops accounting concepts and accounting procedures for both vocational and personal use. Recording journal information College Prep. Geometry Course Syllabus College Prep. Geometry Course Syllabus Mr. Chris Noll Turner Ashby High School - Room 211 Email: cnoll@rockingham.k12.va.us Website: School Phone: 828-2008 Text: AS101 - The Solar System (Section A1) - Spring 2013 AS101 - The Solar System (Section A1) - Spring 2013 Class Hours: Monday, Wednesday, and Friday; 10:00 am - 11:00 am, room CAS 522. Class Dates: Wednesday 16 January - Wednesday 01 May. Final Exam: Tuesday VIDEO GAME DESIGN SYLLABUS Spring 2014 Semester VIDEO GAME DESIGN SYLLABUS Spring 2014 Semester Course Description: Love playing video games? Do you have an idea for the next great game? In Video Game design you ll learn the basics of computer programming Example Routines & Procedures (Elementary) Movement into the Classroom Example Routines & Procedures (Elementary) 1. Students assemble in designated area. 2. Teacher greets students. 3. Students and teacher walk to classroom. 4. OUTSIDE classroom, Lesson 5: The Rock Cycle: Making the Connection Target Grade or Age Level Sixth grade science Lesson 5: The Rock Cycle: Making the Connection Scientific Processes Addressed Defining operationally, formulating and testing hypotheses, constructing models ENV-115 General Geology ENV-115 General Geology Instructor : Dr. Marty Becker e-mail: beckerm2@wpunj.edu Office : Science Hall-450 Phone Ex: 3409 Office Hours: Tuesday and Thursday 8:00AM-9:30AM or by arrangement. Text : Essentials Example Routines & Procedures (Secondary) Movement into the Classroom Example Routines & Procedures (Secondary) 1. Before the bell rings, the teacher opens the door and stands in doorway. 2. Teacher greets students as they arrive. 3. When the Cabot School... transforming education for 21st century learners Cabot School... transforming education for 21st century learners William P. Tobin Mathematics Teacher (802) 563-2289 ext. 235 Email: btobin@cabotschool.org Cabot School Math Website: Creating and Using Automated Dashboards for Teachers. June 10, 2014 Creating and Using Automated Dashboards for Teachers June 10, 2014 Agenda Introduction to Dashboards Automation Process Demonstration 4 steps: 1. Design a dashboard 2. Create Word Template with Bookmarks Life Skills Classes (Culinary Arts, Essential Skills) Life Skills Classes (Culinary Arts, Essential Skills) Teacher Information Name: Mr. Brent Mosley Phone: 780-4711 Ext. 8420 Email: mosleyb@monashores.net (Parents and students are welcome to contact me How To Study Mathematics Using My Math Lab. Preparing for Class. Using the Class Notebook How To Study Mathematics Using My Math Lab Preparing for Class Read and review the appropriate material before class Come to class prepared. 1. Know which homework problems you have questions about and The First Days of School: Lesson 42 How What to Is Teach Classroom Procedures Management? Correlation to The First Days of School This course is based on the information from our book, The First Days of School. You should have Topic/Activities Duration :Fall Semester TEACHER NAME: Greer Martin ROOM: East Hall 1322 Hybrid AP Environmental Science FORSYTH COUNTY COURSE SYLLABUS 2015-2016 COURSE TITLE: Hybrid AP Environmental Science E-MAIL: gmartin@forsyth.k12.ga.us Introduction to Psychology Psych 100 Online Syllabus Fall 2014 Introduction to Psychology Psych 100 Online Syllabus Fall 2014 Contact Information Professor: Dr. Deborah Maher Office: C&L (Classrooms and Labs) 119 Office phone #: (714) 432-0202, x21190 (best to email: Evaluation Criteria Practice Preparation 30% Performance Recitals 30% Technique/Theory 25% Quarterly Project 15% Course Syllabus Course Description Class piano is designed to teach the concepts and fundamentals needed to perform on the piano. It will increase musical understanding beyond just reading notes by teaching Where is all the freshwater on Earth? Where is all the freshwater on Earth? Subject/ target grade: Middle School (8 th grade) Earth Science Duration: Three 50 minute period Setting: Classroom and computer lab Materials and Equipment Needed: eschoolplus Users Guide Teacher Access Center 2.1 eschoolplus Users Guide Teacher Access Center 2.1. i Table of Contents Introduction to Teacher Access Center... 1 Logging in to Teacher Access Center (TAC)...1 Your My Home Page... 2 My Classes...3 News...4 Granite Oaks Middle School Granite Oaks Middle School Señorita Moss Foreign Language Department Room: B5 Office Hours: by appointment; before & after school (916) 315-9009 Ext. 3205 cmoss@rocklin.k12.ca.us Welcome to Granite Oaks Earth Science 102 Introduction to Physical Geology Fall 2015 Online Parkland College Earth Science Courses Natural Sciences Courses 2015 Earth Science 102 Introduction to Physical Geology Fall 2015 Online Julie Angel Parkland College, jangel@parkland.edu Recommended Citation Science I Classroom Guide SkillsTutor Science I Classroom Guide Table of Contents Getting Started... 1 Science I Lessons... 2 Quizzes...2 Tests...2 Science I Lesson Summaries... 3 Life Science...4 Physical Science...6 Earth Science...8 Sports Marketing Syllabus Syllabus Course Description: This course is designed to study marketing principles and concepts in the sports and entertainment industry. Instructional areas will include: An orientation to the sports. Introduction. Premise and Hypothesis. Methodology Sustained Teacher/Parent Communication, and Student Achievement Kevin O. Cox 6 th Grade Social Studies (US History) Teacher Gunston Middle School Arlington County (VA) Public Schools Submitted June 2002 AP Environmental Science Syllabus Course Overview The following AP Environmental Science Syllabus will comply with all of the requirements and specifications provided by College Board aimed at preparing students for the AP exam given in Advanced Business English I - Honors Class Advanced Business English I - Honors Class Advanced Business English I is for second-year students in the economics course. Its overall purpose is to raise the ability of students in all four basic English Exploring Minerals. Targeted Objective: Identify properties of minerals and be able to identify certain minerals using specific tests. Exploring Minerals Grade Level: 3-4 Purpose and Goals: This lesson begins by guiding students to the connection between differences in rocks and the presences of minerals in the rocks. The differences HOSPITALITY PROFESSIONAL COURSE (HPC) Course Overview and Syllabus HOSPITALITY PROFESSIONAL COURSE (HPC) Course Overview and Syllabus Overview The Hospitality Professional Course (HPC) consists of a series of self-paced online seminars and activities that have been created Statistics. 268 2016 The College Board. Visit the College Board on the Web:. Statistics AP Statistics Exam Regularly Scheduled Exam Date: Thursday afternoon, May 12, 2016 Late-Testing Exam Date: Wednesday morning, May 18, 2016 Section I Total Time: 1 hr. 30 min. Section II Total COURSE SYLLABUS FOR THE AUTOMOTIVE TECHNOLOGY TRAINING PROGRAM MILLER CAREER & TECHNOLOGY CENTER COURSE SYLLABUS FOR THE AUTOMOTIVE TECHNOLOGY TRAINING PROGRAM MILLER CAREER & TECHNOLOGY CENTER OBJECTIVE: This course of study provides training for students interested in the automotive technician field. GEOL 10000 Introduction to Geology Classroom: 714 HW Mondays and Thursdays 9:45 AM to 11:00 AM. Fall 2015 GEOL 10000 Introduction to Geology Classroom: 714 HW Mondays and Thursdays 9:45 AM to 11:00 AM Fall 2015 Instructor: Randye Rutberg Office location: Hunter North room 1041 (10 th floor) Email (preferred AP PSYCHOLOGY. Grades: 85% - Quizzes, tests, projects, journal entries, homework, activities in class 15% - Semester exam AP PSYCHOLOGY Mr. Kean ROOM # B-304 and OFFICE #A311 Office hours: 7th or 8 th or by appointment ckean@dist113.org 224-765-2294 Web site: Welcome to Basics of Student Project Management (BSPM) High- Level Course Syllabus Basics of Student Project Management (BSPM) High- Level Course Syllabus TEA PEIMS Course Number: TEA CTE Cluster: Course Credit: Course Length: Course Creator & Administrator: N1270151 CTE Innovative Course ADVANCED PLACEMENT WORLD HISTORY COURSE SYLLABUS 2013-2014 ADVANCED PLACEMENT WORLD HISTORY COURSE SYLLABUS 2013-2014 Mr. MARK ANDERSON andersonam@fultonschools.org NATIONAL AP EXAM: THURSDAY MAY 15, 2014 Course Description Advanced Placement World History is A Correlation of Environmental Science Your World, Your Turn 2011 A Correlation of Your World, Your Turn 2011 To Ohio s New Learning Standards for Science, 2011, High School Science Inquiry and Application Course Content INTRODUCTION This document demonstrates how Pearson, Online Geosystems Syllabus. Part 1: Course Information. Instructor Information. Course Description. Textbook & Course Materials. Course Requirements FCPS - Online Campus Part 1: Course Information Instructor Information Instructor: TBD Office: Location Office Hours: TBD Office Telephone: TBD E-mail: TBD Course Description Geosystems uses the
http://docplayer.net/27035750-Online-text-click-on-sign-in-un-pw-knights1.html
CC-MAIN-2018-43
refinedweb
3,279
54.83
A delegate person is someone who represent an organization or set of people. In C# world a delegate is a reference type variable that represent one or set of methods by holding there reference. Note: The reference can be changed at runtime. So let’s first understand what it meant. Let’s have a class called BasicMaths having two methods Add and Subtract, which performs addition and subtraction of two numbers respectively. public class BasicMaths { public static double Add (double value1, double value2) { return value1 + value2; } public static double Subtract (double value1, double value2) { return value1 - value2; } } The first point one should keep in mind that a Delegate is type safe which means it can only hold reference of methods which have the same numbers of parameters, types and return type, which mean in our case as both methods have two parameters, both of type double and the return type is also same i.e. Double, hence it be referenced by a Delegate that has same skeleton, let’s declare our Delegate. public delegate double MathDelegate (double value1, double value2); Note: it looks similar to the methods Add and Subtract, let’s have a closer look. Now let’s concentrate on how to invoke a delegate. In order to do so first we need to create an instance of the delegate and register method to it, it can be at the time of instantiating the delegate as shown below: public class MathTest { public delegate double MathDelegate (double value1, double value2); public static void Main() { MathDelegate mathDelegate = new MathDelegate(BasicMaths.Add); var result = mathDelegate(5, 2); Console.WriteLine(result); // output: 7 MathDelegate anotherMathDelegate = new MathDelegate(BasicMaths.Subtract); result = anotherMathDelegate(5, 2); Console.WriteLine(result); // output: 3 } } Multicasting of a Delegate We can create an invocation list of methods which can be called when a delegate is invoked, this is called multicasting of a delegate. In order to do so we need to be aware of role of + and – operator. The + operator helps in adding items (method reference) to the delegate invocation list while the minus operator helps in removing items from the invocation list. Let’s see how it works: public class Test { public delegate double MathDelegate (double value1, double value2); public static void Main() { MathDelegate mathDelegate = new MathDelegate(BasicMaths.Add); mathDelegate += BasicMaths.Subtract; // now when mathDelegate is invoked it calls both the method BasicMaths.Add and BasicMaths. Subtract. // if we wants BasicMaths.Add to be removed from invocation list we can do // mathDelegate -= BasicMaths. Add // so that next time when the delegate is invoke it only calls BasicMaths.Subtract } } Note: - The sequence in which the methods are called are same in which they are added in the invocation list. - It’s not necessary that delegates only hold a reference to static methods. Usage of Delegates Let’s have a closer look into real time usage of delegates. Suppose we want to have a situation when a user wants to print an item it gets printed on more than one place for the sake of simplicity, let’s assume the results to be printed on console application as well as a flat file. This can be done as, at each time when you want to print either call methods to print on console as well as writing on flat file individually or you can create a delegate which holds reference to these methods and just invoke the delegate when you want to print, we are going to do it in the second way using delegates. public class ConsolePrinting { public void WriteToConsole(int number) { Console.WriteLine("The number is - {0}", number); } } public class FilePrinting { public void PrintIntoFile(int number) { using (var fileStream = new FileStream(@"c:\demo\file.txt", FileMode.Append, FileAccess.Write)) { using (var streamWriter = new StreamWriter(fileStream)) { streamWriter.WriteLine("The number is - {0}", number); } } } } public class MulticastDeletage { public delegate void Printing(int number); public static void Main() { var filePrinting = new FilePrinting(); var consolePrinting = new ConsolePrinting(); var printing = new Printing(filePrinting.PrintIntoFile); printing += consolePrinting.WriteToConsole; for (int i = 1; i < 11; i++) { if (i % 2 == 0) { printing(i); } } } } Really nice article. Exactly matching to the title of article. Keep posting in the community with these titles. Pingback: [BLOCKED BY STBV] Back to Basic – Events in C# Thanks Manish, please check the new post on events Pingback: [BLOCKED BY STBV] Code Contracts - The Daily Six Pack: May 8, 2015 I think there is a mistake in the code of Multicasting of a delegate. Instead of: // if we wants BasicMaths.Add to be removed from invocation list we can do // mathDelegate += BasicMaths. Add Should be: // mathDelegate -= BasicMaths. Add If you want to remove it, you should use a minus. Thanks Christoph for finding out the typo. I have updated the post. Thanks for the easy to understand examples!
https://dailydotnettips.com/back-to-basic-delegate-in-c/
CC-MAIN-2018-30
refinedweb
794
54.22
Hey all. I am in the process of converting a pretty big 1.1 project to 2.0 and I have a couple of questions; 1. The original code uses controls as resources (build action: embedded resources) and they are loading the xaml from the Manifest Resource Stream to initiate the controls. That does still work, however it doesn't work on nested controls. ie: can of course fix these things with workaround but it's a project with 100+ controls and I would to not have to rebuild them all. So if anyone know to fix either one of the two please let me know. Cheers, -Thomas- bratta. That's interesting. Can you send your sample to me? My id is mchlsync AT gmail.com. I would like to take a look and will get back to you if I found the solution. bratta tried as below. It works for me. (If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)Best Regards,Michael SyncMicrosoft WPF & Silverlight InsiderBlog : Hey.Thanks for your quick reply. I will give the namespace thing another try. It's 5am and I am getting quite tired so that might be why ;) I sent you an example on the nesting resources problem.Thanks, Re 2: You are right. That does seems to work the way you explained. However my problem is that I have my baseclasses in another namespace (in this case another assembly as well, but it doesn't matter, it errors as soon as you specify namespace). So it's something like this: < Hi, I received your mail and also replied to you. It might be something wrong with your project. I have tested with new porject. It's working fine. You can download the sample from this link. Hey again. Yes, nesting usercontrols works fine, which is what I am doing now (just annoying having to change all the current controls). The problem arises when they are controls with a build action of "embedded resources" and you use the InitializeFromXaml to load in the XAML (please see the example I sent you). I have made all the controls that had custom controls inside them to usercontrols to make this work. Only real problem I have now is the second one, having to manually update all the *g.cs files everytime I change a xaml file or if I do a rebuild.... oh. I though you are having the problem with nested controls. bratta:Only real problem I have now is the second one, having to manually update all the *g.cs files everytime I change a xaml file or if I do a rebuild.... You mean, you can't use like that? <MyUserControlBase x: <Canvas Width="400" Height="300" Background="Red"> </Canvas></MyUserControlBase> Yes I can. But that limits me to use a class in the same namespace as the control. Since I have loads of controls they are divided in different namespaces and I have one class in another namespace that I want to use as the baseclass. In WPF that works by referencing the namespace with an xmlns. Example (app is called SilverlightApplication2): BaseClass:namespace SilverlightApplication2.AnotherNameSpace{ public class Class1: UserControl {}} So it seems the application load component doesn't support that xaml syntax.Any ideas?Thanks, Hi. If you want to use "{yourUserControl}.g.cs" for automatic binding xaml object, I don't know how it's possible. But if you want to port a 1.1 project to 2.0, there is a simple way. Try this. 1. xaml file's BuildAction must be changed 'SilverlightPage'(or 'EmbededResource') to 'Resource'. 2. in 1.1, System.IO.Stream s = this.GetType().Assembly.GetManifestResourceStream("{xaml file's path in 1.1 Style}"); _root = (Canvas)this.InitializeFromXaml(new System.IO.StreamReader(s).ReadToEnd()); Change this part as follows. System.Windows.Resources.StreamResourceInfo sri = System.Windows.Application.GetResourceStream(new System.Uri("{xaml file's path in 2.0 Style}", System.UriKind.Relative)); string sXaml = (new System.IO.StreamReader(sri.Stream)).ReadToEnd(); this._root = InitializeFromXaml(sXaml) as Canvas; and I make a remark about 'xaml file's path' in 1.1 -> '{namespace}.{filename}.xaml' in 2.0 -> '/{assemblyname}; component/{subdirectory}/{filename}.xaml' If you change like this, you cannot use auto-generation of xaml object. So you must manually bind all xaml object to use, as you did in 1.1 alpha. but you don't need to update all the *g.cs files everytime. I hope that this answered your question. Good luck!. shanaolanxing - I'll transfer to the Windows Azure team, and will have limited time to participate in the Silverlight forum. Apologize if I don't answer your questions in time. Yi-Lun Luo - MSFT:'m surprised to see this works: :) The solution that I found is breaking the SL rules? :) How can we add our own namespace to? You're right. This can be a work round. In the class library project's AssemblyInfo.cs file, add this: [ Now after you add reference to this assembly in your main project, you can use any classes in this namespace in your XAML files. But without the namespace mapping, your original code should not work. So this still seems to be an issue... Guntae Park: Thanks. Though that still doesn't seems to sort my nesting problems. The only I could find to fix that was making all the 1.1 controls that had controls inside them into UserControls. Yi-Lun Luo: That's works! It's a bit nasty but beats having to change the *.g.cs file everytime. Thanks for that! Thanks all, bratta:Guntae Park: Thanks. Though that still doesn't seems to sort my nesting problems. The only I could find to fix that was making all the 1.1 controls that had controls inside them into UserControls. Sorry, Thomas. I'm a lit bit busy with using Web service and Astoria in Silverlight. I will take a look the issue now.. I hope it should work. otherwise, Yi-Lun can help us too. Hey Michael, Thanks for that. However; I have already made my controls into usercontrol so I don't need a fix for that anymore. You might want to wait and see if anyone else have that problem before spending more time on it. Apriciate your help. Did anyone ever find a solution to the nested controls issue? I'm in the same situation. Had a 1.1 app, that uses nested controls, and I get XamlParseExceptions in 2.0. Anyone fixed this? What about Canvas? Should I use UserControl instead, as the first element in my controls' xaml file? --MartinHN ↑ Grab this Headline Animator I just tested with nested control. The way that I mentioned earlier is working. Actually, the problem that we were having is not the nested control issue. The problem is about putting Base Class in different namespace. I posted the sample in this link () but I didn't put the base control in different namespace. If you want this, please change as below based on the sample from the link above. 1. Change BaseControl.cs namespace SL2Controls.Anothernamespace { public class BaseControl : UserControl { }} 2. update assemblyinfo [assembly: XmlnsDefinition("", "SL2Controls.Anothernamespace")] 3. Update InheritedControl.xaml.cs public partial class InheritedControl : SL2Controls.Anothernamespace.BaseControl { public InheritedControl() { InitializeComponent(); } } OR Add using SL2Controls.Anothernamespace; 4. Update InheritedControl.g.cs public partial class InheritedControl : SL2Controls.Anothernamespace.BaseControl { using SL2Controls.Anothernamespace; Updating the generated file is suck but we have no other way to do that. If you run the sample, you will see it works. if you edit the XAML file, you won't need to modify the generated file. It's strange thing. There is a workaround if you want to inherit from a "BaseControl" class in another namespace without having to update the generated ".g.cs" file. This hack is to include the base control's namespace in a resource. This works because the autogenerated file adds a "using" statement for any namespace referenced in the Resources. To apply this workaround, use Michael's steps #1, #2, and #3 (from the previous post). Instead of editing the generated file (step #4), add a reference to the clr-namespace, and then use this namespace in the Resources. Steve Nyholm "snyhol"blog: snyhol: Instead of editing the generated file (step #4), add a reference to the clr-namespace, and then use this namespace in the Resources. It doesn't work. If you close all file before re-building the application, you won't get any error. but if you open that XAML file and re-build, you will get 3 errors. Okay. I got it. Please check-out the completed code from this link.
http://silverlight.net/forums/p/10986/34929.aspx
crawl-002
refinedweb
1,456
69.38
Pook 0 Posted July 27, 2007 Okay.. I not sure what's is going on. I'm trying to run a schedule task with the run command. The code works if I do this: Run ("schtasks.exe /create /tn Testing-delete /tr Notepad.exe /sc once /st 12:00:00 /s PC-XXXXX") But I want to do this: (and this won't work) $Start="Go" $ListPick="Notpad.exe" $InputData="PC-XXXXX" $admin="name" $pass="password" If $Start = "Go" Then Runwait ("schtasks.exe /create /tn Testing-delete /tr" & $ListPick & "/sc once /st 12:00:00 /s PC-XXXXXXX") else MsgBox(48, "ERROR", " You SUCK", 60) endif And in the end replace all the other 'var' in the run command with the rest of the input data. Share this post Link to post Share on other sites
https://www.autoitscript.com/forum/topic/50259-schtask-not-running-with-run-command/
CC-MAIN-2018-30
refinedweb
136
83.96
Hi all, I'm new to python. I am developing a text to speech application using python. So, I'm using a package named "pyTTS" version 3, compatible with python 2.5. Using an existing example, I wrote the following orders: import pyTTS tts = pyTTS.Create() Before this, I've installed the following packages: python-2.5 pyTTS-3.0.win32-py2.5 msttss22L SAPI5SpeechInstaller But I faced this error: Trackback (most recent call last): File "<pyshell#1>", line 1, in <module> tts = pyTTS.Create() File "C:\Python2 5\Lib\site-packages\pyTTS\_init_.py", line 28, in Create raise ValueError('"%s" not supported' % api) ValueError: "SAPI" not supported I think that the problem is in the SAPI package, but I don't know how to solve it. Could you help me?
https://www.daniweb.com/programming/software-development/threads/181533/help-using-pytts
CC-MAIN-2017-47
refinedweb
132
76.11
How To: Update a table with the changes made to a related table Summary ArcGIS for Desktop does not have a geoprocessing tool that automatically updates a table when a change is made to a related table; however, this can be accomplished with a model or a Python script. Procedure The following examples describe two possible workflows using ModelBuilder and Python. Consider a scenario where a group of professionals are tasked to find closed venues and to update the appropriate records from 'Open' to 'Closed'. After bringing this data into the lab, a secondary table must be updated according to the changes made in the first table. There are thousands of records to parse through, and an automated process is needed to update the records in the secondary table. The requirements for the following procedures are two feature classes, knowledge of either ModelBuilder or Python, and each dataset must have a key field, which in an ArcMap session is used to relate one dataset to the other. For example: The first feature class ("fc1") has: - a key field "KeyFC1" - a field ("NotesFC1") where the values are 'Open' The second feature class ("fc2") has: - a key field "KeyFC2" - a field ("NotesFC2") where the values start off as 'Open' In this scenario, selected records in "fc1" are manually changed to 'Closed'. The below model and script updates all related entries in "fc2" to 'Closed' as well. Note: Both the model and the Python script must be tailored to the specific data. Method 1: Update a table when changes are made to a related table using ModelBuilder 1. Add the two feature classes to the model. Right-click each feature class and choose 'Model Parameter' so that this model prompts for the two input tables when run as a tool. 2. Add 'Make Feature Layer' to the model. Connect "fc2" (the feature class that is updated as a result of running the model) as the Input Feature to Make Feature Layer. The output is a layer ("fc2_Layer"). 3. Add 'Add Join' to the model, which is a temporary join. Connect "fc1" (the feature class that is updated before running the model) as the Join Table. Connect "fc2_Layer" as the ‘Layer Name or Table View’. The output is another layer ("fc2_Layer (2)"). 4. Add 'Calculate Field', which calculates the values of a field for a feature class, feature layer, or raster catalog. Have the following inputs: a. Input Table: the latest layer ("fc2_Layer (2)") b. Field Name: fc2.NotesFC2 c. Expression: change(!fc1.NotesFC1!, !fc2.NotesFC2!) d. Expression Type: Python_9.3 e. Code Block: Code: def change(x, y): if x == "Closed": return "Closed" else: return y Method 2: Update a table when changes are made to a related table using Python. This is a stand-alone script that can be run outside of the ArcMap process. Code: import arcpy # Define the workspace that will contain the two feature classes. arcpy.env.workspace = r"C:\UpdateValue\UV2.gdb" # Define the first feature class fc1 = "fc1" # Define the note and key fields fc1_fields = ["NotesFC1","KeyFC1"] # Define the value the code will look for in the first feature class. fc1_value = "Closed" # Define the second feature class fc2 = "fc2" # Define the note and key field fc2_fields = ["NotesFC2","KeyFC2"] # Define the value that the code will use to update the record in the second feature class. fc2_value = "Closed" cur = arcpy.da.SearchCursor(fc1, fc1_fields) for row in cur: cur2 = arcpy.da.UpdateCursor(fc2, fc2_fields) for row2 in cur2: if row[1] == row2[1]: if row[0] == fc1_value: row2[0] = fc2_value cur2.updateRow(row2) del row, cur, row2, cur2 Starting with the 'for' loop, this code reads: For each record (row) in the first feature class, first create a new cursor to use to update the records in the second feature class (cur2). Second, search every record in the second feature class (for row2 in cur2). If the keys match (if row[1] == row2[1] , which translates to if "KeyFC1" == "KeyFC2"), then check if the first table has been updated (if row[0] == fc1_value, which translates to if "NotesFC1" == "Closed"). If the table has been updated, then update the table associated with the second table (row2[0] = fc2_value, which translates to "NotesFC2" = "Closed"). Related Information - Make Feature Layer (Data Management) - Add Join (Data Management) - Calculate Field (Data Management) - Essentials of relating tables - Relating the attributes in one table to another
https://support.esri.com/en/technical-article/000011948
CC-MAIN-2019-35
refinedweb
731
60.75
998 Full Text NFL: HIGH FORECAST: 93 Mostly sunny LOSP PAGE 4A 69 SEPTEMBER 7. 200 riO> r :z o tii~m -n r r- O: w c~ ~ I., Z - Brees into season opener against Colts/3B ,Kfaa tff T if c .. .. . . _: _( -J--- . � ' , .K J __ :=. - .. ,..___ . bi .'.. b-:I, ' ' : I n 1 -,Ir ,, , . T 25, VOLUME 119 No. 250 STORM CLOUDS BREWING: Study: US should lower profile Forecasters say the rest of the Atlantic hurricane season will probably be more active than usual./Page 3A THE GAME: Get in the game . . ' 1 7 Read about the Citrus County Parks and Recreation Department's activities and programs./Inside STATE SPENDING: Help for buyers? Gov. Charlie Crist says the state should help first-time home buyers in a bid to boost the state's economy./Page 3A MORE FIGHTING: Airstrike deaths U.S. and Iraqi troops backed by attack aircraft clashed with suspected Shiite militiamen before dawn./Page 14A PREP VOLLEYBALL: Serve it up Lecanto volleyball takes advantage of Crystal River errors./Page 1B OPINION: The crime that Couey committed was not just against the Lunsford family, although they certainly suffered the most. LETTER, PAGE 12A BIN LADEN SPEAKS: New video Osama bin Laden will release a new video in the coming days ahead of the sixth anniversary of the Sept. 11 attacks./Page 14A ON STAGE: Pennies' worth Playhouse 19 set to bring "Mack the Knife" to life in its production of "Three Penny Opera."/Page lC Annie's Mailbox ........ 8C Com ics ............ . 9C Crossword ............. 8 Editorial ............ 12A Entertainment ......... 6B Horoscope ............ 8C Lottery Payouts .... . . . . 6B Movies .............. 9C Obituaries ............ 6A Stocks .............. 10A Five Sections 6 108457118 200251 5 Iraqi army should take over more daily combat, report says Associated Press WASHINGTON-U.S. forces in Iraq should be reduced sig- nificantly, according to a new study on Iraq's security forces that inflamed debate in Congress on how quickly that can happen without hurling the country into chaos. The report, authored by a 20- member panel comprised most- ly of retired senior military and police officers, said the massive deployment of U.S. forces and sprawl of U.S.-run facilities in and around Baghdad has given Iraqis the impression that Americans are an occupying, permanent force. Accordingly, the panel said the Iraqis should assume more control of its security and U.S. forces should step back, emboldening Democrats who want troop withdrawals to start this fall. "Significant reductions, con- solidations and realignments would appear to be possible and prudent," wrote the group, led by retired Gen. James Jones, a former Marine Corps commandant. The recommendation echoed previous independent assessments on the war, includ- ing the high-profile Iraq Study Group that said the combat mis- sion could be transferred to the Iraqis by early 2008. But the burning question, left mostly unanswered by the panel, was precisely when Iraqi security units could take control and U.S. troops could leave. The study concluded only that the Iraqis could not assume control of the country without U.S. help in the next 12 to 18 months. "We need to start transition- ing to an Iraqi lead," no matter the timeframe, said retired Army Gen. George Joulwan, a panel member and former NATO commander in Europe. "I think the signs are there to MATTHEW BECK/Chronicle These two river otters, captive at the Homosassa Springs Wildlife State Park, seem right at home lounging about on a rock for- mation in their enclosure. River otters are typically 3 to 4 feet long and weigh 15 to 25 pounds on average. The average life span for wild otters is about 15 years and about 10 years more in captivity. Fish, crawfish and blue crabs make up the primary elements of the mammal's diet in this part of the state, but they are known .to eat amphibians, reptiles, birds and insects, too. Save Our Waters seeks to educate SHEMIR WILES swiles@chronicleonline.com Chronicle Awareness is the key. And for it's 12th .year, Save Our Waters Week will put Citrus County's valued waters into the limelight. Starting Sept. 14, activities will be in full swing for the community to get involved in with the pro- motion of preserving the county's rivers, aquifers, springs, lakes and coastal estuaries. Curt Ebitz, one of the founders of SOWW, believes that the week of events is instrumental in showing peo- ple how important the county's waters are to the community. "The purpose behind Save Our Waters Week was to simply promote public awareness, education and consensus in the community about our waters," he said. Anngeolace Blue-McLean, co-chairperson for the event this year, says that many of the events are about taking people out on the water to show them what beautiful waters Citrus County has. In addition to increasing the public's under- standing on water conserva- tion, monies raised during the fundraiser dinner Sept. 14 will go towards the Citrus 20/20 endowment fund that will in turn provide scholarships to youths going to college. The coastal clean-up on Sept. 15 will be countywide, and anyone can join the effort Please see /Page 7A DINNER ON TAP I Citrus 20/20 is sponsor- ing a "Save Our Waters" fundraiser dinner Sept. 14, at the West Citrus Elks Club in Homosassa. * Doors open at 6 p.m., din- ner is at 7 and the show begins at 8. * Tickets are $35 and tables seat eight. For tickets or information, call Cheryl Phillips, 527-0800. KBA seeks volunteers for water clean-up SHEMIR WILES swiles@chronicleonline.com Chronicle For it's fourth year, The Kings Bay Association needs volunteers for the Adopt-A-Shore clean-up from 8 a.m. to noon on Saturday, Sept. 15. The main objectives behind the clean- up are to: *Eliminate debris from the shore- lines, waterways and beaches * Collect information on the amount and type of debris * Inform people on the issue of marine debris * Use the collected information to effect change. The KBA usually concentrates on cleaning the canals off of the Kings Bay. Several bags full of trash are collected each year. "We find things that fly off boats. One year we found a rug," Gail Jannarone, board member of the KBA, said. Beer cans, she said, are most commonly retrieved from the canals. As of right now, Jannarone said they have three boats volunteered, but they are not sure if they will use all of them because they need at least six volunteers to a boat for it to be used. Therefore, Jannarone encourages the community to get involved. "It's a group effort It's a lot of work but a lot of fun," she said. It is free to register and supplies of gloves, caps, trash bags and data cards are supplied by Citrus 20/20. Any KBA member who wants to partic- ipate should contact Dee Atkins at 220- 6058 to have their name(s) added to the volunteers list. You may also participate on an already registered boat or you may bring your own boat. After the clean up, there will be a cookout for all the volunteers. The cook- out is sponsored by American Pro Diving Center at their location on U.S. 19. For more information, contact Dee Atkins at 220-6058. \ \ do that, and we have to reduce that dependency," he added in testimony before the Senate Armed Services Committee. The study sparked ongoing debate among committee mem- bers on whether to pass legisla- tion ordering troops home. Democrats want a firm dead- line to pressure Iraqi leaders into taking more control. Most Republicans have so far balked at the suggestion, saying mili- tary commanders should make the decision. Please see STUDYPage 5A Teen on road to recovery Recent grad was in coma after accident NANCY KENNEDY nkennedy@ chronicleonline.com Chronicle After being in a coma for nine days, 18-year-old Jared Mann spoke his first word Monday. He said, "Griffey" That's the name of his dog. Then when his sister, Tori, walked into his hospital room Jared Mann at Tallahassee was severely Memorial injuredthree Hospital he weeks ago. said, "What's up, sis?" Three weeks earlier, the 2007 Citrus High School gradu- ate had been driving back from registering for classes at Florida State University when he fell asleep at the wheel and crossed onto the grass median. He awoke and turned back onto U.S. 19, just south of Tallahassee, and lost control of his car, then hit a pole. His two passengers, Nicholas, 15, and James Catto, 19, were treated for minor injuries and released. But Jared suffered extensive head trauma injuries and was admitted to the Tallahassee hospital. "Initially they told us he's probably wake up in 12 hours," June Mann said. "Then about 48 hours into it, it appeared he was going to have some prob- lems and may not come out of (the coma) at all." She said it was a parent's worse nightmare to think about placing a comatose child in a long-term care facility with no promise that he would ever regain consciousness. Nine days after the accident, Jared woke up, but it would be another week and a half before he spoke. For three weeks, she, her husband, Jerry, and sister, Please see TEEN/Page 5A 'Last great voice' of Italian opera mourned Luciano Pavarotti died Thursday Associated Press MODENA, Italy - Admirers massed by the hundreds in Modena's main piazza Thursday night to pay their final respects to Luciano Pavarotti, the tenor cher- ished by many as "the last, great voice" of Italian opera. The crowd applauded as pall- bearers carried the white casket into the cathedral, ful- filledour- met. hun- dreds of people gathered for the *4 first evening of public viewing. , Police on horse- back stood at atten- tion as mourners shuffled up the steps into the cathe- dral to view Pavarotti, dressed in his trademark white tie and tails, a white handkerchief and white rosary clutched in his hands. His wife, Nicoletta Mantovani, stood off to the side of the casket, chatting calmly with well-wish- ers. A Please see /Page Lazy day ', CITRUS COUNTY (FL) CHRONICLE 2A FRIDAY, SIP'TEMBER 7, 2007 DOH issues amoeba warning Special to the Chronicle TALLAHASSEE - Florida 'Department of Health (DOH) Surgeon General Ana M. Viamonte Ros, M.D., MPH, issued a medical advisory this week for all freshwater swim- ming areas in the state of Florida. Two probable human cases of amoebic encephalitis have been identified in Central Florida residents since August, and there is a height- ened concern that additional residents may become ill. The most recent case result- ed in the death of a Florida child. Symptoms include head- ache, fever, nausea and vomit- ing, stiff neck, confusion, lack of attention to people and sur- roundings, loss of balance and bodily control, seizures and hallucinations. The public is urged to contact a medical pro- fessional immediately if expe- riencing any of these symp- toms. "There is an increased risk of infection by this organism in all freshwater areas through- out Florida, especially during hot summer months," Viamonte Ros said. "Any kind of water sports or activity such .as wakeboarding, water skiing, -swimming or diving puts the .public at a greater risk." . The Department of Health is -offering the following precau- tions: * Wear nose clips or hold your nose when swimming, jumping or diving in any fresh water. Closed nostrils reduce your risk of infection by amoe- ba, a rare but life-threatening .condition. - * Do not swim in warm, standing water, such as ponds, lakes, storm water retention areas or in areas posted "No Swimming." Bacteria and other harmful organisms thrive in warm, standing water. Seek prompt medical atten- tion if you become ill after swimming in freshwater. * Avoiding areas with obvi- ous algal blooms. Contact with algal blooms may cause skin rash, runny nose and burning eyes. Infection with Naegleria fowleri causes the disease pri- mary amoebic meningoen- cephalitis (PAM).This infec- Stion cannot be spread from person to person or contracted from a properly maintained swimming pool. For more information about the this threat, visit- munity/aquatic/index.html or the CDC Healthy Swimming Web site at healthyswimming/. County:. Suzan Franks to run for state senate Democrat Suzan Franks announced Thursday she will run for state Senate District 3 in 2008. Franks, of Hernando, lost in the special June election to Republican Charlie Dean. District 3 is comprised of all or parts of 13 counties, including Citrus County east of U.S. 19. Man involved in pursuit, crash OK The 39-year-old man involved in a deadly crash Tuesday night in Inverness is in "good condition," according to a Shands hospital spokesman. Willie L. Baker, of Inverness, was flown to Shands after he crashed head-on into another car while a Citrus County Sheriffs Office deputy was attempting to pull him over for speeding. At first Baker's condition was described as extremely critical by Florida Highway Patrol officials. Baker's passenger, Sean Bernard Clark, 37, died at the scene of the crash. The woman in the other car, Rita Wyant, 74, of Hernando, was also flown to Shands. Her condition was described as good by Shands' offi- cials. Charges in the accident are pending further investigation. 9/11 tribute planned for Tuesday The World Trade Center memo- rial exhibit and tribute will be open from noon to 6 p.m. Tuesday, Sept. 11,. Strifler guest at NCRC Sept. 8 meeting The Nature Coast Republican Club will meet Sept. 8, at the American Legion Post 155, 6585 State Road 44, Crystal River. Breakfast is $5.50 and begins at 8:30 a.m. Guest speaker Betty Strifler, Clerk of the Citrus County Circuit ww-la k h ar o-Lcned nsrd 'iROe28 IAll iLyaharushtar II I ....-...-. Aluminum, Inc. Hwy. 44, Crystal River m Win uard OMPACT-RESISTANT WiNDOWs & DOORS I 795-9722 * 1-888-474-2269 PROFESSIONAL INSTALLATION a =I -, ..1 1, T' " ! .'.Mif Affordable 7 Elegance Majestic, Heirlooms, Laurel, & Princess - Only $499 _ Majestic Heirlooms Laurel Princess Affordable upgrades for your EXISTING entryway in about an hour - - with an EntryPoint door transformation! SMatching Sidelights and Transoms Schlage locks and hardware SHundreds of design options available through our custom program. Visit our showroom and pick the perfect doorglass for ENTRYPobiNT* YOUR DOOR- OUR GLASS , Perry's Custom Glass & Doors 352-726-6125 : 2780 N. Florida Ave. (Hemando Plaza) Hernando, FL. . Court, will give a PowerPoint pres- entation of her duties and responsi- bilities with a question-and-answer period to follow. All Registered Republicans are eligible for membership. Republican Women to meet Sept. 13 The Citrus Republican Women's Network will meet 6 p.m. Thursday Sept. 13, at the Crystal Oaks Clubhouse. This newly-formed group of reg- istered Republican women will hear from Supervisor of Elections Susan Gill. Call Lyn at 527-8795. Public hearing slated for Inverness budget A final public hearing is sched- uled for 5:01 p.m. Thursday, Sept. 20, by the City Council of the City of Inverness in the council chambers at 212 W. Main St., regarding the 2007-08 budget and millage levy. Any person who decides to appeal any decision of the govern- ing body with respect to any matter considered at this meeting will need a record of the proceedings and for such purpose may need to provide that a verbatim record of the proceeding is made, which record includes testimony and evi- dence upon which the appeal is to be based (Florida Statutes 286.0105). - From staff reports It's The Sale You've Been Waiting For! Save now during our Storewide Clearance. Look for the Red Sale Tags featuring sale prices on many items throughout the store. Hurry in for best selection _ .. . ,. .: .-,."J,.7 PLUS SAVE ON Pictures Lamps Mirrors Plants Rugs Accessories And More! SAVE UP TO 40 10 OFF SUGGESTED RETAIL ON IN-STOCK ONLY. Sale Ends September 21st. IeB. FINANCING AVAILABLE HURRICANE PROTECTION 1 'Don't Wait Until It's Too Late" * Hurricane Panels * Accordian Shutters * Winguard Impact Glass Windows ALL PRODlCTS MEET DADE COUNTY APPROVAL CODI-.S RECLINERS SOFAS CHAIRS TABLES LAMPS RUGS ACCESSORIES rjj.7~.j I. I L'.. ~- I I I I _ '1 .,DAY SEPTEMBER 7, 2007 CITRUS COUNTY CHRONICLE Around THE STATE West Palm Beach Police shoot machete-wielding man Police shot and killed a man wielding a machete after he charged at officers, authorities said. Two police officers responded to a 911 call at about 6 p.m. Wednesday that a shirtless man with a machete was seen walk- ing down a street near a park, Capt. Pat Maney said. When the officers arrived, Vladimir Bernal Niellas, 45, refused to put down the knife and charged at them, Maney said. Officer Raymond Spinosa shot the man at least twice, killing him. Cape Canaveral Doctor: NASA wrong to deride drinking reports An Air Force doctor who headed a controversial astro- naut health study told Congress on Thursday that NASA is dis- couraging open communications by rebutting reports of drunken astronauts on launch day and deriding the claims as urban legends. The bigger issue, more than drinking, is NASA's apparent disregard of mental health and behavior issues among its astro- nauts, and the demoralizing reluctance among flight sur- geons med- ical panel's citing of at least two instances of launch-day intoxi- cation. Even though fellow as- tronauts or flight surgeons noti- fied their bosses about the crew members' drunken state, they were ignored, Bachmann's com- mittee was told confidentially. Tallahassee Crist, religious leaders discuss climate change Gov. Charlie Crist met with capital area religious leaders Thursday to get their perspec- tive on climate change and how the state can work with them to protect the environment. Crist mentioned his efforts to prevent climate change and said he would like to meet with reli- gious leaders on an ongoing basis about the issue. He thanked attendees for taking the issue seriously. "It's important that religious leaders from across our state have the opportunity to empha- size and lead and you're doing it and I'm grateful," Crist said. The group shared his concern and encouraged him to keep pursing efforts to reduce green- house gasses. "All of us have an obligation to be good stewards for the planet that we live on," Pastor Larry Millender of Abundant Life Fellowship said after the meet- ing. "God told the first man that he made to keep the earth, to look after it. So we have a man- date to do that," he said. 1 Florida Lotto player wins $10 million jackpot One player matched all six Florida Lotto numbers to win a jackpot of $10 mil- lion, lottery officials , said Thursday. The winning tick- et was bought in M r the city of Palm It,,, Beach Gardens, officials said. A total of 107 tickets matched five numbers to win $3,575 each; 5,528 tickets matched four numbers for $56 each; and 104,685 tickets matched three numbers for $4 each. The winning Florida Lotto numbers selected Wednesday: 3-12-18-19-24-45. - From wire reports La Nina could impact storms Forecasters predict more active Atlantic hurricane season Associated Press MIAMI - La Nina is developing in the Pacific Ocean, and that cooling of waters generally brings a more active Atlantic hurricane season, the National Oceanic and Atmospheric Adminis- Crist: Help home buyers Governor also offers budget cuts Associated Press TALLAHASSEE - Gov. Charlie Crist on Thursday rec- ommended lawmakers try to spend the state out of its eco- nomic doldrums, proposing to expedite highway and school building and use state money to help first-time home buyers in an effort to spur construction. The state is more than $1 bil- lion over budget and legisla- tive leaders are looking for ways to cut the spending plan. They had intended to return to the Capitol Sept. 18 for a budg- et-cutting session, but have put those plans on hold because so far, Senate and House leaders haven't been able to agree on a framework for how to do it. So Crist released his sugges- tions for where the budget should be cut, saying he hoped it would help lawmakers. The governor's recommen- dations include several sug- gested by state agencies, rang- ing from cuts in how much hos- pitals and nursing homes are paid to care for Medicaid patients to delaying several new programs at universities. But while proposing to cut spending in some areas, Crist argued that the way to end Florida's economic troubles is to tap into state reserves to jump-start spending on big proj- ects that will fuel the construc- tion industry. Construction increases employment, which fuels spending, which brings in state tax dollars, solving the state's financial crisis, the thinking goes. Fo "While we put our fiscal Cc house in order, we also need to take measures to stimulate Florida's economy," Crist wrote in a letter to House Speaker HI Marco Rubio and Senate Presi- H . dent Ken Pruitt "I am asking you to consider increasing fund- ing for several economic initia- tives specifically targeting the building and construction in- dustry - the area of our econo- brT my most in need of our support" I- Rubio issued a statement say- ing Crist's proposals on the budget cuts were a good starting point for the House and Senate to begin trying to negotiate a compromise plan. He didn't TA] directly address the notion of sever boosting government spending Flori in areas that can jump start the event economy, but said "it is clear uncor that (Crist) has engaged in a adopt meaningful analysis of govern- Thurs ment services and programs The and as a result, has provided a neous thoughtful, targeted approach cover to reducing the state budget" in a Florida's economy for the should last several years has thrived affect largely as a result of a housing As construction boom that has public now tapered off. Sales tax - ed a one of the pillars of Florida's requi tax structure - goes up con- Th( siderably when home con- decis struction is robust. Not only tutior are the materials for building "It' taxed, but home buyers tend to said make large purchases such as Flori carpets, washing machines Prote and furniture, all taxed. for co tration said Thursday. La Nina is the counterpart to El Nino, a warming of Pacific waters near the equator that creates a less con- ducive environment for tropical cyclones in the Atlantic. Both ocean conditions are hard to predict long- term and do not follow regular patterns. . "These conditions also reinforce NOAA's August forecast for an above normal Atlantic hurricane season," said Gerry Bell, the agency lead sea- sonal hurricane forecaster. So far this Atlantic season, there have been five named storms and two hurri- canes. Both hurricanes, Dean and Felix, reached top-scale Category 5 strength before hitting Central America, an unprecedented event in a single year since record keeping began. Colorado State University forecaster William Gray this week downgraded his forecast slightly, but he still predicted above-average activity for the rest of the season, with five more hurricanes, two of them major with sustained winds of at least 111 mph. On Tuesday, Felix slammed Nicaragua with catastrophic 160 mph sustained winds and a storm surge esti- mated at 18 feet above normal tides. Rescuers on Thursday raised the storm's death toll to more than 40. Experts said La Nina would also extend drought in the U.S. Southwest this fall and create wetter than normal conditions in the Pacific Northwest. France will treat Noriega as POW Associated Press MIAMI - The U.S. govern- ment is satisfied that France will treat former Panamanian dictator Manuel Noriega as a prisoner of war if he is extra- dited to face French money laundering charges, federal prosecutors said Thursday. Although the U.S. has not asked France to formally declare Noriega a POW, the two governments have had detailed discussions about the issue and the State Department conclud- ed that he will have "the same benefits he has enjoyed during his confinement in the United States," Assistant U.S. Attorney Michael "Pat" Sullivan said in a court filing. The response comes a day after Senior U.S. District Judge William Hoeveler called a temporary halt to the extra- dition proceeding to review claims by Noriega's lawyers that France would not recog- nize his POW status. Hoeveler declared Noriega a POW after his 1992 U.S. drug conviction; Noriega's lawyers say he should not be extradited under the Geneva Conventions if his POW status is in ques- tion. While imprisoned in the U.S., Noriega has been allowed to live in better quar- ters than other criminal con- victs and had extra privileges. The U.S. filing met a noon Thursday deadline set by Hoeveler. Hoeveler last month decided that Noriega's status as a POW did not protect him from extradition. Noriega attorney Frank Rubino said in a reply filed a few hours later that US. officials were being evastve and questioned why correspon'- dence between the U.S. arid France on the POW issue vas not provided to the court [igh court OKs more race simulcasting State law limiting ictice at tracks ruled unconstitutional Associated Press LLAHASSEE - A state law that ely limited the ability of South da horse racing tracks to simulcast s from other pari-mutuel facilities is istitutional because of the way it was ;ed, the Florida Supreme Court ruled sday e Florida Legislature in 1996 erro- sly passed the law as a general act ing the entire state, the justices said unanimous opinion. They found it d have been a local bill because it .s only three South Florida tracks. a result, lawmakers failed to hold a c hearing or give notice in the affect- rea as the Florida Constitution res for local bills. e high court upheld two lower court ions that also found the law unconsti- rally restricted the tracks. s going to help expand the industry," Bruce David Green, a lawyer for the da Horseman's Benevolent and active Association. "It opens the area petitionn and that's not a bad thing." The association of horse owners and trainers participated in the case as a friend of the court. They will benefit from higher purses expected from the increased simulcast wagering, Green said. The law prohibited Gulfstream Park, which challenged the statute, and other horse tracks from simulcasting from other venues except when holding their own live races. It also prohibited them from show- ing harness and dog racing or jai alai at any time. The limits applied only to areas where three thoroughbred or harness tracks are within 25 miles of each other. The only place that fits that description is the bor- der area of Miami-Dade and Broward counties that includes Gulfstream in Hallandale and Calder Race Course in Miami. both thoroughbred tracks, and Pompano Park. a harness track, in Pompano Beach. The law aided South Florida greyhound and jai alai frontons by limiting competi- tion from the horse tracks. Lawyers representing those interests, which joined the state in defending the law, did not immediately return a phone message seeking comment. Circuit Judge Jonathan Sjostrom initial- ly ruled the law unconstitutional. He said it appeared the simulcasting limits had been placed on Gulfstream in exchange for other benefits the track received from the state. "This sort of local interest horsetrading is specifically prohibited" by the Florida Constitution, Sjostrom said. The 1st District Court of Appeal sus- tained his ruling. The law's supporters argued in their Supreme Court appeal that it should be considered a statewide statute because the Tampa area in the future also might meet its criteria. That could happen only if two quarter horse tracks are built within 25 miles of Tampa Bay Downs, the only other thoi'- oughbred track in the state. The South Florida tracks opened before the state limited the placement new horse and dog tracks or frontons within 100 miles of an existing pari-mutuel facility. Quarter horse tracks are exempt from that restriction but that type of racing no longer exists in Florida because it proved to be unprofitable. Writing for the court, Justice Harry Lee Anstead said such a "wholly speculative or unreasonable potential" cannot justify sidestepping local bill requirements. In a separate case, the Supreme Court also unanimously struck down another general law the justices said should have been a local bill. It let hospitals avoid a state permitting process to start open-heart surgery pro- grams if they met certain conditions, but only one - St. Vincent's Medical Center in Jacksonville - could possibly qualify for the exemption. Giving mood vmI - Associated Press )rmer President Bill Clinton signs his new book, "Giving," on Thursday at Books & Books in iral Gables. ' I ' 4A FRIDAY. SEPTEMBER 7. 2007 CITRUS COUNn' (FL) CYuRoNIcr.e For the RECORD Citrus County Sheriff Domestic battery arrests * Jerry W. Arnold, 42, Crystal River, at 1:11 a.m. Aug. 31, on a domestic battery charge. A 39-year-old woman said Arnold kicked in the front door, grabbed her by the shirt and said he was going to kill her. She also said he made threaten- ing statements with a knife. Arnold was found hiding the woods and said he knew he would go to jail, according to an arrest report. No bond. * Sue Stanley, 48, Crystal River, at 4:58 a.m. Sunday on a domestic battery charge. A 50- year-old man said that he and Stanley were arguing when she told him to leave. While he was getting his things she locked him out of the house. He used a key to get back inside and she began to punch his face and he grabbed her to restrain her, according to the report. Stanley said they both grabbed each other by the throat. She said all she wanted was her key back. No bond. * Michael Tyrone Ingram, 29, Crystal River, at 10:23 p.m. Monday on charges of aggravat- ed domestic battery and cruelty to animals. According to an arrest report, a. 23-year-old woman said she was at a rela- tive's house dancing to music when she and Ingram began arguing. When they left she said she wanted him to take her to her mother's house and while she was driving he began to choke her. She pulled over the car and $aid she briefly lost conscious- ness. Ingram pulled her into the passenger's seat and drove her to their house. She said when they got home he threatened to kill her after he killed the cat and dog. She said he picked up the cat and choked it until it went limp and threw it into the laundry room. Then, she said, Ingram punched her a few times in the face, threatened to kill her if she left and put a pillow over her face, to smother her. She kicked him to get away and used a cell phone to call for help. When deputies arrived they found the 23-year-old bruised and shaken. The cat was alive in the laundry room - hiss- ing and shaking near one of the machines. The woman said she and Ingram had been together for eight years and he had been .arrested for domestic violence before. She said he had been court ordered to take anger man- agement classes and had com- pleted them. About six months ago he began hitting her again she said. No bond. * Anthony Eugene Baker, 26, Interlachen, at 9 a.m. Monday on charges of aggravated battery on a pregnant person and criminal mischief. An 18-year-old woman said they were arguing when he punched her in the face, picked her up out of a chair and threw her and busted out a window. A witness saw what happened. On Tuesday Baker was additionally charged on a St. John's County warrant charge for felony viola- tion of probation. No bond. * Rhonda C. Price, 39, Hernando, at 11:33 a.m. Sunday on charges of domestic battery and criminal mischief. A 36-year- old man said Price and him were arguing when she let the air out of one of his tires and stabbed another tire. He said he let the air out of her tire also. Price admit- ted to stabbing the tire and said she was trying to stop him from leaving. She said she grabbed him and he was forced to rip off his -own shirt to get out of the house. She also said he threw her down. She also poured bleach on his clothes. No bond. DUI arrests * Chad Irving Hauser, 27, 326 S. Jefferson St., Beverly Hills, at 9:39 p.m. Sunday, on a charge of driving under the influ- ence. Hauser was pulled over for swerving on the roadway. He failed field sobriety tests and said he had taken two Xanax and one Zantac. Later he said he had one alcoholic drink with dinner. An open and half full can of beer was in Hauser's car. The deputy noted he smelled alcohol on Hauser's breath. His blood alcohol concentration was 0.086 percent and 0.075 percent. The legal limit is 0.080. Bond $500. * Sean Christopher Sullivan, 18, 6363 N. Keel Drive, Hernando, at 2:17 a.m. Monday on a Citrus County war- rant charge of driving under the influence with property damage. Bond $500. * Amanda Tooke Mullen, 55, 8481 E. Orange Drive, Floral City, at 2:39 a.m. Wednesday on a charge of driving under the influence. Mullen was pulled over for swerving in the road. She said she had drunk three alcoholic drinks before leaving work. She failed field sobriety tests and refused to take a breath test. Bond $500. * Gabrielle Erika Valle, 38, 203 N. Seminole Ave., Inverness, at 12:31 p.m. Wednesday on Citrus County warrant charges for driving under the influence and fleeing/eluding law enforcement. Bond $750. * Terry Lee Taylor, 51, 7121 W. Greenwood Lane, Crystal River, at 10:46 p.m. Wednesday on a charge of driving under the influence. According to an arrest report Taylor was pulled over for driving around a barricade. He failed field sobriety tests and refused a breath test. Bond $500. * Vincent Crall, 45, 5601 S. Oakride Drive, Homosassa, at 11:46 p.m. Wednesday on Citrus County warrant charges of failing to return. hired/leased property with intent to defraud and grand theft. Bond $4,000. Other arrests E Ralph A Viola Jr., 34, 6368 W. Bowmont Lane, Homosassa, at 12:32 a.m. Monday on charges of dis- charging a firearm in pub- ON TH lic and carry- ON TH ing a con- E For more in c e a I e d about arres w.e a p o n . the Citrus C According to Sheriff's Off an arrest report Viola and click or fired shots Daily Repor from a vehicle Arrest Repo while leaving a bar. He said he was in fear for his life because there was a mob after him. He also had some brass knuckles in his pocket. Bond $2,500. * Dustin Rowe, 29, 3957 S. Ventura Ave., Inverness, at 2:17 a.m. Monday on a charge of driv- ing with a suspended/revoked license. Bond $500. * Donovan David Coulter, 18, 4260 N. Stokes Way, Crystal River, at 1:15 p.m. Tuesday on charges of auto theft (a dirt bike), burglary of a business and petit theft. Bond $5,250. * Lisa M. Bloodworth, 21, 464 E. Highway 40, Inglis, at 3:18 p.m. Tuesday on a charge of battery on a health services person. According for an arrest report Bloodworth was at Seven Rivers Regional Medical Center awaiting a place to stay at The Centers when she grabbed a nurse by the arm and dug her nails in breaking the skin. Bond $5,000. * Marcus Linwood Gregory, 56, 4401 N. Suncoast Blvd., Crystal River, at 3:35 p.m. Tuesday on charges of dealing in stolen property and grand theft. In the arrest was in reference to a utility trailer and various tools. Bond $7,000. * Kyle Lee Harder, 21, 3465 N. Camillion Point, Crystal River, at 1:29 p.m. Tuesday on a Marion County warrant charge of assault. No bond. E NET * Michael Edward tsormadebtion Dugan, 31, 11 s made by N. Adams St., go to Beverly Hills, at ice, go to 3:46 p.m. citrus.org 3:46 p.M. Sthenkto Tuesday on a the lnk to Citrus County r, ti. warrant charge for felony fail- ure to appear in reference to an original charge of possession of cocaine. No bond. * John Andrew Legros, 38, 6462 W. Moss Lane, Crystal River, at 7:56 p.m. Tuesday on a charge of dealing in stolen prop- erty. Bond $5,000. * Gail Elaine Trussell, 52, 6462 W. Moss Lane, Crystal River, at 7:56 p.m. Tuesday on a charge of grand theft. Bond $5,000. * Eric Beau Menzel, 27, 4794 N. Elm Drive, Crystal River, at 9:34 p.m. Tuesday on a Citrus County warrant charge for viola- tion of community control in ref- erence to original felony charges of burglary of an occupied dwelling, grand theft and giving false information to a pawn bro- ker. No bond. * Sharon Kay Hatcher, 52, 3530 E. Brave Lane, Hernando, at 10:10 p.m. Tuesday on a charge of leaving the scene of an accident with property dam- age. Bond $250. * Roger Ellis Brooks, 46, 1151 S. Palm Drive, Homosassa, at 10:47 a.m. Wednesday on a charge of fail- ure to appear in reference to a felony charge of possession of cocaine. No bond. * Eddrick Chilco Richardson, 31, 2620 N. Calomonden Terrace, Hernando, at 5:50 p.m. Wednesday on a Citrus County warrant charge for failure to appear in reference to felony charges of possession of cocaine. No bond. Crystal River Police DUI arrest * Danielle Lee Russell, 35, 402 N. Megowan Ave., Crystal River, at 10:19 p.m. Sunday, on a driving under the influence charge. Russell was pulled over for swerving on the roadway. She failed field sobriety tests. Her blood alcohol concentration was 0.201 percent and 0.209 percent. The legal limit is 0.080. Bond $500. State Probation Arrest * Justin Ryan Whitman, 23, 7678 Karmac Court, Homosassa, at 6:45 p.m. Tuesday on a violation of proba- tion charge in reference to a felony charge of possession of a controlled substance without a prescription and sale of marijua- na. He was serving four years of probation and marijuana in his system during a drug test. No bond. * Billy James Barton, 21, 6455 W. Moss Lane, Crystal River, at 6 p.m. Tuesday on a violation of probation charge in reference to an original felony arrest. He was serving two years drug offender probation and var- ious drugs were found in his system during a test. No bond. CITRUS COUNTY WEATHER FLORIDA TEMPERATURES C; ~ ~ t ~ 0 t n N City H Daytona Bch. 89 Ft. Lauderdale 90 Fort Myers 92 Gainesville 91 Homestead 90 Jacksonville 89 Key West 90 Lakeland 92 Melbourne 88 THREE DAY OUTLOOK TODAY Exclusive daily forecast by: High: 93 Low: 69 Mostly sunny with just a few late isolated showers. SATURDAY High: 93 Low: 70 Mostly sunny and continued generally dry. .aa Just a stray PM Shower. SUNDAY High: 93 Low: 70 Sun with a few late clouds and a small shower chance. ALMANAC TEMPERATURE* Thursday Record :Normal -Mean temp. 'Departure from mean .PRECIPITATION* .Thursday -Total for the month :Total for the year Normal for the year 92/71 98/66 72/90 82 +1 0.00 in. 0.93 in. 35.23 in. 40.86 in. *As of 6 p.m.from Hernando County Airport UV INDEX: 10 '0-2 minimal, 3-4 low, 5-6 moder- -ate, 7-9 high, 10+ very high BAROMETRIC PRESSURE Thursday at 3 p.m. 30.07 in. DEW POINT Thursday at 3 p.m. 69 HUMIDITY Thursday at 3 p.m. 52% POLLEN COUNT** Trees were light, grasses were moderate and weeds were absent. "Light - only extreme allergic will show symp- toms, moderate - most allergic will experience symptoms, heavy - all allergic will experience symptoms. AIR QUALITY Thursday was good with pollut- ants mainly ozone. SOLUNAR TABLES DATE DAY MINOR MAJOR (MORNING) 9/7 FRIDAY 2:55 9:08 9/8 SATURDAY 3:42 9:54 MINOR MAJOR (AFTERNOON) 3:22 9:35 4:07 10:19 CELESTIAL OUTLOOK SK' 20 3OCT. uCT. 3 SUNSET TONIGHT ............................7:45 P.M. SUNRISE TOMORROW.....................7:12 A.M. MOONRISE TODAY...........................3:17 A.M. MOONSET TODAY ............................5:38 P.M. BURN CONDITIONS Today's Fire Danger Rating is: MODERATE.. Friday Saturday High/Low High/Low High/Low High/Low 4:50 a/10:57 a 3:08 p/-- 5:22 a/12:32 a 4:15 p/12:05 p 3:11 a/8:19 a 1:29 p/9:54 p 3:43 a/9:27 a 2:36 p/10:35 p 12:58 a/6:07 a 11:16 a/7:42 p 1:30 a/7:15 a 12:23 p/8:23 p 4:00 a/9:56 a 2:18 p/11:31 p 4:32 a/11:04 a 3:25 p/--- F'cast tstrm tstrm tstrm tstrm tstrm sunny Northeast winds from 5 to 15 knots. Seas 2 Gulf water to 3 feet. Bay and inland waters light chop. temperature 87� Taken at Egmont Key LAKE LEVELS Location Wed. Thu. Full Withlacoochee at Holder 28.57 28.51 35.52 Tsala Apopka-Hernando 34.40 34.39 39.25 Tsala Apopka-lnverness 34.86 34.84 40.60 Tsala Apopka-Floral City 35.95 35.96cp. Fcst H L Albany 82 57 sunny 90 66 Albuquerque 76 64 ptcldy 86 62 Asheville 86 58 ptcldy 86 59 Atlanta 89 71 ptcldy 90 69 Atlantic City 82 61 sunny 83 64 Austin 91 75 ptcldy 95 74 Baltimore 88 69 sunny 88 63 Billings 71 54 .03 ptcldy 77 48 Birmingham 86 72 ptcldy 91 71 Boise 82 53 sunny 83 49 Boston 78 58 sunny 89 68 Buffalo 92 66 ptcldy 89 68 Burlington, VT 84 50 .04 ptcldy 89 68 Charleston, SC 90 70 sunny 86 72 Charleston, WV 96 61 ptcldy 94 65 Charlotte 93 65 ptcldy 92 63 Chicago 82 74 .14 tstrm 81 64 Cincinnati 95 63 ptcldy 91 68 Cleveland 90 66 ptcldy 91 67 Columbia, SC 93 67 sunny 93 65 Columbus, OH 93 66 ptcldy 91 67 Concord, N.H. 80 40 sunny 91 61 Dallas 92 79 tstrm 93 76 Denver 83 56 sunny 80 53 Des Moines 81 68 ptcldy 78 58 Detroit 84 69 tstrm 86 68 El Paso 86 70 tstrm 89 68 Evansville, IN 78 72 .37 tstrm 90 71 Harrisburg 87 66 sunny 89 67 Hartford 80 59 sunny 89 64 Houston 92 76 ptcldy 92 77 Indianapolis 81 73 .01 tstrm 88 69 Jackson 90 75 tstrm 90 70 Las Vegas 10075 sunny 10178 Little Rock 93 73 tstrm 87 72 Los Angeles 76 67 sunny 73 65 Louisville 91 77 ptcldy 91 74 Memphis 95 74 tstrm 90 73 Milwaukee 83 73 tstrm 79 62 Minneapolis 86 73 shwrs 74 56 Mobile 86 73 tstrm 88 73 Montgomery 89 68 ptcldy 92 68 Nashville 88 75 ptcldy 92 72 KEY TO CONDITIONS: c=cloudy; dr=drizzle; fsfair h=hazy; pcnpartly cloudy; rhraln; rs=raln/snow mix; s=sunny; sh=showers; sn=snow; ts=thunderstorms; w=windy. 02007 Weather Central, Madison, Wi. FORECAST FOR 3:00 P.M. FRIDAY Thursday Friday City H L Pcp. Fcst H L New Orleans 93 78 tstrm 89 75 New York City 80 67 sunny 87 70 Norfolk 87 69 sunny 85 68 Oklahoma City 92 72 .09 tstrm 87 69 Omaha 87 69 sunny 78 56 Palm Springs 10474 sunny 10280 Philadelphia 87 65 sunny 89 69 Phoenix 10183 ptcldy 10080 Pittsburgh 91 63 ptcldy 89 65 Portland, ME 68 44 sunny 84 65 Portland, Ore 74 61 sunny 77 52 Providence, R.I. 74 56 sunny 86 65 Raleigh 95 69 sunny 94 68 Rapid City 73 56 .33 tstrm 74 54 Reno 85 52 sunny 89 55 Rochester, NY 94 64 ptcldy 92 68 Sacramento 95 59 sunny 90 60 St. Louis 84 71 .51 tstrm 85 68 St. Ste. Marie 86 64 tstrm 74 51 Salt Lake City 76 54 sunny 84 55 San Antonio 89 75 ptcldy 94 76 San Diego 73 67 sunny 76 69 San Francisco 77 62 sunny 72 57 Savannah 90 73 sunny 88 68 Seattle 71 57 sunny 70 54 Spokane 79 52 sunny 74 45 Syracuse 91 61 ptcldy 93 68 Topeka 94 73 ptcldy 84 59 Washington 89 72 sunny 89 68 YESTERDAY'S NATIONAL HIGH & LOW HIGH 109 Imperial, Calif. LOW 33 Houlton, Maine WORLD CITIES FRIDAY CITY H/L/SKY Acapulco 87/76/ts Amsterdam 67/48/pc Athens 75/54/sh Beijing 87/64/pc Berlin 64/47/pc Bermuda 86/76/ts Cairo 91/70/s Calgary 60/40/sh Havana 90/78/ts Hong Kong 89/79/ts Jerusalem 86/70/s Lisbon London Madrid Mexico City Montreal Moscow Paris Rio Rome Sydney Tokyo Toronto Warsaw 94/63/s 73/52/pc 98/58/s 77/56/ts 89/65/s 76/58/ts 71/51/pc 78/64/s 70/53/sh 63/45/sh 90/78/pc 88/64/pc 64/47loncleonllne.com Where to find us: r- Cannondale Dr Meadowcrest � Blvd z Courthouse TompkinsSt. C square o !v C *W*h -- in charge SL PERIODICAL POSTAGE PAID AT INVERNESS, FL a 4W SECOND CLASS PERMIT #114280 FL11 S1f. l18 city Chassahowitzka Crystal River Withlacoochee Homosassa I - 4A FRIDAY, SEPTEMBER 7, 2007 OiRus CouNTY (FL) CHRoNicix t f c n rt o)r h M- CITRUS COUNTY (FL) CHRONICLE STUDY Continued from Page 1A "There's a lot of people who are armchair generals who reside here in the air-condi- tioned comfort of Capitol Hill, who somehow do not trust the judgment of some of the finest leaders that our nation has pro- duced," said Sen. John McCain, the top Republican on the Armed Services Committee and a GOP presidential hope- ful. Democrats and Sen. John Warner, R-Va., expressed skep- ticism that the Iraqis will reach the necessary political consen- sus without incentive. "At the end of the day, we have to make judgments on whether or not we believe con- tinuing military presence by American troops - whether they're in Iraq for a day, a year or 10 years - will make any dif- ference to the Iraqi govern- ment and the Iraqi people," said Sen. Hillary Rodham Clinton, D-N.Y, and another presidential hopeful. Clinton sent a letter to President Bush on Wednesday, asking him to address 20 ques- tions in his upcoming assess- ment on Iraq, including why the troop buildup has not prompted a political settle- ment The panel's finding that the U.S. should reduce its visibility in Iraq is not necessarily at odds with the Bush administra- tion. President Bush has long said the combat mission must be transferred to the Iraqis as soon as they can take over and security conditions improve. But the study suggests that lowering the profile of U.S. forces is a precondition to improving security conditions. It also says helpful "adjust- ments" could begin in early 2008. The Pentagon said Thursday that U.S. troop levels - cur- rently at 168,000 - are expect- ed to hit a record high of 172,000 in the coming weeks. When asked by McCain whether he would support a deadline for troop withdrawals, Jones said he would not "I think deadlines can work against us," Jones said. "I think a deadline of this magnitude would be against our national interest" Jones' report, released Thursday, concluded that Iraqi security forces would be unable to take control of their country in the next 18 months. If Iraqi troops were given more of a lead, as envisioned by the panel, it is expected that U.S. troops would still play a sub- stantial role by providing logis- tics and other support, as well as continued training. Overall, the study found the Iraqi military, in particular its Army, shows the most promise of becoming a viable, inde- pendent security force with time. It predicted an adequate logistics system to support these ground forces is at least two years away. "They are gaining size and strength, and will increasingly be capable of assuming greater responsibility for Iraq's security," the report says of military units, adding that special forces in particu- lar are "highly capable and extremely effective." 1 *0DAY OPAMNS-NOITRS TEEN Continued from Page 1A Tori, have not left his side other than to get some sleep at the nearby Ronald McDonald House. The former high school weightlifter BENEFIT and baseball * A fundraisir player had benefit Jare spent the sum- 2007 Citrus mer taking ate who wa: classes at car accident C e nt ral be from 8 a F l o r i d a Saturday at Community Sticks Rest; College, get- Highway 44 ting ready to U For informa start at FSU. Teresa at 6 The day before the accident 0 Also, an act he had picked been set up up his tran- Bank, 2080 scripts at Inverness. CFCC and drove them up to Tallahassee. "He was tying up all the loose ends before he moved up the following Friday," Mrs. Mann said. "He (chose) biological sci- F nC ed s t a 4, t 3 p D) ence as his major- he wanted to go somewhere in the medical field." Jared grew up in Inverness and attended Pleasant Grove Elementary School, Inverness Middle School and Citrus High School. "He's been a great kid," said his dad, Jerry Mann. "He's PLANNED been active in g car wash to the community J Mann, the and in sports, High gradu- and we've injured in a always been Aug. 14, will proud of him." m. to 3 p.m. This week Cinnamon Jared is being urant, 2120 evaluated to Inverness. determine tion, call when he can 4-1812. be transferred to a rehabilita- ount has tion facility at Mercantile where he can Highway 44, receive full- time physical, psychological and occupa- tional therapy. Friend of the family, Dr Ralph Abadier and Jerry Mann's busi- ness partner, Don Chenowith at Mannicure Lawn Service, have set up a trust account at Mercantile Bank in Inverness to benefit Jared.Mann. "This has been emotionally and financially devastating for the family," Abadier said. '"Jared is out of the coma, but this is not the end; it's only the beginning for them." Also, Teresa Radziercz has organized a fundraising car wash that will be from 8 a.m. to 3 p.m. Saturday at Cinnamon Sticks Restaurant, 2120 Highway 44, Inverness. "Thank you sounds so insignificant," Mrs. Mann said, "but everybody's been wonder- ful. The whole community has been wonderful. I believe that all the prayers have pulled him through. "People at the hospital are totally amazed at his progress - none of them expected this," she said. "There's a purpose that he's going through this. Hopefully he'll make a full recovery and be able to take this experience and help someone else down the line. He's got a long way to go. But I'm just thankful that we're starting to see light at the end of the tun- nel." FRIDtAY, SEP11TEMBER 7, 2007 5A State Former Uberian president's son charged MIAMI -A federal grand jury on Thursday added additional charges of torture against the son of former Liberian president Charles Taylor. Charles McArthur Emmanuel, also known as Chuckie Taylor, was charged with one count of torture last year and now faces four more torture counts, as well as a slew of related charges. Documents released by the prosecution don't identify the addi- tional victims, but say they were burned with molten plastic, lit ciga- rettes and an iron; severely beaten with firearms; stabbed and cut; and shocked using electricity. Emmanuel, a Boston-born U.S. citizen, is accused of committing - and helping other commit - these acts in Liberia between 1999 and 2003. Emmanuel was allegedly the head of the paramilitary Anti- Terrorist Unit in his father's govern- ment. - From wire reports A LALL.P 200E6 ow YOUR CHCLOSEOUT -^Kttctes _r 4ji�- BILLIARDS Tr^P^'--^Sfiy IN STOCK! AUI SA T CRYSTAL RIVER YU 877-296-POOL "Photos are for illustration purposes onlys Discount show is off our in-season or MSRP prices 198% APR with approved credO !F~ifl IpII~~s~1 U *I* mI (eNtzLLVillI N'-1. : Friday-Monday, September 7-10: Friday-Monday, September 7-10 Friday-Monday, September 7-10 extrext ext 10 off 1% off 010% off 2 4 home home home any single reg., sale � any single reg., sale any single reg., sale or clearance item � or clearance item * or clearance item Coupon can only be used once and must be * Coupon can only be used once and must be Coupon can only be used once and must be . presented to your sales associate at the time of presented to your sales associate at the time of 0 presented to your sales associate at the time of e purchase. Normal exclusions apply See store for * purchase. Normal exclusions apply. See store for * purchase. Normal exclusions apply See store for o 0 details Also excludes cosmetics & fragrances, details. Also excludes cosmetics & fragrances, details Also excludes cosmetics & fragrances, * * small electrics, Red Dot, Earlybirds, Night Owls, o small electrics, Red Dot, Earlybirds, Night Owls, small electrics, Red Dot, Earlybirds, Night Owls, * Doorbusters, Bonus Buys, Special Buys and Doorbusters, Bonus Buys, Special Buys, and Doorbusters, Bonus Buys, Special Buys and * Chairman's Choice, non-merchandise departments, Chairman's Choice, non-merchandise departments, * Chairman's Choice, non-merchandise departments, S * maternity, lease departments and Belk gift cards maternity, lease departments and Belk gift cards . maternity, lease departments and Belk gift cards. * Not valid on prior purchases, mail, phone or special Not valid on prior purchases, mail, phone or special o Not valid on prior purchases, mail, phone or special * orders. Cannot be redeemed for cash, credit or * orders Cannot be redeemed for cash, credit or e orders. Cannot be redeemed for cash, credit or refund, used in combination with any other discount o refund, used in combination with any other discount * refund, used in combination with any other discount * or coupon offer or on belk com Va idSept 7-10 2007 or coupon offer or on belk com. Vald Sept 7-10, 2007 or coupon offer or on belk.com. Valid Sept. 7-10, 2007 19623738 19623738 19623738 k Bek .k . . I 0 -6A FRIDAY, SEPTEMBER 7, 2007 -- -- ..... - Obituaries Gerard Barney, 61 BEVERLY HILLS Gerard Lee Barney, 61, Beverly Hills, died Wednesday, Sept. 5, 2007, at the Hospice of Citrus County Hospice House in Lecanto. Born July 24, 1946, in Newark, Oh- io, to Alvin and Azema Barney, he moved here in 2004 from North Attleboro, Mass. Mr. Barney was a retired production manager in the construction industry and served in the U.S. Air Force during the Vietnam War. He enjoyed playing golf. He was Catholic. : Survivors include his wife 'of 25 years, Irmalee (Kiff) -Barney; one son, Nicholas T. -Barney of Beverly Hills; two .stepsons, Charles A. Julius Jr. of Beverly Hills and John M. Julius of California; four brothers, Nicholas Barney of Attleboro, Mass., Alvin Barney of Toledo, Ohio, Thomas Barney of Jacksonville and Joseph Barney of Saverna Park, Md.; one sister, Joan Bancer of Toledo, Ohio; and four step grandchildren. Chas. E. Davis Funeral Home with Crematory, Inverness. Evelyn Bowman, 80 HERNANDO ; Evelyn G. Bowman, 80, Hernando, died Wednesday, Sept. 5, 2007. She was born Sept. 30, 1926, in Waterford, N.J., to Webster and Selma (Ross) Buckmaster and moved to this area 18 years ago from Baltimore, Md. Mrs. Bowman was a retired press operator. She was Lutheran. Her husband, Howard R. Bowman Sr., preceded her in death. Survivors include her daughter, Patricia Miller and husband Ken of Hernando; brother, Arthur Buckmaster of Cocoa Beach; sisters, Bertha Peoples of Baltimore, Md., and Frances Crist of Duncansville, Pa.; and a grandson, Phillip Jomidad of New York. Hooper Funeral Home, Inverness. Warren Draeger, 87 CRYSTAL RIVER Dr. Warren George Draeger, 87, Crystal River, died Thursday morning, Sept. 6, 2007, at his home under the care of his family and Hospice of Citrus County. Born Aug. 29, 1920, in Brooklyn, N.Y., to George E. and Gertrude Draeger, he came to this area 18 years ago from Long Island, N.Y. Dr. Draeger was an optometrist in Long Island for 40 years. He was a 1952 graduate of Ohio State University where he received his degree in Optometry and a 1958 gradu- ate of New York State University where he received his Doctorate Degree. He was a World War II U.S. Air Force veteran. Dr. Draeger was a member of the Alcyne Northport, L.I., N.Y. Masonic Lodge, the East Northport Lions Club and the Indian Hills Country Club in Northport, L.I., N.Y, and a member of Seven Rivers Golf and Country Club in Crystal River. He-was Protestant. Survivors include his wife of 56 years, Louise Draeger of Crystal River; son, Steven Draeger and wife Donna of Virginia Beach, Va.; daugh- ters, Janice Shellman and husband Robert of Southbury, Conn., and Valerie Draeger of Richmond, Va.; five grand- children, Lindsey, Kimberley, Matthew, Michael and Mallory; and two nieces, Victoria and Donna. Strickland Funeral Home, Crystal River. Frances Field INVERNESS Frances Field, Inverness, died Wednesday, Sept. 5, 2007, in Citrus Memorial Hea- lth System of Inverness. A native of Horse Cave, Ky., she was -: born one of 11 children to - .' William and Francis Helen (Hen- Field sley) Nichols and came to this area in 1982 from Ellettsville, Ind. She retired from the R.C.A. plant in Bloomington, Ind., as a group leader in the assembly line section and later an office worker with 25 years of service. Following her retirement, she got her real estate and beauti- cian's licenses. She loved to quilt and cook. Her husband of 66 years, Edward Field, preceded her in death Nov. 6, 2006. Survivors include son, Jim Field and wife Grace of Hernando; daughter, Judy Rudkin of Inverness; brother, Elmer Nichols of Columbus, Ind.; four sisters, Dorothy Hash of Seymour, Ind., Marge Wilson of Crothersville, Ind., Geneva Love of Palmyra, Ind., and Helen Stein of Seymour, Ind.; eight grandchildren; and 16 great-grandchildren. Chas. E. Davis Funeral Home with Crematory, Inverness. Joseph O'Banion, 34 INVERNESS Joseph M. O'Banion, 34, Inverness, died Monday, Aug. 27, 2007, in West Palm Beach. He was born in Oakland, Calif., and was a resident of Inverness for three years coming from Forest Hill, Calif. He served in the U.S. Marine Corps for seven years. He was a member of the Calvary Christian Center in Inverness. He served in Mission Work in Hong Kong and had a pas- sion for for- eign missions. He enjoyed woodworking and scuba diving. Survivors include his wife of six years, Melodie (Hunsberger) O'Banion of Inverness; mother, Bobbi Smithline of Forest Hill, Calif.; stepfather, Mike Smithline of Forest Hill, Calif.; brother, Casey O'Banion of California; and three sisters, Diane Wilburn, Bonnie Lee and SeAdee Smithline, all of California. All County Funeral Home and Crematory, Stuart. Samuel 'Sam' Parker, 76 CRYSTAL RIVER Samuel "Sam" Parker, 76, Crystal River, died Wednesday, Sept 5, 2007, at Hospice of Citrus County. He came to Crystal River in 1969 from 1 Denmark, S.C. Mr. Parker was a cement finisher emplo- yed by Joyner's Masonry and Jackson Mason- ry and Constr- Samuel auction. Parker Survivors include his wife, Vera Larcelia Parker of Crystal River; three sons, Ralph Murphy and wife Gretchen of Crystal River, Stephon Parker and wife Marcola of Cheyenne, Wyo., and Carl Parker of Lecanto; two daughters, Alfreda Westbrook and husband Donald of Cheyenne, Wyo., and Bridget Parker of Crystal River; two sis- ters, Carrie Small of Cander, N.J., and Bealauh Lencar of Savannah, Ga.; three brothers, William Parker of Brooklyn, N.Y, James Parker of Brooklyn, N.Y, and Alferson Parker and wife Audrey of Philadelphia, Pa.; grandchildren, nieces, nephews, cousins and friends. New Serenity Memorial Funeral Home and Cremation Services, Crystal River Janet Vaughn, 91 HOMOSASSA Janet A. Vaughn, 91, Homosassa, died Wednesday, Sept 5, 2007, at Seven Rivers Regional Medical Center, Crystal River. She was born Oct 14, 1915, in Melrose, Minn., to Paul and Marie (Olmschenk) Meide and came to this area 39 years ago from California. She was a retired beautician. She was a member of St. Thomas the Apostle Catholic Church of Homosassa. Her husband, Kenneth Vaughn, preceded her in death. Survivors include her son, Sean P Kinney of Homosassa; brother, James Meide and wife Beverly of Minneapolis, Minn.; granddaughter, Jessica Weiss; two great-grandchildren, Caitlyn Weiss and Ty Britt; three nephews, Robert, Richard and Paul; and three nieces, Diane, Mary and Susan. Wilder Funeral Home, Homosassa Springs. Charles Weinberger, 69 HOM.OSASSA Charles R. Weinberger, 69, Homosassa, died Tuesday, Sept. 4, 2007, at Oak Hill Hospital, Broo- ksville. Born June 1, 1938, in Harvey, Ill., to Charles R. and Rosia Mae (Kopp) Weinberger, he came here 10 years ago from Annapolis, Md. He was a Charles Weinberger Retired Chief Warrant Officer U.S. Army veteran of Vietnam and Staff Officer for the National Security Agency, Baltimore-Washington, D.C. Mr. Wein- berger was a member of First United Methodist Ch- urch of Homo- sassa, West Citrus Elks Lodge, Crystal River Moose Lodge, American Legion Post 155, life member of VFW Post 8189, and Sugarmill Woods Country Club. Survivors include his wife of 39 years, Carole L. (Beach) Weinberger of Homosassa; two sons, Bryan K Weinberger of Boston, Mass., and Jerry J. Weinberger of Pasadena, Md.; mother, Rosia Mae Weinberger of Martinsville, Ill.; sister, Charlene Moser of Tremont, Ill.; brother, William Weinberger of Martinsville, Ill.; mother-in-law, Evelyn Beach of Homosassa; and two grandchil- dren, Ryan C. Weinberger and Sydney R. Weinberger. Wilder Funeral Home, Homosassa Springs. Click on- line.com to view archived local obituaries. Funeral NOTICES Dr. Warren George Draeger. A memorial service for Dr. Warren George Draeger, age 87 of Crystal River, will be con- ducted at 1 p.m. Sunday, Sept 9, 2007, from the Strickland Funeral Home Chapel in Crystal River with Hospice Chaplain Louis Abel officiat- ing. The family suggests that in lieu of flowers, that those who wish may make a memorial contribution to Hospice of Citrus County at PO. Box 641270, Beverly Hills, FL 34464. Cremation arrange- ments under the direction of Strickland Funeral Home. Frances Field. Funeral serv- ices will be conducted 'at 11 a.m. Monday, Sept. 10, 2007, from the Chas. E. Davis Funeral Home with the Rev. Preschoolers have social edge over apes Stan Stewart of the North Oak Baptist Church officiating. Burial will follow at a later date. The family will receive friends at the funeral home Monday from 10 a.m. until the hour of service. Memorials are being requested to Hospice of Citrus County, PO. Box 641270, Beverly Hills, FL 34464. Ralph Lavar Murphy. Funeral services for Ralph Lavar Murphy, age 23, of Crystal River, will be conducted at 11 a.m. Saturday, Sept 8, 2007, at Mt Olive Missionary Baptist Church, 2105 N. Georgia Road, Crystal River, with minister Al Hopkins officiating. Public view- ing will be held from 1 p.m. until 7 p.m. Friday, Sept 7, 2007, at New Serenity Memorial Funeral Home and Cremation Services Inc., 713 N.E. 5th Terrace, Crystal River. Samuel "Sam" Parker. Funeral services for Samuel "Sam" Parker, 76, of Crystal River, will be conducted at 3 p.m. Saturday, Sept 8, 2007, at Mt Olive Missionary Baptist Church, 2105 N. Georgia Road, Crystal River, with Pastor Al Hopkins officiating Public view- ing will be held from 1 p.m. to 7 p.m. Friday, Sept 7,2007, at New Serenity Memorial Funeral Home and Cremation Services, 713 N. 5th Terrace, Crystal River. Interment will be at Crystal Memorial Gardens, Crystal River Charles R. Weinberger. Funeral services for Charles Ralph Weinberger, age 69, of Homosassa, will be conducted at 11 a.m. Monday, Sept 10, 2007, at the First United Methodist Church of Homosassa with Pastor Mark Whittaker officiat- ing. Burial with military honors will follow at Florida National Cemetery, Bushnell. Family will receive friends from 6 p.m. until 8 p.m. Sunday, Sept 9, 2007, at Wilder Funeral Home, Homosassa Springs. Memorials may be given to The American Cancer Society. SO YOU KNOW * Obituaries must be sub mitted by licensed funeral homes. * Obituaries and funeral notices are subject to editing. * Recent photos are wel- come * Call Linda Johnson at 563. 5660 for details. I 725594 I Associated Press WASHINGTON - Toddlers may act up like little apes, but researchers who compared the species concluded a 2-year-old child still has the more sophisti- cated hid- den. In a novel study, scientists lured 106 chimpanzees, 32 orang- utans and 105 toddlers to sit through five hours of testing over several days. Researchers were trying to tell which innate abili- ties are distinctly human. "Human children are not over- all more intelligent than other primates, but instead have spe- cialized skills of social cogni- tion," concluded the lead researcher, Esther Herrmann of Germany's Max Planck Institute for Evolutionary Anthropology. 'They learn in a way that chim- panzees Associated Press This undated handout video image provided by Esther Hermann shows an Ape correctly choosing which cup researcher Esther Hermann was hiding the banana in this physical cognition test designed to compare the intelligence of apes and small children. Apes performed better at spatial tasks while 2.5-year-old children scored better at understanding non-verbal instruction. their actions. In that work, the animals sought out food containers that a researcher had grasped pur- posefully, not just tapped, or a container that he had touched with his elbow when his hands were full, but not one elbowed when his hands were empty. The chimps and monkeys expected someone to behave rationally and adjusted their own actions accordingly, accord- ing. Comparing innate abilities can shed light on the evolution of human cognition. Rather than studying one abil- ity at a time, Herrmann and col- leagues devised a battery of tests Cau. f.'. �. 2^av7 Funeral Home With Crematory BILLIE BARKLEY View: Fri., 10am Service: Fri.,l am - Chapel DANIEL HOYT Private Cremation Arrangements ALTHEA RISEDORF View: Sat.. 1pm Service: Sat.,2pm-Chapel BENJAMIN R. JONES Private Cremation Arrangements FLORENCE FIELD Service: Mon., 11am View: Mon.. 10am GERARD BARNEY Private CremationArrangements 726-8323 7222 learn- ing - communication, imitation and gauging intent from behav- ior special- ized social skills more than gen- eral intelligence explain why humans learn more, in complex cultural groups, than do other primates. But to de Waal, the preschool- ers just had to imitate another human to pass these tests, while the apes had to imitate a stranger of another species, a higher hur- dle. Herrmann chose orphaned apes raised around humans to minimize those concerns. Other studies have found that chimps pass similar social-learn- ing tests when they know the human tester well or when a fel- low chimp is trained to adminis- ter the tests, which is the method Yerkes now uses. Social learning is "maybe not as a perfect as in humans, but it's very well-developed," de Waal said. HEINZ FUNERAL HOME & Cremation WEEKLY AQUATIC SPRAY SCHEDULE FOR CITRUS COUNTY Citrus County's Aquatic Services Division plans the following aquatic weed control activities for the week beginning September 10, 2007. HERBICIDE TREATMENTS Hernando Pool Floral City Nuphar / Lotus Pennywort / Tussocks / Paspalum a Division of Aquatic Services \�7/ Louise A. Potocny, GFWC Women's Club officer A memorial mass will be celebrated at 11 a.m. Saturday, September 15, at Lady of Grace Catholic Church in Beverly Hills, for Louise A. Potocny, who died August 31 at Citrus Memorial Hospital in Inverness. She was 82. She was born in Brownsville, Pennsylvania, daughter of the late Paul and Anna Hornyak. She moved as a child to New Britain, Connecticut, where she and her husband raised their family of five children before retiring to Beverly Hills in 1987. Louise was a member of Lady of Grace Catholic Church where she sang in the choir. She had been active for 15 years with the GFWC Women's Club of Beverly Hills and was 2nd vice president at the time of her death. As part of that group she helped to raise funds to build a Boys and Girls Club in Beverly Hills and worked on the Citrus County Field Day. She was also a volunteer at the Central Ridge Library and the Citrus Art League. She and her late husband were members of the Rainbow River Club. She and her husband of 52 years, Stephen J. Potocny, traveled all over the world. They climbed the Great Wall of China and visited Japan, the Soviet Union, Europe and South America. He preceded her in death in 1999. She is survived by five children, eight grandchildren, and one great-grandchild who live in Connecticut, Virginia and Michigan and many friends in Beverly Hills. CITRUS COUNTY (FL) CHRONICLE David Heinz & Family 341-1288 Inverness, Florida Our Family Serving Your Family qts�/1rickland Funeral Home and Crematorv Since 1962 352-795-2678 * 1901 SE HWY. 19 * CRYSTAL RIVER, FL 34423 CITRus COUNTY (FL) CHRONICLE WATERS Continued from Page 1A by calling County Aquatic Services at 527-7620 and part- nering up with a local company that is participating in the clean- up. If you can't get in touch with a company, people are more than welcome to start their own group. Partners in this year's SOWW include Citrus 20/20, a nonprofit, citizen-based community organ- ization, along with the Florida Department of Environmental Protection, Southwest Florida Water Management District, Citrus County Government, the Citrus County Chronicle and Progress Energy. Scheduled activities include: * 6 p.m. Friday, Sept 14 Citrus 20/20 & Save Our Waters Week Fundraiser Dinner Dinner at 7 p.m. fol- lowed by "Know Where It Flows" play created by Mac Harris and vocal and dance music provided by Debi-G. Cost: $35 per person. For ticket pur- chase and more information call 527-0800 or 344-5955. * 8 am. to noon Saturday, Sept 15 Adopt-A-Shore and Professional Association of Diving Instructors Clean Up. Countywide. Call County Aquatic Services at 527-7620. * Saturday, Sept 15 after clean up Appreciation cookouts for vol- unteers. East side: Lake Hernando Beach, sponsored by Apopka Marine. West side: American Pro Diving Center, sponsored by American Pro Diving Center. * 3 and 7 p.m. Saturday, Sept 15 with important Florida water issues. Call 563- 0540 for information. Free. * 1:30 to 6 p.m. Sunday Sept 16 Nature Coast Volkssport Guide Hikes. 5/10km hikes. Starting point is Fort Cooper State Park $1 per person/ $2 car- load. Call 628-4543 for informa- tion. * Monday, Sept 17 Kayaking with Matt Clemons. County Boat Ramp at Pirates Cove, Ozello. Call 795-5650 for times and registration, or visit /eregistration.html. $10 per per- son. M 9 a.m. to noon Tuesday, Sept 18 Homosassa River Springs Tour. Starting Point: River Safaris, 10823 W Yulee Dr., Homosassa Springs. Call 628- 5222 for reservations. Capacity: 30 persons. Free. * 6 p.m. Wednesday, Sept 19 "Our Waters in Jeopardy" Interactive game with local high schools competing on water issues using the Jeopardy game format. Jerome Multi- Purpose Room, Central room, Central Florida Community College, Citrus Campus, Lecanto. Public invited. Call 527-7648 * 8 am. to noon Thursday, Sept 20 Crystal River Springs tour. Starting Point: Fort Island Trail Park Call 7954393 for reserva- tions. Capacity: 40 persons per tour. Free. * 8:30 and 10 a.m. Thursday, Sept 20 Crystal River Eco Water Taxi Tour Starting Point: Third St Pier (267 N.W Third St, Crystal River). Call 564-9197 for reserva- tions. Capacity: 40 persons per tour. Free. * 8 a.m. Friday, Sept 21 Kayaking with kayaks and beyond. Launch from Hunter Springs. Kayaks will be avail- able to use for the clean up. Call 795-2255 for directions and reg- istration. Free. * 9 to 11 a.m. and noon- 2 p.m. Saturday, Sept 22 Fort Cooper State Park and Florida Park Service "Muck About" Call 726-0315 for infor- mation. Public invited. m 4-9 p.m. Saturday, Sept 22 Sunset Festival. Fort Island Trail Pier at Fort Island Trail Beach. For more information call Parrot Heads of Citrus: Jimmy Brown at 795-909. MOURNED Continued from Page 1A demonstra- tion clo- sure overnight, until shortly before the funeral. Authorities planned for a massive outpouring of grief: Giant television screens were to be set up near the cathedral where Italian Premier Romano Prodi, among others, would pay their final respects. From the world of music, COUPON REX COUPON COUPON COUPON *SOOA" $200a w , Low P 2999 $2OOoI$999 Our Everyday Low Price Our Everyday Low Price $1999 on any Single Item and Uon any Single Item to 2998 i Not Applicable to Prior Salo * Limit 1 Coupon Per Purchase * Expires 9/8/07 Not Applicable to Prior Sale * Lmit 1 Coupon Per Purchase * Expires 9/8/07 --------------- -------- - COUPON fMEN COUPON COUPON REf COUPON o . t $1499 999 Our Everyday Loveryday Low Price 4 on any Single Item to199 on any Single Item to $1490 Not Applicable to Prior Sale oLimit 1 Coupon Per Purchase * Expires 9/B/07 Not Applicable to Prior Sale L Umit 1 Coupon Per Purchase * Expires 9/8/07 r -- --- COUPON REX COUPON COUPON REX COUPON: S799 $499 Our Everyday Low Price Our Everyday Low Price on any Single Item to $99 on any Single Item to s98 Not Applicable to Prior Sale * Limit 1 Coupon Per Purchase* Expires 9/8/07 Not Applicable to Prior Sale * Limit 1 Coupon Per Purchase * Expires 9/8/07 16------ wa- - - - ------- cCOUPON COUPON COUPON I '11""%/off, r E w249 1 Ou Ep $.248and our Everyday Low Price Our Everyday Low Price Underi S on any Single tem to 49 II on any Single Item nd NotApplicable o Pri S eal mitl Coupon Per Purchase Expires 9/807 I Not Applicable toPrior Sale mi Coupon Per Purchase. Ex-pires 9/8/07 I.--------------------------- '---------J------------J PLASAIA TVs * * tenor Andrea Bocelli planned to sing the hymn "Panis angeli- cus" at the service, the ANSA news agency reported. Within hours of Pavarotti's death, Modena authorities had posted information on the city Web site detailing the extraor- dinary public transport servic- es that would be put in place to help get mourners from park- ing lots to the city center for Saturday's service. Amid an outpouring of trib- utes, the Vienna State Opera raised a black flag in mourning and the Guards band at Buckingham Palace played Pavarotti's signature aria "Nessun Dorma" at the Changing of the Guard ceremo- ny. In his heyday, Pavarotti was known as "the King of the High C's" for his ease at hitting the top notes. The Venezuelan soprano Ines Salazar recalled hearing him warm up back- stage clas- sical artist, with more than 100 million records sold since the 1960s, and he had the first clas- sical album to reach No. 1 on the pop charts. U2 frontman Bono said Pavarotti was "a great volcano .1 MICROWAVES * * 8oper' ROPER 1.4 CU. FT. 950-WATT OVER- THE-RANGE MICROWAVE OVEN WITH TURNTABLE, 10 LEVEL $129 VARIABLE COOKING AND -13 2-SPEED EXHAUST FAN #MHE14XMQ After $ 64 Coupon I I DEHUMIDIFIERS WHIRLPOOL 25-PT. DEHUMIDIFIER WITH ADJ. HUMIDISTAT - Energy Star Compliant * Accu- Dry� System EZ-EmptyT Bucket. Bucket Ful $ 09 Indicator Light - Direct Drain Hose Connection. -11 . . #AD25BSR After e Coupon 9 ES CAR STEREOS * * PIONEER 200-WATT MAX. POWER CD RECEIVER W/SUPERTUNERE IIID9TM, CD/MP3/WMA/WAV PLAYBACK, DETACH. FACE SECURITYT -10 AND CARD REMOTE #DEH-1900MP After 9 Coupon 89 FRIDAY, SEI'TIMBi:Ii 7, 2007 7A fos- tered to Spanish tenor Jose Carreras, who said Pavarotti had supported him in moments of difficulty, including his battle with leukemia. Some would argue opera owed itself to "Big Luciano." S SUNDAY 12pm-6pm LABOR DAY 11am-5pm * DAILY 10am-8pm LABOR DAY coupDO" SALE AIR CONDITIONERS ** ** * ** AMANA 5,200 BTU ULTRA AMANA 10,000 BTU A/C WITH QUIET AIR CONDITIONER 3-SPEED FAN, UV AIR SANITIZER, WITH 2-SPEED FAN AND DIGITAL TIME & TEMPERATURE TOP DISCHARGE AIRFLOW DISPLAY & ELECTRONIC REMOTE SEasy Access Washable Filter 99 24-Hor On/Off Timer 249 -EnviroCleans Coil - Easy � - Ultra Quiet Operation $ To Install Mounting Kit. 10 Top Discharge Airflow. -30 #ACA057F * 9.7 EER #ACD106R * 10.0 EER - After$09oA fterS219 Coupon % Coupon -w-- ---A-. A I LCD I11)1Vs WIDESCREEN PLASMA HDTV WITH HITACHI 50" WIDESCREEN PLASMA SURROUND SOUND, SD MEMORY HDTV WITH PictureMaster'" HD IV SURROUND SOUND, SD MEMORY VIDEO PROCESSOR, CARD SLOT, 2 HDMIT $188 3 HDMI' INPUTS 1838 INPUTS & 10,000:1 S i S 1 CONTRAST RATIO -100 & TABLETOP -150 , 1 STAND Afte $ 1088 Aftr^ *888 Coupon *10 Coupon W W PANASONIC 50" PLASMA HDTV...... '1838-150=s1688 Aner Coupon HITACHI 42" PLASMA HDTV...... *1087-100=*987 After Coupon PROJECTION TVs ********* SONY 46" WIDESCREEN LCD PROJECTION HDTV WITH 3 LCD TECHNOLOGY, SRS $ lu099 TruSurroundT XTT -100 & 2 HDMIT" INPUTS ft $ After 999 Coupon SONY 55" LCD PROJ. HDTV...... *1549-150=61399 After Coupon HITACHI 50" UltraVisiont LCD PROJECTION HDTV WITH MTS STEREO/SAP WITH dbxc, SPLIT-SCREEN PIP $1099 & HDMI' INPUT -100 -100 After $sQQ Coupon v'aw DVD PLATERS **.******** PROGRESSIVE SCAN DVD PLAYER '22 WITH DVD/CD/CD-R/CD-RW -3 PLAYBACK, DOLBY� DIGITAL & REMOTE After $*Q Coupon 7" WRJIDlCCbDC E E " PORTABLE DVD PLAYER .,jA' [ ..... L,- . L. .U.^ WITH DOLBY� DIGITAL DECODING & DVDI DVD+R/DVD+RW/ PROGRESSIVE SCAN DVD RECORDER/ CD/CD-R/CD-RW PLAYER WITH AUTO INDEXING, 66 PLAYBACK 99 -- FRONT AN INPUTS AND $ 5 RECORDING SPEEDS -7 -10 After $59 After$ - Coupon Coupon 89. AUDIO IH-FI ******** * SHERWOOD 210W TOTAL POWER- AMIFM STEREO RECEIVER WITH ALL PIONEER 550-WATTS 5.1 CHANNEL AN/V DISCRETE AMPS, 5 AUDIO 1 RECEIVER W/SOUND RETRIEVER, INPUTS & 25-KEY REMOTE 109 DTS� 96/24/DOLBY� PRO LOGIC II18 #RX4103 .11 DECODERS & WMA9 PRO -19 -Aftr $ #VSX-517K Coupon 98 169 I After Coupon SONY 1000W 5.1 CHANNEL BRAVIA� HOME THEATER SYSTEM WITH HDMIT UPCONVERSION, DIGITAL MEDIA PORT & DIATTM $399 WIRELESS REAR - SPEAKERS -30 #DAV-HDX267W After$ i Coupon V369 CRYSTAL RIVER MALL STATE ROAD 44 [Panasonic PANASONIC 1-.", 1200W TOTAL POWER HOME THEATER SYSTEM W/2 HEIGHT-ADJUSTABLE TOWER SPEAKERS, 2-WAY $429 WIRELESS READY AND DOLBY� DIGITAL/DTSI -30 PRO LOGIC II $399 #SC-HT940 After W Coupon BUSINESSES, CONTRACTORS OR SCHOOLS CALL: 1-800-528-9739 7J CRYSTAL RIVER 2061 NW HWY. 19 1/2 Mile North Of Crystal River Mall 795-3400 CO(Lc AMANA 15,000 BTU AIC WITH 3-SPEED FAN, UV AIR SANITIZER, DIGITAL TIME & TEMPERATURE DISPLAY & ELECTRONIC REMOTE S24-Hour On/Off Timer $379 * Ultra Quiet Operation * Top Discharge Airflow. "30 #ACE156E - 10.7 EER -ftr 349 After $3 Coupon OR TVs ***** SONY 34" 16:9 WIDESCREEN FD TRINITRON� WEGAT XBR FLAT SCREEN HDTV W/ATSC DIGITAL TUNER, DOLBY� DIGITAL AND $649 HDMI - INPUT ,'50 After $ Coupon599 CAMCORDERS * * * * CANON MiniDV DIGITAL CAMCORDER WITH DIGITAL STILL CAMERA, - WIDESCREEN RECORDING, 35x OPTICAL/1OOOx DIGITAL ZOOM, 2.7" LCD SCREEN AND 1.07 $329 MEGAPIXEL ,, . CCD _ -30 After 299n Coupon 2 e-o VIDEO COMBOS * * -.....----.. TOSHIBA 24" FLAT SCREEN -- .' TViDVD PLAYER COMBO WITH DIGITAL PICTURE pl '- . ZOOM, DOLBY� DIGITAL/ L3 ''. * DTS, JPEG VIEWER '279 & WMAIMP3 S PLAYBACK -30 TOSHIBA f CtoA. S249 TOSHIBA 14" TV/DVD....$155-16=$139 After Coupon FRIGIDAIRE 1.5 CU. FT. STAINLESS STEEL OVER-THE-RANGE MICROWAVE OVEN WITH 11 VARIABLE POWER LEVELS, ONE-TOUCH COOKING, POPCORN SENSOR & 14" GLASS TURNTABLE aFlMV 156C'C FRIGIDAIRE STAINLESS STEEL ELECTRIC RANGE WITH 5.3 CU. FT. SELF-CLEANING OVEN & UPSWEPT CERAMIC COOKTOP C-,,i Pai3'r.r Er-T.r .I; r EI Ula L r 6', G j '. ,: *. ' *I..> - clrir.:.r,,.. i ... ..;:. l;v.:. ar narEa h '.: FRIGIDAIRE 26 CU. FT. SIDE-BY-SIDE WITH PureSource" FILTER & CRUSHEDiCUBED ICE & WATER DISPENSER ,- i erj t' ,1 fl i:,l Cl i , e.l. - , . 1. : .. - :, i i FRIGIDAIRE STAINLESS STEEL BUILT-IN S, DISHWASHER WITH 5-LEVEL PRECISION WASH SYSTEM', BIG TUB" DESIGN & 100% FILTERED WASH WATER SUitraoQulal lir insuli n P* * **Enrg., nStanl Cimpl.i.1 SSlaillne'': tlI F,:. .: ,: , np ,e E,: APPLIANCES ES**** D^oper'1 Roper ROPER SUPER CAPACITY 3.2 CU. FT. WASHER WITH 7 CYCLES, 2 SPEEDS & 3 WATER LEVEL SELECTIONS - 3 Temperature Settings . Bleach $299 Dispenser - Delicate Cycle 2 , Permanent Press Cycle. -30 #RTW4300SQ After $269 Coupon ROPER EXTRA LARGE CAPACITY ELECTRIC DRYER WITH 3 CYCLES & SIDE SWING DOOR - Top Mounted '219 Lint Screen. #RED4100SQ -22 After $197 Coupon. 197 ~Se FRIGIDAIRE 16.5 CU. FT. REFRIGERATOR-FREEZER W/GALLON DOOR STORAGE * 2 Sliding Shelves * Twin White Crispers - Static Condenser $399 - White Dairy Door. #FRT17B3AW -30U WHIRLPOOL ELECTRIC RANGE WITH 4.8 CU. FT. CAPACITY OVEN & BALANCED BAKET SYSTEM * Upswept Porcelain SpillGuardT' Cooktop * Full Width Storage $279 Drawer - Chrome Drip Bowls. #RF110AXSQ -30 A "orI'his E OR:RIINHEK OLCY Ocaioaly ueToUnxpctd emndCase B Or owPfce O DlaedSuplerShpmnt, e unOu O 36U.:: dvrtse Secal. hul TisOcur UonRqustWeWil lalyIsu Yu R~nhek.N DalrsPlaS. e eere heRihtToLii MASNAVgN| MAGNAVOX 32" FLAT SCREEN DIGITAL TV WITH ELECTRONIC PROGRAM GUIDE, ACTIVE CONTROL & INCREDIBLE SURROUNDS *329 -30 After $ Q Coupon 9 26" WIDESCREEN LCD HDTV WITH 1366x768 RESOLUTION, 1200:1 CONTRAST $549 I RATIO, SURROUND i SOUND & HDMIT -50 INPUT $Aft Coupon 499 32" LCD HDTV......$649-50=$599 After Coupon TOSHIBA 32" WIDESCREEN REGZA� LCD HDTV WITH TOSHIBA PixelPure 3GTm, DOLBY� DIGITAL, 8ms CineSpeedTM, ' - 3 HDMI'" INPUTS '879 & PC INPUT 80 After $799 Coupon .799 .. MAGNAVOX 42" WIDESCREEN IMAGNAVC)I LCD HDTV WITH ATSC/QAM TUNER, VIRTUAL DOLBY� SURROUND, HDMIT INPUT, MULTIPLE A/V INPUTS, SMART PICTURE $1099 ' . I & SOUND -100 Coupon$999 SONY 46" 16:9 BRAVIATM S. * . LCD HDTV W/ATSC DIGITAL .if ' TUNER, HDMI" AND PC ' INPUTS, SRS� TruSurroundTm ' XT, DIGITAL AUDIO a.. AMPLIFIER AND LIGHT SENSOR '2099 -200 ..- ,~ CAfter 1899 Coupon 1899 4-piece FRIGIDAIRE kitchen - - --- - .mfl.4 -II? k.:LUAL!WLATYS _PAY LESS *r^t I ------------------------- -w-A.- * * * * * * * * LikWomm, I iA RIAYSETEMER7, 00 INT____W__DITUSOUYFLCHONCL Baby giant \4, ' _2.'!j 4. at . ,:," ..,:,; -. v ,. . . ,p i "AO Associated Press WASHINGTON - Scientific sleuths have a new suspect for a mysterious affliction that has killed off honeybees by the bil- -lions: a virus previously unknown in the United States. --s The scientists report using a novel genetic technique and old- fashioned statistics to identify Israeli acute paralysis virus as the latest potential culprit in the widespread deaths of worker 'bees, a phenomenon known as 'colony collapse disorder Next up are attempts to infect honeybees with the virus to see if it indeed is a killer ";'At least we have a lead now ,we can begin to follow. We can ,use it as a marker and we can Kuse it to investigate whether it does min act cause disease," said Ibr. W lan Lipkin, a Columbia ULnin ersity epidemiologist and 1co-author of the study. Details oippear this week in Science ,Express, the online edition of 4the journal Science. Experts stressed that parasitic inites, pesticides and poor nutri- tion all remain suspects, as does the stress of travel. Beekeepers shuffle bees around the nation throughout the year so the bees can pollinate crops as they come into bloom, contributing about $15 billion a year to U.S. agricul- ture. The newfound virus may prove to have added nothing more than insult to the injuries bees already suffer, said several experts unconnected to the study. "This may be a piece or a cou- ple of pieces of the puzzle, but I certainly don't think it is the whole thing," said Jerry Hayes, chief of the apiary section of Florida's Agriculture Department Still, surveys of honey bees from decimated colonies turned up traces of the virus nearly every time. Bees untouched by the phenomenon were virtually free of it That means finding the ,virus should be a red flag ihat a hive is at risk and merits a quar- antine, scientists said. "The authors themselves rec- ognize it's not a slam dunk, it's correlative. But it's certainly more than a smoking gun - more like a smoking arsenal. It's very compelling," said May Berenbaum, a University of Illinois at Urbana-Champaign entomologist who headed a recent examination of G6LF AMERICA Pro Shop & Clearance Center Monday-Saturday 9-6 * Sunday 10-4 pR E $0 Gift Certificate to first F RE E25 paying customers daily! ir~~~~~ 1. .1 1y~JEI~~q _ - - ________- ORLIMAR PACKAGE DEAL Irons, Woods, Hybrid Putter, Bag, Head Covers $3499 set HUGE SELECTION * ASSORTED Drivers * Hybrids * Putters Fairway Woods & Wedges $99 to 299 ASSORTED PACKAGE DEALS Best Selection & Price Ever! Irons, Woods, $4 lQg99 Putter, Bag, Etc. I & up BI DISCUN Now 2 Great Locations To Serve You I 145Dr KJ. Bv. WConr17 AC 8 (Behind TireKndm Bhn coads 3236-87 352245103 *1 I~* *~*~ ~ ~ .. - decline in honeybee and other pollinator populations.. Colony collapse disorder has struck between 50 percent and 90 percent of commercial honey- bee hives in the U.S. That has raised fears about the effect on the more than 90 crops that rely on bees to pollinate them. Scientists previously have found that blasting emptied hives with radiation apparently kills whatever infectious agent causes the disorder That has focused their attention on virus- es, bacteria and the like, to the exclusion of other noninfectious phenomena, such as cell phone interference, that also are pro- posed as culprits. The earliest reports of colony IN EDUCATION 70 50 collapse disorder date to 2004, the same year the virus was first described by Israeli virologist Ilan Sela. That also was the year U.S. beekeepers began import- ing bees from Australia - a practice that had been banned by the Honeybee Act of 1922. Now, Australia is being eyed as a potential source of the virus. That could turn out to be an iron- ic twist because the Australian imports were meant to bolster U.S. bee populations devastated by another scourge, the varroa mite. Officials are discussing rein- stating the ban. In the new study, a team of nearly two dozen scientists used the genetic sequencing equiva- lent of a dragnet to round up sus- pects. The technique generates a list of the full repertoire of genes in bees they examined from U.S. hives and directly imported from Australia. - Nation/Word Girls' suicide rates spike, officials say ATLANTA - The suicide rate among preteen and young teen girls spiked 76 percent, a disturbing sign fall- en by 28.5 percent since 1990 among young people. Angry monks take officials captive YANGON, Myanmar-- Buddhist monks seized government officials and burned their vehicles Thursday in an angry response to soldiers manhandling them during a protest against rising prices in Myanmar, witnesses said. Using force against the country's highly respected monks infuriates ordinary people, making such unrest one of the military govern- ment's greatest fears. Hundreds of protesting residents surrounded the monks' monastery in the northern town of Pakokku, delaying the offi- cials' release for hours and forcing them to leave through a back door. "Bystanders cheered as the monks torched the cars one by one," a local activist who witnessed the events said when contacted by telephone. Truckers at borders protest program LAREDO, Texas - Dozens of truckers protested at border cross- ings in Texas and California on Thursday, denouncing as danger- ous and unfair a pilot program allowing up to 100 Mexican trucking companies to transport cargo any- where in the United States. high- ways. When do we want them? Now!" they chanted. The U.S. Transportation Department was expected to begin issuing operating permits in the pro- gram as early as Thursday. As of Thursday morning, 38 Mexican firms were poised for U.S. permits, said Melissa Mazzella DeLaney, a spokeswoman for the Federal Motor Carrier Safety Administration. - From wire reports Pa69e Print Pl ..ea Print * Owner's Name I Pet Name I Address I Phone - - - - - m - - -mm Please mail to: Citrus County Chronicle Attn: NIE 1624 N. Meadowcrest Blvd. Crystal River, FL 34429 I c i,4"kii� J �' I Eal. I Associated Press In this photo released by the San Diego Zoo, Geoff Pye, San Diego Zoo senior veterinarian, examines a 26-day-old giant panda cub Thursday in San Diego. Pye said the cub is a healthy 36 ounces, but was not ready to announce if it is male or female. The giant panda cub is not yet developed well enough physically to clearly determine its sex. Following Chinese tradition, the cub, born Aug. 3 at the San Diego Zoo's Giant Panda Research Station, will receive a name when it is 100 days old. Virus called chief suspect in bee deaths Bridge Classes by Pat Peterson Free Bridge lessons Starts Monday, September 17. Learn to play bridge. A new "mini-bridge" class for beginners Bridge Basics for Beginners A 4-5 week course starting on October 8, 2007 Mondays from 9-11. Information on both classes call Pat (746-7835) New 299'ers Bridge game for 0-299 players starts October 18, 2007 at 10:30 at the Italian Social Club on 486 in Hernando. Call Ron for information (341-6856) Who will be the next Citrus County / To enter, simply fill out the form below and return it with your favorite pet photo and a $10 Entry Donation. / Deadline for entries is 5:00 PM, Sept. 26, 2007. / Voting begins Oct. 1 through Oct. 7, 2007. / Votes are 250 each or 5 for a $1.00. Vote as many times as you like! Pictures will not be returned MUM, MORIMM I1 pp- I SA FRiDAY, SEPTEMBER 7, 2007 Onus Comy (FL) CHRONICLE 1*4AjrxoN/W4oRjLi3o I ....... ..UN.. (-FL) H... ...... .. . ... . =- - .. . 'L. to the Editor Just slow down No one is trying to eliminate boating, jet-skiing, or "best activities" at Kings Bay, as Gene A. Christie infers (Aug. 31). Florida has an abundance of waterways - rivers, lakes, canals, and the mammoth Gulf of Mexico, where there are no speed restrictions and no manatees. Few waters are warm enough for these amaz- ing creatures to healthfully abide and these habitats must be kept safe for the manatee to survive and prosper. I fail to understand why it is necessary for boaters to race carelessly through any area the manatee inhabits and why it seems such an inconven- ience to slow down to a cau- tious speed to keep from injur- ing or killing these creatures. It's not only a matter of respect for our wildlife, but something every intelligent person should automatically do. "Manatee Museum" sounds much better than "Madman's Massacre of Manatees." And, for what? A few minutes of unnecessary high-speed boat- ing? You might be surprised, Mr. Christie, at how many peo- ple don't appreciate the crazi- ness of uncaring boaters, the overcrowded, noisy bay area along with the confusion and unsafe atmosphere to more than just manatees. There's nothing wrong with enjoying the view, treasuring the peacefulness, and truly taking the time to move through these congested areas slow enough to allow the man- atee to avoid damaging pro- pellers. For those who desire speed and gain pleasure and excite- ment by it, I say enjoy life to the fullest. But please - not at the expense of others who pre- fer life in a calmer sense and, mostly, not at the expense of innocent, defenseless crea- tures who can't get out of the way of an intruding blade and depend on human beings to protect them from what shouldn't be an issue in the first place. I realize the opportunities and fun to be had on our won- derful waters. I also realize there's a time and place for everything, right and wrong such as boating slowly to safe- guard Florida's manatees. Be glad you have the ability to leave and go somewhere else. Manatees are sadly left to fate at the hands of mankind, selfish or sympathetic. Joanie Welch Inverness Citrus County Courier Airport Transportation 5541 726-3931 'fE-1 Despotic rul It's ironic the day tha Alberto Gonzales has c to step down as attorney eral is Sept. 17, Constit Day, since he and Pres Bush, throughout their consistently undermine terms of the Constituti This year will mark 2 anniversary of the sign the U.S. Constitution. L all hope that we as a nz never again see despot George W Bush, Richa Cheney, Alberto Gonzal Donald Rumsfeld, Geo. Tenet, Paul Wolfowitz, "Scooter" Libby, Karl I and Harriet Miers. The their best to destroy th of law by doing away w search and seizure, hal corpus, sanctioning tor and wiretapping. Base( Constitution, this prese White House administer has disgraced what thi, try is supposed to stance L.M. IE Last resort This is an answer to for others" letter from Dexter, July 25. Barbara, you sound warm and caring person would like to point out you make the assumpt: all who resist the crimi tion of abortion are pr tion. Most women wou that seeking an abortion their last resort and th nize about the decision Forcing women to be dren as a result of rape incest is doing violence the mother and child. T ing hell I spoke of was: the parents, but for the dren who do not have t tional and physical sup they deserve and indeed bear unspeakable abus society, although there many good and caring ] such as you, we do not quately support our far and children. Criminalization of at is not pro-life. Pro-life ensuring that every co: tion is carried to birth, providing every child I with the loving care th allows them to reach t] potential. It means not tizing pregnancy so tha teenage girls are so fea being disowned or toss of their families that th birth in restrooms and their babies in dumpst This is desperation, ca misguided morality, no al decision-making. ers at hosen ;y gen- ution ident tenure, ed the on. 220th ing of jet us action ts like rd les, rge Lewis Rove y tried e rule 'ith beas ture d on the ent ration s coun- d for. Pro-life is providing safe and nurturing childcare. Pro-life is not begrudging welfare for those families who need help. Pro-life is ensuring a living wage in order that children can be supported adequately Pro-life is sex education that teaches males that females are not prey, that women deserve respect and that with sex comes responsibility. Let's provide access to RU- 486 to prevent conception. Let's teach parenting skills in school. Let's provide a pro-life environment for our children and families. Maybe the choice for abortion will no longer be necessary Making abortion illegal does not stop abortion; it just pun- ishes women, especially poor women for having an unsanc- tioned pregnancy that they are not always able to prevent. Think about it. Jo Darling Lecanto Lecanto Change the course? The rhetoric about Iraq and t the surge don't mean anything. "Ca. Two actions by Congress are Caring required to change the course: It must pass a bill for a new ike a plan and send it to the presi- , but I dent, along with the supple- nhat I mental funding and no pork ion that Then, 67 senators must vote inaliza- for it again to overcome the veto. o-abor- If the members of Congress ld say won't do that, I wish they )n is would quit talking about Iraq ey ago- and just give the president i. what he wants until 2009. ar chil- Congress has talked about and doing a lot of good things, but to both has just run up trillions in the liv- debt, voted for annual raises not for and not actually done much for chil- the betterment of our country he emo- Passing a bill for a new plan )port for Iraq would be a big -d often change. It seems that the new 3e. As a plan needs to contain several are elements: people, 1. Announce that we will not ade- occupy Iraq and will start miles removing at least 5,000 troops and 3,000 contractors per abortion month starting now. is not 2. Announce that we don't S itcepis want troops in the Middle born East. We just want it to be at peaceful and to eliminate ter- heir full rorist organizations and we t stigma-want to meet regularly with all at gma countries to determine how arful of best to accomplish those sed out objectives, which they should hey give leave ters. used by t ration- Sunday, September agree with. 3. Announce that we believe in democracy and peoples' freedom, but that democracy (as we know it) might not work now in Iraq because of the his- toric hatred between Sunni and Shiite exacerbated by the lengthy Saddam dictatorship, the fact that Shiites have so many more votes and resolv- ing the distribution of oil money among the neighbor- hoods. So, we want to hold daily meetings among Rice, Gates, our ambassador and three influential leaders from each of the three sects - for as many days as it takes to work out the details for a govern- ment that will work for all of the citizens within the bound- aries of Iraq whatever that may be. It could be along the lines suggested by Sen. Biden. I just hope that they will pass legislation to change the course in Iraq before Oct. 10. Jack R. Ritchey Crystal River Clearing things up This letter is to clear up a recent news article that stated that I said the city of Crystal River has been padding its reserves for years. That is what I said, but the article might be construed that I felt it was intentional. The continued increase of the reserves in the city of Crystal River has been caused by sloppy and ultra-conserva- tive budgeting. Staff always wants to run a surplus. A deficit has to be explained. Some council members do not understand that when you overestimate expenses and underestimate revenues, those differences create extra taxes for the taxpayers. The city has run several years with very large surpluses and is looking at another sizable surplus for the current year. It looks like $500,000-plus. All that money does is sit in the city's coffers. An example of sloppy budgeting is the budget for this year (FY '07) interest earnings in the amount of $66,000. That figure was used even though the actual figure through the date of that first budget presenta- tion was $174,000. That was for a period of nine months. The projected actual (final) for the current year (FY '07) is All About Baths $260,000. That error alone caused the taxpayers to pay almost $200,000 more than they should have. That amounts to 4/10ths of a mill that we could have reduced our current millage by Hopefully, the Crystal River City Council will attempt to get these numbers more accurate and stop over-taxing the resi- dents. Our reserves are so high, I am trying to get the city council to give $500,000 back. Phillip W. Price Crystal River Good neighbor My wife and I have lived across the street from the Cedar Key Fish and Crab Co. for 10 years. We, along with our other two neighbors, who are directly affected by the impact of the tiki bar, have no objection to it being there. The owner, John Lawson, has been a good neighbor since he's been here. There has been a lot said about neighborhood com- plaints about the tiki bar, but no one has talked to us. We don't like people assuming 6ne person is talking for all the neighbors of the tiki bar. For the past five or six years, my wife and I have been clean- ing Boulevard Drive (county adopt-a-road program) as we really care about Old Homosas- sa. The tiki bar is a nice place for local people to get together. It closes at a reasonable time and we don't hear any exces- sive noise from there. We don't know anything about the zon- ing problems, but the county should have taken care of them before it opened instead of let- ting Mr. Lawson waste his time and money if they are going to try to close him down. We support Mr. Lawson and a lot of other people in Old Homosassa do. The motorcy- cle noise is all over Citrus County on weekends. What are we supposed to do? Ban motorcycles from the county? Bill Lutes Homosassa Space to comment It would be such a plus if your online Web site would allow an area to place comments on sto- ries in the Chronicle. I have been hearing about Michael Vick, listening to broadcasts from Neal Boortz, along with other news media about this NFL player. Comments regard his possible suspension, which now is apparently a fact. I have heard so much about the "betting" problem with his offense. I feel most reporters missed the mark when they placed most of the problem of being an NFL player on the betting situation rather than on dog fighting, but more importantly on the dog killing and the means by which these. dogs were destroyed. What I found most repugnant about Michael Vick, with all his talent, money and fame, he could stoop to the vile level he did when he went through the steps to hang some of these dogs. One would almost think that he was getting some sick type of pleasure from watching these hanging animals squirm and fight for their lives. I can only say at this time that what- ever punishment happens to Michael Vick, it will not be enough. It would have been kinder to put a bullet to their heads. I have no pity for this man, but when I read that he - had a 10-year contract for $130 million, no wonder our country is hated so much. It appears that we put our values in dollar amounts. However, in this case, I wouldn't give you 2 cents to even be in the same room with this repulsive person. Dawn Hupfer Crystal River __ J CATARACTT& ~.LIASER INSTITUTE "Excellence... with love" FREE HEALTH SCREENING In Association With: Jay D. Newcomer, OD Friday, Sept. 14th S Vision * Cataract , . Glaucoma Blood Pressure Eyeglass Adjustments IBeverly Hills Eye Clinic 3636 N. Lecanto Hwy., Beverly Hills For an appointment call: 352-746-0800 THE PATIENT AND ANY OTHER PERSON RESPONSIBLE FOR PAYMENT HAS A RIGHT TO REFUSE TO PAY, CANCEL AYMENT. OR BE REIMBURSED FOR PAYMENT FOR ANY OTHER SERVICES. EXAMINATION, OR TREATMENT THAT'S PERFORMEDASARESULT OF AND WITHIN 72 HOURS OF RESPONDING TO THE ADVERTISEMENT FOR THE FREE. N DISCOUNTED FEE, OR REDUCED FEE SERVICE, EXAMINATION. OR TREATMENT ,riiII~ 1' L LABOR DAY HOME EVENT Now, it's easier than ever to have the home furnishings of your dreams from your favorite brands - Tommy Bahama Home, Liz Clairborne Home, Nautica, Palmer Home, and more in bedroom, dining room, and great room Enjoy special savings now thru September 11 smart interiors 97 W. Gulf to Lake Hwy. Lecanto 5141 Mariner Blhd. Spring Hill 352-527-4406 352-688-4633 Opt' . n.-Fn. . .'n LJi "- Sll, u Sal )Il J Ii iv Finin. mg.t\ lablhh i, i.,,nti ,m, 4, , ,A Fm n ow FruDAY, SEPTEMBFR 7, 2007 9A Cmus CouNTY (FL) CHRoNicLE OPINION ILOA FRnAY. SEPTEMERun 7. 2007 STOCKS Crritns COUNTY (FL) CHROnmCLE MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg GenElec 381441 39.40 +.65 Pfizer 299119 24.62 -.09 WalMart 282153 42.76 +.31 FordM 274491 7.78 +.01 Chtgrp 265295 45.66 -.34 GAINERS ($2 OR MORE) Name Last Chg %Chg Voltlnfos -19.48 +4.19 +27.4 DoralFnrs 17.71 +1.90 +12.0 Buenavnt 43.13 +4.55 +11.8 Mastec 13.83 +1.27 +10.1 Agnicog 48.23 +4.07 +9.2 LOSERS ($2 OR MORE) Name Last Chg %Chg E-House n 19.82 -2.06 -9.4 JCrew 45.35 -4.35 -8.8 LandAmer 47.22 -4.37 -8.5 WPStew 10.13 -.83 -7.6 MagellMid 26.49 -1.81 -6.4 DIARY AdvanCeid Declined Unchanged Total issues New Highs New Lows Volume 1,226 104 3,404 39 32 2,742,261,593 MOST ACTIVE (51 O0 MORE) Name Vol (00) Last Chg SPDR 1163744 148.13 +.34 iShR2Knya 423548 79.03 +.02 SP Fncl 314744 33.35 -.25 PrUShQQQ 185829 43.02 -.17 SP Engy 179158 71.80 +1.08 GAINERS (52 OR MORE) Name Last Chg %Chg MarkWHy 59.45 +9.39 +18.8 ZBBEnn 3.86 +.59 +18.0 Taseko 4.56 +.53 +13.2 SeabGldg 28.29 +3.18 +12.7 GrtBasGg 2.51 +.28 +12.6 LOSERS (S2 OR MORE) Name Last Chg %Chg NeoStmn 4.47 -.53 -10.6 IntriCon 10.00 -1.05 -9.5 Simulations 12.95 -1.14 -8.1 PhrmAth 4.80 -.40 -7.7 Endeavwt 4.38 -.35 -7.4 DIARY A.3.an.: .1 Declined Unchanged Total issues New Highs New Lows Volume 465 86 1,286 21 12 442,282,570 MOST ACTIVE ($1 OR MORE) Name Vol (00) Last Chg SiriusS 1013684 3.21 +.07 SunMicro 987134 5.48 +.11 PwShsQQQ870884 49.14 -.04 Apple Inc 655843 135.01 -1.75 Intel 485192 26.15 +.16 GAINERS (52 OR MORE) Name Last Chg %Chg AlaNBcp 77.10 +23.98 +45.1 Cardica 11.24 +3.22 +40.1 SmarlBal wt 5.26 +.96 +22.3 HookerFu 20.59 +3.16 +18.1 GPC Biot 15.08 +2.27 +17.7 LOSERS ($2 OR ,MOAE) Name Last Chg %Chg LJ Int If 6.49 -1.46 -18.4 MACC 2.09 -.36 -14.7 Sharplmg 4.84 -.60 -11.0 CDCCpA 7.60 -.89 -10.5 SupTech 6.51 -.73 -10.1 DIARY Advanced Declined Unchanged Total issues New Highs New Lows Volume 1r 71 1,301 128 3,102 61 42 1,778,447,592 Here are r.e 825 riosT aciI.ea ccks on m e Ne, York. Stock Exchange, 765 most active on The NaEaaq Naicprnal Market and 116 most active on the American Siock Exchange STocks in bold are worth al least $5 and changed S percent or more in price Un~tarliiintg for 50 most active on NYSE and l asdaq and 25 most achve on AmeG Tables show name, p ce and net change and one io two additional Telds r:,tatied through the weeK as follows Div: Current annual dividend raTe paid on sick. oased or, latest quarlerly or semiannual declaration. unle.s otherwAlsea 3ootnoioed Name: Stocks appear alphaibeiically by the company's lull name (not uis abore.ialloni Names corniis0lng of iriiials appear at the beginning of eahn letter lir Last: Price stc.c.K vas trading al wnen Eex:nange close a To ine day Chg: Loss or gain for the day. No -haringre rndicateOd by ri S. Stock Footnotecc:.- PE grave, '. Yar-9 oCd a Pm t ...;,, . *:alsIEd 1lur 1- . , 1:�"E - - C ."C v.4 XPr , CA .,fl..1Ii i rhu J 22 :a .,i ar-j �l d rP. .i, iv plri:anicn r. vrr. has era r.*ii-, .a r,,it.&1.sjyuaa Tiv,, Ep ar. i6� ~u, -jaw ouniv 110T. P.e t.Api.,.,ir., ofT611 i .2 QI lP,i.Arreir~d .rucr pi Op 1-101-11 I,F*; IAPLAIITm.-ri.P. .1,rha:Ae cn-:6 q- C.ld.A.Od rr s -fub fj�-Jr.,PE cul Airt-in IN'dim (w, w Txi ra-l Ixi t,. 5a ris.~j .t.rnI.nrrp ;..Tr.1 ; ,x+1 1 ;"I rc,,1.-*5 ~ r.tu,c.5re.1 xi- 19635rr.l.5I.ar.jA ua ur.:.I a juxI v j- 1N.,s:v," P+ i,.; r. -lj.?f, :Iv,1 11"a"r,,. C-116 54 C. P9.. F Cui ir3. w ni b ur.%yC,, r.CO'., .h*u C.. Pr . rxu.0.ga, 1e-ju.,1 r INrPC borS rx5pi, usla O .+Apr46r, W, , C-.P1 I rIN '017 oi iedand Foomnotesa3E -pii . 3m-sGr-j i.;; � ad;. ...I avF;. nrpm r.:ixd-1.1 ,p .Arnr.., a ITT' pui -AI: C Lljvdali..3 6P~id~nrl .3 ~r.-:.,ra pe. 5,aa uP pIi P, ia-T 1Q m,nrf,s I ,,,,,I n.1,pxMIA r73c 55,7Am6A ,C,03A b,vd V1 rsP w 1.T dend P.,-n-:-..wro,,rT- I Do ICL11181. 11 1-3-,-ie sT r 4,1q.10,4; TI ,r,a,,r'r.i -Cutfr.1 r atl l!,p w~r5 sa'. e.:wirel h moo ,., .,. r+sri ~dp~,. rrCi~,Crs~rp -Inji'S isiairdwidar,,..3i APSra6n i 1row, Vil,,1 d ' "IX' I rh..r . 'mIrn'oPpaidl ir P,' Q TP P. rt.-I�P,.�%;AT'".,iIP p,,I FaijI, 0,P55 3rppIC'-I.jAT, jstv ..rAi o, &- -v.. fi rui, -.uI.r'd 3 Source: The Associated Press. Sales figures are unofficial. I ~STOCS O OAS ITRS YTD Name Dlv YId PE Last Chg %Chg Name +.01 +11.2 -.16 -6.7 +.03 -10.1 -.34 -18.0 +.37 +2.6 +.45 +9.0 +.27 +14.2 +.51 +9.5 -.22 +43.7 +.01 +3.6 +.65 +5.9 -.02 +1.1 -1.29 -12.3 +.16 +29.1 -.26 +21.1 +.03 -3.0 +.52 +12.2 YTD DIv YId PE Last Cha %Chg Microsoft .40 Motorola .20 Penney .80 ProgrssEn 2.44 RegionsFn1l.44 SearsHIdgs ... SprintNex .10 TimeWarn .25 UniFirst .15 VerizonCml.62 Wachovia 2.56 WalMart .88 Walgrn .38 +.43 -3.2 +.23 -15.3 +.44 -14.7 +.25 -7.3 +.12 -17.6 +.34 -18.9 +.07 -1.5 -.12 -13.3 +.50 +4.5 +.31 +13.5 +.10 -14.2 +.31 -7.4 -.06 -1.8 52-Week Net % YTD 52-wk High Low Name Last Chg Ch %Chg % Chg 14,021.95 11,323.84 Dow Jones Industrials 13,363.35 +57.88 +.44 +7.22 +17.93 5,487.05 4,142.01 Dow Jones Transportation 4,833.73 +2.68 +.06 +6.00 +14.44 537.12 421.87 Dow Jones Utilities 493.75 +5.61 +1.15 +8.10 +13.60 10,238.25 8,218.99 NYSE Composite 9,637.55 +54.38 +.57 +5.45 +16.29 2,398.11 1,116.16 AmexIndex 2,261.18 +10.84 +.48 +9.96 +13.93 2,724.74 2,147.44 Nasdaq Composite 2,614.32 +8.37 +,32 +8.24 +21.30 1,555.90 1,290.93 S&P 500 1,478.55 +6.26 +.43 +4.25 +14.26 856.48 700.44 Russell 2000 792.92 +2.46 +.31 +.67 +12.24 15,730.39 12,898.38 DJ Wilshire 5000 14,905.01 +58.62 +.39 +4.54 +15.11 I EWYO K STO KE c ANG YTD Name Last Chg +33.4 ABB Ltd 23.98 +.05 -5.5 ACE Ltd 57.26 -.39 -14.2 AESCorp 18.90 +.46 +17.0 AFLAC 53.84 +.14 +45.8 AGCO 45.12 +1.03 41.2 AGL Res 39.38 +.13 +144.5 AKSteel 41.32 +.12 -20.5 AMR 24.02 -.24 -.4 ASA Ltd 64.28 +2.85 +11.2 AT&TInc 39.74 +.01 +10.5 AUOptron 15.26 +.81 -1.3 AXA 39.82 +.54 48.6 AbtLab 52.90 +1.18 +12.4 AberFitc 7823 +1.11 -25.0 Abitibig 1.92 +.02 +9.8 Accenture 40.54 -.39 46.1 AdamsEx 14.72 +.04 -36.4 AMD 12.94 +.04 -2.8 Aeropstas 20.00 +.87 +18.6 Aetna 51.22 +.66 +5.0 Agient 36.58 +.42 +16.9 Agnicog u48.23 +4.07 +50.9 Agrinug u47.53 +.87 +33.0 Ahold u14.07 +.43 +30.7 AirProd u91.84 +1.02 -11.2 AirTran 10.42 -.34 +101.1 Alcan 98.00 -.14 -24.8 AlcatelLuc 10.69 +.09 +21.6 Alcoa 36.50 +.02 -50.7 AlescoFncl 5.28 -.28 +14.9 AilgEngy 52.75 +.32 +7.4 AllegTch 97.41 +.24 +2.8 Allergans 61.52 +1.12 -7.8 Alete 42.91 +.78 +26.1 AliData 78.75 +.16 -6.4 AliBGIbHi 12.83 +.18 +.5 AlliBInco 8.18 +.20 +3.3 AliBem 83.04 -.09 +4.4 AldWaste 12.83 +.03 -16.1 Allstate 54.60 -.19 +13.8 Altel 68.85 +.26 460.5 AlphaNRs 21.42 +1.49 -9.0 Alpharma 21.94 -1.06 +9.2 AIia s 68.27 -.36 +174.5 AlChinas 64.50 +.52 -30.9 AmbacF 61.58 -1.09 -7.5 Amdocs 35.84 -.74 -5.0 Ameren 51.02 +.33 +35.1 AMovilL 61.08 -.05 +20.3 AmAxde 22.85 +.17 -20.8 AEagleOs 24.71 -.44 +6.6 AEP 45.41 +.28 -1.9 AmExp 59.40 +.08 -212 AFndclGps 28.30 -.02 -28.5 AFncidRT 8.18 +.20 -9.7 AmlntGplf 64.74 -.76 +30.6 AmStands 36.80 +17 -8.0 AmSIP3 11.32 -.01 +3.2 AmTower 38.46 -.55 -32.1 Amenridt 17.09 -.08 +10.1 Amerigas 35.82 -1.58 +11.7 Ameriprise 60.90 +.58 +8.1 AmeriBrg 47.07 +.03 +23.5 Amphenols 38.32 +.87 +16.3 Anadarko 50.60 +.36 +14.7 AnalogDev 37.71 +.44 -12.7 AnglogldA 41.11 +1.28 +1.0 Anheusr 49.70 +1.13 -2.6 AnnTaylr 32.00 +1.18 +2.6 Annaly 14.27 +20.9 Apache 80.40 +1.16 +7.4 AquaAm 24.46 +.19 -14.5 Aquila 4.02 ... +56.4 ArcelorMit 65.97 +.92 +4.9 ArchCoal 31.50 +1.23 +3.7 ArchDan 33.15 +.11 +.8 ArchstnSm 58.70 +.10 +32,6 ArrowEl 41.82 -.40 -13.2 Ashland 60.04 -.28 -2.5 AsdEstat 13.39 -.03 -10.9 Assurant 49.24 -.90 -12.8 ATMOS 27.83 -.09 -13.3 AutoNatn 18.49 -.19 +4.9 AutoData 46.16 +.04 +20.5 Avaya 16.85 +.05 +57.8 Avnet 40.29 +.98 +.6 Avon 33.25 +.14 -9.5 BB&TCp 39.75 +.51 +66.5 BHPB lILt 66.19 +3.40 -10.1 BJSvcs 26.37 +.57 +11.4 BJsWhis 34.67 +.15 -4.2 BMC Sit 30.85 +.05 +1.9 BP PLC 68.36 +.34 -25.6 BRT 20.57 -.68 +15.5 BakrHu 86.22 +.37 +21.2 BallCp 52.84 -.09 -4.4 BcBilVAm 23.01 -.09 +22.2 BcBradess 24.64 +.04 +17.9 Bncoltau 42.58 +.54 -6.7 BkofAm 49.79 -.16 +2.1 BkNYMel 40.21 -.39 -15.4 Barclay 49.19 -.93 +17.9 BarrickG u36.20 +2.80 +21.0 BauschL 63.01 +.24 +16.1 Baxter 53.86 +.23 -6.0 BaytexEg 17.82 +.20 -33.9 BearSt 107.67 -1.28 -27.7 BearingPIf 5.69 -.10 -76.8 BeazrHmlf 10.91 +.17 +9.9 BectDck 77.06 +.68 -13.2 Bemis 2949 +.32 -11.7 Bedkley 30.48 -.22 -12.2 BestBuy 43.21 -.05 +26.1 BigLots 28.90 +.30 -17.9 Biovail 17.37 -.20 +16.0 BIkHillsCp 42.85 +.48 +1.0 BikFL08 14.56 -.01 -36.8 Blackstnn 22.16 +.18 -13.2 BlockHR 19.99 -.04 -3.6 Blockbstr 5.10 +.11 -.7 BlueChp 5.92 +.01 +6.3 Boeing 96.20 +.36 -33.6 Borders 14.85 +.09 +33.8 BostBeer 48.14 -.94 -11.4 BostProp 99.13 +.66 -23.0 BostonSci 13.23 +.13 -2.8 Brinkers 29.33 +.20 +10.1 BrMySq 28.67 -.18 +5.6 BrkfldAsgs 33.92 +.13 -24.7 Brunswick 24.02 -.39 +63.7 Buenavnt 43.13 +4.55 +11.8 BurNSF 82.51 +.64 +12.6 CAInc 25.50 +.06 -16.7 CBRElis 27.65 +.46 +.6 CBSB 31.36 +.55 -11.4 CHEngy 46.78 -.16 +19.5 CIGNAs 52.43 +.23 -34.6 CITGp 36.48 -10 -3.2 CMSEng 16.16 -.15 +3.6 CSSInds 36.65 -.18 +21.2 CSX 41.73 +.22 +22.7 CVS Care 37.92 -.06 +12.3 CabotOs 34.07 +.09 +11.7 CallGolf 16.09 +.02 +2.5 Camecogs 41.47 +.97 +62.4 Cameron u86.14 +1.66 -5.7 CampSp 36.68 -1.32 430.8 CdnNRsg 69.65 -.05 -16.5 CapOne 64.12 +.98 -35.7 CapNSrce 17.56 -.19 -5.5 CapMpfl 12.27 +.02 +4.5 CardnlHlth 67.30 -.20 -13.0 CarMaxs 23.33 +.38 -5.9 Carnival 46.16 +.11 +23.5 Caterpillar 75.75 +.21 +39.1 Celanese 36.00 +.30 -21.4 Celesticg 6.14 +.18 -4.8 Cemex 32.25 -.02 -1.3 CenterPnt 16.36 +.15 -50.8 Centex d27.71 -.33 +9.5 CntryTel 47.79 -.03 +17.8 ChmpE 11.03 +38.2 Checkpnt 27.92 +.16 -1.1 Chemtura 9.52 +.18 +16.9 ChesEng 33.97 +.08 +20.9 Chevron 88.93 +.57 -24.8 Chicos 15.56 -.18 +41.8 ChinaLfes 71.63 +.98 +54.3 ChinaMble 66.70 -.26 -3.9 Chubb 50.85 -.06 -3.2 ChungTel 17.37 +.15 +6.8 CinciBell 4.88 +.08 -46.5 CircCity 10.15 -.09 -43.2 CitadlBr 4.14 -.02 -18.0 Citicre 45.66 -.34 -1.9 CitzComm 14.09 +6.1 ClearChan 37.70 +.28 -7.4 Clorox 59.39 -.02 +7.0 Coach 45.95 +.14 +17.5 CocaCE 24.00 +.15 +13.3 CocaCI 54.66 +.97 -28.3 Coeur 3.55 +.15 +1.2 ColgPal 66.00 +.63 -31.8 CollIvBrd d22.39 -.10 -13.0 ColBgp 22.39 +.79 -6.7 Comerica 54.77 -.11 +6.2 CmcBNJ 37.32 +.36 +13.2 CmdMts 29.10 -.69 +75.1 CVRD 52.08 +1.94 +67,4 CVRDpf 43.94 +1.64 +6.1 CompSdif 56.60 -.03 +9.7 Con-Way 48.31 +1.13 -5.3 ConAgra 25.58 +.16 +16.2 ConocPhil 83.63 +1.51 -30.0 Conseco 13.98 -.08 +31.6 ConsolEngy42.29 +2.07 -3.9 ConEd 46.20 -.02 -17.3 ConstellA 24.00 -.07 +24.0 ConstellEn 85.42 +1.86 -19.7 CtirB 33.14 -.93 -31.1 Cnvrgys 16.38 +.11 +11.7 CooperCo 49.69 +.19 +14.8 Coopers 51.89 +87 434.6 Coming 25.18 +1.05 +14.9 CorrctCps 25.99 +.09 -56.5 CntwdFn 18.48 -.33 +4.9 CovantaH 23.11 +.46 +15.4 CoventryH 57.75 +.65 -13.0 Covidienn 40.01 -.24 +12.4 CrwnCstle 36.31 +.06 +100.4 Cumminss118.40 +.38 +57.9 CypSem 26.63 +.40 -1.1 DNPSelct 10.70 +.07 -35 DPL 26.80 +.20 -45.0 DRHorton 14.58 -.23 +.1 DTE 48.48 +.11 +52.4 DaimliC 93.57 +1.18 +3.6 Darden 41.60 -.11 -1.0 DeanFdss 26.91 +.04 +43.9 Deere 136.79 -.77 -20.7 DeltaAirn 18.07 +.45 +17.6 DevonE 78.91 +.57 +35.0 DiaOffs 107.88 +.04 +37.3 DicksSprt u67.27 +2.36 -39.3 Dillards 21.22 -.42 -7.5 DirecTV 23.08 -.18 -22.5 Discover n 22.28 -.27 +2.6 Disney 34.41 +.37 +2.2 DomRes 85.72 +.77 -1.4 Domtarglf 8.32 +.15 +6.1 GenDynam 78.85 +.98 +2.0 DonlleyRR 36.26 +.15 +5.9 GenElec 39.40 +.65 +.3 Dover 49.19 +.82 -5.3 GnGrthPrp 49.47 +.18 +7.0 DowChm 42.69 +.29 +.1 GenMills 57.68 +1.43 -.6 DuPont 48.42 +.02 +1.1 GnMotr 3105 -,02 -3.0 DukeEgys 18.75 +.36 -15.3 Genworth 28.96 +,18 -18.1 DukeRIty 33.49 +.52 -1.8 GaPw8-44 25.05 -.13 +17.0 Dynegy 8.47 +21 +30.3 Gerdaug 11,62 +.13 +46.9 EMCCo 19.39 -.05 +50.4 Gerdau 24.07 +.20 +13.2 EOGRes 70.70 +1.31 +1.3 GlaxoSKIn 53.46 +.31 +11.0 EastChm 65.82 -.58 +22.8 GIobalSFe 72.20 +.35 +9.0 EKodak 28.11 +.45 -26.9 GolUnhas 20.97 -.52 +25.9 Eaton 94.62 +2.00 -13.6 GoldFLtd 16.31 +.90 +17.3 EatnVan 38.73 +.63 -9.4 Goldcrpg 25.78 +1.80 +103.1 EDO u48.22 +2.98 -10.1 GoldmanS 179.18 +1.37 +6.7 BPasoCp 16.30 -.03 +42.2 Goodrich 64.75 +.63 +38.1 Elan 20.37 +.43 +28.4 Goodyear 26.95 -.08 -18.8 EDS 22.38 +.07 +141.3 GrafTech 16.70 -.39 +10.3 EmersnEls 48.65 -.19 4+39.1 GrantPrde 55.32 +.41 -7.2 EmpDist 22.92 +.15 -10.9 GtPlainEn 28.34 +.11 -3.0 Emulex 18.93 -.22 -40.7 Gnffon 15.11 -.26 +4.7 EnbrEPtrs 51.70 -.05 -1.0 GpTelevisa 26.73 +.37 430.3 EnCana 59.87 +.68 +12.8 GuangRy 38.23 +.08 +17.7 Endesa 54.76 +.34 +58.3 Guesss 50.21 -1.24 +26.5 EnPro 42.00 +.31 -21.6 HRPTPrp 9.68 +.04 +11.9 ENSCO 56.02 +.91 -4.3 HSBUSpfF 24.99 +.18 +15.1 Entergy 106.29 +2.46 +14.6 Hallibrtn 35.58 +.24 +40.6 Eqtyinn 22.44 +.09 -6.4 HanJS 13.80 +.02 -20.0 EqtyRsd 40.61 +.31 -7.4 HanPtDv2 10.62 -.07 +1.0 EsteeLdr 41.21 -.26 431.5 Hanesbrd n 31.05 +.11 +228.2 ExcelM u47.95 +1.62 -13.3 Hanoverlns 42.29 -.58 -1.8 ExcoRes 16.60 -.51 -23.2 HarleyD 54.09 -.08 +20.6 Exelon 74.64 +1.60 -37.4 HarmonyG 9.86 +.53 +14.2 ExxonMlb 87.49 +.27 +4.4 HarrahE u86.40 +.09 +63.4 FMCTcwi 50.35 +.58 -5.3 HartfdFn 88.35 +.16 +9.5 FPLGrp 59.60 +.51 +21.2 HarvslEng 27.20 +.27 +10.8 FairchidS 18.62 +.14 -.4 Hasbro 27.13 -.49 -3.6 FamilyDIr 28.27 +1.05 -21.5 HawaiiEl 21.32 +.18 +4.5 FannieMIf 62.07 -.72 -6.7 HItCrREIT 40.15 +.39 +1.4 FedExCp 110.17 +.35 -40.0 HItMgts 6.51 +.16 -5,3 FedSignl 15.19 +.04 -30.0 HIthcrRIty 24.05 -.21 +5.8 Ferreligs 22.63 -.10 -22.7 HlthSouthn 17.51 -.65 -5.5 Ferro 19.56 +.02 +2.9 HeclaM 7.88 +.38 -28.1 FdlNFin d17.18 -.73 +1.2 Heinz 45.55 +.47 +17.3 FidNInfo 47.02 -.98 +26.4 HelixEn 39.65 -.08 -1.7 FstAmCp 39.97 -.28 +5.9 HellnTel 16.05 +30.6 RrstDatasu33.32 +.11 431.3 HelmPayne 32.12 -.58 -16.4 FstFnFd 12.64 +.13 +27.0 Hess 62.97 +1.29 -27.1 FstHorizon 30.44 +.06 +21.8 HewletP 50.19 +.09 -43.0 FstMarbs 31.15 -1.81 -13.4 HighwdPrp 35.30 -.29 -5.3 FtTrFid 17.43 +.09 +32.0 Hilton 46.07 +.10 +3.9 RrstEngy 62.64 +88 -12.3 HomeDp 35.22 -1.29 +18.8 ReetEn 9.40 +.28 +25.2 Honwllnlt 56.66 +1.42 +43.7 RaRock 61.87 -,.22 -9.8 HospPT 39.64 +.06 +62.7 Fuor u132.81 +1.43 -9.8 HostHolts 22.14 +.31 -7.8 FEMSAs 35.57 +.20 -66.5 HovnanE 11.37 -.44 +3,6 FordM 7.78 +.01 +15.9 Humana 64.11 +.33 -19.0 ForestLab 41.00 -63 +37.3 Huntsmn 26.05 +25 +28.9 ForestOil 42.13 +.82 -14.1 IAMGIdg 7.57 +.63 -3.9 FortuneBr 82.05 +.09 +7.5 ICICIBk 44.87 +.63 +16.2 FdtnCoal 36.91 +1.71 +6.4 IMSHIth 29.25 -.21 -12.5 FredMac 59.39 -.76 -5.4 INGPrRTr 6.84 +.15 +645 FMCG 91.70 +2.25 +33.6 iShBrazil 6260 +.82 -73.5 Fremontlf 4.29 -01 +176 IShHK 18.81 +.24 -42.1 FriedBR 4.63 +.01 -3.4 iShJapan 13.73 +01 +44.2 FronlierOil 41.45 -.35 430.3 iShKor 64.36 +1.16 +23.5 iShMalasia 11,24 +.04 +21.0 iShSing 13.55 +28 -.6 GATX 43.05 -.41 +10.8 iShTaiwan 16.07 +.30 +7.8 GabelliET 9.61 +.06 +6.8 iShUK 25.00 +.04 +4.5 GabHIthW 8.57 -.08 -2.3 iShDJDv 69.11 +.27 -5.3 GabUtl 9.41 +.10 +35.1 iShChin25 150.52 +1.65 +681.6 GameStops50.05 +.38 +4.5 iShSP500 148.45 +.39 -20.8 Gannett 47.86 +.18 +18.4 iShEmMkt 135.20 +1.05 -6.4 Gap 18.25 -.76 +6.9 iShEAFE 78.28 +.29 -31.6 GateHousendl2.70+.42 -11.5 iShREst 73.75 +.45 -8.0 Gateway 1.85 +.01 -8.4 iShDJBrkr 49.29 -.21 -2.6 Genentch 79.00 +1.04 +4.3 iShSPSmI 68.83 -.05 -27.6 iStar -15.9 Idacorp +20.1 Idearc n +24.6 ITW -39.2 Imation -52,0 Indymac +18.4 Inflneon 434.4 IngerRd -4.7 IngrmM -2.9 InputOut -6,0 IntegrysE +28.0 IntentlEx +21.1 IBM -23.3 IntllCoal -15.6 IntGame +4.4 IntPap -11.1 IntRect l -10.6 Interpublic +4.9 IronMtn s +3.4 IvanhM g 34.62 -1.03 32.50 +,08 34.42 -.40 57.56 -.19 28.25 -.03 21.66 +.02 16.61 +.80 52.61 +.96 19.46 -.05 13.24 -.06 50.78 +.39 138,07 -2.82 117.62 -.26 4.18 +.14 38.97 -.09 35.60 +.11 34.24 +.29 10.94 -.11 28.85 +.19 10.16 -29 -7.8 JPMorgCh 44.21 +,04 -9.3 Jabil 22.26 +.44 +25.6 JanusCap 27.11 +.20 -6.6 JohnJn 61.66 +.01 +30.9 JohnsnCtl 112.43 -.40 -42.1 JonesApp 19.34 -.23 +17.1 JonesLL 107.96 +1.32 -43.8 KB Home 28.80 -.45 +31.0 KBRIncn 34.27 +.55 +28.1 Kaydon 50.92 -.53 +10.0 Kellogg 55.08 +.46 -41.7 Kellwood d18.95 -.26 -13.8 Keycorp 32.80 -.03 +1.1 KimbClk 68.69 +.41 +6.0 KindME 50.77 +.13 -6.2 KingPhrm 14.93 -.13 +11.6 Kinross g 13.26 +.89 -20.5 Kohls 54.40 -.86 -15.6 KomFer d19.37 -.79 -6.5 Kraft 33.39 +1,06 -43.0 KrispKrm 6.33 +.07 +12.3 Kroger 25.90 +.23 +93.5 LDK Sol n 52.62 -2.76 -53.8 LLERy 1.26 -.03 -20.7 LSICoro 7.14 +.14 -18.6 LTCPrp 22.23 -.16 -13.6 LaZBoy 10.25 +.22 -9.3 Laclede 31.76 +.16 -25.2 LandAmerd47.22 -4.37 +15.1 LVSands 102.98 +1.35 +.7 LearCorp 29.75 +.19 -11.3 LeggMason 84.35 -1.39 -31.1 LehmanBr 53.83 -.52 -47,5 LennarA 27.52 -.25 -48.4 Lexmark 37.74 +1.88 +6.5 LbtyASG 5.72 +.02 +10.3 LillyEli 57.45 +.16 -22.4 Limited 22.46 -.47 -8.4 UncNalt 60.82 +.28 +26.5 Undsay 41.31 +.41 +6.9 LockhdM 98.39 -48 +12.4 Loews 46.60 -.60 -3.0 Lowes 30.21 +.03 -67.3 LuminentIf 1.23 -.07 +81.3 Lyondell 46.36 +.15 -14.0 M&TBk 105.10 -.23 -19.0 MBIA 59.20 -1.09 +5.9 MDURes 27.16 +.33 +48.9 MEMC 58.27 +.37 -3.9 MFA Mtg 7.39 -.07 -1.4 MCR 8.44 +.01 -53.3 MGIC 29.18 -.87 -19.0 Macys 30.87 +.30 +16.9 Madeco 12.91 -.09 +18.8 MagellMId 26.49 -1.81 +10.7 Magnalg 89.20 +.08 +37.4 ManorCare 64.45 +.45 -11.8 Manpwl 66.08 -.30 +14.4 Manulifgs 38.65 -.06 +22.3 Marathons 56.58 +.52 -8.6 MarintA ,43.62 -.02 -12.9 MarshM 26.69 +.06 -44.8 MStewrt 12.08 -.04 -13.5 Masco 25.65 +.03 -3.8 MasseyEn 22.35 +1.55 +19.8 Mastec 13.83 +1.27 436.8 MasterCrd 134.77 -.79 -16.7 MateridalSci 10.78 -.02 -3.3 Mattel 21.92 -.06 +94.7 McDermlntu99.00 +1.75 +12.2 McDndks 49.76 +.52 -26.8 McGrwH 49,77 -.38 46.8 McKesson 55.14 -1.55 431.6 McAfeelI u37.36 -.50 +62.7 MedcoHIth u86.97 +.93 +1.2 Medtmic 54.06 +.41 +15.8 Merck 50.47 +1.07 +13.9 MeridGId 31.64 +1.85 -20.8 MernilLyn 73.72 -.28 +9.1 MetLife 64.36 -.12 +2.5 MetroPCSn 28.09 -.80 -17.6 MicronT 11.50 +.14 -14.3 MidAApt 49.05 -.13 -16.0 Midas 19.31 +.31 +9.9 Millipore 73.19 +1.36 +28.3 Mirant 40.51 +.99 +28.6 MobileTel 64.55 +1.26 +15.7 Mohawk 86.60 +1.22 +35.0 Monsanto 70.74 +.25 -33.3 Moodys 46.03 +1.08 -4.0 MorgStan 62.50 -.06 +19.9 MSEmMkt 28.25 +.33 +107.4 Mosaiclf u44.31 +1.04 -15.3 Motorola 17.42 +.23 +22.7 MurphO 62.40 +1.26 -23.5 MyWanLab 15.27 -.05 -7.1 NBTY 38.63 +1.48 +15.2 NCRCp 49.25 +.35 +42.7 NRG Egy s 39.97 +.94 -26.2 NYSEEur 71.73 -.97 +1.7 Nabors 30.30 +.20 -27.1 NallCity 26.67 -.66 +15.4 NatFuGas 44.47 +.19 +2.3 NatGrid 74.29 +.24 +119.2 NOilVarcoul34.13 +2.72 +17.1 NatSemi 26.58 +.08 -8.6 NatwHP 27.62 +.43 +142.5 Navios 13.02 +90.1 Navteq 66.48 +.43 -11.9 NewAm 1,99 -.04 -1.3 NJ Rscs 47.96 -.18 +11.3 NYCmtyB 17.92 +.02 -11.3 NY Times 21.60 -.39 -10.9 NewellRub 25.79 +.04 +2.3 NewfldExp 47.00 +1.03 -2.3 NewmtM 44.10 +1.81 -22.5 NwpkRs If 5.59 -.01 -1.0 NewsCoA 21.27 +.95 +1.4 NewsCpB 22.57 +.80 +6.6 Nexengs 29.32 +.06 -21.5 NiSource 18.92 +.07 -11.0 Nioor 41.66 +.20 +12.7 NikeBwi 55.80 +.52 -7.6 99 Cents 11.25 -.09 +33.7 NobleCps 50.92 +.48 +30.1 NobleEn 63.85 +.92 +68.4 NoklaCp u34.21 +.84 -2.6 Nordstrm 48.05 +.86 +.2 NorflkSo 50.41 -.01 -35.8 Nortellrs d17.15 -.21 -2.5 NoestUt 27.47 -.29 +14.4 NorthropG 77.43 +.07 -25.4 NwstAirn 18.51 -.14 -3.7 NSTAR 33.10 +.43 +1.4 Nucor 55.43 +2.48 +21.0 Nuveenlnv 62.75 +.64 -2.2 NvFL 13.50 +.04 -3.2 NvIMO 14.16 +.04 -11.9 NvMuISI&G 12.59 -.31 -15.5 NuvQPf2 12.78 -.06 -14.8 OGEEngy 34.09 +.53 +21.0 OcciPet 59.10 +.98 -42.5 OffcDpt 21.94 -1.49 -29.4 OfficeMax 35.04 -.36 -21.4 OldRepub 18.30 +.01 +30.2 Olin 21.51 +.06 -.7 Omnicms 51.93 +.88 +.4 ONEOKPt 63.60 -.50 +20.8 OshkoshT 58.50 -.63 +21.3 OvShip 68.32 +16 -6.0 PG&ECp 44.50 -.06 -35.8 PMIGrp 30.26 -.91 -6.1 PNC 69.52 +.65 -27.6 PNMRes 22.53 -.11 +15.0 PPG 73,81 +.84 +36.8 PPLCorp 49.03 +.56 -19.2 Pactiv 28.83 +.69 -7.0 ParkDri 7.60 +.01 +43.1 ParkHan u110.04 +1.03 +12.4 PeabdyE 45.41 +2.11 +.2 Pangrhg 17.25 +.16 +6.9 PennVaRs 27.81 -.67 -14.7 Penney 66.02 +.44 +12.2 PepBoy 16.67 +.25 +5.5 PepooHold 27.43 -.14 +12.5 PepsiBott 34.78 -.31 +9.6 PepsiCo 68.56 +.62 +43.2 PepsiAmer 30,05 +.05 -10.8 Prmian 14.34 -.03 439.0 Petrohawk 15.98 +.27 +22.4 PetrbrsAs 55.74 +1.41 +29.0 Petrobrss 65.33 +1.65 -4.9 Pfizer 24.62 -.09 +11.0 PhlVH 55.70 +.52 -1.8 PiedNG 26.28 +.20 +27.5 PilgrimsPr 37.53 -.93 -4.4 PimcoStrat 9.99 +.09 +9.4 PioNtr 43.41 +.52 -1.6 PitnyBw 45.47 +.16 -13.0 PlainsEx 41.35 +1.32 43.6 PlumCrk 41.29 +5.7 PogoPd 51.18 +.01 +2.6 Polaris 48.03 +.18 +1.6 Polo RL 78.87 -.74 -15.0 PostPrp 38.85 +.11 +88.3 Potash s 90.06 +.28 +27.0 Praxair 75.36 +.71 +23.4 Pridelnlt 37.04 +.34 +2.9 ProctGam 66.11 +.65 -7.3 ProgrssEn 45.51 +.25 -17.7 ProgsvCp d19.94 -.25 +.7 ProLogis 61.17 +.89 -5.3 ProsStHiln 3.02 +6.7 ProvETg 11.64 -.05 +1.9 Prudentl 87.46 -.89 +30.3 PSEG 86.49 +1.95 -6.0 PugetEngy 23.85 +.24 -51.4 PulteH 16.08 -.28 -1.5 PHYM 7.14 +.01 -3.9 PIGM 9.68 +.09 -1.6 PPrIT 6.33 -25.8 QimodaAG 12.99 -.22 +22.4 Quanex 42.35 -.90 +38.9 QuantaSvc 27.32 -.16 +22.3 Questars 50.78 +.38 -18.4 Quiksilvr 12.85 +.10 +6.6 QwestCm 8.92 +.13 -74.8 RAIT Fin 8.68 -.37 +11.9 RPM 23.38 +.26 -87.7 Radian 17.42 -.85 +38.0 RadioShk 23.15 -.32 +17.6 Ralcorp 59.87 -.29 +43.1 RangeRs 39.29 +.28 +10.5 RJamesFn 33.48 +.30 +4.0 Rayonier 42.70 +.40 +12.0 Raytheon 59.12 -.11 -3.6 RItylnco 26.69 -.08 -15.0 RedHat 19.54 -.02 +16.7 RegalEnt 22.24 -.16 -17.6 RegionsFn 30.82 +.12 +37.1 RelStAI 54.00 +.97 +84.2 ReliantEn 26.17 +.15 +1.0 Repsol 34.83 -.53 -41.9 RetailVent d11.06 -.06 -9.4 Revlon 1.16 +.01 -2.0 ReynldAm 64.13 -.75 +41.9 RIoTinto 301.52+15.71 -6.1 RiteAid 5.11 +.10 -16.7 RobtHalf d30.93 +.50 +16.9 RodckwAut 71.43 +.54 +8.8 RoHaas 55.64 +.06 +11.8 Rowan 37.12 -.34 -8.2 RylCarb 37.98 +.07 +13.7 RoyDShIlA 80.51 +1.14 -10.8 Royce 19.82 +.21 -3.4 Royce pfB 23.29 +.08 -50.5 Ryland d27.02 -.77 +.4 SAICn 17.86 +.13 +4.6 SAPAG 55.55 +1.75 -5.4 SCANA 38.44 +.29 +7.6 SKTlcm 28.50 +.45 -2 SLMCp 48.67 -.43 -3.4 STMicro 17.78 +.26 -8.8 Safeway 31.52 +.93 -39.9 StJoe 32.18 +.19 +19.9 StJude 43.83 +.25 -11.3 Saks 15.81 +.49 +17.0 Salesforce 42.64 +1.68 +.2 SJuanB 32.90 +.53 -5.2 SaraLee 16.14 -.24 +28.7 SchergPI 30.42 +.32 +54.5 Schlmbrq 97.61 -1.50 -1.9 SeagateT 25.99 +.51 -2.1 SempraEn 54.86 +.37 +8.1 Sensient 26.59 +.01 +97.4 SiderNac 59.19 +.99 -8.0 SierrPac 15.48 +.08 +16.1 SllvWhtng 12.17 +.70 -6.0 SimonProp 95.26 +1.16 +29.2 SmthAO 48.53 -.22 +68.3 Smithlntl u69.13 +.88 +25.5 Soectin 4.04 +.04 -8.2 SonocoP 34.94 +.08 +15.1 SonyCp 49.30 -.33 432.6 Sothebys 41.12 -.85 -1.2 SoJerlnd 33.02 -.07 -3.2 SouthnCo 35.67 +.39 +1046 SthnCopps110.25 +2.01 -1.1 SwstAiri 15.15 +.06 +13.9 SwstnEngy 39.92 +.07 -29.2 SovrgnBcp 17.98 +.26 -14.6 SpectraEn 23.71 +.40 -1.5 SprintNex 18.60 +.07 -64.7 StdPac 9.46 -.38 -21.8 Standex 23.57 -.10 +33.0 StarGas 4.68 +.09 -7.3 StarwdHt 57.95 -.10 -7.2 StateStr 62.61 +.64 +16.5 Statoil 30.67 +.27 +8.7 Stens 27.37 +.11 +6.9 sTGold u68.86 +1.30 +23.7 Stryker 68.18 +1.55 +80.7 SturmRug 17.35 +.02 +18.9 SubPpne 45.20 -.75 -15.0 SunCmts 27.50 -.23 +17.4 Suncorg 92.62 +.99 +21.3 Sunoco 75.63 +.28 +4.9 Suntech 35.67 -.29 -8.3 SunTrst 77.42 +.10 +18.1 SupEnrgy 38.58 -.61 +14.9 Supvalu 41.06 -.01 -10.2 Synovus 27.69 +.29 -9.5 Sysco 33.09 +.24 -25.4 TAM SA 22.40 -.47 -9.6 TCFFnd 24.80 -.06 -8.0 TECO 15.86 +.07 +6.5 TJX 30.38 +.89 +24.2 TXUCorp 67.32 +.67 -7.4 TaiwSemi 10.12 +.15 +6.6 TalismEgs 18,11 +.38 +11.1 Target 63.39 +1.51 -15.3 TataMotors 17.31 +.47 -9.8 TelcNZ 24.28 +,24 +27.0 TelMexL 35.89 +.35 +16.0 Templeln 53.40 -.57 +49.3 TempurP 30.55 -.48 -7.9 Tenaris 45.97 +.38 -49.8 TenetHth 3.50 +.10 -1.3 Teppoo 39.78 -.27 -3.1 Teradyn 14.50 +.26 +28.4 Terex 82.95 +.36 +116.9 Terra 25.99 -.11 +292.5 TerraNitrou114.02 -3.09 +55.4 Tesoros 51.11 +.38 -21.8 TetraTech 20.00 -.39 +25.2 Texlnst 36.05 +.65 +23.4 Textron s 57.87 +,82 +31.3 Theragen 4.07 +20.8 ThermoFis 54.73 -.11 +18.3 ThmBet 55.95 +.40 -52.0 Thombg 12.06 +.24 +16.3 3MCo 90.63 +71 +40.0 Tidwtr 67.70 +.48 +28.9 Tiffany 50.59 +.12 -13.3 TimeWarn 1888 -.12 +19.2 Timken 34.79 -.09 +4.4 TtanMet 30.81 -.16 +37.7 ToddShp 23.00 +.12 -34.9 ToliBros 20.98 -.21 +30.6 TorchEn 9.01 +.01 -5.1 Trchmrk 60.37 -.16 +16.1 TorDBkg 68.53 -.29 +6.1 TotalSA 76.32 +1.13 +3.7 TotalSys 27.36 -.27 +32.8 Transomn 107.39 -.11 -5.6 Travelers 50.66 +.36 -24.0 Tredgar 17.18 -.17 +8.4 TriCond 24.26 +.16 -9.3 TycoElecn 35.23 +.54 -13.6 TycolntIn 44.54 +.93 +13.2 Tyson 18.62 -.55 -13.0 UBSAG 52.49 -.17 -23.3 UDR 24.37 +.15 -25.9 UILHodk 31.25 -42.2 USAirwy 31.14 -43 +2.1 USEC 12.99 -.04 -30.7 USG 37.95 -.24 -15.7 USTInc 49.06 -.14 +13.4 UltraPIg 54.15 -.05 +25.6 UndrArmr 63.38 -1.06 +18.9 UUniao 110.57 -.08 +4.5 UniFirst 40.13 +.50 +18.8 UnionPac 109.28 +.15 -8.3 Unisys 7.19 -.03 -6.6 UtdMicro 3.26 +.04 +.1 UPSB 75.09 +.15 +28.3 UtdRentals 32.62 +.18 -12.1 USBanrp 31.82 +.18 430.9 USSteel 95.76 +2.01 +20.0 UtdTech 75.01 +1.56 -7.7 UtdhthGp 49.60 +.31 +17.5 UnumGrp 24.42 -.37 -5.7 ValeantPh 16.26 +.41 +37.6 ValeroE 70.39 -.59 -3.6 Vectren 27.26 -.17 -.3 VeoliaEnv 75.03 +.05 -31.0 VeraSuph 13.62 +.58 +4.5 VeriFone 36.99 -.01 +13.5 VerizonCm 42.26 +.31 -4.5 ViacomB 39.18 +1.08 +61.4 VimpelCs u25.48 +.93 -4.5 Vishay 12.93 +.01 -34.7 Visteon 5.54 -.13 +10.5 VWoPart 4.53 -.15 +36.8 VMwaren 69.79 +5.58 +17.0 Vodafone 32.51 +.12 -41.8 Voltlnfos 19.48 +4.19 -12.5 Vomado 106.32 +1.17 -2.9 VulcanM 87.30 -.10 -14.8 Wabash 12.86 -14.2 Wachovia 48.87 +.10 -9.6 WaddelIR 24.60 -.13 -7.4 WalMart 42.76 +.31 -1.8 Walgm 45.08 -.06 -20.8 WAMutl 36.01 +.19 +2.8 WsteMlInc 37.81 +.62 +52.2 Weathtdlntu63.60 +1.27 -12.6 WeinRIt 40.29 +.56 -26.3 Welimn 2.35 -.01 +1.4 WellPoint 79.76 -1.24 +.3 WelsFaro 35.65 -.24 +.8 Wendyss 33.37 +.79 -24.1 Wescolxnt 44.62 -1.82 -5.5 WestarEn 24.53 +27 -.7 WAEMInc2 12.78 +.09 -6.1 WstAMgdHi 6.34 +.08 +.8 WAstlnfOpp11.66 +.05 +12.6 WDigitlf 23.03 -.44 +109.2 WstnRefin 53.25 -.52 -11.2 WstnUnn 19.90 +.03 -66.7 WestwOne d2.35 -.06 -2.6 Weyerh 68.82 +1.59 +15.7 Whrlpl 96.07 +.98 -12.1 WilmCS 9.55 +.06 +24.5 WmsCos 32.51 +.37 +5.9 WmsSon 33.28 -.10 -.6 Windstrm 14.14 +.07 -19.2 Winnbgo 26.58 +.15 -3.9 WiscEn 45.59 +.49 +17.8 Worthgtn 20.87 -.18 +15.9 Wrigley 59.93 +.35 436.7 WuXin 2733 -1.17 -6.6 Wyeth 47.54 +.60 +21.7 XTOEngy 5728 +1.14 -9.7 XcelEngy 20.83 +.30 +1.1 Xerox 17.13 +25 -5.8 Yamanaa 12.42 +.76 +76.4 Yinglin 18.52 +.31 +10.7 YumBrdss 32.54 -.18 +1.1 Zimmer 79.25 +228 -17.0 ZweigTi 4.85 +.02 I.A E IA N TO K XC ANG YTD Name Last Chg -20.5 AdmRsc 23.93 +.94 +141.7 Anooraqg 2.90 +.05 +17.2 ApexSilv 18.63 +1.64 +4.3 ApoloG g .48 +.04 +6.7 Aurizong 3.35 +.32 +67.1 BPZEgyn 6.60 +.41 -49.4 CanArgo .82 +.04 +.6 CFCdag 9.40 +.17 +5.0 CommSys 10.65 -.15 -44.2 CovadCm .77 -16.9 Crystallxg 3.01 +.15 +7.3 DJIADiam 133.53 +.31 -5.0 EVInMu2 14.58 +.15 ... EldorGld o 5.40 +.20 +4.4 EllswthFd 8.82 -.07 -55.4 EvgmEnya 4.44 +.23 -9.1 RaPUtil 12.05 +.02 -11.0 FrontrDg 8.19 +.42 -50.9 GamGldg 8.00 +.45 -22.9 GascoEngy 1.89 -.04 -67.3 Glencmng .16 +.02 +16.9 GoldStio 3.45 +.18 +49.4 GrtBasG g 2.51 +.28 -3.4 GreyWoff 6.63 -.16 +2.7 HDPIts 7.55 +.12 +20.6 iSAstsanya 28.34 +.74 +19.4 iSCannya 30.24 +.17 +19.7 iShGernya 32.20 -.13 +15.3 iShMexnya 59.10 +.32 -3,9 iShSilver 123.64 +2.14 +4.8 iShSP100cbo69.24 +.26 -.1 iShLAgBnya99.58 -.02 +.7 iSh2(Tnya 89.04 -.23 +9.6 iSRMCGnyal 12,93+.52 +4.6 iShNqBio 81.35 +.77 -11.1 iShC&SRInya89.18 +.51 +1.4 iSR1KVnya83,85 +.48 +8.4 iSR1KGnya59.64 +.15 +4.8 iSRus1Knya80.51 +.33 -4.6 iSR2KVnva 76,35 -.13 +6.5 iSR2KG nya83.70 -.15 +1.3 iShR2K nva 79.03 +.02 +108.9 IdaGenMn 6.10 -34.5 iMergent 18.75 +.05 +9.9 InterOilg 33.30 +.30 +25.5 Invemss 48.55 +.99 -1.9 KodiakOg 3.85 -6.7 LundinMs 11.49 +.27 +2.6 MktVGold 40.95 +2.47 +2.5 Merimac 10.25 -.05 -29.4 MetroHhth 2.16 -.02 +4.4 Miramar 4.72 +.24 -26.7 Nevsung 1.59 -.07 +22.6 NDynMng 9.93 +.09 +37.4 NOrionq 5.03 +.17 -10.1 NIthtMa 3.13 +.13 -12.3 NovaGldg 15.05 +.80 +31.7 OilSvHT . 183.90 +.46 -1.4 Oilsandsg 4.95 -.03 +17.5 On2Tech 1.41 +.02 -2.8 PacRim 1.03 +.08 -81.0 PainCare .21 +.03 -72.1 Palatn .57 -.05 +2.8 PhmHTr 79.06 +.57 +7.6 PSAgrin 26.88 -.44 +33.7 PwShChina 28.05 +.29 +7.9 PwSIntlDv 20.45 +.03 +14.2 PwSWIr 21.02 +.19 -6.4 PrUShS&P 54.40 -.34 -11.2 PrUIShDow 50.73 -.08 +22.2 ProUltQQQ 99.00 -.26 -21,0 PrUShQQQ 43.02 -.17 +4.3 ProUltSP 89.99 +.89 +44.3 PrUShREn 99.16 -.63 +24.3 PrUShFnn 85.25 +1.32 -2.8 ProUSR2Kn68.54 +.04 -36.1 Rentech 2.41 -.04 -.1 RetailHT 99.30 -.05 +3.6 RdxSPEW 49.03 +.39 -36.3 SodrHome 23.80 -.56 -11.1 SpdrKbwBk 51.81 +.05 -7.0 SpdrKbwCM62.33 -.26 -3.8 SpdrKbwlns 54.80 -.11 -11.0 SpdrKbwRB44.62 +.34 -3.8 SpdrRet 39.05 +.19 +100.4 SeabGldg 28.29 +3.18 +15.1 SemiHTr 38.72 +.34 +4.6 SPDR 148.13 +.34 +8.2 SPMid 158.31 +.48 +13.6 SPMats 39.55 +.20 +3.7 SPHIthC 34.74 +.11 +2.9 SPCnSt 26.87 -.07 -4.1 SPConsum 36.78 +.09 +22.5 SPEnqy 71.80 +1.08 -9.2 SPFnd 33.35 -.25 +12.9 SP Ind 39.52 +.32 +13.0 SPTech 26.29 +.13 +7.0 SP Uil 39.30 +.05 -1.5 Stonelghn 7.43 +.03 -27.2 StnegMwtn .67 -.07 +39.4 SulphCo u6.58 -.47 -12.6 TanzRyg 5.20 +.30 +76.1 Taseko 4.56 +.53 +21.4 TelData 65.95 -.45 -37.5 Telkoneth 1.67 -.02 -11.8 TransGIb 4.42 +.39 -41.7 TmsmrEx 2.01 -.00 +28.7 US Gold n 6.50 +.38 -31.3 US NGFdn 34.88 -1.40 +11.7 USOilFd 57.63 '+.37 +4.9 VangTSM 147.06 +.44 +22.7 VangEmg 94.99 +1.40 +8.9 VangEur 74.23 +.37 -46.7 VistaGoldn 4.40 +.39 43.3 WestmIlnd 20.32 -.16 -5.5 WilshrEnt 4.30 -.15 I ASD5AQ ATINLMRE YTD Name Last Chg -2.6 AvanirP 2.25 +.02 -3+3.0 Avigen 5.44 +.30 -17.1 Aware 4.42 -.16 -13.8 ACMoore 18.67 +.37 -16.6 Axcelis 4.86 +.08 +37.6 ADCTeIr 19.99 +1.43 +53.7 BEAero 39.46 +.68 +42.0 ASETst 14.33 +.07 -2 BEASysif 12.56 +.05 +27.7 ASMLHId u31.46 +.90 +95.4 Baidu.com220.15 +.42 +15.3 ATPO&G 45.62 -.07 -39.4 BnkUtd 16.93 -.40 -8.2 ATSMed 1.90 +.06 -17.0 BareEscn 25.79 -.01 -8.9 Aastrom 1.12 +.01 +78.0 BaslnWir 12.05 +.77 -18.6 AbraxisBio 22.25 +.20 +72.7 BeaconPw 1.71 -.01 .+18.2 AcadaTc 15.82 +.20 -25.1 BeasleyB 7.17 -.03 -63.4 AccHmell 10.00 -,42 -31.9 BebeStrs 13.47 -.19 -50.4 Accurayn 14.11 -.71 -12.6 BedBath 33.31 -.50 +9.3 AcordaTh 17.32 -.06 +41.8 BloRef u31.90 +2.23 +13.7 Aclivisn 19.61 +.02 +10.5 Biocryst 12.77 +.23 -6.2 Acxiom 24.05 +.03 +17.7 Bioenvisn 5.46 +.08 -2.5 AdamsResp39.78 +.17 +35.3 Blooenldc 66.53 +3.66 -20.0 Adaplec 3.73 -.08 +36.9 BioMarin u22.44 +.02 +6.3 AdobeSy 43.72 -.03 +10.9 Biomet 45.78 -47.7 AdolorCp 3.93 +.27 +34.4 Biopure .65 -.03 +13.0 Adtran 25.65 -.36 +86.7 BioScrip u6.46 +.23 -12.5 AdvEnld 16.52 -.20 +211.9 BlueCoat 74.70 -1.07 -15.0 AdvantaAs 22.56 -.25 +114.2 BlueNile 79.00 +.68 -11.3 AdvantaBs 25.80 -.05 +149.8 BuPhoenx 15.69 -.58 +1.4 Affymetrix 23.39 +.27 -4.2 BobEvn 32.79 -.04 +55.0 AirMeth 43.27 +1.24 -16.3 BonTon 28.99 -.07 -36.5 AirspanNet 2.35 -.20 -37.8 Bookharnm 2.53 -.05 -40.5 AkamaiT 31.59 -.32 -15.4 Bodand 4.60 -.03 +23.0 Akom 7.69 +.06 -10.0 Brightpnt 12.11 +.06 +12.2 AlaNBcp u77.10+23.98 +9.4 Broadcom 35.35 +.32 +12.1 Aldila 16.72 +.02 -16.7 BrcdeCm 6.84 -.09 +61.2 Alexion 65.11 -.19 -8.4 BrklneB 12.06 -.07 +45.6 Alfacell 2.49 +.08 -2.8 BrooksAuto 13.99 +.11 +75.5 AlignTech 24.52 +.51 -1.1 BrukBlo 7.43 +.37 +25.7 Alkerm 16.80 -.03 +22.7 Bucyrus 6351 +1.16 -27.2 AldHlth" 2.13 +.14 +14.6 BusnObj 45.22 +.42 -9.1 Alscripts 24.53 +.27 -1.5 C-COR 10.97 -.06 +24.3 AlteraCpIf 24.47 -.06 1 -20.0 CDCCpA 7.60 -.89 +93.3 Alvarion 12.99 -.10 +22.5 CDWCorp 86.16 +.22 -76.8 Amarinh .53 -.03 +22.6 CH Robins 50.13 +.78 +118.5 Amazon 86.21 +2.46 I +11.2 CMGI 149 +01 +25.6 AmerBio 1.13 +.08 I -19.5 CNET 732 +01 -13.5 AmCapSt 40.00 -.12 -15.3 CSGSys 22.64 -.19 -23.5 ACmdLnn 25.05 -.36 +.5 CTC Media 2413 -.56 +.7 AmerMed 18.65 +.10 -31.6 CVThera 9.55 +101.6 AmSupr 19.78 +1.02 -14.8 CVBFnd 12.32 +.25 -7.8 AmCasino 28.35 +.21 -32.2 Cache Inc 17.11 -.07 -23.9 Amoen 52.01 -.31 +22.1 Cadence 21.86 -15 +19.8 AmkorTif 11.19 -.27 I +668 CambDish 11.91 -.06 +63.0 Amtech 12.47 +1.19 -I 101 CapCtyBk 31.72 +203 +34.6 Amyin 48.54 -1.26 +8 CpstnTrb 1.24 +01 +482.8 Anadigc 16.20 -15 +138.1 Cardica u11.24 +3.22 +25.1 Anlogic 70.21 +1.20 +185 CareerEd 29.37 -.01 -10.7 Analysts 1.67 . +50.0 Carrizo 43.54 +1.56 +38.8 Andrew 14.20 +.15 -5 CarverBcp 15.50 -21.0 Angiotchg 6.47 +06 -4.7 CasellaW 11.66 +53 +11.0 AngloAm 29.77 +.93 +22.5 Caseys u28 86 +.88 +57.4 Ansyss 34.23 -.92 +18.2 Cbeyond 36.15 -2.04 +32.2 Anigncs 2.42 +.08 +15.7 CeIgene u66.59 +1.49 +50.9 ApolloGrp 58.81 -.11 +11.8 CellGens 379 -05 -1.9 Apoltolnv 21.97 +.16 +295 CeniCom 9.31 +.11 +59.1 Applelnc 135.01-1.75 +48,7 CentEuro 44.17 +.9 Applebees 24.89 +.09 +156 CentAj 51.61 -09 +15.6 AldMatd 21.33 +.03 +7.4 Cephin 75.60 +1.01 -18.8 AMCC 2.89 +.02 +137.1 Cepheid 2015 +.82 +55.3 Applix 17.61 +.03 +25.0 Ceradyne 70.62 -.74 +5.7 ArenaPhm 13.65 +.28 +215.7 CeragonN 17.27 -.10 -14.4 AresCap 16.35 +.05 +26.0 Cemer 57.32 +.80 -15.1 ArgonSt 18.29 -.07 +937 Chaoarral 8574 +.01 -5.3 AriadP 4.87 -.08 -450 CharlRsse 1690 +.20 -3.8 ArkBest 3465 -64 -35.0 ChrmSh 8.80 +15.9 Ams 1450 -40 +75.9 Chartinds 28.51 +1.40 +28.3 AtTech 2.99 -08 -65 ChartCm 286 -06 +20.3 AspenTech 13.26 +.39 +12.0 ChkPoint 2456 +.41 +.2 AspenBion d6.04 +14 +15.3 ChkFree u46.32 +04 -1.6 Asprevag 2021 +.34 +1.6 Cheesecake24.99 +22 -18.9 AsscdBanc 28.30 +.20 -56.4 ChildPlcf 27.68 -.29 +53.8 Astec 53.99 +1.34 ! -28.4 ChinaBAK 4.67 +.19 -79.9 AthrGnc 1.99 +.03 +190.3 ChiFnOnl 12.92 +.93 +39.0 Atheros 29.64 -.21 +28.1 ChinaMed 34.67 +.59 +14.4 AasAir 50.91 +.04 -56.5 ChlnaSunn 7.20 +.95 -10.7 AI 5.40 +,13 -40.3 ChinaTDvlf 4,79 +.,48 -28,0 Audvox 10,15 +,03 -3.1 ChipMOS 6.58 +.18 +15.5 Autodesk 486.72 -,121 +77.5 Chordntrs 14.69 -.13 +36.4 Auxillum 20,04 -.01 +13.0 ChrchlD 48.30 -07 -11.6 Avanex 1,67 -.03 +391 CionaCp rs 3855 +.63 -5.6 CinnRn 42.75 +.41 -8.2 Cintas 36.46 +.33 -.1 Cirrus 6.87 +.16 +16.5 Cisco 31.84 -.38 -34.5 CilizRep 17.37 +.13 +35.6 CitrixSylf 36.68 +.16 -4.3 CleanH 46.35 -.07 -6.3 Clearwiren 23.08 +1.96 -6.6 CogTech 72,10 +.64 -2.4 Cognos g 41.42 +.22 -50.5 ColdwtrCrkdl2.14 -.28 -17.4 Comarco 6.26 +.10 -9.0 Comcasts 25.67 -.10 -8.6 Comcsps 25.52 -.09 +65.8 CmTouch h 1.99 +.08 +7.9 CompsBc 64.36 -.28 -46.9 CompCrd 21.15 -.20 -6.7 Compuwre 7.77 -.06 +22.8 Comlech 46.76 -.31 +74.4 ConcurTch 27.97 +.82 -23.8 ConcCm 1.38, +.03 -34.8 Conexant 1.33 +.19 +21.7 Conmed 28.14 -.49 -10.9 Conns 20.74 -.58 +5.2 CorinthC 14.34 +.22 -21.3 CorpExc 69.02 +1.68 -43.9 CorusBkshd12.94 -.29 -61.3 CostPlus 3.99 -.11 +10.3 Costco 58.29 -.71 -21.9 Cowlitz 13.10 +.05 -45.0 CredSys 2.86 +.04 +60.5 Creelnc 27.80 +.12 +170.4 Crocss 58.40 +2.47 +13.4 Crosstexs 35.95 +1.79 +88.7 CrwnMedia 6.85 -.06 +35.2 Crp.coams 42.17 +.33 +27.0 CubistPh 23.00 +.13 -73.5 CuraGen 1.22 +.07 -10.2 Cymer 39.47 +.06 +72.1 CyprsBio 13.34 +.44 +81.7 CytRx 3.47 -.07 -46.4 Cytogen 1.25 -.01 +54.6 Cytycif 43.76 +.15 -25.6 Drdgold rs 6.70 +.99 +10.4 DTSInc 26.70 +1.01 -44.1 Danka .76 -.01 +134 Dell ncIf 2846 +.16 -31.7 DPtaPtr 15.82 +.56 +66.3 Dndreon 7.77 +.01 -15.9 Dennys 3.96 +.06 +35.8 Dentsply u40.55 +.18 -438 Depomed 1.94 -.01 -202 DiamMgmt 993 -.01 -171 DPgRwer 46.24 +.73 +276 Diodess 30.17 -57 +57.1 DiscHoldA 2528 +.03 +14.0 Discvabs 2.69 +20 -39.4 DivXn 13.99 +38 +45.1 DobsonCm 12.64 +39.5 DllrTree 42.00 -.23 -28.5 DressBarn 16.69 -.59 +318.2 DryShips u75.32 +2.18 +21.4 DurectCp 5.39 +.31 +573 DynMatI 44.21 -.16 -51.1 Dynavax 4.49 +.23 -323 ETrade 1517 -.38 +18.9 eBay 3574 +.51 +8.1 ECITel 936 +01 -15.4 EZEM 1478 -27 +55.4 EagleBulk 2694 +09 +12.1 ErthUnk 796 +09 +1.2 EstWstBcp 35 86 + 37 +258.5 EchelonC 28 68 -.37 +10.4 EchoStar 41 97 -.58 -10.1 EduDv 6.52 +16.5 ElectSo 23.47 -201 -4.0 Elctrgs 2.39 +.02 +5,8 ElectArts 53 29 +.43 -3.2 EFII 25.73 +.10 +58.4 Emcoreqf 8.76 -39 -214 EmmisCs 6.48 +.05 +16.1 EncorW 25.55 -.79 -59.9 EncysiveP 169 -.10 +16.4 EndoPhrm 3209 +12 -26.1 EngyConv d25,11 -.11 -13.1 Entegris 9.40 -.10 -48.5 Entrust 2.20 -.07 -8.5 EnzonPhar 7.79 -.05 -.8 EpicorSft 13.40 +.30 +15.3 Equinix 87.16 -2.47 -9.2 EricsnT 36.52 -.20 -9.3 Eurand n 14.00 +.94 +25.2 EvrgrSIr 9.48 +.45 +1.9 Exar 13.25 +.04 +29.1 Exelixis 11.62 -.08 +43.3 Expediah 30.06 +.03 +6.4 Expdinlt 43.08 -.56 +55.7 ExpScrps u55.75 +1.18 -17.2 ExtrmNet 3.47 +.02 +4.6 F5 Netwk s 38.82 +1.86 +4.9 FEICo 27.67 -.19 +52.2 FLIRSys 48.45 -.01 +22.4 FalconStor 10.59 -.06 +24.3 Fastenal 44.60 -.85 -32.7 FiberTowr 3.96 +.13 -13.9 FrifhTnird 35.25 +.52 -11.1 RFnisarif d2.87 -.08 -62.1 FinLine 5.41 -.25 -5.1 FstNiagara 14.10 -.05 +249.8 FstSolarn 104.38 -2.12 -20.2 FstMerit 19.26 +.03 -9.8 serve 47.28 +.23 -67.8 RFlamelT 9.64 +.02 +4.7 Rextm 12.02 +.11 -27.9 Rowlnt d7.94 -.07 +272 FocusMdIf 42.21 +1.65 -22.0 ForcePron 16,76 -.23 +26.1 FormFac 46.97 +.47 +61.3 Fossillnc u36,42 +1.53 +117.1 FosterWh 119.71 +3.24 +58.7 Foster u41.11 +1.83 +24.2 FoundryN 18.61 -.16 -13.7 Fredslnc 10.39 +.19 -22.2 FmtrAir 5.76 +.02 -17.5 FmtFncIls 24.12 +.14 +10.8 FuelTech 27.29 -.71 +48.5 FuelCell u9.59 -.29 -12.5 FultonFnd 14.61 +.07 +5.4 GTC Bio 1.17 +92.7 Garmin u107.27 +1.40 +59.6 Gemstar 6.40 +.26 -2.6 GenBiotc 1.52 -.01 -20.6 GenesMcr 8.05 -.02 -54.5 Genta rs 1.21 -.07 +26.9 Gentex 19.75 -.39 +3.1 Genzyme 63.47 +1.02 -16.1 GeronCp 737 +.01 +45.2 GgaMed 1419 +.49 +15.8 GileadSas 3759 +1.12 +90.6 Globlind 2486 +.72 +50.3 GoldTlcm u7041 +214 +137 Google 52352 -428 +1002 GreenMts 32.85 +22 -16.3 GrpoFin 8.00 +06 +1.0 Gymbree 38.54 +.48 +18.2 HLTH 14.65 -52 -15.4 HMNFn 2920 +.46 +66.6 HMS HId u25.24 +1.50 -4.7 HamnCelest 29.74 + 30 +20.9 Halozyme 973 -37 +120.6 HansenMn 25.46 +1.11 +40.8 HansenNat 4741 +149 +376 Harmonic 1000 -03 +20.5 HayesLm 471 +14 +136 HrtndEx 1523 +22 -729 Heeysn 8.69 -.32 -8.1 HeidrkStr 38.91 -2.44 +180 HSchein 57.78 +.40 -8.4 HercOlfsh 26.47 - 22 -19.0 Hbbeltt 24.74 +.16 -10.5 HimaxTch 4.28 +.02 +2981 HokuSo 10.39 +.29 +14.7 Hologic 54.25 +27 -46.1 HomeSol 3.16 -03 +31.3 HookerFu 20.59 +3.16 +6.0 HoriznOff 17.28 -.09 -36,7 HotTopc 8.44 +.16 +1.7 HudsCty 1411 -23 -248 HumGen 936 +.02 +34,4 HunUB 2792 -07 -28.3 HuntBnk 17.04 +.02 -25.2 IACInter 27.79 +.10 -278 MCGCp 1467 -.12 +130.9 ICOInc u13.02 +1.27 -27+155.8 MDG Cap 1.10 +.14 -18.7 IPCHold 25.56 +.01 -11.2 MGE 3249 -.40 +16.6 IconixBr 22.60 -.15 +34.7 MGIPhr 24.79 +.23 +20.8 Ilumina 47.49 -.50 -3.5 MKSInst 21.79 +.05 +36.7 Imclone 36.57 +1.32 -33.6 MRVCm 2.35 +103.2 Immersn 14.73 -.02 +8.2 MTS 41.80 -.31 +12.7 Immucor 32.94 +.24 -12.8 Macrvsn 24.64 +.91 -41,6 Imunmd 2.12 +.03 +55.5 Magma 13.89 -.08 -71.1 InPhonic 3.21 -21 -426 MannKd 9.47 -.23 -2.9 Incyte 5.67 -.03 -50.4 Manntch 7.31 -.36 -4.2 IndevusPh 6.80 +.02 -31.5 MarchxB 9.16 +.07 -6.1 Infineran 18.50 -.61 +10.5 Martek 25.79 -2.02 +15.2 Informal 14.06 -.28 -12.1 Marvell 16.87 -.25 -10.2 InfosysT 49.02 +1.14 +2.9 Masimon 21.50 +.30 -8.1 InnerWkgs 14.66 +.45 +.6 Maxim hlf 30.81 +.12 +32.6 Insight u25.02 +.41 -8.6 MaxwlIT 12.75 +.20 -14.8 Insmedh .75 +.08 +12.2 Medarex 16.59 -.28 +1.9 IntgDv 15.78 +.02 +3.7 Mediacm 8,34 +.13 +29,1 Intel 26.15 +.16 +11.1 MedicActs 23.88 +.77 -36.8 InterDig 21.21 -.51 +22.4 Medivation 19.37 +1.23 +28.8 Intface 18.31 +.13 -34.6 MelcoPBLn 13.90 +.29 -33.1 InterMune 20.57 -.50 -9.9 Mellanoxn 18.02 +1.02 -6.7 IntlSpdw 47.61 +.43 -21.7 MenlGr 14,12 +.04 +38.6 Intersil 33.16 +.45 -19.1 Methanx 22.14 -.66 +6,9 Intervoice 8.19 -.05 +39.5 Methode 15.11 +.11 -10,8 Intut 27.23 +02 +1.7 Micrel 10.96 -.10 +139.8 IntSurg u229.97 +5.92 +18.0 Microcho 38.59 +.23 -5,5 Investools 13.03 +.35 +32.3 MicroSemi 25.99 +.34 +41.6 Invitrogn 80.12 +.46 -3.2 Microsoft 28.91 +.43 -22.9 lonatron 3.16 +.04 +34.1 MicrotkMd u6.17 +.03 +14.6 Isis 12.74 +27 +32.8 Microtune u624 +,14 +69.9 Itron 88.07 +1.16 +53.9 Micrvisn 4.91 +.05 +42.2 IvanhoeEn 1.92 ... -7.5 MillPhar 10.08 -.07 +31.0 Milliomlnt 80.72 -1.19 -5.8 Mindspeed 1.80 +.09 +30.4 j2GIobal 35.54 +.64 +2.7 Misonix 4.15 +.11 +119.6 JASolarn 39.09 +2.61 +54.1 Mitcham 18.42 -1.62 +55.4 JDASoft 21.40 +.55 -11.8 MobileMini 23.76 -.33 -10.3 JDSUnirs 14.95 +.07 -16.5 Molex 26.40 +.09 +23.6 JackHenry 26.44 +.46 -7.3 Monogrm 1.65 -.01 +3.6 JkksPac 22.63 +.02 4 +88.8 MonPwSysu20 98 +.09 -306 Jamba 6.99 +.20 -26.5 MonstrWw 3427 +.19 -39.0 JamesRiv 5.66 +.26 -47.0 Move Inc 2.92 +.08 -31.7 JetBlue 970 +.11 -88.4 MovieGal h .41 +.01 -26.0 JonesSoda 9.10 -.97 +44.6 MyriadGn 45.26 +.54 +1.5 JosphBnk 29.80 -2.60 -44.8 NABI Bio 3.74 +.32 -54 JoyGibi 45.72 +122 +3.5 NETgear 27.18 -.80 +845 JnprNtwk u34.95 +35 +17.4 NICESys 3613 +.28 +16.3 KLATnc 57.85 +,37 +20.2 NIIHIdg T746 -35 -163 Kenexa 27.84 -79 +4.0 NPSPhm 4.71 +.18 -20.3 KeryxBlo 10.60 +.56 -449 Nanogen 1.03 +.01 -30.0 KnghtCap 13.42 -.22 +68 Nasdaq 32.88 -.33 +1.3 Kulcke 851 -20 -46 Nastech 14.43 +.28 +65.9 Kyphon 67.02 +12 -16.9 NatAUH 969 -24 +49.2 LJIntl ll 6.49 -1.46 -42.7 NektarTh 8.72 +.43 +291 LKCp 2969 -07 -83 Nelease 1714 +.53 +19 LSIInds 2022 - 13 -304 Netflx 17.99 +07 288 LTX 399 +04 -280 NetwkAp 28.27 +.05 -+2 LmRschif576 +89 -1.8 Neurcrine 10.23 +.50 -20.6 LamarAdv 51.95 -1.01 -46 NexCen 6.90 -.01 +11.1 Landstar 4242 -.46 -33.1 NobltyH d1780 +.55 - 4 NorTrst 60 47 -.20 +372 Lanoptc ul9 15 +90 -41 NthidLb 2 47 .10 -185 Lattce 528 -03 +410 2 NvdL 24.19 +.2910 +33,4 LawsnSft 986 +14 +1502 NfW 2419 .29 +.7 La r is3 8 -0 --156 Novavax 346 +05 +40.7 LeapWres 8370 -1 +194 Novell 7 40 +09 -120 Leve3 4293 - 21 -188 Novlus 2796 +.30 +421 LbGlobA 4143 -17 -400 Noven 1527 -21 +42 JbGlobC 3986 -18 -106 NuHonz 920 -08 -119 btyMIntA 00 -05 +707 NuanceCm 1956 -36 +152 bbtMCapA112�2 +135 -105 NutnSys 5676 +2.43 +40.2 Lifecel 33 84 -.06 -440 Nuvelo 2.24 +05 -165 LjfePtH 2813 +.51 +420 Nvdla 52.57 +23 -24.1 LgandPhm 623 .04 +95 OReillyA 3510 -.30 -586 bmelhtnr 9.19 -10 1.7 OSI Phrm 3556 +.42 -10.5 Urcare 35.67 -.23 +4.2 OSI Sys 21.80 +1.24 +13.9 LjnearTch 34.52 +.14 +68.9 ObaglMed n17.41 +1.49 +14,9 LivePrsn 6.01 +.18 +308 Omnicell 24.38 +.13 4378 Local.com 558 -.23 +77.4 Omnture 24.98 +1.32 +36 LodgEnt 2594 +.17 +47.3 OmniVsn 20.11 -,09 -64 Logitech 26.76 -.02 -11.7 OnAssign 10.38 +07 -397 LookSmart 2.69 +03 +56.7 OnSmcnd 11.886 -22 +234 LoopNet 18.49 +.23 +71.4 1800Rowrs 10.56 -,24 +32.0 lMlulemn gn36,95 +2.11 +3084 OnyxPh u43.21 +20 -32.2 Lumera 4.14 +.20 +248 OpenTxl 25.34 -09 -44.8 OpenTV 1.28 +.06 -40.8 OpnwvSy 4.57 -.02 +60.7 Opsware 14.17 +.01 -1.8 OptclCm 1.61 +7.6 optXprs 24.42 +.12 +19.8 Oracle 20.54 -.19 -4.0 Orthfx 48.00 +.16 +16.5 OtterTail 36.29 +.29 +.7 PDLBio 2028 +.17 +14.9 PMCSra 7.71 -4.5 PSSWrld 18.66 +,17 +30.9 Paccar 84.93 -.28 -27.8 PacerlntI 21.50 +.09 -22.6 PacEthan 11.91 +.29 -23.4 PacSunwr 14.99 +.74 +14.9 PaetecHn 12.06 +10.5 Palm Inc 15.57 +.48 +4.0 PanASIv 26.17 +.98 -20.5 PaneraBrd 44.46 +1.22 -32.8 Pantry 31.47 -.81 +10.0 ParagShpnu15.95 +.21 -.5 ParPet 17.49 -.15 -2.0 ParamTch 17.66 -.15 +7.6 Patterson 38.22 +.42 -5.6 PattUTI 21.94 +16 +13.9 Paychex 45.02 +.23 +43.3 PnnNGm 59.65 +93 -25.5 Penwest 12.39 +,12 -17.6 PeopUtdF 17.50 +.04 -46.0 PeopleSup 11.36 -.04 -37.9 Peregrine h .72 +46.2 Perfident 23.99 +.09 +23.4 Perrigo 21.35 +.05 -9.3 PetroDev 39.03 -1.04 +18.2 PetsMar 34.11 +.08 +23.6 PFSweb 1.36 -.17 +68.8 PharmPdt 35.04 +.03 +65.1 Pharmion 42.49 +.19 +14.9 PhaseFwd 17.21 -.38 -16.9 PhilCons Q7.03 -1.05 -22.3 PhotrIn 12.69 +.49 +2.6 Plexus 24.49 -.02 -95.0 PointTherh .05 +.00 +2.4 Polycom 31.64 +.32 +28.5 Polymed u51.91 +.13 -18.8 PoolCorp d31.80 -.22 -32.1 Popular 12.19 -.11 -38.7 Power-One 4.46 -.02 +13.9 PwShsOQQ49.14 -.04 +9.9 Powrwav 7.09 +.21 +2.2 Presstek 6.50 +.10 +14.3 PriceTR 5002 -.15 +89.0 pnceline 82.44 +1 26 +309 PnnctnR 6.91 -22 -2.9 ProgPh 2499 -29 -384 ProgGam 5.59 +.16 -39 PsychSol 3605 -.51 -342 QLT 557 +.07 -345 QaoXing 864 -.17 -410 logxc 1294 +.13 +27 Qualcom 3882 -.11 -194 QuanFuel 1.29 -3 QuestSf hf 1461 +07 +735 OuintMan 1910 +54 -55.6 RCN 1339 -22 -68 RFMcD 633 +09 -542 RackSys 14.18 -.11 +528 RadntSys 15.,95 +.06 -284 RadTherSv22.56 -60 -441 RadoOneD 3.77 +10 -18.2 Rambusif 1548 +15.9 Randgold u27.19 +2.17 +150 RareHosp u3788 +02 -42.8 RealNwk 626 +09 +6.0 Reoenm 21.27 +58 -363 RentACt 18.80 -.14 +162 RepuDAr 1950 +,44 +965 RuchMots 83,70 +44 -77 ResConn 2938 -25 -722 RestoreM 1.17 +17 +603 RickCan 11.00 +.22 +34 6 Rwerbed n 41.31 -1.29 -73 RossStrs 27.17 +.27 -15,56 RoyOld 30,41 +1.80 -209 Rudolph 12.59 -55 +49.5 SlCorp 8.24 +25 +20.0 SBACom 33.01 -.10 -14.3 SEItnvs 25.51 -.06 -37.5 STEC 7.93 +.22 +10.9 SalixPhm 13.50 +.54 +42.9 SanderFm 43.27 +1.17 +29.5 SanDisk 55.73 -.12 -38.3 Sanmina 2.13 -.09 -68.5 Santarus 2.47 +.10 +16.8 Sapient 6.41 +.03 -5.3 Satlon h 1.08 +.04 +17.0 SavientPh 13.12 -.11 +6.4 Sawis 38.01 -1.71 +55.8 Schnitzer 61.86 +1.48 -4.9 Scholastc 34.10 +.26 +1.0 Schwab 19.54 +.07 +6.8 ScielePh 25.63 -.19 +18.0 SciGames 35.68 +.18 -18.9 SearsHkIgsl36.19 +.34 +40.9 SecureCmp 9.24 +.01 +1.2 SelCmfrt 17.59 +.20 -27.7 Selctlns s 20.72 +.06 438.5 Semtech 18.10 +.39 -53.3 Sepracor 28.73 -.31 +40.3 Shanda 30.40 +.01 -47.7 Sharplmg 4.84 -.60 +27.4 Shire 78.70 -.82 -39.3 ShufflMstr 15.90 +1.14 -33.3 SiRFTch 17.02 +.03 +67.6 SierraWr 23.57 +.80 +62.6 SigmaDsg 41.39 +.06 +15.5 SigmAls 44.88 +.46 -55.1 Siicnlmg 5.71 +.01 +10.0 SilcnLab u38.10 +.51 +39.1 SilicnMotn 22.07 -.08 -32.2 SSTII 3.06 +41.4 Sicnware 10.90 +.11 +10.3 SilvStdg 33.91 +3.49 +8.3 Silverstar 2.36 +.02 +54.1 Sina 44.23 +.35 +14.9 Sinclair 12.06 +.21 +107.5 Sirenza u16.31 +.33 -93 SiriusS 3.21 +.07 -6.3 SkyWest 23.91 -.29 +16.1 SkvwksSol 8.22 +12 +8.7 SmartBal nu10.60 +.99 -30.2 SmartM 9.39 -.12 +93.8 SmfthWes 20.04 -1.15 +14.7 SmrthMro 16.28 -52 +5.0 SmurfStne 11.09 +23 +461 Sohu.cm 35.07 -.21 -74 Solarfunn 10.83 +.24 -6.1 SoncCorp 22.48 +.30 +3.7 SncWall 8.73 + 03 -12.4 Sonus 577 +04 -2.7 SouMoBc 1478 -43.4 Sourcefiren 8.76 -.11 -53.5 SourceFrg d2.34 -10 -12.8 SouthFnd 2319 +.74 -389 SpansionA 908 -.07 +50.9 SpartMots 15.27 +.24 -13.6 Staples 23.08 -.53 -221 Starbucks 2758 +.14 +35.5 StDynas 4397 +.15 -344 SteinMrt 8.70 -12 -18.1 StemCeils 217 -02 +31.4 Stncydes 4961 +70 -232 StdFWA 25.95 +.69 +194 StewEnt 7.46 +26 +209 SunHlttGp 1527 +19 +1 1 SunMicro 5.48 + 11 +54.7 SunOpta 13.61 -.05 +98.8 SunPower 73.91 +1.28 -4.5 SuperMc n 8 37 +.04 +267.8 SupTech 6.51 -.73 -169 SuperGen 4.22 +.06 -30.2 SupOffsh n 12.25 +1.16 -26.8 SusqBnc 19r67 +.21 -1.1 Sycamore 3.72 -.01 -93 Symantec 1891 +11 -44.4 Syneic 4096 -08 +49.4 Synaptb u44.36 +1.38 +137,5 Synchron 32.58 -3.49 +1.3 Synopsys 27,07 +,31 +89.4 SynovIs 1885 -27 -23.2 SynaxBnl 6,64 -.02 -45.1 SyntroCp 1.90 +.01 4357.2 TBS IntlA 39.96 -.33 +10.9 TDAmeitr 17.94 +.01 -1.2 TFSFnn 11.65 -.12 -15.3 THQ 27.55 -.60 +28.8 TOP Tank 5.99 -.07 -9.0 TakeTwo 16.17 +.17 +78.9 Taleo A 24.46 +.93 -91.6 Tarragn 1.02 +.17 +99.1 TASER 15.15 +.48 +3.0 TechData 39.02 +.05 -19.2 Tekelec 11.99 -.01 +13.5 TeleTech 27,11 -.16 +5.2 Tellabs 10.79 +.36 +40.0 TevaPhrm 43.50 -.24 -5.4 TexRdhsA 12.55 -.14 +17.4 The9Ltd 37.82 +1.62 +65.3 ThrdWve 7.95 +.10 -.7 3Com 4.08 +.13 -72.4 ThrshldPh 1.02 +.10 -22.4 TIbcoSft 7.33 -.51 -26.4 TierOne 23.28 +.69 +8.9 TWTele 21.70 -.45 +12.5 TiVoInc 5.76 +.02 +15.9 TomoThn 26.27 +.89 -16.6 TrdeStatn 11.47 +.08 -70.4 TrIadGty 16.25 -1.13 -18.1 TridenlM hi 14.89 -.07 +42.2 TrimbleNs 36.07 +.32 -1.6 TiQuint 4.43 +.03 +6.9 TrueReliglf 16.37 +.15 -62.6 TrumpEnt 6.82 +.18 -.3 TrsINY 11.09 -04 -12.5 Trustmk 28.61 +.67 -33.0 TuesMm 10.42 -.20 +4.3 UAL 45.89 -1.06 -3.7 UCBHHId 16.91 +08 -383 USGIobals 20.73 +.12 -26.8 UTiWddwd 21.89 -.02 -62.9 UTStrcrn 3.25 +.07 +36.4 Ultrpetdn 17.98 +.73 -28.4 UtdNbiF d25.73 -59 +7.2 UtdOnIn 14.24 -.13 -9.7 US Enr 4.56 -.12 +28.0 UtdThrp 69.59 - 45 -21.4 UnivFor 36.65 -.68 -2.6 UrbanOut 2244 -.27 -12.1 VafTech h 1.45 +.07 -8.9 ValueClick 21.53 +.67 -42.2 VandaPhm 14.26 -.16 +87.7 VananSm s 5695 +.22 +1848 VascoDta 3375 -.98 +45.1 Vengy 25.76 -.93 +37.4 Vensgtn 3304 +05 +8.2 VertxPh 40.50 +.52 -6.0 VirgnMda h 2372 -05 -31.6 VroPhrm 1002 -04 +.3 VistaPrt 3321 +.23 +28.1 Volcom 3789 -1 11 -26.7 Volterra 10.99 -.25 +37.8 WamerChn1904 +03 +.2 WarrenRs 11.74 +04 +113 WashFed 2620 +10 -206 WaveSys 201 +.13 +5.9 WemerEnt 18.51 +18 -343 WetSeal 4.38 -.02 -7.9 WholeFd 43.21 -18 +405 WmsScots 27.56 +.13 +2.6 WindRvr 10.52 -02 +56.0 WinnDx n 21.06 -.45 +35.8 Wynn u127.45 +.98 -5.2 XM Sat 13.70 +.45 +45.9 XOMA 3.21 +04 +10.5 Xilinx 26.31 +.07 -51.2 XlnhuaFn 5.54 -.29 -21.8 YRC Wwde 29.51 +.11 -54 Yahoo 24.15 +05 -54.2 Youbet 1.69 -14,1 ZonBcp 7081 +.10 +106.4 Zoltek 40.60 -.57 +23.4 Zoran 17.99 -.07 +83,0 Zumlez u48.15 +.99 -22,9 ZymoGen 12.00 -.18 Requesi Iocks or mulual tund.2065 1.2159 Brazil 1.9445 1.9693 Britain 2.0231 2.0203 Canada 1.0528 1.0541 China 7.5398 7.5550 Euro .7306 .7325 Hong Kong 7.7875 7.7933 Hungary 186.01 187.34 India 40.619 40.805 Indnsia 9433.96 9433.96 Israel 4.1345 4.1333 Japan 115.29 115.13 Jordan .7085 .7094 Malaysia 3.5032 3.5090 Mexico 11.0591 11.0884 Pakistan 60.66 60.68 Poland 2.78 2.80 Russia 25.6469 25.6115 Singapore 1.5220 1.5266 Slovak Rep 24.66 24.76 So. Africa 7.1956 7.2616 So. Korea 938.97 938.09 Sweden 6.8264 6.8799 Switzerind 1.2015 1.2040 Taiwan 33.14 33.09 U.A.E. 3.6730 3.6726 Venzuel 2145.92 2145.92 British pound expressed in U.S. dollars. All others show dollar in foreign currency. Yesterday Pvs Day Prime Rate 8.25 8.25 Discount Rate 5.75 5.75 Federal Funds Rate 5.38 5.25 Treasuries 3-month 4.17 3.75 6-month 4.25 4.06 5-year 4.14 4.21 10-year 4.50 4.50 30-year 4.79 4.82 FUTURES Exch Contract Settle Chg Lt Sweet Crude NYMX Oct 07 76.30 +.57 Corn CBOT Dec 07 339V/4 -6T/2 Wheat CBOT Dec 07 824 -111/2 Soybeans CBOT Nov07 8921/2 -10T/2 Cattle CME Oct 07 96.80 -.25 Pork Bellies CME Feb 08 88.30 -.47 Sugar (world) NYBT Oct07 9.37 -.01 Orange Juice NYBT Sep07 122.40 +1.25 SPOT Yesterday Pvs Day Gold (troy oz., spot) $695.60 $665.00 Silver (troy oz., spot) 1265 $1791 Copper (pound) $ib. I5 D .db0= 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. THE MARKET IN REVIEW FRIDAY, SleTti-MtF. 7, 2007 11A MTAL FND 5-Yr. AMTFMB110.59 +.06 +27.5 Name NAV Chg %Rtn MultiCGrA 10.77 +,06+135.9 0 AIM Investments A: InBosA 6.29 ... +73.2 BasVaAp37.93 +.07 +77.3 LgCpVal 22.07 +.14 +97.4 Here are the 1,000 b chartAp 16.53 +.07 +747 NatlMun 11.37 +.08 +37.0 ChartAp 16.53 +.07 +747 SpEqtA 15.50 +.02 +92.1 show the fund name, ontp 28.32 +1 +. 73 TradGvA 716-.01 +14.5 net change, as well as IntlGrow 33.09 +.19+158.0 Eaton .VanceoB:t SelEqtyr 21.29 +.01 +74.1 FLMBt 10.80 +.06 +186. Tues: 4-wk total return AIM Investments B: NatMBt 11.37 +.08 +32.7 Wed: 12-mo total retu Capet 118 + +1042 Eaton Vance Cl C: Thu: 3-yr cumulative t Energy 47,91 +.50+266.0 GovtCp 7.16 +10.4 Fri: 5-yr cumulative tc SumrritPp14.35 +.10 +89.6 NaIMc 11.37 +.08 +32.0 Ulies 18.56 +.16+147 ergreen A: Name: Name of mutu AdvanCapitallp 15.21 5 +75.4 Advance Capital 1: Evergreen NAV: Net asset value Relp 192650 +.07 +31.7 AstAICt 14.69 +.05 NS Chg: Net change In p Alger Funds B: Evergreen 1 Total return: Percent SnCapGri 6.61 +,02+140.4 CorBdl 10,35 -0.1 +23.2 SCapGr 6.61 +eBerA: 2+1404 SMunil 3 +01 +138 dividends reinvested. BalanAtp 18.27 +.02 +631 Excelsior Funds: tive. GtrTcAp 74,77 +.37 -+9 Energy 26.43 +22+256.2 Data based on NAVs InlVaAp 23.59 .11+197.8 HiYieldp 4.59 ... +54.7 Inva 23. +.11+1978 Resr 5663 +36+1323 SmCpGrA30.21 +12+113.8 FPA nd: 36+132 Footnotes: e- Ex-ca| AllianceBern Adv: NwlA 10o98t ., +25.1 n - No-load fund. p - IntValAdv 23.98 +.11+202.4 Fairholme 31.97 +.05 Redemption fee or cc LgCpGrAd22.91 +.03 +52.7 +130.0 Stock dividend or split AllianceBern B: Federated A Stock dividend or split CopBdBp 11.83 -.03 +41.3 MxdGrStA 42.56 +.28+119.5 No information availat GIbTcrhBt 66.39 +.33 +692.1 KaufmAp 6.36 +.02+127.4 wish to be tracked. N Growth t 27.4.4 +.w +69d.0 .A SCpGrowthB 257.44 +04 +69.0 MuSecA 10.32 +.02+18.3 Upper, Inc. and The As USGovB2p 6.77 +9. 7 Federated InstIh pe, canT USGovIBp 677 ... + KauranK 6.36 +02+1269 AllianceBemC: Fidelity Adv Foci0FoT GrthAp 44.90 +190+86.9 SCpGCt 25.10 +.10+105.9 EnergyT 51.14 +35+2482 HYTFAp 10.62 +.04 +30.3 Allianz Funds A: HICarT 23,0 +.18 622 IncomAp 2.68 +.01 +93.1 NFJDVt 17.85 +.11+113.6 FideltyAdvisor A InsTFAp 12.08 +05 +22.3 Alllanz Funds C: Din r 2412 +.07+1455 NYITFp 10.77 +.03 +16.1 GrowthC t23,88 +.12 +68.1 F Adso LATFAp 11.37 +.04 +22.3 TargetCtl 21.47 +.14+107.4 Fidelity Advis +or06+14 LMGSA 9.96 .. +134 Amer Beacon Plan: Divnln 24.5 +.06+149.1 MDTFAp 11.51 +.06 +21.5 LgCpPIn 23.95 +.07+115.4 n 3 +50 MATFAp 11.68 +.05 +21.8 Amer Century Adv: nlBdin 1069 ... +21.2 MITFAp 12,05 +.04 +21.9 EqGroAp 2620 +.08 +83.1 Fidelity AdvisorT: MOTFAp 12.05 .06 +22.5 Amer Century Inv: BalancT 17.61 +.07 +56.5 NJTFAp 11.94 +.04 +23.0 Balanced n17.06 +.02 +56.8 DintTp 23.84 +06+142.2 NYInsAp 1133 +07 +20.7 EqGroln 26.23 +.08 +85.3 DivGrTp 14.02 +.02 +588 NYTFAp 11.59 +.04 +21,7 Eqlncn 8.83 +.04 +81.4 DynCATp19.76 +.10 +94.0 p + Growthln 24.50 +13 +66.6 EqGrTp 59.93 +46 +72.9 NCTFAp 12.05 +.06 +22.5 Heritageln20.20 +.10+133.0 EqnT 31.23 +11 +85.5 OhiolAp 12.39 +.06 +22.5 IncGrn 33.55 +.06 +82.4 GrOppT 39.07 +13 +75.1 ORTFAp 11.69 +.05 +23.6 InDicrn 17.05 +.13+233.3 HilnAdTp10.34 +.01+129.6 PATFAp 10.25 +.05 +22.0 InlGrolin 13.70 +.08+115.3 niBdT 10.67 -.01 +19.6 REScAp21.13 -.03 +92.6 UfeScin 5.72 +.05 +52.5 MidCpTp 27.40 +.03+1293 RisDvAp 3665 +.26 +63.2 New0pprn7.84 +.04 +922 MncTp 12.69 +.05 +218 SMCpGrA4312 +22+113.2 OneChAgn13.89 +.05 NS OvrseaT 2432 +.14+130.6 USGovAp 6.38 ... +18.6 RealEstln27.89 +.18+155.4 STFT 9.28 ...+15.8 UtsAp 1429 +15+115.7 Ultran 29.97 +.16 +45.8 Fidelity Freedom: VATFAp 11.60 +.05 +23.1 Valuelnvn 7.72 +.03 +86.2 FF2010 15.01 +.04 +55.3 Frank/Tmp Frnk Adv: American Funds A: FF2015n 12.60 +03 NS IncmeAd 2.67 +.01 +95.1 AmcpAp 21.64 +.03 +79.9 FF2020n 16.02 +06 +762 Frank/Temp Frnk B: AMu6Ap 30.83 +.13 +75.1 FF2025n 13.28 +05 NS IncomeBt 2.67 +.01 +84.7 BalAp 19.85 +.06 +65.7 FF2030n 16.63 +07 +7.3 Frank/Temp Frnk C: BondAp 13.16 -.02 +37.2 FF2035n 13.78 +.06 NS FoundAl p 13.94 +.06 NS CapWAp 19.50 +.03 +53.4 FF2040n 9.85 +05 +94.4 InomCt 2.70 +.01 +88.5 CaplBAp 64.12 +.19 +96.6 Fidelity Invest: Frank/Temp Mtl A&B: CapWGAp45.73 +25+161.5 AggrGrrn22.49 +.06+114.1 BeacnA 17.15 +.06 +97.7 EupacAp 51.38 +.27+160.2 AMgr5n 16.68 +.03 +50.4 DiscA 32.77 +.13+132.5 FdlnvAp 43.66 +.29+118.0 AMgr70n 1721 +.04 +594 QualidA 23.39 +.07+108.3 GwthAp 36.03 +.19+107.9 AMgr20rn12.79 +01 +46.0 SharesA 26.77 +.09 +88.9 HITrAp 12.15 +01 +80.5 Balancn 2080 +08 +92.4 Frank/TempMtl C: IncoAp 20.73 +.06 +87.4 BlueChGrn47.76 +.12 +54.6 DiscCI 32.40 +.13+124.9 IntBdAp 13.42 -.01 +15.9 CAMunn 12.14 +.05 +21.5 SharesCt 26.38 +.09 +82.8 ICAp 35.82 +15 +83 Canadan 59.20 +.28+242.1 Frank/Temp Temp A: NEeAp 29.21 +.08+119.9 CapApn 29.36 +.16+123.2 DvMklAp 31.54 +.31+270.0 NPerAp 34.85 +.23+131.8 CapDevOnl3.80 +.10 +73.3 ForgnAp 14.64 +.10+114.3 NwWridA 56.03 +31+227.4 Cplncrn 8.78 +.02+110.6, GIBdAp 11.22 +.03 +73.3 SmCpAp4524 +31+182.0 ChinaRgn31.88 +.35+203.3 GrwohAp 26.17 +.14+103.4 TxExAp 12.26 +.03 +20.5 CngSn 495.61 +3.57 +69.9 IntxbEMp 21.39 ... 00 WslAp 36.91 +.19 +77.5 CTMunrn11.22 +.04 +18.7 WorldAp 20.28 +.11+112.6 American Funds B: Contran 71.76 +.30+107.2 Frank/Temp Tmp Adv: BalBt 19.80 +.06 +59.6 CnvScn 28.53 +.08+102.2 GrthAv 26.24 +.15+106.0 CaplBBt 64.12 +.19 +89.4 DisEqn 30.91 +.14 +85.6 Frank/Temp Tmp B&C: CpWGrBt45.46 +25+151.6 Divlntn 40.26 +20+165.5 DevMkIC 30.75 +.30+2579 GrwIthBt 34.73 +.18+100.3 DvSIkOn 16.73 +.04 +73.9 PForgnC 14.36 +09+1064 IneoBt 20.61 +.06 +80.3 ivGlhn 33,38 +.04 +64.1 GthCp 25.41 +14 +95.9 ICABt 35.62 +.15 +76.8 EmrrMkn 30.13 +29+332.0 GEElfunS&S: WashB 36.65 +.18 +70.9 Eqlncn 60.23 +.17 +91.2 S&SPM 49.50 +21 +70.7 Ariel Mutual Fds: EQIIn 24.48 +.10 +84.9 GMO Trust II: Apprec 49.96 +.05 +69.2 ECapAp 29.16 +20+153.9 EmMkr 24.32 +32+385.2 Ariel 55.08 +.03 +79.3 Europe 41.69 +.19+199.2 For 19.08 +10+160.3 Artisan Funds: Exchn 349.15 +1.68 +87.4 InIntrV 36.52 +23+174.0 Intl 31.27 +.05+124.4 Eportn 24.94 -.01+112.4 MTru 2 +23+74 MidCap 35.66 +.18+113.7 Fideln 38.21 +.20 +80.3 GO s I MidCapVal21.46 +.03+148.7 Fity rn 23.11 +.01 +834 ErMk 24.25 +.32+385.9 Baron Funds: FtRateHirn9.60 ... NS Foreign 19.09 +.10+161.2 Asset 63.67 +.17+104.5 FLMurn 11.28 +.04 +20.3 IntlGrEq 32.60 +24 NS Growth 53.09 +.09+106.6 FrInOnen 31.04 +.11 +86.0 IntlntrVI 3651 +,22+174.8 Partners p24.64 +.05 NS GNMAn 10.73 -.01 +199 GMO Trust VI: SmCap 24.50 +.14+113.5 Govtlnc 10.12 -.01 +19.1 EmgMktsr24.27 +.32 NS Bernstein Fds: GroCon 78.46 +.75+126.7 InllndxPI 25.36 -.07 NS IntDur 13.09 -.01 +24.3 Grolnn 31.98 +.03 +499 /nlCorEq 41.36 +.29 NS DivMu 13.96 +02 +15.0 Grolnclln 11.52 +.06 +71.5 USQItyEq 22,26 +.08 NS TxMgIntV 27.95 +.18+147.1 Highlncrn 8.72 ... +71.7 Gabelli Funds: IntVat2 27.65 +21+150.0 indepnn 25.26 +.17 +94.1 Asse 52.44 +.28+115.4 EmMkts 46.24 +.56+403.7 MIntBdn 10.15 ... +20.9 1 Gateway Funds: BlackRockA: IntGovn 10.07 -.02 +16.9 Gateway 28.52 +.07 +52.3 AuroraA 28.15 +01 +97.0 IntlDiscn 41.71 +20+171.9 Goldman Sachs A: BaVIAp 32.78 +15 +96.5 IntSCp r n 27.62 +.06 NS HYMuAp 10.78 +.02 +29.6 CapDevAp 16.54 +.14 +65.9 InvGBn 7.21 ... +23.3 MdCVAp 40.14 +.21+109.3 GIAAr 19.62 +.08+124.9 Japann 17.10 +.07+102.5 Goldman Sachs Inst: HYlnvA 7.85 +.01 +744 JpnSmn 11,79 -.04 +79.9 HYMunin 10.78 +.02 +32.1 BlackRock B&C: LatAmn 54.,84 +.49+560.0 MidCapV 40.55 +.22+113.5 GIAICt 18.51 +07+116.6 LevCoStkn33.75 +.22+369.7 Strulnt 16.30 +.08+154.1 BlackRock Instl: LowPrn 45.11 +.10+122.2 Harbor Funds: BaVll- 32,97 +.15 +99.0 * ,-,,-, a ' -" I Bond 11.65 .. +26.3 GIBllocr19.70 +.08+128.0 '- .11 -."' " "."'S C IapAplnst35.43 +19 +68.4 BrandywineFds: MAMunn 11.72 +.05 +22.1 Intlr 69.28 +.56+201.4 BlueFdn 36.79 +.10+110.9 MIMunn 1169 +.04 +21 1 Hartford Fds A: dywnn39.42 +.07+106 MidCapn 31.06 +20+1179 CpAppAp41.62 +24+1442 Brinson FundsY: MNMunn11.19 +.03 +19.8 DivGthAp 22.43 +.10 +92.5 HiYdlYn 6.76 +.01 +625 MgSec 1063 ... +184 Hartford Fds C: CGM Funds: nJM n +05 +21.6 1CapApCt 37.81 +.22+136.2 CapDvn 32.84 +.10+161.1 NwMktrn 1436 +.02+102.7 Hartford Fds L: Focusn 49.35 +.96+246.4 NwMiln 31.86 +.16 98.9 GrwOppL 34.61 +.19+161.0 Mutin 32.84 +.32 +94.6 NYMunn 12.60 +.05 21.7 Hartford HLS IA : CRM Funds: OTCn 48.40 +.38+110.8 CapApp 57.41 +.37+159.1 MdCpVII 32.80 +.09+136.5 OhMunn 11.41 +.04 +21.5 Div&Gr 24.36 +.10 +98.5 Calamos Funds: 1001ndex 10.69 +.04 NS Advisers 23.72 +.07 +56.7 Gr&lncAp33.50 +.19 +79.4 Ovrsean 50.16 +,22+153.4 Stock 55.46 +.25 +79.2 GrwthAp 61.59 +.39 +99.3 PcBasn 31.66 +.09+172.5 TotRetBd 11.45 .01 +29.5 GrowthCt 57.94 +.36 +91.9 PAMun r n 10.66 +.03 +20.6 Hartford HLS IB : Calvert Group: Puntnn 20.61 +.04 +69.6 CapAppp 56.99 +36+155.8 Incop 16.66 -.02 +38.0 RealEn 32.22 +.22+139.7 Hennessy Funds: IntlEqAp 24.44 +.15+122.3 StIntMun 10.20 ... +12.8 CorGroll 28.84 +.25 NS Munint 10.48 +.02 +13.6 STBFn 8.68 ... +16.9 HollBaIFdn17.13 +.02+42.8 SocialAp 31.00 +.07 +47.6 SmCapindr23.02 +.12+100.8 Hotchkis &Wiley: SocBdp 15.89 -.01 +31.5 SmllCpSrn19.35 ...+120.4 LgCpVal 24.58 -.01+107.8 SocEqAp 39.31 +.14 +60.3 SEAsian 39.33 +.44+314.5 LgCpVIAp24.49 -.01+105.1 TxFLt 10.10 +.01 +5.9 StkSkin 30.24 +.15 +88.0 MidCpVal 27.78 -.03+137.0 TxFLgp 16.20 +.05 +17.7 Sratlnc/n 10.47 ... +56.7 HussmnStrGr 16.44-.02 TxFVT 15.53 +.04 +16.3 StrReRlr 9.95 +.01 NS +44.5 Causeway Intl: TotalBd n 10.30 ... NS ICON Fds: Instiltunlrn20.96 +.07+156.0 Trendn 69.75 +.28 +687.0 Energy 39.68 +.36+280.0 Clipper 90.79 +.35+37.0 USBIn 10.80 .. +23.8 HIthcare 17.28 +.13 +83.1 Cohen & Steers: Utilityn 20.52 +.13+147.9 ISI Funds: RlyShts 80.08 +.49+163.5 ValStratn34.69 +.15+132.9 NoAmp 7.41 .. +24.2 Columbia Class A: Valuen 86.81 +43+130.1 Ivy Funds: Acomt 30.95 +.10+147.1 Wridwn 22.22 +.10+124.0 GINaIRsAp37.40+.61+297.0 FocEqAt 23.03 +.06 +71.1 Fidelity Selects: JPMorgan A Class: 21CntryAtl5.34 +.02+148.1 Airn 51.17 +.05+138.0 MCpValp 26.70 +.07+1112 MarsGrAt 21.57 +.03 +73.8 Banking n 30.60 -.01 +44.0 JPMorgan Select: Columbia Class Z: Biotchn 68.28 +.59 +88.3 IntEqn 39.33 +24+120.7 AcomnZ 31.75 +.09+151.6 Brokrn 66.55 -.10+128.5 JPMorgan Sel CIs: AcormlntZ 45.03 +.09+239.9 Chemn 79.51 +.43+137A IntrdA4 ern29,04 +.08 NS IntEqZ 18.02 +.08+1366 ComEquipn23.46 +.21+144.6 dAmern29,04 +08 NS IntVIZ 24,80 +.07+168.9 Compn 45.97 +.05+110,0 Janu LgCpldxZ 28.85 +.13 +79.6 ConDisn 25.00 +.08 +505 Balanced 2571 +.08 +56,3 MrinOpZr 16.03 +.08+160.6 ConStapn62.75 +.33 +80.8 Cnterr 54.123 +.108+1923.7 DFA Funds: CstHon 41.92 -26 +969 54 +13 USCorEq2nl2.17+.04 NS DAern 89.46 +.35+1497 FedTE 6.48 +02 +9.0 DWS Scudder Cl A: Electrn 50.40 +30 +93.5 FIxBnd 9.40 -.01 +24.2 ConmmAp25.64 -.02+154.9 Enrgyn 61.07 +42+262.1 Fund 3094 +17 +66.0 DrHiRA 51.34 +.20 +85.1 EngSvn 95.11 +30+287 5 FundaEq 28.17 +20 +91.3 DWS Scudder ClS: Evirn 17.92 +.09 +76.2 GIUfeSci 22.60 +.14 +74.1 ErnS r259 .2+314.5 Health 1296 +106+9.5 MdCpVa l 25.60 +15+1238 EMroEq 4,25916 +.26+31452 HomFn 39.32 -20 +223 Onon 11.95 +04+178.7 GIbEuroEq 409.716 +.23+1422 insur 69.05 -.38 +78.6 Ovrseasr 53.35 +.14+251.9 GbdOpp 4438 +.17+1743 Leisrn 7976 +34+111,5 Research 29.32 +17 +99.1 Gbhems 3573 +.12+1591 Materialn 55.79 +.53+192.8 ShTmBd 2.87 ... +16.9 Goid&Pr 21.49 +1.04+2229 MedDla 5086 +21+110.6 Twenty 6276 +33+1141 GrocS 222 .10 +636 MdEqSysn2.31 +2+109.4 r Venur 68.89 +05+529 HiSldTx 12.74 +.03 +275 Molndn 4391 +.32+110.4 Wr/dWr 55.79 +.20 +72.3 IntTxAMT 1102 +02 +160 NtGasn 4402 +.42+2335 i Janus Adv S Shrs: IntlFdS 67.32 +30+1330 Papern 33.31 +.16 +389 Forty 3557 +25 +97.3 LgCoGro 29.43 +15 +65 Pharmn 1154 +.09 +739 . JennisonDryden A: La rE7059 674634 Relailn 5063 +.08 +746 BlendA 20.45 +.11 +977 MgdMuniS8.98 +02 +210 Softwn 7021 +.29+130.4 HiYldAp 5.58 -.01 +85.7 MATFS 14.08 +.04 +196 Techn 7921 +.55+1197 ! InsuredA 10.55 +.03 +16.9 Davis Funds A: Tecmn 5569 -.59+174.1 UlilyA 15.83 +.10+2343 aVenA 460 +11 +952 Transn 5334 +.10+132.3 JennisonDryden B: DavenA s B:+.1 UtilGrn 6027 +.78+1548 !GrowthB 15.78 +.09 +58.8 Davis Funds B: Wirelessn 885 -.02+265.6 HiYdBt 5.58 . +82.0 NVei 3.14 .F10 +&76 Fidelity Spartan: i InsuredB 1057 +.03 +15.5 NvenY 4.52 +11 +06,1 Eqdxlnvon 52.51 +23 +80.3 John Hancock A: +n 1 +0 5001nxlnvrn102.87+.45+80.3 BondAp 14.66 -.01 +27.5 NwrenC 38.39 +.10 +878 Intllnxlnvn47.1B +.23+148.9 ClassicVlp27.12 -03 +986 Delaware invest A To4Mktlnvn41.76 +.17 +89.6 RgBkA 35.04 +29 +47.3 TxeSAp 13 +.03 +232 FidelitySpart Adv: StrlnAp 6.49. .. +45.2 TlUSA 1130 +.03 +7 EqidxAd n 52.51 +.23 NS John Hancock B: Delaware Invest B: 500Adrn102.88 +.45 NS StrlncB 649 ... +40.3 DeichB 330 +01 +84.2 TotMkiAdrn41.77 +.17 NS John Hancock CI : SelGSl 25.84 +.08 +716 First Eagle: LSAgr 1573 +.07 NS Dimensional Fda: GblA 4.33 + 15+1513 LSBalanc 1484 +.04 NS EmMktV 41.42 +554796 OverseasA26.74 +.06+1804 LSGrth 1551 +06 NS ntSeVa n 2268 +�03+2810 First Investors A Julius Baer Funds: USgCon454 +.19 80+ 2 iBIChpAp 2494 +11 +598 IntlEqlr 47.57 +.21+189.9 USLgVan5.17 +04+1029 GkoblAp 828 +.05 +98.9 IntIEqA 4652 +.21+185.4 InSCon292 .05238.9 MATFAp 1153 +04 +15.6 LSWalEqn19.44 +.02 RFxdn 1023 +.01 +150 MidCTAp 3057 +11 +1d7+18 InlVan 24.73 +.08+214.1 M.d p 30 7 + . +937� Lazard Instl: G/ovonl +19.'2NJIFAp1. 1+ " r EmgMktl 24.11 +30+3554 GlbSFxlnenl0.90 .. +19.2 NYTFAp 14.10 +07 +1U Legg Mason Fd TMUSTgrV24.1 +.04+134.8 PATFAp 12.64 +06 +157 Legg Mason: Fd+.07+1640 TMInlVa 21.12 +.07+2075 SpSrtAp 24.11 +963 OpTrI 201 .07640 TMMdkwV 18.22 +.04+116.3 Ti ExA p 968 +03 +146 Spnp 3978 +01+1268 2YGIFxdn10.48 ... +14.6 TotRtAp 15.74 +.03 +543 rp 7130 .39 +2 DFAHEn 28.77 +.18+143.4 ValeBp 8.04 +.03 +866 Legg Mason InstI: Dodge&Cox: FirsthandsFunds Vl t 7996 +44 +91.5 balanced 88.07 +15 +78.4 GibTech 5.05 +03+1104 Legg Mason Ptrs A: Income 12.56 -.02 +25.4 TechVal 4287 +45+1369 AgGrAp 11747 +91 +919 InItStk 47.38 +.18+210.4 FrankempFrnk A: ApprAp 16.28 +.08 +701 Stock 156.06 +.48+109.6 AdjUSp 885 .. +142 HincAt 659 +01 +678 Dreyfus: ALTFAp 1126 +.04 +225 InAlCGAp 14 92 06+1110 Aprec 45.84 +.30 +58.3 AZTAp 085 04 +241 LgCpGAp2543 +.19 +696 Dr5yI 10.70 +.05 +70.2 0 alnvp 6703 +.03+105.7 MgMuAp 15.51 +04 +215 5001n 42.10 +.18 +77.0 CansAp 1248 +.03 +227 Legg Mason Ptrs B: EmgLd 33.96 +.07 +81.5 CAIrAp 11.39 +.03 +173 CaplncBt 1730 +05 +90.8 FLIntr 12.80 +.02 +14.4 CalTFAp 7.19 +03 +247 LgCpGB1t 2361 +.17 +634 InsMut 17.37 ... 0.0 CapGrA 1295 +06 +630 Longleaf Partners: Dreyfus Founders: COTFAp 11.78 +.05 +22.5 Partners 3709 -02 +92.2 GrowthB 12.05 ... 0.0 CTTFAp 10.86 +04 +214 Intl 2123 +.10+127.3 GrwthF p 12.85 ... 0 , CvScAp 1652 +.04 +99.8 SmCap 33.19 -03+1443 Dreyfus Premier: DbTFA 1175 +.05 +22.6 Loomis Sayles: CorVlvp 32.26 +.16 +82.4 DynTchA 3066 +.18 +88.9 LSBondl 14.41 +.01 +873 LtdHYdAp 7,01 +.01 +65.2 EqlncAp 22.24 +.05 +66.6 StlneC 14.91 +.01 +90.0 StrValAr 33.79 +.20+131.5 FedIntp 11.32 +.04 +188 LSBondR 1437 +.01 +84.8 TchGroA 27.43 +.12 +87,6 FedTFAp 1189 +05 +24.5 StrlncA 14 5 +.01 +97.4 Driehaus Funds: FLTFAp 11.66 +03 +229 Lord AbbettA: EMklGr 48.00 +47+402.3 FoundAip 14.20 +.06 NS AffiAp 1568 +09 +86.4 Eaton Vance ClA: GATFAp 1189 +.04 +22.7 BdDebAp 7.98 +.01 +567 ChinaAp 33.19 +.34+3173 GoldPrMA3386+1.45+210.6 MICpAp 2324 +09 +97.8 I* ToRA TEMTALFN TBE biggest mutual funds listed on Nasdaq. Tables sell price or Net Asset Value (NAV) and daily s one total return figure as follows: n (%) irn (%) total return (%) ital return (%) al fund and family. rice of NAV. change in NAV for the time period shown, with If period longer than 1 year, return is cumula- reported to Lipper by 6 p.m. Eastern. pital g6r;. .3d.Iii ui,.r, I - Pret.iou. day',. quJOi e Fund �s;els: un.C3 0. pay Oi:lribullr. .:.:.ils r - ontingent deferred sales load may apply. s - t. t - Both p and r. x - Ex.-:ashr, d i,.,er NA - ble. NE - Data in question. NN - Fund does not IS - Fund did not exist at start date. Source: associated Press MFS Funds A: MITA 21.90 +.12 +73.9 MIGA 14.91 +.07 +55.9 HilnA 3.73 ... +58.9 IntNwDA 29.53 +.11+200.0 MFLA 9,89 +03 +21,0 ToIRA 16.55 +.02 +57.9 ValueA 28.13 +.09 +92.3 MFS Funds B: MIGBn 13.47 +.06 +51.0 GvScBn 9.44 -.01 +13.3 Hilnn 3,75 +.01 +54.1 MulnBn 8.43 +.03 +18.5 TotRBn 16.55 +.03 +52.9 MFS Funds Insti: IntlEqn 21.18 +.09+140.7 MainStay Funds A: HiYIdBA 6.24 ... +90.4 MainStay Funds B: CapApBI 32.59 +.14 +44.7 ConvBt 16.19 +.04 +64.2 GovtBt 8.17 -.01 +11.3 HYIdSBBt 6.21 +.01 +83.7 InlEqB 1626 +,07+111.6 SmCGBp 15.69 +.07 +61.3 TotRtBI 19.50 +.03 +47.1 Mairs & Power: Growth 82.64 +.55 .+85.0 Marsico Funds: Focusp 20.21 +.06 +71.8 Growp 21.53 +.03 +75,9 Matthews Asian: Indiar 18.69 +.30 NS PacTiger 28.15 +.14+262,4 Mellon Funds: IntlFd 17.45 +.04+125.1 Mellon Inst Funds: Inl1Eqty 43.76 +.16+176.4 Midas Funds: MidasFd 4.66 +.21+219.2 Monetta Funds: Monettan 14.94 +.06 +86.7 Morgan Stanley A: DivGlhA 20.96 +.08 +62.7 Morgan Stanley B: DbvGtB 21.11 +.09 +81.8 GIbDivB 16.57 +.04 +96.9 StralB 2087 +.08 +73.0 MorganStanley Inst: EmMktn 34.76 +.40+328.8 GIValEqAn21.15 +.05 +87.6 IntEqn 21.84 +.03+119.4 Munder Funds A: InlemtA 23.12 +.10+153.8 Mutual Series: BeacnZ 17.29 +.06+101.1 DiscZ 33.17 +.13+136.4 QualfdZ 23.57 +.07+112.0 SharesZ 27.01 +.09 +92.2 Neuberger&Berm Inv: Focus 33.10 +.17 +99.6 Geneslnst 52.01 +.26+123.7 Intr 25.80 +.13+194.8 Partner 32.42 +.23+114.7 Neuberger&Berm Tr: Genesis 54.20 +.27+120.8 Nicholas Group: HilncIn 10.47 +.01 +50.5 Nichen 56.96 ... +62.3 Northern Funds: SmCpldxnlO.85 +.03+109.2 Technlyn 13.83 +.05 +82.6 Nuveen Cl A: HYMuBdp21.55 +.09 +42.2 Oak Assoc Fds: WhktOkSGn37.29 +.15 +59.2 Oakmark Funds I: Eqtylncrn 27.81 +.11 +0.3 Globalln 27.49 +.09+173.5 IntIlrn 26.23 +.01+147.4 Oakmarkrn46.42 +.18 +56.2 Selectrn 3259 -02 +55.0' Old Mutual Adv II: Tc&ColmZn15.88 +.03+104.9 Oppenheimer A: AMTFMu 9.51 +.04 +29.9 AMTFrNY 1261 +04 +287 CAMuniAp10.93 +.03 +32.0 CapApAp50.91 +.17 +69.4 CapncAp 13.10 ... NA ChemplncAp9.13 ... NA DvMktAp 48.85 +.57+365.1 Discp . 53.99 +.13 +82.1 EquityA 11.99 +.03 +82.7 GlobAp 77.86 +.49+129.3 GIbOppA 39.78 +.27+190.4 Goldp 32.43 +1.34+248.3 InlBdAp 6.21 .... NA MnStFdA 4333 +.15 +725 MnStOAp 15.68 +.05 +99.7 MSSCAp 22.71 +.04+113.2 MidCapA 20.05 +.08 +75.4 PAMuniAp12.46 +.04 +38.7 S&MdCpVI 41.08 +.11+169.4 StlnAp 4.33 ... NA USGvp 9.43 -.01 +18.7 Oppenheimer B: AMTFMu 9.47 +.04 +24.9 AMTFrNY 12.61 +.03 +23.6 CpIncBt 12.94 ... NA ChmplncB t 9.12 ... NA EquityB 11.33 +.03 +74.4 StrincBt 4.34 ... NA Oppenheim GQuest3: OBalA 19.09 +.03 +71.9 Oppenheimer Roch: LtdNYAp 3,31 ... +23.1 RoMuAp 17.96 +.05 +34.1 RcNtMuA 11.73 +.02 +45.3 PIMCO Admin PIMS: ToIRtAd 10.37 -.01 +25.4 PIMCO Instl PIMS: AAssetl 12.78 +.01 +59.9 ComodRR 14.23 -.02+100.7 DevLcMkr 10.92 +.03 NS Flllncr 10.06 ... NS HiYId 9.49 +. 66.1 LowDu 9.94 .. +18.1 RealRtnl 10.75 -.02 +30.8 TotRI 10.37 -.01 +26.9 PIMCO Funds A: RealRtAp 10.75 -.02 +27.9 TotRtA 10.37 -.01 +24.0 PIMCO Funds D: TRtnp 10.37 -.01 +24.9 PhoenixFunds A: BalanA 15.02 +.03 +53.1 CapGrA 16.91 +.07 +47.1 IntlA 15.03 +.10+131.6 Pioneer Funds A: BondAp 9,07 -.01 +29.4 EurSelEqA 43.02 -.04+149.9 GrwthA p 15U05 +.11 +57.7 IntlValA 26.51 +.16+128.6 MdCpGrA 16.94 +.11 +78.7 PionFdAp 5089 +.35 +80.4 TxFreA p 11.22 +.04 +20.3 ValueAp 17,75 +.02 +83.0 Pioneer Funds B: HiYIdBt 1124 +.02 +72.8 Pioneer Funds C: HtYIdCt 11.35 +.03 +72.7 Price Funds Adv: Eqlncp 30.08 +.15 +85.4 Growthpn33.68 +.11 +86.0 Price Funds: Balance n 22.00 +.07 +70.5 BIChrpn 39.18 +17 +79.2 CABondn 1081 +.03 +20.4 CapAppn 2160 +.08 +87.5 DrGron 2662 +.13 +763 EmEurp 34.95 +.13+463.9 EmMktSn 39.39 +.46+335.7 Eqlncn 3015 +.14 +87.2 Eqlndexn 3977 +17 +785 Europen 21.88 +03+145.6 GNMAn 934 .. +19.2 Growthn 3399 +11 +87,9 GrSinn 22.77 +.11 +74,8 HIthScmn 2925 +19+1215 HIlYelddn 6.83 .. +63.0 Int/Bondn 985 +.01 +442 IntDisn 53.37 +.15+273.3 InllSmkn 1783 +06+1161 Japann 1037 .. +88.9 LalAmn 47.11 +45+5619 MDShrtn 5.12 +98 MDBondnl037 +.02 +195 MidCapn 62.39 +33+1336 MCapValn2634 +16+125.1 NAmern 34,94 +.18 +90.3 NAsian 1937 +27+3048 New Era n 57 68 +82+2313 NHonzn 3511 +12+133.4 N/ncn 086 -01 +250 NYBorodn 110 +03 +202 PSIrcn 1643 +03 +004 ealEst n 2248 +1 0+1581 R2010n 1670 +04 NS R2015n 1306 +04 NS R02020n 1835 +05 NS R2025n 1363 +04 NS R2030n 1975 +07 NS ScTecn 2403 +.12 +989 ShtBdn 469 +175 SmCpSlkn3552 + 16+100.7 SmCapValn4262+11+1277 SpecGrn 21 86 +09+110.2 Specinn 12.15 +01 +469 TFIncn 981 *02 +22.0 TxFrH n 11 67 + 03 +30.0 TxFrSIn 532 +01 +12.4 USTrntn 535 -01 .153 USTLgn 11.45 -.02 +23.6 VABondn 11.38 +.02 +20.3 Value n 28.28 +.13 +99,1 Principal Inv: DiscLCInst 16.92 +.08 NS LgGrIN 8.84 +.04 +80.4 Putnam Funds A: AmGvAp 8.99 ... +15,9 AZTE 9.03 +.02 +18.9 Convp 20,34 +.05 +91.7 DiscGr 22.20 +.06 +80.0 DvrInAp 9.83 ... +51.5 EqlnAp 18.34 +.03 +87.9 EuEq 31.96 +.14+140.6 GeoAp 18.21 +.03 +54.3 GIbEqtyp 12.15 +07+111.8 GrInAp 19.87 +.02 +70.2 HIthAp 59.15 +.33 +51.2 HiYdAp 7.85 +.01 +69.3 HYAdAp 6.09 ... +74.3 IncmAp 6.74 -.01 +22.7 In/lEqp 33.36 +.22+126.1 InIGrlnp 16.70 +.09+153.1 InvAp 15.02 +.01 +71,9 NJTxAp 9.12 +.03 +193 NwOpAp 51.40 +.17 +79.5 OTCAp 10.15 +.04+100.6 PATE 8,98 +.03 +20.0 TxExAp 8.62 +.03 +20.7 TFInAp 14.61 +.05 +18.4 TFHYA 12.71 +.02 +27.3 USGvAp 13.14 +.02 +17.5 UlilAp 14.71 +,14+131.4 VstaAp 11.69 +.04 +91.3 VoyAp 18.59 +.03 +42.4 Putnam Funds B: CapAprt 20.66 +.02 +62.8 DiscGr 20.19 +.05 +73.5 DvrlnBt 9.75 ... +46.0 Eqlnct 18.16 +.04 +81.0 EuEq 30.84 +.14+131.7 GeoBt 18.03 +.03 +48.6 GIbEqt 11.05 +.06+1043 GINIRs! 33.73 +.40+212.7 GrInBt 19.54 +.02 +63,8 HlIhBt 52.23 +.29 +45.6 HiYldB 7.82 +.01 +63.0 HYAdBt 6.00 ... +67.6 IncmBt 6.70 ... +18.2 IntGrlnt 16.36 +.09+143.5 IntlNopt 17.35 +.10+134.0 InvBt 13.68 +.02 +65.6 NJTxBI 9,11 +.03 +15.5 NwOpBt 45.51 +.15 +72.8 NwValp 19.07 +.03 +84.1 OTCBt 8.84 +.03 +93.0 TxExBt 8.62 +.03 +16.9 TFHYB1 12.73 +.02 +23.5 TFInBt 14.63 +.05 +14.6 USGvBt 13.07 +.02 +13.2 UtlBt 14.62 +.14+123.0 VistaBt 10.05 +.03 +84.4 VoyBt 16.06 +.02 +37.0 RS Funds: CoreEqA 40.94 +.18 +68.2 IntGrA 19.97 +.09+119.8 RSPar 34.54 +.17+178.4 Value 28.45 +.17+192.7 Rainier Inv Mgt: SmMCap 43.60 +.20+169.6 RiverSource A: BalanceA 11.28 +.02 +59.9 DEI 13.93 +.05+145.0 DvOppA 9.44 +.03 +87.1 Growth 33.20 +.12 +61.2 HiYdTEA 4.30 +.01 +17.1 LgCpEqp 6.12 +.02 +63.8 MCpGrA 12.02 +.05 +70.6 MidCpVlp 9.86 +.05+165.1 Royce Funds: LwPrSkSv r 17.41 +.19+120.4 MicroCapl 18.22 + 12+154.0 PennMulr12.14 +.05+1288 Premierl r 19.93 +.19+1453 TotRetlIr 14.27 +.01 +98.1 VIPISvc 15.19 +.17+237.8 Russell Funds S: DivEq 51.84 +.22 +83.1 IntlSec 81.64 +.37+140.8 MStratBd 10.26 -01 +26.2 QuantEqS41.79 +.16 +73.2 Rydex Advisor: OTCn 12.69 +.03+102.4 SEI Portfolios: CoreFxAn10.17 -.01 +23.6 IntlEqAn 15.30 +08+129.9 LgCGmoAn22.77 +.08 +63.6 LgCValAn23,29 +.06 +93.2 TxMgLCn 14.17 +.05 +79.3 SSgA Funds: EmgMkI 29.07 +.33+335.6 InllStock 14.64 +08+173.6 STI Classic: LCpV/EqA15.72 +.09 +90.1 LCGrStkAp 13.14+.07 +38.8 LCGrStkCp 12.21 +.07 +35.1 SelLCStkCt27.36+.13 +43.6 SeiLCpStkI 29.68 +.15 +51.1 Schwab Funds: HithCare 16.39 +.11+132.7 10001nvr 43.59 +.18 +82.1 1000Sel 43.61 +.18 +83.3 S&Plnv 23.05 +.10 +78.7 S&PSel 23.14 +.10 +80.2 S&PlnstSI 11.81 +.05 +80.7 SmCplnv 24.33 +.06+107.2 YIdPIsSI 9.41 -.01 +17.5 Selected Funds: AmShD 47.79 +.14 NS AmShSp 47.68 +.14 +90.9 Seligman Group: ComunAt 37.82 +.05+139.5 FrontrAt 14.48 +.01 +86.7 FrontrDt 12.27 +.01 +79.7 GIbSmA 18.04 +.05+129.1 GIbTchA 18.27 +.05+113.7 HYdBAp 3.27 ... +51.0 Sentinel Group: ComSAp35.57 +.19 +90.9 Sequoia n158.60 +.43+50.4 Sit Funds: LrgCpGr 44.33 +20 +83.7 SoundSh 41.02 +.29+98.2 St FarmAssoc: Gwth 61.53 +.45 +85.5 Stratton Funds: Dividend 32.42 +.17 +92.6 Multi-Cap 43.62 +.28 +98.0 SmCap 49.82 +.17+132.3 SunAmerica Funds: USGvBt 9.24 -.01 +145 Tamarack Funds: EntSmCp 31.49 +.02+106.2 Value 41.49 +.28 +60.2 Templeton Instit: EmMSp 23.12 +.23+278.7 ForEqS 29.21 +.14+171,1 Third Avenue Fds: Int/r 23.56 +.04+194.5 RIEstVIr 32.73 +.02+148.5 Value 62.41 +.11+143.8 Thornburg Fds: IntValAp 33.87 +.09+180.3 IntValue I 34.53 +.09+186.7 Thrivent Fds A: HiYId 4.96 ... +64.8 Incorn 8.46 -.02 +245 LgCpStk 29.54 +.09 +59.7 TA IDEX A: TempGIbA p 32.20+.15 +65.8 TrCHYBp 901 . +51.1 TAFnxlnp 9.12 -.01 +21.7 Turner Funds: SmlCpGr n31.40 +.02+134.5 Tweedy Browne: GlobVal 3365 +.08+1198 UBS Funds Cl A: GlobAflel 14.75 +.04 +83.8 UMB Scout Funds: Intl 3603 +.15+154.6 US Global Investors: AlAm 28.13 +22 +79,8 GIbRs 17.48 +.29+5133 GIdShr 1544 +76+230.3 USChna 14.21 +24+2945 WkIdPrcMn 27.65 +1 26+3407 USAA Group: AgvGl 3552 +03 +710 CABd 1069 +04 +208 CmslStr 2786 +14 ,736 GNMA 949 -01 +186 GrTxStr 1441 +06 +505 Grwth 1644 +04 +610 Gr:/nc 19.54 +09 +789 IrSin 1682 *03 +741 Imce 1203 -02 -230 Inl 2867 +11+1393 NYBd 1167 +04 +213 PrecMM 29.88 +1.62+2548 SaTech 1300 +.06+1149 ShtTBnd 887 -01 +185 SmCpStk 1545 +04 +891 TxEIt 1291 +04 +204 TxELT 1349 .06 +243 TxESh 1054 +01 +13,1 VABd 11.19 +04 +200 VldGr 21 13 +10+1130 VALIC : MdCpldx 2531 +12+1053 Stkidx 3861 +17 +7861 Value Line Fd: LroCon 23 87 +17 +61 6 4 4 H.,-, HAYC"iv 'fli 1-5 Oo't r. . .1R.t U.- u n rC+ -,f Van Kamp Funds A: CATFAp 17.74 +.07 +16.5 CmstAp 19.51 +.06 +92.8 CpBdAp 6.49 -.01 +30.7 EqlncAp 9.32 +.03 +72.6 Exch 476.33 +2.28 +83,5 GrInAp 22.64 +.11 +90.4 HarbAp 16.28 +.04 +60.2 HiYIdA 10.41 ,.. +59.7 HYMuAp 10,72 +,03 +34.6 InTFAp 17.62 +.09 +16.4 MunlAp 14.20 +.05 +19.2 PATFAp 16.72 +.07 +17.7 StrGrwh 47.01 +26 +53.0 StrMunlnc 12.88 +.03 +28.8 USMIgeA 13.16 -.01 +17.8 UIilA p 23.92 +24+118.4 Van Kamp Funds B: EnterpBt 14.00 +.10 +50.4 EqlncBt 9.15 +.03 +66.4 HYMuBt 10.72 +.03 +29,8 MulB 14.18 +.05 +14.8 PATFBI 16.66 +.06 +13.3 StrGwth 39.56 +.21 +47.3 SIrMunInc 12.87 +.03 +24.1 USMtge 13.10 -.01 +13.0 U/ilB 23.78 +.24+110.3 Vanguard Admiral: CAITAdm nlO.85 +.03 +16.4 CpOpAdln94.99 +.87+165.1 Energyn 144.30 +1.78+294.1 EuroAdmln92.56 +.49+164.5 ExplAdml n7438 +.21+109.7 ExtdAdmn4l.13 +.14+126.8 500Admln136.69 +.60 +80.8 GNMAAdnl0.17 -.01 +22.0 GrolncAd n60.61 +.23 +78.6 GrwAdmn32.23 +.14 +65.8 HthCrn 63,39 +.18 +88.3 HiYldCpn 5.96 +.01 +49.3 InfProAdn 23.54 -.05 NS ITBdAdmln1026 -.02 +27.3 InlGrAdm n83.38 +.57+151.1 ITAdmiln 13,14 +.03 +17.7 rTGrAdmn 9.66 -.02 +27.1 LtdTrAdn 10.70 +.01 +13.1 MCpAdmlen96.28 +.35+119.7 MuHYAdmnlO.58 +,03 +24.3 PrnCap rn78.31 +.50+118.2 STBdAdmln9.97 -.01 +18.3 ShtTrAdn 15.59 +.01 +11.7 STIGrAdnlO.57 -.01 +21.3 SmCAdmn34.12 +.11+123.9 TxMCaprn7l.81 +.30 +91.4 TtlBAdmln 9.97 -01 +23.3 TSIkAdmn35.79 +.15 +90.0 ValAdmln 27.20 +.11+106.8 WellslAdm n53.90+.07 +47.3 WelltnAdmn58.81 +.16 +78.7 Windsorn 64.14 +.03+100.4 WdsillAdn64,83 +26 +99.9 Vanguard Fds: AssetAn 30.08 +.10 +80.6 CALTen 1142 +.04 +20.5 Cap0ppn41.09 +.38+163.9 Convitn 14.42 +.04 +90.4 DivdGron 15.22 +.07 +75.2 Energy 76.81 +.95+293.0 Eqlncn 26.38 +.15 +87.6 Expirn 79.80 +.22+108.1 FLLTn 11.43 +.03 +21.1 GNMAn 10.17 -.01 +21.5 GlobEqn 25.27 +.15+165.3 Grolncn 37.11 +.14 +77.2 GShEqn 12.40 +.07 +84.0 HYCorpn 596 +.01 +48.6 HlthCren150.12 +.43 +87.5 InflaPron 11.99 -02 +30.0 InllExpIrn 22.85 +.03+238.8 IntlGrn 26.17 +.18+148.8 InllVaIn 43.79 +.27+170.3 ITIGrade n 9.66 -.02 +26.5 ITTsryn 10.95 -.02 +20.6 UleConn 17.14 +.03 +54.3 LifeGron 25.12 +.10 +89,6 Ufelncn 14.23 +.01 +38.8 UleModn 21.23 +.05 +71.8 LTIGrade n8.95 -.03 +30.4 LTTsryn 11.13 -.02 +27,9 Morgn 20.72 +.08 +94.8 MuHYn 10.58 +.03 +23.9 MulnsLgn 12.33 +04 +21,4 MunlnI 13.14 +.03 +17.3 MuLldn 10.70 +.01 +12.8 MuLong n 11.04 +.03 +20.8 MuShitn 15.59 +.01 +11.4 NJLTn 11.62 +.04 +20.6 NYLTn 11.03 +.03 +20,3 OHLTTEn11.77 +.03 +20.8 PALTn 11.11 +.04 +20.7 PrecMllsr n32.76 +.79+328.8 PrmcpCorn13.61 +.07 NS Pmicprn 75.40 +.49+116.6 SelValu rn21.76 +.08+110.3 STARn 21.86 +.04 +73.5 STIGraden10.57 -.01 +20.7 STFedn 10.36 -.01 +15.8 STTsryn 10.41 -.01 +16,0 StralEqn 24.49 +.04+119.1 TgtRe2025nl3.83+.05 NS TgtRe2015nl3.15+.03 NS TgtRe2035 nl4.74+.06 NS USGron 19.52 +.04 +56.9 USValuen15,01 +.03 +78.8 Wellslyn 22.24 +.02 +46.5 Wellitnn 34.04 +.09 +77.6 Wndsrn 1900 +.01 +99.2 Wndslln 36.52 +.15 +98.9 Vanguard Idx Fds: 500n 136.67 +.61 +80.0 Balancedn22.10 +.04 +60.5 DevMktn 13.52 +.07+149.7 EMkin 29.80 +.39+3258 Europe n 39.38 +.21+1632 Extend n 41.07 +14+1254 Growth 32.22 +.14 +64.9 ITBndn 10.26 -.02 +26.9 LgCaplxyn 26.77 +.11 NS MidCapn 21.20 +.07+118.7 Pacficn 12.87 +.08+122.6 REITrn 23.02 +.14+138.4 SmCapn 34.09 +.12+122.8 SmlCpGth n20.29 +.08+122.8 SmlCpVIn 16.79 +.05+1049 STBndn 9.97 -.01 +17.9 TotBnd n 9.97 -.01 +22.8 Totllntln 19.43 +.14+1672 TotStkn 35.78 +.15 +89.2 Value n 27.20 +.11+105.9 Vanguard Insti Fds: Ballnstn 2211 +.05 +61.4 DvMktlnsl n3.41 +.07+151.7 Eurolnst n 39.45 +.21+1653 Extinn 41 15 +.14+127.3 Grwthlst n 32 23 +.14 +66.1 Inslldxn 135.65 +.60 +81.1 InsPIn 135.66 +60 +813 TolBdldx n5030 -06 +23.4 lnsTSIPlusn3227 + 13 +91.4 MidCplsln21 28 +.08+1203 SCInstn 3.115 +.12+1246 TBIstn 997 -01 +235 TSInstn 3579 +14 +903 Valuelsin 2721 +11+1072 Vantagepoint Fds: Growth 1036 .07 +624 Victory Funds: DvsStA 1956 +15,1016 WM Blair MIl Fds: IntlGthlr 3103 +20+1708 Waddell & Reed Adv: CorernvA 670 +02 785 Wasatch: SmCpGr 3880 , 24 98 Weitz Funds: Value 36 58 -02 7-'1 1 Wells Fargo Adv : CmStkZ 2235 +14+1259 Opptylnu 4439 +171046 SCApValZ p 34 56 41+1531 Western Asset: CorePlus 1018 -01 342 Core 1100 -277 William Blsair N: GrowthN 1262 -C4 -828 InGhN 3052 - 20-1673 Yacktman Funds: Fundp 1: 90 *' -7.;5 Stocks gain, claims drop Associated Press NEW YORK - Wall Street shook off early uncertainty to close moderately higher Thursday as a series of mixed economic reports managed to make investors more opti- mistic reces- sion. But investors gleaned some reason for optimism from comments from Dallas Federal Reserve President Richard Fisher, who said inflationary pressures are "increasingly well behaved," and that the central bank is "listening carefully" to busi- ness conditions. St. Louis Fed President William Poole made similar comments earlier in the day. "They didn't explicitly say they were going to cut rates, but some of the talk from the Market watch new Joones -ma3i Nasd - 24.29 100= 811C 2,WJ5,95 �Stadard & -17.13 iPow's 500 1422 day gave reason to believe they may be leaning that way," said Todd Salamone, director of trading at Schaeffer's Investment Research. "The market is driven by words from the Fed that reinforces the idea they'll step up if nec- essary, and it is also very much data driven." Reports on the job market, service sector, and August retail sales did not disappoint investors. Last week, for the first time in seven weeks, claims for unemployment ben- efits dropped, the Labor Department said. It also reported that worker produc- tivity jumped to an annual growth rate of 2.6 percent in the April to June quarter, much better than expected. The snapshots boded well for Friday's August employ- ment report, the economic reading that investors are con- sidering the most important this week. The Dow Jones industrial average rose 57.88, or 0.44 per- cent, recov- -10.23 NYSE diary mAdvanced; 928 DOlitWd 2,4D4 Urchangodd: 66 V0Whme t1,397,.52,580 Nasdaq diary ALvnched 801 LVhanged: 88 S-JFOE: Bu3n AF ered ground. The yield on the benchmark 10-year Treasury note, which moves inversely to its price, rose to 4.51 percent from 4.47 percent late Wednesday. The dollar was lower against most other major currencies, while gold prices jumped. Business ":. Chrysler leadership changes DETROIT - Toyota's top North American executive is defecting to Chrysler, a move that stunned the auto industry and gives a highly regarded leader and consummate salesman the chance to turn things around at the struggling U.S. automaker. Chrysler LLC said Thursday that Jim Press will become its vice' chairman and president, in charge of the automaker's sales and mar- keting operations. Retailers report profits NEW YORK - Consumers. undeterred by escalating credit problems and a weakening hous- ing market went on a back-to- school buying spree last month, helping many retailers rebound from July's disappointing sales. But analysts are still worried that economic concerns might curtail shopping in the critical months ahead. As the nation's retailers reported better-than-expected sales results Thursday, winners crossed all sec- tions of the industry and included Wal-Mart Stores Inc., Target Corp., Pacific Sunwear of California and Saks Inc. Among the handful of disappointments was Kohl's Corp. Apple offers iPhone credit SAN .. .. .. .- . ....... ... .... ... .. Citrus County's award- winning Lifestyle Magazine that Apple disappointed some of- its customers by cutting the price of the iPhone's 8-gigabyte model and said he has received hun- - dreds of e-mails complaining about the price cut. Company announces layoffs NEW YORK - Lehman Brothers Holdings Inc. and National City Corp. said Thursday more than 2,000 work- ers will be laid off as the financial institutions scale back their struggling mortgage businesses. The moves represent just the latest wave of layoffs in the mort- gage industry, which is suffering from decaying credit quality, slip- ping home prices, and a drainage of demand among investors and banks for home loans. - Fromwire reports . . 0 l , 'S -i ir I tl~~r , .r it Cf rri bi:ii .r ririgs ~ri Litru: ' .it. ..-I:CC'.&ii f: Li c r, .. ir -1 ii. .:.riil if, hi/9h i .h I . t,--it c :-r --.119)r.Ice? n A .l m ttC . r Wt Why advertise? Discover ./ CITRUS ()UINTY Call 563-5592 for more information ~zz * 33 I 1~ II mr,..c.m.,, in.. .3/. I .4... ~1 / * in, ,, .4.. / in .1, .14.4 * I '.3 iii ii ~jCI' I U ~ ,.jUIC I - ~ \ www~hronicloonlie comn � 1624 N. \laloudwcre.I Blvd. Crystal River, FL 34429 722275 .4 ~~0~ Cmus CouN7y (FL) CHRONICLE BUSINESS Russell 2000 "I wish to preach, not the doctrine of ignoble ease, but the doctrine Of the streull' oi0 fe. " SI I'lI .\%III It 7, 2007 AL JOIN TOG ETHEi Community should back YMCA effort T he results of a recent sur- vey of Citrus County resi- dents indicate they would use a YMCA if it were built in the county. A group of people working to ,bring a YMCA to Citrus County Revealed the results of a feasibil- ity study that projected thou- sands from the 'county would use THE I1 the facility. The study deter- Survey sh mined Citrus wanted 'County could sup- CoL :port a 44,000- -square-foot facility OUR 01 With athletic fields, Let's r .an indoor-heated hap pool and fitness center. YOUR OPII YMCAs around chronicleor the state offer a comment a. Variety of programs hronicle for all ages includ-- .... . ....... ing health care, fitness, child care and youth sports leagues. The North Suncoast .YMCA, which is working to bring the :YMCA to Citrus County, has nine branches including the one in Hernando County. It offers bas- ketball, roller hockey, gymnastics, tee-ball, swim teams, karate, flag football, soccer, swim lessons, before and after school care, Critter litter Q0 Hey, Sound Off. This is not about taxes, gas prices, water restrictions, or whether you have to wait too long for your light to change at the intersec- tions, or about Couey. This is about garbage. I go to work at 5 a.m. and I see a lot of garbage cans 56.e knocked over by critters and garbage all over. 'Readers, my solution is easy: Put a bungee strap on the lid, but make ,sure you cinch one end. That way it won't go with the garbage when it is picked up. When critters knock your can down, the lid stays on. Who would have thunk? Beyond criticism I was reading that Sen. Clinton at the U.A. meeting criticized Bush for not guaranteeing safe parts from China. That sounds great at first, but did she also get the unions to lower the wages so products can be made in the U.S. for the lower class- es who can't afford products made by U.S. union shops? Hasn't the high cost of products made in the U.S. sent business overseas? Didn't former President Clinton OK busi- ness to go out of the U.S. for cheap labor? How does she plan to bring business back to the USA and not raise pr ices or interest rates? We need more than her criticism of how she would handle the union and manufacturers who do business overseas. What is her agenda in how she would change business to pro- duce products here at lower cost to the middle anid lower classes who buy clihea products to survive? Whal say you to this, Sen. Clinton? Let's get somebody to get some answers lnom her instead of just criticism Same symptoms What's wrong with the picture? A person wiho's admitted four times in one month from July 30 until now, summer day camp, learning academy, treadmills, exercise bikes, rowing machines, aerobics, stair climbers, circuit weights, free weights, basketball, racquet- ball, tennis, a wellness trainer, wellness classes, stress manage- ment, Tai Chi, yoga, nutrition and weight management, smoking cessation and cho- SSUE: lesterol screening. ows YMCA Many of these owsYMC same programs in Citrus could be offered in nity. Citrus County. We feel a need PINION: exists in this com- nake it munity for a facility pen. that offers such a wide variety of NION: Go to activities iline.com to The YMCA could bout today's be used by young and old, and the . ....... plans .are to make it centrally located. Bringing a YMCA to Citrus County will not be an inexpen- sive adventure. Because of that organizers hope to get the entire community involved in the capi- tal campaign. We urge residents, businesses and government to support this worthwhile effort to enhance our county. ^ comes home. They release the person from the hospi- tal. He comes home and the next day you have to call an ambulance again because they've got the same symptoms that took him to the hospital the 9 o first time ... Is it negli- gence or what's going on? 579 Why can't they find out 0579 what the problem is in the beginning and cure the problem instead of having the per- son keep going back the day after they were sent home from the hos- pital? Find illegal aliens I was reading the paper this morning, Aug. 29, and the column about the family reunited in Bradenton where the wife and moth- er, too, had been held outside the country for eight months because of a visa snafu. But yet we have the same immigration organization that can't find 12 million people that are illegal immigrants in this country, let alone control them. So who's sit- ting on whose thumbs in Washington? Obviously, if they have enough wherewithal and intelligence to find one woman and two chil- dren, certainly they can find 12 mil- lion illegal immigrants. Come on, Washington. Get off your duff and get busy and earn the money we pay you. Restaurant choice I noticed people are interested in having a Red Lobster come to Inverness and not an Olive Garden. I and my son would like to put a bid in for Olive Garden, as we make sev- eral trips to Ocala. This way we would have our very own, and we desperately need an Olive Garden, not Red Lobster. Who does job? This is in response to "Motorcycle speeding" in Thursday's Sound Off. Come on now. Do you want them to do their job? Do you do your job? Media misunderstands religion CITRUS COUNTY CHRONICLE EDITORIAL BOARD Gerry Mulligan ............................ publisher Charlie Brennan .............................. editor Neale Brennan ...... promotions/community affairs Kathie Stewart .................circulation director . ,, Mike Arnold ........................ managing editor F1ou itd n 1891 Curt Ebitz ...............................citizen member bn , '\bcrtI M. \\ iiijn,,so M ac Harris ................. .......... citizen member "You nmy differ with my choice, but not my right to choose." - David S. Arthurs publisher emeritus yn Lopez HER CES exist. Shocking? Not quite. Try "human." In one of her letters to a spiritual director found in the book, she wrote: "Now Father - since '49 or '50' this terrible sense of loss - this untold darkness - this loneliness this continual longing for God - which gives me that pain deep down in my heart - Darkness is such that I real- ly do not see - neither with my mind nor with my rea- F aith is apparently the buzzword of the moment, as the wolf- pack media attacks a world- renowned figure's religious resolve while, at least for now, giving another major female a pass on the politi- cal motivations of her publi- cized beliefs. Time magazine's Aug. 23 article "Mother Teresa's Kathry Crisis of Faith" posits that OTI Mother Teresa's dedication VOI to God wasn't exactly what it seemed. Atheist Christopher Hitchens, author of the anti-Mother Teresa book "The Missionary Position: Mother Teresa in Theory and Practice" (Verso, 1997), embraced the hype, heralding her as a fellow unbeliever. And one seemingly clueless blogger for the Chicago Tribune asked: "Can saints have bad days?" Um, yes. Time began its expose with this quote from one of the many letters written by Mother Teresa, which are found in the new book "Mother Teresa: Come Be My Light" (Doubleday): "Jesus has a very special love for you. As for me, the silence and the emptiness are so great that I look and do not see, listen and do not hear." Of course she felt empty once in a while. She dealt with people's suffer- ing - the poorest of the poor - and the most debilitating and isolating of illnesses, which sometimes made her wonder how God could let such pain didates were asked about their spiritu- al lives. There were some cliches and some sincerity. But there was also the suggestion of a life of deep prayer. Paul Kengor, author of the new book "God and Hillary Clinton: A Spiritual Life" (Harper), suggests that Hillary Clinton is a believer. And that possibil- ity will present major challenges to media folk. Kengor tells me: "Hillary is going to put the dominant media in a real bind. After telling us repeatedly that the faith of a politician should be kept pri- vate, or doesn't matter, or shouldn't be part of the public square, the secular press will now need to backtrack as it discovers that the Democratic front- runners are religious folks desperate- ly in need of the 2000 and 2004 values voters." So, after the initial freak out, Kengor predicts the media will adapt: 'As Hillary gets the nomination, secular liberals will suddenly get religion." But don't expect an apology from the media about its double-standard approach toward a party's religious views. Just as it suddenly professed a newfound respect for Catholic bishops in the 1980s for denouncing Ronald Reagan's nuclear policies, the media "will once again be supportive of faith in the public square, but only selec- tively," Kengor says. Kathryn Lopez is the editor of National Review Online ( alreview.com). She can be contacted at klopez@nationalreview.com. to the Editor Super exemption An Amendment to our Constitution will be on the ballot of the Jan. 29, 2008, Primary Election. It is common- ly referred to as "super exemption." Little information is available to explicate the effect on our property taxes or ramification if it is passed. Voters are basically expected to research for ourselves or trust our lawmakers to act in our best interest. According to the Citrus County Property Appraisers Web page, the new "super exemption" will be calcu- lated at the current 2006 Just Value on our TRIM notice. The calculator even diagrams a long-range chart out- lining future tax savings if you make a one-time irrevocable choice to exchange Save Our Homes for this so- called, "more equitable plan." However, SJR 4-B and 3-B (the Senate and House version) states homeowners' property will be reassessed on Jan. 1 following any election to make the change to the new tax plan. Wouldn't that allow for an unregulated reassessment of our property previously covered by the Save Our Homes protection? Wouldn't that further increase the tax liability to current Homesteaded property. since the 3 percent cap would be lift- ed once an election to switch is made? And, I also noticed a provision for local government to simply increase Required Local Effort property taxes, impact fees, special assessments and charges for licenses, fees and permits. or just override the tax cut altogether by a two-thirds vote of the county commission. Further, the new tax plan does not cap local taxes and fees that would most likely increase to make up any lost revenue (like our OPINIONS INVITED * The opinions expressed in Chronicle edi- torials are the opinions of the editorial board .of the newspaper. * Viewpoints depicted in political car- toons, columns or letters do not neces- sarily represent the opinion of the edito- rial board. r Groups or individuals are invited to express their opinions in a letter to the editor.. S We reserve the right to edit letters for length, libel, fairness and good taste. P. gasoline tax when the sales tax was defeated). And, the touted cap on 2008-09 taxes, according to Florida Tax Watch - it too can be overridden by two-thirds vote. By the way, Mr. "Drop Like A Rock" Crist, my property tax did not drop. Instead, it increased on my TRIM notice. A severely flawed tax plan, more closely resembling a tax scheme was rushed through the Legislature. We deserve better than this. I will vote No. Shirley Sanservino Inverness We all suffer Regarding "Wright on Target," Sept 2: I wish to address the "commentary" article in the Chronicle today about the death penalty sentence submitted by Mike Wright. Mr. Wright stated the Lunsford fam- ily and only the Lunsfords had the right to say that John Couey should die. With all due respect, Mr. Wright, I beg to differ with your opinion. A trial by judge and jury found him guilty and the public agrees with the sen- tence of death. While you are entitled to your opinion, we are also entitled to ours. The crime that Couey committed was not just against the Lunsford fam- ily, although they certainly suffered the most. Please take to heart, Mr. Wright, that all of Citrus County and the entire nation also suffered. We suf- fered when we learned Jessica was missing. We suffered when we could not find Jessica. We suffered when Jessica was found. We suffered when she was buried, for the second time. Many of us continue to suffer along with the Lunsford family, and feel we have the right to demand Couey's death sen- tence. The law-abiding, taxpaying citizens of the state of Florida also suffer the expenses incurred for Couey and the other 381 inmates he joins on Florida's Death Row. We will all con- tinue to "suffer" until justice for Jessica is truly fulfilled by Couey's execution. Sorry, Mr. Wright, but you were wrong when you stated this opinion. Please don't speak for all of us regarding this sensitive issue. R A. Colucci Inverness THE CHRONICLE invites you to call "Sound Off" with your opinions on any subject. You do not need to leave your name and have up to 30 seconds to record. COMMENTS will be edited for length. personal artacks and gooo taste. Editors wili cut ibelous iraiena'. OPINIONS eApressed are purely those of the callers. son - the place of God in my soul is blank ..." The chattering class reacts with shock, as if they were encountering a senator in a public bathroom sliding his foot into the next stall. Apparently, the chatterers have never encountered the term "Doubting Thomas," Saint Augustine or actual believers. Apparently they have never seen the words of Jesus Christ in the New Testament, who at the hour of his death cried out, "My God, my God, why have you forsaken me?" Christians believe faith to be a great gift - one that, among other things, helps to explain the unexplainable. The fact that there can be challenges and dark nights is not press-stopping news. I wonder whether the media will be as aggressive as it looks at what seems to be newfound religion among Democratic presidential front-runners. In a recent debate, Democratic can- 1: I (c il Fl 7p rh n1 ib LETT`tS (iiRi, CO(.UNTN .I~~I i .I CITRUS COUNTY (FL) CHRONICLE A~r A I I t-ItAl iriiii-~ COROLLA CE * Air Conditioning * AM/FM/CD * 5 Speed Manual * Power Mirrors * Tilt Wheel * Outside Temperature Gauge More. * Mdl#T80081 kil IuAH liTHOUSANDS VBUTREUIBYI IN, O �ftOYKOjA.'' �H - IHIMtM % t ,~h .,,..,. _,iflf.b ,.Bhi j ~ 88 @ BmIH^^ INH ^-,B rJfEw -'ST ,81 B^^MfU!^"BflfKCn ifB BEf SM0MA00B CAB Prerunner * Air Conditioning * AM/FM/CD * Power Wind/Mirrs * Cruise * Tilt Wheel * ABS * 4DR * Automatic * 6 CYL 2WD * Stk#T72035 *LMITED - AVAILABIlITY HURRYI $2 lkI VU5ipIFWis (11411 i i wMnw m u u- w-m * Air Conditioning * AM/FM/CD MP3 Player * Power Mirrors * Power Locks * ABS * Side Airbags * 5 Speed Manual I'l " vuu"n' ,,m Wu,,m w SR5 * 5 7 V8 * Power Windows * Power Locks. ' STABLI CONTROL. Mimilni& MO., 9 M7HON AeCCORPE' o002 PONT/AC UNF/Pet / 998 /'l/U POPEO /1999 HONP4A Cf C _ $599945 ooo ror iAcokoiA TOYOTA ro AMRY LEI t ODO ORANO eAAPVAN aq 1998 8MW 3181 STOYOTA CELI/CA '005 M/T&&U/ys// LANCFR 2004 K/A AMANTf 2003 INOIN TOWNCAR EXEUTM $11"900-"1" 129goo.:" ?005 P/4A C// L 00 I NAANe 4W0 7/ FA05 FORP F/V TNPREP 2005 MINI COOPER f M TOYOTA sOL/4RA ONVEkT/ 007 k/KL/N( AZ | S "2007 TOOTA AMALON 2005 FOP F250 -22"900'124900, & oor ouitriitio e."eeerat vt oo ...to to F"o -. " ','o 2431 SUNCOAST BLVD, US HWY 19 * HOMOSASSA, FL 34448 S S - , (9�TOYOTA moving rmarwd tril- VIr! AGl ~I e C)~[.1 Ends 9. aI vli Sll ii k --. --U I, FlUDAY, SFIPTEMBER 7, 2007 13A I _- , t sip, nn '*'.. I i 411 1 lillyalliliM 14A -FRIDAY .SEPTEMBER 7, 2007 (,' .. . \ .', . ,'5-. - - 1- - /-~. *\ , I I I CITRUS COUNTY CHRONICLE Nation BRIEFS Sunrise More suspected in bomb plot Associated Press As the sun rises over Lake Pontchartrain, a man fishes the cypress stumps Thursday near LaPlace, La. Searchers expand search for Fossett MINDEN, Nev. - Search teams dramatically expanded their hunt for adventurer Steve Fossett to encompass 10,000 square miles of rugged moun- tains known for its 10,000-foot peaks, strong winds and unrelenting harshness. Eleven public officials arrested TRENTON, N.J. - FBI agents arrested 11 public officials in towns across New Jersey Thursday on charges of taking bribes in exchange for influencing the awarding of public contracts, the U.S. Attorney's Office said. Two of those arrested are state lawmakers, two are may- ors, three are city councilmen, and several served on the school ,board in Pleasantville, where the ,scandal began. All 11, plus a private individual, *are accused of taking cash pay- ments of $1,500 to $17,500 to ,influence who received public .contracts, according to criminal :complaints. World BRIEFS Tradition Associated Press Women dressed in Bulgarian national tradition clothes, show their faces during the annual International fair of national tradition arts and crafts Thursday in the ethno- graphic village of Etar, east of the Bulgarian capital Sofia. Craftsmen from France, Romania, Czech Republic and Ukraine will show their skills during the fair. Syria says military fired at aircraft DAMASCUS, Syria - The Syrian government charged -Thursday that Israeli aircraft dropped "munitions" inside Syria overnight and said its air defens- es opened fire in a new escala- tion. - From wire reports Europeans are being recruited to attend terrorist camps The Washington Post BERLIN - Authorities said Thursday they are investigating at least seven more people suspected of aiding a multinational cell of Islamic militants plotting to bomb American interests in Germany, including two who may have trained at camps in Pakistan. Prosecutors said they had identified five of the alleged helpers, mostly Turkish and German nationals. But they said they were still trying to deci- pher the aliases of others who may have assisted three men arrested Tuesday as they transferred bombmaking chemi- cals from a rented house in the German village of Oberschledorn. According to prosecutors, the three defendants in custody had traveled to Pakistan last year to train in camps run by the Islamic Jihad Union, a Central Asian group affiliated with al-Qaida. Investigators said two other supporting members of the German ring may have trained in Pakistan as well. Other evidence has surfaced recently indicating that Europeans are being recruited to attend camps along the Afghanistan-Pakistan border operated by a variety of Islamic militant groups. cor- respondent. The primary speaker at the ceremo- ny was Mansour Dadullah, a leading Taliban commander. "Oh Americans and your allies, these suicide bombers are going to chase you in your coun- tries," he said. Authorities said Thursday they were confident U.S., Iraqi troops fight alleged Shiite militiame: Associated Press A neighbor carries Montadar Ali, 4, second from left, who lost his entire family when his house was destroyed in an early-morn- ing attack Thursday in the Washash area, western Baghdad, Iraq. At least 14 people were killed early Thursday in a U.S. attack on a western Baghdad neighborhood, police and residents said. The U.S. command in Baghdad said it was aware of the report but had no immediate comment. Residents, police say gun battle leaves at least 14 people dead Associated Press BAGHDAD- U.S. and Iraqi troops backed by attack air- craft clashed with suspected Shiite militiamen before dawn Thursday in Baghdad, bomb- ing houses and battling more than a dozen snipers on rooftops. Residents and police said at least 14 people were killed. domi- nant religious sect is on the rise, just days before a key progress report in Washington on the war "The Iraqi parties are quar- reling over power and the peo- ple insur- gents and detaining 25, the mil- itary said. The number of U.S. troops in Iraq has climbed to a record high of 168,000, and is moving toward a peak of 172,000 in the coming weeks. Maj. Gen. Richard Sherlock, director of operations for the Joint Chiefs of Staff, said the increase is the result of troops rotations, as several brigades overlap while they move in and out of the war zone. Previously officials had pre- dicted the number could go up to about 171,000. Bombings, shootings and mortar attacks left at least 28 Iraqis dead nationwide, including 18 bullet-riddled bodies that turned up in Baghdad and south of the cap- ital - apparent victims of so- called sectarian death squads usually run by militia fighters. After a period of relative calm, recent days have seen an uptick in violence. The Iraqi government, meanwhile, called a critical independent U.S. assessment of its security posture unac- ceptable interference in its affairs. The study, released Wednesday and led by retired Marine Corps Gen. James Jones, found that Iraq's securi- ty forces will be unable to take control of the country in the next 18 months. It said the Iraqi National Police is so rife with corruption it should be scrapped entirely. The assessment was expected to factor heavily into Congress' debate on the war, with U.S. Ambassador Ryan Crocker and top com- mander Gen. David Petraeus due to begin hearings on Monday Yassin Majid, an adviser to Prime Minister Nouri al- Maliki, said "it is not the duty of the independent committee to ask for changes at the Interior Ministry, especially when it comes to security apparatus." Judge strikes down parts of Patriot Act The Washington Post WASHINGTON - A federal judge Thursday struck down portions of the USA Patriot Act as unconstitutional, ordering the FBI to stop issuing "national security letters" that secretly demand customer information. U.S. District Judge Victor Marrero in New York ruled that the landmark anti-terrorism law violates the First Amendment and the Constitution's separa- tion of powers provisions because it effectively prohibits recipients of the FBI letters from revealing their existence and does not provide adequate judicial oversight of the process. The decision has the potential to eliminate one of the FBI's most widely used investigative tactics. Marrero wrote in his 106-page ruling that Patriot Act provisions related to the letters are "the leg- islative equivalent of breaking and entering, with an ominous free pass to the hijacking of con- stitutional values." The decision has the potential to eliminate one of the FBI's most widely used investigative tactics. It comes amid wide- spread concern on Capitol Hill over reported abuses in the way the FBI has used its NSL powers. NSLs allow agents in countert- errorism and counterintelli- gence investigations to secretly gather Americans' phone, bank and Internet records without a court order or a grand jury sub- poena. Although the FBI has had such power for many years, the Patriot Act significantly expand- ed its ability to issue the letters. But Marrero wrote that "in light of the seriousness of the potential intrusion into the indi- vidual's personal affairs and the significant possibility of a chill- ing effect on speech and associa- tion-particularly of expression that is critical of the government or its policies-a compelling need exists to ensure that the use of NSLs is subject to the safeguards of public accounta- bility, checks and balances, and separation of powers that our Constitution prescribes." He ruled that only some of the provisions were unconstitution- al, but found that it was impossi- ble to separate those provisions from other parts of the law. He therefore struck down the FBI's ability to issue NSLs altogether Germans, particularly because two of the suspects were ethnicaida cell in Hamburg planned and carried out the Sept. 11, 2001, attacks in the United States. Authorities had been aware for sev- eral months that the three had trained in Pakistan and returned to Germany, but said they didn't have sufficient evi- dence to ensure a strong court case until recently n Bin Laden Plans new A video 4, Associated Press mes- sages, and the Department of Homeland Security said it had no credible information warn- ing of an imminent threat to the United States. Still, bin Laden's appearance would be significant The al- Qaida leader has not appeared in new video footage since October 2004, and he has not put out a new audiotape in more than a year One difference in his appear- ance prac- tice among Arab leaders, said Rita Katz, director of the SITE Institute, a Washington-based group that monitors terror mes- sages. The announcement and photo appeared in a banner advertisement on an Islamic militant Web site where al- Qaida's media arm, Al-Sahab, frequently posts messages. "Soon, God willing, a video- tape from the lion sheik Osama bin Laden, God preserve him," the advertisement read, signed by Al-Sahab. IntelCenter, which monitors Islamic Web sites and analyzes terror threats, said the video was expected within the next 72 hours, before the sixth anniver- sary execu- tive officer of IntelCenter, which is based in Alexandria, Va. "Historically the anniversary of 9-11 has never been drawn to attacks. It's drawn to video releases." But the fact that bin Laden is delivering the message is signif- icant, he said. Whether the mes- sage will indicate a potential attack will depend on what bin Laden says. Homeland Security spokesman Russ Knocke said he could not confirm the exis- tence of a tape, "and there is no credible information at this time warning of an imminent threat to the homeland." But he said increased activity overseas and recent arrests of militants in Germany reinforce the depart- ment's assessment that the country is currently in a period of increased risk. * NASCAR/2B * MLB/3B * NFL/3B, 5B * College football/4B * Scoreboard/4B * Pigskin Picks/5B * Entertainment/6B ~L~4 > L..... DAY SEPTEMBER 7, 2007 Cross-county kills Lecanto defats Crystal River, 3-0 ALAN FESTO afesto@chronicieonline.com Chronicle The Crystal River volleyball team ...... had 52 unforced errors on Thursday night and the Lecanto Panthers took advantage of every single one : ( of them. - ., Lecanto won, 25-15, 25-16, 25-6, to - sweep the match 3-0 and move to 5- O on the season. Crystal River fell to 2-2. "We made mistakes on our side, . we didn't play up to our potential and it got the best of us," Crystal River coach Meryl Weber said. : . The Pirates fell behind early in Game 1, jump- started by a kill t happens, from Lecanto's S high Car e ig g h It's high Williams, and s ol never bounced SChool back Up 6-2, the athletics. Panthers rolled . off six of the next We've all seven points and cruised to an )een there opening game 25-15 victory. before. Sixteen of the Panther's 25 points came via Crystal River Freddie errors. Bullock "It wasn't any- Lecanto volleyball thing we did," coach. Lecanto coach Freddie Bullock said. "It happens, it's high school ath- letics. We've all been there before." The Pirates stayed close for much of Game 2 until an ace by Michelle Arguedas sparked a Lecanto run. Already up 11-8, the Panthers sat back and watched as the Pirates committed error after error as they continued to build their lead. Kills by Crystal River's Devon Deem arid Please see - LLS/Page 3B S. ; " " "'' -DAVE SICLEpRCr,...r..:r:- Lecanto High School's Courtney Jones (6), Annalise Sorvillo (2), Samantha McGowan (1) and Claire Rosebrough (16) celebrate after scoring a point. Thursday during volleyball action against county rival Crystal River High School. Byrd has his best round of the year at good time Associated Press LEMONT, Ill. - Jonathan Byrd for- got play- off standings, the cutoff for going to East Lake. He could easily be knocked out if some- one desper- ate for good results. Villegas is at No. 34 in the standings, while Cink is at No. 32. "Obviously, we're out here to win Please see /Page 4B Seven Rivers, Crystal River golf face off .JO- .; ;- AE,'. SORACCHI jmsoracchi@chronicleonline.com Chronicle The wind was kicking and the pin placements were tough for the Crystal River, Seven Rivers and Chiefland boys golf teams on Thursday at Plantation Inn and the scores reflect- ed the difficult conditions. The Pirates used their home advan- tage to shoot a 176 to defeat the Warriors and Chiefs. Crystal River senior Randy Hodges paced the Pirates with a low medal round of 42. Chiefland earned a score of 215 to lose to Crystal River but defeat Seven Rivers, who shot a 225. Although Crystal River coach Jim Gabbard said 42 was a good round considering the tough back nine at Plantation, Hodges would have liked a better result. "It went alright," Hodges said. "I had a good score on the way the course played today, but I didn't play to my potential." In fact, the Pirates had the four low- est scores on the day. Freshman Brad Kidd shot a 44 to finish second overall while teammates John Gusha and J.P Korsiak each turned in rounds of 45 and 46 respectively. Gabbard, for his part, thought his squad performed "alright" after tak- ing the windy weather into account Please see " /Page 4B Lady 'Canes scorch course JOHN COSCIA jcoscia@chronicleonline.com Chronicle It was like math homework That's how Ashton Connor described her day on the course fol- : lowing her team's sweep of West Port, South Sumter and Crystal River at Inverness Golf & Country Club on Thursday afternoon. Truth is it was Ashton's mother, Michelle, the Citrus Hurricanes head coach that was doing the real math as she burned up the batteries in her cal- culator trying to tally the results of 20 golfers in the four-team match. But when all the scores were in the books, it was the undefeated 'Canes that were most satisfied with the final numbers. The Lady Hurricanes shot a season-low 166 team total compared to West Port's 230, Crystal River's 238 and South Sumter's 268 for the easy victories. Leading the way for Citrus was the match's medalist, Briana Carlsonj who shot an even par 36, despite opening with bogeys on the first two holes. "I started slow and then on hole number three I didn't reach the greed , Please see /Page 4B ... .... . .. ... - ... --: .. .. - P rep ' ' . - . .. Dunnellon.-Crystal River matchup highlights Week 2 Crystal River at Dunnelon JON-IViCHAEL SORACCHI jmsoracchi@chronicleonline.com Chronicle Coming off week 1 losses, the Dunnellon and Crystal River football teams are looking for the hangover to end at 7:30 tonight. The Tigers and Pirates will meet in Dunnellon for an annual rivalry match, both attempting to right mistakes that contributed to tough setbacks in the opening (- week Crystal River is coming off a 21- 14 loss to Springstead while the Tigers are trying to regroup after a 39-7 blasting at the hands of Nature Coast "We re-emphasized some things that we had- n't before," said Dunnellon coach Frank Beasley, "as far as playing physi- cal and going hard all the time." Beasley admitted his team got outclassed in the first week and vowed that wouldn't happen again. "I can assure you that no one will sneak up on us any more," he said. The Pirates played well in hanging with Springstead, but according to Crystal River coach Anthony Paradiso, two crucial break- Please see ' " '/Page 4B Mount Dora at Lecanto ALAN FESTO afesto@chronicleonline.com Chronicle The Lecanto football team will once again try and "cash a paycheck" tonight as the Panthers host the Mount Dora Hurricanes and try to stop a 16-game skid. The Hurricanes halted a lengthy losing streak of their own last week. defeating Potter House Christian out of Jack- sonville, 28-6, to end their streak at 24. "They've tasted victory and they don't want to lose again," Lecanto coach Ron Allan said. "We've got to come out focused." Lecanto will rely heavily on the running game tonight, led by Kevin Powers. Powers rushed for an efficient 104 yards on 20 car- ries last week against Umatilla while picking up one score. Back-up Nick Kauffman was also very effective, averaging about four yards per carry. However, for the Panthers offense to be pro- ductive, mistakes and penalties must be kept to a minimum. Trying to force Lecanto into those mistakes will be a Hurricane defense that likes to run the 4-3 and is led by linebacker Paul Perez. The Please see LECANTO/Page 4B Lake Weir Caitrus safety position last year and Josh Earhardt (5- Lake Weir at itrUS 11, 175 pounds), who takes over for Thomas as the team's new quarterback. Last season he led JOHN COSCIA Lake Weir in punting and also played on the jcsocia@chronicleonline.com defensive side of the ball. Chronicle Lake Weir finished 3-7 last year and Citrus got the better of them a year ago with a 23-12 victo- Dueling Hurricanes will attempt to unleash ry but that's not anything that Haines is letting their powerful winds when the hometown his players take for granted. Citrus Hurricanes play host to the Lake Weir "They're (Lake Weir) much better than Hurricanes tonight at Citrus High School. they've been in years past and we're going to For the second straight week, Citrus have to play well (tonight) in order to High will have a speedster to contain. stay unbeaten," Haines said. "We Last week it was South Lake's Jo'il ~ jumped on them early last year but Demps, who gained 138 yards but was> then they got themselves back in the stopped by the 'Canes when they needed to game. We need to take care of the blitz on our most - on the game's final play end or we're going to struggle." Still flying high off of that emotional 13-12 vic- Haines is proud of the effort his team dis- tory, Citrus now directs its attention toward played last week but was also quick to point out Lake Weir and their slot receiver Jamal that had they not made some mistakes, they Thomas. Thomas, who is 5-foot-10 and 170 could have made last week's victory a bit easier. pounds, runs a 4.5 40 and has been moved from "If we get one first down they never get the the quarterback position to receiver to better ball back for that last drive," Haines explained. utilize his speed. "And we had one touchdown called back. We've "He's a very talented player, as is their run- got to protect the ball and avoid those kind of ning back, Eddie Williams," Citrus football mistakes or it's going to come back and bite us. It's a lot nicer to come back after a win and coach Rik Haines admitted. "(Lake Weir) made make adjustments though, that's for sure." some mistakes last week against The Villages, On the injury side, Citrus' Joe Brown, who otherwise they could have won that game." was knocked out in the waning minutes of last Three other players that Citrus will have to week's game and was airlifted to Orlando keep their eyes on will be Williams (5-6, 195 Regional Medical, was released on Saturday pounds). who rushed for over 1,000 yards for morning and Haines said that Brown was Lake Weir's junior varsity program last year. doing fine. Then there's Steve Collins (6-4, 180 pounds) who was the team's leading tackler from the free Please see CiTRUS/Page 4B I. t CITRUS COUNTY CHRONICLE Points STANDINGS= Nextel Cup 1. Jeff Gordon, 3,679 2. Tony Stewart, 3,3362 3. Denny Hamlin, 3,335 4. Carl Edwards,'3,330 5. Matt Kenseth, 3,309 6. Jimmie Johnson, 3,249 7. Jeff Burton, 3,219 8. Kyle Busch, 3,199 9. Clint Bowyer, 3,047 10. Martin Truex, Jr., 3,042 11. Kurt Busch, 3,022 12. Kevin Harvick, 3,009 13. Dale Earnhardt, Jr., 2,881 14. Ryan Newman, 2,755 15. Greg Biffle, 2,674 16. Casey Mears, 2,581 17. Bobby Labonte, 2,541 18. Jamie McMurray, 2,486 19. Juan Pablo Montoya, 2,439 20. J.J. Yeley, 2,372 Busch Series .1. Carl Edwards, 3,828 2. Kevin Harvick, 3,174 3. David Reutimann, 3,171 4. Jason Leffler, 3,042 5. David Ragan, 2,975 6. Bobby Hamilton Jr., 2,804 7. Stephen Leicht, 2,691 8. Marcos Ambrose, 2,677 9. Greg Biffle, 2,652 10. Mike Wallace, 2,597 11. Clint Bowyer, 2,430 12. Matt Kenseth, 2,401 13. Jeff Burton, 2,323 14. J.J. Yeley, 2,300 15. Scott Wimmer, 2,297 16. Dave Blaney, 2,252 17. Casey Mears, 2,248 18. Steve Wallace, 2,229 19. Kyle Krisiloff, 2,190 20. Denny Hamlin, 2,190 Craftsman Trucks 1. Ron Hornaday, 2,769 2. Mike Skinner, 2,765 .. 3. Travis Kvapil, 2,575 4. Todd Bodine, 2,506 5. Johnny Benson, 2,349 6. Rick Crawford, 2,326 7. Ted Musgrave, 2,122 8. Jack Sprague, 2,094 9. Matt Crafton, 2,087 10. Eric Darnell, 2,021 11. David Starr, 1,960 12. Brendan Gaughan, 1,828 13. Dennis Setzer, 1,887 14. Ken Schrader, 1,801 15. Terry Cook, 1,773 16. Tim Sauter, 1,653 17. Willie Allen, 1,651 18. Chad McCumbee, 1,554 19. Bill Lester, 1,550 20. Aaron Fike, 1,487 NHRA Top Fuel. Funny Car 1. Robert Hight, 2,155. 2. MikeAshley, 2,134. 3. Tony Pedregon, 2,113. 4. Ron Capps, 2,104. 5. Jack Beckman, 2,086. 6. John Force, 2,060. 7. Gary Scelzi, 2,042. 8. Jim Head, 2,031., 84 points. 2. Fernando Alonso, Spain, McLaren- Mercedes, 79. 3. Felipe Massa, Brazil, Ferrari, 69 4. Kimi Raikkonen, Finland, Ferrari, 68. 5. Nick Heidfeld, Germany, BMW- Sauber, 47. 6. Robert Kubica, Poland, BMW-Sauber, 29. 7. Heikki Kovalainen, Finland, Renault, 19. 8. Giancario Fisichella, Italy, Renault, 17. 9. Alexander Wurz, Austria, Williams, 13. 10. Nico Rosberg, Germany, Williams, 9. 11. Mark Webber, Australia, Red Bull, 8. (tie). David Coulthard, Britain, Red Bull, 8. 13. Jarno Trulli, Italy, Toyota, 7. 14. Raf Schumacher, Germany, Toyota, 5. 15. Takuma Sato, Japan, SuperAguri, 4. 16. Jenson Button, Britain, Honda, 1. (tie). Sebastian Vettel, Germany, BMW- Sauber, 1. Indy Racing League 1. Dario Franchitti, 587 2. Scott Dixon, 584 3. Tony Kanaan, 548 4. Dan Wheldon, 449 5. Sam Homish Jr, 427 6. Helio Castroneves, 414 7. Danica Patrick, 405 8. Scott Sharp, 382 9. Tomas Scheckter, 345 10. Marco Andretti, 338 11. Buddy Rice, 338 12. Vitor Meira, 322 13. Darren Manning, 320 14. A.J. Foyt IV, 295 14. Ed Carpenter, 295 16. Kosuke Matsuura, 290 Ready to repeat? JimmieJohnson gearing up after a quiet summer Associated Press In the nick of time, the con- sistent Jimmie Johnson has returned. With only Saturday night's race at Richmond remaining before the start of NASCAR's 10-race Chase for the Nextel Cup championship, Johnson has emerged from his usual midsummer doldrums. A victory last Sunday night in the suffocating heat at California Speedway followed three top-five finishes in the previous four races and was the culmination of a memo- rable week for the reigning Cup champion. In the days leading up to the race, Johnson was inducted in the Hall of Fame at his high school in his hometown of El Cajon, 90 miles from the track And part of the week in Southern California was spent hosting a golf tournament for celebrities and friends, and raising money for the Jimmie Johnson Foundation. But the biggest thing Johnson raised was his expectations of a run at another championship. Johnson is sixth in the point standings, but with his series- leading fifth victory of the sea- son he is assured of going into the Chase at the top of the standings - thanks to NASCAR's tweaks to the stock car postseason. The sanctioning organization expanded the Chase from 10 to 12 drivers and set up a seeding procedure, awarding 10 points for each win during the "regu- lar season." Once the final Chase lineup is set, each of the drivers will have their overall points adjusted to 5,000 plus the bonus points they have accumu- ,lated from those wins. . Everybody among the top 12 at this point, except for ninth- place Clint Bowyer, has at least one win. But the only driver who could match Johnson's five wins is Hendrick Motorsports teammate Jeff Gordon, who goes to Richmond with four. "He's definitely going to be one of the guys to beat in the championship," said Gordon, who goes into Richmond with a 317-point lead over runner-up Tony Stewart, but will find him- self behind Johnson by 10 points for the start of the Chase if he doesn't win this week "You don't want to give him one point," Gordon said. "But we've still got one race left, and maybe we can get something going there. We'll all find out when we get down to that final race what 10 points means. "We've gone on some streaks Associated Press Jimmie Johnson celebrates winning the NASCAR Nextel Cup Sharp Aquos 500 at the California Speedway on Sunday in Fontana, Calif. before when 10 points won't mean anything. But everybody is going to step up for those final 10 and you want every point you can get" Don't bet against Johnson, whose last previous win this season came at Richmond on May 6. Johnson, who has never fin- He' ished worse than fifth in going to be the stand- ings in his guys to b five previ- ous seasons, champion has devel- oped the somewhat unnerving On competing agi pattern of getting off to a great start, slumping at midseason and awakening in time to compete for the title. It's not a pattern Johnson or his No. 48 Chevrolet team enjoy. e This summer was particularly bothersome. After crashing at Chicagoland and Indianapolis on consecu- tive weeks in July, finishing 37th and 39th, Johnson found him- self ninth in the points, the worst he has been at that time of the season since he began com- peting full- time in Cup. Definitely Although definitely he did have one of the those four early season eat in the wins to fall back on, 5hip. Johnson was con- cerned. Jeff Gordon "We had inst Jimmie Johnson. great race cars and had bad luck and lost a lot of ground," he said. '"And it's easy to have a bad race car and just not run well the following weeks. So, if you get four or five bad races in a row, you can lose a lot of ground, and that's where I was nervous. "I don't know why the cycle goes like it does. It doesn't mat-. ter if it's the 48 car, the 20 car (Stewart), a Roush car, whatever it may be, we all look at our weak points and try to pick those up. We've tried to address the tracks in the summer and what to do in the summer I think we were stronger this summer than we've been the last few years. We just didn't have the results." The dominating win at California should serve as a warning to the rest of the Cup competitors that the No. 48 is going to be one of the cars to beat the rest of the way. But Johnson doesn't want to get too sure of himself. "There is obviously a lot of racing left and a lot of good teams fighting for this Chase," Johnson said. "But we are hitting our stride at the right time." Nextel Cup Chevy Rock-and-Roll 400 * Site: Richmond, Va. * Schedule: Friday, qualifying (ESPN2, 6 p.m.); Saturday, race (ABC, 7:30 p.m.). * Track: Richmond International Raceway (tri-oval, 0.75 miles, 14 degrees banking in turns). * Race distance: 300 miles, 400 laps. * Last race: Jimmie Johnson grabbed a victory in the the Sharp Aquos 500, clinching a spot in NASCAR's Chase for the Nextel Cup championship and guaranteeing he will be no worse than a tie for the top seed in the 10-race playoff. * Last year: Tony Stewart eliminated himself from title contention with a mis- erable showing. The two-time defend- ing series champion started the week- end with a wreck that destroyed his primary car minutes into the first prac- tice and capped it with a lackluster 18th-place finish. Stewart plummeted from eighth to 11th in the standings Kasey Kahne, who came into the race 11th in the standings, claimed the final Chase position after finishing third - behind winner Kevin Harvick and Kyle Busch. * Next race: Sylvania 300, Sept. 16, Loudon, N.H. Busch Series Emerson Radio 250 * Site: Richmond, Va. * Track: Richmond International Raceway (tri-oval, 0.75 miles, 14 degrees banking in turns). * Race distance: 187.5 miles, 250 laps. * Last race: Jeff Burton turned a late pit stop and fresh tires into a NASCAR Busch Series win in the Camping World 300 at California Speedway. He passed Kyle Busch for the lead just eight laps from the end and pulled away to win by 2.859 seconds - about 12 car lengths - as Busch barely held off pole-winner Denny Hamlin for second place. * Last year: Kevin Harvick continued his dominance in NASCAR's Busch Series. Harvick led five times for 154 laps leaving with a 619-point lead over Carl Edwards and just seven races left on the schedule. The victory in the Emerson 250 was the 23rd of Harvick's Busch career, fourth all-time, and the fourth of his career on the .75- mile, D-shaped oval. It also gave him 25 top-10 finishes in 28 Busch races this season. * Next race: RoadLoans.com 200, Sept. 22, Dover, Del. INDY RACING LEAGUE Peak Antifreeze IndyCar 300 * Site: Joliet, Ill. * Schedule: Saturday, qualifying, 5.30 p.m.; Sunday, race (ABC, 4 p.m.). * Track: Chicagoland Speedway (oval, 1.5 miles, 18 degrees banking in turns). * Race distance: 300 miles, 200 laps. * Schedule: Friday, qualifying, (ESPN, 4 0 Last race: Tony Kanaan gambled and p.m.); race (ESPN2, 8 p.m ). won the Detroit Indy Grand Prix. The Brazilian, to finish a career-best sec- ond. * Last year: Dan Wheldon beat Target Chip Ganassi teammate Scott Dixon by 0.1897 seconds to win the PEAK Antifreeze Indy 300, but Sam Hornish Jr. was 0.2323 seconds behind and clinched the championship. * Next race: None.: Ferrari's Felipe Massa won his third race of the year and his sec- ond consecutive Turkish Grand Prix by beating teammate Kimi Raikkonen. Two-time defending Formula One champion Fernando Alonso of McLaren was third. Overall leader Lewis Hamilton of McLaren had been in third place but dropped to fifth after shredding a tire on the 43rd lap. * Last year: Michael Schumacher announced his retirement from Formula One moments after the seven-time world champion won the Italian Grand Prix. The 37-year-old Ferrari driver, who holds every major record in the sport, moved within two points of season leader Fernando Alonso. * Next race: Belgian Grand Prix, Sept. 16, Spa Craftsman Trucks * Last Race: Johnny Benson raced to his second straight NASCAR Craftsman Truck Series victory, holding off Ron Hornaday Jr. in the Dodge Dealers Ram Tough 200. Points leader Mike Skinner had the pole position and led the first 30 laps on the 1.25-mile Gateway International Raceway oval, but dropped from contention after blowing out his right front tire. * Next race: New Hampshire 200, Sept. 15, Loudon, N.H. Champ Car World Series * Last Race: Justin Wilson won the Champ Car's Dutch Grand Prix, hold- ing off Jan Heylen of Belgium to clinch his first race of the season.. * Next race: Lexmark Indy 300, Oct 21, Surfers Paradise, Australia. 2B FRIDAY SEPTEMBER 7, 2007 I. AROUND THE TRACKS ascat.-.� A look AHEAD Nextel Cup Feb. 18 - Daytona 500, Daytona Beach, Fla. (Kevin Harvick) Feb. 25 - Auto Club 500, Fontana, Calif. (Matt Kenseth) March 11 - UAW-Daimler Chrysler 400, Las Vegas (Jimmie Johnson) ' March 18 - Kobalt Tools. 500, Hampton, Ga. (Jimmie Johnson)) May 5 - Crown Royal 400, Richmond, Va. (Jimmie Johnson) May 12 - Dodge Avenger, 500, Darlington, S.C. (Jeff Gordon) May 27 - Coca Cola 600, Concord, N.C. (Casey Mears) June 4 - Autism Speaks 400, Dover, Del. (Martin Truex Jr.) June 10 - Pocono 500, Long Pond, Pa. (Jeff Gordon) June 17 - Citizens Bank 400, Brq, IIl. (Tony Stewart) July 29 - Allstate 400 at the Brickyard, Indianapolis (Tony Stewart) Aug. 5 - Pennsylvania 500,- Long Pond, Pa. (Kurt Busch) Aug. 12 - Centurion Boats at The Glen, Watkins Glen, N.Y. (Tony Stewart) Aug. 21 - 3M Performance, 400, Brooklyn, Mich. (Kurt Busch) Aug. 25 - Sharpie 500, Bristol,'Tenn. (Carl Edwards) Sept. 2 - Sharp AQUOS 500, Fontana, Calif. (Jimmie Johnson) Sept. 8 - Chevy Rock-and-Roll 400, Richmond, Va. Sept. 16 - Sylvania 300, Loudon, N.H. Sept. 23 - Dover 400, Dover, Del. Sept. 30 - Kansas 200 (Juan Pablo Montoya) March 10 - Sam's Town 300, Las Vegas (Jeff Burton) March 17 - Nicorette 300, Hampton. Ga. (Jeff Burton) March 24 - Sharpie MINI 300, Bristol. Tenn. (Carl Edwards) April 7 - Pepsi 300, Lebanon,'Tenn. (Carl Edwards) April 14 - O'Reilly 300, Fort Worth., Texas (Matt Kenseth) April 20 - Bashas' Supermarkets 200, Avondale, Ariz. (Clint Bowyer) April 28 - Aaron's 312, Talladega, Ala. (Bobby Labonte) May 4 - Circuit City 250, Richmond, Va. (Clint Bowyer) May 11 - Diamond Hill Plywood 200, Darlington, S.C. (Denny Hamlin) May 26 - Carquest Autoparts 300, Concord, N.C. (Kasey Kahne) June 2 - Dover 200 (Carl Edwards) June 9 - Federated Auto Parts' 300, Lebanon, Tenn. (Carl Edwards) June 16 - Meijer 300, Sparta, Ky. (Stephen Leicht) June 23 - AT&T 250, West Allis, Wis. (Aric Almirola) June 30 - Camping World 200, Loudon, N.H. (Kevin Harvick) July 7 - Winn-Dixie 250, Daytona Beach, Fla. (Kyle Busch) July 14 - USG Durock 300, Joliet, Ill. (Kevin Harvick) July 21 - Gateway 250, Madison, Ill. . (Denny Hamlin) Aug. 24 - Food City 250, Bristol,.Tenn. (Kasey Kahne) Sept. 1 - Camping World 300, Fontana, Calif. (Jeff Burton) Sept. 7 - Emerson Radio .250, Richmond, Va. Sept. 22 - Dover 200, Dover, Del. Sept. 29 - Yellow Transportation. 300, Kansas City, Kan. Oct. 12 - Dollar General 300, Concord, NC. Oct. 27 - Sam's Town 250, Memphis, Tenn. Nov. 3 - O'Reilly Challenge, . Fort Worth, Texas. Nov. 10 - Arizona.Travel 200, Avondale, Ariz. Craftsman Trucks May 18 - Quaker Steak and Lube 200, Concord, NC. (Ron Hornaday Jr.) May 26 - Ohio 250, Mansfield, Ohio (Dennis Setzer) June 1 - AAA Insurance 200, Dover, Del. (Ron Hornaday Jr.) June 8 - Sam's Town 400, Fort Worth, Texas, (Todd Bodine) June 16 - Michigan 200, Brooklyn, Mich. (Travis Kvapil) June 22 - Toyota Tundra Milwaukee 200, West Allis, Wis. (Johnny Benson) June 30 - O'Reilly 200, Memphis, Tenn (Travis Kvapil) July 14 - Built Ford Tough 225, Lexington, Ky. (Mike Skinner) July 27 - Power Stroke Diesel 200, Ill. (Johnny Benson) FRIDAY, SEPTEMBER 7, 2007 3B Colts smack Saints Associated Press INDIANAPOLIS - It took ' the Indianapolis Colts one . , half to shake off their post- a Super Bowl hangover. Then Peyton Manning and , ' "friends came alive to beat 'I New Orleans 41-10 Thursday night in the NFEs opener, run- . .0 ning away in the final 30 min- . Suites with a championship cal- iber performance. Playing against his home- I-,. town team, Manning had three TD passes, two to Reggie Wayne and another to Marvin . , Harrison. Joseph Addai ran for 118 yards on 23 carries and b a super-quick defense with . four new starters shut down .. ,c Drew Brees, Reggie Bush and W the explosive New Orleans ,.. offense. . . ... ' The game was tied 10-10 - S, after a sloppy first half. . But Manning, who finished i '18-of-30 for 288 yards, led two ,- quick TD-drives in the first S8:49 of the second half as the .,. P Colts put up 24 points in 20 minutes after intermission. On the first drive, Manning hit * ., >... 'Harrison for 42 yards to set up -.: ,b. a 2-yard TD run by Addai. Then the Super Bowl MVP D' came right back to throw a 28- ,,-yard TD to Wayne. Another major player - for -,---: * ,.. ..p - o.. both sides - was New Aso"e Orleans cornerback Jason t David, who started for the , Colts in their Super Bowl win over Chicago, then left as a free agent He was victimized .by Harrison on a 27-yard TD pass in the first half and again ,. by Wayne on both his scores, Associated Press . the second a 45-yarder in the New Orleans Saints running back Deuce McAllister, center, is tackled Thursday by Indianapolis Colts ,Q fourth quarter. cornerback Kelvin Hayden in the first quarter of NFL football action in Indianapolis. Djokovic gets to 1st U.S. Open semifinal Associated Press NEW YORK - As hilarious after his U.S. Open quarterfi- nal victory as he was good dur- ing it, Novak Djokovic treated an appreciative audience to his spot-on impersonations of Maria Sharapova and Rafael Nadal. It was a scene most likely never before seen at a Grand Slam tennis tournament - or any sporting event of any sig- nificance, for that matter. First, Djokovic did Sharapova, hop- ping behind the baseline the way she does, bouncing the ball the way she does, pretend- ing to tuck strands of hair behind his ears, and capping it off by doing a perfect render- ing por- tion showed by reaching a third consecutive Grand Slam semifinal by beating No. 17 Carlos Moya 6-4, 7-6 (7), 6-1. "It's funny. He does it very well. That's a gift," Moya said, referring to Djokovic's rendi- tions. "If he doesn't succeed in tennis, he has a career in that." Even Djokovic's pre-serve routine requires attention. When he faced a set point in the tiebreaker, for example, he kept dribbling the ball, 28 times in all. Eventually, he tossed the ball overhead - and hit a fault. Before his second serve, Djokovic cut his total to 13 bounces, hit a 113 mph offer- ing, and won the point. "This is just a matter of con- centration. I'm trying to really focus and not irritate anybody. Sorry if I'm a bit annoying," Djokovic said. "The thing is, I want to stay longer on this court, so that's why I'm bounc- ing more and more.". Intr 12-6 Cleveland 10-8 Detroit 10-8 Minnesota 6-12 Kansas City 7-11 Chicago Chicago Milwaukee St. Louis Cincinnati Houston Pittsburgh Central Division W L Pct GB L10 81 58 .583 - z-9-1 75 65 .536 6% z-5-5 ' 69 71 .493 12% 2-8 62 77 .446 19 z-5-5 59 81 .421 22% z-3-7 Central Division Pct GB L10 Str .511 - z-5-5 L-1 .511 - 6-4 W-2 .504 1 z-6-4 W-1 .450 8% 3-7 W-1 .443 9% z-5-5 L-2 .436 10% z-3-7 L-1 Home 44-27 36-32 37-35 31-37 29-37 Home 38-36 45-26 39-31 34-35 36-33 31-38 Away 37-31 39-33 32-36 31-40 30-44 Away 33-32 26-42 30-37 29-42 26-45 30-41 Los Angeles Seattle Oakland Texas Arizona San Diego Los Angeles Colorado San Francisco West Division ct GB L10 30 - z-7-3 36 7% 1-9 39 14 4-6 \, 68 17 z-8-2 \ West Division Pct GB L10 .553 - 4-6 .547 1 z-6-4 .529 3% z-7-3 .518 5 z-6-4 .450 14% z-5-5 WILD CARD GLANCE American League - ' W L Pct GB New York 78 62 .557 - Seattle 74 64 .536 3 Detroit 74 65 .532 3%2 National League b , W L Pct GB San Diego 76 63 .547 - ,. Los Angeles 73 66 .525 3 Philadelphia 73 66 .525 3 AMERICAN LEAGUE Wednesday's Games ,0'. *0" Thursday's Games Detroit 3, Chicago White Sox 2 sr' _.- Boston 7, Baltimore 6 Cleveland at L.A. Angels, late [I, Today's Games Seattle (Batista 13-10) at Detroit (Verlander 15-5), 7:05 p.m. Boston (Lester 3-0) at Baltimore (D.Cabrera 9-14), 7:05 p.m. . Toronto (McGowan 9-8) at Tampa Bay (Jackson 4-13), 7:10 p.m. ,0. Oakland (Haren 14-6) at Texas (Volquez 1- 0), 8:05 p.m. , N.Y. Yankees (Kennedy 1-0) at Kansas City (Meche 7-12), 8:10 p.m. Minnesota (Silva 11-13) at Chicago White Sox (Vazquez 11-8), 8:11 p.m. Cleveland (Westbrook 5-8) at L.A. Angels (Lackey 16-8), 10:05 p.m. NATIONAL LEAGUE Wednesday's Games , Cincinnati 7, N.Y. Mets 0 Atlanta 9, Philadelphia 8 Washington 6, Florida 4 " Milwaukee 14, Houston 2 Chicago Cubs 8, L.A. Dodgers 2 .b Pittsburgh 8, St. Louis 2 San Francisco 5, Colorado 3 ,i,, Arizona 9, San Diego 6 Thursday's Games , St. Louis 16, Pittsburgh 4 '" LA. Dodgers 7, Chicago Cubs 4 Today's Games SJ'-' Chicago Cubs (Hill 8-7) at Pittsburgh (Gorzelanny 13-7), 7:05 p.m. Florida (Kim 8-6) at Philadelphia (Durbin 6- 4), 7:05 p.m. ,0, Houston (Rodriguez 8-12) at N.Y. Mets S(Pelfrey 1-7), 7:10 p.m. Milwaukee (Bush 11-9) at Cincinnati ) (Arroyo 7-14), 7:10 p.m. Washington (Hanrahan 4-2) at Atlanta (Smoltz 12-7), 7:35 p.m. San Diego (Germano 7-8) at Colorado , (Dessens 2-2), 9:05 p.m. St. Louis (Wainwright 13-9) at Arizona (Webb 14-10), 9:40 p.m. L.A. Dodgers (Billingsley 10-4) at San Francisco (Sanchez 1-3), 10:05 p.m, LEADERS AMERICAN LEAGUE BATTING-ISuzuki, Seattle, .352; MOrdonez, Detroit, .352; Polanco, Detroit, .340; Posada, New York, .337; Pedroia, Boston, .329; Lowell, Boston, .329; VGuerrero, Los Angeles, .326.. NATIONAL LEAGUE BATTING-Utley, Philadelphia, .341; Renteria, Atlanta, .336; Holliday, Colorado, .334; HaRamirez, Florida, .333; DYoung, Washington, .330, CJones, Atlanta, .329; S ARamirez, Chicago, .317. PITCHING (14 Decisions)-Penny, Los Angeles, 15-4, .789. 2.82; Harang, Cincinnati, 14-4, .778, 3.68; Hamels, Philadelphia, 14-5, .737, 3.50; BSheets, Milwaukee, 11-4, .733, 3.36; Peavy, San Diego, 16-6, .727, 2.43; Francis, Colorado, 15-6, .714, 4.12: Billingsley, Los Angeles, 10-4, .714, 3.30; CVargas, Milwaukee, 10- 4, .714, 5.13. Associated Press Boston Red Sox shortstop Julio Lugo, left, tags Baltimore Orioles Tike Redman on a steal Thursday during the first inning in Baltimore. Redman was called safe on the play. Red Sox 7, Orioles 6. Crisp had three hits and scored three runs, including the tiebreaker in the ninth, to help the Red Sox extend their AL East lead to 6� games over the idle New York Yankees. Boston has been in first place for 142 games, its longest streak since 1986. Wearing throwback uniforms that paid tribute to the 1932 Baltimore Black Sox of the Negro Leagues, the Orioles got a home run from Kevin Millar and three hits from Tike Redman. But the new clothes could- n't prevent Baltimore from meeting a familiar fate: It was the Orioles' 14th loss in 16 games. Crisp led off the ninth with an infield hit off Danys Baez (0-6). He stole second and came home when Varitek lined a single to left. BOSTON JLugo ss Pedroia 2b DOrtiz dh Lowell 3b Yukilis lb Kielty If Ellsbry If JDrew rf Crisp cf Mrbelli c Clayton pr Cash c Varitek c Totals Boston BALTIMOI ab rh bi 5 01 1 BRbrts 2b 5 00 0 Redmn cf 4 11 2 Mrkkis rf 4 00 0 Tejada ss 3 12 0 Millar ib 3 00 0 Huff dh 1 01 0 Mora 3b 3 10 0 RaHrdz c 4 33 3 Payton If 1 01 0 0 100 2 00 0 1 01 1 RE ab 4 5 3 5 5 3 4 3 4 36710 7 Totals 36 610 6 002 310 001- 7 Baltimore 103 200 000- 6 DP-Boston 1, Baltimore 1. LOB- Boston 6, Baltimore 8.2B-Markakls 2 (39), Huff (27). HR-DOrtiz (27), Crisp (6). Millar (15). SB-Crisp (23), Redman (3), Mora (9) IP H RERBBSO Boston Wakefield Snyder Buchholz W,3-0 Papelbon S,34 Baltimore Olson Cherry Hoey JWalker Bradford DBaez L.0-6 WP-Olson 32-3 9 11-3 0 3 1 1 0 32-3 5 5 21-3 1 1 1 0 0 1-3 0 0 2-3 2 0 1 2 1 Umpires-Home, Wally Bell: First. Mike DiMuro; Second, Bill Welke, Third, Laz Diaz. T-3:14. A-27,472 (48,290). Tigers 3, White Sox 2 DETROIT - One inning from another costly loss, the Detroit Tigers rallied against Bobby Jenks. Sean Casey and Placido Polanco hit run-scoring singles off the White Sox closer in the ninth inning, lead- ing the Tigers over Chicago 3-2 Thursday in Gary Sheffield's return from the disabled list. Detroit, which closed within three games of the wild card-leading New York Yankees, trailed 2-1 entering the ninth. Sheffield, who hadn't played since Aug. 21 because of an injured shoulder, went 0-for-3 with two strikeouts and a walk. Pinch-hitter Timo Perez reached on an infield single off Jenks leading off the ninth and advanced when the throw from second baseman Danny Richar went into Chicago's dugout for an error. Mike Rabelo sacrificed and Casey, another pinch hitter, dribbled a single through the drawn-in infield to score pinch-runner Cameron Maybin. Brandon Inge grounded to the catcher, Jenks hit Curtis Granderson with a pitch and Polanco singled to left, triggering a home-plate celebra- tion as pinch-runner Omar Infante came across. CHICAGO DETROIT ab rhbi ab r hbi Owenscf 3 00 0 Grndsncf 4 0 0 0 Flds If 3 00 0 Planco2b 4 0 2 1 Terrerorf 0 00 0 Shffield dh 3 0 0 0 Przyns c 4 02 0 MOrdz rf 4 0 1 0 Knerko lb 4 01 2 CGillen ss 4 0 0 0 Erstad rf 3000 Raburn If 3 000 Pdsdnkdh 4 01 0 TPerez ph 1 0 1 0 Uribe ss 4 01 0 Maybin pr 0 1 0 0 Cintron 2b 4 11 0 Rabelo c 3 0 1 0 AGnzlz 3b 2 00 0 Hssmn lb 3 01 0 Thome ph 1 01 0 RSntgo ss 0 0 0 0 Richar 2b 0 10 0 Casey ph 1 0 1 1 Infante pr 0 1 0 0 Inge 3b 4 1 3 1 Totals 322 7 2 Totals 34 310 3 Chicago 000 000 020- 2 Detroit 001 000 002- 3 Two outs when winning run scored. E-Richar (3), Grilli (2). DP-Detroit 1. LOB-Chicago 6, Detroit 9 2B-Pierzynski (21), Konerko (29), Podsednik (10), MOrdonez (45) HR-Inge (13). CS- Podsednik (5). S-Owens, Rabelo. IP H RERBBSO Chicago Buehrle Bukvich Wassermann Logan Jenks L,3-5 Detroit Durbin Grilli Rodney Seay W,3-0 7 7 0 0 2-3 0 1-3 0 2-3 3 Bukvich pitched to 1 batter in the 8th HBP-by Jenks (Granderson). Umpires-Home. Gary Cederstrom, First. Lance Barksdale. Second. Tim Welke. Third, Jim Reynolds. T-2:42. A-35,977 (41.070) Dodgers 7, Cubs 4 CHICAGO - Pinch-hitter Andre Ethier connected for a go-ahead, three-run homer off Ryan Dempster in the ninth inning, and the Los Angeles Dodgers stunned the Chicago Cubs 7-4 Thursday. closed within 3� games of NL West-lead- ing Arizona. Matt Kemp's homer off reliever Bobby Howry closed the gap to 4-3 in the eighth, and the Dodgers took the lead in the ninth against Dempster (2-5), who blew a save for the third time in 28 chances. Russell Martin singled. Joe Beimel (4-1) pitched 1 2-3 innings of hitless relief, and Takashi Saito got three outs for his 37th save in 40 chances LOS ANGELES CHICAGO ab rhbi Furcal ss 5 10 0 ASrano If Pierre cf 4 01 0 Theriot ss Kemprf 5 11 1 DeLee lb LGnzlz If 4 00 0 Ward rf Saito p 0 00 0 ARmrz ph Martin c 4 22 0 Cedeno pr Loneylb 4 132 Howry p Valdez pr 0 0 Dmpstr p RMrtnz 3b 0 00 0 Wuertz p LaRche 3b 3 00 0 DeRosa 3b Ethier If 1 11 3 JJones cf TAbru 2b 3 01 0 Kendall c DLowe p 2 00 0 Fontnt 2b Brxtn p 0 00 0 Mrquis p Beimel p 0 00 0 CFIoyd ph MaSwylb 1 01 0 Fuld rf Pie cf r hbi 224 0 1 0 020 000 000 000 000 000 000 000 000 000 0 2 0 000 000 0 0 0 0 0 0 Totals 36710 6 Totals 32 4 7 4 Los Angeles 000 010 114- 7 Chicago 100 000 300- 4 DP-Los Angeles 1. LOB-Los Angeles 5, Chicago 7. 2B-Loney (15), Theriot (29). HR-Kemp (10), Loney (7), Ethier (11), ASoriano 2 (22). SB-Furcal (17), Pierre (56). S-DLowe. IP H RERBBSO Los Angeles DLowe Broxton Beimel W,4-1 Saito S,37 Chicago 6 5 3 3 1-3 2 1 1 12-3 0 0 0 1 0 0 0 Marquis 7 4 2 2 1 4 Howry 1 1 1 1 0 0 Dempster L,2-5 2-3 5 4 4 0 0 Wuertz 1-3 00 0 0 1 DLowe pitched to 2 batters in the 7th. HBP-by Beimel (ARamirez), by Marquis (Pierre). WP-Wuertz. Umpires-Home, Ed Rapuano, First, Ed Hickox; Second, C.B. Bucknor; Third, Joe West. T-2:46. A-39,397 (41,160). Cardinals 16, Pirates 4, 8 innings, rain ' ST. LOUIS - RickAnkiel Josh Grabow and added a two-run dou- ble in the sixth off Dave Davidson, also making his big league debut. Brought up Aug. 9 in his first major league appearance since he pitched for the Cardinals in 2004, Ankiel is batting .358 with nine homers and 29 RBIs in 23 games. PITTSBURGH ST. LOUIS ab rhbi ab r hbi McLthcf 5 11 0 Eckstinss 4 23 1 JBtsta3b 4022 Brnyan 3b 1 000 Dvdson p 0 00 0 Ankiel cf 4 4 3 7 Perez p 0 00 0 Reyes p 1 0 0 0 Palino ph 0 000 Pujols 1b 5 2 2 1 Yuman p 0 000 Edmndlb 0 0 0 0 FSnchz 2b 3 02 1 Ludwck rf 5 2 2 1 Izturis 3b 2 00 0 Duncan If 2 0 1 1 Phelps lb 201 0 Sprgerp 0 000 Bay If 2 00 0 Cairo ph 1 0 1 1 Morgan cf 1 00 0 Flors p 0 0 0 0 Pearce rf 4 00 0 Tguchi cf 2 0 1 1 JWlson ss 4 120 YMolna c 4 0 2 1 MIdndo c 4 01 1 Stnet c 1 0 0 0 Bullington p 1 1 1 0 Miles 2b 5 1 3 1 Kataph 1 11 0 Marothp 0 000 VnBscn p 0000 KJimnz p 0 0 0 0 Grabow p 0 00 0 Barden ph 0 1 0 0 Castillo 3b 2 00 0 Percivl p 1 0 0 0 Schmkr If 3 1 1 0 Ryan 3b 5 3 3 0 Totals 35411 4 Totals 44162215 Pittsburgh 020 100 010- 4 St. Louis 230 254 00x- 16 No outs when winning run scored. E-Castillo (9). DP-Pittsburgh 2. LOB- Pittsburgh 12, St. Louis 10. 2B-JWilson (25), Maldonado (1), Kata (6), Eckstein (16), Ankiel (6), Pujols (27). HR-Ankiel 2 (9). S-Eckstein. IP H RERBBSO Pittsburgh Bullington L,0-1 3 7 5 5 2 1 VanBenschtn 11-3 6 5 5 2 1 Grabow 2-3 5 2 2 0 1 Davidson 1 4 4 3 0 0 Perez 1 0 0 0 0 1 Youman 1 0 0 0 0 0 St. Louis Maroth 12-3 6 2 2 2 1 Jimenez W,2-0 1-3 0 0 0 0 1 Percival 2 2 1 1 0 1 Springer 1 1 0 0 0 1 Flores 1 0 0 0 0 0 Reyes 2 2 1 1 2 1 Reyes pitched to 1 batter in the 9th HBP-by Reyes (Phelps), by Davidson (Ludwick). WP-VanBenschtn. Umpires-Home, Brian Runge; First, Mike Winters; Second, Bruce Froemming; Third, Mark Wegner. T-3:06. A-42,330 (43,975). W L Pct 85 56 .603 78 62 .557 71 68 .511 60 79 .432 58 82 .414 East Division GB L10 - 5-5 6/2 6-4 13 6-4 24 2-8 26 2 7-3 Boston New York Toronto Baltimore Tampa Bay New York Philadelphia Atlanta Washington Florida Home 44-25 47-27 42-27 30-38 33-39 Home 35-30 39-29 36-35 36-35 30-41 Away 41-31 31-35 29-41 30-41 25-43 Away 43-31 34-37 35--34 27-42 30-39 East Division t GB L10 - 5-5 5 5 z-6-4 7 7% 4-6 ) 15% 5-5 I 18% 3-7 Home 47-23 41-27 36-35 39-32 Home 43-29 40-31 37-32 41-27 33-35 Away Intr 35-34 14-4 33-37 9-9 33-37 10-8 26-42 11-7 Away 35-34 36-32 37-34 31-40 30-42 CITRus CouNTY (FL,) CHRONICLE SPORTS 4W� VP"�flAV SIIPi' LS 72flH /, 4cURU CONT (L) CY-R1N11, Sports BRIEFS 7 Rivers volleyball defeats rival in three Seven Rivers Christian defeat- edSt. John Lutheran on Thursday night in a District 1A-3 n4tchup. The Lady Warriors won in three straight games, 25-16, 25-23, 25-23. Rachael Capra had six service aces and 10 kills. Gabby Perone had five kills. "We had a real good night from our setters, (Carolyn) Allen and :(Kenzie) Rowda," said head coach Tim Bowman. "It was just a fun night for us. It was my first time as 'head coach I've beaten St. John's. ... We were trailing by eight points in the third game and we battled all the way back and pulled it out. It was really big for my girls to fight through and prove we can do that if we need to." "I've got a feeling we'll see (St. John's) in the district champi- onship. They're pretty good." Seven Rivers is now 3-0. They play at 7 p.m. tonight at home against St. Francis. Belleview volleyball beats Dunnellon Dunnellon lost to Belleview in straight games 22-25, 21-25, 18- 25, to Belleview on Thursday night. Leading the way for Dunnellon were Anushka Bessus with 27 sets, Kiara Rosado with six kills and Miranda Bock with six digs. The 2-3 Tigers' next match is today against Vanguard. West Port golf gets better of Dunnellon Dunnellon boys golf played West Port on Thursday. West Port won, 199-201. Jared Simpkins shot a 48 and Ryan Smith shot a 49 for Dunnellon. The Tigers are now 2-1 on the season. The medalist for the match was West Port's Gary Johnson, who shot a 44. Dunnellon's next match is Tuesday at Citrus Springs Country Club versus The Villages. Citrus golf takes win over Lecanto Citrus' boys golf team defeated Lecanto, 162-174, on Thursday at Southern Woods. For Lecanto, Justin Roessler and Ryan Chapman shot 43 and Alex Colebrook and Tanner Summers shot 44. For Citrus, Austin Connors shot 39 and Nick Brothers, Zach Fanley and Harlan Kelly shot 41. Lecanto is now 0-1. Citrus is undefeated on the season. - From staff reports No. 8 Louisville holds off Middle Tennessee Associated Press BYRD Continued from Page 1B golf tournaments," Villegas said. "But I believe if I finish top eight, I will be in for next week I'm.trying to win the golf tourna- ment, trying to hit one shot at a time, and it's not going to change CANES Continued from Page 1B in two," Carlson explained. "In fact I landed my second shot in the bunker. But I chipped out to about 15 feet and sank the par putt. "That one putt completely changed my round," Carlson continued. "After that I just got FACE Continued from Page 1B ; "The course played tough," Gabbard said. "The pin place- inent and wind made things hard and we don't usually KILLS Continued from Page 1B Cassidy Rash kept the Pirates' slim hopes alive, but the gap was too wide CITRUS Continued from Page 1B There were several play- ers for Citrus that put them- selves on Haines' radar screen last week and will again be key components this week if Citrus is to remain unbeaten. Leading the way on offense the way I play out there." in a groove and started hitting the ball well. In fact, on hole number six, I reached the par 5 in two and my eagle putt lipped out But I'll take an easy birdie any day." In addition to Carlson's 36, Ashton Connor and Lauren Bomke both shot 43 and Brittany Eldridge shot a 44 to round out the team's composite score. Jordan Connor finished with a round of 48. play the back nine here." Warriors freshman Andrew Gage led Seven Rivers in shooting a 51. Warriors coach Aimee Kelso was frustrated with what she considered subpar play from her team. "It was a long, rough day," and the Panthers rolled to a nine-point victory. "We need to talk a lot more on the court," Weber said when asked how the team could improve. "Lecanto was hyped and we came in and didn't play." will be Antoin Scriven, the Canes' junior stud. Scriven had a good game last week but is poised for a breakout performance against Lake Weir, who he ran for 173 yards and two touchdowns against last year. Then there's the accurate leg of Michael Watkins, whose two field goals last week were the difference makers in the game. game that featured 1,284 yards from scrimmage, 13 touchdowns and little defense on either side. Middle Tennessee quarter- back win- The closest golfer to Carlson was West Port's Jessica Negron, who was paired with Carlson and shot a 40. While Carlson was star- ing her round bogey, bogey, Negron opened par, par. But while Carlson played the final seven holes 2-under par, Negron stumbled down the stretch for 4-over in the last seven holes. The other local team, Kelso said. "We should be shooting under 200 every match. "I don't understand it," she continued. "When we play our home course, we shoot between 175-190." Kyle Pendarvis led Chiefland after shooting a 47. Game 3 didn't provide any more drama, with Lecanto again building a quick lead right from the start. Raina Johnson pro- vided the offense; scoring on a match high four kills, all in the final game. The On the defensive side of the ball, David Green had what Haines described as "his best game ever" with three inter- ceptions and a game-saving deflection. The three picks give the junior cornerback a career total of 10 intercep- tions and have him set for a breakout season. Not to be overlooked in last week's victory was punter Derek Paquette who kept CANTL A House to minus 35 total yards running backs and a good full- L C A T Iof offense. back Quarterback Alex Hudak On the other side of the ball, finished with 92 yards passing Continued from Page 1B Mount Dora's offense has qual- in the season opener. ity athletes at the skill posi- "They are dangerous," Allan 'Canes defense held Potter tions including three quality said. DUNNELLON Continued from Page 1B downs sunk his team's ship. :A fumble on the 1-yard line by Crystal River and a long completion just before half- time by Springstead played a major role in the Pirates' defeat "We just need to minimize mistakes, that's what it was last week," Paradiso said. "We were very flat in the first half." While both teams need more efficiency offensively, Dun- nellon in particular had no rhythm moving the pigskin against Nature Coast "We're struggling to find an offensive identity as far as what we want to do," Beasley said. "We're still trying to find some consistency in the back- field and we're still trying to find our five best offensive linemen." As far as offensive weapons go, Crystal River has a few. 'Senior quarterback Shay Newcomer accounted for 224 yards of total offense against Springstead, 155 of which came through the air. Newcomer was also in on both of Crystal River's touchdowns, running for one while connect- ing with Johnny MacDonald through the air for the other. "(Newcomer) is the real deal," Beasley said. "He throws the ball really hard." Ronnie Baldner also had 75 yards receiving for the Pirates. The Pirates also showed a competent defense, but Paradise said he respected Dunnellon's speed. "We know what Dunnellon has," Paradiso said. "They're going to come full-speed down- hill on every play." In last year's meeting, Dunnellon won 47-27 after scoring four touchdowns in the third quarter. West Citrus Ladies of the Elks Fall Card Party and Luncheon Tuesday, ) October 9 ~~ Doors open at ,'- 11:30 a.m. - $12 West Citrus Elks Lodge 7890 W. Grover Cleveland Boulevard, Homosassa, FL 34446 .-'' For more information call Mary at 382-7510 or Kathy at 382-4748 down against a Louisville defense trying to replace seven starters. When Louisville opened the game with an 81-yard touch- down. ning sec- ond alone. Crystal River, finished their day on the course with a team total of 238. Leading the way in scoring for the Lady Pirates was Caitlin Camp, whose 55 was good for team medalist. Also scoring for Crystal River were Chelsea Bennett with a 57, Samantha Korsiak with a 58, Kourtney Camp and Madurah Shakla who each shot 68 and Sidney Bennett with a 70. Crystal River plays 3:30 p.m. Wednesday at Chiefland before playing Thursday at El Diablo against Citrus. Seven Rivers is off until September 19, when the Warriors travel to Bishop McLaughlin for a 3:30 p.m. start Panthers recorded 18 kills as a team. "We truly don't know on any given night who's gonna be the person (to score)," Bullock said. "When they're on and play error-free, they're amazing," South Lake deep in its own territory with several great punts, including two inside the 10-yard line. That cou- pled with Citrus' stingy defense bodes well for the hometown Hurricanes tonight. Jonathan Byrd Justin Rose Camilo Villegas Stewart Cink Troy Matteson Pat Perez Ryuji Imada Tiger Woods Ken Duke Nathan Green Woody Austin Tim Clark Steve Stricker K.J. Choi Charley Hoffman Aaron Baddeley Charles Howell III Brett Wetterich Sergio Garcia Stuart Appleby lan Poulter Ryan Moore Scott Verplank Hunter Mahan Adam Scott Bo Van Pelt John Rollins Rory Sabbatini Kevin Sutherland Brandt Snedeker Lucas Glover Rocco Mediate Jose Coceres Brian Bateman Jim Furyk Trevor Immelman Nick O'Hern Carl Pettersson John Senden Heath Slocum Bubba Watson Stephen Ames Kenny Perry Jeff Quinney David Toms Zach Johnson Angel Cabrera Billy Mayfair Nick Watney Steve Marino Rod Pampling Ernie Els Vaughn Taylor Anthony Kim Vijay Singh Jerry Kelly Sean O'Hair John Mallinger Robert Allenby Henrik Stenson Boo Weekley Mark Wilson Luke Donald Mark Calcavecchia Geoff Ogilvy Arron Oberholser 36-36 34-38 34-38 37-35 36-37 38-35 37-36 35-38 38-36 38-36 35-39 36-38 36-38 36-39 36-39 38-37 40-36 35-41 40-37 37-41 WD TRANSACTIONS Thursday BASEBALL American League BOSTON RED SOX-Agreed to terms with P Jennel Hudson. LOS ANGELES ANGELS-Agreed to terms with 3B Ludwig Glaser and OF Frederik Terkelsen. MINNESOTA TWINS-Agreed to terms with C Frederic Hanvi. National League CHICAGO CUBS-Agreed to terms with SS Dwayne Kemp. CINCINNATI REDS -Agreed to terms with OF Donald Lutz. BASKETBALL National Basketball Association CHICAGO BULLS-Named Matt Lloyd director of college scouting. SOCCER Major League Soccer NEW ENGLAND REVOLUTION- Signed M Adboulie Mansally. COLLEGE WEST VIRGINIA-Signed Rich Rodriguez, football coach, to a one-year contract extension through the 2013 season. 32-32 29-36 32-33 34-32 32-34 34-32 32-35 34-33 34-33 33-34 34-33 35-33 34-34 34-34 33-35 34-34 34-34 36-32 35-33 34-34 34-34 35-34 34-35 35-34 36-33 35-34 34-35 34-35 37-33 34-36 36-34 34-36 36-34 36-34 36-34 34-36 34-36 34-37 35-36 36-35 36-35 35-36 34-37 37-35 36-36 FOOTBALL 7:30 p.m. Crystal River at Dunnellon 7:30 p.m. Mount Dora at Lecanto 7:30 p.m. Lake Weir at Citrus BOYS SOCCER 5 p.m. Seffner Christian at Seven Rivers VOLLEYBALL 7 p.m. St. Francis at Seven Rivers GOLF BMW Championship Par Scores First Round JOIN THE FUN! September 15- ~ 9 a.m. to 3 p.m. Chronicle, 1624 N. Meadowcrest Blvd, Crystal River KENNEL CLUB- .a . ... 1 tespons,.* DV O wner Day A. The dogs are coming!!! Food and lots of fun for the whole family Bring the kids and the dog! (All dogs must be on a leash at all times) Pet Look-A-Like Contest - eSheriffs dog demo eCanine massage *Meet the Breeds *Bloodhound search demo *Micro-Chip clinic *Pet contests *Agility demo *Vendors for dog items Canine Good Citizen testing For more information call Janet at 796-3818 - Invernesskennelclub.com For a complete listing of all AKC Responsible Dog Ownership Day events nationwide, visit akc.org On the AIRWAVES TODAY'S SPORTS AUTO RACING 8 a.m. (SPEED) Formula One Italian Grand Prix - Practice. 10 a.m. (ESPN2) NASCAR Busch Series Emerson Radio 250 - Practice. 4 p.m. (ESPN2) NASCAR Busch Series Emerson Radio 250 - Qualifying. 6 p.m. (ESPN2) NASCAR Nextel Cup Chevy Rock & Roll 400 - Qualifying. 8 p.m. (ESPN2) NASCAR Busch Series Emerson Radio 250. MLB 7 p.m. (66 PAX) Toronto Blue Jays at Tampa Bay Devil Rays. 7 p.m. (FSNFL) Florida Marlins at Philadelphia Phillies. 10 p.m. (ESPN) Los Angeles Dodgers at San Francisco Giants. BOXING 10:30 p.m. (ESPN2) Friday Night Fights. COLLEGE FOOTBALL 7 p.m. (ESPN) Navy at Rutgers. GOLF 9:30 a.m. (GOLF) European PGA Omega European Masters - Second Round. 12:30 p.m. (GOLF) LPGA NW Arkansas Championship - First Round. 3 p.m. (GOLF) PGA BMW Championship - Second Round. 7:30 p.m. (GOLF) PGA Nationwide Tour Envirocare Utah Classic - Second Round. TENNIS 12:30 p.m. (6, 10 CBS) U.S. Open - Men's Doubles Final & Women's Semifinals. Varsity Prep CALENDAR 41& FRiDAY, SFPTEMBER 7. 2007 SpRTs Cimus Coumy (FL) CHRONICLE FRIDAY, SEPTEMBER 7, 2007 5B Seven "experts" from the i Chronicle staff and Bay News 9's Jonathan ma Petramala match wits'with the mighty coin that will be picking teams all season. This Week's Games Lake Weir at Citrus Crystal River at Dunnellon C- ..~i~hIx?-1 John Coscia -I . - Citrus i * Citrus . Crystal River: Crystal River Citrus Citrus h Dunnellon p ______ ____ Jeff Mike Bryan Arnold Citrus Citrus - ~., h't'f' t.~ ~r-'- -.4 f3rao Jonathan -The Coin Bautista Petramala Flip" Citrus Citrus Lake Weir SCrystal River Crystal River. Mount Dora at Lecanto Lecanto Lecanto Lecanto Lecanto Mount Dora Lecanto Lecanto i Lecanto Lecanto Virginia Tech at LSU Va. Tech LSU LSU LSU LSU iLSU LSU LSU Va. Tech Troy at Florida Florida Florida Florida Florida Florida Florida Florida Florida Florida UAB at Florida State Florida St. Florida St. Florida St. Florida St. Florida St. Florida St. Florida St. Florida St. i UAB South Carolina at Georgia Georgia Georgia Georgia Georgia Georgia Georgia S. Carolina Georgia S. Carolina Notre Dame at Penn St. Penn St. i PennSt. Penn St. : Penn St. Penn St. Penn St. Penn St. Penn St. Penn St. South Florida at Auburn Auburn Auburn Auburn S. Florida Auburn Auburn S. Florida Auburn S. Florida Texas Christianat Texas Texas Texas Texas Texas Chr. Texas Chr. Texas Tes Texas Chr. Texas Chr.. !NW- Ri. -" )IT ) Miami at Oklahoma Oklahoma i Oklahoma Oklahoma Oklahoma Oklahoma Oklahoma Oklahoma i Miami 4 . T IY'1 D n , * Denverl Defnver Denver suffalo S EUVWW. -. U .. DU I L'IenverC n'I'VL . Ier " enverI .' .. -. -- Pittsburgh at Cleveland Pittsburgh Pittsburgh Pittsburgh Pittsburgh Pittsburgh Pittsburgh Pittsburgh Pittsburgh PittsburgH Carolina at St. Louis Carolina St. Louis St. Louis St. Louis St. Louis St. Louis St. Louis St. Louis Carolina Philadelphia at Green Bay Philadelphia Philadelphia Philadelphia Philadelphia Philadelphia Philadehia Philadelphia Philadelphia Philadelphia New England at NY Jets NYJets New EnglandNew England New EnglandNew England New EnglandNew England New England New England: Atlanta at Minnesota Minnesota Minnesota Minnesota Minnesota Minnesota Minnesota Atlanta Minnesota Adanta Miami at Washington Washington Washington Miami Washington Washington Washington Washington Washington Miami " Tennessee at Jacksonville Tennessee Jacksonville Jacksonville Jacksonville Tennessee Jacksonville Jacksonville Jacksonville Tennessee Detroit at Oakland Oakland Detroit Detroit Oakland Detroit Detroit Oakland Detroit Detroit Kansas City at Houston Houston Kansas City Kansas City Houston Houston Kansas City Kansas City Houston Houston Chicago at San Diego San Diego San Diego San Diego San Diego San Diego Chicago San Diego San Diego San Diego Tampa Bay at Seattle Seattle Seattle Seattle Seattle Seattle Seattle Seattle Seattle Tampa Bay NY Giants at Dallas Dalas NY Giants Dallas NY Giants Dalas Dal DaDal as Dallas Dallas - Baltimore at Cincinnati Cincinnati Cincinnati Cincinnati Baltimore Baltimore Baltimore Baltimore Cincinnati Cincinnati Arizona at San Francisco San Fran. San Fran. San ran. Sa r ran. San Fran. San Fran. San Fran. San Fran. San Fran. Last week's total 6-4 6-4 6-4 7-3 7-3 i 6-4 6-4 7-3 6-4 Season total 6-4 64 6-4 7-3 6-4 6-4 7-3 NFL INJURY REPORT Sunday ATLANTA FALCONS at MINNESOTA VIKINGS Falcons: DID NOT PARTICIPATE .IN PRACTICE: S Chris Crocker (knee); LIM- ITED PARTICIPATION IN PRACTICE: DT Roderick Coleman (knee). Vikings: DID NOT PARTICIPATE IN PRACTICE: S Mike Doss (calf), LB E.J. Henderson (illness); LIMITED PARTICIPATION IN PRACTICE: LB Vinny Ciurciu (hand), WR Robert Ferguson (ankle), DE Darrion Scott (shoulder), WR Bobby Wade (ankle), S Tank Williams (calf). CAROLINA PANTHERS at ST. LOUIS RAMS Panthers: DID NOT PARTICIPATE IN PRACTICE: DE Stanley McClover (thigh), S Nate Salley (knee); LIMITED PARTICI- PATION IN PRACTICE: LB Jason Kyle (back). Rams: DID NOT PARTICIPATE IN PRACTICE: WR Drew Bennett (thigh); LIMITED PARTICIPATION IN PRACTICE: G Richie Incognito (ankle). CHICAGO BEARS at SAN DIEGO CHARGERS Bears: DID NOT PARTICIPATE IN PRACTICE: TE Greg Olsen (knee). Chargers: Wednesday practice report unavailable. DENVER BRONCOS at BUFFALO BILLS Broncos: Wednesday practice report unavailable. Bills: OUT: DE Ryan Denney (foot), LB Keith Ellison (ankle). DETROIT LIONS at OAKLAND RAIDERS Lions: DID NOT PARTICIPATE IN PRACTICE: QB Dan Orlovsky (toe); LIM- ITED PARTICIPATION IN PRACTICE: RB Jon Bradley (shoulder), RB Kevin Jones (foot), DT Shaun Rogers (knee). Raiders: OUT: LB Isaiah Ekejiuba (foot). KANSAS CITY CHIEFS at HOUSTON TEXANS Chiefs: No injuries to report. Texans: No injuries to report. MIAMI DOLPHINS at WASHINGTON REDSKINS Dolphins: LIMITED PARTICIPATION IN PRACTICE: CB Andre' Goodman (shoul- der); FULL PARTICIPATION IN PRAC- TICE: RB Reagan Mauia (wrist), LB Joey Porter (knee), DT Keith Traylor (ankle). Redskins: LIMITED PARTICIPATION IN PRACTICE: LB Khary Campbell (ham- string); FULL PARTICIPATION IN PRAC- TICE: RB Clinton Portis (knee), T Chris Samuels (knee), T Todd Wade (shoul- der), LB Marcus Washington (elbow). NEW ENGLAND PATRIOTS at NEW YORK JETS Patriots: LIMITED PARTICIPATION IN PRACTICE: S Rashad Baker (hand), TE David Thomas (foot), DE Mike Wright (knee); FULL PARTICIPATION IN PRAC- TICE: QB Tom Brady (right shoulder). Jets: LIMITED PARTICIPATION IN PRACTICE: CB Andre Dyson (foot), RB Thomas Jones (calf), CB Justin Miller (thigh), G Brandon Moore (shoulder), S Eric Smith (thigh); FULL PARTICIPATION IN PRACTICE: TE Joe Kowalewski (fin- ger), QB Chad Pennington (pelvis), DT Dewayne Robertson (knee), WR Chansi Stuckey (knee), RB Stacy Tutt (foot). PHILADELPHIA EAGLES at GREEN BAY PACKERS - Eagles: LIMITED PARTICIPATION IN PRACTICE: DE Jevon Kearse (shoul- der). Packers: OUT: DE Mike Montgomery (knee); LIMITED PARTICI- PATION IN PRACTICE: WR Donald Driver (foot), RB Ryan Grant (hamstring), RB Brandon Jackson (concussion), T Tony Moll (neck), RB Vernand Morency (knee), S Aaron Rouse (hamstring). PITTSBURGH STEELERS at CLEVELAND BROWNS Steelers: OUT: LB Marquis Cooper (hamstring); LIMITED PARTICIPATION IN PRACTICE: QB Brian St. Pierre (toe). Browns: OUT: LB Willie McGinest (back); LIMITED PARTICIPATION IN PRACTICE: S Mike Adams (groin), CB Gary Baxter (knees), LB Andra Davis (ankle), DE Orpheus Roye (knee), T Kevin Shaffer (concussion), G Eric Steinbach (knee), RB Lawrence Vickers (hamstring), P Dave Zastudil (back); FULL PARTICIPATION IN PRACTICE: DE Simon Fraser (back) TAMPA BAY BUCCANEERS at SEATTLE SEAHAWKS Buccaneers: OUT:. DE Patrick Chukwurah (knee); DID NOT PARTICI- PATE IN PRACTICE: TE Jerramy Stevens (player decision); LIMITED PAR- TICIPATION IN PRACTICE: WR Joey Galloway (team decision). Seahawks: Wednesday practice report unavailable. TENNESSEE TITANS at JACKSONVILLE JAGUARS Titans: DID NOT PARTICIPATE IN PRACTICE: TE Casey Cramer (knee), C Kevin Mawae (illness). Jaguars: DID NOT PARTICIPATE IN PRACTICE: DE Reggie Hayward (Achilles), LB Clint Ingram (ankle), DT Tony McDaniel (knee), C Brad Meester (ankle), DE Kenneth Pettway (quadricep); LIMITED PARTICIPATION IN PRACTICE: DT John Henderson (shoulder). NEW YORK GIANTS at DALLAS COWBOYS Giants: OUT: RB Robert Douglas (knee), WR David Tyree (wrist), LB Gerris Wilkinson (knee); LIMITED PARTICIPA- TION IN PRACTICE: T Guy Whimper (ankle); FULL PARTICIPATION IN PRAC- TICE: Wednesday DE Adrian Awasom (hip), WR Plaxico Burress (back), CB Kevin Dockery (hamstring), CB Sam Madison (hamstring), LB Kawika Mitchell (groin), C Grey Ruegamer (ankle). Cowboys: DID NOT PARTICIPATE IN PRACTICE: LB Kevin Burnett (ankle), LB Greg Ellis (Achilles), CB Terence Newman (foot); FULL PARTICIPATION IN PRACTICE: WR Terry Glenn (knee). Monday BALTIMORE RAVENS at CINCINNATI BENGALS Ravens: Did not practice Wednesday. Bengals: OUT: WR Antonio Chatman (hamstring), LB Rashad Jeanty (shin), S Ethan Kilmer (knee), DE Frostee Rucker (hamstring); DID NOT PARTICIPATE IN PRACTICE: WR T.J. Houshmandzadeh (knee), CB Johnathan Joseph (foot); LIM- ITED PARTICIPATION IN PRACTICE: K Shayne Graham (hip), CB Leon Hall (ill- ness); FULL PARTICIPATION IN PRAC- TICE: T Willie Anderson (foot), C Eric Ghiaciuc (neck). ARIZONA CARDINALS at SAN FRANCISCO 49ERS Cardinals: OUT: DT Ross Kolodziej (knee); FULL PARTICIPATION IN PRAC- TICE: C Nick Leckey (knee). 49ers: Did not practice Wednesday. How the oddsmakers see Week One Chicago (plus 6) at San Diego Another Super Bowl matchup that could have been. Or could be this year. Turnover time for Rex Grossman. CHARGERS, 24-10 New England (minus 6%) at New York Jets Fourth meeting in just over a year between mentor (Belichick) and pupil (Mangini). PATRIOTS, 20-17 New York Giants (plus 5�) at Dallas (Sunday night) Eli Manning has had a good preseason. But do the Giants really want to save Tom Coughlin's job. COWBOYS, 31-24 Baltimore (plus 2/) at Cincinnati (Monday night) The Ravens will need to gen- erate offense. Against Cincinnati's defense, they can. RAVENS, 20-19 Arizona (plus 3) at San Francisco (Monday night) Two teams grasping at medi- ocrity. 49ERS, 31-30 Detroit (plus 2) at Oakland Two teams just grasping for a win. RAIDERS, 19-16 Denver (minus 3) at Buffalo The Broncos keep signing defensive linemen, a sign of weakness. But there are more such signs on the Bills. BRONCOS, 31-20 Atlanta (plus 3) at Minnesota Never mind Detroit-Oakland. THIS could be for the first pick in next year's draft. (Bobby Petrino takes Brian Brohm, his former Louisville QB.) VIKINGS, 16-10 Philadelphia (minus 3) at Green Bay The final Favre-McNabb matchup? EAGLES, 24-20 Pittsburgh (minus 412) at Cleveland Brady Quinn isn't ready yet. The Steelers are. STEELERS, 20-3 Tennessee (plus 62�) at Jacksonville Can Vince Young throw to himself? JAGUARS, 16-13 Carolina (plus 1) at St Louis Exhibitions mean little, but the Panthers were bad. RAMS, 20-17 : Tampa Bay (plus 6) -*. at Seattle Mike Holmgren runs a West Coast offense. Can his team defend one? SEAHAWKS, 22-7 Miami (plus 3) at Washington Al Saunders' 700-page play- book for the Redskins goes- against a very good defense. DOLPHINS 18-16 Kansas City (plus 3) at Houston A spread that shows how far. the Chiefs have fallen. TEXANS 18-14 NFL seeks to reclaim attention from offseason woes' he award I for NFL- pla yer - arrested-closest-to- kickoff was locked up by Browns cor- nerback Leigh Bodden, picked up barely 26 hours before the season opener and accused JIM I of getting abusive with police after driving back- ward down the one-way arrivals area at the Cleveland airport. I know. Who hasn't gone to the airport to pick up some- body these past few years and been tempted to do the same? But whatever emboldened Bodden to cross that line - he pleaded not guilty to two mis- demeanor charges just ahead of Thursday night's Saints- Colts game at Indianapolis - is something commissioner Roger Goodell will be dealing with for months to come. The good news for the league is the season is long and filled with highlights, and people have notoriously short memories. The bad news is the games on the field must be awfully good from the get-go to wrest fans' attention away from some dreadful, destruc- tive offseason stunts. That might not be as easy as the com- missioner thinks. "I believe that our fans recognize .ITKE the way we have -- dealt with these issues," Goodell said Wednesday after attending a groundbreaking for a new Meadowlands stadium that will house the Jets and Giants. "I hope they respect it and sup- port it. And I think they are ready to talk about football now, and start rooting for their teams, their players and coaches. That's what makes our game special." Fans should - and do - rec- ognize that Goodell has handled every issue that has crossed his desk in a no-nonsense manner He didn't wait for cover from the legal system to hand out lengthy suspensions to Pacman Jones and Tank Johnson, and wisely dealt with Michael Vick when the time was right While his predecessor, Paul Tagliabue, often came off as too cautious, Goodell's swift, com- monsense approach to meting out justice refreshingly mirrors many of the fans' own. That's notto say this season will be smooth sailing. Far from it Still to be resolved is whether the league and the players union will do right by former players who have suf- fered crippling injuries and are struggling to pay medical bills, a campaign that's gained increasing visibility as one- time stars such as Mike Ditka have taken up the cause and carried it to Congress. There's also the question of concus- sions suffered by current play- ers, something the league only recently made a priority. Also lurking is an investiga- tion by the Albany County (N.Y.) District Attorney's office into an internet drug opera- tion that dispensed human growth hormone, resulting in the suspensions of Pats safety Rodney Harrison, Cowboys' quarterback coach Wade Wilson and the firing of Richard Ryzde, a former doc- tor for the Pittsburgh Steelers.: The problem is all that nega- tive news had no competition for the headlines. There weren't real games - only exhibitions and the league's ad campaign featuring a handful' of clean, marquee stars calling, mom or performing other, sim- ilarly heartwarming tasks. That's about to change. It's worth remembering the. NFL came back from messy, offseasons before - anybody remember the Ray Lewis and' Rae Carruth sagas? Both pro baseball and hockey wormed, their way back into the fans' good graces after losing part or all of a season due to labor' problems. And the NFL, his-, torically, has been much more adept at damage control than those two leagues combined. There's certainly some jus-, tice that from here on out, the, league will rely on all its play-, ers to make us forget the abus- es of a few. The announcers. and analysts aren't NFL employees in the strict sense,, but they're likely to follow the, company line - unless,. or- until, they run out of material. - e ae Dunnellon Crystal River Dunnellon * Dunnellon \- Oklahoma : Alan Jonathan Jon-Michael Festo Deutschman Soracchi nanvar at Ruffain I CiTRus CouNTY (FL) CHRoNicLE NFEL (' r: Denveir ! D i/f/ * D l^t � Denver I 6B SEPTEMBER 7, 2007 www chronicleonline com CITRUS COUNTY CHRONICLE Spotlight on PEOPLE Britney Spears will open MTV's VMAs LAS VEGAS -- Britney night partying Spears and erratic behavior have made her a tabloid fix- ture, is a veteran of the VMAs: She performed "I'm A Slave 4 U" with a 7-foot albino python around her neck in 2001. Two years later, she and Madonna stoked controversy and delighted viewers with an open-mouth kiss. Mary-Kate opens up in interview NEW YORK-- You see a tabloid shot of Mary-Kate Olsen and think, "Why does she look so depressed?" Well, there's a reason for that "I don't want my pic- ture taken," the 21-year- old actress tells Enter- tainment Weekly maga- zine. 'The M oary-Kate only time I Olsen think it's OK is ata red- carpet event or a photo shoot "So every time I see paparazzi, I cover my face so they don't get a picture, and I'm just 'the mean person who doesn't smile."' Olsen, whose waiflike fig- ure has made her a target of media scrutiny, avoids public displays of attention. "I would love to be able to swim in the ocean in Malibu," she says. "But that is asking for a bikini shot That's invit- ing something that I don't want to happen. I don't need Sto be on a 'Who's Skinny, Who's Fat, Who's Looking Healthy, Who's Not Eating?' list" Child welfare official visits Madonna LONDON - Malawi's chief social welfare official has paid a visit to Madonna's London home, part of arlong- delayed assessment into whether the pop idol can adopt a little boy from the Southern , .o,.. African coun- try. Simon Chisale was spotted leaving the singer's home Wednesday afternoon clutch- ing a blue binder, but he refused to comment and attempted to hide his face when approached by The Associated Press. Chisale is due to file a report on the suitability of Madonna and husband Guy Ritchie as adoptive parents for toddler David Banda, who was plucked from a Malawian orphanage during a visit there by Madonna last autumn. Gainsbourg doing well after operation PARIS - Charlotte Gainsbourg was doing well after undergoing an operation an injury she sustained while jet ski- Her agent, Dominique Segall, said the surgery Charlotte was aimed at Gainsbourg treating a hematoma (a mass of usually clotted blood that forms as a result of a bro- ken blood vessel) but did not specify where she was injured. Pirates come alive in book Associated Press PORTLAND, Maine - Long John Silver of "Treasure Island" fame, hobbling along on a peg leg with a talking parrot on his shoulder, set the mold for Hollywood's image of a pirate. Then came Captain Hook, thirsting for revenge against Peter Pan for cutting off his right hand and forcing him to wear an iron hook Jack Sparrow, portrayed by Johnny Depp in the "Pirates of the Caribbean" movies, updated the image of the swash- buckling pirate with special effects and the supernatural, and his rum-soaked, dread- locked portrayal. But those looking to examine the true-life figures of the Golden Age of Piracy might turn instead to the likes of Samuel Bellamy, Charles Vane and Edward Thatch, some- times known as Edward Teach but known best as Blackbeard. The exploits of those three pirate leaders, along with Woodes Rogers, the ex-privateer who hunted them down, are detailed in Colin Woodard's 'The Republic of Pirates," a his- tory of the rough-and-tumble period from 1715 to 1725 when buccaneers ruled the seas, disrupting trans-Atlantic commerce. Operating from sanctuaries in the Bahamas and the Carolinas, pirate crews were largely comprised of ex-sailors in revolt against tyrannical conditions on mer- chant and naval ships. They struck at will at British, French and Spanish vessels from New England to South America and cap- tured treasure, along with the imagination of the public at large. "Pirates were folk heroes at the time they were alive. Large numbers of ordinary peo- ple looked upon them as heroes and bought their arguments that they were Robin Hood's men," Woodard says. "They were popular then, and in a sense it never stopped." Today they're as popular as ever, thanks in large part to the "Pirates of the Caribbean" movies, the first of which hit the big screen in 2003. The white-on-black Jolly Roger, meanwhile, has gone mainstream, with even professional sports teams picking up on the theme: the Pittsburgh Pirates, Oakland Raiders and Tampa Bay Buccaneers. "You see the skull and crossbones every- where - on flags, on T-shirts and on bumper stickers," Woodard said. "What people are responding to is the fantasy image of the pirates." In Maine, Eastport has made a splash with its annual pirate festival, to be held Sept 7- 9, boosting tourism while providing a link to the pirates and privateers who were active off Maine three centuries ago. Festivities sailing the seas while singing "Yo Ho Ho and a Bottle of Rum" from Robert Louis Stevenson's "Treasure Island" carries a certain appeal in today's world, where people are working longer hours and are tethered by pagers and cell phones. Associated Press Author Colin Woodard poses Saturday, Aug. 18, with the schooner Bagheera at the Maine State Pier in Portland, Maine. Woodard's latest book, "The Republic of Pirates," is a his- tory of the rough-and-tumble period from 1715 to 1725 when buccaneers ruled the seas, disrupting trans-Atlantic commerce. "It's like, Ah, to be free of all the bonds ilously low. and constraints of the modern era. To go out "They preferred to live a merry life and a there and live our own lives on our own short one," Woodard says. "They knew that terms' - that's the image that people are what they were doing was such that their responding to," Woodard says. chances of living to a ripe old age were Even today, pirates continue to ply their small." trade. In recent years, they have been active A native of Maine, Woodard has combined off the Horn of Africa and in the Pacific and his work as a historian with his assignments Indian oceans. as a foreign correspondent for the Christian While researching the pirates of yore, Science Monitor and the Chronicle of Woodard found that many of the classic Higher Education. A previous book, "The images from pirate tales and movies don't Lobster Coast," a cultural and environmen- ring true. He found no evidence, for exam- tal history of coastal Maine, also reflects his ple, that pirate captains ever dispatched interest in Colonial America. captives by making them walk the plank In "The Republic of Pirates," he used the Likewise, he's skeptical that pirates made a 1724 book 'A General History of the Pyrates" habit of digging a hole and burying their as a starting point for research that relied treasure. mostly on primary sources. And so far as Woodard knows, the trade- His biggest surprise, he says, was the mark "arrrgh" was first uttered by actor alliance between the Caribbean pirates and Robert Newton in his 1952 portrayal of the Jacobite movement that took root in "Blackbeard the Pirate." Britain in the hope ofrestoringthe Stuarts to But some celluloid pirate images, such as the throne. 'That was the most mind-bend- Jack Sparrow's flamboyant mode of dress ing element It seems so unlikely and so with his dark kohl-rimmed eyes, may not be strange." Although some pirates could be off the mark cruel and sadistic, the author offers a gener- "One of the things they liked to do when ally sympathetic portrait of a subculture that they captured a vessel was immediately raid often practiced a rough democracy, treated the wardrobes of the wealthy passengers its captives in a civil manner and displayed and wear the stuff like war trophies," racial tolerance at a time when the slave Woodard says. "They had a flair for finery." trade was a major economic force. The wooden legs and eye patches that are Such attitudes, according to the author, typical of pirate movies may have had a reflected the kind of independent thinking basis in fact, he said, as cannon blasts and that two and three generations later was hand-to-hand battles between merchant emblematic of the American and French crews and boarding parties took their toll. revolutions. Pirates also consumed prodigious '"Alot of that mob revolutionary sentiment amounts of rum, wine and whiskey, Woodard and inclination toward roughshod, radical said. His book details numerous incidents in democracy and resisting the forces of empire which pirate crews would attack a ship was already prevalent earlier than anyone when their own stocks of booze had run per- suspected," Woodard says. Television goodies grace their palms DIANE WERTS Newsday Here we are again: the time of year that UPS, FedEx arid DHL just love - all that money to be made from TV networks wooing TV critics to love their new fall slates. Every day now for us, it's Christmas in July - make that September - as delivery servic- es dump upon us piles of not only episodes for review, but also title- slathered products, lest we forget what we're writing about These little "treasures" turn our desks into journalist versions of those doctors' offices littered with pharmaceutical-branded pens, note pads, tissues and other inex- Wall Street Journal best-sellers Fiction L "Harry Potter and the Deathly Hallows" by J.K. Rowling, art by Mary GrandPre (Arthur A. Levine/Scholastic) 2. "The Wheel of Darkness" by Douglas Preston, Lincoln Child (Grand Central Publishing) 3. "Eclipse" by Stephenie Meyer (Little, Brown) 4- "Garden Spells" by Sarah Addison Allen (Bantam) 5. "A Thousand Splendid Suns" by Khaled Hosseini (Riverhead Hardcover) 6. "Dark Possession" by Christine Feeham (Berkley Hardcover) 7. "Bones to Ashes" by Kathy Reichs (Scribner) & "New Moon" by Stephenie Meyer (Little, Brown) pensive debris. I mean, collectible premiums. There's a "Back to You" notepad and pen from the new Fox sitcom debuting Sept 19 with Kelsey Grammer and Patricia Heaton playing quarrel- some news anchors. And there's a Regis and Kelly coffee mug, commemorating the live morning show's 20th anniversary season starting Monday We get show-branded T-shirts and Sharpies and bobbleheads and tote bags ("Two and a Half Men"! But only one bag!), and even DVD sets of last season in case we missed it But some publicists really put on their thinking caps and come 9. "The Elves of Cintra" by Terry Brooks (Del Rey) 10. "Play Dirty" by Sandra Brown (Simon & Schuster) 11 'The Quickie" by James Patterson, Michael Ledwidge (Little, Brown and Company) 12. "Sweet Revenge (Goldy Culinary Mystery, Book 14)" by Diane Mott Davidson (William Morrow) 13. "Lord John and the Brotherhood of the Blade" by Diana Gabaldon (Delacorte Press) 14. 'Away: A Novel" by Amy Bloom (Random House) 15. "Power Play" by Joseph Finder (St Martin's Press) Nonfiction I 'The Secret" by Rhonda Byrne (Atria Books/Beyond Words) 2. 'Avalanche: The Nine Principles for Uncovering True Wealth" by Steve Sanduski, Ron up with promotional items so cleverly related to their shows, yet so off-the-wall, that somebody should be giving them high-fives. Well, here's my palm slap. The people at "Cops," the Fox reality/verite series celebrating both its 20th season and 700th episode in the season starting Saturday, decided to worm their way into critics' hearts by send- ing out a keychain-sized battery- operated alcohol breath tester They even included the batter- ies. Plus instructions explaining the green, yellow and red lights that, upon breathing onto the device, indicate how soused you might be (0.05 percent is yellow, 0.08 percent is red). If only we'd had this handy lit- Carson (Kaplan Publishing) 3. "The Weight Loss Cure They Don't Want You to Know About" by Kevin Trudeau (Alliance Publishing) 4. "Wonderful Tonight: George Harrison, Eric Clapton, and Me" by Pattie Boyd, Penny Junor (Harmony) 5. "'The Dangerous Book for Boys" by Conn Iggulden, Hal Iggulden (Collins) 6. "Quiet Strength: The Principles, Practices, and Priorities of a Winning Life" by Tony Dungy, Nathan Whitaker (Tyndale) 7. "Lone Survivor: The Eyewitness Account of Operation Redwing and the Lost Heroes of SEAL Team 10" by Marcus Luttrell, Patrick Robinson (Little, Brown and Company) a "Change Your Thoughts - Change Your Life: Living the tle gadget back in the days when newspaper people were drinking , smoking , hard-livin' word crunchers with ink in our veins and clattersome presses ringing in our ears. We sure could've used it But now we're all college-edu- cated, cyber-savvy, video-ready "professionals" who can't smoke within X feet of tidy "media cor- poration" buildings, who'd be fired for having a bottle of booze anywhere near the workplace, who type on shiny computers that create pixels satellite- beamed to some distant press location whose noise and dirt never have to sully our refined senses. Boy, do I want a beer Or seven. Wisdom of the Tao" by Wayne W Dyer (Hay House) 9. "Come Be My Light" by Mother Teresa (Doubleday) 10. "It's All About Him: Finding the Love of My Life" by Denise Jackson, Ellen Vaughn (Thomas Nelson) 11. "You: On a Diet" by Michael F Roizen, Mehmet C. Oz (Free Press) 12. "You: The Owner's Manual" by Michael E Roizen, Mehmet C. Oz (Free Press) 13. "God is Not Great: How Religion Poisons Everything"' by Christopher Hitchens (Twelve) 14. "Four-Hour Workweek: Escape 9-5, Live Anywhere, and Join the New Rich" by Timothy Ferriss (Crown) 15. "Good to Great: Why Some Companies Make the Leap ... and Other's Don't" by Jim Collins (Collins) Florida Here are the winning numbers selected Thursday in the Florida Lottery: CASH 3 8-0-8 PLAY 4 9-7-2-6 ' TASY 5 1-13-20-26-31 WEDNESDAY, SEPTEMBER 5 Cash 3:7 - 5 - 6 Play 4: 0-6-6-4 Lotto: 3- 12- 18- 19-24-45 6-of-6 1 winner $10 million 5-of-6 107 $3,575 4-of-6 5,528 $56 3-of-6 104,685 $4 Fantasy 5: 6-8- 18-24 - 32 5-of-5 6 winners $41,527.34 4-of-5 392 $102.50 3-of-5 11,795 $9.50,451 $39.50 2-of-4 MB 1,778 $22, Se. 7, the 250th day of 2007. There are 115 days left in the year. Today's Highlight in History: One hundred years ago, on Sept. 7, 1907, the British liner RMS Lusitania set out on its maiden voy- age, from Liverpool, England, to New York, arriving six days later. On this date: In 1927, American television pio- neer Philo T. Famsworth, 21, suc- ceeded, convicted Watergate conspirator G Gordon Liddy was released from prison after more than four years. Ten years ago: Mobutu Sese Seko, the former dictator of Zaire, died in exile in Morocco at age 66. Five years ago: President George W. Bush and British Prime Minister Tony Blair said the world had to act against Saddam Hussein, arguing that the Iraqi leader had defied the U.N. and reneged on promises to destroy weapons of mass destruction. One year ago: British Prime Minister Tony Blair gave in to a fierce revolt in his Labour Party and reluctantly promised to quit within a year. Today's Birthdays: Heart sur- geon Dr. Michael DeBakey is 99. Pianist Arthur Ferrante is 86. Jazz musician Sonny Rollins is 77. Actor John Phillip Law is 70. Singer Alfa Anderson (Chic) is 61. Singer Gloria Gaynor is 58.Actress Julie Kavner is 56. Singer Margot Chapman is 50. Rock musician Leroi Moore (The Dave Matthews Band) is 46. Actor Toby Jones is 41. Model-actress Angie Everhart is 38. Actress Diane Farr is 36. Actress Shannon Elizabeth is 34. Thought for Today: "Television is the first truly democratic culture - the first culture available to every- body and entirely governed by what the people want. The most terrifying thing is what people do want." - Clive Bames, British-born drama critic. REMEMBER WHEN * For more local history, visit the Remember When page of ChronicleOnline.com. - From wire reports k tw,. v ARITS & ENTERTAINMENT S~1-HIc op CK A p I ennies w Stacey Gillis as Polly listens to the promises made by Mack the Knife, played by Jim a stable during a scene in "Three Penny Opera." DAVE SIGLER/Chronicle Farley, about the life she can expect when she marries him, even though their wedding service is being performed in Playhouse 19 set to bring 'Mack the Knife' to life in its production of 'Three Penny Opera' CRUSTY =TIS cloftis@chronicleonline.com Chronicle D on't be fooled by the title - Playhouse 19's "Three Penny Opera" is no opera. Instead, it's a musical melo- drama infused with a love story, social protest and comedy. Playhouse 19 will present the colorful and fun produc- tion from Sept. 13 to Oct. 7. The play is set in Victorian London and tells the story of Mack the Knife, a notorious criminal set to wed Polly Peachum. Polly is the daugh- ter of Jonathan Peachum, who controls the beggars of London and disapproves of the marriage. Jonathan works to have Mack the Knife arrested and hung to stop the wedding, but unknown to the underground leader, Mack is a close friend of the chief of police, Tiger Brown. * WHAT: "Three Penny Opera." * WHEN: Thursdays at 7:30 p.m., Fridays and Saturday at 8 p.m., and Sunday at 2 p.m. from Sept. 13 to Oct. 7.Where: Playhouse 19- 865 N. Suncoast Blvd. Crystal River. * COST: $18 adults, $12 students. Box office hours: Tuesday to Saturday, 10 a.m. to 2 p.m., and one hour before show times. * INFO: 563-1333. Also intertwined in the story is Mack's love triangle with his various ladies of the evening. One of the women eventually betrays Mack, and he is arrested. But don't think that's the end of the hero/villain of the story. Moments before Mack's exe- cution, he is pardoned by the queen. "There are serious moments, there are humorous moments, and there's a great story," director Jeri Augustine said. The show's name, "Three Penny Opera" derives from the fact that when it was origi- nally produced, the ticket price was inexpensive so that lower class people could' afford to come and see it. I-' Augustine said many who already know and love 1950s big band singer Bobby Darin's " popular song, "Mack the Knife," will be thrilled to see it in the show. One unique aspect of the show is that the cast and crew includes families and close- knit, dedicated theater peo- ple. Michael Shier, who plays Jonathan Peachum in the show, will perform alongside his two sons and two daugh- ters, who each play beggars. Lisa Emerson, who plays Lucy Brown, will be on stage with her son Julian Barry. who plays a beggar. Augustine's granddaughter, Mimi Davis, is also in the -- Shirley Button and Mikey Shier, playing Feltch, gets his begging costume in this scene from the Please see /Page 6C "Three Penny Opera." Laura Isaacs No high school dropout: Movies ace quiz y aam a self-respecting adult love the kitschy-cutesiness of Movie Database. the premier every girl s desire to live the This device is used in man Musical" movies with every ounce of my being. Sure. the target audience for the films is probably r.:,-" girls, but come on. the songs are catchy, the dance moves are fresh and how could anyone not With the latest installment of the Disney's Channel's major blockbuster. "High School Musical 2." premiering just a few weeks ago. the hoopla has been hard to avoid. According to the Internet ting 17.6 million viewers. The soundtrack is already a best- seller. driven by upbeat songs like "I Don't Dance." which combines hip-hop, swing, salsa and, surprisingly. baseball. and "Fabulous," which expresses things fabulous and frivolous. Not only are the songs in the film fun and poppy. they also are key to the plot. The songs move the :l, i's story along, and without the songs, the film would definitely have holes. tered by Rodgers and Hamnmerstein. which I think is missing from many popular musical productions like "Cats," where the characters Please see /Page 6C .- - --Y --- - 7 - rth et yl 2C FRIDAY, SEPTEMBER 7, 2007 Music * Citrus Community Concert Choir Inc. Rehearsals, 7 p.m. Tuesday, Faith Lutheran Church, Lecanto. 628-3492. 1 * Gospel/country music singer Bristo McGregor will per- form. * Chorus of Beverly Hills rehearsal 10:30 a.m. to noon Friday, Sept. 7, Beverly Hills Community Church, 82 Civic Circle. New members needed, especially tenors and basses. $10 registration/music fee. 746-5680. * Citrus County Music Society, 2 p.m. Saturday, Sept. 8, Grace Bible Church, Homosassa. Call 637-3062. * Citrus Jazz Society Jam Session, 1:30 p.m. Sunday, Sept. 9, Magnolia Ballroom, Plantation Inn and Golf Resort, 9301 Fort Island Trail, Crystal River. $7 non- members. 795-9936. jazzsociety.net. * Dave Matthews Band, with special guests The Wailers, 7 p.m. Tuesday, Stephen C. O'Connell Center. Tickets available by going to the UF Box Office at the Reitz Union, all TicketMaster outlets. TicketMaster charge-by-phone, or online at. * The Pinellas Opera League in partnership with the Downtown Clearwater Library presents "Opera 3," beginning Wednesday, Sept. 12. This will be a 10-week season focusing on magic and fantasy. All programs are from noon to 1 p.m. and all events in the series are free. The schedule for the Fall 2007 season is: * Sept. 12: Humperdinck: "Hansel and Gretel" * Sept. 19: Rossini: "Cenerentola" (Cinderella) * Sept. 26: Boito: "Mephistopheles" *bach: "Tales of Hoffman" * Nov. 14: Puccini: "Turandot" * Peanut Butter and "Jam," Leukemia & Lymphoma Society fund-raiser features music from Geezer and the Time Train, games and inflatables for children, and lunches for sale, 9 a.m. to 3 p.m. Saturday, Sept. 15, Ybor City Saturday Market at Centennial Park in Ybor City at the corner of Eighth Avenue and 19th Street. (813) 241-2442. ybormarket@yahoo.com. * Sunday in the Hills concert and dancing by Sally & Roy from 2 to 4 p.m. Sept. 16 at the Beverly Hills Recreation Center, 77 Civic Circle, $7 includes wine and cheese. Tickets 8:30 a.m. to 4:30 p.m. Monday to Friday at office, 77 Civic Circle. 746-4882. * Tommy Lee and the Harmony Station, 2 to 5 p.m. Sunday, Sept. 16, Citrus Eagles No. 3992, 8733 E. Gulf-to-Lake Hwy., Invemess. 344-5337. * Singing Christmas Tree rehearsals, 6:30 p.m., Sept. 17, First Baptist Church of Crystal River. Performances Dec. 1, 2, 5 and 7 to 9. Chuck Cooley, 795- 3367. * Suncoast Harmony Chapter of Sweet Adelines, annual show, "Beyond the Music," 3 p.m. Sunday, Sept. 23, Citrus County Auditorium at the county fair- grounds on U.S. 41 south of Inverness. $5. No advance ticket sales. 726-8666. * Sugarmill Chorale, open to all Citrus County residents, will resume rehearsals Sept. 27 in Webster Hall at the First Presbyterian Church in Crystal River. 697-2309 or e-mail sug- armillchoraledirector@yahoo.com. * Patchwork in concert Friday, Oct. 5, at Woodview Coffee House. 726-9814 or. * Suwanee Valley Bluegrass Pickin', 7 p.m. the first Saturday monthly at Otter Springs RV Resort Lodge, 6470 S..W 80th Ave., Trenton. Free. (800) 990- 5410, (386) 935-3337 or the They cai / W 7 o They call Ut a Woody Special to the Chronic Look for vintage vehicles and great entertainment during th fourth annual Hot Summer Nights Antique and Classic Car Sho from 5 to 9 p.m. Saturday along West Pennsylvania Avenue an Cedar Street in Dunnellon. Car show entry fee is $10 for all make and models from 1901 to 2006. There will be hula-hoop and twist contests at 7 p.m., along with live music, food and specialty vei dors. For car show information, call Ernie Lewis at (352) 62, 2986. For festival information, call Tara at (352) 465-5444. Th Historic District Shops of Dunnellon will host the event. Pull out the poodle skirt and guys slick back that hair. Inverness Sertoma is hosting Let's Go to the Hop," a fundraising dance from 7 to 11 p.m. today at Citrus County Auditorium in Inverness. Tickets are $10 per person. Beer, soft drinks and food will be for sale. For more informa tion, call 302-1536. On sale 10 a.m. today: "The Wedding Singer," 8 p.m. Tuesday, Oct. 23, Bob Carr Performing Arts Centre, Orlando. $35 to $61. Bob Weir & Ratdog, 7:30 p.m. Tuesday, Nov. 13, The Mahaffey Theater at the Progress Energy Center, St. Petersburg. $39. Hanson, 6:30 p.m. Sunday, Oct. 21, House of Blues Orlando. $30. On sale 10 a.m. Saturday: Brooks & Dunn and Alan Jackson, 7:30 p.m. Saturday, Oct. 20, Ford Amphitheatre at the Florida State Fairgrounds, Tampa. $20 to $72. Underoath, 6 p.m. Sunday, Nov. 4, Jannus Landing, St. Petersburg. $18 to $21. On sale 10 a.m. Monday: Anne Murray, 7:30 p.m. Monday, March 3, Lakeland Center Youkey Theatre, Lakeland. $37 to $62. Ticketmaster For tickets and more information, call Ticketmaster at (407) 839-3900 (Orlando), (727) 898-2100 (St. Petersburg) or (813) 287-8844 (Tampa) c online at. The Ticketmaster outlet in Citrus Count is at FYE in the Crystal River Mall. resort at (352) 463-0800. * Central Florida Community College Foundation announces its 2007-08 Performing Arts Series for Curtis Peterson Auditorium in - Lecanto: * 3 p.m. Sunday, Oct. 14, "Ethel Merman's Broadway" starring Rita McKenzie. * 3 p.m. Sunday, Nov. 18, "Beehive: The 1960s Musical." 0 3 p.m. Sunday, Jan. 13, 2008, "Franc D'Ambrosio's Broadway." * 3 p.m. Sunday, Feb. 10, 2008, Solid Brass. * 3 p.m. Sunday, March 9, 2008, Hector Olivera. Season tickets for all five per- formances, $70, unreserved seats; $85, reserved seats. (352) 746- 6721, ext. 1416. * Citrus County Historical cle Society's Jazz at the Museum ie series, with performances in the w 1912 Historic Courthouse in down- s town Inverness. $20 per concert. st 341-6427. n- Selected dates: 5- * 7 p.m. Oct. 18 - "That Old le Black Magic" featuring Barry Titone on clarinet and tenor saxo- phone. A tribute to New Orleans P Jazz. 0 Dec. 6 - * Taste of Jazz starts at 10 a.m. Nov. 3 and 4. Weeki Wachee Springs. 754-4788. * River. $45 to $60. 527-8228. * Royal Philharmonic Orchestra, London, 8 p.m. or Saturday, Jan. 5, 2008, Bob Carr y Performing Arts Center in Orlando. Program includes music by THE SCENE 9oil Seagrass Pub& Grill Beautiful views of the Homosassa River, and a unique dining experience await you at the Seagrass Pub & Grill. Enjoy either a sun- .P drenched lunch on the patio and deck areas, or - an intimate dinner at sunset with cocktails or a .m selection from our wine list. g The lunch menu features hand mad Black Angus beef burgers, or the signature grouper sandwich, along with a variety of other taste 3c tempting choices. The Seagrass' dinner menu offers a selection of hand prepared seafood entrees, as well as steaks and appetizers that can please even the most discerning gourmet. Compliment your dinner choice with desserts, a selection from the electric wine list, or a cocktail from the fully stocked pub bar.In addition to the regular menu the Seagrass also offers nightly specials, Monday night features all you can eat Grouper. For an exceptional service, you can enjoy a scenic lunch or dinner cruise on Homosassa River, and return to the restaurant for your choice of entrees. Whether cruising on the river, or diving around town, stop in, park your car, or dock your boat, then enjoy the view of the river from our over water docks, sand beach, or outdoor Tiki bar. Weekends at the Tiki bar features local musical talent to pass the hours, and the inside restaurant features music on Thursday through Saturday nights. The Seagrass Pub & Grill located at river marker #7, and at 10386 W. Halls River Road. The restaurant and pub are open daily from 11:00 am and serves lunch until 5:00. Dinner is served from 5:00pm to 9:00 pm Sunday through Thursday. Late dining is offered until 10:00pm on Friday and Saturday nights. After dinner, relax in the pub and enjoy the company or the music until the late night. For dinner or cruise reservations please call 628-2551. Dan's Seagrass Grill 5 Clam Stand & Pub .12 C C Yul HOMOSASSA Patrick's Stu Join us at... Stumpknockers HOUSE SPECIALTIES FLORIDA GATOR FROG LEGS SHRIMP * OYSTERS ,-S PIU s All You Can Eat CATFISH New Summer Hours: Closed Monday & Tuesday S726-2212 Also Thick Juicy Steaks Pork Chops & Tender Chicken Breasts... All Grilled On An Open Flame. a Plus Much More. F_ Large Portions At A Reasonable Price. Come & Enjoy An Authentic Fr Florida Restaurant Historic Downtown Inverness Camp Ar kk L&A xi Turn Fish Floe j5Stro CITY DINNER ENTREE 'BUY 1 GET 1 FREE!* Sunday thru Thursday 4-8pm only. *Equal or lesser value. Must present coupon before ordering I rom Bogo Menu. Not valid w/any other specials. Must purchase 2 beverages. 1 coupon per couple. Exp. 9/14/07. CRYSTAL RIVER MALL * 563-5666 i .i ' !PmW1.0 * !i . .iir1= OF A I CITRus COUNTY (FL) CHRONICLE Beethovan and Brahms with con- ductor Pinchas Zukerman. (407) 539-0245.- tras.org. * State Symphony of Mexico, 7 p.m. Sunday, Jan. 20, 2008, Bob Carr Performing Arts Center in Orlando. Program includes music by Bernstein and Rodrigo and Buxtehude-Chavez with featured guitar soloist Alfonso Moreno and director Enrique Batiz. (407) 539- 04245.. * Ocala Civic Theatre. "On Golden Pond" auditions, Sept. 17 & 18, 7 p.m. at 4337 E. Silver Springs Boulevard in the Appleton Cultural Center. 236-2274. Theater * . * .- atre.org. * . Season tickets, $70. 563-1333. house19.org. * The Art Center Theatre pres- ents "Mousetrap," Sept. 21 to Oct. 7, 2644 N. Annapolis Ave., Hernando. $18. 746-7606.. * Bay Street Players 2007- 2008 season roster is: "I Do! I Do!", Sept. 28 to Oct. 21; "Everybody Please see THE j. /Page 3C E--J jol 12- Crrnus COUNTY (FL) CHRONICLE 'Invasion' of the better body-snatcher If you're looking for a fright - "My husband is not my husband," from without the terror - this chilling one of her patients. remake of the '50s clas- Carol recognizes others sic "Invasion of the Body (including her ex-husband) Snatchers" should be right share the same flat, emotion- up your alley "The less affect Before long, this Invasion" is a perfectly sus- outlandish infirmity penseful sci-fi thriller that becomes an epidemic, won't keep you up at night. snatching the populace's The story begins with a . i (even the government's) sen- space shuttle explosion, timents and personalities. resulting in strange, spore- The entire world is seized by coated debris raining from an inexorable life form above. Soon after, the gov- Heather Foster whose sole purpose is to sur- ernment declares that a CREW vive. deadly flu outbreak will REVIEW Slowly but surely, the para- sweep the nation. site makes hosts of humans Throughout these proceedings a psy- in their sleep. In this horrifying turn of chiatrist, Carol Bennell (Nicole events, only a few can resist the micro- Kidman), hears the strange assertion, scopic invasion. Carol manages to endure on the primal instinct to protect her son, Oliver (Jackson Bond), and together, they must defend their humanity. Utilizing sporadic flashbacks, the sto- rytelling is fast-paced and intriguing. The director/writers were clever to gen- erate huge suspense from situations, rather than relying on the recognized "shocker" revelation. Like a- classic thriller, "The Invasion" capitalized on the element of surprise, making for a "fun-scary" movie-going experience. An interesting development for me was how daunting prosthetics (exclud- ing the gooey transformational state) weren'tused to startle viewers; instead, normal actors made unnatural facial expressions to do the job. It sure did work! It might sound silly, but seeing a straight-faced census inspector sudden- ly bare his teeth at Nicole Kidman made me jump out of my seat! The unsettling oddness of the alien-infected humans effectively played off the audi- ence's adrenaline. As profane as it sounds, I think the contemporary "invaders" outdid the original "body snatchers" on the creepy factor Another plus was Nicole Kidman's strong performance. At first, the interac- tion between Kidman's character and her son seemed a tad artificial, but as the state of affairs deteriorated, their bond became increasingly realistic. It became easy to sympathize with the mother/son duo - even if their roles echoed Tom Cruise and Dakota Fanning's partner- ship in "War of the Worlds." All in all, "The Invasion" is worth a visit to the theater I appreciated the suspense without the horror, which made it a pleasurable movie to watch, B-. Heather Foster is a junior at Vanguard High School in Ocala. SHARE YOUR THOUGHTS * Follow the instructions on today's Opinion page to send a letter to the editor. * Letters must be no longer than 350 words, and writers will be limited to three letters per month. THE BUZZ Continued from Page 2C.. * "A New Sunrise," presented by Stagecrafters Theatre Club, Oct. 12 to 14, at Southern Woods. County Club. $22. 382-1200. * "Let It Be Art! Harold Clurman's Life of Passion," feat. Ronald Rand. Central Florida Community College, Sept. 24 at 7:30 p.m. in the Fine Arts Auditorium. Admission $5. 3001 S.W. College Road. 873-5810. Festivals * Fifth annual Sunset Festival, 4 to 9 p.m. Saturday, Sept. 22, Fort Island Gulf Beach Park, by Parrot Heads of Citrus. First-come, first-served spaces for vendors, $25, 795-9090 or keylime@tam- pabay.rr.com. citrus.org. * Sixth Annual Marion County Springs Festival, 10 a.m. to 4 p.m. Saturday, Sept. 22, Rainbow Springs State Park, 19158 S.W. 81st Place Road, Dunnellon. $1. (352) 465-8555. springsfest.org. * Leesburg Masonic Lodge Art and Craft Festival, 10 a.m. to 5 p.m. Saturday, Sept. 29, 10 a.m. to 4 p.m. Sunday, Sept. 30, State Road 44/Main Street and Richey Road, Leesburg. Free. (352) 344- 0657. *. * 55th Annual Florida Folk Festival, Nov. 9 to 11 (originally scheduled for May 25 to 27) Stephen Foster Folk Culture Center State Park, White Springs. (877) 635-3655. floridastateparks.org. * 26th Annual Downtown Festival & Art Show, Nov. 10 and 11, Gainesville. (352) 334-5064.. * 22nd annual Hoggetowne Medieval Faire, Jan. 26 and 27 and Feb. 1 through 3, 2008, at the Alachua County Fairgrounds. Artisans' applications must be post- marked no later than Nov. 19. (352) 393-8536. gvlculturalaffairs.org. Special Interest * Caribbean Festival at Silver Springs, Saturday and Sunday, includes live entertainment, danc- ing, Caribbean-style concessions. Music starts at 11 a.m. during the festival. Scheduled entertainment: * Ritmo Latino, Sept. 8. * Caribbean Breeze, Sept. 9. Festival included in park admis- sion, $33.99, adults; $30.99, sen- iors 55 or older; $24.99, children 3 to 10. 5656 E. Silver Springs Blvd., Silver Springs. (352) 236-2121,.. * The Florida Stamp Dealers Association and The General Francis Marion Stamp Club's annual Stamp Show, 10 a.m. to 5 p.m., Saturday, and 10 a.m. to 3 p.m. Sunday, Ramada Inn, 3810 N.W. Bonnie Heath Blvd. (1-75 and U.S. 27). (727) 848-7697.. * "Thomas and Friends on the Big Screen," 10 a.m. Saturday, Citrus Park Stadium 20, 7999 Citrus Park Town Center Mall, Tampa. $7. Children younger than 2 admitted free.. Please see ', -. ' ' /Page 4C Saturday, September 8, 9 am - 1 pm Everything Is FREE FREE Huge Inflatables to Play On FREE Pony Rides FREE Concession Stand with ... Popcorn, Cotton Candy, Snow Cones 'REE Face Painting, Crafts, and Games FREE Picture Taken In A HUGE Chair FREE Hot Dogs, Chips & Drinks FREE Back Packs Filled with Stuff for the First 200 Kids Everyone Is Welcome Everything is FREE Lighthouse Baptist Church Located on the Corner of Citrus Springs Blvd & W.G. Martinelli 974 W. G. Martinelli Blvd, Citrus Springs, FL 34434 For Information Call: (352) 489-7515 725536 '--- ----- - .. _ . . . Special to the Chronicle Belkis Ramirez takes the viewer into the romantic fantasy world of the familiar coffee drinking ritual. This piece and the work of some other by Spanish-speaking artists will be featured in "A New Cornucopia," an exhibition Sept. 14 to Nov. 9 at the Florida Craftsmen Gallery in St. Petersburg. Gallery hours are 10 a.m. to 5:30 p.m., Monday through Saturday. The reception for the opening of this exhibition will be 6 to 9 p.m., Sept. 14. For information, call (727) 821-7391. All orders prepared fresh for you! Restaurant & Catering at Sweetwater Plaza JOIN US NOW For A Country Club Style Lunch Mon-Fri 11-2:30 Sunday 12-4 $12.95 Entree wl choice of Soup or Salad Complimentary Ice Cream * All orders available for takeout * Lunch on the go or dine in (Call lunch orders in ahead of time) Open for Lunch Mon-Fri 11-2:30pm Sun 12-4 Open for Dinner Mon-Fri 5pm-Closing Sat 4pm-Closing Closed Tuesday Evenings 7781 S. Suncoast Homosassa (352) 382-7000 fax (352) 382-5500 Check Website for 01 more details __^_^_J FIZIDAY, Si-vTi-,mm--jt 7, 2007 3C THE SCENE .' 4C FRIDAY, SEPTEiMBER 7, 2007 THE BUZZ Continued from Page 3C * Main Street Zephyrhills Inc.'s Music and Motorcycles, 4 to 9 p.m., Saturday, and Nov. 10, downtown Zephyrhills on Fifth Avenue. Registration, 4 to 5:30 p.m.; judging, 6 p.m. $10 entry fee. (813) 780-1414. zephyrhills.org. * A Hike in the Wekiva Floodplain from Florida Orienteering (FLO), Saturday. Five multi-level courses to walk, hike or run at the Rock Springs Run State Reserve located off SR 46 in East Lake County. Watch for signs directing to "0" event. Starting times are from 10 a.m. to 1 p.m. Car entrance fee 2fee $ 6 per map. (407) 672-7070 or visit. * The Independents' Film Festival Best of the Fest, 8 p.m. Sept. 14, Tampa Theatre. $8. * Antique Car Expo, 10 a.m. to 2 p.m. Saturday, Sept. 15, Homosassa Springs Wildlife State Park. $2. The expo will take place on the green adjacent to the Visitor Center parking area on U.S. Highway 19. Susan Strawbridge at 628-5343 or Emie Lauer at 382- 4724.. * "Remember That Night - Live at the Royal Albert Hall," - 85-minute theatrical version of live concert DVD with Pink Floyd alum David Gilmour, 3 p.m. Saturday, Sept. 15, Citrus Park Stadium 20, 7999 Citrus Park Town Center Mall, Tampa. $12.50. davidgilmour. com. S "Landscapes from the Age Impressionism," now through Sept. 16, at the Ringling Museum of Art, Sarasota. Adults, $15; Senior Citizens, $13; Children ages 6 to 17, $5; Children 5 and younger, free. Call (941) 358-3180.. * Friday Flicks, 7:15 p.m. third Friday monthly, Unitarian- Universalist Fellowship, Lecanto, 2149 Norvell Bryant Highway, County Road 486. Sept. 21, "Moonstruck." $3; snacks will be sold. 527-2215. * Junior League of Ocala's 12th annual Autumn Gift Market, Sept. 21 to 23, CFCC Gymnasium. $5 admission or $7 for three-day pass; $4 admission if purchased before Sept. 20.(352) 260-0801. * Junior League of Ocala's Harvest Gala Masquerade Ball, Sept. 24, Golden Ocala. $75. (352) 620-0801. * The Ocala Orchid Society's annual Orchid Show, Oct. 6 and 7, Southeastern Livestock Pavilion, 2232 N.E. Jacksonville Road, Ocala.$2. (352) 401-5330. * AKC-Sanctioned B-OB Match and Doggy Halloween costume contest, Sunday, Oct. 28, Florida Classic Park, 5360 Lockhart Road, Brooksville. Registration starts at 8 a.m. (352) 344-0071. * Plant City Pig Jam, 10 a.m. to 5 p.m., Nov. 17, Randy Larson Four-Plex, 1900 S. Park Road and 1401 Albertsons Drive, Plant City. Barbecue competition categories for professionals, amateurs and children. (813) 754-3707 or (800) 760-2315.. * Ocala/Marion County Christmas Parade will be at 5:30 p.m. Saturday, Dec. 1, and appli- cations are available. Contact Phyllis Hamm, executive director at (352) 595-2446 or e-mail to hammcubs@aol.com. Please see THE BUZZ/Page 5C 'Kiss Me Deadly': Say hi to the bad guy n 1955, the Kefauver Commission of the U.S. Senate singled out the movie, "Kiss Me Deadly" for special condem- nation for its allegedly corrupting influ- ence on America's youth. That might get a chuckle out of contem- porary viewers who see it as a bit of 1950s "duck-and-cover" hyperbole, but the com- mission might have been onto something. Though this film adaptation of Mickey Spillane's noir classic is better known for introducing the "mysterious briefcase" MacGuffin to the vocabulary of cinema, Ralph Meeker's snarling, fiber-macho portrayal of Detective Mike Hammer casts a very long shadow - even Wes I modern forms of entertainment such as the "Grand Theft Auto" - - video game series are indebted REV to the film's hard-boiled swag- ger. Meeker's Hammer wasn't the first cine- matic hero with a nasty streak, but he was probably the first to dispense with any real redeeming qualities that might allow the audience to overlook his rough edges. He is who he is, and you either accept him or you don't. The film opens with Hammer nearly running over a young woman late at night on a deserted back road. The woman, who is clad only in a trench coat, is obviously in a great deal of trouble, but Hammer, true to form, seems more worried about dam- age to his shiny new Jaguar. He agrees to give the woman a lift to the next bus stop, but before they can make it, they are run off the road by a mysterious black limousine. Hammer is knocked unconscious, and when he comes to in the hospital, he learns that the woman has been tortured and killed. Then the police show up and start asking extremely nosy questions. It seems that some very power- ful people are interested in this girl and whatever secrets she took to her grave. That's all it takes to spark Hammer's inter- est, and he decides he'll look into it, too. But make no mistake: This isn't Sam Spade or Philip Marlowe, trying to uphold some code of honor among the mean streets a man must walk down, etc. Heck, no: Hammer just figures there's cash to be made. Hey, it costs money to tool around in a Jag! And check out Hammer's sharp tailored suits, or his swingin' high-tech bachelor . pad, complete with a bar and a wall-mounted telephone answering machine -- in 1955! Mike Hammer clearly isn't big on taking on charity cases. 'ulton Filmed with the crisp, unfor- giving hard edges of a police FRI, ' mug shot, "Kiss Me Deadly" is Cr- :.V about as unapologetically sleazy as a mainstream Hollywood production could be in 1955. As for "detective work," you can forget about Sherlock Holmes or "CSI"-style technogimmicks: Hammer's investigative technique consists primarily of roughing up henchmen and terrorizing reluctant informants. The film anticipates modern action movies in that it doesn't bother to give Hammer a real excuse for all this thug- gery; we're given to understand that he's the hero primarily because he's a right- eously bad dude, while the villains are a bunch of saps; his all-around coolness automatically gives him a pass from nor- mal social constraints. For better or worse, this is an idea that would come to domi- nate the skewed moral code of Hollywood cinema. Certain aspects of the film are remark- able for the time: Notice Hammer's rela- tionship with his secretary, Velda - though there are some throwaway lines of dialogue describing her as Mike's "girl- friend," it must have been obvious even in 1955 that they were little more than occa- sional casual sex partners. The screenplay sports plenty of raunchy double enten- dres, and those familiar with 1950s culture will probably note the significance of all the "physical fitness" magazines lying around Hammer's apartment. As with a lot of great film noir classics, it's not a good idea to get too caught up in the plot, which tends to fall apart under scrutiny Film noir is all about style and attitude. "Kiss Me Deadly" takes the ele- ments of noir and boils them down to their essence, stirs in a double shot of postwar cynicism, and spikes it with a squirt of garish comic-book horror. The result is a white-hot zombie cocktail that burns off the sugary-sweet coating of 1950s America, giving a brief taste of the bitter, frazzled paranoia that would leave the nation nauseous and dizzy by the end of the '60s. You know the taste - you get the "new, improved" version every time you watch an action movie or flip on professional wrestling. Let Detective Mike Hammer slip you a taste of the original recipe. Three and a half stars out of four Wes Fulton, a Chronicle copy editor, has a master's degree in cinema from the University of Southern California. He can be reached at wfulton@ chlironicleonline.corn. GOT A NEWS TIP? * The Chronicle welcomes tips frornr reader1'-; ab,:out br ea irng new v . Call Ihie rinew.:,:.,,m at 563-5660, and be pi epared to give your name, phone number, and the address of the news event. * To uIbrmit story ideas for feature sections, call 563 5660 and ask for Cienr Harmri.. Again, be prepared to leave a detailed nies-.age DAILY FRESH SEAFOOD Cooked to Order! Open 7 days S 11 am -10.pm GoldenFried Shrimp 8.93 F is h ............ . .. ............. .............. . . . .. 7 .9 3 SClam Strips 7.93 Clam Fettucini (topped wbutter & parsley) - 8.93 Scallops . 9.93 Oysters 9.93 1/2;lb. Shrimp(Gadicohol& spicy upeelum) 9.93 Prime Rib (Steak fries, soup o salad) - .10.93 Mate's Platter (Fish, oysters, dams, scallops, shrimp, fies, hush puppies) 11.93 y Peck's Platter Pick 3-Fish, shrimp, clam sinps, oysters, sllops, cas or sufed crabs, ries, slaw & hush puppies 11.93 Steamed Blue Crabs . ..... .......... 11.93 Golden Fried Chicken .. .. 7.93 Owner. Capt Tommy Williams ON THE WATER IN OZELLO Credit (9 Mi. W of US 19 on CR 494) Accepted 795-2806 i 11 AM - 4 PM MONDAY-SUNDAY I Start at JV ( Bring In Coupon For ' FREE Basket of Timn's Fishnet Onions \ Witi Meal . Limit One Coupon Per Check Per Visit 725075 The Plantation inn - V2- & GOLF RESORT - 9301 Fort Island Trail, Crystal River A 795-4211 On Hwy. 491 in the Beverly Hills Plaza 11 . SUN. 12 NOON. - 9 P.M. AL * I aid.tl MON. - THURS. 11 A.M.- 9 P.M. ESTA N FRI. & SAT 11 A.M. TO 10P.M. DINE IN QNLY! 746-1770 SFuuL ItAH SERVICE ISA MQNAY Shrimp Parmlgiano with side of pasta plus dinner salad & bread TUESDAY Grilled chickenn Marinaira served over pasta. All-You-oan Eat Spaghetti w/ fresh garden salad & bread. WEDNESDAY Large: Cheese Pizza Large Antipasito Ht Wrice Rlls ISenes 34) THBRSUI, Baked Lasagna Parmiglana fresh garden salad & brea 10 oz. Prime Rib, BaKed Potato Salad & Bread Lg. Cheese Piz7a. LUrge Antipdst. Hot garic rolls (serves 3-4) Turf & Surf-Rib Ege Steak lbster Tail or Steak & Shrimp ..... .... ..... Ib crab legs $11.95 or 2 bs cra b or Twin Lobstcr Tails All served w'oaked potato. salad & bread CA tfis h ..... ..................................................... SATURDAY Chicken taclairc A er od pasa* - sh 5lten saa 8 brea Baked Stuffed Soic wvaked potato, salad & bread 10 7. Bib Ee Steak baked potato & bread .$10.95 Stuffed Shells or Manicotti soup or fresh garden salad . #2 $7.49 $9.95 Vell Parmigidna wr th side of pasta, choice of soup or fresh garden salad $7.49 $5.75 # - Cheese or MeAt Racioli $17.95 with meatball, choice of soup or fresh garden salad $7.49 $1.25 #4 Medium Cheese Pizza with 1 topping PLUS soup or fresh garden salad $10.49 ..$7.99 2 People $14.49 with 2 soups or 2 fresh ga-den salacs $11,95 #5 $17.95 Chicken Gutlet Parmigiand w$17.95 th side of pasta & veetab!e choice o salad S'O, $7.49 $1.25 ' $18.95 Uaked Ziti with Meatball $15.95 plus salad or soup wth choice 'cdress-gc $7.49 $15.95 h $22.95 Chickcn lA rdon o lcue whin side of oasts& v cchccce o' so, c' fresh garden salad or ..$9.95 Stuffed Flounder wifnes & vegs or side of pasta. Soup or fresh garden salad $7.49 d $10.95 Eggplant Parmigidan $9,49 wthsde ofpasta&� &egere cho ce c'sacorso $7.49 $11.95 All Early Bird Specials Include Soup or Salad, Bread, Coffee, Tea llveryday LUNCH SPECIALS $5.9 IN SLOTTOKENS FREE ______M___ UtW� u. (WHEN YOU PRiCAS SI)OO IN SlOTTOK(DS) FREE PARKING! OR A FREE $10.00 FREE FOOD AND TABLE MATCH PLAY! DRINKS WHILE *oupon Reqked GAMBUNG! Limitone (1) couponpercustomer per cruise Casino reserves the right to cancel, change, or revise tis or any promotion at any time without notice. Snack Coanter Specials oIq Lounge During Games Only! / No Take Outs at these prices I , Special on our Famous Hot Wings only 500� each ' ,"$;0O Hot Dogs * Plus Other Weekly Speciali Watch all your favorite " Bar Specials NFL games every week In Lounge During Games Only! * 51.00 Drafts S5$10.00 Bucket of Domestic Longnecks * Other Liquor Specials Weekly Located In 71Gf-t Hy ANATEE 71Gl-- w Cyta LANES 7715 Gulf-to-Lake Hwy. Crystal River � 795-4546 NUWDDLE HOUSE - Super Specials! - Country Fried Steak Dinner Monday-Friday, 2pm-10pm only!........$5.99 Buy 1 Waffle Get I Free ..........$2.69 1208 NE 5th Street, Hwy 44 321 S. US Hwy 41 Crystal River Inverness 564-0900 637-4255 A0 4 THE SCENE Crimis CouNj-y (FL) CHRONICLE F l CITRUS CouNTY (FL) CiRONCIa. THE BUZZ Continued from Page 4C Arts & Crafts * FRIDAY, SEPTyEMBEiR 7, 2007 5C by instructor. * Manatee Haven Decorative Artists, a chapter of the National Society of Decorative Painters, meet second Saturday monthly, 8089 W. Pine Bluff St., Crystal River. Saturday project, Betty Caithness pattern on an 8-inch clay pot, a two-month project. 563- 6349, (352) 861-8567. * The Beverly Hills Art Group's weekly painting classes meet 9:30 a.m. to 12:30 p.m. every Thursday at the Community Building on Civic Circle. 746-5731. * Bob Ross Oil Painting workshops, 10 a.m. to 2 p.m., Sept. 11, 15 and 20, Building L2, Room 103, Central Florida Community College, 3800 S. Lecanto Highway, Lecanto. $50 per session, includes all materials. 249-1210. CFCCtraining.com. * Intermediateladvanced watercolor classes, 2 to 4 p.m. Thursday, Sept. 13, First Presbyterian Church of Inverness, 206 Washington Ave., Inverness. $60 for six-week class. 441-3822. * Florida artist Jack Thursby demonstrates acrylics at 1 p.m. Thursday, Sept. 13, at the Art Center Theatre, corner of North Annapolis Avenue, Citrus Hills, Hernando. $3 for nonmembers. Art Center meeting at 12:30 p.m.. 527-6524. * Barbara Kerr, Inverness watercolor teacher, will begin teaching Intermediate/Advanced watercolor from 2 to 4 p.m. for six weeks starting Thursday, First Presbyterian Church of Inverness, 206 Washington Ave., Inverness. Price is $60. Call 341-3822. * September 2007 Spotlight Artist, stained glass artist Martha Swift, at the Gallery Under the Oaks, 207 Cholokka Blvd. in downtown Micanopy. Hours are 11 a.m. to 5 p.m., Wednesday through Sunday. (352) 466-9229.. * 12th annual Christmas in September, arts and crafts show fundraiser by The Pilot Club of Crystal River, 9 a.m. to 4 p.m. Saturday, Sept. 22, Florida National Guard Armory, 8551 W. Venable Street, Crystal River. Interested exhibitors contact B.J. Lesbirel, 795-5223, daytime, or 795-3616, evenings. * The GFWCIFFWC Woman's Club of Inverness annual Artisan's Boutique, Oct. 19 to 21, Inverness Woman's Club, 1715 Forest Drive, Inverness. Call 344- 9493. * Arts and Crafts Festival, 9 a.m. to 3 p.m. Saturday, Oct. 20, Crystal River Woman's Clubhouse, 320 Citrus Ave., Crystal River. Outside spaces available, $25. Mary Lou Rothenbohl at 795-1728. * Arts de Fall, arts and crafts show hosted by Women's Ministries at Hernando Church of the Nazarent, 9 a.m. to 3 p.m. Saturday, Oct. 20. For artist appli- cations, call 726-6144. * . * October Arts & Crafts Show, 9 a.m. to 2:30 p.m. Oct. 27, Elks Lodge in Homosassa. Tables avail- able, $20. Linda, 382-5780; Loretta, 382-2364; Kathy, 382-4748. * Beverly Hills Lions Foundation's 10th annual Craft Fair, 9 a.m. to 3 p.m., Saturday, Nov. 3, 72 Civic Circle. Fee $20 per table, per space. 527-1943 or 527-0962. * Brentwood Homeowners' annual Craft and Yard Sale, Nov. 3, in the Brentwood community by the community pool. 249-7239 or 249-1085. Please see ' t.L BU2Z/Page 6B . Suggestd Win Piinu inner Thursday, Sept. 13" eLimited Seating for , e o$3 p9p. Tues.-F. Early Bird Special $,95 3-5pm Buv One Get One Half Off p$ p wlad . Catering * Private Parties OPEN Gift Cards Available Tues. - Sat., 3-9pm 564-2030 773 Hwy 44, Crystal River * American Town Center 11 Hap Hou Mo-r 4m6 $. 00. WellDrnk Come Visit the Tienda Las Loma SV = : 1 :4 4 .1 A 'COME TRY SOME OF OUR FRESH ; BAKED BREAD & PASTRIES 7 Fresh Sandwiches Made To Order! We Have Domestic & Imported Beer & Tobacco --- S *Phone Card & Envios De Dinero A Centro & Sur America TIENDA LAS LOMAS 1111 INVERNESS BLVD. 724 US 41 SOUTH, INVERN LATIN AMERICAN MARKET INVERNESS FL 34452 3-0R and CONVENIENCE STORE Hours: M-S 8:30am-9:00pm (352) 637-03 WINGS * 1/2 LB. BURGERS * DARTS * BILLIARDS ARE YOU READY FOR FOOTBALL? Saturday College Game Day! Sunday Watch NFL Ticket All 14 Games! $110 Hot Dogs * $100 Drafts l Serving Full Menu on Saturday & Sunday 4 Big TV Screens * 12 TVs PARTY YouR TAIL OFF! All U Can Eat Fish & Chips $7.95 ,. Steak 1� Night $10.95 All U Can Eat Blue Crabs $19.95 BREAKFAST NOW BEING SERVED Sat. & Sun. 7:00-10:30AM [Lunch and Dinner Cruises I !Lunch - sl6.�' Dinner - s19." or s24." * | R,,rv..lior, Requird 5-.9pm All You Can Eat Fried Fish Scak N~ght" Ali Youa Can Ea.t Cra~zy Marl'F A--N,., Car. Eai c',c.. .1 F',id a, Boiled Seafood Pialaitr Sr ac . c ' c3a.. TE Bona.e Shrinmp Fo, 2 NOW IN PUB- WI-FI HOT SPOT (WIRELESS INTERNET) Outdoor Tiki Bar and Patio Dining Live Music 10386 W. Halls River Road Thurs.- Sat. Pub:628-3595 Cruises:628-2551 .... ..- ,... Open 7 Days for Lunch & Dinner *" 1* ." L'-e1." r . SunThur11am -9pmFri&S8t 11am -10pm 7 Chaei0 ot f eAty Doinn E ,t1,0 Bar open tl t ram 724822 Taste the difference, more than Just fried and "Grilled" food Capitol in progress LEWIS EMORY WALKER/Image courtesy National Archives This 1863 photo, "Capitol Building Progress," is part of a collection of 86 photographs coming Thursday to the Webber Center Gallery in Ocala as part of a traveling exhi- bition, "The Way We Worked: Photographs from the National Archives." The photos document the history of work in America, including work clothing, locales, condi- tions and conflicts. Serving a good selection of: * Seafood * Prime Rib * Steak * Chicken * Ribs & Schnitzel Serving a Full Menu - All Dinners Include Salad, Homemade Soup, Potato, Bread and Butter. [� You 're Invited To Try Us! "A.J& . Tr.. "F M . l , '.I - A I Fri & Sal 3PM-9: PM Cocktails Available Sunday 11 AM-7 PM Closed Monday & Tuesday US. Hwy.41S. (Florida Ave.S.) * Floral City (352) 344-4443 Sunday Texas Holdem 7p.m. Monday FREE Pool Tournament, [NFL Monday Night Football - FREE PIZZ Fridy &Satrda Dane te igh Aaywt D C li t0~ Daily HAPPY HOUR 11a.m. till 8:00p.m. 2-4-1 Wells & Drafts W . .., Stop by and try one of our new delicious menu items. Executive Chef Dave i1 .. invites you to come in and enjoy the new Candler H': . menu, featuring favorites such as fresh cut steaks and cowboy pork chops. Whether you're in for breakfast, lunch, or dinner, you are sure to be impressed with gorgeous views of the greens and the delicious menu offerings. Don't forget to leave room for dessert... Chef Dave's specialty gourmet cupcakes and delectable creme brulee. N Candler Hitlls (352) 861-9720 Ret ..r - 8139 SW 90th Terrace Road * Ocala, FL 34481 84 | ; , Open to the public serving Mon-Sat 8 am until 8 pm and Sun 8 am until 5 pm. THE SCENE 6C FRIDAY, SE'PTEMIER 7, 2007 THE BUZZ Continued from Page 5C Museums * "Cuba Avant-Garde: Contemporary Cuban Art from the Farber Collection," through Sunday, University of Florida's Ham Museum of Art, S.W. 34th St. and Hull Road, Gainesville. Free. (352) 392-9826.. * A pair of photography exhibitions will open this month at Ham Museum of Art in Gainesville: * "Highlights from the Photography Collection," featuring 38 photos by 26 photographers including Richard Misrach, Robert Adams and Sol Lewitt, Tuesday to Feb. 4. * "The Appleton Museum of Art: Twenty Years of Collecting," through Sept. 16, The Appleton Museum of Art, 4333 E. Silver Springs Blvd., Ocala. $6, adults; $4, seniors; $3, children 10 to 17. (352) 291-4455, ext. 1835.. THI-E SCENE * The Orange County Regional History Center announces 2007-08 season of lim- ited-run exhibitions. * Florida Citrus Labels: Crate Appeal, from the Dr. P. Phillips Citrus Collection. * The Art of the Stamp, previ- ously on view at the Smithsonian's National Postal Museum, will be open through Nov. 18. * Orlando Remembered, open- ing Sept. 27. 65 E. Central Blvd., Orlando. 10 a.m. to 5 p.m. Monday through Saturday; from noon to 5 p.m. Sunday. $7; student valid student ID and sen and older) $6.50; children through 12, $3.50. (407) * Paleo-artist Charle Knight exhibit, through i Florida Museum of Natu Southwest 34th Street a Road, University of Flor Cultural Plaza, Gainesv 846-2000. flmnh.ufl.edu/ upcoming.htm. Please see DAVE SIC ABOVE: Mack the Knife parades in front of the working-class residents in his neighborhood who show their disdain and fear o ster in Playhouse 19's production of "Three Penny Opera." . Angelo Cutillo playing Bob, Tom Venable, playing Ma Sutphen as Jake sing for the bride and groom on their wedding day. WORTH Continued from Page 1C squadron of beggars. Four in the cast and crew car- pool together from the Stage West theatre in Spring Hill to be in the show. "I have a wonderful, coopera- tive cast," Augustine said. "They've all helped each other and supported one another. As usual, we've had a lot of fun." "Three Penny" cast members, in order of appearance, are: street singer, Hugh Phillips; Jonathan J.Peachum, Michael Shier Sr.; Mrs. Peachum, Shirley Button; beggars, Nancy Deutsch, Mimi Davis, Chris Shier, Julian Barry, Jaclyn- Marie Shier and Brittany Shier; Filch, Mickey Shier; Matt, Tom Venable; Mack the Knife, Jim Farley; Polly Peachum, Stacey Gillis/Kristen Guenther; Jake, Jim Sutphen; Bob, Angelo Cutillo; the Reverend Kimball, Jan Hunter; Tiger Brown, Hugh Phillips; Jenny, Patty Villegas; Betty, Donna Mister; Molly, Monica Tichauer; Coaxer, Sandy Hynes; Smith, Gary Ammerman; Constable, Jan Hunt; and Lucy Brown, Lisa Emerson. "Three Penny" crew includes: director Jeri Augustine; musical director and piano accompaniment Jacki Doxey; keyboard, Carol Ballard; stage manager Lynne Mansfield; assistant stage man- ager Donna Mister; and properties, Iris I design and construe Vicari, Bill Ro Weingarten Augustine; set pail Rose, Bill Rose ai Mister; lighting d light board, Bret Mar Jim Davis; backst, Cindy Camp and Ca costumes, Jan Ashy cast; playbill and pos Jim Davis; public Ashworth. Show times are Thursday, 8 p.m. F Saturday and 2 p.m. Playhouse 19, 865 N Blvd., Crystal River. ets are $18 and stude: For more information 1333. ts with iors (60 n 3 836-8500. 9. LAURA Continued from Page 1C s R. make screeching cat noises mid-fall, instead of singing actual songs, ral History, or Sondheim's "Sweeney mand Hull Todd," where most of the songs nida are just plain creepy and do i11e w very little to carry the e. (352) show.While the songs are amaz- /exhibits/ ing and definitely set the movie in motion, "High School Musical 2" is also held together /Page 10C by a cast of well-developed characters and a moral mes- sage carried over from the pre- vious "High School Musical," which can readily be applied to everyone at almost every stage in life: Accept and love our dif- ferences and everything will be OK Another important theme in the movie is that everyone deserves a second chance to do better, and Disney certainly did that with "HSM2." The movies feature a cast of lovable, down-to-earth charac- ters, including basketball star and heartthrob Troy Bolton (Zac Efron), shy-but-cute math geek Gabriella Montez (Vanessa Ann Hudgens), drama queen Sharpay Evans (Ashley Tisedale), doting brother and drama king Ryan Evans (Lucas Grabeel), crazy-hair basketball wing man Chad Danforth (Corbin Bleu), organized super- girl Taylor McKessie (Monique Coleman) and a slew of other lovable real-life kids. GLERIChronicle The high school students in f the gang- the movie seem like real kids I itt and Jim knew when I was 16, and even like the adults I know and work with now. Troy has the com- producer plete heartthrob package - Rose; stage he's handsome, sensitive but action, Bob not at all a wimp; Gabriella is se, Doc cute, shy and kind of nerdy; and Jeri Sharpay is demanding, but has nting, Iris a soft spot; Taylor is smart, nd Donna organized and on top of every- esign and thing; and Ryan is easy-going, nsfield and but not spineless. And through age crew, working together, they all learn thy Camp; that their differences are what worth and make them strong. These les- ;ter design, sons can be applied to friend- icity, Jan ships and other relationships, to schoolwork and even carry 7:30 p.m. ridays and Sunday at . Suncoast Adult tick- nts are $12. n, call 563- CITRUS COUNTY (FL) CHRONICuL. weight in the corporate world, where they call it leveraging difference. The high-schoolers in the movie are modest (romantic leads Troy and Gabriela don't even kiss until then end of the movie, and when they do, there are literally fireworks) and happy, and not at all like the other adolescents gracing the silver screen on shows like "Dawson's Creek" or "The O.C." Honestly, my very own high school experiences were a lot more like those of Taylor McKessie than Joey Potter (of "Creek"), and I think that gives the HSM movies even more credibility. Even the clothing and costumes used in the movies seem more true-to-life than in other teen shows - Sharpay's ensembles are straight from Express, a mall store lots of teenage girls fre- quent, and other outfits can easily be put together with basic pieces from accessible retailers like Gap. The choreography in the movie is fun to watch and very athletic, and is a lot easier for parents to handle than the slick movies seen in Justin Timberlake's music videos. It seems as if some of the dance sequences didn't exactly trans- late as expected from the stu- dio to small screen, and Gabriella seems a little out of step in the opening number, "What Time is It," but even after looking up the dance steps from Disney.com and practicing in front of my bath- room's mirror, I found that I had no room to critisize anyone else. The dance-along version of "High School Musical 2" will air on the Disney Channel at 8 p.m. Saturday, and I can assure you, I will study it and attempt to improve my "High School Musical" groove, with hopes that someday my very own Troy Bolton will want to sing karaoke with a cute, shy and kind-of-nerdy copy desk editor. Laura Isaacs, Chronicle copy editor, can be reached at lisaacs@chronicleonline.com. FORMS AVAILABLE M The Chronicle has forms available for wedding and engage ment announcements, anniversaries, birth announcements and first birthdays. * Call Linda Johnson at 563-5660 for copies. loi I 81O Iaudyt e RockClusel cn4o PACKAGE INCLUDES: $3000 FREE PLAY Plus $5 Meal Voucher & Roundtrip Transportation YOU PAY 2$9500 Call Lamers Bus Lines For More Information 1.888.315.8687 ext.3 Monday-Friday, 9AM-5PM PICK-UP LOCATIONS & TIMES Service from Crystal River/Inverness Areas M ID S, UTH DA WINN DIXIE Crystal River Meadowcrest Blvd. and HWY. 44 MCDONALD'S Inverness Croft Rd. and HWY. 44 BURGER KING Inverness HWY. 41 and HWY. 44 8:00 A 8:0 A 9:0 A For group charter information, please call the Seminole 877.529.7653 jtl~zewoY COME OUT & PL If you or someone you know has a gambling problem, please call 1-888-ADM 1-4 at North Orient Rc 813 627.ROCK (7625) I SEMINOLEHARDROCK.C Hard Rock Hotel & Casino AY. Mia'diok MIT-IT. oad COM TAMPA ',:: 5e rquirea lto jo:n or Pl.er, Cljb in order to receive the free play Must have a valid picture I D an D- 18 or 5er to jo, Offr s for the Gaming Machine of your choice ONLY (not valid for Poker) (2007 Seminole Hard Rock Hotel & Casino All rights reserved. ,.1 _ __ IC" SEPTEMBER 7, 2007 www chiinlicleonline cornm News NOTES Advent Hope, Crystal River No evening service on Friday or vespers on Sabbath this week only. Saturday at 10:00 a.m. is the weekly Bible study for all ages. The study for adults is in the book of Romans. At 11:30 a.m. is the worship service. The speaker this week is Pastor Tracy Brown. After the service we will have our weekly fellow- ship meal. all are invited to stay. Wednesday, the vegetarian store is open from 10 a.m. to noon. The church is at 428 N.E. Third Ave., Crystal River. For more information, call 794-0071 or go to .com. Glad Tidings Church, Crystal River Sabbath school begins at 9:15 a.m. Saturday with song, then study at Glad Tidings Church. Divine hour follows at 11 a.m. Elder Shaffer will present the message., Homosassa "Never Alone" is the title of this week's sermon by Pastor Dale Wolfe at the 11 a.m. wor- ship hour. The 9:30 a.m. Sabbath school program is under the direction of Norma Brondyke. Discussion groups will study the life and the problems of David the Psalmist. You are invited to join us in worship and study and to join us in a fellowship dinner at the close of the 11 a.m. service. Classes are provided for the young people. The church is at 5863 Cardinal St., Homosassa. Seventh-day Adventist Church, Inverness "Forgiveness" is the theme of Jack Harrison's 11 a.m. mes- sage Saturday at Inverness Seventh-day Church. Sabbath school song service begins at 9:10 a.m. with June Pacitti as program superinten- dent. Adult Bible study continues with "David and Bathsheba: Adultery and Afterward," in the "For Better or for Worse," series on "Lessons from Old Testament Couples." A vegetarian buffet fol- lows the morning services. Vespers with Gerald Barker begin at 7:15 p.m. and the Health Food Store opens after sundown. "Spanish Is Fun" meets at 6 p.m. Tuesday in the fellowship hall. Wednesday, the Health Food Store is open and the Com- munity Services Thrift Shop is open from 9 a.m. to noon. After the 6 p.m. prayer meeting, health food is available again. The church is in Eden Gardens, 4.5 miles east of Inverness off of State Road 44. Visit. Call 726-9311. PET SPOTLIGHT []* The Chronicle invites readers to submit pho- tos of their pets for the daily Pet Spotlight fea-. 0 Send photos and infor- mation to Pet Spotlight, c/o Citrus County Chronicle, 1624 N. Meadowcrest Blvd., Crystal River, FL 34429. FHL gathers books for sale Special to the Chronicle The Friends of the Homosassa Library are gearing up for their annual book sale at the Homosassa Arts, Crafts and Seafood Festival on Nov. 10 and 11. Friends president Adelaide Keller recently announced that she will spear- head this year's effort as chairwoman of the sale. Friends board members and other volunteers are now beginning to collect, sort and price book donations in preparation for the annual sale. Both hard and soft-cover book dona- tions are welcome but please, no maga- zines. Also, the Friends will not accept Readers Digest Condensed Books, edu- cational textbooks, book sets or ency- HOW TO DONATE TO BOOK SALE * Leave books at current Homosassa Library in old Homosassa. * Call 382-1918, 613-6008 or 382-4881 for drop-off or pick up. Items desired are: hard and soft-cover books - fiction, nonfiction, chil- dren's books, and books about cooking, crafts, hobbies and gardening, as well as CDs, videotapes and DVDs. clopedias again this year; past experi- ence has shown there is no market for these types of books. Keller also noted the Friends are not accepting records such as LP albums but will accept CDs, videotapes and DVDs. Books in good condition are needed Categories need- ed are fiction, nonfiction, children's books and books about cooking, crafts, hobbies and gardening. Books may be left at the current Homosassa Library in old Homosassa, or call any of the following numbers to arrange for drop-off or pickup: 382- 1918, 382-5216, 613-6008 or 382-4881. Keller requests that book donations be placed in plastic bags, if possible, so that the volunteers can more easily handle them. Keller said last year's book collection and sale was the most successful in the t5-year history of the Friends group, raising more than $8,500 for the new library Keller urges everyone to donate their books as soon as possible and not wait until the last minute. Book dona- tions will be accepted through Nov. 3. The FHL relies on public support, not only for book donations, but also at the November sale. Funds derived from the annual book sale are used to pur- chase all types of library materials for both the existing Homosassa Library and the new one, which is currently nearing completion and is expected to open in early November. Donation to Homosassa Elementary School . .. - - & *:-^ 14 Game Fish Club P.O. Box 469 Homosassa, FL 34487 DATE A q- 129. 2007 PAY TO THE +ona-SASA ElLE$,AKR OOX o0 ORDER OF f T L-u i J O i 1 ' - -_ _- - - . ... .. ... . MEMO - WALTER CARLSON/For the Chronicle Members of the Homosassa Game Fish Club recently made a donation of $1,000 to the Homosassa Elementary School. The money came from their recent Cobia tournament. From left are: Scott Hebert, principal; Trudy Cooper, fish club; Jill young, assistant principal; and Gator MacRae, fish club. 'Three Penny' actresses no shrinking violets After "splish-splashing" in the bathtub, Bobby Darin had an instant hit with his jazzed-up version of "Mack the Knife." The lyrics tell us about MacHeath, a shady individual who thinks nothing of dropping cement- * ' - laden bodies into the river. Jim Farley . ' - plays this character in the upcoming pro- _.4 -0 duction of "The Iris Three Penny Ope- ris ra," which opens -.7.TT Thursday and runs through Oct. 7 at Playhouse 19. Even though there are many strong male figures in this play, there definitely will be some significant girl power on that stage. I attended a rehearsal recently and decided to ap- proach some of these women. Many of us are familiar with some of the characters they have portrayed on various stages in our local community theaters, but I wanted to know about their most important role - their real lives. Donna Mister, who portrays one of the "ladies of the night," - drove an 18-wheeler cross-country for five years. "I loved 4 it," she said, "but it is definitely a man's world." Rose Kristin Guenther, ose wwho shares the role LIN UP of Polly, is attending Central Florida Community College where she is majoring in musical theater and minoring in elementary education and journalism. She's busy working her way through school. You may recall Kristin in the role of Roxanne in the playhouse's production of "Cyrano." Monica Tichauer was born in Rio de Janeiro, Brazil. After living in Germany for many years and then returning to Brazil, Monica encountered some cultural differences. "I had problems getting used to Brazilian women playing stu- pid to their men," she said. "I am not going to play stupid to anyone." Hmmm ... I think Mack would have had his hands full with her The theater's next produc- tion of "Rumors," a Neil Simon comedy, will run from Nov. 8 to Dec. 2. Tickets can be pur- chased by calling 563-1333 or stopping by the box office at 865 N. Suncoast Boulevard, Crystal River. We advise that you call the office before mak- ing a trip since our summer hours are limited. Iris Rose is the secretary of Playhouse 19's board ot'directors. Adopt A Rescued Pet 4 , . S, .,, Special to the Chronicle This kitten is just a hint of the gorgeous cat she will become as an adult. She is sweet and loving. However, she needs you to give her and others a good indoor home. She, her orange brother and her mother were irresponsi- bly dumped in a housing development. She and "brother" were tame enough to be caught, but Mom was too terri- fied and ran away. Phone Mary at 637-0395 to adopt this or another homeless kitten. Check pet.com for other available pets and the Adoption Calendar with sites, dates and times. Adopt A Rescued Pet, Inc. does home visits prior to adoptions. Courthouse Heritage Museum to host wine tasting at Uncle Sam Jam saturday is going to be a really fun day for all who like good music and lots of fun. The Citrus County Historical Society is partnering with the Inverness Olde Towne Association to pres- ent Uncle Sam Jam. Music on the Square from 5 p.m.to 7 p.m. As always. we thank its continuing sup- port and sponsor- ship. There will be lots of terrific music. and many tnonprolit organizations will have booths and information about the great work that they do here il Mary Sue Rife Citrus County for all -- .. ", . - of our citizens. )O"r S~OCIETY local shops will be open all evening ;mid will offer I many the Citrus County Chronicle for splendid sales on their wartes, There will be a Wine Tasting in the 1912 Historic Court- house, upstairs in the court- room from 5 to 7 p.m. When the musicians take a break, come on into the cool and enjoy our hospitality We are extremely fortunate to have Janet Fergusoni of Publix as a spon- sor for this fundraisiig event. She has arranged a wonderful selection and variety of wines. as well as contributing snacks to complete the evening. Thank you to Heller & Bac's lan. lilch aind Ton'y for your terrif- ic support in arranging and planning the event. A great big thank you also to Doug Lobel for his aid, and everyone in the Inverness Olde TownIe Association for your continued support of the Courthouse Museum. Our fundraising events aid in presenting and preserving the history of this great county, and also to pres- ent worthwhile programs lor Citrus Countians. A donation of $3 is requested. The Courthouse will be open the entire evening. We have a Museum Store with a first-class selection of historic books, as well as unique note cards, post cards and other gift ideas. Call Mary Sue life', chair- woman, at 341-6427 for infor- mation. May Sue hille is the li'ndraising chair oiIam for the Citrus ('ounly Historical Society, based in Inverness. She can be reached most daYs at the musemI. or call 341-6427. *. li-I-. tLv ii e2igago- -.d 01 .......-I FRIDAY EVENING SEPTEMBER 7, 2007 c: Comcast,Citrus B: Bright House D: Comcast,Dunnellon 1: Comcast, Inglis C B D I 6:00 6:30 7:00 7:30 8:00 8:30 9:00 9:30 10:00 10:30 11:00 11:30 News (N) NBC News Entertainme Access 1 vs. 100 (In Stereo) 'PG' Las Vegas (In Stereo) '14' Law & Order: Special News (N) Tonight 19 1 9 939 nt IHollywood 5E 2007 [B 5571 Victims Unit '14' 8858 4840113 Show WEDU BBC World Business The NewsHour With Jim Washington Florida This McLaughlin NOW (N) Bill Moyers Journal (N) Expose: Expose: P 3 3 News'G' Rpt. Lehrer 9[ 3113 Week Week Group'PG' 96842 (In Stereo) B[ 2484 America's America's [WuF BBC News Business The NewsHour With Jim Washington NOW (N) Bill Moyers Journal (N) There Is a Bridge (in Monty Tavis Smiley PBS 5 5 7113 Rpt. Lehrer (N) 65910 Week E[ 3281 (In Stereo) 9 61194 Stereo) 'G' 9 64281 Python 96991 IT8A) 8 8 8 News (N) NBC News Entertainme Extra (N) 1 vs. 100 (In Stereo)'PG' Las Vegas (In Stereo)'14' Law & Order: Special News (N) Tonight Nc 8 8 8 8 8 9133 nt 'PG' E9 5] 74668 54804 Victims Unit '14' 57991 9487262 Show News (N) ABC Wid Jeopardy! Wheel of Home Lucy Must George Lopez (In Stereo) 20/20 (Season Premiere) News (N) H.S. Sports ABC 20 20 20 20 9 7945 News 'G' E9 5668 Fortune 'G' Videos Be Traded 'PG, L' C] 53674 (N) [ 94921 1333484 WTSP * 10 10 News (N) Evening Wheel of Jeopardy! Jericho "One if by Land" Fashion Rocks (N) (In Stereo) 1 97587 News (N) Late Show BS 10 10 10 5587 News Fortune 'G' 'G' 0 2823 '14, L,V c 14200 1331026 (WT 9T) re (9 13 News (N) 9[ 66200 The Bernie King of the Movie: ** "Hollywood Homicide" (2003, Action) News (N) 9c 33303 News (N) M*A*S*H FOX 13 13 Mac Show Hill 'PG' Harrison Ford, Lena Olin. cc 58668 3313842 'PG' FWCJBI) News (N) ABC WId Entertainme Inside Home Lucy Must George Lopez (In Stereo) 20/20 (Season Premiere) News (N) Nightline ABC 1 11 58007 News nt Edition 'PG' Videos Be Traded 'PG, L' [c 95674 (N) cB 45151 7417804 83877674 Richard and Lindsay Door of Ted In Touch With Dr. Charles Good Life c9 9040668 Live From Liberty 'G' [] The 700 Club 'PG' cB IND 2 2 2 2 Roberts 'G' c[ 5737129 Hope Shuttleswort Stanley 'G' cc 9043755 9796026 w rrs News (N) ABC WId Inside The Insider Home Lucy Must George Lopez (In Stereo) 20/20 (Season Premiere) News (N) Nightline ABC 11 11 29587 News Edition 'PG' 'PG' 36823 Videos Be Traded 'PG, L'U 72858 (N) t9 75945 8392007 18266533 WMOR Will & Grace Frasier 'PG' Still Access Movie 16262 Will & Grace Frasier 'PG, Still Access IND 12 12 '14, D' 172842 Standing Hollywood '14' D' 82656 Standing Hollywood WMTA Judge Mathis "Paternity Every- Seinfeld Movie: * * "Love on the Side" (2004, Romance- Every- Scrubs '14' Seinfeld Sex and the MNT 6 6 6 Tests" 'PG' 4000484 Raymond 'PG' Comedy) Maria Sokoloff. cc 4837113 Raymond 1372858 'PG, D' City'14, (ACX ] Date With The 700 Club 'PG' c Now Abiding Right Jump The Faith Mike The Gospel Variety Mark Chironna 43397 TBN 21 21121 Destiny 982755 Faith Connection Ministries Show Murdock 'G' Truth 'G' 93281 WO The Malcolm in The Friends 'PG' WWE Friday Night SmackDown! (N) (In Stereo) 'PG, The King of The King of According to According to 'CW T G 4 4 4 4 Simpsons the Middle Simpsons cc9939 D,L,V' c49910 tQueens Queens Jim'PG D' Jim 'PG, L' TIV 20 News Fishin County Florida Florida Patchworks Movie 22823 TV 20 News County FAM 16 16 16 16 Court Naturally Angler Court FWOGXi Seinfeld King of the The The Movie: ** "Hollywood Homicide" (2003, Action) News (N) (In Stereo) 9B Seinfeld That '70s FOX 1313 'PG' ] Hill 'PG' Simpsons Simpsons Harrison Ford, Lena Olin. [9 12842 72709 'PG' 86939 Show '14, L' IWVEA Noticias 62 Noticiero Yo Amo a Juan Amar sin Limites 644465 Destilando Amor 737129 La Familia Una Familia Noticias 62 Noticiero UNI 15 15 1515i N) 931378 IUnivisi6n Querepd6n 731945 P. Luche de Diez (N) 122736 Univision Diagnosis Murder "The MLB Baseball Toronto Blue Jays at Tampa Bay Devil Rays. From Tropicana Movie: "Bridge of Time" Time Life Paid 1 1 Last Lauqh"'PG' 60668 Field in St. Petersburg F .(Live) 458194 (1997)'PG' 31533 Music Program 54 48 54 54 Cold Case Files 'P' CS: Miami "The Best CS: Miami "Curse of the CS: iamiigh Octane Intervention "John & Jill" intervention "Dillon '14, S971755 Defense" '14, V c[ Coffin" '14, V' 252007 '14, V' B 265571 (N) '14, L' 348858 L' [] 676823 (M 55 64 55 55 Movie: *** "Dragon: The Bruce Lee Story" Movie: *** "Die Hard With a Vengeance" (1995, Action) Movie: ** "Gothika" (2003, Horror) S(1993) Jason Scott Lee. 842571Bruce Willis, Jeremy Irons. 560465 Halle Berry. 9 494262 ANIn 52 35 52 62 The Crocodile Hunter 'G' The Planet's Funniest Meerkat Meerkat It's Me or It's Me or Animal Cops Houston The Planet's Funniest ( i 5739587 Animals 'G' c 9046842 Manor 'G' Manor (N) the Dog 'G' the Dog 'G' Fighting dogs. 'PG' 'Animals 'G' 9798484 74____ Movie: * * * "The Nutty Professor" (1996) Movie: * * "Nutty Professor II: The Klumps" Movie: * * * "The Nutty Professor" (1996, BA iV 74 Eddie Murphy, Jada Pinkett. Premiere. 558674 (2000) Eddie Murphy. c9 457991 Comedy) Eddie Murphy, Jada Pinkett. 733823 rii7 27 61 27 27 Movie: "Back to Scrubs '14' Scrubs '14' Daily Show Colbert Reno 911! South Park Com.- Com.- Com.- Com.- School" (1986) 82610 28533 70484 Report '14'77200 'MA, L Presents Presents Presents Presents 98 45 98 98 1 Cross Country Trick My Trick My Trick My Celebrity Celebrity Trick My Trick My Trick My Celebrity Celebrity P______ 9 Performance. (In Stereo) Truck Truck Truck (N) Bull Riding Bull Riding Truck Truck Truck Bull Riding Bull Riding WT 95 65 95 95 1 Divine The Present Daily Mass: Our Lady of The World Over 7072804 Worth Living The Holy Defending Reasons Pope Benedict XVI in Wisdom 'G' Time 'G' the Angels 'G' 7096484 1Rosary Life 'G' Hope Austria (Live) 5331755 j 29 52 29 29 8 Simple 8 Simple Grounded Movie: *** "Remember the Titans" (2000, Drama) Denzel Lincoln Heights The 700 Club 'PG' CM Rules 'PG, Rules 'PG, for Life 'PG, Washington, Will Patton. Premiere. c9 908736 "Flashpoint" ] 793939 943587 F 130 60 30 30 That '70s Movie: ***s "Presumed Innocent" (1990, Mystery) Harrison Movie: *** "Double Jeopardy" (1999) Tommy Rescue Me "Keefe"'MA' Show 'P. Ford, Brian Dennehy, Raul Julia. 7464668 Lee Jones, Ashley Judd. 7082281 5819194 -uTV) 23 57 23 23 Extreme If Walls House House Designed to Decorating Design Star 'G' 5849200 House House Get It Sold Parents Homes Could Worth? Hunters 'G' Sell 'G' Cents'G' Hunters 'G' Hunters 'G'7192842 House 51 25 51 5- Mail Call Our Modern Marvels 'G' c[ Modern Marvels "Bombs" Human Weapon Human Weapon "Muay Mega Disasters 'PG' c9 1 1 1 L' Generation 7174216 'G' 7087736 Pankration. 'PG' c Thai" 'PG' 9 7173587 5817736 (f I 24 38 24 24 I Reba 'PG, Reba 'PG, Still Still Reba'PG' Reba'PG' Movie: "Long Lost Son" (2006, Drama) Gabrielle Will & Grace Will & Grace D' 236543 D' 236723 Standing Standing 342194 434129 Anwar, Craig Sheffer. 'PG' C] 786649 '14' '14' S28 36 28 28 Zoey 101 Ned's Ned's Drake & Tak, Power Avatar-Last Tigre: Nicktoons Home Home Home Home 'Y7'554842 School School Josh 'Y7' c Air Rivera TV 501754 Improvemen Improvemen Improvemen Improvemen i 31 59 31 31 Stargate SG-1 "Meridian" Stargate SG-1 Doctor Who "The Family Flash Gordon "Assassin" Painkiller Jane (N) (In Flash Gordon "Assassin" 'PG' ] 5578264 "Revelations" 'PG' c9 of Blood" 'P V' 1598910 (N) 9 1681674 Stereo) 9 1588533 cc 8276755 PI 43K 37 3 7 ,CSI: Crime Scene CSI: Crime Scene CSI: Crime Scene Ultimate Fighting Championship 70: Nations Collide 'PG' 567939 Investigation '14, D,L,S,V Investigation '14, L,V' Investigation '14, V' _ ) 49 23 49 49 Seinfeld Seinfeld Every- Every- Movie: ** "Lara Croft: Tomb Raider" (2001, Movie: **Y, "Underworld" (2003, Horror) Kate 'PG' 438465 'PG'525945 Raymond Raymond Adventure) Angelina Jolie. cc 8037378 Beckinsale, Michael Sheen. c 74743295 ii 5 Movie: *** "Never So Few" (1959, War) Frank Movie: *** "The Marrying -Kind" Movie: *** "Phffft!" (1954, Comedy) Judy "Full of Sinatra, Gina Lollobrigida. E 20007668 (1952) Judy Holliday. 8917787 Holliday, Jack Lemmon, Kim Novak. 81255587 ' Life" ( 53 34 53 53 Cash Cab Cash Cab Survivorman 'PG' c] Lobster Wars 'PG, L Survivorman (N) 'PG' Blue Planet "Open Survivorman 'PG' 681755 'G' 556200 'G'547552 241991 267939 343303 Ocean" 'G' 240262 TLC 50 46 50 50 Property Ladder 'G' cc A Model Life Empty-hand- What Not to Wear Past What Not to Wear "Kerri What Not to Wear "Pam What Not to Wear "Kerri 298200 ed. '14' 560804 episodes. 'PG' [9 579552 A." 'PG' 662216 D." 'PG' 665303 A." 'PG' 900668 1f48 33 48 48A Charmed "Sam I Am" Charmed (In Stereo) 'Pa, Movie: * * "In Good Company" (2004, Movie: * * * "In Good Company" (2004) Dennis 'PG, L,V' [ 296842 DL,V' c 664674 Comedy-Drama) Dennis Quaid. c9 571910 Quaid, Topher Grace. Ec 857842 4RAV 9 54 1 investigations of the Top Ten Places of Jamaica: Paradise Beach Goers Exposed Most Haunted Petty Jamaica: Paradise Unexplained 'PG' Mystery 'PG' c 5925674 Uncovered 'PG' c 'PG' c9 5921858 France Manor. 'PG, D' Uncovered 'PG' cc (r 32 75 32 321 Little House on the Andy Griffith Andy Griffith The Cosby The Cosby The Cosby The Cosby Movie: ** * "Twilight Zone: The Movie" (1983, Prairie 'G' ]9 5651755 1Show 'PG' Show 'PG' Show'G' Show 'G' Fantasy) John Lithgow. 3306303 47 32 47 47 Law & Order: Special Law & Order: Special Law & Order: Special Monk (N) 'PG' c9 894007 Psych "Rob-A-Bye Baby" House "Resignation" '14, L Victims Unit '14' 699129 Victims Unit '14' 898823 Victims Unit '14' 807571 'PG' cc 897194 IL'B B221397 18 18 18 18 Funniest Funniest America's Funniest Home Movie: *** "Rushmore" (1998) Jason WGN News at Nine (N) Sex and the Scrubs '14' i 1Pets Pets Videos 'PG' 464281 Schwartzman. Bill Murray. 557945 IM 463552 City '14, 819842 FRIDAY EVENING SEPTEMBER 7, 2007 C: Comcast,Citrus B: Bright House D: Comcast,Dunnellon I: Comcast, Inglis c B D 6:00 6:30 7:00 7:30 8:00 8:30 9:00 9:30 10:00 1 :30 11:00 11:30 Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possible Kim Possibl (IINJ 46 40 46 46 'G' 744804 'G'768484 'G' 118945 I'G' 9 'G'352115 'G'807200 'G'824129 'G'822281 'G'196378 'G'105026 'G'829674 'G'997674 S 39 68 39 39 M*A*S*H M*A*S*H M*A*S*H M*A*S*H Walker Texas Ranger Movie: *** "The Parent Trap" (1961, Comedy) Hayley Mills. Twins separated S'PG' 5636026'PG' 5627378 'PG' 2842533 'PG' 5616262 "Lazarus" 'PG, V 9048200 as infants plot to reunite their parents. 3 5135823 B Costas NOW (In Stereo) Hard Knocks: Training Movie: **' "X-Men: The Last Stand" Entourage Entourage (In Stereo)'MA' Real Time With Bill Maher HBO_'PG' E 339755 Camp, Kansas City (2006) 9E 4656823 I'MA' 9496945 9 26122755 'MA' [ 458663 MA Movie: *** "Batman Begins"(2005) Christian Bale. Bruce Movie: * "Simon Sez"(1999) Dennis Movie: *A "Big Daddy" (1999) Adam Bedtime Wayne becomes Gotham City's Dark Knight. 55164910 Rodman. 9 258262 Sandier. c 4904253 iStories 'MA' M I 97 66 97 97 Rap Celebrity Rap Superstar Life of Ryan Life of Ryan The Hills The Hills The Hills Movie: * "A Gu Thing" (2003) Jason Lee, Julia 97 a 9 97a S1uperstarI (In Stereo) 528533 'PG'356397 'PG'337246 'PG'145378 Stiles. Premiere. In Stereo) 632638 71 Explorer "Science of Science of Gigantism 'G' Dog Whisperer Canine Dog Whisperer Patti Dog Whisperer Virginia Dog Whisperer Canine __ 1_ ____Dogs" 'G'5160129 5228026 peacemaking.'G'5300674 LaBelle's dog.'G'5217910 Madsen.'G'5227397 peacemaking.'G'6209465 PEX) 62 "Casualties of Love: Movie: 'The Visitation" (2006) Martin Donovan, Movie: *** "A CivilAction"(1998, Drama) John Movie: "The Real Long Island Lolita" Edward Furlong. (In Stereo) c0 66819262 Travolta. c 36406858 McCoy" 9 38255571 CNBCr 43 42 43 43 Mad Money Los Angeles. On the Money 4422267 Fast Money 3908197 2007 Heads-Up Poker The Big Idea With Donny Mad Money Los Angeles. 43 42 43 43(N) 3685533 Championship Games Deutsch 6727939 (f 40 29 40 40 Lou Dobbs Tonight CE The Situation Room To Be Announced 985303 Larry King Live 'PG' c Anderson Cooper 360 'PG' cc 152533 591533 803755 809939 COURT 25 55 25 25 World's Wildest Police Cops 'P, L' Cops '14, V Inside "America's Toughest Forensic Forensic Forensic North The Investigators 'MA' ______ Videos'PG' c 3783129 2942939. 3206620 Jail" 6354213 Files '14' Files'14' Files'14' Mission 6712007 44 37 44 44 Special Report (Live) cc The Fox Report With The O'Reilly Factor (Live) Hannity & Colmes (Live) On the Record With Greta The O'Reilly Factor 7273692 Shepard Smith 9 9 01590378 9] 1503842 Van Susteren 8261823 [MSBC 42 41 42 42 Tucker 7378246 Hardball 9 1587804 Countdown With Keith MSNBC Investigates MSNBC Investigates: MSNBC: Lockup: Inside Olbermann 1596552 1689216 Lockup: Inside Alaska San Quentin PN 33 211 71 33 33 SportsCenter (Live) c9 College Football Navy at Rutgers. (Live) ]c 648259 MLB Baseball Los Angeles Dodgers at San Francisco 337397 Giants. (Live) 'PG' c 693552 ESPN2 34 28 34 34 NASCAR Racing Nextel Cup - Chevy Countdown NASCAR Racing Busch Series - Emerson Radio 250. From Boxing Friday Night Fights. (Live) cc Rock & Roll 400 Qualifying. Richmond International Raceway in Richmond, Va. 5059281 5143674 S35 39 35 35 FSN Madins on MLB Baseball Florida Marlins at Philadelphia Phillies. From Citizens Bank Park in Around the Final Score FSN Pro Football Preview 3 3 3 Baseball Deck (Live) Philadelphia. (Live) 540638 Track 1164804 F 67 PGA Golf: BMW Post Game PGA Golf Nationwide Tour - Envirocare Utah Classic - PGA Golf BMW Championship - Second Round. From Cog Hill Golf I I I Championship Show - Second Round. (Live) 7567281 & Country Club in Lemont, I11I. 3449216F i 36 31 36 36 Future I SEC TV (N) College Kickoff '07 (Live) To Be Announced 56842 Gators BCS College Kickoff'07 46465 The Bite Around SPhenoms 94823 47194 Championship Year in 17465 Track. Sister worried about siblings marital woes Dear Annie: My sister, 'Jenny," and her husband have been married 10 years and have two children. For nine of those years, Jenny has been miserable. The two of them fight constantly, and normal conversa- tions turn into disagree- ments. They are so loud the neighbors can hear them. Jenny and her husband never do anything as a couple, - including vacations, dinner out, etc. He has never compli- mented Jenny, never told her she looked nice or cooked a good meal. My sister, after years of complaining about it, finally told him she wants a divorce, but her confidence is so low, she doesn't have the ANN courage to actually leave him. There is always some excuse. MAIR Twice she went to counseling, but hasn't gone back She sounds and looks depressed, and the kids are begin- ning to notice that something is wrong. Her counselor suggested her husband come in to talk, but he refuses. He sees nothing wrong with the marriage. I want Jenny to go back to counseling. She's beautiful, smart and talented - something her husband doesn't appreci- ate. I'm hoping she will see this letter in your column. Please, Annie, tell her to go back to counseling. She deserves to be happy - Worried Sister Dear Sister. It's hard to stand by and watch someone you love make choices L L you feel are wrong, but Jenny may have other reasons to stay in her marriage - including two children whose lives will be turned upside down by a divorce. We agree if she is miserable, she should go back to her counselor and work on this. Meanwhile, try to remain neu- tral about the marriage while building up Jenny's confi- dence by letting her know how terrific you think she is. Dear Annie: My husband and I have been married 20 years. It is a second marriage for both of us. We each have 5 F grown children from our pre- vious marriages. My children come regularly for visits. We even take vaca- NE'S tions together. We try to include my husband's kids, -BOX but they always say they have other plans. My stepchildren have not been to our home in over five years. We travel to see them, but only on their schedule. Last time it was barely three hours, because they had to attend a birthday party - for their daughter I told them we would love to come along, but they insisted we wouldn't enjoy it I have asked if we have done something wrong, and they always say they love us but are just busy My husband has been quite ill and has problems walking. It's hard for him to travel, but it's the only way he can see his children. How can I help them understand how much their father would appreciate a visit or telephone call? - Hurting for My Husband Dear Hurting: We assume your hus- band is divorced from the children's mother. Loyalty to her could be one rea- son they avoid him and don't include Grandpa in birthday celebrations where Grandma is likely to be present Call your stepchildren, tell them their father has been very ill and say he'd love for them to visit Divorce can create rifts that are hard to bridge, but we hope neither of you will give up. Dear Annie: I've noticed you've print- ed several letters regarding loved ones who exhibit emotional instability through temper tantrums, hatefulness, spitefulness, etc. I've been one of those people. It turns out I had a thyroid problem, despite "normal" test results. An unsus- pecting thyroid problem (at any age) can be the cause of unhealthy behavior, as well as mental and physical distress. Proper diagnosis can be a lifesaver to the sufferer and loved ones alike. - A Recovering Underactive Thyroid Sufferer Dear Thyroid Sufferer. Thanks for the reminder that some personality issues are indicative of physical problems. Annie's Mailbox is written by Kathy Mitchell and Marcy Sugar. E-mail your questions to anniesmailboxC(acomcast. net. or write to: Annie's Mailbox. P.O. Box 118190. Chicago. IL 60611. Your Birthday - Ideas to advance your interests in the year ahead should not be treated frivolously. More than a few will have great potential, but they will count for nothing if you don't first put them to the test. Virgo (Aug. 23-Sept. 22) - Frequently, insider tips provided by others can be reli- able. But unless you check out things per- sonally, it's not wise to rely on something of immaterial significance. Investigate it first. Libra (Sept. 23-Oct. 23) - Don't think your words don't carry any weight with per- sons who trust and respect you. Scorpio (Oct. 24-Nov. 22) -An impor- tant objective that has been giving you fits can be achieved, especially if you take things one step at a time. Sagittarius (Nov. 23-Dec. 21) - You're an exceptionally good instructor, so don't hesitate to pass on any knowledge you possess that could prove helpful. Capricorn (Dec. 22-Jan. 19) - You don't have to be bolder or stronger to be successful; you merely have to be smarter. Aquarius (Jan. 20-Feb. 19) - It pays to keep an open and receptive mind. Chances Unscramble these four Jumbles, one letter to each square, to form four ordinary words. I PLUIP GLUNJE PIMNED IN " P Answer here: THE Yesterday's Jumbles: TRILL Answer: What Ji filthy -, PHILLIP ALDER Newspaper Enterprise Assn. Canadian communications theo- rist Marshall McLuhan wrote, '"Money talks' because money is a metaphor, a transfer, and a bridge." We are looking at bidding after an opponent opens with a pre- empt at a bridge table. Before we expand our discussion, though, look at only the North and South hands. West opens three hearts, and you (South) end in four spades. West leads the heart king. How would you plan the play? An overcall in no-trump is natu- ral and strong. But how should the advancer, the intervenor's partner, react? It is an excellent idea to use Stayman and transfers in an effort to make the stronger hand the declarer. In this deal, if South advanced with four hearts, a trans- fer bid promising at east five spades and making North the declarer in four spades, there would be no story. North would take 10 tricks without any difficulty. And, yes, if South guessed to pass out three no-trump, it would work well too. But that is not the point! When the dummy comes down in four spades, South sees 10 top tricks: six spades, one heart, one diamond and two clubs. What ACROSS 1 Lysol target 5 State-of-the-art 8 DJ gear 11 Wall climbers 13 Eggs, in biology 14 Meadow 15 Rock shop curiosity 16 Spiffy tires 18 Bede or Sandier 20 Radiates 21 Luau numbers 23 Moon or eye 24 Rough shelter 25 Base for face- powder 27 Ballpark figures 31 Uris hero 32 Latin I verb 33 - Derr Biggers 34 Beaded shoes 36 Eurasian mountains 38 Pierre's monarch 39 Zest 40 Pumice source 41 Bratty kid 42 Ginger- 44 "En garde" weapons 46 Rockne of football 49 Cobra kin 50 Fables 52 Debussy music 56 Moray 57 Dit opposite 58 Speed - 59 Ben & Jerry rival 60 Eavesdrop 61 Scraps of cloth DOWN 1 Musician's stint 2 Day before 3 Popular cruise stop 4 Winner's award 5 "Cheers" regu- lar are someone you encounter will have a much better idea for advancing something that is important to you. Pisces (Feb. 20-March 20) - Disappointment isn't likely to affect you, especially if you are reasonable about the size of returns you can expect for your efforts. Aries (March 21-April 19) - You'll be quite popular at any social gathering whether you're with casual friends or strangers. Taurus (April 20-May 20) - Your thoughtfulness toward your friends and loved ones will be deeply appreciated. Gemini (May 21-June 20) - It's so like you to know how to get along with anybody you have to work with. Cancer (June 21-July 22) - It behooves you not to be indifferent to the suggestions of others pertaining to commer- cial matters. Leo (July 23-Aug. 22) - It's OK to use an intermediary to pass on information, but when it comes to any critical matter, you would be better off if you personally commu- nicated all the details yourself. THAT SCRAMBLED WORD GAME by Henri Arnold and Mike Argirion Now arrange the circled letters to form the surprise answer, as suggested by the above cartoon. (Answers tomorrow) AIDED LOCKET TYCOON junior got when he came home A "DIRTY" LOOK Bridge North 09-07-07 A Q 7 5 2 V A 8 4 3 * A 9 2 4 AK West East A - A 6 4 3 V KQJ10975 V - * 85 * KQJ106 s4 10 8 5 2 Q J 7 6 3 South A A K J 10 9 8 V 6 2 * 7 4 3 Dealer: West Vulnerable: East-West South West North East 3 V 3 NT Pass 4 A Pass Pass Pass Opening lead: V K could possibly go wrong? Only one thing- if East ruffs away dummy's heart ace at trick one. Is that likely to happen? Not only likely - it's a certainty. West must have seven hearts for his opening bid at unfa- vorable vulnerability. That leaves no hearts for East. Instead of wasting dummy's heart ace, play low hearts from the board at tricks one, two and three, ruffing the third round in your hand. Then you can draw trumps and take those 10 winners. Answer to Previous Puzzle TRESSP1 A LL CHEAPO BEATLE HEAVED LADDIE MPE L AL DDI LUSH ICKY ELS GIST LOA CROUCH IDIOM I A_ LA S S MIRA G AL K ED ALOHA SP I RE TEN R SHON E A Gabor Nonswimmer, maybe Eurasian range Soften Gap between GET MORE in the new "Just Right Crossword Puzzles" series from Quill Driver. Call 800-605-7176. mountains 12 Calm 17 Fill with 19 Most of the time (3 wds.) 21 Erie neighbor 22 City near Syracuse 23 Pianists' spans 24 Overactors 26 Pasternak heroine 28 Donny's sister 29 Dances 30 Faux pas 35 Downpour 37 Sloshed 43 Grants a mortgage 45 Organic compound 46 MOMA artist 47 Scholarship basis 48 Not pretty 49 Very pale 51 Fish, in a way 53 "Pulp Fiction" name 54 Terrier or poodle 55 USN officer � 2007 by NEA, Inc SC FRiDAY, SEPTEMBER 7, 2007 CITRUS COIJN'IY (TI) CHRONICLE EN'F]En-FAIINA4EN'F Qmus COUNTY (F)CRNCEC'+ RD~SPEBR7 079 Garfield For Better or For Worse FbR A WHILF-, W 11 EttT~l FWZABI�F LAWASI HeS TsYOU HAVF A I'4~rC' IN THF APAR 115-ITI ,t E30RW 'ON AFT~kWF- ~r I~NT. OROTOl. HI S F11AC _ A rJP MOVIJEP He~ NI y OUR TUML 7 -rAEt:N, DAD aG0A -- 5C vuP, L yI-H T-V le em J,06 WrVtA OT~e LAJE~ A13LF- TO 'Uy WHEN my mom PENftsT IN ML- I-H is t-tousE ON VJspiz eGNPmtw' 50ODOUGN0A1,4D W 5-� gNPAlD�' Sally Forth Beetle Bailey r WE JUST HAVE A NICE, THAT'S WHAT I MEAN! p WHY MUST YOU HURT MY FEELINGS SATIONU -- - EVERY TIME WE TALK, I LIKE THAT? WELL, I KNOW YOU ASSUME THE ARGH1 IS THAT I' AND CAST ME AS THE I TELL HER THOUGHTLESS CHILD! TELL HruntLJ The G 'aiw.: The Born Loser Blondie Kit 'N' Carlyle Rubes Dennis the Menace The Family Circus When elephants experience senior moments �2007 BillKsane, Ic. Dis0 . by King Features Synd, "All of these cartoons would look better in HD." Doonesbury Big Nate Citrus Cinemas 6 - Inverness Box Office 637-3377 "3:10 to Yuma" (R) 1 p.m., 3:50 p.m., 7:20 p.m., 10:10 p.m. Digital. "Halloween" (R) 1:10 p.m., 4 p.m., 7:30 p.m., 10:15 p.m. "Balls of Fury" (PG-13) 1:30 p.m., 4:15 p.m., 7:45 p.m., 10:25 p.m. "Superbad" (R) 1:15 p.m., 4:20 p.m., 7:40 p.m., 10:20 p.m. "Rush Hour 3" (PG-13) 1:40 p.m., 4:25 p.m., 7:505 p.m., 10:30 p.m. "The Bourne Ultimatum" (PG-13) 1:20 p.m., 4:10 p.m., 7:15 p.m., 10:05. Times subject to change; call ahead. Arlo and Janis Peanuts Dilbert ALTHOUGH I'VE BEEN FIRED FOR GROSS INCOMPETENCE, IM' PROFESSIONAL ENOUGH TO TRAIN YOU BEFORE I LEAVE. DON'T BOTHER. I ALREADY CODED A JAVA APP TO DO EVERYTHING YOU DO. Betty & Ernest - Today's MOVIES CELEBRITY CIPHER by Luis Campos Celebrity Cipher cryptograms are created from quotations by famous people, past and present. Each letter in the cipher stands for another. Today's clue: M equals J F VYWI F TB TKZY MXCSIC YG BN TOOYBWKFZVBIGLZ TZ TG TOLD TGC GY L MXZL YG BN WDILLN ETOI !" - MYGTLVTG RDTGCFZ PREVIOUS SOLUTION - "My name is Marc, my emotional life is sensitive and my purse is empty, but they say I have talent." - Marc Chagall (c) 2007 by NEA, Inc. 9-7 ml FRiDAY, Smrl-mBmi 7, 2007 9C-, CITRUS COUNTY (FL) CHRONICLE COMICS 10C FRIDAY, SEPTEMBER 7, 2007 THE SCENE CITRUS COUNTY (FL) CHRONICLE THE BUZZ Continued from Page 6C * Dali Museum events, 9:30 a.m. to 5:30 p.m. Monday, Tuesday, Wednesday and Saturday, 9:30 a.m. to 8 p.m. Thursday and noon to 5:30 p.m. Sunday. 1000 Third St., St. Petersburg. $15 adults, $13.50 seniors/U.S. military/police, $10 students. (727) 823-3767. info@salvadorDalimuseum.org.. * "Traces" (of the Avant-garde) by Mabel Palacin: Sept. 29 through January 2008, Traces Gallery. * "Megalodon: Largest Shark that Ever Lived," special exhibi- tion about prehistoric sharks con- tinues through Jan. 6, 2008,.. County Road 470 one block east of 1-75. Live music. Bring finger foods. (352) 424-1688. * Spirit of Citrus Dancers Birthday Dance, 7 to 10 p.m. Saturday, Kellner Auditorium, 102 Civic Circle, Beverly Hills.$7, non-members; $5, members. 344-3768, 726-1495. socdancers.org. * Knights of Columbus Council 6168's weekly Sunday dances, 6:30 p.m., doors open; live music 7 to 10 p.m.; KOC hall on County Road 486, one mile east of County Road 491. $5. 746-5995. * Belly dancing class by Debra Boydston - beginners class 3:30 to 4:30 p.m. Tuesday, intermediate class 4:45 to 6 p.m. Tuesday, Whispering Pines Park, Inverness. $25 per four-week session. 726-3913. cityofinver- nesson line.com. * Citrus Squares, 7 p.m. Thursday, Fellowship Hall of the First United Methodist Church of Dunnellon, 21501 W. State Road 40, Dunnellon. (352) 489-1785 or (352) 465-2142. * Auditions Saturday, Sept. 15, by appointment only, for "The Nutcracker: All Jazzed Up!" by Victoria's School of Dance; expe- rienced pointe dancers with jazz experience sought. Must have transportation to rehearsals at the school in Dunnellon's Historic District. or (352) 489-6756. * Dinner dance with live music from Sundown, Sept. 21, West Citrus Elks Lodge 2693, 7890 W. Grover Cleveland Blvd., Homosassa. $11 includes dinner choice of stuffed flounder, roast- ed sliced pork or shrimp alfredo. 382-1178. * Encore, A 13-piece band, 7 to 10 p.m., Friday, Sept. 21, the Italian Social Club, on County Road 486 in Hernando. $8. Tom at 746-7835 or 422-0046, * Mardi Gras dance, 7:30 to 10:30 p.m. Saturday, Sept. 22, Beverly Hills Recreation Center, 77 Civic Circle, Beverly Hills, with music by Diana and Mitch. $7 includes refreshments. Tickets from 8:30 a.m. to 4:30 p.m. Monday to Friday at the office, or at the door. 746-4882. Mardi Gras-style encouraged. * Dance Alive National Ballet announces 42nd season of per- formances, Curtis M. Phillips Performing Arts Center, Gainesville. (352) 371-2986.. 2007-08 schedule is as follows: * "Cleopatra: A Rock Ballet," 7:30 p.m., Sept. 22. * "Nutcracker," 2 and 7:30 p.m., Dec. 15; 2 p.m., Dec. 16. * "Robin Hood," 2 and 7:30 p.m. Feb. 23, 2008. * "Ballet Spectacular," 7:30 p.m. March 28, 2008. * Ballroom Dancing, 7 to 10 p.m., Skate Mania Center, 5461 S.E. Maricamp Road, Ocala. Sept. 27, Oct. 25, Nov. 20 and Dec. 27. $7. (352) 390-6455. * Fire and Ice Ballroom Dance Spectacular, ballroom dance competition, 8 p.m. Saturday, Sept. 29, Carol Morsani Hall at Tampa Bay Performing Arts Center. $42.50 to $127.50.. * Dance to oldies music from the '50s and '60s by the Saints at 7:30 p.m. Saturday, Oct. 6, as Crystal Oaks Clubhouse; 50 seats available. No tickets sold at the door. BYOB. 270-3301. Ansel Adams ANSEL ADAMS/Courtesy The Ansel Adams Publishing Rights Trust "White Branches, Mono Lake, California," 1947, gelatin sil- ver print, is part of a photography exhibit titled "Photographic Formalities: From Ansel Adams to Weegee," opening Tuesday at Ham Museum of Art in Gainesville. "1 WINNER'S CIRCLE J I - I . II EPF Bay Area Air Conditioning HONORABLE MENTION Senica Air Conditioning HONORABLE MENTION Inverness Air Conditioning & Heating klyte@netscape.com WINNER White Aluminum Products, Inc. 74( 1? H.ac :k | s - I- . I T'I Blackshears II Aluminum, Inc. OHNOR-,BLE I le ITION Welch Appliances wwwwelchappliances.com WINNER Cedar CreekAssisted Living Residence wwwACedOar -rPlife corn HONORABLE MENTION Brentwood Assisted Living admin@brentwoodretirementcom 352-746-6611 HONORABLE MENTION Knightly Auto Service 563-281 I WINNER Capital City Bank HONORABLE MENTION Apopka Marine WINNER Dave's Body Shop w,//wdavesbodyshop.net WINNER Joe's Carpet 726-4465 * 795-9605 HONORABLE MENTION Cellular Depot 795-0100 WINNER Spectrum Computers specomp@tampabay.rrcom WINNER Maronda Homes WINNER Seven Rivers Golf & Country Club WINNER Cravings on the Water 795 -2027 WINNER Debbie's School of Dance WINNER Serenity Day Spa wwwserenitydayspacitrus.com WINNER Waverley Florist 795-1424 WINNER All Prestige Automotive, Inc. HONORABLE MENTION George's Discount Tires georgeswhoesaletire.com WINNER Hooper Funeral Home and Crematory wvwHooperFuneralHome corn HONORABLE MENTION Wilder Funeral Home 352-628-3344 WINNER Badcock Home Furniture wwwbadcockcom HONORABLE MENTION Seven Rivers Golf & Country Club WINNER Ace Hardware wwwacehardware.com HONORABLE MENTION Kane's Ace Hardware WINNER Sears Miracle Ear 795-1484 HONORABLE MENTION Professional Hearing Centers WINNER Maronda Homes 352-527-6461 WINNER Will Construction WINNER Clark Construction 795-0606 WINNER Sheldon & Palmes Insurance 628-1030 HONORABLE MENTION Brice Insurance rbrice@brice-agencycom HONORABLE MENTION Smart Interiors Home Furnishings v smartintenorsfurn corn WINNER Moschello's Italian Restaurant 628-7704 HONORABLE MENTION Whalen Jewelers WINNER Lakeside Kennels Iskbryan@gmail.com 726-5591 WINNER Munro's Landscaping 'Water Gardens' Pavers com WINNER Citrus Memorial Health System HONORABLE MENTION Allen Ridge Family Care Center nalhealth.com WINNER Taylor Made Homes of the Nature Coast WINNER Citrus Pest Management www. itruspest.comn WINNER Pizza Hut WINNER Color Country Nursery 746-6465 WINNER BobTsacrios Plumbing, Inc. WINNER Budget Printing Center Congratulations SCITR o COnUN 4% Reader's Choice Winnersl WINNER WXCV-Citrus 95 wwwcitrus953.com WINNER Coldwell Banker ,Ist Choice Realty * Next Generation Realty Investors Realty of Citrus County Inc. WINNER River Safaris & Gulf Charters HONORABLE MENTION Capt. Mike's Lazy River Cruises WINNER AAA Roofing aaaroofing@mindspring.com WINNER Gist RV Sales & Service Inc. gistrv@earthlinknet HONORABLE MENTION Satellite Depot 795-0100 WINNER Charlie's Fish House Restaurant 795-3949 HONORABLE MENTION Frankie's Grill www frankiesgril.com WINNER Pinch A Penny Pool * Patio *Spa wwwpinchapennycom WINNER Midway Animal Hospital 795-71 10 WINNER Citrus Paint & Decor 795-3613 HONORABLE MENTION Discount Wallpaper & Windows 1-800-531-1808 WINNER Best Buy Water 795-0003 WINNER Nature Coast Web Design ., ,. � N~ .eCr.!utDesign net I I CITRUS COUNTY (FL) CHRONICLE Trish Harrelson Realtor� Cell 302-7741 -' ., [iii Uttice S 27- I 1 25018 N. Lecanto Hwy,. Beverly Hills ai T �: MI- 9 7 ZM , ,1a1' JaIt 1507M BRAND NEW DREAM HOME IN FINAL DAYS OF CONSTRUCTION 4 BR/3 BA all with walk-in closets. ' . Ceramic tile thru-out with wood fir. Sin dining rm. Every wall has insulation *,.. . plus sound board between master -- ,, " , B. R/great rm. SS appls. w/oven/ S - & -- convection gas stove. Elec. air filter S unit, maple cabinets, exercise room. . Oversized 2 CG and a 4+ car det. gar. w/a poss. office or in-law suite. Di. North 491, Left on Mustang, App. / mi turn Right on Butternut to end, Right on Danny Court Cul-de-sac at end, Middle House. 722132 *Home Finder* *Home Finder* *Home Finder* 72073 Citrus Ridge Realty 3521 N. Lecanto Hwy. Beverly Hills, FL 34465 1-888-789-7100 0 e 1 i .';S2) '95-2 888 260-"8 For All YOUR Real EsI re NEEDS'.-. M �- Cristal R.r. FL 3i29 JOY BILY ' . - kl. -R ...N . i, i ,REALTY ONE al IRA REALTYLTONEYqONhn Bur ... . a. ar. .,M VISIT US FRI & SAT 10-3 & SUN 1-5 Located at 606 Independence Hwy, Inverness Home shown is $115,000 on your lot. New homes by Ken Sorochen CBC 1254453 (352) 344-1442 (352) 302-1155 ^ .nw^ aJ Get Res ulits In The Holmefron t Cictss ifieds! PINE RIDGE $339,900 S " "'This is it! The home you have been waiting for. 3/2/ 2 extended Captiva Model S w/ lush landscaping, open floor plan, 12 ft. ceiling & large rooms. Fruit trees, shed w/electric. Very private expended patio. ,." '352-527-1820 317439 2 Locations Open 7 Days A Week! Citrus Hills Office Pine Ridge Office7 Prudential 20 W.Norvell Bryant Hwy. 1481 Pine Ridge Blvd. Hernando,FL 34442 Beverly Hills, FL 34465 Florida Showcase 352-746-0744 352-527-1820 Properties Toll Free 888-222-0856 Toll Free 888-553-2223 , -. | An independently o ned and operated inember of The Prudential Real Estate Amliates, Inc. o.t on.re Couch C Realty & Investments Inc. Specializing in Commercial Properties, Farms, Ranches, Acreage, & Waterfront Homes LI� Richard (Rick) Couch " Lic. Real Estate .' .', Broker ''" NM Cell: 352 212-3559 Fax: 352 344-8727 CALL TODAY TO EXPERIENCE THE CURB APPEAL ADVANTAGE CURB ga# t (352) 637 - CURB (2872) ,APFPEAL Georqe E.L'Heureux 2619 East Gulf to Lake Hwy, Inverness, FL .=2 --v E i.:.I, W� .1 .T, LA FM1 1 .- .5 - - --r - 0 eqmm lk $166,900 Fawn Ridge Series r -- , neighborhood. #315892. $119,900 3/2/2,2131 sq. ft. Up to 100% financing ..... CALL RUTH FREDERICK 1-352-563-6866 available. Wood cabinets, master w/ GREAT AREA -Jacuzzi tub, Tile, Sprinklers. Garage NEAR LAKES, ,door opener, Landscaped lot included! . HIKING TRAILS. -- - -A, 2 cr Citrus Springs : 0ondr NEW 3 BEDROOM J & FA.ILY ROOM _____ - - rm e - . D"O'. . ." ....- . O T., AFFORDABLE, HILTOP VILLAGE ...& rm din n 2. -:-.j r * - ' " 3 bedroom, 2 bath mobile with an above-ground pool are newer roo & AC. Nice treed lot A litle point an Sfenced, private garden area pubic water. ONLY elbow grease will make this a great home. #31747, a ' ' $69,900. #316372 PRICED AT $145,000. o1' 1 -.%- - PLEASE CALL RENEE ROSENBERGER 860-5301 ASK FOR CHERYL SCRUGGS 352-697-2910 S129,900GOLDEN REDUCED FOR QUICK SALE! POND" ADJACENT 4BR $139,900 located on a U.S. 41 3.5 mi. N of SR 491, from main spring-fed small entrance fountain W. on Citrus Spgs. Blvd., .- lake. Splitooar left @ Elkcam, stop, right at Century, left on plan wi large inside laundry Kitchen opens to family Pickinz, right to 8132 N. Maltese Dr. rm Faal nT area cold b h liy PttyR . of water fromfaiy room.wwwCitrusCounvSo orn TERRI PT. ETE PAV #313813 $249,900 CALL RUTH FREDERICK PETER PAV 1ASK FOR JEANNE OR WILLARD PICKREL 1-352-563-6866 1-800-780-7409 345-212-3410 Bill Hutchings Realtor 352-697-3133 corn Visit my website at: SellHomeBuyHome-4U.comn Well cared for 2/2/1 on quiet street Split-plan model featuring Ceramic tile, double pane windows Newer carpet and a 10x20 workshop MLS #311820 CITRUS SPRINGS POOL HOME 3BR/2BA -1/2 acre 42" Wood cabinets - Under slab & in-wall tubing for pest control MLS#316515i - 1Lili Garcia | - . GRI, Realtor' - ....- 352-302-9129 . EXIT REALTY LEADERS lIarcial19itampabay.rr.com .Ji 2BR/2BA/2CG -NEW ROOF IN 05 -Double pane windows -Now water heater *Kitchen cabinets -New countertop SMLS #317164 *Custom Built 3/2/3 -Corian Counter Top *GE Profile Appliance -Tray ceiling *Buiit-in bookshelves & Entertainment system MLS#314936 HOMOSASSA �Ne' constructor| *3BR/2BA/2CG *Hardwood floors *Wood kitchen cabinets MLS�1317249 OWNR lkeAI C ALL 06MVT Al, LS 3093 W. EDISON PL., CITRUS SPRINGS New. Construction *Granite Countertop -SS Adolances -Cro'.n Moulding tILS .3 7499 .s~niIe. rn-I - - - NEW DUPLEX NEW CONSTRUCTION- CITRUS SPRINGS *BeaLt'ful duDlex -3BR/2BA -Lanai "CGon ea soje -Up raded aDlihances Sa' ismert property TIs 'r> a muSt Seer 3184 W. ELDRIDGE DR., CITRUS SPRINGS *New Construction *Granite Counteroop -SS Appliances -Crown Moulding MLS 9316841 Pm ' HOUiSE 6mmmmwmm�l 1� HELLERWTM"L; Phyllis Strickland Cell: 613-3503 4641-----'3' -905 Now I I I ! 111112 IgAMIUM-MAIII1.1ilig -a- 1._ Fimmy, Si:.rriimw�,i< 7, 2007 ID I CITRUS COUNTY (FL) CHRONICLE ME GAIL COOPER II Alan DeMichael ERA Multi-Million Dollar Realtor ERA AMERICAN 4511 N. LecantoHwy. SCell: (352) 634-4346 Beverly Hills, FL 34465 KE Cell: (352) 634-4346"lways There For You" (352) 746-3600 - Office REALTY J OFFICE.# (352) 382-1700 7 24.. ' n (352) 613-5752 - Cell Realtor Mail: homes4u3@mindspring.com ' ( 1 lt o . PRIVACY & LUXURY! . SUGARMILL WOODS! '" - . $325,000 47 Linder Drive 3 BR/3 BA Cabana home. All rooms open to lush, tropical courtyard with walled, lagoon ,s _,. pOol. True move-in condition. Separate guest suite. ".. '::. . View aninme this " ?w newee end. ti Angela Tanzer 697-1783 CUSTOM 31313 2005 POOL HOME 31212 HOME ON ESTATE LOTI ,.. .i:,r. Gorgeous kitchen w/wood cabinets & pantry. Extra appeal, Vaulted family room open to kitchen w/ wide dining room. Great room floor plan with large breakfast bar & nook. Newer refrigerator & dish- office, bonus or family room. Walk-in shower in washer. Skylight in Master bath. Well for yard. Master & guest bath. 16 zone security system. Central vacuum. Glass enclosed Florida Room. Decorative fans. All rooms are vaulted. Pool has New roof in 2000. Extra large garage w/bump- pop-ups, waterfall & 4 jets. Open floor plan. Must out for workshop. Plenty of room to add a pool see to appreciate! #310689 $307,000 #311112 $185,000 -See VirtualTour@ llw.l|Js IIJleh Ims.co* Im osmebgorto D rip.,W'HuA o.. suallour f com Tour #87756 1 Betler rel ,omre zee it Today ir, -' person' $194,900 MILS#311271 O0r ,-r, m J H_ ,Holder tl on 417, L on tJ Corru'; Sprangs Bh'. lafi iountaino R on Derttn. R on 4dlr L on Roseborb Drive. House on left. Floridi b 8m omnmu nity Noeapaper SBrn C Iqorldo i B'a tComm un~ls MIDDLE AGED MAN would like to meet lady for dining & dancing. Call (352) 382-5661 RENTAL FINDER rentalfinder.com Oil-sffr I $$CASH WE BUY TODAY Cars, Trucks, Vans - rt FREE Removal Metal, Junk Vehicles, No title OK 352-476-4392 Andy Tax Deductible Recei0t TOP DOLLAR I For Junk Cars L $(352)201-1052 $ $$ CASH PAID $$ Having Code Enforcement problems w/ Junk vehicles in your .yard? (352) 860-2545 $ CASH $ | PAID FOR | S Unwanted | I 352-220-0687 i 1.-- 8- J BEAGLES Two left, to good home. Less than 1 year old. 352-302-8696 COMMUNITY SERVICE ' The Path Shelter is available for people who need to serve their community service. (352) 560-6163 or (352) 746-9084 Leave Message Entertainment Center Custom Built white South West style, High quality queen mattress & box spring. (352) 746-7261 FREE CATS & KITTENS Spayed & Neutered (352) 697-1705 SFree Computer Parts The Path Shelter Store 1729 W. Gulf to Lake Hwy. Lecanto HEMINGWAY CAT (5 TOE) female, creme & white w/blues eyes, must also take kittens which are 1/2 minx. (352) 400-3203 KITTEN Male Almost 12 wk.s Orange & white. (352) 400-3203 Mobile Home, SW scrn. porch, deck, central air, you haul. (352) 795-7325 PIT/BULL DOG MIX 1 yr. Good Natured. Needs plenty of room to run.(352) 560-3878 RAILROAD TIES Some good, some not. Take all, bring help. (352) 726-4788 The Path Shelter will pick up your unwanted vehicle Tax deductible receipt given (352) 746-9084 $ $ Found Pigeon, DeRosa Village, Call to Identity (352) 563-5038 Hound/Lab Mix 2 1/2 mo. old, neutered Dunnellon Area (352) 489-1872 r I FORCES BANKRUPTCY - .Name Change | Child Support *Wills 1 We Come To You I 637-4022 .795-5999 BUY or SELL! Receive Quality Customer Care! FLRealEstateSale.Com TERI PADUANO, REALTOR C21 JWMorton (352) 212-1446 FREE Home Warranty H Visual Tour ON ALL MY LISTINGS -9 Act Nowi GARAGE SALE LEFT OVERS AD Did you ever wonder what to do with those left over items from your Garage sale? We have the Answer for Only $12.95 The week after your Garage Sale just give us a coiall. --^--- SRENTAL FINDER rentalfinder.com * SOD * SOD * SOD. BANG'S LANDSCAPING Sod, Trees, Shrubs (352) 341-3032 MR CITRUS COUNTY REALTY ,, ' . ALAN NUSSO 3.9% Listings INVESTORS RESIDENTIAL SALES COMMERCIAL SALES (352) 422-6956 ANUSSO a and read 1,000's of Items sold everyday using the Chronicle classified. Call today and we'll help you get rid of your unwanted stuff. CIIRpNI(E (352) 563-5966 (352) 726-1441 A free report of your home's value living.net ril lmill SBoOst Traffic To Your Website Chronicle Website Directory in print S and online. Our search engine will link customers directly to your site. In Print + Online = One Price $51.95 (3 lines of copy for 30 days) Header and Website Address Call Today: (352) 563-5966 --..- - -- J wheels.com Free Sample NEWSPAPERS online.com Real Estate Information, CountyHomelnfo.com homefront.com RENTALS rentafinder.com0 SOUND OFF NOW hushoboom cornm YOUR voice heard! BABY SITTER Needed in my Homosasso Home 352-422-2806 PRE SCHOOL TEACHER & SCHOOL AGE TEACHER F/T or P/T Experience required CDA preferred TODAY'S CHILD or TADPOLES (352) 344-9444 (352) 560-4222 EXECUTIVE PERSONAL ASSISTANT Reception exp. is a plus. Must have reliable transportation. (352) 341-5425 For Upscale Country Club Spa & Fitness Center Apply in Person: 240 W. Fenway Drive Hemrnando SPA Receptionist /FRONT DESK PERSON For Upscale Country Club Spa & Fitness Center Spa exp. a Plus. Apply in Person: 240 W. Fenway Drive Hernando ScolmfBauty CNA's 3-11 & 11-7 Avante at Inverness is currently accepting applications for full time 3-11 & 11-7 CNA's Please apply at: 304 S. Citrus Ave, Inverness or fax resume to 352-637-0333 or email tcvret avantegrouo.comr COME JOIN OUR GREAT TEAM! LPN FT 3-11 CNA PT/FT Excellent Benefits Please apply within at Cedar Creek ALF 231 NW HWY 19 Drug Free Workplace CERT. DENTAL ASSISTANT Must have experience with Radiology & Expanded Functions, Please contact: Peggy or Vicky @ (352) 746-0330 wom NURSES Avante at Inverness is currently accepting applications for a Fulltime 3-11 Nurse and a Part-Time 7-3 Nurse. Please apply in person at: 304 S. Citrus Ave, Inverness or fax resume to 352-637-0333 or email to tcvpret avantearouo.com Office Needs Person That has Experience Assisting Doctor. Must give injections, draw blood, EKG and have some front desk exp. Send Resume to: Citrus Co. Chronicle Blind Box 1370M 1624 N. Meodowcrest Blvd., Crystal River Florida, 34429 RECEPTIONIST F/T for Busy Drs. Office. Exp'd w/Medicol Mgr & accounts receivable. Fax Resume to: (352) 746-6333 EARK AS YOU LEARKN CNA Test Prep/CPR Continuing Education 341-2311/Cell 422-3656 RECEPTIONIST/ BILLING MANAGER Needed for medical office. Exp. preferred. Fax Resume to 352-489-6920 * ALL STAR A Enthusiastic and Innovative Graphic Designer wanted: Rapidly growing Citrus County company seeking graphic designer with strong understanding of color theory, design best practices for creating visual designs and layouts for web pages, print marketing, e-mail, and sales materials. PHP and MySql knowledge a plus. Competitive salary and benefits. To join our team in a fun, creative environment please e-mail links to your online portfolio and resume to careers@smartphone- experts.com Beverage Cart Attendant Apply at Black Diamond HR, 3073 W. Shadow Creek Loop, Lecanto EOE DFWP COOK Ex p. nec. Apply at Black Diamond HR, 3073 W. Shadow Creek Loop, Lecanto EOE DFWP SERVERS Fine dining exp a must! Apply at Black Diamond HR, 3073 W. hadow Crreek Loop Lecanto EOE DFWP Mon- Block Masons, Mason Tender & General Laborers Must have own transportation. Call (352) 302-8999 ELECTRICIAN Commercial & residential. 5 + Yrs. Exp, & resume required. Must pass drug screen & physical. Over-time avail. MIDAS Const. (352) 465-7267 EXP. FRAMERS WANTED EXPERIENCED ASPHALT MAN SEAL COATING & STRIPING HELP CDL Lic. (352) 563-2122 FACILITIES & SUPPLIES This position is responsible for the activities related to the daily cleaning, maintenance & upkeep of the facilities and grounds and the I activities related to ordering, receiving, and expensing supplies. Make scheduled, periodic checks of facility ventilation and security systems, I generators & other equipment. Will maintain vehicles &I vehicle logs, handle Sbiohazard totes,I respond to security alarms & facifly i emergencies, as well as, coordinate and monitor vendor work at facility. Two year's facilities experience preferred and commercial driver license desired. Background check required. Please submit application to: 1241 S. Lecanto Hwy . Lecanto, FL 34461 EOE/DFWP Immediate Work EXP'D. ROOFERS NEEDED Commercial & Resi- dential Crews. Must have valid Driver's IIc. & willing to work, (352) 341-3921 INSTRUCTORS WANTED HEAVY EQUIP. OPERATOR SCHOOL Located in Lecanto Patience, punctuality, ability to work w/ other instructors, min. 3 yrs. exp. in Construction required, Training provided. Fax Resume to 352-628-7686 and or e-mail atsmary @(yahoo.com $$ GOT CASH $$ Earn great money by setting appts. for busy local company, Call Steve @ 352-628-0187 DURACLEAN FRANCHISE Looking for Exp'd CARPET/ FURNITURE/ TILE CLEANERS 352-527-9801 person. (352)726-1099 Sudoku ***** But will train. Salary, comm., Bonus & Full Time Lawn & Maintenance Caretaker For large home, equipment furnished Send resume to: Blind Box 1371 P Citrus County Chronicle 106 W. Main St. Inverness, FL 34450 GRIMALDI'S Exp. Irrigation and Landscape Person Fl. Driver Lic. Required Apply in Person Mon - Fri., 12-4pm ONLY MAINTENANCE Person Needed Apply in Person TRADE WINDS MARINA & RESORTS 10265W Fishbowl Dr. cHomosassa: SERVICE COORDINATOR Local, long established home appliance dealer needs energetic, consumer oriented, flexible individual for multi-role position as Service Dept. Coordinator/Parts Clerk/Receptionist computer exp. & moderate lifting req'd. Competitive wages w/benefits. FAX Resume 726-4618 VENERO & SON INC., Inverness. We are a Drug/Alcohol w/Pre-employment screening & background checks. See TOP JOB LISTING on Chronicle Website S income after taking course Flexible schedules, convenient locations. eCourses start in Sept. 877-766-1829 f Liberty Tax Service Feeo for books. 4puz.comn 4 3 8 925 3 75 1 .9 3 5 4 8 46 6 8 !47 753 3 a2 8 Fill in the squares so that each row, colunir, ai-ndl 3-1by-3 bDOx contain the numbers I throI.gh 9 2D FRIDAY, SEPTEMBER 7, 2007_ ZS ZLjTE 8.9 1, 6 2 1 -, 6 :E s 6 E: q~L 1V G8sZ T 5-6.Z5 /-9t,9 E: 8 9�8 ,Et;7 6 1 ? z s trS;E 8 Z T 6 9 V T7 19-S Z6 8 Z s z68T L91 z 9 816 - z 1' s 1f � CITRUS COUNTY (FL) CHRONICLE CAREGIVER Paralyzed man. Re sumes, ref. to P0 Box C.. C.15 Ham p.344 I- "- . p - ym ot C"j lc= A/C Tune up w/ Free permanent filter + Termite/Pest Control Insp. Lic & Boned Only $44.95 for both. (352) 628-5700 caco36870 ADVERTISE YOUR BUSINESS IN THE SERVICE DIRECTORY TODAY! $$$$$$$$$$$$$$$$$$ Its Less than Pennies per day per household. $$S$$$$$$$$$$$$$$ IF WE DON'T HAVE YOUR BUSINESS CATEGORY. JUSTASK. WE CAN GET I TFOR YOUI CALL TODAY (35b) boS-bYbo "DEBRIS HAULING" & Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 55' BUCKET TRUCK 20% off mention of this ad. Uc. & Ins. (352) 344-2696 r AFFORDABLE, HAULING CLEANUP, | PROMPT SERVICE STrash, Trees, Brush Appl. Furn, Const,.& Lic #0256879 352-341-6827 r-T- -- - ii T "REE REMOVAL . I Stump grinding, land I I clearing, bushhog. 352-220-5054 A TREE SURGEON Uc. & Ins. Exp'd friendly serv, Lowest rates Free estimates,352-860-1452 Food Vending Unit 14ft x 8 ft., fully equip., grill, french fryer, soft ice cream, micro. 2 refrig., sinks, AC, Inven- tory incl. also truck avail will sell together & sep, 352-270-8126 LAWN BUSINESS & EQUIP. FOR SALE Steady year round income (352) 628-4500 COMMERCIAL LOANS Prime, Sub-Prime, Hard Money, REHAB, Private. Also, equip. loans. Mark (352) 422-1284 *Chris Satchell Painting & Wallcovering.All Estimates Pressure Wash., Lic./Ins. 24/7, (352) 476-9013 Willie's Painting & Pressure Cleaning Great Rates! Uc. & Ins. 527-9088 or 634-240 Affalbte Boal Maint. & Repair, MeohanlcxdElecicad Cuslam Rig. John (352) 746-4521 DOCKS, SEAWALLS, Boat Lifts, Boat Houses, New, Re decks, Repair & Styrofoam Replace. Uc.CBC060275. Ins. (352) 302-1236 -S BATHTUB REGLAZING Old tubs & ugly ceramic tile is restored to new cond. All colors avail. 697-TUBS (8827) WILL DO Mending, Simple Altering & Ironing Call (352) 249-9106 FREE ESTIMATES FREE P.U. & DELIVERY Furniture & Cornices 628-5595 1 Call does it All O Infants Welcome 0 � 352-726-5163 SOTO'S CLEANING SERVICE Uc. & Ins. 352-489-5893/216-2800 Spiffy Window Cleaners Special Introductory offer 20% Discount lic. & Ins. (352) 503-3558 Additions-Kitchens Bathrooms - Decks, Woodfloors - Ceramic DJM Constructors Inc. Uc. , Lic#2708 (352) 628-0562 CALL STELLAR BLUE for all Int/ Ext. painting needs. Uc. & 194IF3* -a aft icm Ideal Carports Custom Build Your Dream S. ' * Carport L * Garage " . Boat - Barn r RV Cover * Any Metal Bldg. "Whatever you need, we've got you covered" 352-795-6568 7958W. Gulf to Lake Hwy., (Hwy. 44) Crystal River 1ww ide[alca-ip ts ] Ultra Seal Coatings Specializing in roof and concrete sealing * Vinyl & Stucco Sealing * Pressure Washing * Designer Driveways * Pool Decks I` t-------- �--- - - - -, ' Summer Special K Roof cleaned $145�� -------352-628-1027------------ 7196352-628-1027 CLASSIFIED -U SPOON COLLECTION 1933 Chicago World's Fair w/3 row spoon rack. (18 spoons) Will break up or sell for $1500. (352) 860-1649 5 PERSON HOTTUB Gray w/redwood Exc. Cond. $500 obo p aymnd ~etes on atov paymentscon a Willie's Painting & Pressure Cleaning Great Ratesl Lic. & Ins. 527-9088 or 634-2407 #1 A+TECHNOLOGIES All home repairs. Also Phone, Cable, Lan & Plasma TV's Installed. Pressure wash & Gutters Llc271352-465-9201 3rd GENERATION SERV All types of fencing, General home repairs, Int/Ext. painting FREE Est., 10% off any job. lic # 99990257151 & Ins. (352) 201-0658 A# 1 L&L HOUSEHOLD REPAIRS & PAINTING No job too smailll 24/7 Lic3008 352-341-1440 r AFFORDABLE, I HAULING CLEANUP, I | PROMPT SERVICE | Trash, Trees, Brush, I Appl. Furn, Const, I I Debris & Garages 352-697-1126 L -- -- J ALL AMERICAN HANDYMAN Free Est. Affordable & Reliable. Uc.34770 (352)302-8001 FASTI AFFORDABLE RELIABLEI Most repairs. Free Est., LIc #0256374 (352) 257-9508 HANDYMAN If Its Broke, Jerry Can Fix It. Lic#189620 352-201-0116,726-0762 Handyman Wayne Uc 34151, 352-795-9708 Cell 352-257-3514 Hauter & Clark Handyman & More Home, Office & Floor Cleaning, Lawn Serv. Pressure Washing, (352) 860-0911 NATURE COAST HOME REPAIR & MAINT. INC. Offering a full range of services. Lic.2776/lns. (352) 628-4282 Visa/MC STAYLER AC & HEATING, INC. Lic. & Ins. CACO 58704 352-628-6300 3-ton A/C $350 (352) 564-0578 ELECTRIC STOVE 20", 4 BURNER, perfect for small mobile, cabin or camper, $100 (352) 613-3503 Frigidaire Refrigerator 18.5 cu.ft. white, glass shelves, clean, very good cond., $275. Twin wicker headboard, natural, $45. (352) 726-2269 GE MICROWAVE Space Maker XL1400 Like New $100 (352) 382-5973 FULL ELECTRIC SERVICE Remodeling, Lighting, Spa, Sheds Uc. & Insur. #2767 (352)257-2276 Poe's Sewer & Drain Cleaning, We unstop toilets, sinks, bathtubs, 24/hr serve 352-302-7189 "DEBRIS HAULING" & Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 r AFFORDABLE, HAULING CLEANUP, I PROMPT SERVICE I Trash, Trees, Brush, Appl. Furn, Const, I I Debris & Garages 352-697-1126 --6-"'- A-I Hauling cleanup, garage clean outs. trash turn. & apple. Misc. Mark (352) 344-2094 All of Citrus Hauling/ Moving items delivered, clean ups.Everything from A to Z 628-6790 C.J.'S TRUCK/TRAILERS Furn., apple, trash, brush, Low $$$/Professional Prompt 7 day service 726-2264/201-1422 Fum. New & Re-Roofs * Flat & Low Pitch , Roof Repairs * Commercial * Residential Shingle - Metal - Built Up Roof Torchdown - Shakes nMst.alationws S- s-t: < 11 a i 3 0 5 (352) 628-2557 Lucksroof.com Roof Inspections Available Drug Free Workplace Stale Certified Lic. #CCC1327843 SRI Renewing I Existing CL concrete --- Driveways,1 Pool Decks Lanais, Etc. Maintenance-Free Acrylic, Designs, Patterns, Colors 352-220-8630 Licensed/Insured/Dependable 79,1 FRIDAY, SEPIrii REFRIGERATOR $140 (352) 382-5661 REFRIGERATOR Kenmore 27 cu. ft. Side by Side. White. W/Refreshment door. Water & Ice. $400 (352) 637-6310 Iv. mess. REFRIGERATOR Side By Side, Kenmore Ice & water in door, GE Smooth Top RANGE w/self-cleaning oven MICROWAVE, GE Above Stove. $750/all OBO (352) 341-5247 Refrigerator, GE, 18.2 almond, ice maker glass shelves, like new $145. (352) 726-3707 ROPER BY WHIRLPOOL REFRIGERATOR Freezer on top. White, like new, less than yr old. $450 A 5 STAR COMPANY Go Owens Fencing. All types.Free estimates Comm/Res. 628-4002 BARNYARD 11FENCINGto Serve You. ccc 1325492. 795-7003/800-233-5358 RE-ROOFS & REPAIRS Reasonable Rates!! Exp'd, LIc. CCC 1327843 Erik (352) 628-2557 All Tractor/Dirt Service Land Clear. Tree Serv., Bushhog, Driveways & Hauling 302-6955 BIANCHI CONCRETE Driveways-Patios- Sidewalks. FREE EST. Llc#2579 /Ins. 746-1004 Concrete Slabs, Pavers Remove & Haul Debris Demolit. 352-746-9613 Llc# CRC1326431 CONCRETE WORK. Sdewao, Drveways Patios, slabs. Free est. Lic. 2000. Ins. 795-4798 Decorative concrete, River rock, curbs. Stamp concrete Fuston's River Rock (352) 344-4209 ROB'S MASONRY & CONCRETE Slabs, driveways & tear outs LUc, 1476 726-6554 Additions-Kitchens Bathrooms - Decks, Woodfloors - Ceramic DJM Constructors Inc. Lic. & Ins. CBC 058484 (352) 344-1620 ALL AMERICAN HANDYMAN Free Est. Affordable & Reliable LUc.34770 (352)302-8001 DOTSON Construction WHIRLPOOL WASHER & DRYER Lg. capacity, hardly used. Snowbirds. $300. (352) 344-3485 AUCTION WILDWOOD Art Glass & Pottery, Lighting, Paintings & Morel 2:00 PM SAT. SEPT 8 Register/Preview IPM 101 S Main St-Hwy 301 Tiffany, Miller, Lund- berg, Moe Bridges, Bradley & Hubbard, Pittsburg, Mont Joye, Muller, Loetz, Weller, McCoy, Owens, Rosevllle, Nippon, Van Briggle, Fenton, Carni- val, Jack In The Pulpit, Northwood, Taoll Case Clocks, Fine Art by Agam, Bowen & Stefanovic, a Carpet & more! Info/Photos Link: www. pescoauctions.com We'll will also be LIVE ONLINE at wlldwood 748-0788 Manny Pesco AU2959, AB2164 Terms: As-Is, Where-Is 10% BP 7% Sales Tax CASH, credit card or Check w/positlve ID m-. Uc. #2713, Insured. Showers. Firs. Counters Etc. (352) 422-2019 * TOP SOIL SPECIAL Screened, no stones. 10 Yards $150; 20 Yards $250 352-302-6436 All Tractor/Dirt Service Land Clear, Tree Serv., Bushhog, Driveways & Hauling 302-6955 r .LANDCLEARINeG I Site prep, Tree Servn, I � Dump Truck, Demo I 352-220-5054 M.H. Demolition & Salvage. Land clearing, tree brush removal (352) 634-0329 TRACTOR SERVICE Tree/Debris Removal Driveways/Demolition Line Rock/Fill Dirt Sr. Disc. 352-302-4686 TURTLE ACRES Bushhog, Grading, Stumpgrlnding, Removal No job too small. (352) 422-2114 YARD VAC Dethatching Lawns Vacuum Leaves & Thatch, Tree Trimming (352) 637-3810 or (352) 287-0393 FREE ESTIMATE Licensed & Insured Boulerice. ...' & SUPPLY INC. Family Owned & Operated NEW ROOFS - REROOFS - REPAIRS FREE ESTIMATES I . . . . . . :1 -,�u %~.m.j r -I COMPETEROO S(352) 628-5079 * (352) 628-7445' "LIVE AUCTIONS" For Upcoming Auctions 1-800-542-3877 DEAL I *. Ln mm me mm A ' * 352-464-3967 * POOL LINERSI A * 15 Yrs. Exp. * Call for free estimate v (352) 591-3641 POOL REPAIRS? Comm. & Res., & Leak detection, lic. 2819, 352-503-3778, 302-6060 WATER PUMP SERVICE & Repairs on all makes & models. Anytime, 344-2556, Richard HARBOR KEY DEV. LLC Lic. CGC 004432 Ins Custom Luxury Homes Add-on & Remodeling Res. & Commercial Industrial - Warehouse New Steel Buildings Steel Bldg, Repairs Thermal Roof Coatings Area Rep (352)628-4391 CRAFTSMAN 8'4" Radial Saw + 3 DRAWER Cabinet Exc. Cond. $400 (352) 637-2838 HITACHI Miter saw, like new, $100; (352) 726-9183 52" HD RCA TV, with en- tertainment center and DVD player. $600/OB0. COFFEE TBL & 2 END TBLS. It.oak $40. (352) 527-4122 55" HITACHI Projection TV Oak Cabinet w/doors. $400 (352) 527-0032 "DEBRIS HAULING" & Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 Avallablell Lic. & Ins. 352-860-0714 ALL EXTERIOR ALUMINUM Quality Price! 6" Seamless Gutters Lic & Ins 621-0881 NEED A NEW DOOR? Pre-Hung Door units New Const. or remod. ENTRY POINT by Perry's Lic. 2598(352)726-6125 U ruyo nc. Form Direct Rolls Sod Installation Seeding & Mulching 352-812-4345/817-4887 Roof Cleaning Specialist The Only Company that can Keep Mold & Mildew Off Siding - Stucco - Vinyl - Concrete Tile & Asphalt Roofs GUARANTEED! Restore * Protect * Beautify - Residential & Commercial a Suncoast - Exterior Restoration Service Inc. "877-601-5050 * 352-489-5265 CIRCLET SOD FARMS INC. RESIDENTIAL & COMMERCIAL INSTALLATIONS Travis Leturno * Larry Leturno ax 352-628-5552 352-400-2222 Lic. & Ins. Larry 352-400-2221 Aggr-- %ik..AC7 CAN |1: ! 4D FRIDAY, SI.PTEMBER 7, 2007 Computer Pro, Lw Fit Rt. In-House Networking, virus, Spyware & morel 9 PC. PATIO SET 45" Rd. Table, 4 cush. chairs, Chaise, Choir. Uke New $195 (352) 422-3190 GIRL'S DRESSER & DESK, $100 both. Multi Color Comforter for Full size girl's bed, & purple bed skirt. $50. (352) 341-1963 burgundy sofa & matching chair, $400 Also country style oak dining table, 6 chairs, like new, Orig. $1,900 sell for $800 352-560-3743 Large Dining Table w/ 6 chairs, $125. obo, 836 Great Pine Pine Pt. Inverness Sat. & Sun. Only (352) 220-9011 Leather Recliner Chair, deep blue, excel. cond. 6 mos. old $850. abo, Must Sell. (352) 212-3508 Mattress-King Spring-Air, deluxe pillow top, gently used, $400. abo (352) 382-5030 New Tiki Bar All Bamboo w/ 2 bar stools, must sell $150. (352) 621-0300 PAUL'S FURNITURE Open for New Season Beginning Tues Sept 11 Shop while it's cooler in the mornings. Tues-Sat. 9a-lp Turn at Paul's sign on Grover Cleveland to Holiday St. Homosassa 628-2306 Portable L-Shqped Bar for Kitchen or Patio Solid Oak, formica top, $300. (352) 465-2823 Preowned Mattress Sets from Twin $30; Full $40 Qn $50; Kg $75. 628-0808 Queen Serta Bedding Set, very clean, w/ frame linens, skirt, matching comforter & curtains. $400. (352) 212-0013 r RENTAL FINDER rentalfinder.com Solid Wood Ashley Coffee & End Tables, like new, $350. (352) 270-3573 Twin Bed, solid maple headboards, mattress's etc. like new $225. obo S.M.Woods (352) 382-4912 WALL UNIT, 4 pieces, glass door, light oak, good cond, can hold 19" TV, $400. (352) 527-2304 2 Hustler commercial mowers and 18Ft utility trailer, 6 mo SCOUTS TRACTOR MOWER 20HP Kohler, 50" Cut - Extra Blades - Very Nice $950 382-4572 SEARS CRAFTSMAN 2001 riding mower,., 19HP, 42" cut $450 (352) 628-2769 "LIVE AUCTIONS" For Upcoming Auctions 1-800-542-3877 CRYSTAL RIVER Big Yard Sale, Fri. 7th 7am, -? walker, free standing trapeze, ca- nes magic chef washer lots of misc. 4215 North Gary Pt. (352) 220-6566 ANTIQUE WAREHOUSE SALE Furniture, Art, Estate Jewelry, Collectibles, too many unique items to miss! One Day Only SAT 8-3 AIRPORT STORAGE Hwy 19, Crystal River. ANTIQUE WAREHOUSE SALE Furniture, Art, Estate Jewelry, Collectibles, too many unique items to miss! One Day Only SAT 8-3 AIRPORT STORAGE Hwy 19, Crystal River. BEVERLY HILLS HUGE Yard Sale Fri. & Sat. 9-? Tools, Records, Furn., Musical Instrum., HH. Items, Electronics, Jewelry, & Much More 3526 N. Tamarisk Ave. BEVERLY HILLS Moving Sale Call after 6pm 352-249-0839 BEVERLY HILLS MOVING! Fri. - Sun. 8 - 4 95 S. Lee St. BEVERLY HILLS Sept 7, 8, & 9, 8-2p Something for Everyone 9 Delia Street BRENTWOOD BIG ESTATE SALE 2121N Brentwood Cir Fri. Sat. Sept 7&8 8-3pm Come and enjoyll! Citronelle off 495 Fri. Sep. 7, 8 -4pm follow signs, Stockholm Ln Furn., Too much to list! CITRONELLE Thurs & Fri 585-3324 Tools & Bldg material 7916 W. Delia Ln. CITRUS SPRINGS Fri. & Sat. 8 & 9 7138 N. Farmlngton Terr CRYSTAL RIVER Sat. & Sun. 8 & 9, 9-4 Professional Gas Services 4280 N. Suncoast Blvd. 1 mi. N. of Mall on US19 Bargains Galorell!! F/P's, log sets, cook tops, space heaters, Too many items to list. DUNNELLON Fri, Sat & Sun. Tools, electrical & plumbing supplies, furniture, 1998, Mini Van, Jet Skis, boat tri & misc items. 4422 W. Dunnellon Rd "Is it for your wife, or do you want to wear it home?" 19" 14kt Vigaro link, gold chain, 6 months old, paid $800 Sell for $300 (352) 637-7125 CRYSTAL RIVER Sat. 8, 7 am, Gold jew- elry furn., hshld. items 2190 N. Crede Ave. FLORAL CITY Out of Business, Antiques, collectibles, general merchandise, displays, exc. All or part. Frl. Sat. Sun. 9a-2? 8618 E.Orange Ave 341-0003 lct Now INVERNESS LAST SALE- EVERYTHING GOES. Fri. & Sat. 8am-? 1105 Woodcrest Ave. Ent. center, cmp8, 8-2p desk, workbench, etc. Sat. Sept 8 Yard Sale in Timberlane Estates @ 1165 North Sloan Terr. start 8NESS Scrub Tops tar Health large & X large, Fri. 7 & Sat. 8, 9-2 Stag Ct., off N. Apopka 1105leave mWoodrestsAve. LECANTO Timberlane Estates @ 1PC.65 NorthIO Sloan Terr. Table Workerswivel, Lickersn (352) 382-2076 12 NEW METAL I.C. CRATES, use for tool or&? $80/all orug. $8 ea250; serv. for Mobile Home. $300/obo (352) 400-1424 Approximately 300 Concrete Blocks 8 x 8x16 $250 for All (352) 726-3093 BEER MAKING EQUIP. Everything you need to make & bottle your own beer, $100. (352) 746-3508 BLUE MOON RESAILl HEAVY DUTY Forrier, Richard Iversen (352) 628-9186 6 BDRM HUD $54 000! Only $429/mol 5% dvwn. 20yrs at 8%. For listings 800-366-9783 Ext 9845 1BR Furn Caorpt Scrn rm $550 1BR unf'urn $400 1 BR RV turn $325, No pets. 628-4441 3/2 $214/mo HUD Home 5% down 20yrs a 8%apr. For hsirngs call 800-366-9783 Ext 5704 CR/HERNANDO 2/1 CH/A, $400-$500 1st, last, sec. No pets (352) 564-0578 CRYSTAL RIVER 1 BR Sm. Trir., Free Electric, Satellite, fncd. No pets/No smoking. $150/Wk. or $550/MO. $250. dep 352-563-1465 PARROT CAGE, $25; SCROLL SAW & SOLDER GUN, w/accessories, $45, Beverly Hills 352-257-3793 Patio Furniture, includes square glass table & 8 padded chairs, $200. BBQ Grill $50. (352) 344-4127 Pool Cover, 16 x32, plastic, like new, 1 yr. old $80. (352) 563-1406 Power Tower - Abs, Dips, Pull ups, workout Machine, $79. Out Door Plant, 5 ft tall, umbrella Tree $19. (352) 422-3190 PROPANE TANK 250 GAL. $275.00 352-795-6693 RADIO CONTROLLED HELICOPTER Comes w/radio & instruction book. $750 (352) 560-4289 REFRIGERATOR 21 Cu. Ft. Fridgidaire; Almond. Runs good $25 SECTIONAL SOFA 4 major pieces $150 (352) 726-7421 GO GO BY PRIDE SCOOTER $370.00. SONIC SCOOTER By Pride. $400.00. Both easy trunk load. (352) 628-9625 Hospital Bed Like New $850. (352) 212-2733 WALKER W/BRAKES, Seat, & Basket Brand Newl $100; TV STAND $15 5 HOMES For Sale from $79,000. to$149.900 CALL 352-621-9181 NEW JACOBSEN 2008 MODEL 32 X48.3/2, 2 x 6 Con- struction 18" ceramic tle. IFIEDS GARAGE SALE LEFT OVERS AD Did you ever wonder what to do lefl. ROTIWEILER Male, 14 mos. AKC, in tact, beautiful dog. Pick of litter. MUS EL! $500 (352) 621-0848 SCOTTISH TERRIER AKC REG. Gorgeous, Male. 22wks old. Mov- ing, must sell. 1st $450 firm. 352-422-5685 SHIHTZU, BIk. & White 4 i/ 3 PC Sectional w/ 4 recliners, abstract, beige/green/brown print. $800. (352) 465-6002 4 Pc. Bedroom Set Pickled white, oak queen/dbl $250. 9 Pc. Bedroom Little girls, painted incl. bed bread & curtains $175. (352) 637-6046 Bassett Sofa Sleeper, green black, new cond. $250. abo 8 Pc. Patio Set, neutral $250. oab (352) 382-4757 BEDS 4* BEDS *S BEDS The factory outlet store! For TOP National Brands Fr.50%/70% off Retail Twin $119 * Full $159 Queen $199 / King $249 Please call 795-6006 BUREAU W/MIRROR 6 Drawers. 5'W. Green & tan. $40; RD. OAK TABLE 3' diameter, Bind. Oak $50 (352) 527-2769 CITRUS HOME DECOR @ Homosassa Regional, Consignment, like new furniture (352) 621-3326 Couch & matching chair & ottoman, $350 Antique Grandfather clock, solid walnut, $700 (352) 637-1321 Lowery Organ Excellent Sound, fine pc. of furniture, storage bencb, manual $500. (352) 628-5186 Wurlitzer BERETTA 22 Semi-Auto. Exc. Cond. $375 (352) 637-7150 EVERLAST BOXING GYM HEAVY & SPEED BAGS $125 352- 287-9847 POLARIS 800 Low hours '06, $4500 (352) 302-1861 SIG SAUER P220 45Cal. with nightsites, 4 clips, holster and 2 rmag. carriers. $800 (352) 447-1447 WE BUY GUNS On site Gun Smithing (352) 726-5238 6 x 12 V Nose Enclosed Dual Axle w/brakes. LED lights, more. 2006 Carry On $3,500 (352) 382-1804 '02 ENCLOSED Trir 5x10, New tires, $1200 4X8 UTILITY TRLR 15" tires, $200. 795-4770 Equipment Trailer $800. Sell or Trade (352) 382-3642 TRAIR Sewing machine in cariny case. $50/obo (352) 527-0424 Mattress Set, Simmons, queen, clean $125. Computer Monitor, flat scrn , NEC, 19" Analog, $45. (352) 465-2853 OFFICE FILE CABINETS (6) 4 Drawer w/hangers & folders. $35/ea. or $200/all (352) 563-0022 CITRUS COUN'IY (FL) CHRONCICF WORDY GURD BY TRICKYRICKYKANE+ 1st Ist/last/sec. Ref. Req'd 352-621-0931/212-2022 HOMOSASSA 3/2 C/P, Clean W/D, 1 acr. Remod. (352) 382-3675 HOMOSASSA Near Hwy 19 352-634-2368, Ist, ADULT PARKS RENT OR OWN LOT New 3BR, 2BA Skyline Home, /2" Drywall Porch, Carport MOVE IN TODAY SUN COUNTRY HOMES 1710 S Suncoast blvd. 352-794-7308 Great Financing 5BR 3BA- Designer Kitchen, Delivered and set up $73,900. /2 and 1 Acre Land & Home Packages MOVE IN NOW! 6 Homes Set Up All Sizes- All Prices SUN COUNTRY HOMES 1710 S Suncoast blvd. 352-794-7308 INVERNESS 55+ Lakefront park Exciting oppt'y, tor 2BR Mobiles. Scr. porches, appl., water incl. Fishing piers. $7,000-$15,000. Leeson's 352-476-4964 NEW CONDITION 48R, Paved, Rd. Rockcrusher area, sacrifice $81,900. (352) 621-9181 Cell (352) 302-7332 RENTAL FINDER rentalfinder.com CRYSTAL RIVER 5/2 Bonus room, FP, wood floors & tile, '2" drywall thruout, 9x42 scrn. country prch. on lac. $115,000 (352) 200-8897 2/2/Crpt. SW Exc. Cond. CHA, ceiling fans, scrnd 12 X 20 porch. Dbl. corner lot on paved street. $53K obo 352-503-6061/628-7480 2/2 ON 1 ACRE Lg. oaks, Nice! Newer apple , AC, roof over mobile, 14X24 wrkshp. $67,500, Bend Cove, Floral City 352-302-7817 3/2 SW on Two ih AC Lots. Scrn porch. BY OWNER, $44,500 1592 S Lookout Pt 2 blocks off US19 352-503-4142 3/2, 1/4 AC. Crystal Rvr Near Bic. Prk, New roof, well, septic. Handyman Spec. 42LcA.S.I Con- tract negot, No owner finran.(352) 302-5535 HOMOSASSA 27'X 68' 3/2 Over 1,836 SF. on 1/2 Ac. All new well, Septic, Power & Impact Fee Pd. Owner Fin. Avail. (352) 746-5918 LAND & HOME 2 Acre Lot with 2000 sq. ft., 3/2 NEW Home Garage, Concrete driveway & walkways, Carport. Beautiful Must See 10% down No closing cost $848.90/mo WAC Call 352-621-9182 LAND & HOME Move In Now!! *II I I 1l II 5. Actress Foster's rock band gofers (2) 6. Tabernacle-goer illustrator Rockwel -----H-nWT properly of UFS, Inc. � 2007 United Feature Syndicate, Inc. ] Thanks and $10 to Eli Singer of Park 2) Falls, WI for #4. (2) Send your entry to this newspaper. 7. Shovel user's harvest mites (2) SHHDDIHO SH99DI *L NVWHON NONHOW '9 SHIGVOH SHIIOP "9 , flI3HD HOHV 31 ilfYI lOOHS '8 aTid jaaMS T S6(H03 S(cHod 9-7.07 SHIASNV 2,200 Sq. Ft. of Living, 2.85 Acres, Paved Road, Fenced, 2 Car Carport, Pool, (352) 746-5912 or (352) 400-5367, turn. $64,550 TOO MANY NEWStoj lit House 2/1 Tropical Ln, $89,500 3/1 Tropical Ln, $99,000 Owner Finan.10% Down Or Rent 2/2's @ $600 mo Onr/Agnt 352-382-1000 RENTAL FINDER -N rentalfinder.com 2/r Furnished $1000 2r2 WF Furnished Home$19S0 2/2 WF Furnished Home 1600 SPRINGS 3/2/2 New Hmeuarmill Woods $1200 CRYSTAL RIVER 42 exor e RmthAps $50sR0 2/12 F Furnished codo1200 o12x r2 i E0H.': r o. 21F nur edoaso 2WF Furshed Home169508 CRYSTAL SPRIVERGS HOMOSASSA . 2 Mobile . m$750 l , 'L,,n H, . WS 2/1 niurn. $shed 625 Stra e. Units 2o2 er2 e $100.70 pertm e (352) 79 4-REN' (800)795-6855 jenalscom CRYSTAL RIVER 3/2 475/mo. 1st.+ ec. No Pets 1st &sec. No PeMts Don Crigger Real Estate (352) 746-4056 3/2/2CRYSTAL RIVER 3/2$1125. Management & Group, Inc. Licensed R.E. Broker >N Property & Comm. only Business > Res.& Vac. Rental Specialistsate owner Assoc. Mgmt. Robble Anderson 352-628-5600 info@oroperty managmentarouo. Group, Inc. rentalfender.com CRYSTAL RIVER NPropertwly & CRenovatedm 1 bedroom efficiencies w/fuly equip, kitchens. No contracts necessary. Next to park/only BuKings Bay Starting e $35 a day for a week or more (Includes all utilities & Full Service Housekeeping) (352) 586-1813 FLORAL CITY Lakefront 1IBR, Wkly/Mo No Pets. (352) 344-1025 INVERNESS Nicely furn. 1 br/1 bath at- tached to pet friendly home. $600. per month, uti's incl, + security, and pet deposit. 352-726-8094 3/2/2 Rent-to-Own New Home Citrus Spgs. Low Down, Easy Terms Danny (407) 227-2821 Crystal Palms Apts. 1 & 2 Bdrm 1st Mo. FREE! Crystal River. 634-0595 CRYSTAL RIVER 1 BR, laundry/premises, $500 mo,+ sec. deposit. 352-465-2985 CRYSTAL RIVER 2/1'/2 828 5th NE Ave. Nice, CHA, $600/mo + Sec. 352-586-5335 727-341-2955. lst/last/sec (800) 709-8555 INVERNESS Lg. 2/2 W/D hkup, $600/mo 352-341-2182 /586-2205 Crystal Palms Apts. 1 & 2 Bdrm 1st Mo. FREE! 4/2 Acrs 29 Michigan St. Inglis, 3,000 total sq. ft. /1.1st fir. turn. Near pool. $114,500 $1,000mo 352-249-3155 BRENTWOOD VILLA 3/2/2. gym, pool, golf. $900. mo. (352) 476-7128 CITRUS HILLS 2/2 Furnished Short Seasonal/Long term 352-527-8002/476-4242 CITRUS HILLS Meadow View Villa 2/2/1 Fully furn. Pool, (352) 586-0427 HOMOSASSA UNFURN $815- Sugarmill Woods 2/2/1VA Atrium Villa, Ig. lanai; 2/2 End Condo River Links Realty 628-1616/800-488-5184 PRITCHARD ISLAND 2/2 $150K, $8C0/moa Dock, Comm. Pool 352-237-7436/812-3213 CITRUS SPRGS 2/2 875 SF, Water & Lawn Care Inc. $650/mo 1st & Sec Avail Oct 8th 803-351-0833 FLORAL CITY 1/1 No smoke/Pet, $575/mo. + Sec. (352) 397-6591 HOMOSASSA 2/1 $550/mo. 1st & Sec. (352) 795-5268 INVERNESS 2/1, $550. mo., No pets, 1st. last + sec. 352-344-8389, 860-2418 LECANTO 2/2 Large, NEWI No pets $675/mo. 352-228-0525 INVERNESS 1/1 RIVERSIDE LODGE Furn. All util. & cable TV $695. mo. $300 moves you in. (352) 726-2002 6 BDRM HUD $54,000! Only $429/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 6 BDRM HUD $54,0001 Only $429/mol 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 3/2 $214/mo HUD Home 5% down 20yrs at 8%apr. For listings call 800-366-9783 Ext 5704 CONDOS, HOUSES SEAS, MONTHLY Furn & Unfurn. Heated pool. All new!! 352-302-1370 CRYS RIVER 3/2/2 Pool, Lease/OTB. $1300 Avail 10/1 352-563-9913 DUNN./CIT. SPRGS REDUCED $1001!! 2 HOMES. Both are 3/2/carport Totally refurb INVERNESS 3/2/2 NEW '05. No smoking/no pets. $800 mo.+sec. 352-726-1419 I RENTAL FINDER rentalfinder.com Rentals COUNTYWIDEI GREAT AMERICAN REALTY Call:352-422-6129 or see ALL at Sugarmill Woods Large New Home 3/2/2 $1,000/mo 352-601-3627 SUGARMILL WOODS RENTAL!! tri on 5 ac, $1100 352-726-0793 HOMAS. 2/1, MH Util. incl. Nice clean, quiet park. short/long term. $695 (352) 628-9759 INVERNESS Lakefront 2/2, DW 1600 sq ft fully turn., 44 E, East Cove $625 352-476-4964 LECANTO 3/2/2 Upscale, fumn. $/00/mo + Sec. Anne (727) 463-1804 BEVERLY HILLS 10N.Desoto2/1 $650.mo 8 N.Fillmore 1/1 $625.mo CRYSTAL RIVER 9 N.Candle 2/1 $550.mo INVERNESS 237 N.Croft 2/2 $750.mo 352-637-2973 BEVERLY HILLS 18 N. Osceola, 2/1'2/I & carport. New inside $725 mo. 1st., ist, dep. & 33 Murray St. 2/1 Y2. Ig shed & fence $600. mo. 1st. last. dep. 352-795-3000 1. Chevrolet rival's bungees (1) 2. Good-natured tennis ace Sampras (1 3. Take pics of a minstrel's "guitar" (1) 4. Faux chocolate childlike angel (2) INVERNESS FLEA MARKET " CC Fairgrounds Invites The Public SATURDAY ONLY $4.00,1,.- Outside Vendors $6.0.b-,. Inside Vendors 7am til ? For Info Call 726-2993 r- .J Ne 0usciesOny Citrus County's Only Local Newspaper T R U s COUNT Ask for code: 13 Cal between e.0 an 7930PMMonay6hr6Fnd a a 0 tostat ou0hmeS emSy VISA 4*� i( S,. . . 0I I* ..View_ CI 3 *rn, � . - ' '*.. *.T7 :.- - ..' . ' . " " ' - : , *-, . .- . ' - - � ' .' " : .� - :'." ,. . ., . , . -'. :. '. . - * , . " ' y v t. - ',- . '* . '. ! * ' . *,." " ." "� , '*"' : ; .(* -*'* ,,�f-'fV --. l 'P;, ' *- ... -. ", " *"- ' - : . -. . .. ,- ' * - . * -: , . ,. .. < T- ', " , ; ' .... .. . . * ...-..,. . ....... . , '-....................... . ... -. ............ ''.. . .-.,. ,. . .- . '" . ' - ::" . .. .^ '. : ** '. , : *^ *:" : ; " - *; -, "^ | .. :. *;*. � , , ... . .' ! . ;. � , ^ i * *-s.;^ - , i. .. T . -** * '-,i- ' . .� .' *.', ; *. ('. * , , - . :- . ... ,. , - . . ,<* . * 3--. * 3k.. * .11 ---- - - -------- - -m - - -11 a pt e PnatorsTsp a$500 $50 pp I otes'ni eti ti oeS thauniqu ui iaui der c I Ii An at PaPTho o tPatTho I $1000 F $75 ] I$500 Li $5011] I$300 A $25 a I$150 A $5 a] SIf you would like to support our NIE Program... Name Address City State/Zip Phone# Citrus County Chronicle m m- n- - m mm 1624 N. Meadowcrest Blvd., Crystal River Phone:(352) 563-6363 Fax (352) 563-5665 - -- - - CiIONICLE CITRUS COUNTY (FL) CHRONICLE ' CITUS COUNTY (FL) CHRONICLE BEVERLY HILLS 1/1/crpt. Glass Rm. Clean & Cony. Area $550 (352) 746-3700 BEVERLY HILLS 2/1 + Fl. Rm., 19 Harrison $650 (352) 422-2798 BEVERLY HILLS 2/1 First Mo. FREE. C/A. $700 (239) 776-6800 BEVERLY HILLS 2/1.5 & 2/1 $700 Neg. Ist/Ist/sec 352-427-2173 BEVERLY HILLS 2/1/1 Cleanly $695/mo. + Ownr/Agt 352-228-3731 BEVERLY HILLS S2/1/1. $565., Easy move In Terms (352) 382-3525 BEVERLY HILLS 28 N Adams $675 203 S Harrison $700 Rent/Rent to own HOME BUYER'S FRIEND REALTORS 634-4286 BEVERLY HILLS 3/1 WOWl Scrn Rm., strg. rm. Lawn care incl. Ref. Req'd $650/mo. j * 352-302-3319 BEVERLY HILLS 35SDesoto 3 N Jackson 40 & 68 S Harrison Rents betw. $650-700 (352) 302-8104 BEVERLY HILLS Lg. 2/2/1 Fam. Rm., Scrn. Rm. Appl. Good Area. Move-In Cond. $725 (352) 746-3700 ', BEVERLY HILS " 2 Bed w/FI. Rm. $700 S2 Bed Remod. $650, 1 Bed $600. 352-422-7794 CIT SPRINGS 2/11Y2/1 Cute & Clean! Scrn. patio, sm pet ok, CHA $625mo. 352-302-9053 CIT. SPRGS 4/2/2 $1,000. MOVES YOU IN $1,000. MO. ALL FEES WAVED (352) 597-3693 CITRUS HILLS 3/2 New Lger. Homes for Rent or Ls. Opt. Starting @ $950/mo. Ist & Sec. 352-527-8002/476-4242 CITRUS HILLS 3/2/2 w/pool. Pets OK $1,250mo 352-860-1245 (954) 600-9395 CITRUS SPRINGS 2/2 New '06, $650/mo. Inc. (352) 362-7543 CITRUS SPRINGS 1 3/2/1, w/Big caged, inground Pool $875. mo. * (352) 586-4105 CITRUS SPRINGS 9320 N. Santos, Nice 2/1, Den, new Berber, no pets, $595. + until. & S sec. (352) 628-0033 CITRUS SPRINGS Many Available $825.- $875. mo. 2 -4 wks FREE Rent if Qualify. (352) 795-9123 Charlotte G Realty & Investment LLC '" CITRUS SPRINGS @i'� Newer 3/2/2 ' @ 7895 N. Sorozen Dr. No smoking. 465-8877 ' $900/mo. F/L/S * x CITRUS SPRINGS Rent or Lease Option. 4/2/2, 2,200 sf. (352) 746-1636 CRYSTAL RIVER ---2/,12?/ifam rm., water, g"ar. & pest, incf..'750. + sec. (352)464-2716 CRYSTAL RIVER 3/2/1, Pets, negot. $750. mo. Ist &sec. ' Evenings 352-795-5126 CRYSTAL RIVER 4/2 . Spac. $825/ mo. + util. ^ Avail. 9/8 352-795-6282 I DUNNELLON/ Rainbw Spgs C.C. S Beautiful & Spacious : 2/2/2, FP, on wooded I /2 ac. $895/mo Rent to own or buyl 352-527-3953/ 352-427-7644 FLORAL CITY New 2/1, FP W/D, Dock, Canal Front, Near park. $800/mo. '" Owner. (352) 422-0294 MiLk Forest Ridge Village 2/2/2 $825.00 Please Call: (352) 341-3330 For more info. or visit the web at: citrusvillages rentals.com HOMOSASSA 2/1 /2 $700 2/1 $650 1st & Sec. Both Tiled, W/D HU Screen area. Trash pu Inc. Meadows Deed Rest. Comm. Credit/Ref. 'No Pets. (Sec 8 OK) 352-686-0539 HOMOSASSA 2/2, apple , LECANTO 2/1 $675/mo., Fish Pond, Fenced B. yd. 628-7042 NO CREDIT CHECKII RENT TO OWN 352-484-0866 visit jademission.com PINE RIDGE 2/2/2 sec. 1+ac w/fenced yard. Screen Florida room. Short Term Lease Poss. $1k per/mth. 352-266-2814 or 352-634-4304 SMW UPSCALE 2/2/2 SALE/ LEASE, scrn. lanal $900. mo 352-592-9811 CRYSTAL RIVER Spacious 2/2 condo. Beautiful waterfront view w/dock. Recently updated, partially furnished. Pool, tennis cts., cable TV. $900/mo (414) 690-6337 FLORAL CITY 3/2/2 OPEN LAKE FRONT $1,00Q mo. No smok/ pets (352)344-2500 INGLIS 1/1 Cottage, 14193 W. River Rd.,electric included $600. mo. 352-447-5244 Cell 352-613-0103 PRITCHARD ISLAND 2/2 $150K. $800/mo. Dock, Comm. Pool 352-237-7436/812-3213 3/2/2 Rent-to-Own New Home Citrus Spgs. Low Down, Easy Terms Danny (407) 227-2821 CITRUS SPRINGS Rent or Lease Option. 4/2/2, 2200 sf. (352) 746-1636 DUNNELLON/ Rainbw Spgs C.C. Beautiful & Spacious 2/2/2, FP, on wooded 1, ac. $895/mo Rent to own or buvI 352-527-3953/ 352-427-7644 FISHING IN FRONT YARD 3/2 ON 10.8 Acresll Detached 14 X 28 office, pool. fncd., pond. $325K Ownr. Finan. (352)621-3135 Owner Finance, Citrus Springs 3/2/1 Easy terms. Low down pay- ment (352) 201-0658 SALE OR RENT SMW OAK VLG. SOUTH Very Nice, near new. 3BR+ Den or4 HOMOSASSA Room for Rent $100/wk. incI all utl 352-586-3441 CONDOS, HOUSES SEAS, MONTHLY Fum & Unfurn. Heated pool. All newll 352-302-1370 Kings Bay Crystal River 1 mo. at a time Rentals Furn. 1/1 Apt. Sleeps 4. $1000/mo, Includes boat slip. 386-462-3486 RENTAL FINDER | rentalfinder.com Im A Private Investor, Looking to Buy, Res, or Commercial Properties for CASH 305-542-46 3/2/2 POOL HOME 2237 sq.ft living space. Backs to Black Diamond 3186 W Birds Nest Dr. MLS#315839 352-586-1558 CALL NOWI $289,700 3/2'2/2, Screen Pool 5310 Yuma $259,900. (352) 302-6025 BETTY MORTON Lic. Real Estate Agent 20 Years Experience 2.8 % Commission Rea Ielect (352) 795-1555 ELEGANT & GORGEOUS 4/4/2, 3,200+ Uv. SF Pool Home on 5i/2+ Ac. $595K #318216 Fran Perez, ERA Amer., BH (352)586-8885 Every Sunday 11-2 Price Reduced Again $485k 5/4V/2/3 3645 W. Brazilnut Road Go to\fl NEW & CLASSY 4/3/3, Pool on > 1 Ac. Kitchen has Corian, pull-outs, pendant lights, tiled backsplash, & S.S. appl. 10' ceilings throughout, 18" tile, raised vanities & Ro- man Tub. Mother-in-law suite w/Cabana bath. Over 3,800 sf. for $429,900 (352) 746-6161 -V 305 S Tyler St Lovely Home, totally remodeled 2/2/2 w/ large rms, family Rm w/ FP, Dining Rm, eat in Kit. all new tile, point, CHA, & Roof. Custom kit cabinets, new bathrooms, hot tub, landscaping w/ sprinkler system & more...MUST SEE, $169,500. (352) 746-9103 $79,900 2/1/Carport, w/Fam Rm.1126SF Liv. ALL BRAND NEW & beautiful (352) 464-2160 $99,900!I 2/1; 1,100 sf. 9 Polk Lease Opt. or Owner Financing Avail. Greg Younger, Coldwell Banker Ist Choice. (352)220-9188 CLASSIFIED Every Sunday 11-2 Price Reduced Again $485k 5/41/2/3 3645 W. Brazilnut Road Go to\fl SUNDAY 1-4 3/2/2 Brand New Beautiful Home 38 Milbark Dr. Homosassa $249,900 '(941)400-1101 WATERFRONT BEST BUY!! Doublewide, 2/2 turn. Deep water canal w/seawall & dock. SAT. 9/11 9-12 11695 CLEARWATER CT. HOMOSASSA Phyllis Strickland Keller Williams 352-613-3503/664-3905T. Paduano C21 JWMort 3/2/2 Rent-to-Own New Home Citrus Spgs. Low Down, Easy Terms Danny (407) 227-2821 A REAL GEM! 2/2/2 Hardwood firs thru-out, Fl. rm. Appll's like new. Custom cabinets, oversized lot near Gulf Crs. Anxious to sell at $149,900. 352-464-2094 BEAUTIFUL 2/2/2 New roof 2003, Call for updated details. $119K #317870 Fran Perez, ERA Amer., BH (352)586-8885 BEAUTIFUL NEW 4/2/2 2,235 SFLA, CT, Ig. Lanai, SALE OR RENT $1200 mo 407-468-2179 BEING TRANSFERRED MUST SELL 3/2/2, Cathedral ceiling, open floor plan on 13th hole. Split plan. W/l closet. Fncd. yrd, sprinkler, Ig. srnd. Fl. Rm. Below mrkt @ $220K (352) 489-1055 STILT HOMES Molular Stilt Homes 140 mph. zoning. We build, sell, deliver We do it allI Eliminate builder mark-up. Call the factory. John Lyons ann.-o.'oO w. o1in BONNIE PETERSON Realtor, GRI Your SATISFACTION Is Mv Future!! !l 1 Acre In Citrus Hills (infotube.net) ad #180976 for more details, or call 352-249-3299 REDUCED TO $200,000 BEAUTIFUL 3/2/2 Golf Crs. Home, New AC, roof & carpet. Nicely landscaped, clean, updated. 954-309-4262 -4 ARBOR LAKES 3/2/2 1580 sf., ingrnd jacuzzi, Gated 55+ comm. Reduced! Owner wants offerL & both, minor TLC 352-563-4169 6463 E. Morley St. 3BR, 2BA, 2 car garage built 2004 exceptionally clean, adjacent lot avail $140,000 (352) 341-3940 *" NO CREDIT CHECKII RENT TO OWN 352-484-0866 visit jademlsslon.com 3/2/2 CRYSTAL GLEN Elegant Home 2,577 sf. SOrig.$224,900/NOW $179,900 Ron Egnot 1st Choice Coldwell Bnkr. 352-287-9219 Lic. KR ea l Esta Mue11 20 Years Experience 2.8 % Commission Re6t'I Iect (352) 795-1555 CHARMING 2BR/2BATH HIGHLANDS, corner lot, circular driveway, prequalified only Must See. $124,900 (352) 201-1663 FOR SALE BY OWNER 2BD, 2BA, LR, DR, Lic.# CBC059685 Huge 3/2/2, Exclusive area in S. Inverness, complete remodel. Everything brand new OPEN HOUSE Sat. & Sun. 9 to 4, 836 Great Pine Pt. (352) 220-9011 LOVELY 2/2 ON treed lot. New roof, AC, ceramic tile & carpet. Extra lot also avail. Must See to appreclatel $152,900 (352) 220-3401 SELL YOUR HOME Place a Chronicle Classified ad 6 lines, 30 days $51.95" Call 726-3983 563-5966 Non-Refundable Private Party Only 'S5 per addfloracl ine (Some Resrilclloni May apply) WINDERMERE VILLA Pristine/original model 2/2/1,$155K FSBO (352)726-8503 3/2/3, CBS on 2.35 Ac. '83, 1.365 LlvSf, Fncd Ac! Baraain Price $164KII #314335 T. Paduano C21 (352) 212-1446 3/2/1 Zan Mar Village Charming & Peacefull Lots of upgrades, FP, hardwood. $115.925 John Malsel III Exit Realty(352) 302-5351 GREAT HOME ON 1 AC.I, 2/2/2, new roof, renov. in 2004. Open floor, w/splilt plan $179,900 Terri Hartman Crossland Realty (352)726-6644 1 AC MOL 3/2 20 X 30 det. Garage. Close to Power Plant. $89,900 (352) 302-9351 BETTY MORTON I LIC. Real I STre Agent 20 Years Experience 2.8 % Commission Re(a275elect (352) 795-1555 BONNIE PETERSON Realtor, GRI Your SATISFACTION IsMv Future"I (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC FRIDAY, SEPTEMBER 7, 2007 5D 2/1/1 CHARMER 1600 sf. Liv, Rm. & Fam. Rm., FP, New metal roof & windows. 12 X 20 Wrkshp w/strg. Homel Priced for Quick Sale! $134,900 Harley Hough. EXIT Realty Leaders 352-400-0051 3/2/lGospl Is. $169,900 >1,800 s.f. FI. Rm., Scrnd Porch, Util. Big. on approx. 3/4 Ac. Room to build pool or add. home on inc. adj. lot. (352) 726-3481 3/2/2 Foxwood Home New paint & carpet. 1620 S. Windmere Pt. 168K 352-257-2646 Beautiful Bargain 3/2/2 New roof, fireplace, tile, 25X25 LR, Immac. cond. 2100SF. 100% FIN. $176K, (352) 586-7685 BUY OWNER T.P.A.61665 BETTY MORTON tile floors, gar. 560 s.f. 9'6" elevation, city water, paved St. Corner lot, room for RV, Owner fin. $189,000 628-2703 greaffl,0001 Only $429/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 $10,000 Cash Back At closing Brand new homes. Only $995. down. Call (352) 694-2900 3/2/2 on 1.3 ACRES Borders State Park 7102 Smith Ter., HOLDER ForSaleByOwner.com Listing # 21030419 $219,900, 352-465-5233 3/2 $214/mo HUD Home 5% down 20yrs at 8%apr. For listings call 800-366-9783 Ext 5704 BONNIE PETERSON Realtor, GRI Your SATISFACTION Is Mv Future! I (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC BUYING OR SELLING? CALL ME FOR RESULTS! Call Me PHYLLIS STRICKLAND (352) 613-3503 Keller Williams Realty CRYSTAL RIVER, Y Ac. Beautiful New 2 Story Cape Cod! 5/212/2/2' Wood Floors, Great Neighborhood. Over 2.800 Sf.(352) 746-5918 FISHING IN FRONT YARD 3/2 ON 10.8 Acres!! Detached 14X28 office, pool, fncd., pond. $325K Ownr. Finan. (352)621-3135 * HOME FOR SALE On Your Lot, $110,900. 3/2/1 w/ Laundry Atkinson Construction 352-637-4138 Lic.� CBC059685 Lk Rousseau Area 3/2/2 garages, shed, FP in LR, 2V'/2ac, beautiful parklike setting w/lg. oak trees. 9701 Northcutt Ave. $180,000 352-795-4770 3/2/1 FISHING IN FRONT YARD 3/2 ON 10.8 Acresl! Detached 14 X 28 office, pool, fncd., pond. $325K Ownr. FInan. (352)621-3135 REDUCED! 3/2/2 Fncd. Acre, Custom, S.S. Appliances $250,000 Sharon Levins. Rhema Realty (352) 228-1301 3/2 SW on Two /2 AC Lots. Scrn porch. BY OWNER, $44,500 1592 S Lookout Pt 2 blocks off US19 352-503-4142 6 BDRM HUD $54,000UU! Only $429/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 3/2 $214/mo HUD Home 5% down 20yrs at 8%apr. For listings call 800-366-9783 Ext 5704 * FISHING IN FRONT YARD 3/2 ON 10.8 Acresll Detached 14 X 28 office, pool, fncd., pond. $325K Ownr. Finan. (352)621-3135 RIDE GOETHE 10.9 Ac.I Fully fncd, barn12 X 12 stalls + paddock 2/2 MH Gorgeous hill-top views $215K Well< mkt 2/2 CITRUS HILLS Greenbrier II,1st fir. turn. Near pool. $114,500, $1,000mo 352-249-3155 PRITCHARD ISLAND 2/2 $150K, $800/mo. Dock, Comm. Pool 352-237-7436/812-3213 REDUCED TO $200,000 BEAUTIFUL.coam Fcan "Crystal River "Homes I Winne 1 Ac. $364500 352-422-0294 SELL YOUR HOME! Place a Chronicle Classified ad 6 lines, 30 days $51.95" Call 726-1441 563-5966 Nan-Refundable Private Party Only S par addiTionalllrie (Some Rert icl Ions May apply) Vic McDonald (352) 637-6200 Realtor My Goal Is Satisfied Customers REALTY ONE Outstanding Agents , Otldsl nlng Rftulb (352) 637-6200 MR CITRUS COUNTY REALTY ALAN NUSSO 3.9% Listings INVESTORS RESIDENTIAL SALES COMMERCIAL SALES (352) 422-6956 ANUSSO FISHING IN FRONT YARD 3/2 ON 10.8 Acresil Detached 14 X 28 office, pool, fncrd., pond. $325K Ownr. Finan. (352)621-3135 KINGS BAY DRIVE 4/2/2 on canal, immac. Pool home, separate suite, gated, $825,000 (352) 634-1805 LET OUR OFFICE GUIDEl: Yl PRITCHARD ISLAND 2/2 $150K, $800/mo. Dock, Comm. Pool 352-237-7436/812-3213 REDUCED to $299KI '05, 3/3/3+ w/boat dock & 2.33 Ac. MUST SEE!! #308410 T. Paduano C21, JWMorton (352) 212-1446 1-15 HOUSES WANTED Cash or Terms John (352) 228-7523 Im A Private Investor, Looking to Buy, Res. or Commercial Properties for CASH (305)542-4650 WE BUY HOUSES CaSh. Fast l 352-637-2973 Ihomesold.com ACREAGE FOR SALE 0.5 - 2.5 Zoned for MH or home. Priced to sell! By Owner , Ownr fin. avail. Low dwn, flex terms.Se Habla Esponol (800) 466-0460 5.63 Majestic Acreagel By Duval Is. public boat ramp w/pub water & barn stall. Elite New Home Site! $249K #313843, T. Paduano, C21352- 212-1446 3/2 SW on Two '2 AC Lots. Scm porch. BY OWNER, $44,500 1592 S Lookout Pt 2 blocks off US19 352-503-4142 FARMS &WATER FRONT WATER FRONT trolling mtr, lites, bilge, live well, galv trir. 2 yrs old, like new. Paid 6000 sell $3,950 call 302-5784 Move to the Smoky Mountains 3/4-3 acre tracts starting at $79,900. 15 rain from Pigeon Forge Gatlinburg. Low taxes Low crime. Majestic Mountain Views. (888)215-5611 x101 'tn.com. I BETTY MORTON I O 1 /4 ACRE in Crystal Manor, Lot 23, Block 15, Unit 1, Surveyed, Asking $69,900. (352) 795-1531 2 PR Beautiful LOTSII!i Maverick Ct. & Gorge Lane $59,900 each. #315012/#315015 Fran Perez, ERA Amer., BH (352)586-8885 4 CITRUS SPRINGS RESIDENTIAL LOTS Adjacent Lots 0.23 Acres each 3028, 338, & olandllc.com rentafinder.,com = L RENTA L FINER PONTOON BOAT TRAILER Tandem axle, 13" tires, galv, 31 ft.adjustable. $1,400. (352) 447-0572lr. New prop & motor. $5,500 (352) 489-3440 AIRBOAT 18' Rivermaster, S.S. Belt drive, trolling mtr. 500 Cadillac w/warranty. $15K (352)628-1883. ,: ', ' .. ; MR CITRUS COUNTY REALTY ALAN NUSSO 3.9% Listings INVESTORS RESIDENTIAL SALES COMMERCIAL SALES (352) 422-6956 ANUSSO.COM Lic. Real Estate Agent 20 Years Experience 2.8 Percent Commission Reei Iect (352) 795-1555 BUY NOW Bargains Everywhere! KEYWEST 1520 A "REEL" STEAL 2005 15' w/ trailer ALL THE UPGRADES! I II! (too many to mention). Has less than 100 hours. Just asking what is owed, call 400-5520 LANDAU 14' Alum, Jon Boat w/25 hp Merc. motor & trir. $2,500 352-564-8476/422-5081 LOWE 17' BASS BOAT, aluml- num, w/ carpet, 50H, 4 stroke, yamaha, w/ trr,. $6,500.(352) 795-9873 Nature Coast Marine New, Used & Brokerage We Pay Cash for Clean Used Boats 352 794-0094 Nature Coast Marine New, Used & Brokerage We Pay Cash for Clean Used Boats Center.com 352 794-0094 SNature Coast Marine Sales & Service I Present this Ad for 10% Off on all I Parts & Service | 1590 US 19, | Homosassa S352-794-0094 -0 NEW T-TOPS & CUDDY CABIN TOPS Super Closeout Salel Won't Last Longi Call for Pricing Mon-Frl. 9am-5pm (352) 527-3555 NITRO 18' 1994, 150 Mercury w/Traller. Ready to fish $6,500 OBO (352) 465-7209 PONTOON 16' 2003 Sylvan 16' w/02 40hp 4-stroke and 02 galv trailer. Bimlnl toptrolling motor, livewell, depth finder, much more. VERY NICE $8950. 212-5179 PONTOON 18' With trailer. '00 40HP motor. All in great shape. $35 SAILBOAT 17' Com-Pac, Sm. safe family cruiser. Shoal Draft (18") Keel. Trir., extras. Asking $1,750 Needs TLC (352) 563-0022 SEA PRO 21' 1998, Center Console, 150hp Yamaha, $10,000 (352) 795-2537 Iv. mess. SEA RAY 18' '99 Bowider w/ trailer, (352) 628-9056 SEAPRO 1999 21' V2100cc bay series.150 Yamaha w/trailer, bimini, radio, trolling mter 13.000. (352)748-5005 SEARS HD 14' Aluminum $400 or trade for a Ghenoe. (352) 795-3764 SPORTCRAFT '86,20 ',CC, 140 OMC, Sea drive, rebuilt '05, boat/mtr/trlr. 16', Center Console, F.F.. Uvewell, 40 hp Merc. mfr., bimini top, trir. Mint Cond.I $6,500 (352) 382-5404 THUNDERCRAFT 16FT, '89 Bowrider, OMC I/O, new carpet & seats like new, garage kept $2800obo 352-270-3641 Vectra Deck Boat '06, Uke *2 weeks In the *2 weeks Onlnel *Featured in Tues. r;cg= Boats 38ft, 2005, C-9 Cat eng. 3 slides, fully loaded, 10k mi. $185,000. (352) 795-9873 �L� 6D FRIDAY SEPTEMBER 7 20 7 -, _Lr Recreation~i -a^^Tehic3les^^^ BIG RV-SALE BY COMO RV at Crystal Chevrolet Hwy.19- Crystal River Aug. 31 to Sept 9 352-422-1282 DAMON 32', 1992 454 Chevy eng, 27K ml, 2 ACs. queen bed.Non Smoking, No pets, Lots of extras & Exc. Cond! 1.,90 (352) 527-8247 FOUR WINDS 31' '04, Duct AC, Pwr. lev., Bckup camera, en.. Loaded! 14K mi., 40,000 (352) 422-7794 454 CHEVY ENG. & TRANSMISSION $1,050 OBO (352)746-5077 Lambo door hinges fits Honda & Acura, $300 obo (352) 422-0792 Leer Pick up Cap, Fits 2000 GMC Sonoma Ext Cab, very good cond. $300. (352) 726-9267 LEER TOPPER, fullsize truck forest green, $250. (352) 476-2149 LIFT GATE For Truck 12 Volt, Hydraulic Exc. Cond. $1,000 (352) 621-0982 Topper, Red, long wheel base, xtra hvy. duty, Ford 250 like new $1500.00 sell or trade (352) 382-3642 -S S $ $ $ $ $ $ $ $ $ I TOP DOLLAR S For Junk Cars _ $ (352) 201-1052 $ s CASH BUYER-No Junk for Trucks, Vans & Cars Lorry ^-----m . '01 Honda Accord I LX, Auto A/C Save I I on Gas, Only $6,988. | 866-838-4376 - S'01, Ford Taurus SEL, S Low Miles, Leather Sunroof, S ONLY $5,995. I _866-838-4376 S'03 HUNDmAI SONOTA I Low miles, fully I i Loaded Only $7,988. 866-838-4376 S 05, Kia Rio, S Save Gas and Money At S $129. a month * 866-838-4376 J A WHEEL OF$5,995 A DEAL 5 lines for only $37.95!*' *2 weeks in the Chronicle! *2 weeks Online! *Featured in Tues. "Wheels" Sectioni --C a ALL SAVE AUTO AFFORDABLE CARS 100+ Clean Dependable Cars FROM $450- DOWN 30 MIN. E-Z CREDIT 1675 US HWY 19 HOMOSASSA 352-563-2003 --- - mi BUICK CENTURY '02 Custom Sedan, 1 owner 65K, meticulous, Ithr. Int. Loaded. Non-smoking. $8,995 (352) 726-3520 BUICK LESABRE 2004, Sr. owned, 67K mi. good cond., $8,500 Call before 9pm (352) 382-2420of a kindl$10.200 obo. (352) 527-6553 CADILLAC Deville '02, Only 32K mi., Silver/ Shale Leather. Garagd Sr. Owned. $12,900 352-422-0201/726-3730 Cadillac EIDorado '92. custom paint, mi., ml. Blue/ creme, beautiful & perfect! $30,800 (352) 860-1239 MERCURY 2006, Marquees, Ultimate Edition, 12,900ml, under warr, $16,100.(352) 795-5554 SATURN SCI '99 3 dr, 4 cyl, auto, 127K mi. Cold AC, Runs/drives perfect. $2550 (352) 453-6870 TOYOTA '01, Corolla, auto, AC, P/S, P/B, 114k hwy. mi. 1 owner, well maint., all records $5,995. (352) 628-9984 Polce kmpounds For sde! Cas from S0 For isfngs ac SL, 126K, White, Both tops, New tires, $10,500 352-586-6805/382-1204 TRIUMPH SPITFIRE '80. Very low miles, runs great, perfect project car. $4,000 (352) 503-6263 $5001 Police Impounds For sale! Cars from $500! For listings call 1-800-366-9813 ext 7374 05 Nissan Crew Cab I 4x4, LOADED, I | ONLY $16,988, 866-838-4376 L mm mm i L-zlulll | '07, Chevy Crew Cab, Z71, Like A Rock Call i 866-838-4376 J A WHEEL OF A DEAL 5 lines for only $37.95!* S2 weeks in the *2 weeks Onlinel *Featured In Tues. "Whs " SectionI Call Today (352) 726-3983 or (352) 563-5966 For details. *S5 per additional line Some Restrictions May Apply BUICK LASABRE '92 Blue, 4dr, runs great $1400 (352) 563-0642, eve. CHEVY '/2 TON PU '71. short wheel base, great shape, 350 auto. Edelbrock carb. Intake headers, 17" whis & tires Illness forces sale.$5850. 352-726-1711 Days 637-6519 after 6 '97, SLT, Laramie ext. cab., diesel,70k mi., $12,000. (352) 795-9339 DODGE '98, Dakota, w/ topper & sun visor, 45,520 ml., $5,500. (352) 621-7647 DODGE RAM '96 1500 Club Cab, $3,800/obo Rebuilt Engine & Trans.Runs gd. 352-465-2087/697-2357 FORD '04,F150 XL, Super Cab V8, Auto, A/C, P/S, 34k well maint., 1 owner, $14,300. (352) 628-9984 ml. $6,500 (352) 503-3571 FORD RANGER 2004,27K mi., Auto, AC, V-6. Exc. Cond. $10K ob '01 Nissan Pathfinder LOADED, with Everything Only 9,899. 866-838-4376 L----- .... '02 Buick Rendez- I vous Perfect, SUV i For Family Don't Miss At $8,495 866-838-4376 02 HONDA CRV SAuto, All Power A steal at S Only $10,988. S 866-838-4376 --i --- = El-- '98 SATURN SL It, I Leather Sunroof 32K I | ONLY $4,990. 66-838-4376 8 CHEVY Blazer Sl0 mi.! *2 weeks Online! *Featured in Tues. "Wheels" Section! Call Today (352) 726-3983 or (352) 563-5966 For details. "S5 per additional line Some Restrictions May Apply CHEVROLET 2500 '04, LTSilver1 Police Impounds For sale! Cars from $500! For listings call 1-800-366-9813 ext 7374 CHEVROLET '93 G-20 van, Mark Ill, V-6 auto., AC PW PL new parts tires, $2,250 (352) 344-5003 CHEVY STEP VAN '73, Good Cond. $1,995 (352) 621-0982 CHEVY STEP VAN '78, C30 Series. Good Work Truck $500 (352) 621-0982 CHRYSLER 2000 Town & Country LX. one owner, ANUSSO.CQM $5001 Police Impounds For sale! Cars from $500! For listings call i -A nn .AAA .. 1A -f 717 *rKEE KIVIMUVAL UF-' ATV's, bikes, cars, jet skis mowers, golf carts. We sell ATV parts 628-2084 HONDA 05, 450R, like new, low hours, exrtremly fast, must sell due to moving, $20000 OBO. (352) 489-1130 HONDA TRX 200 ATV, runs & drives, with high and low transm. $600obo 352-628-2769 POLARIS 800 Low hours '06, $4500 (352) 302-1861 SUZUKI DRZ 125 2006 DRZ 125, Excel- lent condition, have only been riden very little Asking $1200.00 (C) 352-257-2051 Chroniclel *2 weeks QOnlnel *Featured in Tues. "Wheels" Sectioni Call Today (352) 726-3983 or (352) 563-5966 For details. '$5 per additional line Some Restrictions May Apply *FREE REMOVAL OF. ATV's, bikes, cars, jet skis mowers, golf carts. We sell ATV parts 628-2084 GOLDWING SE 1990, Honda, 72K mi. mi. PAGSTA MOTOR SCOOTER, auto, street legal. Uke new, only 60mi. $695/obo (352) 628-4276 YAMAHA '85, Venture Royal, exc. cond., new tires, 37K mi. Asking $2,200 obo (352) 621-0927 848-0907 FCRN PUBLIC NOTICE Pursuant to FL St 713 585. Auto Lien & Recovery. Inc., with Power of Affttor- ney, will sell the following vehicles to the highest CITRUS COUJN'Y (FL) CHRONICLE 852-0907 FCRN Advanced Towing PUBLIC NOTICE NOTICE OF PUBLIC SALE: ADVANCED TOWING gives Notice of Foreclosure of Lien and Intent to sell these vehicles on 09/18/2007, 8:00 a.m., at 4875 S. Florida Ave., Inverness, FL 34450, pursuant to subsection 713.78 of the Florida Statutes. ADVANCED TOWING reserves the right to accept or reject any and/or all bids. 1LNLM82W8TY621926 1996 LINCOLN Published one (1) time in the Citrus County Chronicle, September 7, 2007 851-0907 FCRN SOUTHWEST FLORIDA WATER MANAGEMENT DISTRICT PUBLIC NOTICE The Southwest Florida Water Management District announces the following public meeting to which all interested persons are invited: CITRUS COUNTY TASK FORCE OF THE CITRUS/ HERNANDO WATERWAYS RESTORATION COUNCIL DATE/TIME: Monday, September 17, 2007 at 2:00 p.m. PLACE: St. Martin's Marsh Aquatic Preserve, Crystal River Preserve State Park. 3266 North Sailboat Avenue. Crystal River, FL 34428.), ext. September 7. 2007. 855-0907 FCRN Commission Records Division CLASS: bidder to satisfy lien, All auctions held with re- serve, as Is where Is, Cash or Certified funds, Inspect 1 week prior at lenor fa- cility. Interested parties call 954-893-0052. Sale date 09-20-07 @ 10:00 am. Auction will occur where each vehicle is lo- cated under License AB0000538. Be advised that owner or Ilenholder has a right to a hearing prior to the scheduled date of sale by filing with Clerk of Courts. Owner/Llenholder may re- cover vehicle without In- stituting judicial proceed- ings by posting bond as per FL Stat. 559.917; 25% buyer premium addi- tional. Net proceeds in ex- cess of lien amount will be deposited with the Clerk of Court. #CITD659; lien amt $15,984.86; 2002 FORD TK ViN# 1 FTNW21 F22ED06724 Ilenor: Cody's Repair Serv- ice, 7487 E. April Ct., Unit A, Floral City. 561-848-1471 Auto Uen & Recovery Experts, Inc., P.O. Box 813578, Hollywood, FL 33081-0000, 954-893-0052. Published one (1) time in Citrus County Chronicle. September 7, 2007. IN THE CIRCUIT COURT FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No. 2007-CP-687 Division Probate IN RE: ESTATE OF JAMES F. SULLIVAN Deceased. NOTICE TO CREDITORS The administration of the estate of JAMES F. SULLIVAN, deceased, whose date of death was June 1,/ Brian H. Cochrane 8520 N Calcutta Ave. Dunnellon, FL 3443344-0907 FCRN 2007-CP-736 Estate of Barbara J. Slrovatka Notice to Creditors PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No. 2007-CP-736 Division Probate IN RE: ESTATE OF BARBARA J. SIROVATKA Deceased. NOTICE TO CREDITORS SThe administration of the estate of BARBARA J. SIROVATKA, deceased, whose date of death was June- versal or modification of the agency's proposed ac- tion: (f) A statement of the specific rules or statutes the petitioner contends require reversal or modification of the agency's proposed action including oan explana- tion of how the alleged facts relate to the specific rules or statutes: and, (g) A statement of the relief sought by the petitioner, stating precisely the action the peti- tioner wishes the agency to take with respect to the agency's proposed action A petition that does not dispute the material facts upon which the Permitting Authority's action is based shall state that no such facts are in dispute and othe.vise shall contain the some in- formation as set forth above. as required by Rule 28-106.301, F.AC. Because the administrative hearing process is designed to formulate final agency action, the filing of a petition means that the Permitting Au- hority's final action may be different from the position taken by it in this Public Notice of Intent to Issue Air Per- mit Persons whose substantial interests will be affected by any such final decision of The Permitting Authorty on the application have the right to petition to be- come a party to the PUBLIC NOTICE OF INTENT TO ISSUE AIR PERMIT (Public Notice to be Published in the News- paper) proceeding, in accordance wvith the require- ments set forth above Mediation: Mediation is not available for this proceed- ing. Published one (1) time in the Citrus County Chronicle September 7, 2007/ William L. Sanders 3505 Tarpon Woods Blvd. Unit 1408 Palm Harbor, FL 34685 /s/ Robert A. Sirovatka 16523 SW Waterleaf St. Beaverton, OR 9700654-0914 FCRN 2007-CP-769 Estate of Beverly C. Partridge Notice to Creditors PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No. 2007-CP-769 IN RE: ESTATE OF BEVERLY CHEYNE PARTRIDGE, A/K/A BEVERLY C. PARTRIDGE, Deceased. NOTICE TO CREDITORS The administration of the estate of BEVERLY CHEYNE PARTRIDGE, A/K/A BEVERLY C. PAR- TRIDGE. deceased, whose date of death was July 29, 2007 and whose Social Security Number Is 263-48-5557 Is pending In the Circuit Court for Citrus County. Florida, Probate Division, the address of which is 110 North Apopka Avenue, Inver- ness. Florida 34450. The names and addresses of the personal representa- tive and the personal representative's attorney are set forth below. All creditors of the de- cedent and other persons having claims or de- mands against decedent's estate on whom a copy of this no- tice 7, 2007. Personal Representative: /s/Richard Scott Grant 2761 Quail Hollow Road Clearwater, FL 33761 Attorney for Personal Representative: /s/ HAROLD B. STEPHENS. Esquire 3591 West Gulf To Lake Highway Lecanto, FL 34461 (352) 746-4448 Florida Bar No. 095562 Published two (2) times in Citrus County Chronicle on September 7 and 14, 2007. YOU ARE NOTIFIED that an action to quiet title to the following property in Citrus County. Florida: Lot 73 of Pinecrest Estates First Addition, according to the plat thereof as recorded in Plat Book 8, Page 12, of the Public Records of Citrus County, Floirda. has been filed against you and you are required to serve a copy of your written defenses, if any, to it on Larry M Hoag. Esq , Hoag, Haag & Friedrich, P.A., Plaintiff's attorney, whose address is 452 Pleasant Grove Rd., Inverness. FL 34452, on or before October 1, 2007, and file the original with the Clerk of this Court ei- ther before service on the Plaintiff's attorney or Immedi- ately thereafter, otherwise a default will be entered against you for the relief demanded in the complaint or petition DATED this 27 day of August, 2007. BETTY STRIFLER as CLERK OF TfHE COURT (COURT SEAL) By: s/s Vivian Cancel As Deputy Clerk Published four (4) times in the Citrus County Chionicle August 31. September 7 14 and 21, 2007. PUBLIC NOTICE PUBLIC NOTICE NOTICE IS HEREBY GIVEN that the Citrus County Board of County Commissioners will conduct a Tentative Budget Hearing for Fiscal Year 2007/2008, on Tuesday, September 13, 2007, beginning at 5:01 P.M, In the Citrus County Courthouse, 110 North Apopka Avenue, Inver- ness, Florida., September 7, 2007. 853-0907 FCRN Notice of Intent to Issue Air Permit PUBLIC NOTICE STATE OF FLORIDA DEPARTMENT OF ENVIRONMENTAL PROTECTION NOTICE OF INTENT TO ISSUE AIR PERMIT Florida Department.of Environmental Protection Division of Air Resource Management, Bureau of Air Regulation Draft Permit No. PSD-FL-392 Project No, 0170004-018-AC Progress Energy Florida, Inc., Crystal River Power Plant Citrus County, Florida Applicant: The applicant for this project Is Progress En- ergy Florida, Inc. The applicant's authorized representative and mailing address is: Bernie Cumble, Plant Manager, Progress Energy Florida, Inc., Crystal River Power Plant, 299 First Avenue North, CN-77, St. Pe- tersburg, FL, 33701. Facility Location: Progress Energy Florida, Inc. operates the existing Crystal River Power Plant, which Is located In Citrus County north of Crystal River, west of U.S. 19 In Crystal River, Florida. The UTM coordinates are Zone 17, 334.3 km east and 3204.5 km north. Project: Progress Energy Florida, Inc. proposes to con- struct additional mechanical draft cooling towers, re- ferred to as south cooling towers (SCT) at the Crystal River Power Plant. Additional cooling capacity Is needed to support the project to uprate the capacity of existing nuclear Unit 3. Progress Energy plans to Install the SCT to help remove the incremental heat gener- ated by the uprate. In addition, the project may re- place the existing cooling towers, which are used to re- - duce the plant discharge water temperature from fossil fuel steam generators units 1, 2, and 3. The project au- thorizes up to 18 cells arranged in a preliminary nine by two configuration that would operate continuously. If the existing cooling towers are not replaced, fewer cells maybe installed. The cooling towers provide direct contact between the cooling water and air passing through the tower. Drift is created when small amounts of cooling water become entrained In the air stream and are carried out of the tower. Particulate matter (PM) Is emitted as salt in the water droplets that es- cape as drift from the tower. The project results in an in- crease In PM emissions of 97.6 tons/year. The project Is subject to review In accordance with Rule 62-212.400, Florida Administrative Code (F.A.C.) for the Prevention of Significant Deterioration (PSD) of Air Quality for PM emissions, Particulate matter with a mean aerody- namic diameter of 10 microns or less (PM10) will be less than the PSD significant emissions rate. Therefore, no air quality analysis Is required. Drift eliminators Is the control technology used to control PM and PM10 emissions caused by the cooling tower drift. Permitting Authority: Applications for air construction permits are subject to review In accordance with the provisions of Chapter 403, Florida Statutes (F.S.) and F.A.C. Chapters 62-4, 62-210, and 62-212. The proposed project is not exempt from air permitting requirements and an air permit is required to perform the proposed work. The Bureau of Air Regulation Is the Permitting Au- thority responsible for making a permit determination for this project. The Permitting Authority's physical ad- dress Is: 111 South Magnolia Drive, Suite #4, Tallahassee, Florida. The Permitting Authority's mailing address Is: 2600 Blair Stone Road, MS #5505, Tallahassee, Florida 32399-2400. The Permitting Authority's telephone num- ber is 850/488-0114. Project File: A complete project file Is available for pub- lic inspection during the normal business hours of 8:00 a.m. to 5:00 p.m., Monday through Friday (except legal holidays), at address Indicated above for the Permitt- Ing and phone number listed above. In addition, electronic copies of these documents are available on the follow- Ing web site: p. Notice of Intent to Issue Air Permit: The Permitfting Au- thority gives notice of Its intent to Issue an air permit to the applicant for the project described above. The ap- plicant has provided reasonable assurance that opera- tion of proposed equipment will not adversely Impact air quality and that the project will comply with all ap- propriate provisions of Chapters 62-4, 62-204, 62-210, 62-212, 62-296, and 62-297, F.A.C. The Permitting Au- thority will issue a Final Permit in accordance with the conditions of the proposed Draft Permit unless a timely petition for an administrative hearing is filed under Sec- tions 120.569 and 120.57, F.S. or unless public comment received In accordance with this notice results in a dif- ferent decision or a significant change of terms or con- ditions. Comments: The Permitting Authority will accept written comments concerning the Draft Permit for a period of 30 days from the date of publication of the Public Notice. Written comments must be post-marked inter- est for a public meeting, it will publish notice of the time, date, and location In the Florida Administrative Weekly and In a newspaper of general circulation in the area affected by the permitting action. For addi- tional Information, contact the Permitting Authority at the above address or phone number. If written com- ments or comments received at a public meeting re- sult in a significant change to the Draft Permit, the Per- mitting Authority will issue a revised Draft Permit and re- quire, If applicable, another Public Notice. All com- ments filed will be made available for public inspec- tion. Petitions: A person whose substantial Interests are af- fected by the proposed permitting decision may peti- tion for an administrative hearing in accordance with Sections 120.569 and 120.57. F.S, The petition must con- tain the information set forth below and must be filed with (received by) the Department's Agency Clerk in the Office of General Counsel of the Department of Environmental Protection at 3900 Commonwealth Boulevard, Mail Station #35, Tallahassee, Florida 32399-3000. Petitions flied by any persons other than those entitled to written notice under Section 120.60(3), F.S. must be filed within 14 days of publication of this Public Notice or eceipt of a written notice, whichever occurs first. Under Section 120.60(3), F.S., however, any person who asked the Permitting Authority for notice of agency action may file a petition within 14 days of re- ceipt of that notice, regardless of the date of publica- tion. A petitioner shall mail a copy of the petition to the applicant at the address indicated above, at the time of filing. The failure of any person to file a petition within the appropriate time period shall constitute a waiver of that person's right to request an administrative deter- mination (hearing) under Sections 120.569 and 120.57, FS.. or to Intervene in this proceeding and participate as a party to it. Any subsequent intervention (in a pro- ceeding telephone number of the petitioner's rep- resentative, if any, which shall be the address for serv- ice purposes during the course of the proceeding; and an explanation of how the petitioner's substantial rights will be affected by the agency determination; (c) A statement oft when and how the petitioner received notice of the agency action or proposed decision; (d) A statement of all disputed issues of material fact If there are none, the petition must so state; (e) A con- cise statement of the ultimate facts alleged, including the specific facts the petitioner contends warrant re- 849-0907 FCRN PUBLIC NOTICE NOTICE OF FINAL AGENCY ACTION BY THE SOUTHWEST FLORIDA WATER MANAGEMENT-DISTRICT Notice Is given that the District's Final Agency Action Is approval of the Water Use Permit on 250 acres to serve Sugarmill Woods Country Club known as golf course Irri- gation. The project is located In Citrus County, Section(s) 17, 18, 19, 20, Township 20 South, Range 18 East, The permit applicant is Suntaac & Company, Inc.. whose address is P.O. Box 3809, Homosassa Springs, FL 34447. The permit No. Is 20003673.005 September 7, 2007 842-0921 FCRN Mark Speakman, Termination of Parental Rights Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT IN AND FOR CITRUS COUNTY, FLORIDA JUVENILE DIVISION CASE NO.: 2006-DP-260 IN THE INTEREST OF: C.K. DOB: (08-17-93) Z.K. DOB: (05-08-99) Minor Children NOTICE OF ACTION. SUMMONS AND NOTICE OF ADVISORY HEARING FOR TERMINATION OF PARENTAL RIGHTS AND GUARDIANSHIP THE STATE OF FLORIDA TO: Mark Speakman L/K/A 3031 Shadow Oaks Drive Holiday, Florida, 34690 You are hereby notified that a petition under oath has been tiled in the above-styled court for the termi- nation of your parental rights as to Z.K. a male child born on 8th day of May, 1999 in Hernando County, Flor- ida, and for placement of the child with the Florida De- partment of Children and Families for subsequent adoption, and you are hereby commanded to be and appear before General Magistrate Keith Schenck, of the Circuit Court or any judge assigned to hear the, above cause, at the Advisory Hearing on September 24, 2007 at 3:30ll- 28th day of August, 2007 at Inverness, Citrus County, Florida. BETTY STRIFLER, Clerk of Courts (CIRCUIT COURT SEAL) , /s/ Shelly Sansone Deputy Clerk Published four (4) times in the Citrus County Chronicle on August 31, September 7, 14 and 21,2007. 845-0921 FCRN 2007-CA-2249 Russell L. Henry Vs. James M. Bell... Amended Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT IN AND FOR CITRUS COUNTY, FLORIDA CASE NO. 2007-CA-2249 RUSSELL L. HENRY Plaintiff, vs. JAMES M. BELL and MILDRED E. BELL, Trustees of the James M. Bell and Mildred E. Bell Inter-Vivos Trust Agreement, dated October 3, 1990, KAREN CLAXTON and CHRISTOPHER JAMES CLAXTON, if alive, and If dead his or her unknown spouses, heirs, devisees. grantees, judgment creditors, and all other parties claiming by, through, under or against said defend- ants; the unknown spouses, heirs, devisees, grantees and judgment creditors of the defendants, if de- ceased, and all other parties claiming by, through, un- der or against defendants; and all unknown natural persons, if olive, and if dead or not known to be dead or alive, their several and respective unknown spouses, heirs, devisees, grantees and judgment, creditors, or such other parties claiming by, through or under those unknown natural persons; and the several and respec- tive unknown assigns, successors in interest, trustees, or any other person claiming by, through, under, or against any corporation or other legal entity named as o defendant; and all claimants, persons or parties, nat- ural or corporate, or whose exact legal status is un- known, claiming under any of the above named or de- scribed defendants or parties or claiming to have any right, title or interest in the property described in the complaint, Defendants. AMENDED NOTICE OF ACTION TO: JAMES M. BELL and MILDRED E. BELL, Trustees, deceased KAREN CLAXTON, 48 Oriental Ave., Pennsville, NJ 08070 CHRISTOPHER JAMES CLAXTON, address unknown and al parties claiming interest by, through, under or against her/him and oiall parties having or claiming to have any right, title or interest in the property herein described C)ILISCOU 1)(FL C.I~J~sfLI I isv',Si:,PrLMn-mmi17.,2007 7.D L W 4 LINCOLN MERCURY SALES EVENT FW EV7 ON SELECT -M3ODELS HURRY TWO LEFT 2007 MERCURY MILAN 2007 LINCOLN MKX 2007 LINCOLN MARK LT 2007 LINCOLN NAVIGATOR -00 a D,: . DE k or, -101 r .lark LT rJ . ,iga.a-.r i,1.ur: laineer I an. .lr, r1 ei NOW IN STOCK MOUNTAINEER REBATES AS HIGH AS $5,000 MARINER SABLE MKZ NAVIGATOR oa '08 02 MERCURY SABLE ?,h er -34100 . mle #R32134 $8.995. 02 MERCURY SABLE WAGON L Itlote leatherrif,-ror #R31 �6-A 2007 FORD MUSTANG 427-R $8 995. IMSRP 150,016 3-&.spe, F-,,ron or ',, | IS O 04 MERCURY 04 MERCURY 03 MERCURY GRAND SABLE SABLE LS MARQUIS LS Le i-er , 3.eg l,,-o' l ithle leath, r ..lea.eJ re n leather nt 9 ,Y,,',rete #"- " #P.2 . #P32 69 $12,995. 012,995. 1i2,995. 06 FORD TAURUS 04 MONTEREY 05 FORD 05 GRAND 06 MERCURY 05 MERCURY SEL VAN RANGER XLT MARQUIS LS MILAN V6 MARINER Aloonroof leather Potier side doors Black i,6 auto 17.k thll rte *id If1 o. e uner L)oaded .lghtl gree-n ,ilher k'6 #R3224 leather #P3216 miles tP3208 miles leather #,9 , 1l000mrniles #P32'64 leather #58566 4 $14,995. $5,995. $15.995. 6, 995. 0I6,995. $6,995. 06 GRAND MARQUIS LS Silver leather t#R.3238 S17.995. MARQUIS GS 12,,9e .95'. '12.995. 06 GRAND MARQUIS LS Shr, - m,-onro.:, leather #P '3. 14 17995. BB71 ---1.--i ---I - 7 i%/,nlTrA I IDi IQ U/ FORDUT IAURU s13,995. 06 GRAND MARQUIS LS Silr leather #P374.3 $17995. 04 FORD F150 06 MILAN 07 FORD FIVE 07 MUSTANG V6 06 FORD FIVE 05 FORD 06 MERCURY 06 MERCURY 07 FORD XLT PREMIER HUNDRED uto1 leather red HUNDRED FREESTYLE SEL MONTEGO MARINER FREESTAR Cneo-ner ,old leather 7154 LIt gren load-e c,.nl I .1 lP32.-4 Loht lgter, . . 00 c Gcld leather 23 00' ,-old onl. " 000 , n. ,l;l." ,' eite, r.. Leather .7 d 14J 000 #P3198-4 miles #.ft 910 mnle P.ne/ .:.nelnear �rl mile leather #89114 mles #F'32'65 nles tRP32.'28 C I , n3les #9P3_6. 17,995. 17995 18995 18995 189959 8199889 9 95. 81998995. 18995. 209995. 07 GRAND 07 GRAND 04 LINCOLN 04 LINCOLN 04 MERCURY 04 FORD 05 LINCOLN LS 05 FORD F150 06 MERCURY MARQUIS LS MARQUIS LS TOWNCAR TOWNCAR MOUNTAINEER F150XLT 20,000 miles, V8 sport, XLT MOUNTAINEER Burgundy, leather Gold, 14,000 miles. White, 35,000 miles. Blue, 26,000 miles. Gold, moonroof, 3rd seat, Red, 26k miles. ivory. #R3273 White, supercrew, Silver, leather, 20,000 #R3261 #R3260 #R3245 #R3248 only 26,000 miles. #R3226 #R3205 trailer tow. #R3229 miles. #R3254 1I9,995. !9,995. 9I9,995. 1I9,995. 2o0,995. *121995. *21,995. *22 995. *22 995. Wc4~ ~W - ~rb~ 05 TOWN CAR 35 LINCOLN TOWN 06 LINCOLN LIMITED CAR MKZ Ivory, 29k miles. Moon roof, silver White, moonroof, leather #X895 22,000 miles. #9130A 5 000 miles #R3267 24,995. *24,995. $26,995 PROPER VEHICLE A... KS MAINTENANCE IS KEY I UELAV R TOMAXIMUMFUEL PACKAGE EFFICIENCY! I MotorcraftZ Premium Synthetic Blend oil and filter change 3 I V Rotate and inspect four tires I " Check air and cabin air filters I ' Inspect brake system / Top off all fluids | Test battery / Check belts and hoses Up to sx quars of Moto craft, od Taxes a-d desel vehicles extra Hyb' d hgh vo'tage batery test -c: included D disposal fees "st cluded " sorry e 'oca"o See ServeAda. sor for .ehace arol:-at 3s a-d de' nfferp"h!twd h C-ar.l Exores 9 3'/- C-' I FACTORY AUTHORIZED A/C SYSTEM CHECK / Inspect system components V / Perform electronic inspections95 v Analyze refrigerant I Measure pressure 12 9 v Leak test system with Ford - authorized service equipment. Pefr'gerat ex'ra See S- v ce Adv so- for vehcie ape ca" cs a",d ceaa s Offe va d a , | xE, 9'3 -: CCr COOLING SYSTEM SERVICE $3995 I a- of arcdVlt C-paiy-rq�ed m n-a-a I , c ~~ 9 9 s s , for 'x l.,D x ar I : " S S." , c xA 07 LINCOLN TOWN 07 TOWN CAR 06 LINCOLN CAR SIGNATURE SIGNATURE LIMITED NAVIGATOR 4X4 Gold, 13,000 miles. Silver, 12,000 miles, Moon roof, gold, 16,,,0 , #R3279 moonroof. #R3278 miles. #R3263 128 995. *31995. $34,995. mj-Vjil^-- rig l - *ln----*yf-. ^ - -l -..^11.ml- - -ll- -ilryj jijJ~ IMOTORCRAFT'PREMIUM WEAR INDICATORI WHEEL BALANCE, MOTORCRAFT� i WIPER BLADES I TIRE ROTATION AND BRAKES, INSTALLED!, WI BLA , BRAKE INSPECTION Engineered for your vehicle. 19 $2495 '89 WITH WEAR INDICATOR THAT SIGNALS WHEN TO REPLACE i - d d"S So :s - 3d ofD .f . ,e a- : a-d d1 a z O fe" a r :C Computer balance four wheels Inspect brake frir�o" material caliper operation, rotors drums, hoses and connections Inspect parking brake for damage 2ad Sroone opeat-on Rotate a- d insect fur f " .a - rea, wheel vehicles extra Taxes extra See Se, o Ad. so for veh cle acs ihcatlons a9 d details Of', ,.th no.pnn Exres 9131/ 2 CC earer istaHed retail Motorcraft' or Genuine Ford I b' ;3ds or shoes only limit one exemption per axle F-:s o' s'oes only on most cars and I ght trucks Front Sra a/' E ' -drums Taxes r a a 5 Mon-Fr. 86, at.9- 04 FORD SVT LIGHTNING Vivid red, supercharged. #3276 23,995. 06 TOWN CAR 07 LINCOLN Lt. green, only 18,000 M KZ7 r, mile, leather #X909 Red, 14, 000 miles. #R3266 01279995* 127 0 1995 bin - UA ro - - = , - - EM � = - , � - M& - - -, - - FE - - - , - - K� - - "'I CaRus Coum)� (FL) CHROMCLE ;I I DS Friday, September 7, 2007 II rA I 'Ij- I-C Kwr -It, J. 4 . r, ~ i. 0. ALL CREDIT APPLiATIC TN ACCEPTNED AALB WRILB LENDi UYI am @OM TRADE 4. . a Ii C ~ tJ'ttl.'U x~v he I ~ * V. ~ ~ v '-K ~ ' ... .1' j 4141 I' L''', *~' 2% $4:' L. .,. 4 /1QA..O4~J� ..II. 3'I. ,- .* . 44,',.M T, , i4IL F'' C ?h.. i~ '4 ~ *.I - . *4, I, i~,, ' 1 I I - 4( .';'.wt -''-'I,. 'I' I * . 2. I, 44~ 'I.... --%Ma , 4 a" BROS. SUZUKI 915 N. Suncoast Blvd. * Crystal River, FL 34429 I rJur. ' j l.l .._, -r . . . . .... .... . .... .. *" I -ir ,.T-r,l t . . r . . Ir '.im i . >. 'll ,, l. .J. f.i i' d r Ll.n .'u 11 . I l IIL- ,i , . l s .. "j1 1 1, . f .1 . ,,nr-, -.. 1 . r. .i . n l.. I I.r, ;li, !llii. r^ I T. H,"J In . .-,*,lh." l ,, J . r. . .j .I. -. l' .,n ,j ,I ,4uJ lll| I. . HIl h II. lJrh l .. . ... . . - n111', 1, ... .. . .. 1 ' " , 0.-l. 1......" . . .... .. .... . . '.. . . . " . ............ " .. .. .. . . . .. . .. ... . I . " ' ' ",, . . .. .i'.. ' -" F RINK I) Er. 'St Crimis Coumy (FL) CHRONICLE I Cli, S ., * OATM Sums 12 m 3 FRIDAY, SEIPTEMnER 7, 2007 9D of Life! 2007 Suzuki Reno 2007 Suzuki XLI hWth Seec PmlurchsDURINGHS 111HS lONL!IR 2007 Suzuki Forenza Wagon 2007 Suzuki Grand Vitara 2007 Suzuki SX4 p 2007 Suzuki Forenza SUZUKI SUMMER SELL-DOWN . . I. . .., .. . I . . I . , , " , . n' '- J I l I. 'T[' I . r . . jli I ll ajlrl ' ' eI-il 1 Ia U l . T m ll dlll 1 1 111 f' ' ,- Ifll n ~~~...1 ~~~~~~~~. ,... . 1, .1', .1 , , l , ,,'*i r, ,, > 1 I. . j , , 11 I,', , ,' l .lnn' . 'nj.i nln J '". ,J[njljrI!' . Clikl ri i.rll1--I t.J i |n 1 Iqnl. i 1rm'l , ,nL, , V 'i , , . . ,l i L . . , . ' , , . : , , l r ', ,r [ , i n r ', , t ' i . l F H i iI . 1 , I 'l . j I , . " 1 n f id r l l u, , f ir'. _ , r H .l l l ' 'j. rn . l kI , . -. " Il ) iM 9 9 L. Way '',: :< i,.: ,~. CITRUS COUN-J)'(Fl,) CHRONICLE . od?. AMERICAS #I'WARRANTY 100,000 MILES/7 YR 9 NO DEDUCTIBLE * FULLY TRAN SFERABLE [If ;11 :. m 49W 11 GET A IOD FRIDAY, SEPTEN' ii7, 2007 I\I I)Cm\II-326 SONA $37,999 FREE 24 HOUR RECORDED "SPECIAL" INFO AND PRICING ON THIS VEHICLE 800-325-1415 EXTENSION #970 2004 2004 EXPEDITION $16,999 FREE 24 HOUR RECORDED "SPECIAL" INFO AND PRICING ON THIS VEHICLE 800-325-1415 EXTENSION #977 2004 ACCORD $11,99 S ON THIS VEHICLE 800-325-1415 EXTENSION #990 2002 LESABRE $7,99ANISSAN 2200 SR 200 OCALA ITIL 10OPIVOT (352) 622-4111 ALL PRICES WITH *1,000 CASH OR TRADE EQUITY PLUS SALES TAX, LICENSE FEE AND *398 DEALER PREE. ALL INVENTORY PRE-OWNID AND SUBJECT TO AVAILABILITY. PICTURES RE POR ILLUSTRATION PURPOSES ONLY. C17 RI S COIN*YY (Fl,) CHRONICLE % I Contact Us | Permissions | Preferences | Technical Aspects | Statistics | Internal | Privacy Policy © 2004 - 2011 University of Florida George A. Smathers Libraries.All rights reserved. Acceptable Use, Copyright, and Disclaimer Statement Last updated May 24, 2011 - Version 3.0.0 - mvs
http://ufdc.ufl.edu/UF00028315/00998
CC-MAIN-2018-47
refinedweb
87,650
77.74
Welcome to WindowsClient.net | | Join › Learn › WPF and Silverlight Designer for Visual Studio 2010 › Create First Silverlight Application This article has a corresponding video that can be viewed here. Are you new to Silverlight? This walk though will enable you to have a successful first time experience with the Silverlight Designer and creating your first Silverlight application. You will learn to easily create, move and align controls and edit control collections using the powerful features of the Silverlight Designer for Visual Studio 2010. We will complete the exercise by developing a Survey Silverlight application. View the “Setting up Visual Studio for WPF and Silverlight Development” topic. The first three short sections of this walk though introduce you to using the Silverlight Designer for creating, moving, aligning and sizing controls. Silverlight applications are all hosted on a web page. The Silverlight application can consume the entire web page, or be integrated into a web page and interact with other web controls. This application will be a small survey application that simply displays in the upper left corner of the web page. To create your first Silverlight Application Project Start Visual Studio 2010. From the File menu hover over New, then select New Project… Figure 1 New Project Menu Selection New Project Dialog will be displayed. Figure 2 New Project Dialog Note: The Target Framework Version ComboBox value defaults to the last selection made. When creating a new project, verify the desired Target Framework Version is selected. In Silverlight applications, the Target Framework Version refers to the ASP.NET Web Site that will be hosting the Silverlight application and not the Silverlight application itself. Step 1 – Select language; Visual Basic or C# then select Silverlight. Step 2 – Select Silverlight Application. Step 3 – Enter project name. Tip: While it is permissible to have spaces in the project name this practice discouraged. Step 4 – Click OK. The Add Silverlight Application dialog will display. Add Silverlight Application dialog allows the developer to choose how the Silverlight Application will be hosted during development. Figure 3 Add Silverlight Application Step 1 – Select, “Automatically generate a test page to host Silverlight at build time.” This is the simplest way to develop a Silverlight application as it does not require an ASP.NET web site to be created. When the Silverlight application is run, Visual Studio will create web page on the fly to host the Silverlight application and open that web page in the default browser. Step 2 – Select the version of Silverlight you are targeting. Step 3 – Click OK to create your new Silverlight Application. Controls can be added to an application using the ToolBox or by editing the XAML text directly in the XAML Editor. Several techniques can be used to add a control from the ToolBox. Select a control from the ToolBox by clicking it, then clicking the design surface where you want the control to be created. Select a control from the ToolBox by clicking it, and then draw the control on the design surface where you want the control to be created. Click and drag a control from the ToolBox to the design surface. See Figure 4 below. With the target control selected on the design surface, double click the control in the ToolBox. Figure 4 Create Control Practice creating a button control using the above techniques on the design surface. When done create a button in the position shown in Figure 4. Notice when you drag the button to the design surface, the Grid control’s blue adorner is displayed. The Silverlight Designer displays control adorners on the design surface to assist developer when using the mouse to move or resize a control. Adorners also supply visual feedback about control alignment and other control specific information. When controls are being moved or resized, the Silverlight Designer displays various types of snaplines to assist the developer in positioning a control on the design surface relative to other controls. Alignment Adorners Select the button on the design surface. In the Properties Window, select Category View and scroll the Layout category into view as in Figure 5 below. The button in Figure 5 is aligned to the Top, Left. This is similar to Windows Forms Docking. The button’s top edge is pinned 37 pixels down from the top of the Grid. (see second value in the Margin property below) The button’s left edge is pinned 31 pixels from the Grid. (see first value in the Margin property below) Figure 5 Alignment Adorners Tip:). Change the HorizontalAlignment property value using the Properties Window and notice the different adorners that are rendered. The green arrow in Figure 6 below indicates the HorizontalAlignment adorner. You can also change the HorizontalAlignment property by clicking on the adorner arrow or the round adorner pointed to by the green arrow. Repeat for the VerticalAlignment property. The blue arrow in Figure 6 below indicates the VerticalAlignment adorner. Return the button back to Top, Left alignment. The red arrow in Figure 6 points to the resize adorner. Clicking and dragging a resize adorner will resize the control in the direction of the mouse movement. Figure 6 Alignment and Resize Adorners Edge Snaplines To move a control on the design surface, select it, hold the left mouse down and move the control using the mouse. Release left mouse button when move is complete. When moving a control near the edge of a container control like a grid an edge snapline will appear. This snapline makes it very easy to uniformly position one or more controls against the containers edge. In Figure 7 below, notice the two numbers in the left red rectangle. 12 and 12 indicate that the top left corner of the button is 12 pixels from the top and 12 pixels from the left of the grid. The right red rectangle in Figure 7 contains 213. This indicates the number of pixels from the right edge of the button to the edge of the grid. When moving a control, if you move the control past the edge snapline, the control will snap to the edge of the container control. Figure 7 Edge Snaplines Tip: To turn off Snaplines when moving a control, hold the ALT key down while dragging the control around on the design surface. Use arrow keys to nudge a control, pixel by pixel into perfect position! Control Snaplines Add another button to the form as picture below. Figure 8 shows the control snaplines that are displayed when the edges of one control line up with another. The number 20 is the number of pixels that separate the two buttons. Figure 8 Control Snaplines At this time delete any buttons or other controls you have placed on the design surface. Select the control and press the DELETE key to delete the control. Please save your application by pressing CTRL+S or by clicking the Save icon on the ToolBar. The rest of this walk through will focus on creating this Simple Survey application. You will learn many new features of the Silverlight Designer while building this application. Figure 9 Finished Application Fixed Sized Layout By default the root UserControl is auto sized at runtime. At design time the root UserControl is explicitly sized to make it easy to design. Figure 10 Default Auto Sized Root For this survey application we want a fixed size root so that our application will not consume the entire Internet browser window. To change from auto sized root to fixed size root, click the Size Mode button inside the red rectangle. See Figure 11 below. After you click the Size Mode button the button icon changes to reflect the current root size mode. Additionally a fixed Height and Width are now set on the root UserControl. Figure 11 Fixed Size Root Setting the root UserControl layout size. Select the root UserControl by clicking anywhere on the designer outside the UserControl’s border. Change the Properties Window to Category View and scroll the Properties Window until Layout is visible as pictured in Figure 12 below. Change the Height and Width as indicated in Figure 12. Figure 12 Root Height and Width Create a TextBlock control to the design surface. The TextBlock control is located in the Silverlight Controls tab of the ToolBox. With the new TextBlock selected, set the Properties Window to Alpha View and enter, “text” in the Search Box. Notice as you type, the list of properties is quickly filtered. Tip: The search feature of the Properties Window filters the properties and can save you lots of time during application development. Very handy. Change the Text property to Survey. Figure 13 Form Title - TextBlock Text We will now use the Properties Window to position the Title TextBlock. Change the Properties Window to Category View and scroll to the Layout category as shown in Figure 14 below. Set the HorizontalAlignment, VerticalAlignment and Margin properties as indicated below. Notice how the TextBlock is positioned on the design surface. Using the Search Box, enter font. Use the Font Category editor and increase the Font Size to 18. Figure 14 Form Title - TextBlock positioning Note: In Figures 13 and. Add the four controls pictured in Figure 15, two TextBlocks, TextBox and a ComboBox. Align all controls Top, Left. Use the control snaplines to assist in aligning and positioning the controls Select the TextBox. Using the Properties Window change the Name to txtName. Select the ComboBox. Change the Name to cboProduct. Figure 15 Form Controls Select the top TextBlock on the design surface. Use Properties Window search feature and type in, “tex”. Change the Text property to, “Name”. Click the bottom TextBlock on the design surface. Notice that the Text property for that TextBlock is now selected in the Properties Window. Change the Text property to, “Product”. Figure 16 TextBlock Text Property There are several ways to add items to a ComboBox. In this walk through we will add three static items to the ComboBox. Select the ComboBox. Search for items in the Properties Window. See Figure 17 below. Click the Items property ellipsis icon to open the Collection Editor for the Items property. Figure 17 ComboBox Items Collection Adding items is very easy using the Collection Editor. Click on the Add button. Locate the Content property and change the value. You can also order the items or remove an item. Using the Collection Editor in Figure 18, add three items, setting the Content property to the following strings: Deluxe Photo Paper Financial Calculator 4GB USB Thumb Drive Click OK when done. In the XAML Editor, look at the XAML markup that was generated for you. Figure 18 Collection Editor In this section we will use a Border to surround the. Below the ComboBox add a Border control from the ToolBox Controls tab. Figure 19 Border The Border control can contain a single child control. To add a StackPanel as a child of the Border drag the StackPanel control from the ToolBox to the Border. See Figure 20 below. Notice the blue adorner surrounding the Border. This indicates the parent control that your StackPanel will be a child of if dropped at the current location. Figure 20 Parenting Control on Creation When controls are added to the design surface using the ToolBox some properties are given default values. Tip: You can also drag controls from the ToolBox to the XAML Editor. When a control is dragged to the XAML editor, no properties are given default values. After creating the StackPanel the design surface will look similar to Figure 21 below. Notice in the XAML Editor and Document Outline that the StackPanel is a child of the Border. Figure 21 StackPanel as a child of the Border For our application we want the StackPanel to automatically consume all the space inside the Border so that if the Border is resized at design or run-time, the StackPanel will grow or shrink with the Border. Let’s use the Properties Window to accomplish this task. See Figure 22 below. With the StackPanel selected, search for “wid” in the Properties Window. Click the Property Marker for the Width property and select Reset Value. This will change the Width property to Auto. Figure 22 Resetting Property Values Repeat for the Height property, setting its value to Auto. Search for “align”. Reset the property value for the HorizontalAlignment and VerticalAlignment properties. When reset, their value will be changed to Stretch. The StackPanel is now auto sized and should look like Figure 23. Figure 23 Auto Sized StackPanel With the StackPanel selected, add a TextBlock and three RadioButtons as children of the StackPanel by double clicking the TextBlock once and double clicking the RadioButton in the ToolBox three times. When completed the design surface will look similar to Figure 24 below. A powerful feature of the Silverlight Designer is the ability to select multiple controls and edit common property values. Select all four controls by control clicking them. (CTRL+Click). Notice that the Properties Window Name changes to Multiple objects selected. Use the Properties Window to reset the Height and Width property values for the selected controls. Using the Properties Window, search for “margin” and set the value to 3.5. Depending on the size of your Border the setting of the Margin property may cause one or more RadioButtons to disappear from view, we will correct that next. Select the TextBlock by clicking on it. Change its Margin property to 0,3.5. This will cause the TextBlock to render slightly left of the RadioButtons. Figure 24 Multi-Selection Control Editing Tip: You can also multi-select all controls in a container by selecting the container and pressing CTRL+A. In figure 24 above, select the StackPanel and press CTRL+A to select the three RadioButtons. On the design surface select the Border, use the resize adorner on the bottom and resize the Border so it looks like Figure 25 below. Notice how the child StackPanel automatically resizes when its parent Border is resized. Figure 25 Resizing GroupBox Use the Properties Window to assign the TextBlock Text property to Value. See Figure 26 below. Figure 26 Border Caption Use the Properties Window to assign the following values to the three RadioButtons Content properties. Outstanding Good Unsatisfied Figure 27 RadioButton Content Select the Border. Use the Properties Window to set the follow properties: CornerRadius to 5 BorderBrush to LightGray BorderThickness to 1 Padding to 3.5 The Border and contents should now look like Figure 28. Figure 28 Completed Border You can set a default value for the ComboBox by assigning a value to the SelectedIndex property. Select the ComboBox, use the Properties Window change the SelectedIndex property to 0. Notice how the ComboBox now displays the value of the ComboBoxItem at index 0. See Figure 29 below. Figure 29 ComboBox Selected Index To complete our application we need to add two Buttons and add some code that will execute when the Button is clicked. Add two buttons as pictured in Figure 30 below. Change the left Button Content property to OK and set the Name property to btnOK. Change the right Button Content property to Cancel and set the Name property to btnCancel. The Silverlight Designer provides three ways to wire up code to a control event. Double clicking a control will wire up the default event. Using the Properties Window Events tab, locate the desired event and double click the region indicated in Figure 30. If the event code is already in the code behind, you can select the method name in the ComboBox instead of double clicking to create a new event handler. Using the XAML Editor to create a new event handler or select a method. Select the OK Button. Using the Properties Window Events tab, double click next to the Click event. This will wire up the Click event handler and add code the code behind. Figure 30 Properties Window Events Tab Visual Basic wires up the event using the Handles construct. C# wires up the event by adding the event name and event handler to the XAML markup. On the design surface, double click the Cancel Button to generate the event handler for this Button. Add the MessageBox.Show method call to the generated event handlers. Partial Public Class Page Inherits UserControl Public Sub New() InitializeComponent() End Sub Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnOK.Click MessageBox.Show("Thank you for your feedback") End Sub Private Sub btnCancel_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnCancel.Click MessageBox.Show("Survey cancelled") End SubEnd Class using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;namespace FirstSilverlightApplication{ public partial class Page : UserControl { public Page() { InitializeComponent(); } private void btnOK_Click(object sender, RoutedEventArgs e) { MessageBox.Show("Thank you for your feedback"); } private void btnCancel_Click(object sender, RoutedEventArgs e) { MessageBox.Show("Survey cancelled"); } }} Use the Document Outline to select root Grid. See Figure 31 below. Figure 31 Document Outline Selecting Root Grid Using the Brush Editor in the Properties Window, change the Background color to WhiteSmoke as picture in Figure 32. The reason we are changing the Background color is so that you can see the boundaries of the Silverlight application when its run while being hosted in a white web page. Figure 32 Root Grid Background Run your completed application by pressing F5. Enter a name in the name TextBox. Select a product from the ComboBox. Click the RadioButtons to see how only one is selected at time. Clicking the OK or Cancel buttons will cause the MessageBox to display its message. Figure 33 Running the Application Very Nice. Hi All, This is so nice !! can any one help me on data inserted and updated in grid in silverlight ?? Thanks Ashwani Kumar advertise here Contact | Advertise | Issue Management by Axosoft's OnTime | Running IIS7All Rights Reserved. | Terms of Use | Trademarks | Privacy Statement© 2012 Microsoft Corporation.
http://windowsclient.net/wpfdesigner/articles/first-silverlight-application.aspx
crawl-003
refinedweb
3,019
57.47
4 replies on 1 page. Most recent reply: Oct 1, 2009 4:04 PM by chris borgolte Everybody has worked with records: by reading CSV files, by interacting with a database, by coding in a programmming language. Records look like an old, traditional, boring topic where everything has been said already. However this is not the case. Actually, there is still plenty to say about records: in this three part series I will discuss a few general techniques to read, write and process records in modern Python. The first part (the one you are reding now) is introductory and consider the problem of reading a CSV file with a number of fields which is known only at runt time; the second part discusses the problem of interacting with a database; the third and last part discusses the problem of rendering records into XML or HTML format. For many years there was no record type in the Python language, nor in the standard library. This is hard to believe, but true: the Python community has asked for records in the language from the beginning, but Guido never considered that request. The canonical answer was "in real life you always need to add methods to your data, so just use a custom class". The good news is that the situation has finally changed: starting from Python 2.6 records are part of the standard library under the dismissive name of named tuples. You can use named tuples even in older versions of Python, simply by downloading Raymond Hettinger's recipe on the Python Cookbook: $ wget -O namedtuple.py The existence of named tuples has changed completely the way of managing records: nowadays a named tuple has become the one obvious way to implement immutable records. Mutable records are much more complex and they are not available in the standard library, nor there are plans for their addition, at least as far as I know. There are many viable alternatives if you need mutable records: the typical use case is managing database records and that can be done with an Object Relational Mapper. There is also a Cookbook recipe for mutable records which is a natural extension of the namedtuple recipe. Notice however that there are people who think that mutable records are Evil. This is the dominant opinion in the functional programming community: in that context the only way to modify a field is to create a new record which is a copy of the original record except for the modified field. In this sense named tuples are functional structures and they support functional update via the _replace method; I will discuss this point in detail in a short while. To use named tuples is very easy and you can just look at the examples in the standard library documentation. Here I will duplicate part of what you can find in there, for the benefit of the lazy readers: >>> from collections import namedtuple >>> Article = namedtuple("Article", 'title author') >>> article1 = Article("Records in Python", "M. Simionato") >>> print article1 Article(title='Records in Python', author="M. Simionato") >>> from collections import namedtuple >>> Article = namedtuple("Article", 'title author') >>> article1 = Article("Records in Python", "M. Simionato") >>> print article1 Article(title='Records in Python', author="M. Simionato") namedtuple is a function working as a class factory: it takes in input the name of the class and the names of the fields - a sequence of strings or a string of space-or-comma-separated names - and it returns a subclass of tuple. The fundamental feature of named tuples is that the fields are accessible both per index and per name: >>> article1.title 'Records in Python' >>> article1.author "M. Simionato" >>> article1.title 'Records in Python' >>> article1.author "M. Simionato" Therefore, named tuples are much more readable than ordinary tuples: you write article1.author instead of article1[1]. Moreover, the constructor accepts both a positional syntax and a keyword argument syntax, so that it is possible to write >>> Article(author="M. Simionato", title="Records in Python") Article(title='Records in Python', author="M. Simionato") >>> Article(author="M. Simionato", title="Records in Python") Article(title='Records in Python', author="M. Simionato") in the opposite order without issues. This is a major strength of named tuples. You can pass all the arguments as positional arguments, all the arguments are keyword arguments and even some arguments as positional and some others as keyword arguments: >>>>> kw = dict(author="M. Simionato") >>> Article(title, **kw) Article(title='Records in Python', author="M. Simionato") >>>>> kw = dict(author="M. Simionato") >>> Article(title, **kw) Article(title='Records in Python', author="M. Simionato") This "magic" has nothing to do with namedtuple per se: it is the standard way argument passing works in Python, even if I bet many people do not know that it is possible to mix the arguments. The only real restriction is that you must put the keyword arguments after the positional arguments. Another advantage is that named tuples are tuples, so that you can use them in your legacy code expecting regular tuples, and everything will work just fine, including tuple unpacking (i.e. title, author = article1), possibly via the * notation (i.e. f(*article1)). An additional feature with respect to traditional tuples, is that named tuples support functional update, as I anticipated before: >>> article1._replace(title="Record in Python, Part I") Article(title="Record in Python, Part I", author="M. Simionato") >>> article1._replace(title="Record in Python, Part I") Article(title="Record in Python, Part I", author="M. Simionato") returns a copy of the original named tuple with the field title updated to the new value. Internally, namedtuple works by generating the source code from the class to be returned and by executing it via exec. You can look at the generated code by setting the flag verbose=True when you invoke``namedtuple``. The readers of my series about Scheme (The Adventures of a Pythonista in Schemeland ) will certainly be reminded of macros. Actually, exec is more powerful than Scheme macros, since macros generate code at compilation time whereas exec works at runtime. That means that in order to use macro you must know the structure of the record before executing the program, whereas exec is able to define the record type during program execution. In order to do the same in Scheme you would need to use eval, not macro. exec is usually considered a code smell, since most beginners use it without need. Nevertheless, there are case where only the power of exec can solve the problem: namedtuple is one of those situations (another good usage of exec is in the doctest module). No more theory: let be practical now, by showing a concrete example. Suppose you need to parse a CSV files with N+1 rows and M columns separated by commas, in the following format: field1,field2,...,fieldM row11,row12,...,row1M row21,row22,...,row2M ... rowN1,rowN2,...,rowNM The first line (the header) contains the names of the fields. The precise format of the CSV file is not know in advance, but only at runtime, when the header is read. The file may come from an Excel sheet, or from a database dump, or could be a log file. Suppose one of the fields is a date field and that you want to extract the records between two dates, in order to perform a statistical analysis and to generate a report in different formats (another CSV file, or a HTML table for upload on a Web site, or a LaTeX table to be included in a scientific paper, or anything else). I am sure most of you had to do something like first at some point. To solve the specific problem is always easy: the difficult thing is to provide a general recipe. We would like to avoid to write 100 small scripts, more or less identical, but with a different management of the I/O depending on the specific problem. Clearly, different business logic will require different scripts, but at least the I/O part should be common. For instance, if the originally the CSV file has 5 fields, but then after 6 months the specs change and you need to manage a file with 6 fields, you don't want to change the script; idem if the names of the fields change. Moreover, it must be easy to change the output format (HTML, XML, CSV, ...) with a minimal effort, without changing the script, but only some configuration parameter or command line switch. Finally, and this is the most difficult part, one should not create a monster. If the choice is between a super-powerful framework able to cope with all the possibilities one can imagine and a poor man system which is however easily extensible, one must have the courage for humility. The problem is that most of the times it is impossible to know which features are really needed, so that one must implement things which will be removed later. In practice, coding in this way you will have to work two or three times more than the time needed to write a monster, to produce much less. On the other hand, we all know that given a fixed amount of functionality, programmers should be payed inversally to the number of lines of code ;) Anyway, stop with the philosophy and let's go back to the problem. Here is a possible solution: # tabular_data.py from collections import namedtuple def headtail(iterable): "Returns the head and the tail of a non-empty iterator" it = iter(iterable) return it.next(), it def get_table(header_plus_body, ntuple=None): "Return a sequence of namedtuples in the form header+body" header, body = headtail(header_plus_body) ntuple = ntuple or namedtuple('NamedTuple', header) yield ntuple(*header) for row in body: yield ntuple(*row) def test1(): "Read the fields from the first row" data = [['title', 'author'], ['Records in Python', 'M. Simionato']] for nt in get_table(data): print nt def test2(): "Use a predefined namedtuple class" data = [['title', 'author'], ['Records in Python', 'M. Simionato']] for nt in get_table(data, namedtuple('NamedTuple', 'tit auth')): print nt if __name__ == '__main__': test1() test2() By executing the script you will get: $ python tabular_data.py NamedTuple(title="title", author='author') NamedTuple(title='Records in Python', author="M. Simionato") NamedTuple(tit="title", auth='author') NamedTuple(tit='Records in Python', auth="M. Simionato") There are many remarkable things to notice. First of all, I did follow the golden rule of the smart programmer, i.e. I did change the question: even if the problem asked to read a CSV file, I implemented a get_table generator instead, able to process a generic iterable in the form header+data, where the header is the schema - the ordered list of the field names - and data are the records. The generator returns an iterator in the form header+data, where the data are actually named tuples. The greater generality allows a better reuse of code, and more. Having followed rule 1, I can make my application more testable, since the logic for generating the namedtuple has been decoupled from the CSV file parsing logic: in practice, I can test the logic even without a file CSV. I do not need to set up a test environment and test files: this is a very significant advantage, especially if you consider more complex situations, for instance when you have to work with a database. Having changed the question from "process a CSV file" into "convert an iterable into a namedtuple sequence" allows me to leave the job of reading the CSV files to the right object, i.e. to csv.reader which is part of the standard library and that I can afford not to test (in my opinion you should not test everything, there are things that must be tested with high priority and others that should be tested with low priority or even not tested at all). Having get_table at our disposal, it takes just a line to solve the original problem, get_table(csv.reader(fname)): we do not even need to write a hoc library for that. It is trivial to extend the solution to more general cases. For instance, suppose you have a CSV file without header, with the names of the fields known in some other way. It is possible to use get_table anyway, it is enough to add the header at runtime: get_table(itertools.chain([fields], csv.reader(fname))) For lack of a better name, let me call table the structure header + data. Clearly the approach is meant to convert tables into other tables (think of data mining/data filtering applications) and it will be natural to compose operators working on tables. This is a typical problem begging for a functional approach. For reasons of technical convenience I have introduced the function headtail; it is worth mentioning that in Python 3.0 tuple unpacking has been extended so that it will be possible to write directly head, *tail = iterable instead of head, tail = headtail(iterable) - functional programmers will recognize the technique of pattern matching of conses. get_table allows to alias the names of the field, as shown by test2. That feature can be useful in many situations, for instance if the field names are cumbersome and it makes sense to use abbreviations, or if the names as read from the CSV file are not valid identifiers (in that case namedtuple would raise a ValueError). This is the end of part I of this series. In part II I will discuss how to manage record coming from a relational database. Don't miss it! def get_table(header_plus_body, name='Record', fields=None): "Return a sequence of namedtuples in the form header+body" header, body = headtail(header_plus_body) ntuple = namedtuple(name, fields) if fields else namedtuple(name, header) ... def get_table(header_plus_body, name='Record', fields=None, force_header=False): "Return a sequence of namedtuples in the form header+body" if force_header or fields is None: header, body = headtail(header_plus_body) if fields is not None: header = fields ntuple = namedtuple(name, header) ...
http://www.artima.com/forums/flat.jsp?forum=106&thread=236637
CC-MAIN-2014-42
refinedweb
2,326
58.92
How to: Populate Object Collections from Multiple Sources (LINQ) Updated: July 2008 This example shows how to merge data from different source types into a sequence of new types. The examples in the following code merge strings with integer arrays. However, the same principle applies to any two data sources, including any combination of in-memory objects (including results from LINQ to SQL queries, ADO.NET datasets, and XML documents). To create the data file Create a new Visual C# or Visual Basic project and copy the following the names.csv and scores.csv files into your solution folder, as described in How to: Join Content from Dissimilar Files (LINQ). The following example shows how to use a named type Student to store merged data from two in-memory collections of strings that simulate spreadsheet data in .csv format. The first collection of strings represents the student names and IDs, and the second collection represents the student ID (in the first column) and four exam scores. class Student { public string FirstName { get; set; } public string LastName { get; set; } public int ID { get; set; } public List<int> ExamScores { get; set; } } class PopulateCollections { static void Main() { // These data files are defined in How to: Join Content from Dissimilar Files (LINQ) string[] names = System.IO.File.ReadAllLines(@"../../../names.csv"); string[] scores = System.IO.File.ReadAllLines(@"../../../scores.csv"); // Merge the data sources using a named type. // var could be used instead of an explicit type. // Note the dynamic creation of a list of ints for the // TestScores member. We skip 1 because the first string // in the array is the student ID, not an exam score. IEnumerable<Student> queryNamesScores = from name in names let x = name.Split(',') from score in scores let s = score.Split(',') where x[2] == s[0]. Could be useful with // very large data files. List<Student> students = queryNamesScores.ToList(); // Display the results and perform one further calculation. foreach (var student in students) { Console.WriteLine("The average score of {0} {1} is {2}.", student.FirstName, student.LastName, student.ExamScores.Average()); } //Keep console window open in debug mode Console.WriteLine("Press any key to exit."); Console.ReadKey(); } } /* Output: The average score of Adams Terry is 85.25. The average score of Fakhouri Fadi is 92.25. The average score of Feng Hanying is 88. The average score of Garcia Cesar is 88.25. The average score of Garcia Debra is 67. The average score of Garcia Hugo is 85.75. The average score of Mortensen Sven is 84.5. The average score of O'Donnell Claire is 72.25. The average score of Omelchenko Svetlana is 82.5. The average score of Tucker Lance is 81.75. The average score of Tucker Michael is 92. The average score of Zabokritski Eugene is 83. */ The data sources in these examples are initialized with object initializers. The query uses a join clause to match the names to the scores. The ID is used as the foreign key. However, in one source the ID is a string, and in the other source it is an integer. Because a join requires an equality comparison, you must first extract the ID from the string and convert it to an integer. This is accomplished in the two let clauses. The temporary identifier x in the first let clause stores an array of three strings created by splitting the original string at each space. The identifier n in the second let clause stores the result of converting the ID substring to an integer. In the select clause, an object initializer is used to instantiate each new Student object by using the data from the two sources. If you do not have to store the results of a query, anonymous types can be more convenient than named types. Named types are required if you pass the query results outside the method in which the query is executed. The following example performs the same task as the previous example, but uses anonymous types instead of named types: // Merge the data sources by using an anonymous type. // Note the dynamic creation of a list of ints for the // TestScores member. We skip 1 because the first string // in the array is the student ID, not an exam score. var queryNamesScores2 = from name in names let x = name.Split(',') from score in scores let s = score.Split(',') where x[2] == s[0] select new { First = x[0], Last = x[1], TestScores = (from scoreAsText in s.Skip(1) select Convert.ToInt32(scoreAsText)) .ToList() }; // Display the results and perform one further calculation. foreach (var student in queryNamesScores2) { Console.WriteLine("The average score of {0} {1} is {2}.", student.First, student.Last, student.TestScores.Average()); } Create a Visual Studio project that targets the .NET Framework version 3.5. By default, the project has a reference to System.Core.dll and a using directive (C#) or Imports statement (Visual Basic) for the System.Linq namespace. Copy this code into your project. Press F5 to compile and run the program. Press any key to exit the console window.
https://msdn.microsoft.com/en-us/library/bb513866(v=vs.90).aspx
CC-MAIN-2017-30
refinedweb
840
67.76
a short online course in game theory under Stanford and that’s what gets me occupied most of the time so it’s not ideal to discuss something rather complex as an actual IT project. so here i am with another game tutorial. a couple of weeks ago (or maybe a month ago), i’ve encountered the game Flood-it! while checking out some games in Google Plus. i was idle then. i could have actually checked out some other games with better graphics, complex goals and all that, but i was at the office and thought i should not try those games that would catch too much attention from people who would probably pass by my work station. so i just chose Flood-it! and well it was okay to pass one’s time. the goal was very simple yet challenging, and Google Plus added a way for you and your friends to compete against each other. that was added coolness for those who are really competitive when it comes to games. the goal was simple, one has to fill/flood the 14×14 grid with only one color in 25 moves by selecting one of the six colors on the palette. you can check out an online sample here. since i was idle and looking for something fun to do, i decided i would create a version of the game in python. the graphics needed was not very sophisticated and the logic was simple so i thought it was the perfect game to code while waiting for better tasks. now i know that sounds a little nerdy but i already said before that i’m learning python and it would be good to code using it in simple yet not ridiculous applications. finally, let’s get to coding. i did not have time to refactor the codes so i have everything in a single file but i will try to discuss everything in detail. we of course start with the essential initialization as shown below. import pygame import pygame._view from pygame import * import random pygame.init() DEFAULT_SCREEN_SIZE = [608, 448] DEFAULT_TILE_SIZE = [32, 32] DEFAULT_STEP_SIZE = 32 screen = pygame.display.set_mode(DEFAULT_SCREEN_SIZE) display.set_caption('Flood-it!') like the other tutorials, we start by importing pygame, and the random class library. we initialize the game by calling pygame.init() then we set the default values for the screen size, tile size, and the step size to use when iterating across the grid. finally we set the display mode and the caption to use in the window. we then declare all variables the global variables needed in the game. #declares all global variables watchlist = None #list of coordinates of all "flooded" tiles checkedlist = None #list of coordinates of tiles already updated tiles = None #list of coordinates of all tiles in the game is_done = False #tells whether game is done update = False #tells whether display must update for_restart = False #tells whether player opted to restart movecount = None #counts moves taken by the player btncol = None #list of control buttons next, we create the essential functions. following are a few short ones. #returns a color RGB values given a number from 1-6 def _getcolor(colornum): if colornum == 1: return [255, 105, 180] #hot pink elif colornum == 2: return [138, 43, 226] #blue violet elif colornum == 3: return [255, 255, 0] #yellow elif colornum == 4: return [255, 69, 0] #orange red elif colornum == 5: return [110, 139, 61] #dark olive green elif colornum == 6: return [0, 191, 255] #deep skyblue #tells whether the two colors are the same def _issamecolor(color1, color2): if color1[0] == color2[0] and color1[1] == color2[1] and color1[2] == color2[2]: return True return False #adds a tile's coordinate to list of flooded tiles def _addtowatchlist(coord, color): global tiles global watchlist adjcolor = tiles[str(coord[0])+"-"+str(coord[1])] if _issamecolor(color, adjcolor): _fill([coord[0], coord[1]], color) #updates the color of the flooded tiles to the newly selected one def _colorwatchlist(color): global checkedlist global watchlist for i in range(len(watchlist)): screen.blit(color, watchlist[i]) checkedlist.remove(watchlist[i]) pygame.display.update() a built-in function for determining intersection of two lists exists but i took the long way of telling whether the two colors are the same because the built-in function got an issue with RGB values equal to 0. next we create the function that will update the look of the grid after a user selects a color. the function basically checks if a tile must be flooded or not, adds it to the watch list if it must, then proceed to check adjacent tiles. def _fill(coord, color): global checkedlist global tiles global watchlist #stops updates of already checked coordinates if checkedlist.__contains__(coord): return else: checkedlist.append(coord) #adds coordinate to watchlist if not existing if not watchlist.__contains__(coord): watchlist.append(coord) tile = pygame.Surface(DEFAULT_TILE_SIZE) tile.fill(color) screen.blit(tile, coord) if coord[0] - DEFAULT_STEP_SIZE >= 0: X = coord[0] - DEFAULT_STEP_SIZE Y = coord[1] _addtowatchlist([X, Y], color) if coord[0] + DEFAULT_STEP_SIZE < DEFAULT_SCREEN_SIZE[1]: X = coord[0] + DEFAULT_STEP_SIZE Y = coord[1] _addtowatchlist([X, Y], color) if coord[1] - DEFAULT_STEP_SIZE >= 0: X = coord[0] Y = coord[1] - DEFAULT_STEP_SIZE _addtowatchlist([X, Y], color) if coord[1] + DEFAULT_STEP_SIZE < DEFAULT_SCREEN_SIZE[1]: X = coord[0] Y = coord[1] + DEFAULT_STEP_SIZE _addtowatchlist([X, Y], color) we then create the function that will render the game’s controls which are the six color buttons. the function basically draws the buttons on the screen and stores their location for later reference. def _render_controls(): #button initialization global btncol btncol = [dict(), dict(), dict(), dict(), dict(), dict()] #button color initialization btncol[0]['color'] = _getcolor(1) btncol[1]['color'] = _getcolor(2) btncol[2]['color'] = _getcolor(3) btncol[3]['color'] = _getcolor(4) btncol[4]['color'] = _getcolor(5) btncol[5]['color'] = _getcolor(6) #button position initialization btncol[0]['position'] = [512, 21] btncol[1]['position'] = [512, 95] btncol[2]['position'] = [512, 169] btncol[3]['position'] = [512, 243] btncol[4]['position'] = [512, 317] btncol[5]['position'] = [512, 391] #button bounds initialization btncol[0]['bounds'] = pygame.Rect(512, 21, 32, 32) btncol[1]['bounds'] = pygame.Rect(512, 95, 32, 32) btncol[2]['bounds'] = pygame.Rect(512, 169, 32, 32) btncol[3]['bounds'] = pygame.Rect(512, 243, 32, 32) btncol[4]['bounds'] = pygame.Rect(512, 317, 32, 32) btncol[5]['bounds'] = pygame.Rect(512, 391, 32, 32) for i in range(len(btncol)): pygame.draw.circle(screen, btncol[i]['color'] \ , [btncol[i]['position'][0]+16, btncol[i]['position'][1]+16] \ , 16) pygame.display.update() the following functions are not really necessary but i wanted to add a little something to the game, rage faces! yes i’m at times pretty shallow that i enjoy rage faces. because of that, i created a function that will display a random rage face if a user wins or loses. def _gameover(): shade = pygame.Surface(DEFAULT_SCREEN_SIZE) shade.fill([0, 0, 0]) shade.set_alpha(200) screen.blit(shade, [0, 0]) imggameover = pygame.image.load('gameover(imggameover, [64, 104], rectangle) pygame.display.update() def _success(): shade = pygame.Surface(DEFAULT_SCREEN_SIZE) shade.fill([0, 0, 0]) shade.set_alpha(200) screen.blit(shade, [0, 0]) imgwin = pygame.image.load('win(imgwin, [64, 104], rectangle) pygame.display.update() lastly, for the set of functions, we have the _init function that is supposed to start the game. it starts with initializing global variables then it proceeds to fill the grid with randomly colored tiles before. it then assigns the starting tile, then renders the controls. def _init(): global checkedlist global watchlist global tiles global movecount global for_restart checkedlist = list() watchlist = list() tiles = dict() movecount = 0 for_restart = False screen.fill(0) #color screen black #fills the grid with randomly colored tiles for i in range(14): for j in range(14): #sets coordinates X = DEFAULT_STEP_SIZE*i Y = DEFAULT_STEP_SIZE*j #gets random tile colornum = random.randint(1, 6) tile = pygame.Surface(DEFAULT_TILE_SIZE) color = _getcolor(colornum) tile.fill(color) tiles[str(X)+"-"+str(Y)] = color screen.blit(tile, [X, Y]) #adds starting tile to watch list _fill([0, 0], tiles['0-0']) #initializes first time coloring of watch list tile = pygame.Surface(DEFAULT_TILE_SIZE) tile.fill(tiles['0-0']) _colorwatchlist(tile) #renders the controls _render_controls() finally, the _init function has to be called before the game begins. then program will enter the loop that contains the logic of the game as shown below. _init() while is_done == False: global is_done global update global movecount global for_restart global btncol #checks for changes in direction and validates it for e in event.get(): color = None if e.type == MOUSEBUTTONDOWN: for i in range(len(btncol)): if btncol[i]['bounds'].collidepoint(e.pos): color = _getcolor(i+1) elif e.type == QUIT: is_done = True elif e.type == KEYUP: update = True if e.key == K_ESCAPE: is_done = True elif e.key == K_r: _init() elif e.key == K_a: color = _getcolor(1) elif e.key == K_s: color = _getcolor(2) elif e.key == K_d: color = _getcolor(3) elif e.key == K_z: color = _getcolor(4) elif e.key == K_x: color = _getcolor(5) elif e.key == K_c: color = _getcolor(6) if color != None and movecount < 25: if not for_restart: movecount += 1 tile = pygame.Surface(DEFAULT_TILE_SIZE) tile.fill(color) for i in range(len(watchlist)): _fill(watchlist[i], color) _colorwatchlist(tile) display.set_caption('Flood-it! '+str(movecount)+'/25') if len(watchlist) == 196: if not for_restart: _success() for_restart = True display.set_caption('Flood-it! Congratulations. You won!') if movecount == 25 and len(watchlist) != 196: if not for_restart: _gameover() for_restart = True display.set_caption('Flood-it! GAME OVER!') if update == True: #TODO: call update function update = False first, the program will go through the events that might have occurred. a valid event could be a mouse-click on a button or pressing of any of the dedicated keys to any color. the program will then attempt to update the grid then see if user has reached the move limit or the goal of flooding the whole grid was already achieved. whew, that was quite long. i hope you will get to enjoy this game and add your own enhancements (better tiles perhaps). you can download the codes and the images here. again, make sure you have python 2.7 and the compatible pygame library. until next time! (: 2 thoughts on “Flood-it! Game in Python 2.7 with Pygame” I love this tutorial and would like to learn python (pygame) programming. I have a silly question about python-pygame. Am I have to master python first before learning pygame or just go head with pygame with little knowledge of python?. FYI, I’m beginner in this area. Currently I’m still play around with python 2.7.2 in Mac OSX Lion and just installed Pygame in there. Need your advice. TQ honestly, i don’t think mastery of the python language is necessary before using pygame. i am of course assuming that you want to start with simple games. knowledge of the basics such as simple data structures, conditions, and loops can already get you far. not all enjoyable games are programmatically complex anyway, the idea matters more. as you go on learning things, you will eventually know the things you need to study. that’s the time when you would need to read python documentations and other materials. for now, you are good to go with basic python. thanks for commenting, by the way. it is much appreciated.
https://markbadiola.com/2012/04/18/flood-it-game-in-python-2-7-with-pygame/
CC-MAIN-2022-40
refinedweb
1,894
57.16
Example of adding live-data to static in strategy? Trying to get my head around the following set of requirements. I'm taking the system that I have coded that is succesfully backtesting against static data and now trying to add in a live data source to do more realtime calculation of signals. Data0 = Live data for traded instrument 'BAR' Data1 = Live data for signaling instrument 'FOO' used to signal entry/exit for the current day Data2 = Years of static daily timeframe data for signaling instrument 'FOO' I need to add the close value for probably a minute timeframe off of Data1to the value from yesterday and beyond found in daily timeframe data of Data2. I've looked at most of the samples and am not finding anything that is augmenting the Data2to calculate the indicator values that need lookback of multiple years. This all works when dealing with daily static data provided by Data2. I'm just a bit confused as to where to take the value of the minute close of Data1as if it was the Daily close value for today. I am really only interested in triggering a signal off of the actual close for today to execute a trade on the next bar of Data0. As a side note, I don't really trust the IB historical data enough to use it for the multi-year lookback needed here, so I use a different static source for the historical daily data and really only want to add today's values to that other static data source to calculate the signal. Advance thanks for your help. The topic seems to summarize itself as: *How to calculate an indicator which is based in data from different timeframes? * This is supported through a mechanism that was named: Coupling See here: or here - (The content should be basically the same) Note: the mechanism works but cross-plotting doesn't. The changes involved in releasing the 1.9.xseries for a new data synchronization mechanism, meant changes in plotting and the mechanism originally used for the cross-plotting no longer works. Still struggling with this concept a bit. How do I specifically couple data2and data1from my example above? Also, looking at the example code you referenced, does the resampleimplicitly create data1? I'm doing something like the following: # Parse static ES data file data0 = bt.feeds.PandasData() cerebro.adddata(data0, name='ES') # Parse SPY data file data1 = bt.feeds.PandasData() cerebro.adddata(data1, name='SPY') if live: IBDataFactory = ibstore.getdata data2 = IBDataFactory(dataname=symbol) cerebro.adddata(data2, name='ES-live') # SPY Live Data data3 = IBDataFactory(dataname=symbol) cerebro.adddata(data3, name='SPY-live') I've obviously left out a lot of the details in that code but the connection works and am getting data based on the log info of the IBgateway. I'm still not clear on how I couple data1and data3to get live SPYdata to pass to my indicators. I've spent a lot of time in the debugger trying to sort this out and am not finding the magic. Thanks for your help. @backtrader I also wonder if we are not talking about different issues here. In Live data mode, I have 4 datas. 2 of those datas sources are static data read from file in order to give me enough backdata to feed my indicators. The other 2 datas are live streaming data that I wish to execute trades against one of them and to continue to calculate the indicator values based on the new live data coming in to provide today's values for the static data from yesterday and beyond. I am not resampling to generate this data. This was completely misunderstood. It seems you are simply looking for backfilling to warm up the indicators. The IBDatasupportf backfilling from existing data sources with:. # Parse static ES data file data0 = bt.feeds.PandasData() # Parse SPY data file data1 = bt.feeds.PandasData() IBDataFactory = ibstore.getdata data2 = IBDataFactory(dataname=symbol) cerebro.adddata(data2, name='ES-live', backfill_from=data0) # SPY Live Data data3 = IBDataFactory(dataname=symbol, backfill_from=data1) cerebro.adddata(data3, name='SPY-live') Excellent. I will give this a try. As I wrote above, I do not trust the IB historical data. I have another source of very solid historical data that I prefer to use and would then like to augment that with the current day's data for making trading decisions. That's the point of passing your data0which you have loaded from a file as backfill_from. Anything which is in that file will be considered, and only the delta between the end of the file and the start of the live feed will be pulled from IB. Just a bit of a clarification for anyone running across this thread in the future, the backfill_fromparameter should be used with the call to IBDataFactory()instead of the .adddata()object as show in one of the examples above. That said, I'm running into the following error when I attempt to take this approach: 1152, in _runnext drets = [d.next(ticks=False) for d in datas] File "/home/inmate/.virtualenvs/backtrader3/lib/python3.4/site-packages/backtrader/cerebro.py", line 1152, in <listcomp> drets = [d.next(ticks=False) for d in datas] File "/home/inmate/.virtualenvs/backtrader3/lib/python3.4/site-packages/backtrader/feed.py", line 339, in next ret = self.load() File "/home/inmate/.virtualenvs/backtrader3/lib/python3.4/site-packages/backtrader/feed.py", line 411, in load _loadret = self._load() File "/home/inmate/.virtualenvs/backtrader3/lib/python3.4/site-packages/backtrader/feeds/ibdata.py", line 528, in _load for alias in self.lines.getaliases(): AttributeError: 'Lines_LineSeries_DataSeries_OHLC_OHLCDateTime_Abst' object has no attribute 'getaliases' Indeed. That's the problem with snippet typing ... one of the backfill_fromgot wrongly positioned (luckily the 2nd was where it had to be) The corrected snippet. # Parse static ES data file data0 = bt.feeds.PandasData(dataname='my-es-file') # Parse SPY data file data1 = bt.feeds.PandasData(dataname='my-spy-file') IBDataFactory = ibstore.getdata data2 = IBDataFactory(dataname=symbol, backfill_from=data0) cerebro.adddata(data2, name='ES-live') # SPY Live Data data3 = IBDataFactory(dataname=symbol, backfill_from=data1) cerebro.adddata(data3, name='SPY-live') The getaliasesseems to be one of the points where a refactoring went wrong. The correct call is getlinealiasesand has been pushed to the master. With this change, when running in live mode now with the backfill_from, I don't seem to have an initialized self.positionin next()of strategy. Not sure yet if this is something that I have failed to do or issue. This works when not running with live data with local static data only. Looking at this in the debugger: (Pdb) foo = self.broker.getposition(data=self.data_es) (Pdb) foo.size 0 So the data is there, just not initialized to self.position. The status/size reported by self.position(which is a Positioninstance with sizeand priceattributes) is not related to what's being used to fill the value in the self.data. In your original example there are 4 data feeds and now the system should be down to 2. self.positionis a shortcut to get the actual position on self.datas[0](aka self.dataor self.data0). Additionally and if code has been used from ibtest.py, any buy/sellaction will first take place when the LIVEnotification is received (the initial status whilst backfilling is DELAYED Thanks for the hint. That seems to have resolved my issue. Count me as one who is officially running backtrader fully auto on paper account. @backtrader thanks again for all of your help and a great set of tools that you have made available to us all. Continuing to have some trouble here. System happily waited for live data to start flowing. However, as soon as the market opened this evening, the system crashed with the following backtrace. Server Version: 76 TWS Time at connection:20170102 19:10:03 MST Traceback (most recent call last): File "systems/system.py", line 335, in <module> runstrategy() File "systems/system.py", line 149, in runstrategy results = cerebro.run(runonce=False, tradehistory=True, exactbars=args.exactbars) 1166, in _runnext dt0 = min((d for i, d in enumerate(dts) ValueError: min() arg is an empty sequence I've set a break in notify_data() as follows and am never getting there. Status is never data.LIVE. The market data is available as I have another system that is able to pull the requested data. def notify_data(self, data, status, *args, **kwargs): if self.p.printout: print('*' * 5, 'DATA NOTIF:', data._getstatusname(status), *args) if status == data.LIVE: self.datastatus = True import pdb; pdb.set_trace() Also getting the following prints: ***** STORE NOTIF: <error id=-1, errorCode=2104, errorMsg=Market data farm connection is OK:usfarm> ***** STORE NOTIF: <error id=-1, errorCode=2106, errorMsg=HMDS data farm connection is OK:ilhmds> ***** STORE NOTIF: <error id=-1, errorCode=2106, errorMsg=HMDS data farm connection is OK:euhmds> ***** STORE NOTIF: <error id=-1, errorCode=2106, errorMsg=HMDS data farm connection is OK:fundfarm> ***** STORE NOTIF: <error id=-1, errorCode=2106, errorMsg=HMDS data farm connection is OK:ushmds> I can seemingly resolve this issue by first doing .adddata()for the live data stream before the .resample(). But I was under the impression that the .adddata()was not required if doing a .resample()as seen in the ibtest.pycode. I never get LIVEdata status though with this configuration. - backtrader administrators last edited by backtrader The <error id=-1, errorCode=2104, errorMsg=Market data farm connection is OK:usfarm>notifications are OK. IB chose to notify that the status of the different data server through errors 21xx. The text in errMsgis what's actually makes the diffference, but in this case it says OK. There shouldn't be any need to use adddata, as you have already seen in the sample. From the trace, the error can be tracked down to: dt0 = min((d for i, d in enumerate(dts) ValueError: min() arg is an empty sequence The entire code fragment which is in play: # Get index to minimum datetime if onlyresample or noresample: dt0 = min((d for d in dts if d is not None)) else: dt0 = min((d for i, d in enumerate(dts) if d is not None and i not in rsonly)) Your code fails in the 2nd part which is for cases in which no resampling takes place or a mix of adddataand resample/ replaytakes place. In any case, one can only be in that code fragment if one of the existing data feeds has reported to have something to deliver. This is only a guess, because there is no description in your post as to what you are actually doing (why you don't get LIVE is part of the unknown configuration) One suspicion that I would first ask, is it possible to use backfill_fromwith data in different timeframe (Daily in my case) than the data timeframe used for the live feed? To give a bit more detail as I try to sort through where this might be failing... I am doing the following: # Parse static ES data file of daily OHLCV data0 = bt.feeds.PandasData(dataname='my-es-file') # Parse SPY data file of daily OHLCV data1 = bt.feeds.PandasData(dataname='my-spy-file') IBDataFactory = ibstore.getdata # ES Live Data data2 = IBDataFactory(dataname=symbol, backfill_from=data0, timeframe=bt.Timeframe.Seconds, fromdate=None, historical=False, rtbar=False, qcheck=0.5, what=None, latethrough=False, tz=None, backfill_start=True, backfill=True, compression=5) cerebro.resampledata(data3, timeframe=bt.TimeFrame.Minutes, compression=1, bar2edge=True, adjbartime=True, rightedge=True, takelate=True) # SPY Live Data data3 = IBDataFactory(dataname=symbol, backfill_from=data1, timeframe=bt.TimeFrame.Minutes, fromdate=None, historical=False, rtbar=False, qcheck=0.5, what=None, latethrough=False, tz=None, backfill_start=True, backfill=True) cerebro.resampledata(data3, timeframe=bt.TimeFrame.Days, compression=1, bar2edge=True, adjbartime=True, rightedge=True, takelate=True) With the above setup, I now error out in my indicator with the following error: File "/home/inmate/.virtualenvs/backtrader3/lib/python3.4/site-packages/back trader/linebuffer.py", line 182, in get return list(islice(self.array, start, end)) ValueError: Indices for islice() must be None or an integer: 0 <= x <= sys.max size. In the debugger, I see: (Pdb) len(self) 756 (Pdb) len (self.dval8) 756 (Pdb) self.dval8[0] 0.49771632773232516 (Pdb) self.dval8.get(size=252, ago=0) *** ValueError: Indices for islice() must be None or an integer: 0 <= x <= sys .maxsize. (Pdb) self.dval8.get(size=8, ago=0) [0.49987104505171959, 0.5011817035953996, 0.50303547679268779, 0.5033757977972 1131, 0.5014079085533496, 0.4985198983481765, 0.49832603424557598, 0.49771632773232516] Requesting a slice bigger than 8 items fails with the above error. - backtrader administrators last edited by backtrader is it possible to use backfill_from with data in different timeframe (Daily in my case) than the data timeframe used for the live feed? The platform will NOT prohibit that you do that, but the outcome is clearly undefined. Indicators (if working at all) will be calculating values based on completely different bar sizes (for example) and the outcome will make no sense. Requesting a slice bigger than 8 items fails with the above error. The default ibtest.pyapplies exactbars=1to cerebro.run(...). Although not shown above, this is for sure the problem. This switches all objects into only buffering the minimum needed amount of data, as reported by the dependencies recognized during creation. Your indicator has reported to only need a lookback period of 8positions. Looking back 252positions breaks it. If I run with exactbars=0, I get the error previously reported: File "/home/inmate/.virtualenvs/backtrader3/lib/python3.4/site-packages/back trader/cerebro.py", line 1166, in _runnext dt0 = min((d for i, d in enumerate(dts) ValueError: min() arg is an empty sequence exactbarsset to 1 or -1 produce the error in the indicator. In my indicator, I have the following in __init__(): def __init__(self): self.addminperiod(756) This is why I see a size of 756 when we hit next():for the first time in the indicator. How can I have a size of 756 yet not have 756 values available to the .get? To clarify the first question about different sizes, I am resampling the live data to the same timeframe as the static local data, so I am assuming that resolves any issue there. I am only using the SPY data for indicator calculations, so I would not expect that to be an issue. Because there is always a minimum period of 1which is transmitted by data feeds. Try adding 757 Adding 757 as minperiod has the same error: (Pdb) len(self) 757 This does work with static data only. It is the addition of the live data and backfill_fromthat is producing this issue. (Correction added above to remark that "The platform will NOT ... when mixing different timeframes with backfill_from) It may be good to try to summarize the situation. (Please correct any misinterpretation): Above the indicator was looking to get 252items, but it failed because it only had 8in the buffer, because the code is working with exactbars=1which reduces the buffers of all objects to the minimum required by the dependencies. 756was not working in spite of having self.addminperiod(756). This was interpreted, probably wrong, as you not having the full 756values but probably 755due to the overlapping nature of the datas. May it be that you still had only the 8items from the post above? Summary of exactbars: feeds.
https://community.backtrader.com/topic/26/example-of-adding-live-data-to-static-in-strategy
CC-MAIN-2020-40
refinedweb
2,580
57.06
This chapter describes how to create and manage diagrams using the latest tools and technologies included in Oracle JDeveloper. This chapter includes the following sections: Section 22.1, "About Creating, Using, and Managing Diagrams" Section 22.2, "How to Use the Basic Diagramming Commands" Section 22.3, "Working with Diagram Nodes and Elements" Section 22.4, "How to Work with Diagram Annotations" Section 22.5, "Changing the Way a Diagram is Viewed" Section 22.6, "Laying out Diagrams" Section 22.7, "Transforming Java Classes and Interfaces" Section 22.8, "Importing and Exporting UML Using XMI" Section 22.9, "Using UML Profiles" Section 22.10, "Working with UML Class Diagrams" Section 22.11, "Working with UML Activity Diagrams" Section 22.12, "Working with Sequence Diagrams" Section 22.13, "Working with Use Case Diagrams" Section 22.14, "How Diagrams are Stored on Disk" Section 22.15, "How UML Elements are Stored on Disk" Oracle JDeveloper provides you with a wide range of tools and diagram choices to model your application systems. There are handy wizards to walk you through creating your diagrams and elements, as well as a Component Palette and Property Inspector to make it easy to drag and drop, and to edit a variety of elements without leaving your editing window. In addition there are four UML diagram options, including features to create, manage and transform your classes to UML and UML to classes, as well as XMI import and export capabilities. Figure 22-1 shows the diagram editor window, with a class diagram, as well as the Application Navigator and Component Palette. You can open diagrams by double-clicking them in the Navigator, and once open, drop-and-drag components onto the diagram editor. Notice the standard formatting icons at the top of the editor, such as color, font, and zooming features. You can perform many of the basic diagramming tasks and commands in a few clicks using JDeveloper menu options. Diagram files contain graphical properties such as positions, sizes and colors. The visual elements are generally stored in separate files. Changes you make to the diagram updates all related files. To ensure these are consistent, select File > Save All. To create a new diagram: In the Application Navigator, select your project, then choose File > New > General > Diagrams. Select a diagram type, lick OK. You might need to change the default name and package for the diagram. The default package for a diagram is the default package specified in the project settings. An empty diagram is created in the specified package in the current project, and opened in the content area. Click OK. To publish a diagram as a image: Right-click on the diagram that you want to publish as an image, then choose Publish Diagram. Or Click on the surface of the diagram that you want to publish as an image, then choose Diagram > Publish Diagram. Using the location drop-down list, select the destination folder for the image file. In the File name box, enter a name for the image file, including the appropriate file extension (.svg, .svgz, .jpg, or .png). From the File type drop-down list, select the file type for the image file (SVG, SVGZ, JPEG, or PNG). Click Save. To rename a diagram: In the Application Navigator, select the diagram to rename. Choose File > Rename. Choose Rename the file only do not update references. References updates are not applicable to diagrams in this case. To set up the page before printing: Click on the surface of the diagram you want to print, then choose File > Page Setup. Make changes to the settings on the tabs of the Page Setup dialog. previously set print area: Choose File > Print Area > Clear Print Area. To see a preview of the page before printing: Choose File > Print Preview. To delete a diagram: In the navigator, select the diagram to remove. Choose Edit > Delete. These commands remove the diagram file from the system and close the editing window for that diagram. The elements for the deleted diagram remain in the navigator and on the file system. You can also delete a diagram from the Application Navigator. In the Application Navigator, right-click on the diagram name and choose Delete. To Zoom In and Out of a Diagram: Use Ctrl+scroll to zoom in and out of diagrams. When using the thumbnail view, use scroll to zoom. To display the diagram at original size: In the zoom drop-down list, located on the diagram toolbar, choose 100%, or click the diagram, then choose Diagram > Zoom > 100%. To display the entire diagram: In the zoom drop-down list, located on diagram toolbar, choose Fit to Window, or click the diagram, then choose Diagram > Zoom > Fit to Window. To display the selected elements at the maximum size: In the zoom drop-down list, located on the diagram toolbar, choose Zoom to Selected, or click the diagram, then choose Diagram > Zoom > Zoom to Selected. Use nodes and elements to represent the various elements and related resources of your system architecture. A node is shape on a diagram. To create a node on a diagram: Select the node type you want to create from those listed in the Component Palette for your diagram. Click the diagram where you want to create the node.. Or Complete the wizard. Note: To add properties to nodes on a diagram, double-click the node or right-click the node and choose Properties. Then add the properties using a dialog or editor. You can also create the property on the diagram using in-place creation. Nodes for certain elements can also be created inside other nodes. To Create Internal Nodes on a Diagram Element: Elements can be represented on a diagram as internal nodes on other diagram elements. Internal nodes can be used to create the following: Inner classes and inner interfaces in modeled UML classes and interface. Inner classes and inner interfaces in modeled Java classes and interfaces. Relation usages in modeled database views. navigator, or diagram, and drop it in the expanded node to create an inner node. To change the way nodes are shown on a diagram: Select the diagram element(s) and choose one of the following: Diagram > View As > Compact. Diagram > View As > Symbolic. Diagram > View As > Expanded. To connect two nodes on a diagram: Relationships between node elements are identified using connectors. A connector is the end point of a diagram edge. Select the connector type from those listed in the Component Palette for the type element you are connecting. Click the originating end node. Connectors with an implied or actual direction will traverse from the originating to the destination end. Click the node to be the destination end of the connector. To optimize the size of nodes on a diagram: Select the nodes to resize. Right-click the selected nodes then choose Optimize Shape Size > Height and Width, as one option. There are many options available for changing the properties on your diagrams and managing the elements. To select all elements of the same type: Select an object of the type you want. From the context menu, choose Select All This Type. To select all elements on the active diagram: Choose Edit > Select All. To select specific diagram elements on the active diagram: Press and hold down the Ctrl key, then click the elements on the diagram to select. To select all elements in a given area of the active diagram: Position the pointer at the corner of the area on the diagram to select the elements, then press and hold down the mouse button. Drag the mouse pointer over the area. Release the mouse button when the objects are entirely enclosed within the selection area. To deselect a selected element in a group of selected elements: Press and hold down the Ctrl key. Click the element(s) on the diagram to deselect. To group elements on a diagram: In the Component Palette, click Group. Position the pointer at the corner of the area on the diagram to group the elements, then press and hold down the mouse button. Drag the mouse pointer over the area. Release the mouse button when the objects are entirely enclosed. To manage grouped elements on a diagram: Use the Manage Group feature to move elements in and out of groups, move elements to other groups, or move groups in and out of other groups. Select the group to manage. Right-click and select Manage Group. You can also move elements in and out of groups by Shift+dragging the element to the desired position. To display related elements on a diagram: Select the diagram item, then choose Diagram > Show Related Elements. Or Right-click the diagram item, then choose Show Related Elements. To change the properties of a diagram element using the Properties dialog: Open the Properties dialog in one of the following ways: On the diagram, double-click the element Or Select the element on the diagram, then, from its context menu, choose Properties. To change certain properties of a diagram using in-place creation and editing: You can create new secondary elements directly and change properties in place on modeled diagram elements. To change the properties of diagram elements using the Property Inspector: Open the Property Inspector by selecting View > Property Inspector. In a navigator, select the element (s). In the Property Inspector, find the property value to change. On the right of the Property Inspector, select the control and change the value. (The control may be an edit box, a drop-down list, a checkbox, etc.). Note: These options are not all valid for all elements. You can toggle the diagram display between symbolic mode, where all elements are displayed, and compact mode, where only basic information about the element is displayed. To find an element on a diagram: Click on the element name in the structure pane. The element is selected in the diagram. You can also use the thumbnail view of the diagram to find an element. To display a thumbnail view of a diagram, select the diagram either in the navigator or by clicking on the background of the diagram, then choose View > Thumbnail. You can grab the view area box and move it over elements on the thumbnail view of the diagram. The corresponding elements are brought into view on the main diagram. To change the color or font of one or more elements that are already on a diagram: Select the element or elements on the diagram. Then in the property inspector (View >Property Inspector),. To change the color or font of diagram elements to be added to a diagram: Choose Tools > Preferences, select Diagrams, select the diagram type, and then (from the Edit Preferences For drop-down box), select the element type to change, as shown in Figure 22-4. On the Color/Font tab, make the required changes. To copy the diagram graphical options of fill color, font, font color, and line color to one or more elements: Select the element with the properties you want to copy. Right-click and select Visual Properties. (You can also go to Tools > Preferences > Diagrams to customize all of the visual and graphical properties.) Select one or more elements with the properties to change. (Press Shift+select to select a group of elements.) Right-click and select Paste Visual Properties.. To copy elements from a diagram and paste them into another application: Select the diagram elements, then choose Copy on the context menu, or choose the Copy icon on the JDeveloper toolbar, or press Ctrl-C. Open the destination application. Use the clipboard paste facility in the destination application to place the diagram elements where you require them. Resize an element by dragging the grab bars until the item is the size you want. Some diagram elements cannot be resized, such as initial and final pseudo states. Certain element types also have internal grab bars, that are displayed when an element is selected. These internal grab bars are for resizing the compartments of those diagram elements. Whenever a diagram element is resized or moved towards the visible edge of the diagram, the diagram automatically scrolled. New diagram pages are added where an element is resized or moved off the diagram surface. Dragging selected diagram elements on the diagram surface is the easiest way of moving elements incrementally on a diagram. To move elements over a larger diagrams, cut and paste them using the clipboard.. A diagram element can be removed from the current diagram without removing the file, or files where that element is stored. It can also be removed from the file system. Diagram nodes and inner elements are removed the following ways: Nodes (excluding nodes inside an expanded node) are the only elements on diagrams that can be removed using File > Cut. Inner UML and Java classes and interfaces can be deleted using Erase from Disk. (If dragged outside the parent element they become primary nodes and can be removed using File > Cut. Other inner nodes (view object instances, entity object usages and application module instances) cannot exist outside of their parent elements. They can be deleted by selecting using Edit > Cut. To remove an element from a diagram: Select the element. Choose Edit > Delete or press the Delete key. Using delete on elements such as associations and attributes completely removes them from the system. To bring elements to the front or back of a diagram: Right-click the diagram element and choose Bring to Front or Send to Back. You can undo and redo your most recent graphical actions. Graphical actions change the appearance of elements on the diagram surface and include the following: Cutting and pasting elements on class undo the last graphical action on a diagram: Choose Edit >Undo [...] or click the undo icon. To redo a previously undone graphical action on a diagram: Choose Edit > Redo [...] or click the redo icon. You can create UML elements without having to create any type of UML diagram in the New Gallery. The UML elements that you create in the New Gallery are listed in the navigator and can be dropped onto your diagrams. To create a UML element using the New Gallery: Select the project in the navigator. navigator. If the UML element has a use case template associated with it, a use case form is opened in the default editor. A note or annotation is a graphical object on a diagram containing textual information. Notes are used for adding comments to a diagram or the elements on a diagram. A note can be attached to one or more elements. A note is stored as part of the current diagram, not as a separate file system element. Note options are available in the Component Palette, as shown in Figure 22-5. To add a note to a diagram: Click the Note icon in the Diagram Annotations section of the Component Palette.. To attach a note to an element on a diagram: Click the Attachment icon in the Diagram Annotations section of the Component Palette. Click the note. Click the element that you want to attach the note to. To change the font size, color, bolding, or italics on an element: Click the note element. The text editing box appears. Select the text to edit. Select your text format. Change the way your diagram is shown by right-clicking an element, or using the many options available under Tools > Preferences for diagrams. Choose to hide a single connector or any number of connectors on your diagrams. Connectors that are hidden on a diagram continue to show in the Structure window, with 'hidden' appended. If there are any hidden connectors, you can bring them back into view individually or all at once. To hide one or more connectors on a diagram: Select the diagram connector or connectors to hide. (To select all connectors of a particular type, right-click a connector, then choose Select All This Type.) Right-click and choose Hide Selected Shapes. You can also go to the Structure window, select the connector or connectors to hide, right-click and choose Hide Shapes. To show one or more connectors that are hidden on a diagram: In the Structure window, select the connector or connectors to show, right-click and choose Show Hidden Shapes. To show all hidden connectors on a diagram: Right-click any part of the diagram and choose Show All Hidden Edges . To list all hidden connectors together in the Structure window: Right-click an object listed in the Structure window and choose Order By Visibility. You can display or hide page breaks on your diagrams. Page breaks are displayed as dashed lines on the diagram surface. To display page breaks on new diagrams: Choose Tools > Preferences. Click Diagrams in the left pane of the dialog. Click the diagram type in the left pane of the dialog. Note that class diagrams do not have pages. Select the Show Page Breaks checkbox to display page breaks on new diagrams. Click OK. Connectors are laid out in oblique or rectilinear line styles. Oblique lines can be repositioned at any angle. Rectilinear lines are always shown as a series of right angles. If the line style for a diagram is set to oblique, you can subsequently move the line (or portions of it) into a new position at any angle. You can set the default line style for each type of connector element on a diagram. ("Line style" is one of the diagram preferences that you can set for each type of element that is a connector.) You can also set the line style for a particular diagram, overriding the default line style for the diagram type: If you use this method to change the line style from oblique to rectilinear, lines already on the diagram that were drawn diagonally will be redrawn at right angles. If you use this method to change the line style from rectilinear to oblique, no change will be apparent on the diagram, but you will subsequently be able to move any of the lines on the diagram into a new position at any angle. Whatever the line style for a drawing, you can select individual lines on the drawing subsequently reposition it (or portions of it) at any angle. There is an option to straighten all lines that are already on a diagram. If you choose this option, all lines will be redrawn along the shortest route between their start and end points, using diagonal lines if necessary. Using this option will also set the line style for the current diagram to oblique. After this, setting the line style for the diagram back to rectilinear will redraw all the lines at right angles. You can also choose the crossing styles for your lines to be bridge or tunnel style. Selecting bridge style creates two parallel lines where the lines intersect. Selecting tunnel style creates a semi-circle shape on the intersection. The default style is a regular crossing over of the two lines where the lines intersect. To set the default line style for a diagram (or for an element type that is a connector): Select Tools >Preferences, then open the Diagrams node and choose the diagram type. From the Edit Preferences For drop-down box, choose All Edges. If, instead of choosing All Edges, you choose a particular element type that is a connector, the default line style will be set only for that element type. In the Display Options section, click the current line style. The current line style name becomes a drop-down box. Select the required line style (either Oblique or Rectilinear) from the drop-down box. To change the line style for particular connectors on the current diagram: With the connector or connectors selected on the diagram, choose Diagram > Line Style, then either Oblique or Rectilinear. To add a new elbow to a connector: Shift+click on the connector where you want to create a new elbow. (New elbows can be added and used to change the route of a connector only if the line style is set to oblique.) To remove an elbow from a connector: Shift+click the elbow that you want to remove. To straighten connectors: Select the connector or connectors that you want to straighten on a diagram, then choose Diagram > Straighten Lines. (This will remove all intermediate elbows.) To change the crossing style of all lines: Select Tools > Preferences > Diagrams > Crossing Style. You can also change the crossing style in the Property Inspector for that diagram. The default style is a regular crossing over of the two lines where the lines intersect. There are a number of ways to change the layout of a diagram. These include applying a layout style to any or all of the elements on a diagram, changing the height of nodes on a diagram so that they display all the properties of those elements, and aligning and distributing elements. Diagrams can be laid out according to one of the predefined styles: Hierarchical, Symmetrical, Grid, and Row. You can lay out diagrams, or just selected diagram elements according to one of several layout styles, depending on your requirements: hierarchical (top to bottom, bottom to top, left to right, right to left), symmetric, grid, orthogonal, and row. This lays out the diagram elements in hierarchies based on generalization structures and other connectors with a defined direction. Connectors. This lays out the diagram elements in the most symmetrical way based on the connectors between the nodes.. For UML class diagrams, a layout is created which represents each generalization hierarchy in an aligned fashion. This lays out the diagram elements in a grid pattern with nodes laid out in straight lines either in rows from left to right, or in columns from top to bottom. Nodes are laid out in the grid pattern starting with the top left node. Diagram elements that are created or moved on a diagram can be automatically 'snapped' to the grid lines that are nearest to them, even if the grid is not displayed on the diagram. Grid cells on the diagram are square, so only one value is required to change both the height and width of the grid cells. By default, elements are not snapped to the grid on activity diagrams. To define diagram grid display and behavior for the current diagram: Click the surface of the diagram for which you want to define diagram grid display and behavior. In the Property Inspector (View > Property Inspector), select the current value of the property that you want to change, then enter or select the new value for that property. To define diagram grid display and behavior for new diagrams: Choose Tools > Preferences, select Diagrams then the required diagram type. Select from the following options: Select the Show Grid checkbox to display the grid. Select the Snap to Grid checkbox to snap elements to the grid. The grid does not have to be displayed for elements to be snapped to it. Enter the grid size in the Grid Size field. Click OK. You can align elements both vertically and horizontally on your diagrams. You can also change the location of elements so that they have equal vertical and horizontal spacing. When you are distributing elements, the outermost selected elements on the vertical and horizontal axes are used as the boundaries. To fine tune the distribution, move the outermost elements in the selection, then redistribute the element. To align and size elements on a diagram: Select two or more elements in the diagram. Choose Diagram > Align. Choose from the following: Select the horizontal alignment. Select the vertical alignment. Use the Size Adjustments checkboxes to set the size of the selected elements: Select the Same Width checkbox if you want all the selected elements to have the same width. The new element width is the average width of the selected element. Select the Same Height checkbox if you want all the selected elements to have the same height. The new element height is the average height of the selected elements. Click OK. To distribute elements on a diagram: Select three or more diagram elements and choose Diagram > Distribute. Select the distribution for the elements. Select the horizontal distribution: None, Left, Center, Spacing, or Right. Select the vertical distribution: None, Top, Center, Spacing, or Bottom. Click OK. Layout styles are available by opening the context menu for a diagram and choosing Lay Out Shapes, or by using the Diagram Layout Options Dropdown as shown in Figure 22 22-10. After the selected elements have been laid out they remain selected to be moved together to any position on the diagram. To set the layout for new elements on the current diagram: In the Property Inspector (View > Property Inspector), select the layout style. To set the default layout of elements on a diagram: Choose Tools > Preferences > Diagrams, then select the diagram type. Select your layout style and click OK. JDeveloper supports UML transformations on your Java classes and interfaces as well as XMI import and export features. You can use these transformation features to produce a platform-specific model like Java from a platform-independent model like UML. You can perform transformations multiple times using the same source and target models. There are also some reverse transforms to UML from Java classes. You can do transformations on individual or groups of UML objects, classes, and interfaces in the following ways: Transformation on the same diagram as the original. Transformation on a new diagram created for the transformed element. Transformation only in the current project, and not visually on a diagram. To transform UML, Java classes, or interfaces: Select the UML objects, Java classes, or interfaces 22-11 and Figure 22-12. You can use the UML modeling tools to create a UML Class model, and to then transform it to an offline database or vice-versa. To transform a UML class diagram to an offline database: Create or open the diagram to transform. Select the class or classes to transform. Right-click and choose Transform. Choose from one of the following: Model Only. The offline database model based on the UML Class model is created in the Application Navigator in the current project. Same Diagram. The offline database model based on the UML Class diagram is created. The offline database model can be viewed in: The Application Navigator. The UML Class diagram, as modeled tables. New Diagram. The offline database model based on the UML Class diagram is created. The offline database model can be viewed in both: The Application Navigator. A new database diagram, as modeled tables and constraints. Choose UML to Offline Database. Click Finish. To transform offline database objects to UML Select the offline database object or objects you want to transform. Right-click and choose Transform. Select from one of the following options: Model Only. A UML class model based on the database schema is created in the Application Navigator in the current project. Same Diagram. A UML class diagram based on the offline schema is created. The new classes can be viewed in both: The Application Navigator. The UML Class diagram, as classes for each transformed database table. New Diagram. When the wizard finishes, a UML class diagram based on the offline database schema is created. The classes can be viewed in both: The Application Navigator as a new UML classes. A new class diagram, as classes for each transformed database table. The Transform dialog appears as shown in Figure 22-13. Select Offline Database Objects to UML. Click OK. To create offline database objects from UML using the New Gallery Wizard: In the Application Navigator, select the project containing the UML classes to transform. Choose File > New to open the New Gallery. In the Categories tree, expand Database Tier and select Offline Database Objects. In the Items list, double-click Offline Database Objects from UML Class Model. If the category or item is not found, make sure the correct project is selected, and select All Features in the Filter By dropdown list. The Offline Database Objects from UML Class Model wizard opens, as show in Figure 22-14. Select the UML classes and associations to transform. Click Finish. The offline database objects are created in the Application Navigator. When you invoke the wizard from the New Gallery, the offline database objects are only available in the Application Navigator. 22-15. If you select the option Transform Root Classes, root classes are transformed into offline tables, and all the columns and foreign keys from their descendant classes in the hierarchy are also transformed as shown in Figure 22-16. 22-17. If you select the option Transform all classes, inheriting from generalized classes, an offline table is created for every class in the transform set. Each table inherits columns and foreign keys from its ancestor tables but is otherwise independent, as shown in example Figure 22-18. If you select the Transform all classes, creating foreign keys option to generalized classes, an offline table is created for every class in the transform set. No columns or foreign keys are inherited; a foreign key is created to the parent table or tables, as shown in Figure 22-19. JDeveloper comes with a UML profile called DatabaseProfile which you can use to specify what happens to class models when they are transformed to offline database models. For more information about UML profiles, see Section 22.9, "Using UML Profiles." For example, attributes can be assigned to column datatypes that are to be used when the attributes are transformed to columns. DatabaseProfile allows you to use properties for the stereotypes it contains to control how elements are transformed. The stereotypes and their properties in this profile are described in Table 22-1. The attributes, or properties, are described in Table 22-2. To use DatabaseProfile to transform a class model: Open the Package Properties dialog of a UML package package.uml_pck by right-clicking on it in the Application Navigator 22-20. Optionally, choose to specify the name to use after the package has been transformed into an offline database schema. Select the Applied Sterotype node and click Add. Under Properties, a new property Name after transfer is listed. Enter a name. Click OK. A new file DatabaseProfile.uml_pa is now listed in the Application Navigator, as shown in Figure 22-21. To examine the Database Profile file, right-click it in the Application Navigator and choose Properties. The dialog shows the profile that is will be used in the transform. Click OK to close the dialog. Now you can apply stereotypes to the various elements in the project. In the example shown in Figure 22-21, 22-22. You can apply stereotypes to other elements. For example, you can specify datatypes and a primary key to attributes owned by this class. In the same Class Properties dialog, expand Owned Attibute. and select an existing attribute, or create one by clicking Add and entering a name for it. Expand the node for the owned attribute, select Applied Stereotype and click Add. Figure 22-23 shows that at this level you can specify a number of datatypes, whether the attribute should be transformed to a primary key, and the name after transform. For information about the stereotypes and properties covered by DatabaseProfile, see Table 22-1, "Stereotypes and Properties in DatabaseProfile" and Table 22-2, "Properties of Stereotypes in DatabaseProfile". Once you have set the stereotypes you want to have applied, you can proceed to transform the UML Class model following the steps in Section 22.7.1, "How to Transform UML and Offline Databases." This time, the stereotypes and properties in DatabaseProfile you have used are applied during transformation. UML models created using other modeling software can be imported into JDeveloper using XML Metadata Interchange (XMI) if the models are UML 2.1.1 compliant. The XMI specification describes how to use the metamodel to transform UML models as XML documents. JDeveloper complies with the specification. For more information see the "Catalog of OMG Modeling and Metadata Specification" at. modeling_spec_catalog.htm The following are restrictions that apply to import processes: Diagrams cannot be imported. XMI must be contained in a single file. Any profiles referenced by XMI must be registered with JDeveloper through Tools > Preferences > UML > Profiles before importing. The profiles must be in separate files. For more information see, Section 22.9, "Using UML Profiles". Diagrams can be automatically created when you import classes, activity, sequence, and use case elements. The dialog will offer you this option during the process, as shown in Figure 22-25. To import UML model as XMI: With an empty project selected in the navigator, choose File > Import. Select UML from XMI, then click OK. with other XML, the structure of a valid file is specified by an XML schema which are referenced by xmlns namespaces. The XML consists of elements that represent objects or the values of their parent element object and attributes that are values. Sometimes the values are references to other objects that may be represented as an href as for HTML. Double clicking on the items in the log navigates to the problem element. Often issues arise because of incorrect namespaces and standard object references. The following are typical error messages, and how to resolve them: Missing Profile Error(16,80): The appliedProfile property has multiplicity [1..1] Error(17,70): Attempt to deference missing element Warning(2,356): is not a recognized namespace Warning(22,142): Element urn:uuid:2b45f92d-31c8-4f67-8898-00a2f5bbfd22 ignored In UML there is an extension mechanism that allows further XML schemas to be specified in a 'profile'. The first three problems above indicate that a relevant profile has not been registered. To register a profile see, Chapter 22, "Using UML Profiles". Invalid XMI Version Error(2,360): 2.0 is incorrect version for This message occurs because there is a mismatch between the xmi:version attribute and the xmlns:xmi namespace. The xmi:version should be 2.1. Invalid UML Namespace Warning(2,356): is not a recognized namespace. This message occurs because the xmlns:uml namespace should be. Invalid Standard L2 Profile Namespace Error(13,80): The appliedProfile property has multiplicity [1..1]. Error(14,81): Attempt to deference missing element Warning(2,344): is not a recognized namespace This case is when a standard profile is already registered with the tool. Change the XMI so that the xmlns namespace is and the reference is. Invalid Standard L3 Profile Namespace There is a second standard profile already registered. If the profile is incorrectly referenced the messages will be similar to the L2 Profile Namespace. The correct namespace is and the correct reference is. Invalid Standard Data Type Reference Error(7,75): Attempt to deference missing element There is a standard set of data types to reference and resolve this error, such as attribute type. The XMI href should be updated to one of the following: own profile by going to Tools > Preferences > UML > Profiles, and clicking the add symbol, as shown on Figure 22-27. Once you have added a custom profile, edit the document URL by selecting the profile and clicking Edit. For more information on UML Profiles, see the OMG Catalog at,. Profiles allow you to apply stereotypes to UML models, and you use them by applying them to a UML package. To use a UML profile: If necessary, create a new UML package from the New Gallery. Choose File > New, and in the General category choose UML and under Items choose Package. Otherwise open the Package Properties dialog of an existing UML package by right-clicking on it in the Application Navigator and choosing Properties. For more help at any time, press F1 or click Help from within the Package Properties dialog. In the Package Properties dialog, select the Profile Application node, click Add and choose the UML profile you want to use from the list of those available. Now you can create a class, and add a stereotype. In the Package Properties dialog, select the Packaged Element node and click Add and choose Class. Expand the Class node, and choose Applied Stereotype and click Add. The property that you can give a value to depends on the UML profile you are using. Figure 22-28 shows the Name after Transform property from the UML profile DatabaseProfile, which is delivered as part of JDeveloper. This section has described how to associate a profile with a UML package, and apply a stereotype at package level. Depending on the type of profile, you may be able to apply stereotypes to other elements. An example is given in Section 22.7.2, "Using DatabaseProfile." Use the UML class diagram to model a collection of static elements such as classes and types, their contents and relationships, as well as visually create or inspect classes, interfaces, attributes, operations, associations, generalizations and realizations. You can use the Component Palette to add classes and related elements to your class diagram. Each of the elements is represented by a unique icon and description as shown in Figure 22-29. To add classes and interfaces to a diagram:. To add or edit class properties: Class properties are added to modeled classes and interfaces on a diagram by doing one of the following: Double-click the modeled class or interface to access the properties dialog. Right-click the class or interface and choose Properties. To add generalizations, realizations, and associations: Generalized structures are created on a diagram of classes by using the Generalization icon on the Class Component Palette. Where an interface is realized by a class, model it using the Realization icon on the Class Component Palette for the diagram. A variety of associations can be created between modeled classes and interfaces using the association icons. Associations are modified by double-clicking the modeled association and changing its properties. To add nested classes and nested interfaces:. To add attributes and operations:). To hide one or more attributes or operations: Select the attributes or operations to hide. Right-click the selected items and choose Hide > Selected Shapes. To show all hidden attributes or operations on a class or interface: Select the class or interface, then right-click and choose Show All Hidden Members. 22-30 shows an example of a typical class diagram layout. All attributes and operations display symbols to represent their visibility. The visibility symbols are: + Public, - Private, # Protected, and ~ Package. Operation notation in this release is closely related to the UML2 notation. Previously the notation for an operation in a class diagram followed Java-line syntax. print(int param1, int param2):void In this release of JDeveloper, operation notation follows UML2 syntax: print(param1:int, param2:int):void: Rename Move Make Static Pull Members Up Push Members Down Change Method (Java methods only) There are several automated refactoring operations available that enhance code quality by improving the internal structure of code without altering the external behavior. To invoke a refactoring operation: Select a program element in a source editor window, navigator pane, or structure pane. Right-click on the program element. Choose an operation from the context menu. You can also choose Refactor from the toolbar and select a refactoring operation from the drop-down list. Use activity diagrams to model your business processes. Your business process are coordinated tasks that achieve your business goals such as order processing, shipping, checkout and payment processing flows. Activity diagrams capture the behavior of a system, showing the coordinated execution of actions, as shown in Figure 22-31. The Component Palette contains the elements that you can add to your activity diagram. An Activity is the only element that you can place directly on the diagram. You can place the other elements inside an Activity. Each of the elements is represented by unique icons as well as descriptive labels, as shown in Figure 22-32 and Table 22-4. To create an activity diagram: Create a new diagram following the steps in To create a new diagram:. Choose the elements to add to your diagram from the Component Palette as shown in Figure 22-32. To show a partition on an activity diagram: In the activity diagram, select an action. In the Property Inspector, expand the Display Options node. Select Show Activity Partition. The action on the diagram displays the text, (No Partition). Click on the text. An editing box appears where you can enter a name for the partition. To model activities, actions, central buffer nodes, and data store nodes, you need to start with a Activity diagram. You create partitions on a diagram by selecting an action, then selecting Show Activity Partition under Display Options in the Property Inspector. Activities are created by first selecting the Activity icon on the Component Palette, then clicking on the diagram where you want to create the activity or action. An initial node is a starting point for an activity execution. A final node is the termination of execution, either for the activity if an activity final node, or a particular flow if a flow final node.To create, click the Initial Node icon, the Activity Final Node icon, or Final Flow Node icon on the Component Palette, then click on the diagram where you want to place the node. The sequence diagram describes the interactions among class instances. These interactions are modeled as exchanges of messages. At the core of a sequence diagram are class instances and the messages exchanged between them to show a behavior pattern, as shown in Figure 22-33. The elements you add from the Component Palette 22-34 displays the elements in the Component Palette available to use in your sequence diagram. Each element is represented by a unique icon as well as a descriptive label. To create a sequence diagram: Create a new diagram following the steps in "To create a new diagram:". Choose the elements to add to your diagram from the Component Palette as shown in Figure 22-34, "Sequence Diagram Component Palette". To start the sequence tracer:. The sequence diagram elements are added to your diagram by clicking or dragging and dropping from the component palette. navigator 22-35 22-36 shows the combined fragments that display in the Component Palette when your diagram is open in the diagrammer. Use case diagrams overview the usage requirements for a system. For development purposes, use case diagrams describe the essentials of the actual requirements or workflow of a system or project, as shown in Figure 22-37. Use case diagrams show how the actors interact with the system by connecting the actors with the use cases with which they are involved. If an actor supplies information, initiates the use case, or receives information as a result of the use case, then there is an association between them. Figure 22-38 displays the Component Palette with the elements available to add to your use case diagram. Each element is represented by a unique icon and descriptive label. An Interaction is the only element you can add directly to the diagram. You put all of the other elements within an Interaction. To create a use case diagram: Create a new diagram following the steps in "To create a new diagram:". Choose the elements to add to your diagram from the Component Palette as shown in Figure 22-38. You can determine the appearance and other attributes for subject, actor and other objects of these types by modifying the properties in the Property Inspector, or by right-clicking the object and modifying the properties, or by creating and customizing an underlying template file. You can use templates to add the supporting objects to the Component Palette. For more information, see Chapter 22, "How to Work with Use Case Component Palette Templates". You can show the system being modeled by enclosing all its actors and use cases within a subject. Show development pieces by enclosing groups of use cases within subject lines. Add a subject to a diagram by clicking on Subject in the Component Palette, then drag the pointer to cover the area that you want the subject to occupy. Figure 22-39 Component Palette, Component Palette. component palette under Diagram Annotations. You can represent interactions between use cases and subjects using the Communication icon on the Component Palette. You can represent interactions between use cases and subjects using the Communication icon on the Component Palette. XHTML files can be used as templates for the documents that support some objects in use case diagrams. Templates allow you to determine the appearance and other attributes of the document initially created for each object type. You can either edit the source code of a template directly or use the visual editor. To open a use case template: Choose File > Open, then navigate to the <jdeveloper_install>/jdevnd open (by double-clicking) one of the files located there. /system[...]/o.uml.v2.usecase.html/templates/usecase folder a The files have the following names and uses: Actor.xhtml_act - template for actor documents. Casual.xhtml_usc - template for casual use case document. FullyDressed.xhtml_usc - template for fully dressed use case documents. Milestone.xhtml_sub - template for subject - milestone use case documents. SystemBoundary.xhtml_sub - template for subject - use case documents. To edit the use case template source code:. To change the appearance of text on the use case [modeler] template: Select the Editor tab and the text that you want to change, then choose one or more of the formatting options from the toolbar. To insert HTML interface objects, code objects, and development inputs: component palette there must be one use case template that supports it. The use case template that you specify is not copied or moved: it remains in its original location. To create a new Component Palette page and add a new use case component: Go to Tools > Configure Palette. In the Configure Component Palette dialog, select use case for Page Type. Click Add. Enter a name for the new Component Palette page. From the drop-down list, choose Use Case, then click OK. The new page appears in the Component Palette. The Pointer item is included automatically. Open the context menu for the component area of the Component Palette.
http://docs.oracle.com/cd/E35521_01/user.111230/e17455/creating_diagrams.htm
CC-MAIN-2013-48
refinedweb
7,715
55.74
) Reserve() GetSpaceAfterA() pBuffer buffer buffer_size head tail head = tail : The queue is empty head < tail : The contents of the queue is: buffer[head], buffer[head+1], .... , buffer[tail - 1] head > tail : The contents of the queue is: buffer[head], ... buffer[buffer_size-1], buffer[0], ...., buffer[tail -1] struct Queue { char* buffer; volatile int head; // NOTE: note the use of the keyword volatile here volatile int tail; // ... we will come to this later int buffer_size; Queue(int size = 20) { head = tail = 0; buffer_size = size; buffer = (char*) malloc(size); if (buffer == NULL) throw std::bad_alloc(); } ~Queue(void) { free(buffer); } /* ... */ }; bool pop_head(char* value) { if (head == tail) return false; *value = buffer[head]; head = (head + 1) % buffer_size; return true; } bool push_tail(char value) { int next_tail = (tail + 1) % buffer_size; if (next_tail == head) return false; buffer[tail] = value; tail = next_tail; return true; } commit() decommit() int used() { return (buffer_size + tail - head) % buffer_size; } int avail() { return buffer_size - used() - 1; } int commit(int size) { int a = avail(); size = (size <= a)? size : a; tail = (tail + size) % buffer_size; return size; } int decommit(int size) { int u = used(); size = (size <= u)? size : u; head = (head + size) % buffer_size; return size; } char* get_head() { return buffer + head; } char* get_tail() { return buffer + tail; } head < tail head == 0 c_read() c_write() int c_read() { int T = tail; int H = head; return (H <= T)? (T- H) : (buffer_size - H); } int c_write() { int H = head; int T = tail; if (H <= T) return (H != 0)? buffer_size - T : buffer_size - T - 1; else return H - T - 1; } "Hello world.\n" /* all code written by me. released under either CC0 and WTFPL v2 at your choice. * no attribution required - don't waste time bothering to attribute - enjoy real freedom instead */ #include <stdio.h> #include <string.h> #include <thread> #include <stdexcept> #define OUT stdout /* data read from head / put at tail used = (buffer_size + tail - head) % buffer_size avail = buffer_size - used head <= tail head tail tail head v v v v +---+---+---+---+---+---+---+---+---+---+ +---+---+---+---+---+---+---+---+---+---+ | | x | x | x | x | x | | | | | | x | | | | | | x | x | x | x | +---+---+---+---+---+---+---+---+---+---+ +---+---+---+---+---+---+---+---+---+---+ 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 read: tail - head buffer_size - head write: size - tail (- 1) head - tail - 1 ^ if head == 0 using: "g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609" pass "-O2" switch to see difference with and without volatile declaration of head and tail. */ struct Queue { char* buffer; volatile int head; volatile int tail; int buffer_size; Queue(int size = 20) { head = tail = 0; buffer_size = size; buffer = (char*) malloc(size); if (buffer == NULL) throw std::bad_alloc(); } ~Queue(void) { free(buffer); } // Helpers int used() { return (buffer_size + tail - head) % buffer_size; } int avail() { return buffer_size - used() - 1; } // Byte Manipulation bool push_tail(char value) { int next_tail = (tail + 1) % buffer_size; if (next_tail == head) return false; buffer[tail] = value; tail = next_tail; return true; } bool pop_head(char* value) { if (head == tail) return false; *value = buffer[head]; head = (head + 1) % buffer_size; return true; } // Buffer Manipulation char* get_head() { return buffer + head; } char* get_tail() { return buffer + tail; } int c_read() { int T = tail; int H = head; return (H <= T)? (T- H) : (buffer_size - H); } int c_write() { int H = head; int T = tail; if (H <= T) return (H != 0)? buffer_size - T : buffer_size - T - 1; else return H - T - 1; } int commit(int size) { int a = avail(); size = (size <= a)? size : a; tail = (tail + size) % buffer_size; return size; } int decommit(int size) { int u = used(); size = (size <= u)? size : u; head = (head + size) % buffer_size; return size; } }; /**********************************************************************/ /* DEMO */ /**********************************************************************/ const char* MSG = "Hello world.\n"; void task1(Queue *q) { for(int i=0; i<10000; ++i) { int len = strlen(MSG); while (len > 0) { char* t = q->get_tail(); int contigous = q->c_write(); int n = (len <= contigous)? len : contigous; if (n != 0) { memcpy(t, MSG + strlen(MSG) - len, n); n = q->commit(n); len -= n; } } } while (! q->push_tail('\0')) ; } void task2(Queue *q) { bool done = false; while (! done) { while (q->used() == 0) ; char* h = q->get_head(); int contigous = q->c_read(); if (h[contigous -1] == '\0') { contigous -= 1; done = true; } fprintf(OUT, "%.*s", contigous, h); q->decommit(contigous); } q->decommit(1); } int main(int argc, char* argv[]) { Queue* q = new Queue(100); std::thread t1(task1, q); std::thread t2(task2, q); t1.join(); t2.join(); return 0; } if I have a buff like below: ****12** ^ | A Region B is not used. Now, if I want to offer more than 2 bytes for example 4 bytes "3456", the bipbuf_offer will return 0. But there are enough buffer for 4bytes, it can offer region B and the result will like below: 345612** ^ ^ | | B A class BipBufferEx; // Intentionally inherited from BipBuffer for debugging purpose only. BipBufferEx BB; int SimulatedReceive(BYTE *lpBuf, int nBufLen, va_list vaPktList); int _tmain(int argc, _TCHAR* argv[]) { BB.AllocateBuffer(128); SimulatedOnReceive(ERROR_SUCCESS, 5, 16, 32, 32, -6);// the last -6 means the 4th packet is split with its first part length 26(=32-6) => next SimulatedOnReceive will receive the second part with length 6 SimulatedOnReceive(ERROR_SUCCESS, -6, 5, 16, 32, 32, 0); // the first -6 means the second part of the split packet from the previous SimulatedOnReceive call return 0; } void SimulatedOnReceive(int nError, ...) { int nReserved; BYTE *pReserved = BB.Reserve(BB.GetBufferSize(), nReserved); va_list vaPktList; va_start(vaPktList, nError); int nReceived = SimulatedReceive(pReserved, nReserved, vaPktList); va_end(vaPktList); BB.Commit(nReceived); int nUnProcessed; BYTE *pUnProcessed = NULL;; while (pUnProcessed = BB.GetContiguousBlock(nUnProcessed)) { int nProcessed = 0; do { DWORD dwMsgLen = sizeof(DWORD); if (nUnProcessed < dwMsgLen) continue; int nPktSize = int(*(pUnProcessed + nProcessed)); if (nUnProcessed < nPktSize) { BB.DecommitBlock(nProcessed); //break; return; } nProcessed += nPktSize; nUnProcessed -= nPktSize; cout << "nPktSize=" << nPktSize << ", nProcessed=" << nProcessed << ", nUnProcessed=" << nUnProcessed << endl; } while (nUnProcessed > 0); BB.DecommitBlock(nProcessed); } } int SimulatedReceive(BYTE *lpBuf, int nBufLen, va_list vaPktList) { cout << "PktList="; int nReceived = 0; BYTE *pSizeLoc = NULL; int pktsize; do { pktsize = va_arg(vaPktList, int); if (pktsize <= 0) { if (nReceived) { nReceived += pktsize; cout << pktsize << ", "<< "nReceived=" << nReceived << endl; break; } else { nReceived -= pktsize; cout << pktsize << ", "; continue; } } pSizeLoc = (BYTE *)lpBuf + nReceived; *(DWORD *)pSizeLoc = DWORD(pktsize); nReceived += pktsize; cout << pktsize << ", "; } while (1); return nReceived; } class BipBufferEx : public BipBuffer { public: BipBufferEx() : BipBuffer() { } ~BipBufferEx() { pBuffer = NULL; } bool AllocateBuffer(int buffersize = 4096) { if (buffersize <= 0) return false; if (pBuffer != NULL) FreeBuffer(); pBuffer = new BYTE[buffersize]; buflen = buffersize; return true; } void FreeBuffer() { if (pBuffer == NULL) return; ixa = sza = ixb = szb = buflen = 0; delete[] pBuffer; pBuffer = NULL; } }; BYTE* Reserve(int size, OUT int& reserved) { // We always allocate on B if B exists; this means we have two blocks and our buffer is filling. if (szb) { int freespace = GetBFreeSpace(); if (size < freespace) freespace = size; if (freespace == 0) return NULL; szResrv = freespace; reserved = freespace; ixResrv = ixb + szb; return pBuffer + ixResrv; } else { // Block b does not exist, so we can check if the space AFTER a is bigger than the space // before A, and allocate the bigger one. int freespace = GetSpaceAfterA(); if (freespace >= ixa) { if (freespace == 0) return NULL; if (size < freespace) freespace = size; szResrv = freespace; reserved = freespace; ixResrv = ixa + sza; return pBuffer + ixResrv; } else { if (ixa == 0) return NULL; if (ixa < size) size = ixa; szResrv = size; reserved = size; ixResrv = 0; return pBuffer; } } } General News Suggestion Question Bug Answer Joke Praise Rant Admin Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
https://www.codeproject.com/Articles/3479/The-Bip-Buffer-The-Circular-Buffer-with-a-Twist
CC-MAIN-2018-43
refinedweb
1,175
52.94
HashedData object [CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the HashAlgorithm Class in the System.Security.Cryptography namespace.] The HashedData object provides functionality for hashing a string. When to use The HashedData object is used to perform the following tasks: - Specify the content string that contains the data to be hashed. - Apply a specified hash algorithm to the content string. The HashedData object has these types of members: Methods The HashedData object has these methods. Properties The HashedData object has these properties. Remarks To create the hash of a large amount of data, call the Hash method for each piece of data. The hash of each piece of data is concatenated to the Value property until the property is read. The contents of the Value property are reset when the property is read. The HashedData object can be created, and it is safe for scripting. The ProgID for the HashedData object is CAPICOM.HashedData.1. Requirements Build date: 11/16/2013
http://msdn.microsoft.com/en-us/library/aa382440(v=vs.85).aspx
CC-MAIN-2013-48
refinedweb
181
57.87
#include <sys/types.h> #include <sys/locking.h> int locking (fildes, mode, size); int fildes, mode; long size; A file must be open with read or read/write permission for a read lock to be performed. Write or read/write permission is required for a write lock. If either of these conditions are not met, the lock fails with the error EINVAL. A process that attempts to write to or read a file region that has been locked against reading and writing by another process (using the LK_LOCK or LK_NBLCK mode) sleeps until the region of the file has been released by the locking process. A process that attempts to write to a file region that has been locked against writing by another process (using the LK_RLCK or LK_NBRLCK mode) sleeps until the region of the file has been released by the locking process, but a read request for that file region proceeds normally. A process that attempts to lock a region of a file that contains areas that have been locked by other processes sleeps if it has specified the LK_LOCK or LK_RLCK mode in but returns with the error EACCES if it specified LK_NBLCK or LK_NBRLCK. fildes is the value returned from a successful creat, open, dup, or pipe system call. mode specifies the type of lock operation to be performed on the file region. The available values for mode are: The locking utility uses the current file pointer position as the starting point for the locking of the file segment. So a typical sequence of commands to lock a specific range within a file might be as follows: fd=open(``datafile'',O_RDWR); lseek(fd, 200L, 0); locking(fd, LK_LOCK, 200L); Accordingly, to lock or unlock an entire file a seek to the beginning of the file (position 0) must be done and then a locking call must be executed with a size of 0. size is the number of contiguous bytes to be locked or unlocked. The region to be locked starts at the current offset in the file. If size is 0, the entire file (up to a maximum of 2 to the power of 30 bytes) is locked or unlocked. size may extend beyond the end of the file, in which case only the process issuing the lock call may access or add information to the file within the boundary defined by size. The potential for a deadlock occurs when a process controlling a locked area is put to sleep by accessing another process' locked area. Thus calls to locking, read, or write scan for a deadlock prior to sleeping on a locked region. An EDEADLK (or EDEADLOCK) error return is made if sleeping on the locked region would cause a deadlock. Lock requests may, in whole or part, contain or be contained by a previously locked region for the same process. When this occurs, or when adjacent regions are locked, the regions are combined into a single area if the mode of the lock is the same (that is, either read permitted or regular lock). If the mode of the overlapping locks differ, the locked areas are assigned assuming that the most recent request must be satisfied. Thus if a read only lock is applied to a region, or part of a region, that had been previously locked by the same process against both reading and writing, the area of the file specified by the new lock is locked for read only, while the remaining region, if any, remains locked against reading and writing. There is no arbitrary limit to the number of regions that may be locked in a file. There is, however, a system-wide limit on the total number of locked regions. This limit is 200 for UNIX style systems. Unlock requests may, in whole or part, release one or more locked regions controlled by the process. When regions are not fully released, the remaining areas are still locked by the process. Release of the center section of a locked area requires an additional locked element to hold the separated section. If the lock table is full, an error is returned, and the requested region is not released. Only the process which locked the file region may unlock it. An unlock request for a region that the process does not have locked, or that is already unlocked, has no effect. When a process terminates, all locked regions controlled by that process are unlocked. If a process has done more than one open on a file, all locks put on the file by that process are released on the first close of the file. Although no error is returned if locks are applied to special files or pipes, read/write operations on these types of files will ignore the locks. Locks may not be applied to a directory.
http://osr507doc.xinuos.com/en/man/html.S/locking.S.html
CC-MAIN-2019-30
refinedweb
806
65.35
Hi. I need to center window on the screen. The window that already has some contents like labels and buttons. Found this code snippet on Stack Overflow: w = root.winfo_screenwidth() h = root.winfo_screenheight() rootsize = tuple(int(_) for _ in root.geometry().split('+')[0].split('x')) x = w/2 - rootsize[0]/2 y = h/2 - rootsize[1]/2 root.geometry("%dx%d+%d+%d" % (rootsize + (x, y))) but it doesn't work. It gives me centered window with no width or height when it has some size if I don't use this snippet. What is wrong in this code? Last edited by Mr. Alex (2012-09-27 08:38:18) Offline I think it's normal for a fresh Tkinter window to report a width/height/position of 0 for some reason. It's only after the user moves and resizes the window that you will get the real values reported. So I have circumvented this problem by having a default width and height in the program which is used when info returns 0 for size. Set geometry to this default, then let the user resize and move and save the new values as the current defaults. Offline I think the main thing wrong with your code is you were asking for the window size before TK had decided what it should be. Your code works in the interactive interpreter if you run it line by line, but not if you run it all at once. I adapted some code of my own for you: from tkinter import Tk from tkinter.ttk import Label root = Tk() Label(root, text="Hello world").pack() # Apparently a common hack to get the window size. Temporarily hide the # window to avoid update_idletasks() drawing the window in the wrong # position. root.withdraw() root.update_idletasks() # Update "requested size" from geometry manager x = (root.winfo_screenwidth() - root.winfo_reqwidth()) / 2 y = (root.winfo_screenheight() - root.winfo_reqheight()) / 2 root.geometry("+%d+%d" % (x, y)) # This seems to draw the window frame immediately, so only call deiconify() # after setting correct window position root.deiconify() I think it does what you want, although I have two screens side by side so the window is actually split between the two. Offline Thanks, this works. Offline
https://bbs.archlinux.org/viewtopic.php?pid=1166787
CC-MAIN-2016-22
refinedweb
372
67.15
Working with open source developers worldwide is a fun and rewarding experience. As the cost of computing devices and broadband Internet continues to fall and bring new technologies to people around the globe, developers of all stripes from different cultures and backgrounds come together to collaborate and build awesome things. Since Apple open sourced the Swift programming language late last year enthusiasts have created Ubuntu packages, ported it to ARM devices such as the Raspberry Pi 2, built web development frameworks, and now Umberto Raimondi has released SwiftyGPIO, a Swift library for interacting with GPIO pins on ARM devices such as the Raspberry Pi and BeagleBone Black. The SwiftyGPIO README covers all the bases explaining how to use the module. As Umberto notes the Swift Package Manager is currently unavailable in the ARM builds (I’ve been working on getting it to compile but something always preempts me) so we turn to downloading the SwiftyGPIO.swift file with wget and using swiftc to compile and link everything together. Rock Chalk Last year I was working with Arduino programming with Xcode and wrote up some Arduino code for blinking LEDs. Let’s do the same with a Raspberry Pi 2 and Swift. If you’re coming into this cold you’re going to need: - a Raspberry Pi 2 - a couple of LEDs - wires for wiring - Swift installed on your Pi 2 We’re going to use GPIO4 and GPIO27 since they are close to each other on the Pi 2 GPIO header. Here is our main.swift to blink the two lights back and forth: To compile and run this code, until SwiftPM for ARM is fixed, we do this: # wget # swiftc main.swift SwiftyGPIO.swift # ./main If you wired your LEDs up properly they should be flashing back and forth! Pick Your Color I had a Linrose Tricolor LED lying around so I decided to put it to good use with Swift. In this code example we’ve written a command line application that lets you set the color of the LED (or to turn it off). I’ve marked the code with // 1, // 2 to describe each section. 1. SwiftyGPIO provides canned GPIO definitions for popular board types. In our case we’re using a Raspberry Pi 2. 2. This is purely syntactic sugar to describe GPIO states as On or Off. The code would probably look less cluttered if we removed this. 3. LedColor is a structure to “namespace” definitions for Off, Green, Orange, and Red. 4. The tricolor LED has two anode pins; we will attach one pin to GPIO4 and the other to GPIO27. The application always starts by setting the pin direction to .OUT and Off. Again, because of the way we created an enum for the GPIOState we have to use the .rawValue nonsense. 5. setLedColor takes a tuple of (GPIOState,GPIOState) and [GPIO] array to set the pair of GPIO pins to a certain state. 6. Our application takes a single argument so we guard that we have two (one is the application name). Our color is the second. 7. A switch on the color and a call is made to setLedColor with the appropriate color tuple and GPIO set. Closing Remarks SwiftyGPIO is a great API to get started with GPIO manipulation on ARM boards with Swift. Each passing day Swift makes inroads into the maker community and stands a great chance to be the language of choice for single board computer development projects.
https://dev.iachieved.it/iachievedit/raspberry-pi-2-gpio-with-swiftygpio/
CC-MAIN-2021-04
refinedweb
582
69.11
switch Statement (C++) Allows selection among multiple sections of code, depending on the value of an integral expression. Syntax switch ( init; expression ) case constant-expression : statement [default : statement] Remarks The expression must be of an integral type or of a class type for which there is an unambiguous conversion to integral type. Integral promotion is performed as described in Standard Conversions. The switch statement body consists of a series of case labels and an optional default label. No two constant expressions in case statements can evaluate to the same value. The default label can appear only once. The labeled statements are not syntactic requirements, but the switch statement is meaningless without them. The default statement need not come at the end; it can appear anywhere in the body of the switch statement. A case or default label can only appear inside a switch statement. The constant-expression in each case label is converted to the type of expression and compared with expression for equality. Control passes to the statement whose case constant-expression matches the value of expression. The resulting behavior is shown in the following table. Switch Statement Behavior If a matching expression is found, control is not impeded by subsequent case or default labels. The break statement is used to stop execution and transfer control to the statement after the switch statement. Without a break statement, every statement from the matched case label to the end of the switch, including the default, is executed. For example: // switch_statement1.cpp #include <stdio.h> int main() { char *buffer = "Any character stream"; int capa, lettera, nota; char c; capa = lettera = nota = 0; while ( c = *buffer++ ) // Walks buffer until NULL { switch ( c ) { case 'A': capa++; break; case 'a': lettera++; break; default: nota++; } } printf_s( "\nUppercase a: %d\nLowercase a: %d\nTotal: %d\n", capa, lettera, (capa + lettera + nota) ); } In the above example, capa is incremented if c is an uppercase A. The break statement after capa++ terminates execution of the switch statement body and control passes to the while loop. Without the break statement, execution would "fall through" to the next labeled statement, so that lettera and nota would also be incremented. A similar purpose is served by the break statement for case 'a'. If c is a lowercase a, lettera is incremented and the break statement terminates the switch statement body. If c is not an a or A, the default statement is executed. Visual Studio 2017 and later: (available with /std:c++17) The [[fallthrough]] attribute is specified in the C++17 standard. It can be used in a switch statement as a hint to the compiler (or to anyone reading the code) that fall-through behavior is intended. The Visual C++ compiler currently does not warn on fallthrough behavior, so this attribute has no effect compiler behavior. Note that the attribute is applied to an empty statement within the labeled statement; in other words the semicolon is necessary. int main() { int n = 5; switch (n) { case 1: a(); break; case 2: b(); d(); [[fallthrough]]; // I meant to do this! case 3: c(); break; default: d(); break; } return 0; } Visual Studio 2017 version 15.3 and later (available with /std:c++17): A switch statement may introduce and initialize a variable whose scope is limited to the block of the switch statement: switch (Gadget gadget(args); auto s = gadget.get_status()) { case status::good: gadget.zip(); break; case status::bad: throw BadGadget(); }; An inner block of a switch statement can contain definitions with initializations as long as they are reachable — that is, not bypassed by all possible execution paths. Names introduced using these declarations have local scope. For example: // switch_statement2.cpp // C2360 expected #include <iostream> using namespace std; int main(int argc, char *argv[]) { closest switch statement that encloses them. See Also Selection Statements Keywords
https://docs.microsoft.com/en-us/cpp/cpp/switch-statement-cpp
CC-MAIN-2017-51
refinedweb
632
54.32
[Date Index] [Thread Index] [Author Index] Re: notebooks default context On Sep 9, 4:21 am, magma <mader... at gmail.com> wrote: > On Sep 7, 12:07 pm, Albert Retey <a... at gmx-topmail.de> wrote: > > > > > > > Hi, > > > > Firstly a problem, my packages (.m) keep having their context reset > > > to global every time I open them to edit rather than "unique to each > > > cell" to which I have previously set them to. > > > > THIS IS THE QUESTION (rest waffle) > > > I would like to set a notebooks default context to "Unique to each > > > cell" in a notebook initialisation cell. Usually I use "Unique to this > > > notebook" from the menu (which is fine and persists), however on > > > occasion I would like to tighten things up. > > > > ------------ > > > WAFFLE > > > ------------ > > > I think I don't clearly understand the use of the Package` context > > > instructions. My basic package setup is as follows (which works): > > > > BeginPackage[ "Package`"] > > > Begin[ "Public`"] > > > preProcess`outNB[nb_] = "something"; > > > End[]; > > > Begin[ "Private`"] > > > End[] > > > End[] > > > > so this is could be one source of the problem. > > > > This is part of a general question on good programming technique in > > > mathematica. My instinct is that for non-trivial notebooks and > > > packages "unique to cell" is the best method and the results should > > > then be put into a context for the notebook to make them available to > > > other cells. > > > I think as long as your work is all in one notebook, you usually don't > > really need to take too much care about namespaces (Contexts) at all. > > The use of Contexts only makes sense if your code gets complex enough so > > that the use of different namespaces for different encapsulated parts of > > your code is necessary to keep it maintainable. In these cases I think > > the "best practice" is to create a single file for each of these parts, > > and create a package file (*.m) which contains the BeginPackage/Begin > > stuff that controls in which Context the various symbols will be created. > > > You would then use Needs or Get in the notebook(s) that make use of the > > packages. The use of the settings for default contexts is actually a > > relatively new feature that seems to be used mainly in the documentation > > notebooks. It could probably be used also when developing and debugging > > packages or when creating graphical user interfaces, but I don't think > > that there are many people actually using it, and it is not really > > necessary and certainly an advanced feature. I would suggest that you > > don't care about it until you really are sure you know how to use > > contexts and packages in a more standard way. > > > Concerning your package structure: you are using a Begin["Public`"] > > which is very unusual, do you have a good reason to do so? The usual > > setup is: > > > BeginPackage["MyPackage`"] > > publicfunction::usage = "publicfunction..."; > > Begin["`Private`"] > > publicfunction[x_,y_]:=privatefunction[x]+y; > > privatefunction[x_]:=x^2; > > End[] > > End[] > > > Every symbol that is mentioned between the BeginPackage and Begin will > > be public, everything else will be private. When you load such a > > package, you will usually not need to explicitly use the package context > > anywhere in your code, since the package context will be on > > $ContextPath, so all public symbols of the package can be addressed > > without explicit context prefixes. > > > Also note that only with a leading ` the "`Private`" context will be > > "MyPackage`Private`", otherwise the private symbols of all your packages > > will live in the same context, "Private`", which is usually exactly what > > you try to avoid by using contexts. > > > > Regarding a previous post on fonts I now use: > > > > SetOptions[$FrontEnd, FontFamily->"Arial"]; > > > SetOptions[$FrontEnd, FontSize->10]; > > > > as soon as you ask the question, the solution suddenly becomes clear! > > > If this works for you, I don't know an important reason to not do so, > > but I think the usual way to control the appearance of fonts is to > > create or change stylesheets. You usually would create your own style > > sheet, probably inherting from one that is close to what you want, and > > then, if you want it to be used as a default, set the > > DefaultStyleDefinitions option in the option inspector to use that > > stylesheet. > > > hth, > > > albert > > apjs64, > Albert preceded me in replying to you, but here is my 2 cents advise > anyway. > > FORGET about notebook contexts or cell contexts! > These are things used by WRI developers or by people writing complex > documentation which needs to be kept somehow separated from a normal > Mathematica session. > Common mortals, including common developers, FORGET IT. > > What is left? Normal packages and contexts. Do you understand them > completely? I think not yet, judging by the example Package you wrote. > Albert gave you a template package. Stick to it. Even if you do not > fully understand why it is written this way. Stick to it. > But even better, try to understand why it works. > I suggest you read Maeder's "Programming in Mathematica" (3rd ed., but > the 2nd is good enough. I use the second). It covers Mathematica 3.x or > earlier versions, but that is NOT important. > It explains the Package/Context thing "frame by frame", so to speak. > So you understand exactly what happens when Mathematica reads a Package. > Other more recent programming Mathematica books may explain the process too, > but Maeder's book is the definitive resource for me. > So to go back to your example package, you seem to attach a semantic > (that is: a meaning) to the context name. You thing a context is > public if it is called Public and private if it is called Private. > That is NOT so! You might call them Bingo and Bongo and they still > would be private. Both of them. > > So again, stick to Albert's example package format and try to get > Maeder's book. I'd like to point out that I completely agree with this post.... It is the wisest of advice...
http://forums.wolfram.com/mathgroup/archive/2010/Sep/msg00229.html
CC-MAIN-2014-52
refinedweb
972
62.68
Regression Tutorial with Julia Hi, in my last post, I showed how Julia can be used to perform a classification task. In that case, we classified patients into two categories, so it was a classification, which is a method for predicting a, you guessed it, categorical outcome. But now, we are going to do a regression, where the outcome variable is continuous. That said, let’s try to create a model that can predict a time to event. Even though this could be handled differently, for this purpose, we are going to treat this outcome prediction as a simple continuous variable. The dataset is available here. For this tutorial, we are going to need a few packages. For using them, check the code below. If you do not have the packages installed, run using Pkg; Pkd.add(“<PackageName>") Data Load and Checking For loading the dataset into your environment we can do it through the link. Then we should inspect the dataset in order to check if everything went as expected. Then we can analyse some descriptive statistics of the dataset, like central statistics and dispersion. We can sum all of this into: For today, we are going to try to predict the variable time. This variable is the time to the event, which can be death or not. So time is the amount of time needed until that event, whether death or follow-up period. So we need to evaluate more in detail the target variable with some visualizations. Time to event has a median of +- 110 and interquartile of 125. Now for a frequency plot. We have at least two peaks of time frequency around 90 and 210. For a further inspection, we ploted age vs time. There is a negative correlation between them (even if low), as would be expected. Now for event vs time. As expected, Event is a major differentiator for the value of time. So it will be natural that the variable event has a lot of impact into our model. Now to prepare the data for applying the models, we will coerce into specific scitypes for better handling by the models. More information on scitypes here. coerce!(dataset, Count=>MLJ.Continuous); Creating Models Preparing data is important for starting the model creation, so we will divide data in target (y) and remaining features (X) For this, we are going to evaluate the models in the training dataset with repeated cross-validation in order to get a pretty good idea of the model performance on the test set. For all models we are going to: - Load model. - Create the machine (which is a similar action to class instantiation) - Training with 3x 10-fold cross-validation and return the evaluation metric. - store the metrics into a dictionary for further usage. So, we are going to use a linear model, decision tree, k-nearest neighbours, random forest and gradientboost (this could be done with a loop but oh well 😃). The seed is used to make the code reproducible (since RNG is used for cross-validation). Assessing results For the results, we need to collect all the Root Mean Squared Error returned by the cross-validations and evaluate the Confidence Interval (95%). The Linear regression, Random Forest and GradientBoost seems to perform a little better than the other 2. However, since linear regression has a better explainability, we are going with it as the final model. MAE: 51.26912864372159 RMSE: 59.80738088464344 RMSP: 2.398347880392765 MAPE: 0.9529914417765525(coefs = [:age => -0.5600676786856139, :anaemia => -17.379451678818782, :creatinine_phosphokinase => -0.0024220637584861492, :diabetes => 5.5623104572596525, :ejection_fraction => -0.4719281676537811, :high_blood_pressure => -23.336061031579977, :platelets => -2.9328265873457684e-5, :serum_creatinine => 1.80232687559864, :serum_sodium => 0.06127126459720784, :sex => -3.8716177684193114, :smoking => -6.7752701233783705, :DEATH_EVENT => -86.69157019555797], intercept = 226.6056333198319,) As we understood earlier, the DEATH_EVENT variable has a major impact in the model, with a -86 coefficient. Evaluating Final Model The model was fitted to the data and evaluated on the test set, we know how good it performed but we can investigate this more deeply. It should assess the errors for each row in the test set, in order to inspect them more thoroughly. The errors seem random and do not follow any type of pattern, which is good. Test error seems to follow a normal distribution, which is desirable. Conclusion With these evaluations, we have a little more confidence to say that our model grasped a glimpse of the reality of the data in order to predict the time variable. Further work could be employed in tuning the parameters or creating variables to improve our models. I hope that this was helpful to let you take on a regression task with Julia Lang!
https://jfcal.medium.com/regression-tutorial-with-julia-lang-5c34cb5b93e1?source=read_next_recirc---------2---------------------d474bd13_bd77_4413_9ec0_1cfec429e9ce-------
CC-MAIN-2022-27
refinedweb
778
67.15
One error you may encounter when using Python is: ValueError: operands could not be broadcast together with shapes (2,2) (2,3) This error occurs when you attempt to perform matrix multiplication using a multiplication sign (*) in Python instead of the numpy.dot() function. The following examples shows how to fix this error in each scenario. How to Reproduce the Error Suppose we have a 2×2 matrix C, which has 2 rows and 2 columns: Suppose we also have a 2×3 matrix D, which has 2 rows and 3 columns: Here is how to multiply matrix C by matrix D: This results in the following matrix: Suppose we attempt to perform this matrix multiplication in Python using a multiplication sign (*) as follows: import numpy as np #define matrices C = np.array([7, 5, 6, 3]).reshape(2, 2) D = np.array([2, 1, 4, 5, 1, 2]).reshape(2, 3) #print matrices print(C) [[7 5] [6 3]] print(D) [[2 1 4] [5 1 2]] #attempt to multiply two matrices together C*D ValueError: operands could not be broadcast together with shapes (2,2) (2,3) We receive a ValueError. We can refer to the NumPy documentation to understand why we received this error: When operating on two arrays, NumPy compares their shapes element-wise. It starts with the trailing . Since our two matrices do not have the same value for their trailing dimensions (matrix C has a trailing dimension of 2 and matrix D has a trailing dimension of 3), we receive an error. How to Fix the Error The easiest way to fix this error is to simply using the numpy.dot() function to perform the matrix multiplication: import numpy as np #define matrices C = np.array([7, 5, 6, 3]).reshape(2, 2) D = np.array([2, 1, 4, 5, 1, 2]).reshape(2, 3) #perform matrix multiplication C.dot(D) array([[39, 12, 38], [27, 9, 30]]) Notice that we avoid a ValueError and we’re able to successfully multiply the two matrices. Also note that the results match the results that we calculated by hand earlier. How to Fix: ValueError: cannot convert float NaN to integer
https://www.statology.org/operands-could-not-be-broadcast-together-with-shapes/
CC-MAIN-2021-39
refinedweb
364
62.17
”… The String example Lets have a look at the code of String (actually just a part of the code…): public class String { private final char value[]; /** Cache the hash code for the string */ private int hash; // Default to 0 public String(char[] value) { this.value = Arrays.copyOf(value, value.length); } public int hashCode() { int h = hash; if (h == 0 && value.length > 0) { char val[] = value; for (int i = 0; i < value.length; i++) { h = 31 * h + val[i]; } hash = h; } return h; } } String is considered as immutable. Looking at its implementation, we can deduct one thing : an immutable can change its internal state (in this case, the hashcode which is lazy loaded) as long as it is not externally visible. Now I am going to rewrite the hashcode method in a non thread safe way : public int hashCode() { if (hash == 0 && value.length > 0) { char val[] = value; for (int i = 0; i < value.length; i++) { hash = 31 * hash + val[i]; } } return hash; } As you can see, I have removed the local variable h and affected the variable hash directly instead. This implementation is NOT thread safe! If several threads call hashcode at the same time, the returned value could be different for each thread. The question is, does this class is immutable? Since two different threads can see a different hashcode, in an external point of view we have a change of state and so it is not immutable. We can so conclude that String is immutable because it is thread safe and not the opposite. So… What’s the point of saying “Do some immutable object, it is thread-safe! But take care, you have to make your immutable object thread-safe!”? The ImmutableSimpleDateFormat example Below, I have written a class similar to SimpleDateFormat. public class VerySimpleDateFormat { private final DateFormat formatter = SimpleDateFormat.getDateInstance(SimpleDateFormat.SHORT); public String format(Date d){ return formatter.format(d); } } This code is not thread safe because SimpleDateFormat.format is not. Is this object immutable? Good question! We have done our best to make all fields not modifiable, we don’t use any setter or any methods that let’t change their state, which is sometimes impossible. Immutable objects can have non thread-safe methods (No magics!) Let’s have a look at the following code. public class HelloAppender { private final String greeting; public HelloAppender(String name) { this.greeting = 'hello ' + name + '!\n'; } public void appendTo(Appendable app) throws IOException { app.append(greeting); } } The class HelloAppender is definitely immutable. The method appendTo accepts an Appendable. Since an Appendable has no guarantee to be thread-safe (eg. StringBuilder), appending to this Appendable will cause problems in a multi-thread environment. Conclusion Making immutable objects are definitely a good practice in some cases and it helps a lot to make thread-safe code. But it bothers me when I read everywhere Immutable objects are thread safe, displayed as an axiom. I get the point but I think it is always good to think a bit about that in order to understand what causes non-thread safe
http://www.javacodegeeks.com/2012/09/does-immutability-really-means-thread.html
CC-MAIN-2015-18
refinedweb
508
65.83
4 terminal applications with great command-line UIs 4 terminal applications with great command-line UIs We look at a few well-designed CLI programs and how they overcome some discoverability problems. Image by : opensource.com In this article, I'll look at a shortcoming of command-line interfaces—discoverability—and a few ways to overcome this problem. I love command lines. My first command line was DOS 6.2, back in 1997. I learned the syntax for various commands and showed off how to list hidden files in a directory (attrib). I would carefully craft my commands one character at a time. When I made a mistake, I would proceed to retype the command from the beginning. One fine day someone showed me how to traverse the history using the up and down arrow keys and I was blown away. Later when I was introduced to Linux, I was pleasantly surprised that up and down arrows retained their ability to traverse the history. I was still typing each character meticulously, but by now I knew how to touch type and I was doing exceedingly well with my 55 words per minute. Then someone showed me tab-completion and changed my life once again. In GUI applications menus, tool tips and icons are used to advertise a feature for the user. Command lines lack that ability, but there are ways to overcome this problem. Before diving into solutions, I'll look at a couple of problematic CLI apps: 1. MySQL First we have our beloved MySQL REPL. I often find myself typing SELECT * FROM and then press Tab out of habit. MySQL asks whether I'd like to see all 871 possibilities. I most definitely don't have 871 tables in my database. If I said yes, it shows a bunch of SQL keywords, tables, functions, and so on. 2. Python Let's look at another example, the standard Python REPL. I start typing a command and press the Tab key out of habit. Lo and behold a Tab character is inserted, which is a problem considering that a Tab character has no business in a Python source code. Good UX Now let's look at well-designed CLI programs and how they overcome some discoverability problems. Auto-completion: bpython Bpython is a fancy replacement for the Python REPL. When I launch bpython and start typing, suggestions appear right away. I haven't triggered them via a special key combo, not even the famed Tab key. When I press the Tab key out of habit, it completes the first suggestion from the list. This is a great example of bringing discoverability to CLI design. The next aspect of bpython is the way it surfaces documentation for modules and functions. When I type in the name of a function, it presents the function signature and the doc string attached with the function. What an incredibly thoughtful design. Context-aware completion: mycli Mycli is a modern alternative to the default MySQL client. This tool does to MySQL what bpython does to the standard Python REPL. Mycli will auto-complete keywords, table names, columns, and functions as you type them. The completion suggestions are context-sensitive. For example, after the SELECT * FROM, only tables from the current database are listed in the completion, rather than every possible keyword under the sun. Fuzzy search and online Help: pgcli If you're looking for a PostgreSQL version of mycli, check out pgcli. As with mycli, context-aware auto-completion is presented. The items in the menu are narrowed down using fuzzy search. Fuzzy search allows users to type sub-strings from different parts of the whole string to try and find the right match. Both pgcli and mycli implement this feature in their CLI. Documentation for slash commands are presented as part of the completion menu. Discoverability: fish In traditional Unix shells (Bash, zsh, etc.), there is a way to search your history. This search mode is triggered by Ctrl-R. This is an incredibly useful tool for recalling a command you ran last week that starts with, for example, ssh or docker. Once you know this feature, you'll find yourself using it often. If this feature is so useful, why not do this search all the time? That's exactly what the fish shell does. As soon as you start typing a command, fish will start suggesting commands from history that are similar to the one you're typing. You can then press the right arrow key to accept that suggestion. Command-line etiquette I've reviewed innovative ways to solve the discoverability problems, but there are command-line basics everyone should implement as part of the basic REPL functionality: - Make sure the REPL has a history that can be recalled via the arrow keys. Make sure the history persists between sessions. - Provide a way to edit the command in an editor. No matter how awesome your completions are, sometimes users just need an editor to craft that perfect command to drop all the tables in production. - Use a pager to pipe the output. Don't make the user scroll through their terminal. Oh, and use sane defaults for your pager. (Add the option to handle color codes.) - Provide a way to search the history either via the Ctrl-R interface or the fish-style auto-search. Conclusion In part 2, I'll look at specific libraries in Python that allow you to implement these techniques. In the meantime, check out some of these well-designed command-line applications: - bpython or ptpython: Fancy REPL for Python with auto-completion support. - http-prompt: An interactive HTTP client. - mycli: A command-line interface for MySQL, MariaDB, and Percona with auto-completion and syntax highlighting. - pgcli: An alternative to psql with auto-completion and syntax-highlighting. - wharfee: A shell for managing Docker containers. Learn more in Amjith Ramanujam's PyCon US 2017 talk, Awesome Commandline Tools, May 20th in Portland, Oregon. 11 Comments I don't remember where I got it, but I have this in my home to provide history and tab-completion for python's default REPL: $ cat ~/.pythonrc import os, atexit, readline, rlcompleter hfile = os.path.join(os.environ['HOME'], '.python_history') try: readline.read_history_file(hfile) except IOError: pass readline.parse_and_bind('tab: complete') atexit.register(readline.write_history_file, hfile) del atexit, hfile Just so you know, the python 3 REPL actually has a fine tab completion just like you'd expect. And unless you're somehow bound to use python 2 there is little to no reason for anyone not to do the jump, at least for new projects. You're right Python 3 is marginally better than Python 2 in that respect. It doesn't insert a tab character, but if you give bpython or ptpython a try you'll see how much better their completion feature really is. Amjith, thank you so much for this article. One of the things I like about NetBeans code composing window is the nice completion features it has. Of course this is particularly useful in "batteries included" environments like Python, Java or Groovy. Though I haven't tried it yet, I really must just because it looks like such a great tool: I have use the YouCompleteMe plugin for Vim in the past. I've since moved to neovim and I'm currently using the neovim-completion-manager plugin. I would love to see you guys review dockly as a console UI tool to manage docker containers effectively for developers who love to stay in their terminal :) Similar to the `fish` shell, I've got history search with zsh + oh-my-zsh (can't remember which enables it). Up and down on a blank terminal scroll through previous commands similar to bash, whereas doing so on an incomplete command will complete it by scrolling through previous commands starting the same way. This set up also has a shared history between separate terminal instances, even in different directories, unless of course they're remote access with ssh. You're right. It is possible to achieve the same results as fish by tweaking the config or installing a plugin for zsh. Which is fine, but the point I'm trying to make is in order to make those features readily accessible they should be shipped as default not enabled via a config file or through some extension. Thanks! I'd never heard of bpython, but that's very useful for starting out. The commands aren't clearly in the head yet and it's helpful to have that auto-suggestion. I had no idea there were tools like this in the command line. Where is the part 2? Part 2:
https://opensource.com/article/17/5/4-terminal-apps
CC-MAIN-2017-30
refinedweb
1,451
64.81
It's kind of scary realising that should your JavaScript fail, the only way you'll know is if some kind user lets you know. We've all seen "object x is undefined" errors and so on, how many times have you reported the error to the webmaster? It's easy for these problems to go unnoticed for prolonged periods of time. I have recently been getting to grips with 'AJAX' techniques, and had a magic light-bulb moment when I realised that by using a combination of AJAX and C#, we can do away with reliance on users, and log the errors automatically ourselves. The basic plan of attack is as follows: The whole concept hinges on catching the errors in the first place, then using XMLHttpRequests to send the error data back to the server via a .NET HTTP handler which finally invokes a method of some kind that does something useful with the error information. XMLHttpRequest Check out MSDN for more info on catching errors on the client side. If you haven't used AJAX before, I suggest the following helpful resources: If you're new to HttpHandlers in .NET, go no further than: The sample ASP.NET (C#) project is pretty straightforward and easy to use (to get the sample code working, simply web-share the JavaScriptErrorLogger folder so that you make HTTP requests to the web server). Let's take a look at the essentials. The good news is that it's pretty easy to apply the error catching code to existing JavaScripts. To handle errors, all you need to do is handle the Window.Onerror event: Window.Onerror window.onerror = errorHandler; errorHandler will, of course, point to a function that does something constructive with the event: errorHandler function errorHandler(message, url, line) { // message == text-based error description // url == url which exhibited the script error // line == the line number being executed when the error occurred // handle the error here alert( message + '\n' + url + '\n' + line ); return true; } Obviously, your error handling needs to be very reliable. Alerting the error data is not especially ground breaking, so here is the JavaScript used in the sample code which actually executes the XmlHttpRequest: XmlHttpRequest function errorHandler(message, url, line) { // message == text-based error description // url == url which exhibited the script error // line == the line number being executed when the error occurred // handle the error here //alert( message + '\n' + url + '\n' + line ); //------------------------------------------------------------------- // Log the Error //------------------------------------------------------------------- var xmlHttpRequest; // a variable to hold our instance of an XMLHTTP object. var bHookTheEventHandler = true; // used to switch on/off the handling // of any response from the server. // Checking if IE-specific document.all collection exists // to see if we are running in IE if (document.all) { xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); } else { xmlHttpRequest = new XMLHttpRequest(); } //---------------------------------------------------------------- // Roll the error information into an xml string: //---------------------------------------------------------------- var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0"); xmlDoc.async = false; xmlDoc.loadXML("<JavaScriptError line='" + line + "' url='" + url + "'>" + message + "</JavaScriptError>"); //------------------------------------------------------------ // If you want to see some sort of response to prove (on the // client end) that something has happened, // set bHookTheEventHandler = true // otherwise false is probably all we want. //------------------------------------------------------------ if(bHookTheEventHandler) { xmlHttpRequest.onreadystatechange = sendSomeXml_HandlerOnReadyStateChange; } //prepare the call, http method=GET, false=asynchronous call xmlHttpRequest.open("post", "" + "ErrorLogger/logerror.ashx", bHookTheEventHandler); //finally send the call xmlHttpRequest.send( xmlDoc ); //------------------------------------------------------------ // Finished Logging the Error //------------------------------------------------------------ return true; } Note that handling the xmlHttpRequest.onreadystatechange event is not necessary if you just want to log errors, but you could use it in this context if you wanted to let the user know that an error has occurred and has been logged. xmlHttpRequest.onreadystatechange Before we can catch any incoming requests, we need to tweak the web.config file (see the background links above for more info). The beauty of this approach is that the URL specified when making the XmlHttpRequest doesn't have to actually exist. In this example, the HTTP handler will catch requests for .ashx URLs. <httpHandlers> <!--<span class="code-comment"> Simple Handler --></span> <add verb="*" path="*.ashx" type="JavaScriptErrorLogger.LogErrorHandler, JavaScriptErrorLogger" /> </httpHandlers> On the server side, we'll catch the incoming XML using an HTTP handler: using System; using System.Web; using System.Xml; namespace JavaScriptErrorLogger { public class LogErrorHandler : IHttpHandler { public void ProcessRequest( HttpContext httpContext ) { XmlDocument xmlDoc = null; // If XML document was submitted via POST method // then load it in the DOM document: if (httpContext.Request.InputStream.Length > 0 && httpContext.Request.ContentType.ToLower().IndexOf("/xml") > 0) { xmlDoc = new XmlDocument(); xmlDoc.Load( httpContext.Request.InputStream ); // at this point the XML message is available via xmlDoc.InnerXml: Console.WriteLine( xmlDoc.InnerXml ); } } } } Most of the examples I have found on the net make the client side XmlRequest using GET. If you want to send data to the server, you'll need to POST it (as in the error handling code provided earlier). Having used POST, we can get the data sent to the server by using httpContext.Request.InputStream (as above). In this example, we are simply outputting the XML to the console, where as in the sample code, we use a method that will log the XML to a file. XmlRequest httpContext.Request.InputStream Having caught the XML in our HTTP handler, we could send it (or other XML) back out again: public void ReturnXML( HttpContext httpContext, string rawXml ) { if(rawXml == "") throw new ApplicationException("The value of rawXml was not defined."); // Produce XML response: httpContext.Response.ContentType = "application/xml"; XmlTextWriter xw = new XmlTextWriter( httpContext.Response.OutputStream, new System.Text.UTF8Encoding() ); xw.WriteRaw( rawXml ); xw.Close(); } You will see in the sample code that I use a simple object to pass the error information about (at the C# level). This object has only one property (a string) which contains the XML that describes the error. But being clever, you'll realize that this could be extended to include any other info we want to send with the error, such as the client's browser and so on. You could go further and deserialize the XML straight into a C# object. Since - in an ideal world - you'll never get any errors, it will be wise to construct a test-harness so you can periodically invoke an error and check that it is processing the errors just as you intend it to. If your system hasn't send you any error logs for a while, it'd be best if that was because there weren't any - not because the error handling is broken. This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below. A list of licenses authors might use can be found here <br /> <html><br /> <head><br /> <script type="text/javascript"><br /> errorHandler = function(message, url, line)<br /> {<br /> alert( message + '\n' + url + '\n' + line );<br /> return true;<br /> }<br /> window.onerror = errorHandler;<br /> var xmlDoc = ;<br /> </script><br /> </head><br /> <body><br /> </body><br /> </html><br /> <br /> if (document.all)<br /> { <br /> xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); <br /> } else { <br /> xmlHttpRequest = new XMLHttpRequest(); <br /> }<br /> <br /> if (window.XMLHttpRequest) <br /> {<br /> xmlHttpRequest = new XMLHttpRequest();<br /> } else <br /> {<br /> try {<br /> xmlHttpRequest = new ActiveXObject("Msxml2.XMLHTTP"); <br /> } catch (e)<br /> {<br /> alert('AJAX not Supported');<br /> }<br /> }<br /> 500 "Internal Server error" General News Suggestion Question Bug Answer Joke Praise Rant Admin Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
https://www.codeproject.com/Articles/12371/Logging-Client-Side-JavaScript-Errors-to-the-Serve?msg=3005036
CC-MAIN-2017-26
refinedweb
1,243
53.1
37321/how-to-list-only-files-in-a-directory How can I list only files in a directory ignoring the sub-directories? I am using listdir method but it lists directories also: import os print (listdir("/home/Papers/")) This prints directories also. I want it to print only files Before printing, you can use a check to print the name only if it is a file. Something like this: import os from os import path print(f for f in os.listdir('/home') if path.isfile(f)) ou are using Python 2.x syntax with ...READ MORE You can use the reversed function in ...READ MORE Not sure what your desired output is, ...READ MORE Use os.rename(src, dst) to rename or move a file .. Well, you are using a complex way. ...READ MORE You can use the os module to list the ...READ MORE OR
https://www.edureka.co/community/37321/how-to-list-only-files-in-a-directory
CC-MAIN-2019-22
refinedweb
147
79.16
K-Fold Cross Validation is a technique that can be used to train and test a machine learning model on different subsets of data. This blog will show you how to implement this technique in TensorFlow. What is K-Fold Cross Validation? K-fold cross validation is a technique that is used to assess the accuracy of a machine learning model. This technique involves partitioning the data set into a number of equal size folds, and then training the model on each fold in turn while holding out the other folds as a testing set. The performance of the model is then assessed by averaging the results over all folds. This approach has a number of advantages over traditional hold-out validation methods, such as providing a more accurate estimate of the true generalization performance of the model and superior utilisation of data (since each data point is used both for training and testing). However, it also has some disadvantages, such as increased computational cost and potential for overfitting if the model is too complex for the size of data set. In TensorFlow, K-fold cross validation can be performed using the tf.contrib.learn.KFold class. This class provides a range of functions for partitioning data sets, training models and assessing performance. Why use K-Fold Cross Validation? K-fold cross validation is a statistical technique that is used to estimate the accuracy of machine learning models. It is a type of resampling method that allows you to train and test your model on different data sets. This ensures that your model is not overfitted to the data and can generalize well to new data. There are a few reasons why you would want to use K-fold cross validation: 1. You want to make sure that your model is not overfitting the data. K-fold cross validation helps with this by training and testing your model on different data sets. 2. You want to be able to compare different machine learning models. By training and testing each model on different data sets, you can compare their accuracy and choose the best model for your needs. 3. You want to use all of your data when training your model. When you split your data into training and test sets, there is always the risk that your test set will not be representative of the entire population. K-fold cross validation helps mitigate this by using all of your data in the training process. Overall, K-fold cross validation is a helpful tool that you can use when developing machine learning models. It helps ensure that your models are not overfitted, allows you to compare different models, and uses all of your data in the training process. How to implement K-Fold Cross Validation in TensorFlow? K-Fold cross validation is a statistical technique used to estimate the performance of machine learning models. It is a popular method for model selection and assessment because it is relatively simple to implement and provides a good estimate of the model’s performance on unseen data. The basic idea behind k-fold cross validation is to split the training data into k subsets, train the model on k-1 subsets, and then evaluate it on the remaining subset. This process is repeated k times, each time using a different subset as the evaluation set. The final estimate of the model’s performance is then averaged over all k runs. TensorFlow does not include any built-in method for performing k-fold cross validation, but it is possible to implement it using the tf.contrib.learn.MetricSpec class. The MetricSpec class allows you to define custom metrics for evaluation, and we can use it to define a custom k-fold cross validation metric. First, we need to define a function that will split the training data into k subgroups. We can do this with the following function: def split_data(data, num_folds): “””Splits data into num_folds equal subgroups.””” assert len(data) % num_folds == 0 # Calculate size of each fold fold_size = len(data) // num_folds # Split data into num_folds equal subgroups data_folds = [] for i in range(num_folds): fold = data[i * fold_size : (i + 1) * fold_size] # Append fold to list of folds data_folds.append(fold) return data_folds Next, we need to define a function that will train and evaluate our model on one fold of the data: Advantages of using K-Fold Cross Validation There are several advantages to using k-fold cross validation, especially when working with large data sets. First, it helps to avoid overfitting by using all of the data for training and then testing on a separate set. Second, it can be used to get a better estimate of the generalizability of the model by training on different subsets of the data and testing on different subsets. Third, it can be used to compare different models by training each model on a different subset of the data and testing on the same subset. Finally, it can be used to tune hyperparameters by training each model with different combinations of hyperparameters and testing on the same subset. Disadvantages of using K-Fold Cross Validation There are a few disadvantages to using K-Fold Cross Validation: 1. It can be time-consuming, especially if you have a large dataset. 2. It can be biased if your data is not evenly distributed among the k folds. 3. It can be expensive to compute if you have a lot of data. Tips for using K-Fold Cross Validation K-Fold cross validation is a powerful technique for training machine learning models. However, it can be tricky to use, especially if you’re not familiar with the concept. Here are a few tips to help you get the most out of K-Fold cross validation: 1. The first thing to understand is what K-Fold cross validation is and how it works. In a nutshell, K-Fold cross validation is a method of training your model using multiple different training/test splits. This allows you to get a more accurate estimate of your model’s performance, as it’s being trained on different data each time. 2. One important thing to keep in mind is that you need to use a different test set for each fold. This is important because if you use the same test set for all folds, then your results will be biased. 3. Another thing to keep in mind is that you need to shuffle your data before doing K-Fold cross validation. This is because if you don’t shuffle your data, then the folds will likely be very similar to each other and this can lead to overfitting. 4. When computing the performance of your model, it’s important to use the right metric. For example, if you’re building a classification model, then accuracy would be a good metric to use. However, if you’re building a regression model, then RMSE would be a better metric to use. 5. Finally, don’t forget to tune your hyperparameters! K-Fold cross validation can help you find the best values for your hyperparameters, but only if you actually tune them 😉 How to interpret the results of K-Fold Cross Validation? When using K-Fold Cross Validation with TensorFlow, you will get back a list of metrics for each fold of the data. These metrics can be interpreted in several ways, but the most important thing to look at is the overall trend of the metrics. For instance, if the accuracy is consistently going up from one fold to the next, that means that your model is probably improving and you are on the right track. However, if the accuracy is fluctuating or going down, that means that your model is probably not improving and you may need to re-evaluate your approach. Case study: Comparing the performance of different models using K-Fold Cross Validation K-fold cross validation is a technique that can be used to compare the performance of different machine learning models. It works by splitting the training data set into k smaller sets, and then training the model k times, each time using a different set as the validation set. The performance of the model is then averaged over all k runs. This technique can be used with any machine learning model, but in this article we will focus on using it with TensorFlow. We will use the K-fold cross validation functionality that is available in the tf.contrib.learn library. We will use a simple example to illustrate how K-fold cross validation works in TensorFlow. We will use the Iris dataset, which contains four features for 150 different flowers. Our goal will be to build a model that can predict the species of flower based on these four features. We will start by splitting the data into a training set and a test set. We will then train three different models on the training set: a linear model, a neural network, and a decision tree. We will use K-fold cross validation to evaluate the performance of each model on the test set. The code for this example can be found here: Further reading on K-Fold Cross Validation K-Fold cross validation is a common method used in machine learning to estimate the accuracy of a model on new data. It works by randomly splitting the training data into k subsets, training the model on k-1 subsets, and then evaluating it on the remaining subset. This process is repeated k times, and the average accuracy across all k runs is used as the estimate of the model’s accuracy on new data. There are a few different ways to perform K-Fold cross validation, and TensorFlow provides a convenient API for doing so. However, there are a few things to keep in mind when using K-Fold cross validation with TensorFlow. In particular, you need to be careful about how you split your data, what metric you use to evaluate your model, and how you average the results across runs. For more information on K-Fold cross validation in TensorFlow, see the following resources: -TensorFlow API documentation: -Blog post: Summary In machine learning, k-fold cross validation is a technique for assessing the accuracy of a model. It involves partitioning the data into k groups, training the model on each group, and then evaluating it on the remaining data. This process is repeated k times, and the results are averaged to give an overall estimate of the model’s accuracy. TensorFlow is a popular open-source platform for machine learning. In this tutorial, we’ll show you how to implement k-fold cross validation in TensorFlow. We’ll use the iris dataset as an example, and build a simple linear regression model to predict the species of an iris based on its sepal length and width. We’ll then train and evaluate our model using 10-fold cross validation. This tutorial is divided into three parts: – Part 1: Introduction to k-fold cross validation – Part 2: Implementing k-fold cross validation in TensorFlow – Part 3: Training and evaluating our model
https://reason.town/kfold-tensorflow/
CC-MAIN-2022-40
refinedweb
1,864
50.87
pqRenderViewBase is an abstract base class for all render-view based views. More... #include <pqRenderViewBase.h> pqRenderViewBase is an abstract base class for all render-view based views. It encapuslates some of the commonly needed functionality for all such views. Definition at line 44 of file pqRenderViewBase.h. Resets the camera to include all visible data. It is essential to call this resetCamera, to ensure that the reset camera action gets pushed on the interaction undo stack. Implemented in pqRenderView. Called to reset the view's display. This method calls resetCamera(). Reimplemented from pqView. Triggered by DelayNonInteractiveRenderEvent. Triggered by internal timer to update the status bar message. Overridden to popup the context menu, if some actions have been added using addMenuAction. Creates a new instance of the QWidget subclass to be used to show this view. Default implementation creates a pqQVTKWidget. Use this method to initialize the pqObject state using the underlying vtkSMProxy. This needs to be done only once, after the object has been created. Reimplemented from pqProxy.
https://kitware.github.io/paraview-docs/latest/cxx/classpqRenderViewBase.html
CC-MAIN-2021-49
refinedweb
169
53.78
#include <Pt/Xml/XmlReader.h> Reads XML as a Stream of XML Nodes. More... Inherits NonCopyable. This class operates on an input source from which XML character data is read and parsed. The content of the XML document is reported as XML nodes. The parser will only parse the XML document as far as the user read data from it. To acces the current node the method get() can be used. To parse and read the next node the method next() can be used. Only when next() or any corresponding method or operator is called, the next chunk of XML input data is parsed. The current XML node can be read using get(). Every call to next() will parse the next node, position the cursor to the next node and return the parsed node. The returned value is of type Node, which is the super-class for all XML node classes. Depending on the type, the generic node object may be cast to the more concrete node object. For example a Node object with a node type of Node::StartElement can be cast to StartElement. Parsing using next() will continue until the end of the document is reached which will result in a EndDocument node to be returned by next() and get(). This class also provides the method current() to obtain an iterator which basically works the same way like using using get() and next() directly. The iterator can be set to the next node by using the ++ operator. The current node can be accessed by dereferencing the iterator. This method can be used to add additional input streams e.g. to resolve an external entity reference, indicated by an EntityReference node. All input sources are removed and the parser state is reset to parse a new document. The XmlResolver not removed and the reporting options are not changed. All previous input is removed and the parser is reset to parse a new document. This is essentially the same as calling reset() followed by addInput(). If an XML element contains more character data than this limit, the content is reported as multiple Characters or CData nodes.
http://pt-framework.org/htdocs/classPt_1_1Xml_1_1XmlReader.html
CC-MAIN-2017-13
refinedweb
356
64.51
stoolpigeon's Journal: Journal Archiving re-re-re-revisited 3 I have written many times about how much I'd like to have a tool to archive my journal entries here. I've also written about the very nice tool that LeoP made. (wow - I wrote about it four years ago) But that sucker is now broken. It probably says a lot about me that I'm interested in saving these. It's just me rambling on and most of it is rather limited in the length of time that it is relevant. But there's a part of me that doesn't like the idea that if slashdot is shut down tomorrow that all my journal entries go with it. So anyway - I took a couple stabs at getting things working but usually got stuck and just got busy with other stuff. But now I have a script that I think will work. I am not a proper programmer like Leo. There is no error handling. You need to put your username and password into the script. And I ran into a really odd case that I haven't handled yet that made it break. I had a journal entry listed, but when I followed the link to the entry I got a message about it not being there or that I couldn't see it. Strange. I hit the "edit" link from the list. That brought it up. I saved it from there and now it seems to be working properly. I've started the script again to see if it gets past it. (it did) I'll post the script here and link to it so you can grab it if you are interested. I don't know what happens if you don't have a subscription. All this is built around how the site works for me right now. I think it is also worth pointing out that it is rather slow. It takes anywhere from 1.5 - 3 seconds per journal entry. It took 52 minutes to download my 1,436 entries (Don't look at me like that). It doesn't look like it is doing anything when I run it in Konsole - that is because it outputs the html of each page and they always end the same. But it should either print out DONE when it finishes - or stop when it hits an error. I know, pretty amazing work. Each entry is written to a text file. In the file is the url to the entry, the timestamp from when it was written, the title and the body. The body is in html format with the div that is wrapped around it in place. Another file is created, linklist which will have every journal url in it. (without the http: part - it starts I have not done anything to save comments yet - though I think I'd like to get that in there too. Quite a few of my entries are worthless without them. But that will have to wait for another time. You can see it below or just download it. jarch.py It should also be obvious - but just in case- you will need Python 2, twill and beautifulsoup installed to use it. from twill.commands import * from bs4 import BeautifulSoup nick = 'your nickname here' password = 'your password here' uid = 'your user id here' go("") fv("3","unickname",nick) fv("3","upasswd",password) submit() go(""+uid) all_links = showlinks() lf = open("linklist",'w') urllen = 25 + len(nick) for item in all_links: if item.url[:urllen-1] == "//slashdot.org/~"+nick+"/journal" and len(item.url)>urllen: print>>lf,item.url jurl = "http:" + item.url go(jurl) soup = BeautifulSoup(show()) journalid = soup.find('span',{'class':'sd-key-firehose-id'}) bodytag = "text-" + journalid.string titletag = "title-" + journalid.string entrydate = soup.time.string[3:] entrytitle = soup.find('span',{'id':titletag}).text entrybody = soup.find('div', {'id': bodytag}).prettify() journalfile= "jfile" + journalid.string f = open(journalfile,'w') f.write(jurl.encode('utf8')+'\n') f.write(entrydate.encode('utf8')+'\n') f.write(entrytitle.encode('utf8')+'\n') f.write(entrybody.encode('utf8')) f.close() print("DONE") lf.close() Slash::Journal (Score:2) I had an easy archiver that I used before, using the Slash SOAP API and a module I wrote called Slash::Client::Journal (which should be on the CPAN). Dunno if the SOAP API still works though. moo (Score:1) I ought to look at doing this. I wouldn't mind a local copy of my own dribble.
http://slashdot.org/journal/482277/journal-archiving-re-re-re-revisited
CC-MAIN-2015-14
refinedweb
752
75.91