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
|
|---|---|---|---|---|---|
Vertica.
Looks pretty simple, right! Exactly as I thought when I was getting started with this. So let’s get right into this.
In Vertica, there are type of storages:
- WOS: write optimized store
- ROS: read optimized store
Usually, when the data is loaded, it first goes into WOS (unless you use the COPY DIRECT statement). Records in WOS are stored without compression or indexing to support faster loading. Because the data in WOS is sorted only when queried, it is not optimized for reading. Then Vertica moves data from WOS to ROS using the Tuple Mover using the following two operations:
- Moveout
- Mergeout
The above method is used when you have a load of 100 MB or less (trickle data load). For heavy data load than this there comes a DIRECT COPY command which copies data directly to ROS. In this blog we are considering big data movements hence we’ll be focusing on using DIRECT COPY command.
So let’s move on to connecting Spark with Vertica. With Spark, there are two ways to use the DIRECT COPY command to save data to vertica:
- Direct method: Copying data directly from Spark to Vertica.
- Indirect method: First copy data to HDFS and then copy that data from HDFS to Vertica.
Although it may seem that the first approach “Direct method” is better as it doesn’t have any intermediate dependency and as data is travelling directly to Vertica, hence latency might be less in this approach, but believe me it is not and we’ll be using the Indirect approach to connect Spark with Vertica.
Problems with direct approach:
- This method uses JDBC connector of Spark to save dataFrame into Vertica which doesn’t support Vertica very well in case of task failures from Spark and can introduce duplicate data in Vertica as a result.
- Also, this method is slow in copying data to vertica. (why??)
Why using Indirect approach?
- This method uses a dedicated Spark connector instead of JDBC connector and hence can manage with Spark task failures and atomicity of Vertica.
- In this method Spark first copies data to HDFS as ORC files and then Vertica natively runs its builtin COPY command to fetch data from HDFS which is supposed to be very fast. Hence this method is fast compared to the other one.
So let’s get on with it.
Setup
The first thing we need to do is to setup the project. The setup can be referred from the setup section of the previous blog in the same series. Other than that, we will also need HDFS as it will be used as the intermediate storage.
CODE?????
First thing is to create a SparkSession to connect with Spark and Spark-SQL:
val sparkSession = SparkSession.builder() .config(new SparkConf().setAll(config)) .appName(appName) .master(master) .getOrCreate()
Here “appName” would be the name you want to set to your Spark application and “master” would be the master URL for spark. Here we are running Spark in local mode hence
master = "local[4]" //4 is number of cores to be used
For reading data from Kafka we need the following:
def kafkaOptions: Map[String, String] = Map( "kafka.bootstrap.servers" -> brokers, //address of Kafka brokers "group.id" -> groupId, //group id for kafka consumers "startingOffsets" -> "earliest", //starting offsets to start picking data "endingOffsets" -> "latest", //the limit till where to pick the data and create a dataframe "subscribe" -> sourceTopic //the topic from which the data will be consumed ) val kafkaSource: String = "kafka" val dataFrame = sparkSession.read.format(kafkaSource).options(kafkaOptions).load()
The above code will read the data and create the DataFrame. Now we have to start the preparations for writing this DataFrame to Vertica.
To save the data to Vertica, first we need some credentials to connect to database and some other properties:
val verticaProperties: Map[String, String] = Map( "db" -> "db", // Database name "user" -> "user", // Database username "password" -> "password", // Password "table" -> "table", // vertica table name "dbschema" -> "dbschema", // schema of vertica where the table will be residing "host" -> "host", // Host on which vertica is currently running "hdfs_url" -> "hdfs_url", // HDFS directory url in which intermediate orc file will persist before sending it to vertica "web_hdfs_url" -> "web_hdfs_url" // FileSystem interface for HDFS over the Web )
One last thing we need is a data source to provide to Spark for Vertica:
val verticaDataSource = "com.vertica.spark.datasource.DefaultSource"
Now for the actual writing part, the following code will do the trick:
dataFrame.write.format(verticaDataSource).options(verticaProperties).mode("append").save()
Here the mode is set as “append” (can be “append” / “overwrite” / “ignore”) to append the new data into existing data. The above code will save the data into Vertica.
One last thing is to stop SparkSession after all the operations:
sparkSession.stop()
And yeah this was pretty much it for writing data to Vertica. Easy enough, huh!
In this blog, we reviewed the types data storages in Vertica and how the data flows through them while saving. We also discussed the ways of saving data into Vertica Using Spark and used Spark Vertica connector to save the data into Vertica. The one thing to notice here is that we saved the data in batch mode not in a streaming mode. That’s still due. Hence in out next installment, we’ll be taking a look at how we can do the same thing using Spark Structured Streaming.
For more, you can refer to this repository which implements the same thing in KafkaToVerticaApplication object.
Like, comment, share and stay tuned. 😉
Thanks.
References:
|
https://blog.knoldus.com/vertica-spark-writing/
|
CC-MAIN-2021-04
|
refinedweb
| 916
| 59.74
|
We detecteded a slight degree of contention with the new zoned VM counters if over 128 processors simultaneously fault anonymous pages. Raising the threshold to 64 fixed the contention issue.So we need to increase the threshhold depending on the number of processorsin the system. And it may be best to overcompensate a bit.We keep the existing threshold of 32 for configurations with less than orequal to 64 processors. In the range of 64 to 128 processors we go to athreshold of 64. Beyond that we go to 125 (we have to be able to incrementone beyond the threshold and then better avoid 127 just in case).(There are a more scalability improvement possible by utilizing the cacheline when it has been acquired to update all pending counters but I want to first test with a few hundred processors to see if we need those and then we need to figure out if there are bad effects for smaller configurations.)Signed-off-by: Christoph Lameter <clameter@sgi.com>Index: linux-2.6.17-mm3/mm/vmstat.c===================================================================--- linux-2.6.17-mm3.orig/mm/vmstat.c 2006-06-27 20:24:37.455840645 -0700+++ linux-2.6.17-mm3/mm/vmstat.c 2006-06-28 10:32:14.441818620 -0700@@ -112,7 +112,21 @@ atomic_long_t vm_stat[NR_VM_ZONE_STAT_IT #ifdef CONFIG_SMP +/*+ * With higher processor counts we need higher threshold to avoid contention.+ */+#if NR_CPUS <= 64 #define STAT_THRESHOLD 32+#elif NR_CPUS <= 128+#define STAT_THRESHOLD 64+#else+/*+ * Use the maximum usable threshhold.+ * We need to increment one beyond the threshold. To be safe+ * also avoid 127.+ */+#define STAT_THRESHOLD 125+#endif /* * Determine pointer to currently valid differential byte given a zone and-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgMore majordomo info at read the FAQ at
|
http://lkml.org/lkml/2006/6/28/297
|
CC-MAIN-2016-44
|
refinedweb
| 306
| 57.16
|
Often in my day I find myself testing and debugging devices that communicate via the modbus protocol. In an effort to save myself time, I have tried several downloadable applications but always came to the same conclusion - "Why pay money for something when it's not that hard to build myself?" Also, given that modbus is a 30 year old standard, it makes it difficult to find current code that is usable in today's popular languages. What follows is a brief description of the madness behind the modbus and a small application that I find myself using daily when testing RS232 modbus devices. The code is hardly robust, but it gets the job done in the sense that it works and it is easy to use and alter - two features I find the most important in a lab setting. I hope you find this of some use!
Modbus is a serial communications protocol used extensively in the industrial world going all the way back to the 1970s. It is especially useful in situations where one needs to connect to several devices in a network (or slaves) through its implementation of multiple device addresses. But if you found this article, then chances are you already know what modbus is and would rather not be bored to death with the details. For those who want to get their hands dirty with the finer points, here is the place to go for the relevant details.
For the purposes of this article, I'll do a quick rundown of the modbus implementation used and the functions covered.
The modbus protocol comes in two flavors: RTU and ASCII. RTU is a binary implementation and is often most desirable. As such, this discussion will pertain solely to the RTU standard.
There are numerous functions available in the modbus protocol, yet I haven't found any use for most besides the basic read and write commands. Therefore we will only be looking at implementations of Function 3 - Read Multiple Registers and Function 16 - Write Multiple Registers commands. Other commands can be learned about by following the link provided in the 'Background' portion of this article.
The modbus protocol describes numerous exception codes available for each function in its implementation guide. All that is handled in this code is a simple CRC evaluation, as this is hardly a full implementation of the entire modbus protocol. If one chooses to add more error checking, additional procedures can easily be added to the provided code.
The class modbus.cs contains several functions for serial port handling and data transfer. All functions make use of the SerialPort class found in the System.IO.Ports namespace of .NET 2.0.
SerialPort
System.IO.Ports
One peculiarity of the SerialPort class exists in its DataReceived event. As has been documented in other articles on this site, the DataReceived event, which should fire each time the serial port receives an incoming event, doesn't "actually do this". This prevents truly event driving communications from working properly without the additional fixes and workarounds.
DataReceived
Fortunately, using something like the modbus protocol gives us the benefit of known incoming and outgoing message lengths. This allows us to use the ReadByte function as the backbone of any read commands and we can bypass the problem completely. In a perfect world, this would be an event driven class - but in the meantime we'll reject the tradeoff in lost data and tell the port when to read on our own.
ReadByte
public bool SendFc3(byte address, ushort start,
ushort registers, ref short[] values)
{
//Ensure port is open:
if (sp.IsOpen)
{
//Clear in/out buffers:
sp.DiscardOutBuffer();
sp.DiscardInBuffer();
//Function 3 request is always 8 bytes:
byte[] message = new byte[8];
//Function 3 response buffer:
byte[] response = new byte[5 + 2 * registers];
//Build outgoing modbus message:
BuildMessage(address, (byte)3, start, registers, ref message);
//Send modbus message to Serial Port:
try
{
sp.Write(message, 0, message.Length);
GetResponse(ref response);
}
catch (Exception err)
{
modbusStatus = "Error in read event: " + err.Message;
return false;
}
//Evaluate message:
if (CheckResponse(response))
{
//Return requested register values:
for (int i = 0; i < (response.Length - 5) / 2; i++)
{
values[i] = response[2 * i + 3];
values[i] <<= 8;
values[i] += response[2 * i + 4];
}
modbusStatus = "Read successful";
return true;
}
else
{
modbusStatus = "CRC error";
return false;
}
}
else
{
modbusStatus = "Serial port not open";
return false;
}
}
This public function accepts four variables - address (slave ID), start (register to begin read at), registers (quantity of registers to read) and values (reference to a byte array to contain the read values). The function will return true for a successful read or false for an erroneous read.
address
start
registers
values
true
false
The BuildMessage() function simply places each byte into the desired modbus message format as well as passes this message to the CRC calculator. GetResponse() reads a byte stream of set length from the serial port and places this result into the response[] array. These functions are very straightforward and can be examined by downloading the sample code. Following the read and write routines, the requested data is handled by placing it into the short[] array passed by reference to this function. These values are then made available to the user application.
BuildMessage()
GetResponse()
response[]
short[]
The public string modbusStatus contains pertinent information at various points during the modbus communication and makes this information available to the user application during program execution. This can be seen throughout the sample application.
modbusStatus
public bool SendFc16(byte address, ushort start,
ushort registers, short[] values)
{
//Ensure port is open:
if (sp.IsOpen)
{
//Clear in/out buffers:
sp.DiscardOutBuffer();
sp.DiscardInBuffer();
//Message is 1 addr + 1 fcn + 2 start + 2 reg + 1 count +
2 * reg vals + 2 CRC
byte[] message = new byte[9 + 2 * registers];
//Function 16 response is fixed at 8 bytes
byte[] response = new byte[8];
//Add bytecount to message:
message[6] = (byte)(registers * 2);
//Put write values into message prior to sending:
for (int i = 0; i < registers; i++)
{
message[7 + 2 * i] = (byte)(values[i] >> 8);
message[8 + 2 * i] = (byte)(values[i]);
}
//Build outgoing message:
BuildMessage(address, (byte)16, start, registers, ref message);
//Send Modbus message to Serial Port:
try
{
sp.Write(message, 0, message.Length);
GetResponse(ref response);
}
catch (Exception err)
{
modbusStatus = "Error in write event: " + err.Message;
return false;
}
//Evaluate message:
if (CheckResponse(response))
{
modbusStatus = "Write successful";
return true;
}
else
{
modbusStatus = "CRC error";
return false;
}
}
else
{
modbusStatus = "Serial port not open";
return false;
}
}
This function behaves in a similar fashion to SendFc3. Again we are passing four variables to the function, only this time instead of passing a byte array by reference to receive the read values, we are passing a populated array of values to use when writing the relevant registers. Again, we receive a boolean value depicting the success, or lack thereof, of the write command.
SendFc3
boolean
As previously mentioned, the CheckResponse function does nothing besides a simple CRC check. The CRC is recalculated for the incoming message and this value is compared against that passed as part of the message itself - hence checking the validity of the response. Any message framing error should result in a CRC exception.
CheckResponse
Again, it's important to reiterate the downfalls of the event handling in the SerialPort DataReceived event. A simple Google search will locate several frustrated coders explaining identical situations with few solutions suggested. This site contains one such solution and whether or not to pursue this line of coding is up to the individual. A better implementation of the modbus protocol would contain an override for this event and a more finely tuned data reception function.
SerialPort DataReceived
Note that the public functions found in this modbus class were built with the intention that they can be used in dedicated threads in a user-made application. The sample application demonstrates the use of these functions in a thread created by the System.Timers.Timer.Elapsed event. It should be easy to find other uses that will fit your specific needs.
modbus
System.Timers.Timer.Elapsed
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
mb.SendFc3(SlaveID, pollStart, pollLength, ref values)
DataGridViewRow row = new DataGridViewRow();
row.CreateCells(dgvData);
row.Cells[0].Value = DateTime.Now;
row.Cells[1].Value = DeviceID;
row.Cells[2].Value = DeviceName;
row.Cells[3].Value = values[0];
row.Cells[4].Value = values[1];
dgvData.Rows.Add(row);
public bool Open(string portName, int baudRate, int databits, Parity parity, StopBits stopBits)
{
//Ensure port isn't already opened:
if (!sp.IsOpen)
{
//Assign desired settings to the serial port:
sp.PortName = portName;
sp.BaudRate = baudRate;
sp.DataBits = databits;
sp.Parity = parity;
sp.StopBits = stopBits;
//These timeouts are default and cannot be editted through the class at this point:
sp.ReadTimeout = 1000; // <<<<<<=======
sp.WriteTimeout = 1000; // <<<<<<=======
private void GetResponse(ref byte[] response)
{
//There is a bug in .Net 2.0 DataReceived Event that prevents people from using this
//event as an interrupt to handle data (it doesn't fire all of the time). Therefore
//we have to use the ReadByte command for a fixed length as it's been shown to be reliable.
for (int i = 0; i < response.Length; i++)
{
response[i] = (byte)(sp.ReadByte());
}
}
#endregion
Problem signature:
Problem Event Name: BlueScreen
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
Additional information about the problem:
BCCode: 1000008e
BCP1: C0000005
BCP2: 821B0813
BCP3: 97DE79A8
BCP4: 00000000
OS Version: 6_1_7600
Service Pack: 0_0
Product: 256_1
Files that help describe the problem:
C:\Windows\Minidump\040210-38859-01.dmp
C:\Users\relswick\AppData\Local\Temp\WER-139074-0.sysdata.xml
Read our privacy statement online:
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
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/20929/Simple-Modbus-Protocol-in-C-NET?msg=4260736
|
CC-MAIN-2017-51
|
refinedweb
| 1,690
| 53.61
|
This is a general collection of some of the most frequently asked questions about Blackfin Linux. Some of the questions even have answers - to find them, click the question (like most of the side, you must have javascript enabled).
Some topics have so many FAQs, a page was created specifically for them!
Why do I want to use Linux?
What is the difference between uClinux and Linux?
Is it more difficult to debug uClinux applications than Linux applications?
Is Linux more stable than uCLinux?
How difficult is it to port a Linux application to uCLinux?
Which Toolchain should I use?
What is the licensing model for Linux? Where can I find more information on GPL and LGPL?
Which release shall I use? Live source or release?
Why isn't silicon revision XXX supported?
I have found a bug, where to report it?
Why do I need to use the same version of toolchain/kernel/uClibc/U-boot/uClinux-dist?
-mfdpicor shared flat), and attempt to use a different version of uClibc in the toolchain, than what runs on the target all kinds of undebuggable random errors may be encountered. From causing bus errors, to crashing on exit. This is because the uClibc code in entry and exit code is modified to fix bugs.
I want to learn more about Linux development. Can you recommend a good resource?
What is the typical Blackfin power consumption and what can I do to improve it?
What is the system boot time and what can I do to improve it?
What is the typical Blackfin Linux Flash Memory footprint what can I do to improve it?
Busybox build fails with ''mixed implicit and normal rules''
I get errors about linux/mtd/ftl.h, flash_eraseall.c, or ftl_format.c
Can I build the uClinux-dist on a 2.4 host
flash_eraseall.cor
ftl_format.c, this is most likely the problem of missing header “linux/mtd/ftl.h” on the host. If you are running into problems, you have a few options:
Kernel/Library/Defaults Selection→
Customize Vendor/User Settings→
Flash Tools→
mtd-utils.
My host is running Linux 2.6, why I still cannot build the uClinux-dist
/usr/include/, so you may get an error like:
$ gcc -I/usr/include -I. -o build/ftl_format ftl_format.c ftl_format.c:51:27: error: linux/mtd/ftl.h: No such file or directory
In this case, please try to find the headers files for
mtd-utils in the host kernel source tree (kernel source will be installed in /usr/src/ by default): <kernel_src>/include/linux/mtd/. If it is not there, you can copy (or link) the target mtd directory from
<target_kernel_src>/uClinux-dist/linux-2.6.x/include/mtd/ to
usr/include/linux/mtd. (which hopefully is a path that your host's gcc looks at for include files).
While building, make aborts with "expand.c:489: allocated_variable_append: Assertion ... failed."
Building the kernel in the uClinux dist fails with "No rule to make target `drivers/base/bfXXX', needed by `drivers/base/cpu.o'"
While building the uImage, genext2fs segfaults!
I get errors about "no free space" when generating EXT2 images
../bfin-elf-genext2fs: couldn't allocate a block (no free space)
This means that the ram files system for the target is not big enough to store all the data that you want to put in it. This is controlled in the
./vendors/AnalogDevices/BF5xx-XXXX/Makefile. For more information learn more about the rootfs.
My uImage is too large to burn in my flash
uClinux-dist> find -P ./romfs/ -type f -printf "%s %p\n" | sort -nr | less
And just delete the large ones that you do not need.
Since this is easier said than done, you can run this little bit of shell script, which goes through the romfs, looking at which libraries are referenced by everything not in the /lib directory, and then goes through those libraries, and prints their dependencies.
rgetz@imhotep:~/blackfin/trunk/uClinux-dist> for i in $(bfin-elf-readelf -d $(find -P ./romfs -perm -001 -type f | grep -v "./lib/") | grep NEEDED | awk '{print $5}' | sort | uniq | sed -e 's/\[//' -e 's/\]//' ) ; do echo $i; bfin-elf-readelf -d ./romfs/lib/$i 2>/dev/null | grep NEEDED | awk '{print $5}' | sed -e 's/\[//' -e 's/\]//' ; done | sort | uniq ld-uClibc.so.0 libcrypt.so.0 libc.so.0 libdl.so.0 libgcc_s.so.1 libid3tag.so.0 libjpeg.so.62 libmad.so.0 libm.so.0 libpng12.so.0 libpthread.so.0 libthread_db.so.1 libutil.so.0 libz.so.1
You should not remove anything in the list that the script generates (unless you are only building as flat, and do not want to do any fdpic developments).
./romfs. You need to either:
rm ./romfs/bin/strace && make image)
romfsfolder (
rm -rf ./romfs && make romfs image
make clean && make
Blackfin build options ---> [*] Install ELF shared libraries [ ] Cull unused ELF shared libraries
This should be done after you have removed the libraries - but -- it will remove all shared libraries (or shared libraries which are not referenced by the current applications in the romfs directory. For example - if you have no threaded applications in the romfs directory, it will remove the pthread library (
libpthread.so.0), but this will make it so no threaded applications will ever run on the system (without also replacing the pthread library.
I get "BINFMT_FLAT: bad flat file version 0x5" errors
I get errors about "BINFMT_FLAT: bad header magic" or "Applet not found"
-mfdpic(and make sure ELF support is turned on in the kernel) or specify
-Wl,-elf2fltand run the flat file. Have a look at: simple_hello_world_application_example Another common error is to transfer files via ftp to the board in ASCII mode. Make sure you transfer only in binary mode.
I get "bfin-uclinux-mkimage: command not found" errors
How do I enable Large File Support in uClibc / Toolchain
When I nfs mount the root file system, some directories look they are missing
cpiohost application, sometimes the permissions on the directories can be set incorrectly. You have a few choices:
chmod 755 <dir>)
cpioapplication to something that isn't broken
Building packages fails with stdarg.h missing!
Running config.sub results in "machine `bfin' not recognized"
config.subfile is outdated. Simply copy the version from
uClinux-dist/tools/config.subover the local version.
rgetz@pinky:~/blackfin-trunk> grep MPFR_VERSION_STRING /usr/include/mpfr.h #define MPFR_VERSION_STRING "2.2.0
Some device nodes in /dev seem to be missing!
How do I access the Power Management features of the Blackfin?
How do I change the network settings for the Blackfin?
./uClinux-dist/vendors/AnalogDevices/BFXXX-XXXXX/rcfile. This file is the startup script that is run each time the Blackfin boots. To set a static ip address of your choice, add the line
ifconfig eth0 192.168.0.1
Or to instead use DHCP for obtaining an IP address, add the line:
dhcpcd &
Then rebuild the kernel. You can also use this file to automatically mount shared drives and other things that need to be done at boot time.
A third option is to pass in a static IP address through U-Boot through the
bootargs environment variable
setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
This is equivalent to the
addip command in U-Boot
For more details, see the setting_up_the_network page.
How do I allow more telnet sessions into the Blackfin? (error: All network ports in use)
Unix98 PTY supportoption in the kernel configuration under Character Devices. You must also deselect the option
telnetd does not use openpty()in the vendor/user configuration. Then at runtime, you must mount the
devptspseudo filesystem on
/dev/pts/. The default Analog Devices boards do all of this for you. On older releases (2007R1 and older), the default behavior was a static list of legacy BSD pty's. The default was to only allow two telnet connections into the Blackfin at a given time. To allow more telnet sessions for the Blackfin, you will need to modify the
./uClinux-dist/vendors/AnalogDevices/BFXXX-XXXXX/device_table.txtfile. The last number on the line for /dev/ttyp and /dev/ptyp control the number of telnet sessions available. In this case, up to 8 telnet sessions are allowed.
/dev/ttyp c 666 0 0 3 0 0 1 8 /dev/ptyp c 666 0 0 2 0 0 1 8
What does a normal Boot Look like?
stamp>bootm ## Booting image at 01000000 ... Image Name: uClinux Kernel and Filesystem Created: 2006-03-23 5:48:47 UTC Image Type: Blackfin Linux Kernel Image (gzip compressed) Data Size: 2829207 Bytes = 2.7 MB Load Address: 00001000 Entry Point: 00001000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting Kernel at = 1000 Linux version 2.6.12.1-BFIN-2005R4 (rgetz@home) (gcc version 3.4.4 (Blackfin 05R Blackfin support (C) 2004 Analog Devices, Inc. ADSP-BF533 Rev. 0.3 uClinux/BF533 Blackfin uClinux support by blackfin.uclinux.org Processor Speed: 398 MHz core clock and 79 Mhz System Clock Board Memory: 128MB Memory map: text = 0x001000-0x0d9d58 data = 0x0e6838-0x112fec bss = 0x112ff0-0x1204b4 rootfs = 0x7700000-0x7f00000 stack = 0x0e8000-0x0ea000 Command line: 'root=/dev/mtdblock0 rw' Instruction Cache Enabled Data Cache Enabled (write-through) Hardware Trace Enabled Built 1 zonelists Kernel command line: root=/dev/mtdblock0 rw Configuring Blackfin Priority Driven Interrupts PID hash table entries: 256 (order: 8, 4096 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Physical pages: 3c00 Memory available: 59648k/130149k RAM, (49k init code, 867k kernel code, 231k dat Blackfin Scratchpad data SRAM: 4 KB Blackfin DATA_A SRAM: 16 KB Blackfin DATA_B SRAM: 16 KB Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 512 NET: Registered protocol family 16 Blackfin DMA Controller for BF533 stamp_init(): registering device resources Real Time Clock Driver v1.10e blackfin_dpmc_init Dynamic Power Management Controller: major=10, minor = 254 DPMC Driver v0.1 BlackFin BF533 serial driver version 2.00 With DMA Support io scheduler noop registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org> Blackfin SMC91x interrupt setup: flag PF7, irq 27 eth0: SMC91C11xFD (rev 1) at 20300300 IRQ 27 [nowait] eth0: Ethernet addr: 00:e0:22:fe:07:91 uclinux[mtd]: RAM probe address=0x7700000 size=0x800000 Creating 1 MTD partitions on "RAM": 0x00000000-0x00800000 : "EXT2fs" uclinux[mtd0]: set EXT2fs to be root filesystem VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 48k freed (0xda000 - 0xe5000) ttyS0 at irq = 21 is a builtin BlackFin UART bfin_change_speed: baud = 57600, cval = 0x13 Welcome to: ____ _ _ / __| ||_| _ _ _ _| | | | _ ____ _ _ \ \/ / | | | | | | || | _ \| | | | \ / | |_| | |__| || | | | | |_| | / \ | ___\____|_||_|_| |_|\____|/_/\_\ |_| For further information see: BusyBox v1.00 (2006.02.17-14:21+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. root:~>
How do I port applications to Blackfin Linux?
How to config user login?
Problems installing modules?
root:~> modprobe snd-ad73311 soundcore: version magic '2.6.16.11-ADI-2006R1 gcc-4.1' should be '2.6.16.11-ADI-2006R1 gcc-3.4' insmod: cannot insert `/lib/modules//2.6.16.11-ADI-2006R1/kernel/sound/soundcore.ko': Invalid module format (-1): Exec format error
This error means you build the modules with a different version of the compiler than what the kernel is built with. You must build modules and kernel with the same version.
I get a "not found" error
root:~> /foo /foo: not found
And I know my application is there:
root:~> ls -l /foo -rwxr-xr-x 1 0 0 5341 foo
This is normally because the shared library was not installed in the
./romfs/lib directory:
root:~> ls /lib/ modules root:~>
Just install the shared libs, and try again.
I get a "init: /bin/syslogd respawning too fast" error
syslogddieing and then restarting. This can happen for a few reasons:
syslogdwrites to a log file - if it fails creating this log file, it dies.
syslogduses network sockets
To fix this error, you have a few choices:
syslogd
How do I change the clocks?
Customize Kernel Settings→
Blackfin Processor Options→
Clock Settings→
Re-program Clocks while Kernel boots. The way the PLL works on the Blackfin is by taking the external crystal frequency, multiplying that up by
VCO Multiplier(If you have a 25MHz clock, and set the Multipler to be 24, the VCO will be running at 600MHz). The core speed can be run slower than the VCO by programming the
Core Clock Divider(Normally 1), and the SCLK must be run slower than the VCO, so it has it's own divisor,
System Clock Divider. (If the VCO is running at 600MHz, a system clock divider of 5 will run things at 120MHz). Depending on the software load, it might be better to optimize things to have the fastest system clock possible, rather than the faster core clock.
CONFIG_SCLK_DIVin
./include/configs/<board_name>.h, it is not recommended, since you can quickly turn your board into a doorstop. Changing clocks in the kernel is the recommended way.
Blackfin board only shows ~60meg free with 128meg (Anomaly 05000263)
DESCRIPTION: There is an error in the hardware loop logic which can cause incorrect instructions to get executed when the processor is running loops and instruction ICPLB exceptions occur. WORKAROUND: Either: 1) Avoid using hardware loops, OR 2) Make sure hardware loops are located only in L1 memory, OR 3) Make sure ICPLB exceptions do not occur while executing a hardware loop located outside L1 memory.
Since we allow hardware loops in gcc 4.1, and in kernel and user assembly optimized library functions which all run out of L3, neither of the recommended workarounds will work for Linux. What we do, is ensure there is never an ICPLB exception. To do this, we have to cover 100% of the runnable memory in 16 of the entries in the iCPLB table. 1 is used for L1, 1 is used for jumping to zero (can be disabled), so that leaves 14 * 4Meg = 56 Meg available for Linux to use as it's global memory pool.
To reduce the impact of this, we put the file systems at the top of memory (data fetches don't cause ICPLB misses), hopefully above the 56Meg mark, so you can use the entire 56Meg as a kernel memory pool. If for example, you can see this when the kernel boots, when it prints out the system memory map:
Memory map: text = 0x00100000-0x0021f570 init = 0x00220000-0x0022ed18 data = 0x00232a08-0x0026a4e8 stack = 0x00234000-0x00236000 bss = 0x0026a4f0-0x002787ec available = 0x002787ec-0x025ff000 rootfs = 0x02600000-0x03e00000 DMA Zone = 0x03e00000-0x04000000
You can still utilize this memory yourself in your drivers, you just cannot allow instruction fetches to come from this non iCPLB covered memory. See the memory allocator page for some tips.
Depending on the silicon version you are using, it may not have this issue in it. BF533 rev 0.5, BF537 rev 0.3 this issue has been fixed. If you selected this version when building your kernel, this limitation will be removed.
How do I access system registers from user space?
Why is the blackfin serial port named ttyBF0? Shouldn't it be named ttyS0?
ln -s ttyBF0 /dev/ttyS0
How do I specify custom/high baud rates with the standard UART driver?
#include <asm/termios.h> #include <asm/ioctls.h> ... struct termios2 t; ioctl(fd, TCGETS2, &t); t.c_ospeed = t.c_ispeed = 543210; t.c_cflag &= ~CBAUD; t.c_cflag |= BOTHER; ioctl(fd, TCSETS2, &t); ...
The older method requires a helper application. You have to set the baud to B38400 and then run the setserial program (which can be found in the uClinux vendor menu). So to set the actual divisor (UART_DLL/UART_DLH) on UART1 to a value of say 9, just do:
stty -F /dev/ttyBF1 38400 setserial -a /dev/ttyBF1 divisor 9 spd_cust
How do I tell the kernel not to print things out the UART?
console=and
loglevel=options on the kernel command line. For more information, see the silent booting document.
PPI Underrun Overflow Errors?
Can bfin_ppi simple PPI driver do continuous data input or output?
I get "Read-only file system" errors
bootargsvariable, if it doesn't say something like
root=/dev/mtdblock0 rw(the ”
rw” part is the important part), it will be mounted as read only. To modify things at runtime, just
mount -o remount,rw /at the root prompt, and it will remount your root filesystem (the
/part) as read write.
Why is the kernel start address in the middle of the kernel memory space?
Image Name: Linux-2.6.22.18-ADI-2008R1-svn Image Type: Blackfin Linux Kernel Image (gzip compressed) Data Size: 778200 Bytes = 760 kB Load Address: 00001000 Entry Point: 00144000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK
Starting Kernel at = 144000<code>
The Entry Point (where the Bootloader jumps to) is at
0x144000, not the base load address of the kernel (
0x1000), since the entry point is where the kernel's chip initialization occurs. This is only done once (when the kernel boots), and is put into the
init section, which is released/discarded after the kernel is finished with it. There is no point in keeping chip init code when we don't need it.
This is different behavior from older releases (where the load address and entry point were the same thing), so people using older vendor Makefiles may create broken uImages until they update their Makefile in the uClinux-dist. See any of the Analog Devices boards for the proper method to call the mkimage utility.
Booting the kernel fails with "Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)"
VFS: Cannot open root device "mtdblock0" or unknown-block(0,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 5120 mtdblock0 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
The Linux kernel needs a valid root file system so that it can load and execute user space code. However, it needs to know what file system to use for its root file system, how to access the hardware where the file system lives, and how to read the particular file system. To these ends, people often times do not setup all of these important pieces:
root=to the proper device/partition
Since all of the kernel modules and user space programs live on the root file system, you cannot load modules before accessing the root file system. Many people forget this and build the required kernel pieces as modules instead of into the kernel.
Complete Table of Contents/Topics
|
http://docs.blackfin.uclinux.org/doku.php?id=faq
|
CC-MAIN-2014-41
|
refinedweb
| 3,154
| 63.59
|
Vanity package URL in an instant
import "mynextlib.org"
instead of
import "github.com/mynextlib/mynextlib"
Automatically provisioned SSL, redirects and more coming: download statistics, documentation publishing
You will receive an authentication code & instructions to configure your DNS records
If you lost your code, you can re-request it as well
Frequently asked questions
-
Yes, it is free. The core service will always remain free. Extended functionality and premium service levels might be added in the future.
-
If you have a domain you're running a website on already (or plan to), you can run it behind Cloudflare. Gopkg provides a simple worker that augments the website with Gopkg funtionality.
If you can't put your website behind Cloudflare, it will be then best to use a subdomain. For inspiration, here are some ideas:
go.domain.tld, code.domain.tld, pkg.domain.tld, oss.domain.tld
Another option would be to go for an entirely new domain. Let's say you have
mycompany.com, then
mycompany.orgor something like
mycompany.dev, or
mycompany.codeswill be a good fit.
In the future, we might offer better support for existing website augmentation, but this is not a case we support yet.
-
Gopkg is backed by DNS records of publisher's own domain. We have no control or authority over these, and one can easily verify authenticity of what Gopkg serves by comparing it to the output of
host -t TXT <domain.name>or a similar command.
-
If it will come to this, not to worry! Since domains are controlled by you, you can simply fall back to self-hosting. To make it even easier, in the event we do have to stop operations, the source code for our backend will be released as open source to enable smooth transition to self-hosting.
|
https://gopkg.co/
|
CC-MAIN-2021-43
|
refinedweb
| 300
| 58.79
|
React-admin 2.4: Field Guessers, Aside, DateTimeInput, Better Accessibility... and TypeScript!
We've been hard at work on the new release of react-admin, the open-source framework for building admin interfaces on top of REST or GraphQL APIs. More than adding new features, we've focused on improving the developer experience. So here is a list of the highlights of react-admin 2.4, which was just released:
- Field and Input Guessers
- Right Aside
- Datagrid
rowClick
- New
<DateTimeInput>
- Custom Icon in
<UserMenu>
- Improved Form Accessibility
- Easier
<Toolbar>Customization for
<Edit>
- Bootstrap TypeScript Migration
Field and Input Guessers
I often start the development of a new
<Resource> by mapping the fields from the API to
<Field> components in a
<Datagrid>. To do so, I look at an example response from the API, then I look for the corresponding field types in the react-admin documentation. For every resource. The problem is not that it's time consuming, it's that this work has no added value.
If, like me, you're developing admins over existing APIs, you'll like the new
<ListGuesser> component. It's a drop-in replacement for
<List>, and just like
<List>,
<ListGuesser> fetches the
dataProvider. It then analyzes the response, and guesses the fields it should use to display a basic datagrid with the data. So all it takes to get a working datagrid for a
posts resource is the following:
// in src/App.js import React from "react"; import { Admin, Resource, ListGuesser } from "react-admin"; import jsonServerProvider from "ra-data-json-server"; const App = () => ( <Admin dataProvider={jsonServerProvider("")} > <Resource name="posts" list={ListGuesser} /> </Admin> );
That's right: no need to manually define a
<Datagrid> with
<TextField>s mapped to the field names, react-admin does it for you.
React-admin 2.4 also comes with an
<EditGuesser> and a
<ShowGuesser>. So if you know the names of the resources of an API, you can quickly prototype a basic CRUD admin in a few lines. Look how I can create a GUI in front of JSON Placeholder in one file:
codesandbox.io might track you and we would rather have your consent before loading this.
The guesser components aren't really designed for production use. Instead, they are here to help you bootstrap a new admin. And the best thing about them is that when you go to a view generated by a Guesser, it dumps the regular code that you should use to replace it:
Guesser components will let us all create new resources much faster than before. We already love them!
Right
aside
By default, the
<List>,
<Create>,
<Edit> and
<Show> views fill all the content width with a white
<Paper>. We've had several customers ask us to create custom views to display additional information out of this
<Paper>, in some kind of contextual sidebar. It was already possible with react-admin 2.3, but cumbersome - you had to create e.g. a custom
<EditView>, and match it with the
<EditController>, which, to be honest, is not documented. So it was possible... if you knew the drill.
With react-admin 2.4, adding a side component is much easier. Just pass the component of your choice as the
aside prop to any of the views, and you're good to go:
const Aside = () => ( <div style={{ width: 200, margin: '1em' }}> <Typography variant="title">App Users</Typography> <Typography variant="body1"> Eiusmod adipisicing tempor duis qui. Ullamco aliqua tempor incididunt aliquip aliquip qui ad minim aliqua. Aute et magna quis pariatur irure sunt. Aliquip velit consequat dolore ullamco laborum voluptate cupidatat. Proident minim reprehenderit id dolore elit sit occaecat ad amet tempor esse occaecat enim. Laborum aliqua excepteur qui ipsum in dolor et cillum est. </Typography> </div> ); const UserShow = ({ permissions, ...props }) => ( <Show aside={<Aside />} {...props}> ... </Show>
The
aside component receives the same props as the main view component. For instance, in a
<Show> or
<Edit> view, it receives
basePath,
record,
resource, and
version. That means you can display non-editable details of the current record in the
aside component:
const Aside = ({ record }) => ( <div style={{ width: 200, margin: "1em" }}> <Typography variant="title">Post details</Typography> <Typography variant="body1">Creation date: {record.createdAt}</Typography> </div> );
We've started adding
aside components in many of our admins, and they look much better! In particular, they are a good replacement for
<TabbedForm> when some of the tabs display non-editable data. And since the
aside component is a simple React component, you can make it slidable, decorate it with material-ui... Whatever you like!
<Datagrid>
rowClick
Most of the
<Datagrid> we build have a column dedicated to displaying the
<EditButton>. It makes the interaction for editing explicit, but it also takes some horizontal space. And in datagrids with many columns, we never have enough of that horizontal space.
Starting with react-admin 2.4, you can now remove the
<EditButton> from the
<Datagrid> and use the
rowClick attribute instead:
const UserList = props => ( <List {...props}> - <Datagrid> + <Datagrid rowClick="edit"> <TextField source="id" /> <TextField source="name" /> <TextField source="role" /> - <EditButton /> </Datagrid> </List> );
That will make the entire row clickable:
Be careful though: if the row contains an
<ReferenceField>, the link created by these fields won't be clickable - the click to the edit view takes precedence.
New
<DateTimeInput>
How do you let users enter or modify a date with a time? It seems that this is one of the hardest problems in computer science, because browsers still haven't settled on a standard for doing that. That's also because it's a real usability challenge.
React-admin already had a
<DateInput>, well now it also has a
<DateTimeInput>. It allows to manipulate a date with time and timezone, using the browser native date controls. Use it just like any other
<Input> component:
import { DateTimeInput } from "react-admin"; <DateTimeInput source="published_at" />;
Here is how it renders on Chrome:
Tip: For a material-ui styled
<DateTimeInput> component, check out vascofg/react-admin-date-inputs.
Custom Icon in
<UserMenu>
The previous version, 2.3, saw the introduction of the
<UserMenu>, where the
<LogoutButton> is located. By default, it displays an anonymous avatar. In react-admin 2.4, you can use the
icon prop of the
<UserMenu> to override it:
import { Admin, AppBar, UserMenu, Layout } from "react-admin"; import { withStyles } from "@material-ui/core/styles"; import Avatar from "@material-ui/core/Avatar"; const myCustomIconStyle = { avatar: { height: 30, width: 30, }, }; const MyCustomIcon = withStyles(myCustomIconStyle)(({ classes }) => ( <Avatar className={classes.avatar} )); const MyUserMenu = props => <UserMenu {...props} icon={<MyCustomIcon />} />; const MyAppBar = props => <AppBar {...props} userMenu={<MyUserMenu />} />; const MyLayout = props => <Layout {...props} appBar={MyAppBar} />; const App = () => <Admin appLayout={MyLayout}>// ...</Admin>;
Improved Form Accessibility
The forms generated by react-admin now infer an
id prop from the
source of the
<Input> component, and use it to set the input
id and label
htmlFor properties automatically. This may not make much a difference for your users with a regular browser, but it will make the life of your users with a screen reader much smoother.
In addition, and for the same reason, we've added
aria-label properties to buttons.
If you need to develop an accessible admin, react-admin 2.4 is a great choice!
Easier
<Toolbar> Customization for
<Edit>
Removing the
<DeleteButton> from the
<Edit> toolbar used to require to create a
<Toolbar> component from scratch.
With react-admin 2.4, it's now as easy as passing a
<SaveButton> component as only child of a custom
<Toolbar>:
import { Toolbar, SaveButton } from "react-admin"; const PostEditToolbar = props => ( <Toolbar {...props}> <SaveButton /> </Toolbar> ); export const PostEdit = props => ( <Edit {...props}> <SimpleForm toolbar={<PostEditToolbar />}>...</SimpleForm> </Edit> );
This is a slight breaking change: Developers with custom
<Toolbar> components for
<Edit> views used to have the
<Delete> button displayed, even though it wasn't in their custom toolbar. With that change, the
<Delete> button will disappear. We decided to push this small breaking change in a minor version because the toolbar feature is very young (it's from react-admin 2.3, released one month ago), and probably not very widely used to date. And it will make your life easier if you have to remove the Delete button from many views.
Bootstrap TypeScript Migration
Hold on, don't jump on your keyboard to insult or praise us just yet!
TypeScript is a controversial subject: it brings benefits, but they come at a high price, in terms of learning curve and performance. We've noticed more and more bugs in react-admin that could have been avoided with a stronger type checking. We also appreciate libraries that publish types, enabling IntelliSense in supported IDEs. We've weighted the costs and benefits, and decided that it's time for react-admin to migrate to TypeScript.
But this is a huge task, and it will take months. React-admin 2.4 only lays the ground for this migration: we've rewritten our build toolchain to use TypeScript instead of Babel, switched the linter from ESLint to TSLint, and upgraded a few development dependencies to let us migrate one file to TypeScript.
Behold, the
ra-core/src/i18n/translate.tsx file:
import * as React from "react"; import * as PropTypes from "prop-types"; import { default as wrapDisplayName } from "recompose/wrapDisplayName"; import { default as warning } from "../util/warning"; /** * Higher-Order Component for getting access to the `translate` function in props. * * Requires that the app is decorated by the <TranslationPRovider> to inject * the translation dictionaries and function in the context. * * @example * import React from 'react'; * import { translate } from 'react-admin'; * * const MyHelloButton = ({ translate }) => ( * <button>{translate('myroot.hello.world')}</button> * ); * * export default translate(MyHelloButton); * * @param {*} BaseComponent The component to decorate */ const translate = (BaseComponent: React.ComponentType) => { warning( typeof BaseComponent === "string", `The translate function is a Higher Order Component, and should not be called directly with a translation key. Use the translate function passed as prop to your component props instead: const MyHelloButton = ({ translate }) => ( <button>{translate('myroot.hello.world')}</button> );` ); // tslint:disable-next-line:no-shadowed-variable const { translate, ...defaultProps } = (BaseComponent.defaultProps || {}) as any; class TranslatedComponent extends React.Component { static defaultProps = defaultProps; static contextTypes = { translate: PropTypes.func.isRequired, locale: PropTypes.string.isRequired, }; static displayName = wrapDisplayName(BaseComponent, "translate"); render() { const props = { ...this.context, ...this.props }; return <BaseComponent {...props} />; } } return TranslatedComponent; }; export default translate;
It doesn't seem much, but this first step allows us to migrate files little by little during the upcoming months. We'll need help from the community, so if you're a TypeScript enthusiast, please give us a hand!
Conclusion
So many new features in only a month! Some of the improvements come from our own use cases, because we use react-admin a lot. Some of them come from the community, and I can't be grateful enough for the huge interest we're getting from developers. Just look at the complete v2.4.0 changelog on GitHub to see that this release is the work of a community!
The TypeScript migration will occupy us for several months, so expect a slowdown in new features. But rest assured that the developer experience will improve a great deal in the near future!
|
https://marmelab.com/blog/2018/10/18/react-admin-2-4.html
|
CC-MAIN-2022-27
|
refinedweb
| 1,840
| 56.05
|
table of contents
NAME¶
inet_ntop - Parse network address structures
SYNOPSIS¶
#include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> const char *p=inet_ntop(int af, const void *src, char *dst, size_t cnt);
DESCRIPTION¶
This function converts the network address structure src in the af address family into a character string, which is copied to a character buffer dst, which is cnt bytes long.
inet_ntop(3) extends the inet_ntoa(3) function to support multiple address families, inet_ntoa(3) is now considered to be deprecated in favor of inet_ntop(3). The following address families are currently supported:
- AF_INET
- src points to a struct in_addr (network byte order format) which is converted to an IPv4 network address in the dotted-quad format, "ddd.ddd.ddd.ddd". The buffer buf must be at least INET_ADDRSTRLEN bytes long.
- AF_INET6
- src points to a struct in6_addr (network byte order format) which is converted to a representation of this address in the most appropriate IPv6 network address format for this address. The buffer buf must be at least INET6_ADDRSTRLEN bytes long.
RETURN VALUES¶
inet_ntop returns a non-null pointer to buf. NULL is returned if there was an error, with errno set to EAFNOSUPPORT if af was not set to a valid address family, or to ENOSPC if the converted address string would exceed the size of buf, given by the cnt argument.
SEE ALSO¶
BUGS¶
AF_INET6 converts IPv6-mapped IPv4 addresses into an IPv6 format.
|
https://dyn.manpages.debian.org/unstable/manpages-pt-dev/inet_ntop.3.pt.html
|
CC-MAIN-2022-05
|
refinedweb
| 242
| 52.49
|
Mathieu Desnoyers a écrit :> * Eric Dumazet (eric.dumazet@gmail.com) wrote:>> Mathieu Desnoyers a écrit :>>> Poisoning the rcu_head callback list. Only for rcu tree for now.>>>>>> Helps finding racy users of call_rcu(), which results in hangs because list>>> entries are overwritten and/or skipped. Using the lower bit to poison because>>> include/net/dst.h __pad_to_align_refcnt complains when struct rcu_head grows.>>>>> I see :)>>> > I don't know if there is an easy fix for __pad_to_align_refcnt ?This check was added to make sure some tbench regression was not added ifdst->__refcnt was moved around, I am sure you dont care about tbench being 10% slower,do you ?diff --git a/include/net/dst.h b/include/net/dst.hindex 5a900dd..b8fba74 100644--- a/include/net/dst.h+++ b/include/net/dst.h@@ -154,7 +154,9 @@ static inline void dst_hold(struct dst_entry * dst) * If your kernel compilation stops here, please check * __pad_to_align_refcnt declaration in struct dst_entry */+#if !defined(DEBUG_RCU_HEAD) BUILD_BUG_ON(offsetof(struct dst_entry, __refcnt) & 63);+#endif atomic_inc(&dst->__refcnt); } --To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgMore majordomo info at read the FAQ at
|
https://lkml.org/lkml/2009/10/6/317
|
CC-MAIN-2015-32
|
refinedweb
| 196
| 50.84
|
Global Datagen
Global Datagen
I got the idea of the GroovyScript and how to inject the TimeStamp in my SOAP Request. (it work fine)
Is there a way, to define at 1 place the Datagen - GroovyScript to get the TimeStamp and use that for different Test Suites?
It would be a blast to make that Datagen global to all project.
Jourdelune
Re: Global Datagen
You can achieve globally available functionality implemented using Groovy. Place your Groovy script in SOAP_HOME/scripts folder and use static methods like this:
After you restart soapUI it will load these global Groovy scripts and your new methods will be available for use like this:
I hope that fills your need.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Re: Global Datagen
I do not have the SOAP_HOME folder where my SoapUI is installed. Instead I have the C:\Program Files\SmartBear\SoapUI-Pro-5.1.2\bin\scripts path.
But even when I place my script there, with the groovy extension and then restart SoapUI, I am unable to use that script. I get the Unable to resolve class (and class name) error.
Re: Global Datagen
Ouch!
I think this is due to us moving to new forums. This topic used to be in the pro forum.
The feature you've been trying to use is in Pro only, that's why it's not working
If you look at the following page in the documenation:, you'll see that it's Pro Only:
"Now let's setup SoapUI Pro to load up your Groovy library. Set File > Preferences > SoapUI Pro tab > Script Library. So I would set that to "C:\GroovyLib" in my example. Then restart SoapUI Pro to pick up the library script."
And just to explain nomenclature, by SOAP_HOME we mean where soapUI is installed. In your case e C:\Program Files\SmartBear\SoapUI-Pro-5.1.2\.
Sorry about the bad news...
/niclas
Re: Global Datagen
Yes, If you read my mail carefully, I am using the Pro version only. And it's not the free one. If you see the path I sent, it says "SoapUI-Pro-5.1.2". So I am trying to use the Global Datagen through the Pro version only. When I click on the link for the page in the documentation, I get the Oops... 404 Error - Page Not Found error. And your reply does not in any way help me solve the issue of trying to get Datagen to work globally.
Please let me know if there is a proper solution to this. I am trying to setup global datagen because I want to get some date values in many of my test cases, across projects.
Again, I am using the paid, Pro version of SoapUI.
Re: Global Datagen
Hi,
At a risk of straying into this conversation, I found the topic of Global Datagen quite interesting... so I tried out an example on my SoapUI pro of a global id generator script, which I thought I'd share in case it helps your case.
Here is the Groovy script, a simple thread-safe id generator (SequentialIdGenerator.groovy):
package test
import java.util.concurrent.atomic.AtomicLong
public class SequentialIdGenerator {
public static final long counterSeed = 1000
private static AtomicLong counter = new AtomicLong(counterSeed)
public static long nextId() {
return counter.incrementAndGet()
}
}
(One difference with the example in this post is that I chose to use a package of 'test', not sure if this makes a differences to using the default package)
I placed this in a folder called 'test' (to match the package structure) in the default scripts folder that was already created in my SoapUI Home/java/app/bin/scripts (MacOSX) e.g.
/Applications/SoapUI-Pro-5.1.1.app/Contents/java/app/bin/scripts/test/SequentialIdGenerator.groovy
Then I saw the following in the SoapUI log tab:
Thu May 14 16:26:46 BST 2015:INFO:/Applications/SoapUI-Pro-5.1.1.app/Contents/java/app/bin/scripts/test/SequentialIdGenerator.groovy is new or has changed, reloading...
Thu May 14 16:26:46 BST 2015:INFO:Resetting groovy class cache due to 1 modified file
To test it, I then created a simple Groovy TestStep:
log.info test.SequentialIdGenerator.nextId()
Run it a few times to give:
Thu May 14 16:24:48 BST 2015:INFO:1001
Thu May 14 16:24:49 BST 2015:INFO:1002
Thu May 14 16:24:50 BST 2015:INFO:1003
Thu May 14 16:24:50 BST 2015:INFO:1004
I must admit I wasn't quite sure exactly how you wanted to use the timestamp across your TestSuites, at least not in a globally available sense, but would be very interested to hear? I undertand appending a Timestamp to request data to make it unique though...
Maybe there's a gap for me to develop a plugin for this sort of thing...
Hope this helps,
Rupert
Re: Global Datagen
Hi Rupert,
Thanks for the explanation :-). I was able to go up till the Groovy Test Step.
When I run the test step,
log.info test.SequentialIdGenerator.nextId()
I get the error message "groovy.lang.MissingPropertyException: No such property: test for class: Script3 error at line: 1". Please see the attached image.
I wonder if the error is because I am trying to use this for the REST web service?
Will research more into it and update this post. Will try to execute your steps for a SOAP service and verify the behavior.
Thanks,
Meera
Re: Global Datagen
Hi Rupert,
I am also attaching the error log I got ... just in case you get some clue as to why is it behaving in this manner ...
Fri May 15 09:49:33 MST 2015:ERROR:groovy.lang.MissingPropertyException: No such property: test for class: Script3
groovy.lang.MissingPropertyException: No such property: test for class: Script33.run(Script3.groovy:1)
at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92)
at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:79)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:138)
at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:250)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Re: Global Datagen
Hi Meers,
Great, glad it has helped, at least a bit...
Hmm... now if the package reference (in this case 'test') is invalid, then I too get a very similar error e.g. if in the Groovy TestStep, instead of:
log.info test.SequentialIdGenerator.nextId()
I put:
log.info test1.SequentialIdGenerator.nextId()
Than I get the same missing property exception.
Can I just check that the SequentialIdGenerator groovy class file is inside a folder called 'test' within the scripts folder? Sorry if you already checked this:
Cheers,
Rup
Re: Global Datagen
Sorry Meera,
I just realised that screenshot didn't show the scripts folder:
Cheers,
Rup
|
https://community.smartbear.com/t5/SoapUI-Open-Source-Questions/Global-Datagen/td-p/5519
|
CC-MAIN-2021-49
|
refinedweb
| 1,181
| 57.47
|
Times Leader 11-21-2011
The Wilkes-Barre Times Leader 11-21
CMYK Eagles get big win over Giants Vince Young's late TD pass leads Philly past N.Y. SPORTS, 1B Worth a thousand words Realtors Dinner; Mohegan Sun Birthday; Flood Benefit Dance. CLICK, 1C ELMER SUDDS ELMER SUDDS 722142 $ WILKES-BARRE, PA The Times Leader timesleader.com MONDAY, NOVEMBER 21, 2011 50� 20 FOOD VOUCHER FOR ONLY $ 1 0 SPORTS SHOWCASE POST-TRAUMATIC STRESS Invisible wounds NFL SECOND OF A TWO-PART SERIES ON THE TOLL THE DISORDER IS TAKING ON SOME VETERANS OF IRAQ AND AFGHANISTAN NYC man arrested in extensive bomb plot "Al-Qaida sympathizer" set to target police and post offices and returning troops, cops say. By TOM McELROY Associated Press COWBOYS 27 REDSKINS 24 RAVENS 31 BENGALS 24 PACKERS 35 BUCCANEERS 26 DOLPHINS 35 BILLS 8 BROWNS 14 JAGUARS 10 SMOKE BURNS HIS WAY TO TITLE Tony Stewart has held off Carl Edwards to win his third NASCAR championship with a powerful and relentless drive in Sunday's season finale at HomesteadStewart Miami Speedway. Stewart went into Sunday's race trailing Edwards by three points but confident he'd be the winner at race's end. Early damage to the front of his Chevrolet dropped him to 40th in the field. But Stewart plowed his way back to the front, using aggressive three and four-wide passes to get back into contention. 1B PHOTO COURTESY OF THE BALTIMORE SUN/JOHN MAKELY NEW YORK -- An "al-Qaida sympathizer" who plotted to bomb police and post offices in New York City as well as U.S. troops returning home has been arrested on numerous terrorismrelated charges, city officials said Sunday. Mayor Michael Bloomberg announced at a news conference the Saturday arrest of Jose Pimentel of Manhattan, "a 27-year-old alQaida sympathizer" who the mayor said was motivated by terrorist propaganda and resentment of U.S. troops in Afghanistan and Iraq. The mayor said Pimentel, a U.S. citizen originally from the Dominican Republic, was "plotting to bomb police patrol cars and also postal facilities as well as targeted members of our armed See TERROR, Page 8A U.S. Marines who served with former Marine Sgt. Stanley Laskowski of Carbondale ride through a sandstorm in Iraq. The Veterans Administration estimates up to 20 percent of soldiers deployed to Iraq and Afghanistan since 2001 will return with serious mental health issues like post-traumatic stress disorder, which afflicts Laskowski. Soldiers return with mental health issues TERRIE MORGAN-BESECKER tmorgan@timesleader.com P E N N S TAT E S C A N D A L The expected withdrawal of American troops from Iraq by the end of the year promises to be a joyous event for the families of the hundreds of thousands of soldiers now stationed there. But for many families, that joy will quickly be tempered by a stark realization: the soldier who comes back is a very different person than the one who left them months or years ago. Thousands of soldiers, particularly those who saw combat, are expected to return with mental health issues related to their service, including depression, anxiety and, in more severe cases, post-traumatic stress disorder. The Veterans Administration has estimated that up to 20 percent of the 2.1 million soldiers deployed to Iraq/Afghanistan since 2001 will suffer from PTSD or some other mental health problem. Other studies have pegged that number as high as 30 percent to 35 percent, said Patrick Bellon, executive director of Veterans for Common Sense, a nonprofit organization that advocates for improvements in veterans health care. Bellon said there's a growing concern among veterans groups whether the VA, which Bellon contends is already overwhelmed, will be able to handle the influx of cases once the Iraq and Afghanistan soldiers return home. See ISSUES, Page 10A Events are costly for school brand Sales of hats, shirts and other merchandise with the school name have plummeted. By JOANN LOVIGLIO Associated Press INSIDE A NEWS: Local 3A Nation & World 5A Obituaries 8A Editorials 9A B SPORTS: 1B C CLICK: 1C Community News 2C Birthdays 3C Television 4C Movies 4C Crossword/Horoscope 5C Comics 6C D CLASSIFIED: 1D Judge: Courtroom can become another battlefield By TERRIE MORGAN-BESECKER tmorgan@timesleader.com WILKES-BARRE � Luzerne County Judge Joseph Cosgrove has never fought in a war, but he's seen the damage combat can do in the faces of the veterans who have appeared in his courtroom. Many of the veterans once served with distinction, but due to substance abuse and mental health issues related to their service find themselves on the wrong side of the law, Cosgrove said. He's now working to establish a Veterans Court program that would provide special services to help them get their Cosgrove lives back on track. There are currently 83 Veterans Treatment Courts in the United States, including six in Pennsylvania, according to the National Association of Drug Treatment Professionals. The first court was established in Buffalo, N.Y. in 2008. The courts are based on the same model as drug treatment courts and mental health courts -- which already exist in Luzerne County -- that focus on rehabilitation rather than punishment. Offenders charged with non-violent crimes are offered the chance to avoid See COURT, Page 10A. See PENN STATE, Page 7A WEATHER Aidan Martin Rain, cloudy, cooler. High 47, low 40. Details, Page 8B 5 THINGS YOU NEED TO KNOW THIS WEEK see "The Muppets" this Wednesday night. (Yes, that was bad. Sorry.) Everyone's favorite felt thespians are back on the big screen for a new adventure � 2011 style. There'll be Kermit, Miss Piggy, Gonzo, Fozzie Bear, the Swedish Chef, Yoda .. well, not Yoda, but everyone else will be there. Even Statler and Waldorf may not totally hate the film. >> SAY 'HELLO,' GRACIE: Hi, how's it goin'? Let's see. Depending on how many people read this, I may have just fulfilled my obligation for World Hello Day, which is today. What's that? Well, it's a day where the objective is to say "hello" to 10 different people and thereby fostering good will and peace, rather than all that bad stuff you can read about on our Nation & World page. 6 09815 10011 >> MUPPETATIONAL: It's time to play the music. It's time to light the lights. It's time to go to the movies and >> TURKEY DAY: To tweed-jacket wearing smart people with letters after their names, it's called "Meleagris gallopavo." The rest of us call it turkey, and this Thursday it will be what's for dinner. Thanksgiving is upon us and all around the area, families will be settling down for the biggest feast of the year. So enjoy the football, the stuffing, the cranberry sauce and uncle Vic's karaoke version of "My Sharona" after he has one too many Gennys. >> READY, SET, SHOP: Some- where out there in the retail store jungle lurks an animal known as "the deal." And on Friday, thousands of wellarmed shoppers will set forth to stalk the elusive beast. The economic holiday called "Black Friday" is this week, and the stores will be packed tighter than the Duggar Family van on the way to the beach. So as you head out to shop, remember two very important things. ... I'm a size 2XL and I could really use a new DVD copy of "Star Trek II: The Wrath of Khan." >> BIG GAME: Somehow, with all that's happened, Penn State stands one win away from a berth in the innaugural Big Ten Championship Game. If Penn State can go into Madison, Wis., and muster up enough offense to help their first-class defense take down the Badgers, then the Lions will have a date with Michigan State for all the Big Ten marbles. ABC has the matchup at 3:30 p.m. on Saturday. K PAGE 2A MONDAY, NOVEMBER 21, 2011 timesleader.com THE TIMES LEADER Trethaway Street. � Andrew Swire of Hunlock Creek was arrested Friday on suspicion of drunken driving TUNKHANNOCK � State after police say he crashed his police are taking part in the vehicle near the intersection of yearlong "Pennsylvania State Police Checkpoint StrikeForce" North Main and Bennett program to take intoxicated streets. Swire was traveling motorists off the road. north on North Main Street Sobriety checkpoints or around 2:15 a.m. when he roving patrols will take place mounted a curb and struck a every weekend through Seplamppost. His vehicle contintember 2012 in the Troop P ued traveling north across the coverage area of Bradford, Bennett Street intersection, Luzerne, Sullivan and Wyommounted the curb again and ing counties. struck a parked vehicle. Swire was taken into custody and PLYMOUTH � Police Friday released to a sober adult. said they arrested Ray Cooper There were no injuries and on two counts each of aggravat- both vehicles were towed from ed indecent assault, statutory the scene. sexual assault and indecent � Kristie Drozda of Plyassault. Cooper was committed mouth Avenue reported Friday to the Luzerne County Correc- sunglasses, a radar detector, tional Facility for lack of keys and clothing were taken $25,000 bail. from her Jeep in the rear of Plymouth Avenue. HAZLE TWP. � State police � Laurie Lisman of North said a 40-inch, 3D, LED SamHancock Street reported sung TV from the residence of Thursday her black 2003 InfinJulius Gandarella, 77, of Windy ity was stolen from near the Hill Road, was taken between intersection of North Main and 12:30 p.m. and 4:30 p.m. on East Jackson streets. The vehiSunday. cle has Pennsylvania license plate HVS 4345. PLAINS TWP. � Township police reported the following: NANTICOKE � An 83-year� Joseph Jenkins, 28, of East old woman crossing the inCarey Street was charged with tersection of East Main and public drunkenness and disMarket streets was struck by a orderly conduct Saturday vehicle Friday morning, police morning following a domestic said. disturbance at his residence. Mary Conrad of Nanticoke � Ladu Kitching, 23, of was not within the crosswalk Brooklyn, N.Y., was charged when she was struck by the with public drunkenness and passenger side bumper of the disorderly conduct Saturday vehicle driven by Clifford Famorning after police responded rides, 60, of Bloomsburg, poto a report of an intoxicated lice said. male refusing to leave the Conrad was knocked to the Mohegan Sun at Pocono ground and taken by ambuDowns casino. Ladu had urilance for treatment to Geisnated on the floor in the food inger Wyoming Valley Medical court and was found sleeping Center, Plains Township. on a chair, police said. He was Anyone who witnessed the taken into custody and later accident is asked to contact released. Nanticoke police at 570 735� Donna Stevens reported 2200. Saturday copper piping and Craftsman tools were stolen HAZLE TWP. � State police from a residence on Robert reported a hit-and-run accident Street. She also reported a on Yuknis Street. stainless steel sink, cast iron A vehicle traveling north on stove and aluminum framed the street side swiped a 2007 window were stolen from the Honda Civic that was legally front yard. parked on the street. The Hon� Robert Barbee of Tobyhanda sustained minor damage. na and Lakisha Cooley of The accident occurred between Bronx, N.Y. will be charged 8 p.m. Wednesday and 9 a.m. with harassment after police Thursday. responded to a domestic disturbance Sunday morning at NESCOPECK TWP. � Denthe Red Roof Inn. nis G. Maisey, 26, of Berwick � Richard Flynn of West faces burglary and theft chargMarket Street, Pittston was es after he was identified from arrested Sunday morning on a surveillance system in the charges of theft of a motor Ridge Road residence broken vehicle, receiving stolen propinto three times between April erty, unauthorized use of a and September, state police motor vehicle, driving under the influence and driving while said. State police said its Computhis license was suspended for er Crimes Unit reviewed the driving under the influence. surveillance system provided Angela Errickson of Pittston by the owner of the residence reported Flynn took her 1997 and found numerous images of Ford F-150 pickup truck. Police Maisey. located Flynn a short time The surveillance system also after the report and arrested him. He was transported to the showed an unknown man stealing a snowblower from the Luzerne County Correctional property on June 28, state Facility for an arraignment. police said. The man loaded the snowblower into the rear WILKES-BARRE - City hatch of the car and drove police reported the following: � Edward Oliver, 46, of High away. The suspect is between Street, Hanover Township, will the ages of 35 and 45. He was wearing blue jean shorts and a be issued a citation for disyellow T-shirt. Anyone with orderly conduct after police said he drove after a retail theft information about the theft and the suspect is asked to suspect on Saturday. Oliver was stopped near the intersec- contact the state police at 570 542-4117. tion of Austin Avenue and POLICE BLOTTER DETAILS LOTTERY MIDDAY DRAWING DAILY NUMBER � 9-9-3 BIG 4 � 1-3-5-9 QUINTO - 8-6-7-4-8 TREASURE HUNT 05-13-15-17-18 NIGHTLY DRAWING DAILY NUMBER - 3-6-3 BIG 4 - 5-4-9-5 QUINTO - 5-0-1-6-7 CASH 5 24-31-34-35-37 Two players matched all five winning numbers drawn in Sunday's "Pennsylvania Cash 5" game and will each receive a payout of $401,850. Lottery officials said 157 players matched four numbers and won $266 each; 5,555 players matched three numbers and won $12.50 each; and 65,860players matched two numbers and won $1 each. �One of the tickets sold in Pennsylvania for the Powerball game Saturday evening matched all six numbers drawn, which were: 09-16-17-28-30 Powerball: 11 Power Play: 3 The player matching all five numbers and the Powerball won the $60 million jackpot. The prize goes to an estimated $20 million for Wednesday. Tickets that match the first five numbers, but miss the Powerball, win $200,000 each, and there were three of those. They were sold in: Florida(2) and New Mexico(1). There were two Power Play Match 5 winners in Iowa(1) and New Jersey(1). BILL TARUTIS/FOR THE TIMES LEADER Canadian heavy metal singer Sebastian Bach performs the opening act for Guns N' Roses at Mohegan Sun Arena in Wilkes-Barre Township on Sunday night. Show not `Slave' to the clock Sebastian Bach opens concert years for the recording and release of its latest chart-topping album an hour late. Guns N' Roses "Chinese Democracy." known for its late start times. Bach, the former frontman from R E V I E W By BRAD PATTON For The Times Leader Guess everything at the Mohegan Sun Arena at Casey Plaza on Sunday night was operating on rock `n' roll time. Opening act Sebastian Bach, scheduled to kick off the show at 7:30, took the stage about an hour late. So headliners Guns N' Roses were pushed back until at least 11 p.m. Of course, that wasn't completely unexpected as GNR and its notorious ringleader Axl Rose (the only original band member left these days) has been hitting the stage around11p.m. for each show on its first American tour in five years, according to online sources. Still, most headliners would be on stage around 9 for a 7:30 concert. But then again, Rose and GNR have never been like most headlining bands. You may recall it took15 Skid Row, ran onto the arena stage Sunday just past 8:30 p.m., screamed a few obscenities, and launched into his old band's "Slave to the Grind." Allthroughtheopeningnumber, and for much of his hour-long performance, Bach wildly banged his head like one of the frenzied fans in the general admission section, letting his long, blond hair stir up memories of his former band's hairmetal glory days of the late 1980s. As he wildly twirled his microphone cable around his head, Bach lit into one song after another, serving up as many Skid Row favorites as new songs from his recent solo album "Kicking and Screaming." New songs, including the title trackofthenewalbum,"DirtyPower" and "TunnelVision" went over well with the sizable crowd, but the highlights of his performance were definitely the big Skid Row hits, especially "18 and Life." "It's been a long time since I have been in Wilkes-Barre, Pennsylva- nia," Bach said late in his performance, also recalling the first time he was in the area was for a show at Roller King in 1989. "And all I've got to say is three words." With that, he and his five-piece backing band unleashed "I Remember You" as the crowd held up lighters and cell phones and joined in heartily with the1989 power ballad. Bach closed his portion of the show with another Skid Row favorite, "Youth Gone Wild" and thanked the crowd for rocking along with him for the past 25 years. "Thank you for a great night of rock `n' roll," he said as he introduced his band and made his way off the stage. "Have a great time with Axl Rose and Guns N' Roses!" Upcoming dates for Guns N' Roses include Wednesday in Albany, N.Y., and Saturday in Camden, N.J. The next concert at the Mohegan Sun Arena is Five Finger Death Punch on Saturday. For a complete review of the late show starring Guns N' Roses, please go to. OBITUARIES Baker, Merle Barlow, Sharon Just, Louise Jutkiewicz, Lillian Hessler, Josephine Kazukietas, Anna Kessler, Jean Larson, Jennie Maciun, Algard Morio, Anthony Sr. Nilles, David Sofa, Joseph Sulzinski, Leonard Tonkin, Charlotte Zagata, Sandra Page 8A W-B TWP. POLICE INVESTIGATING FIRE WHO TO CONTACT Missed Paper ........................829-5000 Obituaries...............................970-7224 Advertising ...............................970-7101 Advertising Billing ...............970-7328 Classified Ads.........................970-7130 Newsroom...............................970-7242 Vice President/Executive Editor Joe Butkiewicz ...............................970-7249 Asst. Managing Editor Anne Woelfel...................................970-7232 Sports Editor John Medeiros.................................970-7143 Editorial Page Editor Mark Jones .....................................970-7305 No chance seen for debt deal By MICHAEL A. MEMOLI Tribune Washington Bureau DON CAREY/THE TIMES LEADER BUILDING TRUST The Times Leader strives to correct errors, clarify stories and update them promptly. Corrections will appear in this spot. If you have information to help us correct an inaccuracy or cover an issue more thoroughly, call the newsroom at 829-7242. WASHINGTON -- The cochairs of the congressional debtreduction committee seemed doubtful on Sunday that the panel would reach a deficit-reduction accord by today. Republicans blamed Democrats for being unwilling to seriously revamp Medicare and the other health programs to reduce government spending. Democrats say Republicans refused to substantially break their anti-tax pledge, insisting on a deal that would preserve the George W. Bush-era tax breaks for the wealthy. Wednesday is the deadline for the through the weekend. If no deal is reached, the debtceiling-Calif., said on Fox that it would be "wimpy" to undo the so-called triggers. Police are investigating a fire that destroyed three recreational vehicles Sunday night at the John's Auto Body lot along Casey Avenue in Wilkes-Barre Township. It was the second time since Friday afternoon that firefighters were called to put out burning vehicles on the property. A camper was set on fire Friday and spread, destroying a total of nine vehicles, said township fire chief John Yuknavich. Juveniles were reportedly seen running from the area of the Friday fire, he said. Taylor Swift wins 3 trophies at AMAs By DERRIK J. LANG AP Entertainment Writer LOS ANGELES -- Taylor Swift was crowned artist of the year at the American Music Awards for a second time. "This is so crazy!" the country superstar said after tro- phyhop. +(ISSN No. 0896-4084) USPS 499-710 Issue No. 2011-325 CMYK THE TIMES LEADER NEWS HAZLE TWP. IN BRIEF Manager shot in robbery convenience store manager twice gun A shotSundaywith a BBwhenandwas robbed morning she Celebrating 10 years of hidden treasures Sixth Street Flea Market, West Wyoming, offers items from tools to trains. BUY OR SELL ... The Sixth Street Flea Market, West Wyoming, is an indoor and outdoor flea market open from 8 a.m. to 4 p.m. Sundays. To be a vendor, call Joe Bagnato, manager, at 466-6533. By EILEEN GODIN Times Leader Correspondent LOCAL door spots. Prices to rent a spot start at $60. "There is anything and everything at the Sixth Street Flea Market," said manager Joe Bagnato. "You just have to come in and look." Inside the warehouses, vendors offer a variety of items to look through, everything from tools and antiques to collectible rock 'n roll paraphernalia, valuable M.I. Hummels, books, baseball cards, and model trains. "Merchandise changes every week," Bagnato said. The draw to flea markets has seen a slight resurgence during timesleader.com MONDAY, NOVEMBER 21, 2011 PAGE 3A was about to make a deposit at the PNC Bank on Susquehanna Boulevard, state police said. State police provided the following account of the robbery: The masked suspect, believed to be a white male wearing jeans and a hooded sweatshirt with GAP across the chest, approached the manager of the Turkey Hill on state Route 93 and Airport Road around 10 a.m., shot her in the face and demanded the money. The manager went to the ground. The suspect took the deposit, shot her in the back of the head and fled to an adjacent storage unit business where he had parked a white sport utility vehicle, possibly a four-door Dodge. The manager pursued the suspect but he was able to drive around her and flee north on state Route 93. She lost sight of him at the Laurel Mall. Anyone with information about the robbery is asked to Trooper Kenneth J. Houck Jr. of the Hazleton barracks at 570 459-3890. WEST WYOMING - Celebrating its 10th year in business, the Sixth Street Flea Market can offer treasures and collectibles galore along with those hard-tofind items. Chris Dunn, of Indianapolis, Ind., happily found a flame deflector for a gas stove. He said he was looking for one around his area but came up empty. While visiting the area, he stopped in and found it. "The flea market has a nice selection," Dunn said. The Sixth Street Flea Market, owned by Zurenda Realty of Wyoming, offers 98 vendor spots indoors and about 35 out- BILL TARUTIS/FOR THE TIMES LEADER Jonathan Barry, 13, left, and his dad John, both of Nanticoke, look over items at the Sixth Street Flea Market, Sunday. the tough economy as customers look to stretch their dollars further. Bagnato said customers are more frugal and vendors are looking to make a sale. Bagnato's wife, Erica, has had a stand since the beginning. On average, she can earn about $200 a week, sometimes more. Her secret to success is to carry a variety of high- and low-priced items. Vendor Carl Stein, of Forty Fort, has been trying to downsize and sell off some items for five years. He said he has some regular customers. Stein shares a spot with Nancy Castano, a licensed baker, from Inkerman. Castano's business, Favors `n Flavors, offering fresh cakes, breads and sweets, has developed a customer base and even takes orders. "I have made wedding cakes, too," she said. Tucked in the corner of the second building, Liz and Rich's Caf� is prepared to offer a warm breakfast or lunch. Rich Garmize, Harding, and his girlfriend, Liz Pilch, prepare their dishes fresh weekly. Their speciality, fruity French toast, has created its own following with patrons coming in for Sunday breakfast. WEST PITTSTON Police and Mayor Tony Denisco advised residents to lock and secure their homes that are unoccupied and undergoing renovations from the September flooding. "We've been having a rash of attempted break-ins and a few homes have been entered in the flood area mostly," said Denisco on Sunday. Anyone who wants to make a report to police of anything suspicious or of an incident is asked to contact 911. Police are on patrol and might not receive a report in a timely manner if the call is made to the borough building. PLAINS TWP. Advisory to lock homes Forty Fort joins Wyoming in annual Santa Parade Spending up, but no tax hike for Lake Township The proposed budget total is $496,274, which is $11,974 more than 2011. By EILEEN GODIN Times Leader Correspondent The Domestic Violence Service Center is hosting a "Girls Night Out" on Dec. 1 from 6-9 p.m. at the River Street Jazz Caf� on River Street. The event will feature local businesses selling their products. Among vendors will be: Silpada jewelry; J. Sacavage Studios Photography and Glass Art; Designs by Wisteria; and Pink Papaya spa products. There will be a complimentary buffet and entertainment by local artists Karl Kleist and Tyler Mariano. Tickets can be purchased in advance for $8 by contacting Nina C. Dei Tos at 570 823-6799 ext. 221 or at the door for $10. NEWPORT TWP. `Girls Night Out' planned DON CAREY/THE TIMES LEADER Santa waves to the children at the Santa Parade in Wyoming and Forty Fort Sunday. A warm welcome The Newport Township Police Department announced seat-belt enforcement activities as part of a statewide wave through Dec. 4. Drivers stopped for traffic violations will receive an additional citation for not wearing their seat belt. There will be a Zero Tolerance policy in effect for this program. MARSHALLS CREEK Seat-belts will be enforced By CAMILLE FIOTI Times Leader Correspondent Authorities say a man died in a fire early Sunday morning in a cabin in eastern Pennsylvania. Officials in Monroe County say the cabin was engulfed in flames when firefighters arrived after they were called to Pocono Heights just after 2 a.m. Sunday. The cabin burned to the ground. Officials say the coroner was called at about 5 a.m. Sunday after crews found the body of the victim, who was in his late 40s. The victim has not yet been identified. The fire marshal is investigating the cause of the blaze. Man dies in cabin fire WYOMING -- Dressed in Elmo Christmas pajamas, 18-month-old Zachary Stone of Wyoming watched from the porch with his dad, Chris, 38, as nearly a dozen fire trucks from neighboring municipalities blared through the neighborhood Sunday. The mild weather was perfect for the Santa Parade, said Forty Fort mayor, Boyd Hoats. Although its neighbor, Wyoming, has held the parade for the past six years, this is the first year Forty Fort participated. The parade began at First Street in Wyoming and ended with a tree lighting ceremony at Forty Fort Park. The Marine Wing Support Squadron 472, the National Guard, council members from the two boroughs, and several floats, including a Nutcracker-themed King's College float, participated in the parade. Perched atop his dad's shoulders, 19month-old Michael Badman of Wyoming hopped excitedly as the Christmas train float glided along Wyoming Avenue. Looking down at his mom, Heather, 28, he pointed and squealed when he caught sight of Santa. DON CAREY/THE TIMES LEADER Krista Sadowski, 5, left, waves to Santa as her sister Kaitlyn, 3, waves and sticks a finger in her ear to block out the siren from the fire trucks. Thefamilyhadbeentakingaleisurely afternoon stroll when the parade rolled down the avenue. "We didn't even know what was going on until we heard the sirens," said dad Kevin, 28. "We reached out to our neighbors in Forty Fort and hope to make this West Side Parade a tradition every year," said Wyoming Mayor Robert Boyer. Wyoming will hold its tree lighting ceremony Saturday at dusk in Butler Park. LAKE TOWNSHIP -- Lake Township's proposed budget for 2012 will see a small increase in spending, but the tax rate will remain the same. The millage rate will remain at .322, marking the 36th year the municipality did not raise the rate. A mill is $1for every $1,000 assessed tax value. The earned income tax rate will stay at 1 percent and the per capita tax will be $5. Theproposedbudgettotalis$496,274whichis $11,974 more than what was spent in 2011. Duetothisyear'sstorms,LakeTownship's2011 spending reached $484,300, which was $6,821 over what was initially planned. This does not mean the municipality was operating in the red. The expenses were balanced by income. In fact, the proposed budget predicts a carryoverfromthisyearof$91,200.In2011,themunicipality started the year with a $92,303 surplus from 2010. Carlene Price, township secretary and treasurer, said one large expense increase in 2012 will be $20,000 in loan payments for a new one-ton Dodge dump truck purchased in 2011. Due to numerous winter storms, the municipality used up its supply of road salt and anti-skid material. Under the proposed budget, $14,000 is planned for snow and ice removal, an increase of $5,462. "There is an increase in the cost of trucking the material to us and our stock pile was used up due to the winter storms last year," Price said. Under the proposed budget, the township is planningtospend$4,000toupdatestreetsignsto be in compliance with a state mandate which requires signs to have larger letters so emergency personnel can see them better, Chairman Lonnie Piatt said. Areas such as fuel, vehicle maintenance and road resurfacing have all seen a slight increase. The municipality will see a small increase of $1,000initsliquidfuelsincome.Liquidfuelsfunding is given by the state based on the mileage of roads and population within the municipality, Price said. Price said the total amount of liquid fuels funding will be $81,000. ACommunityDevelopmentgrantof$100,000, whichwillbeusedforroadrepairs,isalsoplanned for 2012 . Theproposedbudgetisavailableinthemunicipalbuildingforpublicreviewduringregularoffice hours.Supervisorswillvoteontheproposed2012 budgetduringtheirnextmeeting,scheduledfor7 p.m. on Dec.14 in the township building. The Tim berl and P R O � TiTA N � . � Soft Full Grain Leather Upper � Electrical Hazard Protection � Oil And Slip Resistant Outsole � 30 Day Comforts Guarantee "LIGHTWEIGHT PROTECTION FOR A HEAVY DUTY WORLD" Sizes and Widths Mens Medium & Wide 7-15 Some styles are availabe in XW widths & sizes up to 17 Mens � 6" Soft Toe � 6" Steel Toe � 6" Composite Toe � 6" Steel Toe Waterproof � 8" Steel Toe Waterproof � 6" Womens Steel Toe Or do you want to contribute to the insurance company's CEO bonus? Got Insurance? Use it before the end of the year at CARPENTER DENTAL Carpenter Dental P EN N LEE FO O TW EA R EN LEE FO TW EA 161- 163 E.M AI ST.( M i ers M il Secti n ) o f W I K ES- BAR R E N n ls o L OPEN M ON DA Y TO FRI DA Y 9-8 � SA T .9-5 � SUN .12-5 � 825-5346 1086 Wyoming Avenue, Forty Fort 570-331-0909 Dr. Charles M. Carpenter Dr. Chas M. Carpenter CMYK PAGE 4A MONDAY, NOVEMBER 21, 2011 THE TIMES LEADER WE WILL BEAT ANY COMPETITORS PRICE ON A NEW KIA GUARANTEED OR WE WILL PAY YOU $1,000*** 2012 KIA RIO LX 5dr Automatic THE ALL NEW RATES AS LOW AS 1.9% ONLY $14,990* *Plus tax and tag. UP TO $5,000 OFF A NEW KIA! MPG 35 2012 KIA Soul ONLY $ 169 Per Month1 Locks MPG 32 2012 KIA Sorento ONLY $ or buy for $23,990** 249 Per Month1 #K2010 MPG 40 2011 KIA Optima Hybrid $ ONLY or buy for $25,490** 229 Per Month1 # K1429 MPG 37 2012 KIA Forte EX ONLY $ 159 Per Month1 Our shelves are restocked! We have the cars and we have the deals! COME IN TODAY! NO CREDIT APPLICATION WILL BE REFUSED. 560 Pierce Street Kingston, PA 18704 570-714-9924 Wyoming Valley Motors Find the car you want to buy from your mobile device! SCAN HERE > The Kia 10-year/100,000-mile warranty program includes various warranties and roadside assistance. Warranties include power train and basic. All warranties and roadside assistance are limited. See retailer for details or go to kia.com. *24-hour Roadside Assistance is a service plan provided by Kia Motors America, Inc. **All rebates applied, plus tax and tag. Picture may not represent exact trim level. Plus tax & tag, 12k miles per year with 1,500 down & fees due at signing. Payments based on a 39 month lease with approved credit. *** Must be a documented deal. Dealer reserves right to buy that vehicle. K THE TIMES LEADER N A T I O N & W O R L D MONDAY, NOVEMBER 21, 2011 PAGE 5A I N B R I E F Gadhafi son to be tried in Libya Libya announced the capture of the toppled regime's intelligence minister, also wanted by the court. By RAMI AL-SHAHEIBI and HADEEL AL-SHALCHI Associated Press AP PHOTO Getting ready for the big day Penned turkeys seen at a poultry farm on Sunday, in Evans City, Pa. According to the farmer, these birds will be sold for the upcoming holiday season. SAN FRANCISCO ZINTAN, Libya -- AP PHOTO Seif al-Islam Gadhafi makes remarks while in captivity in Zintan, Libya, Sunday. try both men at home. Speaking earlier in the day, before alSen said. . Al-Senoussi, Gadhafi's brother-inlaw, was also one of six Libyans convicted in absentia and sentenced to life in prison in France for the 1989 bombing of a French passenger jet over Niger that killed all 170 people on board. ICC spokesman Fadi El Abdallah said Sunday that Libya would have to convincingly lay out its arguments in what is called a "challenge of admissibility" if it wanted to try the two men at home instead of sending them to The Hague court. Pepper spray cops on leave Protesters attacked, tents torched just eight days before elections. Defectors claim credit for rocket attack on office of president's Baath party. By HANNAH ALLAM McClatchy Newspapers Uprising in Syria reaches capital Wall Street financier dies. He was the senior founding partner of the investment firm Forstmann Little & Co. Forstmann Little, which was founded in 1978, completed leveraged buyouts of companies including Dr. Pepper, Yankee Candle, the cable TV technology company General Instrument and Community Health Systems. AP PHOTO NEW YORK Egyptian riot police are seen on the move during clashes with protesters in Tahrir Square in Cairo, Egypt, Sunday. Egypt may see another revolt By HANNAH ALLAM and MOHANNAD SABRY McClatchy Newspapers Driver passed sobriety test Police say a Yale student who was driving a U-Haul that fatally struck a tailgater at the Harvard-Yale game passed a sobriety test and has not been charged in connection with the death, though the investigation is continuing. New Haven police say Brendan Ross was driving the truck carrying beer kegs Saturday morning when it accelerated after making a turn in a parking area where people were tailgating. Thirty-year-old Nancy Barry of Salem, Mass., was killed. Two other women were injured. Thirty-one-year-old Yale student Sarah Short of New Haven remained hospitalized Sunday, and 23-year-old Harvard employee Elizabeth Dernbach, originally of Naples, Fla., was treated and released. MADRID NEW HAVEN, CONN. Tahrir Square, the nerve center of the revolt that brought down President Hosni Mubarak and left the military in charge of Egypt. Clashes and civil disobedience continued in Alexandria, Suez and other big cities as protesters expressed their solidarity with the capital. By nightfall, three people were dead, hundreds were wounded, fires burned in the square, and Egyptians worried that the violence would force a delay in par- liamentary elections and leave the rul- ment reiterating its commitment to ing military council in power even long- holding elections on time, even as one of its members, Culture Minister Emad er. Abu Ghazi, resigned in proCaretaker Prime Minister test of the military's tactics. Essam Sharaf and the SuProtesters were furious that preme Council of the Armed "We won't acthe Cabinet also announced Forces met for crisis talks, cept any calls its support of the interior but one of the senior generministry, which oversees the als said there would be no to postpone riot police, the main force delay of elections set to be- elections.'' battling protesters. gin Nov. 28. Gen. Mohsen el At dusk Sunday, military "We won't accept any calls Fangary police stormed into the to postpone elections and square and cleared it within we affirm that that the armed forces and the police are capable minutes, beating protesters and destroyof securing the process and leading ing their tents. The operation was broadEgypt through this ditch we're stuck in," cast live on television. Then the forces Gen. Mohsen el Fangary said on Haya, pulled back, and the protesters returned. A handful of political groups suspendan Egyptian cable channel. "If everything moves forward in a proper manner, ed their election campaigns in solidarity and without the chaos and division in with the demonstrators. Egypt's first fethe political street, the armed forces will male presidential candidate, Bouthaina be back to their barracks before 2012." Kamel, was briefly arrested in the fightThe caretaker Cabinet issued a state- ing, her family said in online posts. More police departments look to tune public out D.C. police became one of the latest departments to adopt encryption. By ERIC TUCKER Associated Press Conservatives are elected Spain's opposition conservatives swept commandingly into power and into the hot seat Sunday as voters enduring a 21.5 percent jobless rate and stagnant economy dumped the Socialists -- the third time in as many weeks Europe's debt crisis has claimed a government. With 90 percent of the votes from the election counted, the center-right PP won 186 seats compared to 154 in the last legislature, while the Socialists plummeted from 169 to 110, their worst performance ever. The PP, with leader and future prime minister Mariano Rajoy, thus won an absolute majority and resounding mandate from the troubled electorate. It needed 176 votes for such a majority. WASHINGTON -- Police departments around the country are moving to shield their radio communications from the public as cheap, userfriendly crim- AP PHOTO Scanner hobbyist Rick Hansen holds his scanner/Ham radio device at his home Saturday, in Silver Spring, Md. inals -- to listen to police communications on a smartphone from anywhere," Lanier testified at a D.C. Council committee hearing this month. "When a potential criminal can evade capture and learn, `There's an app for that,' it's time to change our practices." Rocket-propelled grenades reportedly struck a Damascus office of Syrian President Bashar Assad's Baath Party before dawn Sunday in the first attack of its kind in the capital since an antigovernment uprising began last spring. Few details were available on the unusually brazen attack, responsibility for mass uprisings against autocratic regimes. The Free Syrian Army also claimed to have killed or wounded about 20 soldiers and regime loyalists in a string of attacks on checkpoints in a Damascus suburb this weekend. None of the claims could be independently verified; state media had not reported on any attacks activists' statements, witnesses reached by phone and. CMYK PAGE 6A MONDAY, NOVEMBER 21, 2011 N E W S THE TIMES LEADER Meals, friendship on the menu Volunteers will serve up Thanksgiving dinner for flood victims in West Pittston. By EILEEN GODIN Times Leader Correspondent A vine opportunity for some wine tasting Pennsylvania Wine & Food Festival concludes today at Genetti's in Wilkes-Barre. By STEVEN FONDO Times Leader Correspondent 288-8995 � Forty Fort $$$$$$$$$$$$$$$$$$$$$$$$$ Holiday Portraits Call NOW for the BEST TIME (570) 824-0906 SHOP LOCAL! BUY HANDMADE! jewelry � pottery accessories � handbags s unique one of a kind gifts earth and wears 68 Main St., Dallas 18612 � 690-6399 NOW OPEN 7 DAYS A WEEK! 3 ROOMS $589 PLUSH CARPET Based On 40 Sq. Yds. � INSTALLED WITH PAD � FREE ESTIMATES MARKET ST., NANTICOKE ELLISON CARPET Call (570) 436-1500 6 8 7 M em o r l Hw y., D a lla s ia 570-675-3003 EQ UIPM EN T Dear Santa, All I want for Christmas is a new pair of UGG's 721401 158 Memorial Hwy. Shavertown 1.800.49.SHOES 721682 VITO & GINO 322 N. PENN A VE. W -B 718105 Highest Prices Paid In Cash. Free Pickup. Call Anytime. ALL JUNK CARS & TRUCKS WANTED $$$$$$$$$$$$$$$$$$$$$$$$ WEST PITTSTON � Serving up a homemade Thanksgiving dinner with sides of friendship and camaraderie is the menu for a free dinner to help area flood victims. As hundreds of area homeowners are still trying to clean up and repair their flood-ravaged homes, a church in western Pennsylvania, The Hope Mission DuBois Inc., in DuBois, will offer them an opportunity to relax and enjoy a free home cooked traditional holiday meal. The dinner will be held from noon to 4 p.m. on Thursday in Fellowship Hall of The Christian and Missionary Alliance Church, 317 Luzerne Ave., West Pittston. The menu will include turkey, stuffing, potatoes, vegetables and fresh-made pies. "Everything will be made from scratch," said Lena Ogershock, event organizer and church member. "We have a team of volunteers preparing the food." Ogershock said the plan is to prepare enough food to provide 150 dinners. Pastor Don Strope of the Christian and Missionary Alliance Church said the free dinner is open to residents in all area communities whose homes were flooded. Ogershock and her husband, Dave, were inspired to do more than volunteer to help clean out homes. Soon after the Susquehanna retreated back into its river bed, the Ogershocks traveled three hours to volunteer with their church group. The couple was shocked to see the damage BILL TARUTIS/FOR THE TIMES LEADER Ron Lindahl of DuBois, right, and Josh Ellison of Philadelphia work with drywall at a home in West Pittston on Saturday as part of a flood recovery assistance program coordinated by the Christian and Missionary Alliance Church of West Pittston. firsthand. "I just could imagine what the families are going through," Ogershock said. Strope said he has seen weekly groups of volunteers coming in every Saturday from the Clearfield County Community Churches, and this is another, appreciated effort. "We received about 10 to almost 60 volunteers from the churches in Clearfield County every Saturday," he said. "They have shown a lot of compassion." Ogershock said as a member of The Hope Mission DuBois, they believe the word HOPE I F YO U G O A free Thanksgiving Dinner, for flood affected families, will be held from noon to 4 p.m. on Thursday in Fellowship Hall in The Christian and Missionary Alliance Church, 317 Luzerne Ave., West Pittston. Call 6542500 to register or for more information. stands for "Helping Other People Everywhere". "Whether it is in the Dominic Republic or in Pennsylvania, we want to show God's love and give people hope," she said. WILKES-BARRE -- The fruit of the vine was flowing in colors of red, tawny and white at the Pennsylvania International Wine & Food Festival being held through today at Genetti's. The event was scheduled to coincide with the first tasting of the Beaujolais Nouveau in France, a customary French holiday which celebrates the full rich red wine of the Beaujolais region. "This particular festival is different from many of the other local wine events because we're featuring international wines and spirits," said event organizer Thom Greco. "Other festivals were tasting Pennsylvania wines exclusively. With international wines from countries like Italy, Spain and France, we can give people a variety of wines which will pair well with the food we're serving this weekend." Greco said the thought behind the event was to showcase local restaurants and chefs and allow them to present their particular specialties to a willing audience in pairing with a selected wine offering. Event sponsor Southern Wine Distributors supplied a wide selection of wines, which featured Pinot Noir, Riesling, Chardonnay, Merlot and Cabernet Sauvignon, as well as vodkas from countries like Poland and Sweden. "It's a win-win situation," said Greco. "They supply the wines DON CAREY/THE TIMES LEADER Norman Tarantino serves Pat Zaborsky some risotto with vodka sauce during the Pennsylvania International Wine & Food Festival. for our event and get to showcase their product to prospective customers. It's amazing how people in the area respond to these types of events." "We drove up from Berwick to taste the wines," said Chris and Shelly Hittle, as they enjoyed a glass of Merlot. "We always try to find something to do on the weekends and when we heard about this event on the radio, we decided to come." The two-day festival included cooking demonstrations from local chefs Shawn Jackson and Peter Adams as well as a guest appearance by Hell's Kitchen contestant and NEPA native Maria Torrisi. An array of pastas, risottos, arancini and sushimi were served at various stations throughout the ballroom and several standalone carving stations offered mouth-watering slices of perfectly roasted prime beef to the hungry wine-tasters. "Our passion is wine tasting," stated Monica Chupka of Shavertown, who came out with her friend Donna Pautak of WilkesBarre. "We have a small group of friends who generally meet from house to house, but it's nice to come to an event like this. It's exciting." The event continues today from 6-10 p.m. Tickets are $30 at the door or $20 in advance. Tickets are available at all Nardone's Gallery of Sound stores, at TicketSalesNow.com, and at Genetti's front desk $$$$$$$$$$$$$$$$$$$$$$$$$ K IN G T U T 'S 824-4150 Gateway Shopping Center � Edwardsville 570-288-1898 MATTRESS GUY CMYK THE TIMES LEADER. N E W S MONDAY, NOVEMBER 21, 2011 PAGE 7A PENN STATE Continued from Page 1A "This is the first time I can recall ever seeing a decline of sales right out of the box," said Matt Powell, an analyst with industry research organization SportsOneSource Group. "I have never seen anything like this before. "But we've never seen a scandal quite like this before." Former football defensive coordinator Jerry Sandusky stands accused of sexually abusing eight boys, some on campus, over 15 years.. In addition to the ongoing criminal investigation, Penn State and the NCAA have started their own reviews and the U.S. Department of Education is examining whether Penn State violated federal law by failing to report incidents of sexual abuse on campus. "We've never seen anything O U R 3 2 N D Y E A R HELP THOSE IN NEED CELEBRATE THIS THANKSGIVING CEO -- the People Helping People Organization -- and the Weinberg Food Bank are conducting the 32nd Annual Thanksgiving Food Project to feed hungry local families, seniors on fixed incomes, the working poor...and children. OUR SPONSORS: IF YOU WANT TO HELP Donate Online: Please mail check payable to `CEO Thanksgiving Project' to: IF YOU NEED HELP 89 Second Street, Plains, PA (across from Mohegan Sun & SPCA) Wyoming Valley Food Distribution: Dates & Times: Families of 2 or less November 19 & 20, 10am-4pm Register by phone: 825-0968 or 208-7017 or at CEO's office: 165 Amber Ln, Wilkes-Barre Monday-Friday, 9:00-5:00 Donate by Mail: CEO Thanksgiving Project P.O. Box 1127, Wilkes-Barre, PA 18703-1127 $100 donation feeds 4 families $50 donation feeds 2 families $35 donation feeds 1 family Proof of residency and ID for all household members is required. Flood Victims should provide their FEMA number. W W W.G I V E F O O D.O RG 723937 For more information and updates on volunteer opportunities, send your email address and mobile number to: ceo@sunlink.net and receive our e-newsletter & text updates. 720317 K PAGE 8A MONDAY, NOVEMBER 21, 2011 November 18, 2011 O B I T U A R I E S THE TIMES LEADER SHARON BARLOW, 59, of West Pittston, passed away Sunday, November 20, 2011, at the WilkesBarre General Hospital. Funeral arrangements are pending from Kiesinger Funeral Services, 255 McAlpine St., Duryea. ANTHONY J. "TONY" MORIO SR, 68, of First Street, Hanover Township, passed away on Saturday, November 12, 2011, while vacationing with friends. Funeral arrangements are pending from the George A. Strish Inc. Funeral Home, 105 N. Main St., Ashley. CHARLOTTE BANTA TONKIN, age 80, of Orange, died Sunday, November 20, 2011 at the Lakeside Nursing Center, Dallas. A full obituary will appear in Tuesday's edition. Arrangements have been entrusted to the Harold C. Snowdon Funeral Home, Inc., 140 N. Main Street, Shavertown, PA 18708. SANDRA ZAGATA, 62, of West Ridge Street, Nanticoke, passed away at her home on November19, 2011. Born October 12, 1949, in Nanticoke, she was the daughter of the late Harold and Mildred Kile Wilson. She was preceded in death by her brother George Wilson. Surviving are her sons, Christian Zagata and his wife Suzanna, Shickshinny, and Gregg Zagata and his friend Deanna, Nanticoke; grandchildren, Christian Zagata Jr. and friend Tricia; Brandon Zagata; great-granddaughter Serenity Zagata; sisters, Carol Parkinson, Nancy Royer and Joyce O'Donnell; close friend Edmund Orloski, Nanticoke, and stepfather Clark Diehl. Funeral services will be held Tuesday, November 22, 2011, at 8:30 p.m. from the Clarke Piatt Funeral Home Inc., 6 Sunset Lake Road, Hunlock Creek, with the Rev. Terry Hughes officiating. Friends may call on Tuesday from 7 p.m to time of service. JOSEPH SOFA, formerly of Wilkes-Barre Township, died Sunday, November 20, 2011, at the home of his son in Bernville, Pa. Funeral arrangements will be announced by the Jendrzejewski Funeral Home, Wilkes-Barre. MERLE B. BAKER of WilkesBarre passed away Sunday, November 20, 2011, at his home following a lengthy illness. Funeral arrangements will be announced by the H. Merritt Hughes Funeral Home Inc., 451 N. Main St., Wilkes-Barre. Mrs. Lillian M. (Krukowski) Jutkiewicz M. (Krukowski) JutM rs. Lillian87, of Hudson Road, kiewicz, Josephine M. Hessler November 19, 2011 osephine M. 88, of Jthe Highland Hessler,NursingWest Wyoming, passed away Saturday in Manor and Leonard Sulzinski November 19, 2011 r. Leonard J. Sulzinski, 91 of the North End section of Wilkes-Barre, passed into Eternal Life early Saturday morning in the Green Ridge Health Care Center, Boulevard Avenue, Scranton, following a lingering illness. Born November 7,1920, in Exeter, he was the son of the late Michael and Frances (Pietruszewski) Sulzinski. Educated in the city schools, he was a graduate of the James M. Coughlin High School, Wilkes-Barre. He was a lifelong member of Saint Andre Bessette Parish Community of North Wilkes-Barre, having previously attended the former Sacred Heart of Jesus Roman Catholic Church. He was previously employed for many years as a mine foreman at the former Dorrance Colliery, and by the former B.F. Goodrich Company of Exeter. Until his retirement, he served the City of Wilkes-Barre as a Health Inspector for several years. He was preceded in death by his wife of 60 years, the former Marie A. (Gdovin) Sulzinski, who passed on February 24, 2008, and by daughters, Marie Hergert and Regina Bria, as well as a sister, Alice Daniels. Surviving are his daughter, Mrs. Barbara Lowe and her husband Gary of Wilkes-Barre; son Dr. Michael A. Sulzinski and his wife Kim of Scranton; seven grandchildren; one great-grandchild; his sister, Mrs. Helen George of Shavertown, several nieces and nephews. Funeral services for Mr. Sulzinski will be conducted at 11 a.m. Wednesday from the John V. Morris Funeral Home, 625 North Main Street, North WilkesBarre, followed by a Funeral Mass at 11:30 a.m. in the Saint Stanislaus Kostka worship site of Saint Andre Bessette Parish with the Reverend Kenneth M. Seegar, pastor, officiating. Interment will be in Sacred Heart of Jesus Roman Catholic Cemetery, Dorchester Drive, Dallas. Relatives and friends may join the Sulzinski family for visitation and remembrances Tuesday from 5 to 8 p.m. and Wednesday from 10 a.m. until the time of services. In lieu of floral tributes, memorial contributions may be made in Mr. Sulzinski's name to the Wyoming Valley Children's Association, 1133 Wyoming Avenue, Forty Fort, PA 18704. To send his family online words of comfort and support, please visit our family's website at. M Plains Township, passed into Eternal Life Friday night in the Inpatient Unit of Hospice Community Care at Geisinger South Wilkes-Barre. Born April 1, 1924, in WilkesBarre, she was the daughter of the late John and Anna (Okrasinski) Krukowski. She was educated in the city schools, and was a member of the 1942 graduating class of the James M. Coughlin High School. Until her retirement, Mrs. Jutkiewicz worked as a shop steward in the local garment industry. Prior to that, she worked for the Carter Footwear Company and the local cigar industry. Mrs. Jutkiewicz was a member of Saint Andre Bessette Parish Community. She is remembered by family and friends as being a loving, devoted mother and grandmother to her family. She was preceded in death by an infant daughter, Joann and by a sister, Mrs. Helen Petro. Surviving are sons, Mr. John A. (Jack) Jutkiewicz of Fairlawn, N.J. and Mr. Daniel J. Jutkiewicz, and his wife Susan, of Kearney, N.J.; daughter Mrs. Ann Marie Chirco and her husband Thomas, at home; grandchildren, including Thomas Chirco III and Jessica Jutkiewicz; brothers and sisters, Raymond Krukowski of Nanticoke, Joseph Krukowski of Kendall Park, N.J, Lucy Sciandra of Pittston and Theresa Petruska of North Wilkes-Barre; numerous nieces and nephews. Funeral services for Mrs. Jutkiewicz will be conducted on Tuesday at 12:30 p.m. from the John V. Morris Funeral Home, 625 North Main Street, North Wilkes-Barre, followed by a Funeral Mass at 1 p.m. in Saint Stanislaus Kostka worship site of Saint Andre Bessette Parish, with Mrs. Jutkiewicz's great-nephew, the Reverend Thomas J. Petro, pastor of Ss. Peter and Paul Roman Catholic Church, Towanda, officiating. Interment will be in Ss. Peter and Paul Roman Catholic Cemetery, Cemetery Street, Plains Township. Relatives and friends may call today from 6 to 9 p.m. at the funeral home. To send Mrs. Jutkiewicz's family online words of comfort, please visit our website at. Convalescent Center, Exeter. Born in Kingston, she was the daughter of the late Joseph and Frances Ezerskis Orleski. She was a graduate of St. Cecilia's High School, formerly of Exeter. Josephine was a member of the Duryea Congregation of Jehovah's Witness, Duryea. Preceding her in death was her brother Alex Orleski. Surviving are her husband with whom she celebrated 65 years of marriage, Kenneth W. Jr; sons, Charles and his wife Emma, West Wyoming; Andrew, Tannersville; grandaughter Rebecca Ashenback and her husband Jon, Fort Pierce, Florida; great-grandchildren, Jacob and Jaden. A memorial service celebrating Josephine's life will be held Saturday, November 26, at 1:30 p.m. in the Duryea Congregation of Jehovah's Witness, 55 Foote Avenue, Duryea. Interment will be in the Wyoming Cemetery. There will be no calling hours. Memorial contributions may be made to the Duryea Congregation of Jehovah's Witness, 55 Foote Avenue, Duryea, PA 18642. Algard (Al) Maciun November 20, 2011 Algard (Al) Maciun, 91, of Ashley, passed away on Sunday, November 20, 2011, in the Hospice Community Care, Inpatient Unit, Geisinger South Wilkes-Barre, following an illness. Prior to his illness, he had been a resident of Tiffany Court, Kingston. He was born March 10, 1920, in Duryea, a son of the late Bolek and Margaret Maciun. He received his education in the Duryea School District. Mr. Maciun was a U.S. Navy veteran, serving in the Mediterranean and Pacific aboard the U.S.S. Massachusetts battleship during World War II. The Massachusetts was involved in 11 battles, including Casablanca, Truk, Leyete Gulf, Okinawa and Iwo Jima. He was employed by Ma's Old Fashion Soda as a truck driver until his retirement. He also owned and managed Pollock's Caf�, Ashley. Mr. Maciun was a member of St. Leo's/Holy Rosary Church, Ashley. He was a member of the Catholic War Veterans Post # 274, Hanover Township, American Legion Post # 673, Ashley; and the International Brotherhood of Teamsters. He was also an active member of the Ashley Sportsman Club. He was preceded in death by his wife, Agnes (Babe) Maciun and by his brother, Leonard Maciun. Mr. Maciun is survived by his son, Thomas Maciun and his wife, Peggy, Ashley; daughters, Margaret Perkins and her husband, Michael, Shavertown; Marianne Zoranski and her husband, Frank, Hanover Township; grandchildren, Michelle Reilly, Megan Balara, Melissa Liebner, Stephen Zoranski, Allison Zoranski; great-grandchildren, Liam Reilly, Violet Balara; brother, John Machun, San Rafael, California. Military funeral services will be held on Wednesday at 9 a.m. from the George A. Strish Inc. Funeral Home, 105 N. Main St., Ashley. A Mass of Christian Burial is at 9:30 a.m. in St. Nicholas R.C. Church, 226 South Washington St., Wilkes-Barre. Interment is in St. Mary's Cemetery, Hanover Township. Family and friends may call on Tuesday from 6 to 8 p.m. and on Wednesday from 8 to 9 a.m. Louise M. Just November 18, 2011 76, of Dupont, passed away peacefully L ouise M. Just, in HospiceFriday, November 18, 2011 Com- David J. Nilles November 18, 2011 by his family at Geisinger Medical Center, Danville, after a brief illness. David was a loving husband, son, brother, uncle, stepfather and step grandfather to his family and will be deeply missed by all whose lives he touched in his journey through life. He was born in Hazleton, son of the late Emily (Steber) Nilles and Robert Nilles of Hazleton. David was employed in a grocery manager position for the past 30 years. He was a member of the Diamond Fire Company #2, Hazleton, and the Undine Fire Co., Belfonte, the Six County Firemans Association, from which he received their Valor Award in 1991 He is survived, in addition to his father, by his wife, the former Melissa Sherman, stepchildren, Brianna Bair and her fiance, Todd Lidgett, Philipsburg; Ashley Bair and his wife Lyndsie Howard, Pa.; his sisters and brother, Michele Holincheck and her husband Michael, Hazleton; Marisa Jemo and her husband Michael, Algonquin, Ill.; John Nilles, Hazleton; two stepgrandchildren, Ashlynn and Carly Bair and several nieces and nephews. Friends and relatives are invited to attend the Mass of Christian Burial on Tuesday at 11 a.m. at the Parish of Ss. Cyril & Methodius at the Church of St. Joseph, 6th and Laurel streets, Hazleton. Interment will be at the convenience of the family. The family will receive friends and relatives at the church from 10:30 to 11 a.m. prior to services. Arrangements are under the direction of the Frank J. Bonin Funeral Home Inc. Nilles, lege, Hazleton, D avid J.formerly47,ofof State Coldied Friday morning surrounded munity Care, Dunmore, following a prolonged illness. Born in Pittston on August 22, 1935, she was the daughter of the late Louis and Mary McQueen Abate. She was a graduate of Pittston High School, class of 1952. She was a member of Our Lady of Mount Carmel Church, Pittston. She had worked as a seamstress in the local garment industry and was a member of the ILGWU. She was a loving wife, mother, grandmother and great-grandmother who loved being around all animals, especially dogs. She was preceded in death by her son, John Just, in 1993. Surviving are her husband, John L. Just; daughters, Denise Cross, Florida; Cheryl and her husband, John Faulkner, Florida; and Anna and her husband, Joe Joyce, Hughestown; grandchildren, Lawrence Cross; Christina Faulkner; John Faulkner; Alexandra Faulkner; Joe Joyce III; John Joyce; Brent Joyce; Kahli Joyce; and Aidan Joyce; greatgrandchildren, Annabel Joyce; Joseph Anthony Joyce; and Ava Maria TERROR Continued from Page 1A Cross; sisters, Pat Arnone, California and Janette Jones, New Jersey; nieces and nephews. A Mass of Christian Burial will be celebrated on Wednesday, November 23, 2011 at 9:30 a.m. in Our Lady of Mount Carmel Church, Pittston. The family will receive friends and relatives in the church from 8:30 a.m. until the time of Mass. Interment will be at the convenience of the family. Funeral arrangements are entrusted to the Peter J. Adonizio Funeral Home. Online condolences may be made at. Jennie T. Larson November 20, 2011 of J ennie T. Larson, 95, formerlyHathe Hanover Green section of nover Township, passed away SunDuszak; daughter-in-law, Sue Ann Bray Larson. Surviving are son Elwood and wife Joyce, Shavertown; daughter Evelyn and her husband Edward M. Evans, Hanover Township; grandchildren, Gwen Fay, Elwood Larson, Brett Larson, Edward M. Evans II and Jennifer Evans; stepgrandchildren, Cathy Stegman and Kimberly Zavrotny; eight great-grandchildren. Funeral will be held Wednesday at 8:45 a.m. from the Charles V. Sherbin Funeral Home, 630 Main Road, Hanover Green, Hanover Township. A Mass of Christian Burial will be at 9:30 a.m. in Our Lady of Hope Parish, 40 Park Avenue, Wilkes-Barre. The Reverend John S. Terry will officiate. Interment will be in the Hanover Green Cemetery, Hanover Township. Friends may call Tuesday from 5 to 8 p.m. at the funeral home. The family extends its deepest gratitude to the Golden Living Center - Summit staff for their care and kindness. Anna Kazukietas November 19, 2011 Kazukietas, 91, formerly of Spring Glen Lyon, A nnaaway Street,Saturday mornpassed early Joseph Harcharik. Nieces, Dolores Kotulak and Regina Engdaho. Surviving are nieces and nephews, great-great nieces and greatgreat nephews. Funeral services for Anna will be held on Wednesday at 10:30 a.m. from the George A. Strish Inc. Funeral Home, 211 West Main Street, Glen Lyon. A Mass of Christian Burial will be held at 11 a.m. in Holy Spirit Parish/ St. Adalbert's Church, Market Street, Glen Lyon. Interment will be held in St. John the Baptist Cemetery, Glen Lyon. Family and friends may call on Wednesday from 9:30 a.m. until time of service at 10:30 a.m. ing at Birchwood Nursing and Rehabilitation Center, Nanticoke. Anna was born in Glen Lyon, on April 19, 1920. She was the daughter of the late John and Anna (Harakal) Harcharik. Anna was a graduate of Newport Township High School, Class of 1938. She was employed by Daro Blouse Manufacturing, retiring in 1968. Anna was preceded in death by her husband, William Kazukietas; sisters, Mary Kotulak, Bertha Gavrish, Emma Harcharik; brothers, Stephen, John, Albert, Edward and day, November 20, 2011 at the Golden Living Center-Summit, WilkesBarre. She was born March 11, 1916, in Hanover Township, and was the daughter of the late Joseph and Stella Niezwiecki Duszak. Jennie was employed in the local garment industry and was a member of the Amalgamated Golden Age Club. She was a member of Our Lady of Hope Parish, Wilkes-Barre and former member of the St. Joseph's Monastery and its Altar and Rosary Society, Wilkes-Barre Township. She was a wonderful and caring mother and grandmother who enjoyed baking, trips to Atlantic City and was an avid Phillies, Eagles and Hanover Area sports fan. Saying good-bye to a dear mother is never easy, but we take comfort in knowing that memories last forever. She was preceded in death by her husband, Elwood; brothers, Frank, John, Stanley, Joseph and Edward Jean D. Kessler FUNERALS BROSKOSKE � Ronald, funeral services noon today in the Stanley S. Stegura Funeral Home Inc., 614 S. Hanover St., Nanticoke. Divine Liturgy at 12:30 p.m. at Transfiguration of Our Lord Ukrainian Catholic Church, Hanover Section of Nanticoke. GIRVAN � Frank, funeral 9 a.m. today in the Hugh P. Boyle & Son Funeral Home Inc., 416 Wyoming Ave., Kingston. Mass of Christian Burial at 9:30 a.m. in St. Ann's Chapel, Kingston. GLESS � Dale, memorial service 3:30 p.m. Saturday in the Richard H. Disque Funeral Home, Inc., 672 Memorial Highway, Dallas. Friends may call 2 to 3:30 p.m. Another memorial service will be held in Ohio at a later date. JONES � Patricia, funeral, 11a.m. Tuesday in the Nulton Funeral Home Inc., 5749 SR 309, Beaumont. Friends may call Tuesday 10 a.m. until time of service. KOBYLARSKI � Anthony, funeral services 11:30 a.m. today in the Jendrzejewski Funeral Home, 21 North Meade Street, WilkesBarre. Mass of Christian Burial at noon in Our Lady of Hope Parish, Wilkes-Barre. LIBENSON � Arnold, Shiva 2 to 4 and 7 to 9 p.m. today in the family residence, 126 Pollock Dr., Brooks Estates, Jenkins Township. MIKUSH � Elizabeth, Mass of Christian Burial 9 a.m. today in Our Lady of Hope Parish, 40 Park Ave., Wilkes-Barre MITCHNECK � David, Shiva 2 to 4 and 7 to 9 p.m., today and Tuesday at the home of his daughter, Lisa Grossman, 725 Hampton Road, Shavertown. STENCAVAGE � George Sr., funeral services with a Mass of Christian Burial noon Tuesday in Our Lady of Hope Parish, 40 Park Avenue, Wilkes-Barre. Friends may call one hour prior to the service at 11 a.m. STROH � Joseph, funeral services 9 a.m. today in the Kopicki Funeral Home, 263 Zerbey Ave., Kingston. Mass of Christian Burial at 9:30 a.m. in St. Ignatius Church, Kingston. SWEENEY � Mary, funeral services 9 a.m. today in the Nat & Gawlas Funeral Home, 89 Park Ave., Wilkes-Barre. Mass of Christian Burial at 9:30 a.m. in St. Andrew's Parish, Wilkes-Barre. THOMAS � Dorothy, funeral 10 a.m. Tuesday in the S.J.Grontkowski Funeral Home, 530 West Main Street, Plymouth. Mass of Christian Burial at 10:30 a.m. in All Saints Parish, Plymouth. Friends may call 2 to 4 and 7 to 9 p.m. today. ZELNOCK � Rita, funeral 8:30 a.m. Tuesday in the S.J.Grontkowski Funeral Home, Plymouth. Mass of Christian Burial at 9 a.m. in All Saints Parish, Plymouth. Friends may call 6 to 8 p.m. today. November 20, 2011 D. M rs. Jean the Kessler, 95, a resident of Parsons section of Calvary Episcopal Church. She was preceded in death by her husband Harold S. Kessler, who died in 1990, and by brothers, Murland, Norwood, Bill and David Raeder and by sisters, Mrs. Ann Ralston, Mrs. Lorraine Dalton and Mrs. Betty L. Walker Surviving are her daughter, Mary Elizabeth Kessler, at home; and several nieces and nephews. Funeral will be held Wednesday at 11 a.m. from the H. Merritt Hughes Funeral Home Inc., 451 N. Main St., Wilkes-Barre, with the Rev. Timothy Alleman, rector, Holy Cross Episcopal Church, WilkesBarre, officiating. Interment will be in Mt. Greenwood Cemetery, Trucksville. Friends may call Wednesday from 10 a.m. until time of service. The family requests that flowers be omitted and that memorial donations be made to Holy Cross Episcopal Church, 373 N. Main St., WilkesBarre, PA 18702. services returning from abroad." He was under surveillance by New York police who were working with a confidential informant and was in the process of building a bomb; no injury to anyone or damage to property is alleged, Police Commissioner Raymond to be arraigned later Sunday. Kelly said a confidential informant had numerous conversations with Pimentel on Sept. 7. confirm.. Wilkes-Barre, died Sunday, November 20, 2011, in the Inpatient Unit, Hospice Care of the Visiting Nurses Association, St. Luke's Villa, WilkesBarre. Mrs. Kessler was born in the former borough of Miners Mills, now Wilkes-Barre, and was a graduate of James M. Coughlin High School, Wilke-Barre, class of 1934. She had been employed by Fowler, Dick and Walker, the Boston Store, and later, by Boscov's Department Store, Wilkes-Barre, for 54 years, retiring in 1993. Jean was well known as the manager and supervisor of the Millinery Department of the Boston Store and Boscov's and always had meaningful suggestions when asked for her advice on the selection and wearing of ladies hats. She had also been a buyer for the millinery departments for stores in WilkesBarre, Hazleton and Binghamton with Boston Store and Boscov's. Mrs. Kessler was a faithful member of Holy Cross Episcopal Church, Wilkes-Barre, and its predecessor, AFFORDABLE FUNERAL PACKAGES TWILIGHT FUNERAL OR CREMATION LINCOLN TRADITIONAL FUNERAL Includes Viewing, Service and Casket SM $3,495 $3,995 SM LIBERTY FUNERAL OR CREMATION SM A fterFu nera lLu ncheons Sta rting a t$7. p erp erson 95 G en etti's Kniffen O' Malley Funeral Home, Inc. 457-2801 823-7157 CALL FOR DETAILS OR VISIT OUR WEBSITE Brian D. Leffler, Supervisor Packages do not include cash advances, vault or cemetery charges. $4,495 Funeral Lunches starting at $ 7.95 Memorial Highway, Dallas � 675-0804 H otelBerea vem entR a tes 728 Main St. AVOCA 465 South Main St. Nicholas V. Wachter, Supervisor WILKES-BARRE 825. 6477 BestLifeTributes.com K THE TIMES LEADER S E R V I N G T H E P U B L I C T R U S T S I N C E 18 81 Editorial MONDAY, NOVEMBER 21, 2011 PAGE 9A WORLD OPINION W HILE U.S. President Obama puts personal politics ahead of his country's critical need for oil via the Keystone XL pipeline, Canada's wooing of the Asian option should move quickly beyond simply courtship. It should ramp up the Northern Gateway pipeline to our west coast post-haste. We have the oil sands crude that China and India are lusting after. If the faltering Obama administration doesn't want it, then Canada should move forward immediately to secure oil exports to Asia-based clients. The Northern Gateway pipeline is therefore key. In politics as in comedy, timing is everything, and so Prime Minister Stephen Harper had the perfect stage during a recent meeting of Pacific-rim leaders to lay out his position to Obama. And kudos to him Canada can capitalize on Obama's pipeline policy for doing just that. Harper made sure the international media were aware of Obama's real reason for delaying the $7billion Keystone XL pipeline that would hook up Alberta's ethical oil with refineries in Texas. Dumb political reasons, at that. There's Obama's decision to breathe life back into the crippling "buy American" rules for accepting foreign exports and the odious plan to raise $100 million by nicking Canadian travelers with a $5.50 "passenger inspection fee." He is grasping at straws, and knuckling under to the Hollywood crowd. Until the 2012 election is over, American politics will be contorting itself for at-home votes, and saying whatever is necessary to get them. The Ottawa Sun, Ontario Economy needs long-term growth, not short-term boost IT'S BEEN more than two years since the recession officially ended � on paper � in June 2009, but a persistently stubborn high unemployment rate has been a drag on a slow-growing economy. It's no surprise it has given rise to disgruntled movements such as the Tea Party and Occupy Wall Street. QUOTE OF THE DAY "You can't despise small beginnings; it's OK to start off small." Vince O'Boyle The 58-year-old Falls man, working with co-pastor Louis Smyth, plans to open a non-denominational storefront church early next year on Wilkes-Barre's Public Square next to Leo Matus News. COMMENTARY TIMOTHY F. KEARNEYsector workforces, this sort of temporary subsidy merely postpones the inevitable. Infrastructure improvements � such as building roads and water systems, rehabilitating public buildings and developing a government "infrastructure bank'' �. Much like the Tea Party before it, Occupy Wall Street reflects society's unease over the lack of recovery from the recession. A very important social component of the American Jobs Act is the extension of unemployment benefits to the long-term unemployed. Preservation of the safety net is essential for people who find themselves unemployed through no fault of their own. But it's important to recognize that safetynet spending does not really stimulate the economy. The unemployed can't increase their spending beyond a bare minimum. If anything, their dollars will go toward lowcost. F On China-U.S. relations that the two countries still have far more common ground than they do differences. There are undoubtedly problems at the bilateral level as Washington's China policy tends to be manipulated by its domestic issues. Mutual political trust also has been undermined on occasion by Washington's willful disregard of China's major concerns and core interests. The growth and dynamism of our two countries are closely intertwined. Any misjudgment and misstep will have dire consequences that will benefit neither side's interests in the end. China Daily, Beijing REQUENT high-level contacts have become a prominent feature of relations between China and the United States. Given the many woes the world is facing today and the current status of China-U.S. relations, which is like a calm river with surging undercurrents, the significance of Chinese President Hu Jintao's meeting with his U.S. counterpart Barack Obama on Nov. 12, their second this month, was beyond routine. Their meeting, held on the sidelines of the Economic Leaders Meeting of the AsiaPacific Economic Cooperation in Hawaii, was a clear signal Eurozone crisis troubling T HE CRISIS IN the eurozone is, like the single currency itself, a political as well as an economic issue. British Prime Minister David Cameron has declared that he is preparing for the worst: He is right. We have no idea what the outcome will be, whether a breakup of the eurozone or a bailout for Italy or merely a drastic reworking of the European Central Bank's rules to enable it to intervene more decisively in the bond markets. The German chancellor, Angela Merkel, said that Europe needs to change its rules in order to solve the crisis. The implications for less powerful states are large: German bankers could decide sensitive political issues. In states such as Ireland, this already is happening. Britain has taken a sanguine view of this development; the chancellor, George Osborne, has said that he favors closer fiscal union. But however we might approve of more budget discipline, closer integration may not be in our interests: It has very worrying implications. Britain has neither the will nor the means to prevent greater Franco-German hegemony in the eurozone, but we can take a robust approach to any attempt to shift the balance of power toward other financial center. London Evening Standard E-mail: mailbag@timesleader.com � Fax: 570-829-5537 � Mail: Mail Bag, The Times Leader, 15 N. Main St., Wilkes-Barre, PA 1871 1 Postal service center hearing set for Tuesday W Kids face slim chance of avoiding obesity PRASHANT SHITUT President and Interim CEO/Impressions Media MARK E. JONES JOSEPH BUTKIEWICZ Editorial Page Editor Vice President/Executive Editor Editorial Board ake up, America! The U.S. Postal Service is being destroyed from the inside. They are closing small, local post offices, threatening to stop Saturday deliveries, doing away with door-to-door deliveries and possibly turning the postal service over to a private company. Do you think a private company will mail your letters for the same prices as the post office? What will happen to businesses that depend on bulk mailings or to the elderly who rely on the mail for their prescriptions? What about birthday and Christmas cards or wedding invitations? This affects all of us. There must be ways to make the post office more efficient. How much money is wasted by having bosses, with their clipboards, follow around the carriers? Don't believe the spin from the post office when I it says there's not enough mail. Ask your letter carrier or window clerk. Look at the lines at the windows of the post office. Write your senators and representatives and tell them that you want the postal service's processing center to stay in Scranton. There is a public meeting scheduled for 6:30 p.m. Tuesday at Scranton High School. Please attend. Sharon Zielinski Scranton n all probability, Americans have the most obese children in the world. When I went to high school and middle school, gym class was mandatory, barring any physical excuse by a doctor. There were daily exercises, even physical activity after school when we played games with each other. Families actually ate the majority of their meals � most likely made by mom � together at the kitchen table. Today, there are cheesy bacon bowls, super-sized types of sodas, snacks and junk food. The mothers and fathers ask, "Why are my children obese?" To tell you the truth, I don't have a clue. Gregory M. Suda Nanticoke MALLARD FILLMORE DOONESBURY CMYK PAGE 10A MONDAY, NOVEMBER 21, 2011 N E W S THE TIMES LEADER ISSUES Continued from Page 1A COURT Continued from Page 1A "The crisis is extremely significant at current levels of demand. Just try to imagine if more of the veterans who are eligible begin to use services," Bellon said. "If a couple hundred thousand more show up on their doorstep they need to meet that demand." As of June 30 this year, 211,819 veterans of the Iraq and Afghanistan conflicts have been diagnosed as potentially having PTSD, according to a quarterly report issued by the Department of Veterans Affairs. That includes 1,376 veterans who have been seen at the Veterans Administration Medical Center in Plains Township or its outpatient clinics. A study released in 2008 by the RAND Center for Military Health Policy Research entitled "Invisible Wounds of War" raised concerns regarding gaps in treatment for Iraq and Afghanistan veterans seeking care for PTSD and other mental health conditions. The study found that roughly half of the veterans who have symptoms of PTSD or major depression seek treatment. Of those who did seek treatment, only slightly more than half got "minimally adequate care." Severe consequences The consequences for veterans and their families are severe. Veterans suffering from untreated mental disorders are far more likely to have problems with substance abuse and are at higher risk to commit suicide. There were a total of 2,293 suicides of active duty members from 2001 to September 2011, with 298 of those occurring in a war zone, according to statistics compiled by Veterans for Common Sense. Former Marine Sgt. Stanley Laskowski of Carbondale is among those who returned from combat with the "invisible wounds" of war. The decorated Iraqi war vet suffers from severe PTSD brought on by his 5� month tour of duty in Iraq in 2003. Laskowski, 33, maintains the VA's failure to properly treat him when he first sought care in 2007 caused his condition to worsen to the point that he's been declared 100 percent disabled and is unable to work. Dr. Antonette Zeiss, chief consultant for the VA's Office of Mental Health in Washington, D.C., said she's aware of the concerns that have been raised, but believes the VA � which saw more than1.28 NIKO KALLIANIOTIS/FOR THE TIMES LEADER Former Marine Sgt. Stanley Laskowski and his wife, Marisol, talk about his tour of duty in Iraq. Laskowski suffers from post-traumatic stress disorder brought on by his experiences in combat. jail by enrolling in a strict probation program that requires them to undergo intensive counseling and other services. If the defendant successfully completes the program, their criminal record is expunged. Cosgrove said he became interested in establishing a veterans court based on his dealings with troubled veterans both as a judge and private attorney. "Those who have served in harm's way have experienced circumstances that the average citizen can't imagine," Cosgrove said. "They were there because we asked them to go. We owe them something when they don't come back whole and because of that find themselves in the criminal justice system." Many troubled vets Officials with veterans organizations and the criminal justice system have expressed concern regarding the growing number of veterans appearing in court who have serious mental health and substance abuse issues. An August 2008 report by the Substance Abuse and Mental Health Services Administration estimated that veterans make up 9 percent of the prison population in the United States. Statistics regarding the number of veterans who have appeared in Luzerne County Court were not available. But Cosgrove and Judge Lewis Wetzel, who oversees Luzerne County's drug and mental health treatment courts, said the numbers are growing. The Department of Veterans Affairs established outreach programs at its medical facilities nationwide several years ago as part of its efforts to enhance mental health treatment, said Vince Riccardo, spokesman for the Veterans Administration Medical Center in Plains Township. Wetzel said Luzerne County has worked closely with the local VA to obtain assistance for veterans. Kim Sapolis-Lacey, a veterans outreach specialist with the hos- million veterans for mental health issues in 2010 -- provides exceptional care. Zeiss said the VA, which operates the National Center for PostTraumatic Stress Disorder, is the leading organization conducting research on PTSD. That's resulted in significant advances in the treatment of the disorder in the past five years. Those treatments focus on a combination of individual and group counseling, coupled with medications, said Zeiss and Dr. Matthew Dooley, a staff psychologist at the VA Medical Center in Plains Township. "It starts off by educating patients so they can learn to identify and understand their symptoms and learn coping skills so they can manage them better," Dooley said. The VA is continually evaluating treatment options and modifies its approach as more information and data becomes available, Dooley said. There have been significant advances in treatments since 2006. "As treatments evolve and become more effective, you adapt your system so that you can help patients recover more effectively," he said. Today the VA focuses treatment primarily on two evidence-based therapies, Cognitive Process Therapy and Prolonged Exposure Therapy. The therapies encourage veterans to talk about their trauma and teach them how to deal with anxiety and feelings of guilt they experience, Zeiss and Dooley said. "Cognitive process therapy deals with self punishing distortions. Sometimes people can feel personally responsible for the death of a colleague in combat," Zeiss said. "Cognitive process therapy deals with those distorted, self-critical thoughts." "Prolonged exposure therapy puts more of an emphasis on learning how to live again in the world even though you have negative memories," Zeiss said. Treatment issues Bellon agreed the VA has made advances in therapies, but there remains significant concern regarding the availability of mental health services, he said. An internal staff survey recently conducted by the Department of Veterans Affairs revealed that 70 percent of the 272 respondents don't think the VA has the resources to handle the increasing demand for mental health services. According to the survey, 37 percent of the respondents said they cannot schedule an appointment for a new patient within the14-day standard the department mandates. Zeiss acknowledged the concerns raised by staff, but said those feelings conflict with other data the VA collects. "Our internal data shows that 95 percent of all patients new to mental health are seen within 14 days," she said. "We track that carefully and think we are doing very well in that field." The VA has also taken significant steps to improve services, in- cluding the establishment of a suicide prevention program that includes a national hotline for veterans. The hotline received more than 460,000 calls as of July 31, 2011 that resulted in16,855 "rescues" of veterans who had attempted or were on the verge of attempting suicide, according to Veterans for Common Sense. The VA has also significantly increased mental health staff in recent years, Zeiss said. Since 2005, the VA has hired an additional 7,500 mental health professionals, giving it a total of 21,000. Bellon said those are positive steps, but he remains concerned that the efforts have come too late. "They are beginning to add people. The problem is it's the tip of a problem that's been allowed to accumulate. It's going to take a substantial amount of time," Bellon said. Zeiss said there are no immediate plans to hire more mental health professionals, but the department is continually monitoring the situation. "We are thinking about ... what happens when all the service members come back from Iraq. We are looking at models to ensure we are appropriately prepared for what may be ahead." pital, said she receives an average of five to seven referrals each month for veterans facing criminal charges, although not all of them qualify for the specialty treatment courts. "The prime thing we do is connect veterans to treatment at the VA. Many may not have access to Luzerne County health care any Judge Joseph other way," SaCosgrove polis-Lacey said. "We make sure all their needs are met, including treatments that may not be available in the community, such as post-traumatic stress disorder and traumatic brain injuries and other issues related specifically to their military experience." Expansion of efforts Cosgrove wants to expand on those efforts. A key component of veterans courts is establishing a mentoring program that pairs troubled veterans with other veterans. That type of program has been shown to be particularly helpful because veterans feel more comfortable speaking with other vets, who have a better understanding of what they're going through, he said. Cosgrove, who was appointed in January 2010 to fill the unexpired term of former judge Mark Ciavarella, had hoped to have the court established by the time he leaves the bench at the end of December. That doesn't appear likely as the plans for the court remain in the preliminary stage. He's continuing to work with various organizations to get the structure in place so that it can hopefully come to fruition next year. "Our soldiers served with honor and integrity," he said. "We need to address the things they may have suffered as a result of that service and restore themselves as productive citizens." "Those who have served in harm's way have experienced circumstances that the average citizen can't imagine." Are you as happy with your school district as you were 4 years ago? 2011 GMC SIERRA 1500 4WD ROCKY RIDGE CONVERSION SLT CREW CAB Stk# 1624, Too Many Options to List, MSRP Exceeds $54,000 Owner's Family Demos Lowest Prices Must Go Red Jewel Tintcoat, Sun & Entertainment System, Owner's Wife's Demo DEMO SALE Stk# 1520, Hit The Road Package, Power Skyroof, Heated & Cooled Seats 2011 2011 GMC YUKON DENALI SLT-2 GMC ACADIA AWD PACKAGE Stk# 1646, Learn how a tuition-free public cyber charter school learning environment can provide a student-centered education that school districts no longer seem to think is important. You're invited to meet Achievement House Cyber Charter School staff Pittston Memorial Public Library 47 Broad St, Pittston, PA 18640 Monday evening, November 21st at 6 PM MSRP $59,520 MSRP $45,995 You $ Pay 43,995 You $ Pay AS TRADED SPECIALS 2007 CHEVY UPLANDER $4500 ............................................... AS-IS 51,500 FIRM 01 CHEVY SILVERADO XCAB 4X4 $4500 FIRM ............................................... 01 FORD F-150 XCAB 4X4 $4000 FIRM ............................................... 02 CHEVY TAHOE 4X4 ............................................... $6500 FIRM 05 BUICK TERRAZA VAN JUST TRADED HOURS: You $ Pay 39,995 $10,900 $21,900 $14,900 DVD .................................................... 10 CHEVY 1500 SILVERADO 4X4 08 BUICK LACROSSE .......................................................... 27K Miles .............................................. 724776 A Benson Family Dealership Monday Thru Thursday 8:00am - 7:00pm Friday & Saturday 8:00am - 5:00pm To discuss your options with our helpful and friendly staff contact us at: 484-615-6200 or email: info@achievementcharter.com Now enrolling 7th-12th grades for the 2011-2012 School Year CMYK THE TIMES LEADER SPORTS timesleader.com SECTION B MONDAY, NOVEMBER 21, 2011 AUTO RACING PSU FOOTBALL Stewart claims Sprint Cup championship Buckeyes Driver caps amazing run with win in finale By JENNA FRYER AP Auto Racing Writer AP PHOTO Tony Stewart holds up the Sprint Cup trophy after winning Sunday's race in Homestead Sunday. rived in Florida. His Roush-Fenway Racing team put his Ford on the pole, he led a Driver ....................................................Pts. race-high 119 of the 267 laps and still fin1. Tony Stewart...................................2,403 ished a helpless second. 2. Carl Edwards .................................2,403 The two actually ended up tied in the 3. Kevin Harvick ................................2,345 final standings -- a NASCAR first -- but 4. Matt Kenseth .................................2,330 Stewart won the title based on his five vic5. Brad Keselowski..............................2,319 tories, all in the 10-race Chase for the 6. Jimmie Johnson...........................2,304 Sprint Cup championship -- to Edwards' 7. Dale Earnhardt Jr. .........................2,290 8. Jeff Gordon....................................2,287 one. 9. Denny Hamlin ................................2,284 Stewart became the first owner/driver 10. Ryan Newman ..............................2,284 to win the championship since the late 11. Kurt Busch ......................................2,262 Alan Kulwicki in 1992, and the driver to 12. Kyle Busch.....................................2,246 end Jimmie Johnson's record five-year title run. His last title was in 2005, the year going for a championship, you can't hold before Johnson's began his reign. "Are you kidding me?" Stewart asked in anything back. I couldn't leave anything Victory Lane in a pouring rain. "We said on the table." Edwards, who started the race with a all week we'd just go out and win the race three-point lead in the standings, did everything he could from the minute he ar- See NASCAR, Page 6B Final Chase Standings weren't ready for wildcat Nittany Lions used set for first time this season in victory over Ohio State. By DEREK LEVARSE dlevarse@timesleader.com N AT I O N A L F O O T B A L L L E A G U E : W E E K 1 1 Tampa Bay ............26 Carolina .................35 Jacksonville ..........10 Buffalo ......................8 Seattle ...................24 Tennessee...............17 Green Bay .............35 Detroit ...................49 Cleveland................14 Miami......................35 St. Louis ...................7 Atlanta...................23 Oakland..................27 Dallas......................27 Cincinnati .............24 Arizona.....................7 San Diego..............20 Philadelphia ...........17 Minnesota...............21 Washington...........24 Baltimore................31 San Francisco ......23 Chicago....................31 N.Y. Giants..............10 Today's Game Kansas City at New England 8:30 p.m. ESPN Late TD lifts Eagles Settling behind center for the first time all season, Curtis Drake felt comfortable because of what he didn't hear. Something was obviously up as the sophomore wide receiver stepped into the shotgun with no quarterback on the field at all for Penn State. A wildcat scheme. UP NEXT Something PENN STATE the Nittany at Lions had not WISCONSIN used all seaAt Stake son long. Winner And Ohio advances to State clearly Big Ten was not championship When ready for it 3:30 p.m. on Saturday. Saturday According TV to Drake, he ABC heard nothing being called out by the Buckeyes defense in response to sudden personnel move. No switches or changes by the defense in response. "After we ran it two or three times, then when I went out there they started calling out `Wildcat!' But before that, they wasn't calling it out. ... It was great to get that in and catch them off guard like that." And how. When Drake came on for that first shotgun snap, the former high school quarterback held onto the ball for just a moment to try and draw the defense in before handing off to Stephfon Green, who took advantage of the sizable hole up the middle. Green was gone. One play out of the scheme, one touchdown. This one good for 40 yards and a 7-0 lead before the host BuckSee PSU, Page 7B AP PHOTO Philadelphia Eagles quarterback Vince Young looks to pass against the New York Giants during the first quarter of an NFL game Sunday in East Rutherford, N.J. The Eagles won the game 17-10. Backup QB Vince Young throws winning touchdown pass By JONATHAN TAMARI The Philadelphia Inquirer EAST RUTHERFORD, N.J. -- What was the difference this week? Just about everything. The quarterback was different, and sharp late. The defense kept the team alive by stifling the opposition. And when the fourth quarter came around, and the game got tight, the Eagles made the biggest plays, winning 17-10 on the road against the Giants. drove on the ensuing drive, Jason Babin stripped Eli Manning, Derek Landri recovered, and LeSean McCoy sealed the game with a 60-yard run, all coming up big in situations where the Eagles have previously shrunk. The Eagles improved to 4-6 EAGLES GIANTS and pulled within two games of the Giants and Cowboys in the Vince Young threw a third- NFC East, though they still have down strike for the winning a long way to climb to get into setouchdown and, as the Giants rious playoff contention. Only 17 10 five 4-6 teams have reached the postseason since the NFL went to its current playoff format in 1990. Juan Castillo's defense had perhaps its strongest outing, limiting the Giants to 278 yards, sacking Manning three times and creating two turnovers. And when the defense did stumble, Young rallied the Eagles. After the Giants tied the game at 10, and brought on the ghosts of all five of the Eagles past fourth quarter collapses, Young responded with an 18-play, 80yard drive that included five third-down conversions and a touchdown on a third and goal. Young found Riley Cooper in the back of the end zone for his second scoring pass of the game, giving the Eagles a 17-10 lead with 2:45 left in the game. INSIDE: Roundup, boxscores, 3B. AP PHOTO Penn State's Chaz Powell celebrates after his team's 20-14 victory over Ohio State Saturday in Columbus, Ohio. HIGH SCHOOL FIELD HOCKEY Sem got best of classic coaching matchup By JOHN MEDEIROS jmedeiros@timesleader.com DON CAREY/THE TIMES LEADER Members of the Wyoming Seminary field hockey team celebrate Saturday after defeating Villa Maria 3-2 for the AA Championship at the Zephyr Sports Complex in Whitehall. Saturday's state championship offered one of the most prestigious coaching matchups in PIAA history. The winner was supposed to earn bragging rights in more ways than one. Coach Karen Klassner has the upper hand, if that was her style, as her Wyoming Seminary team defeated coach Maurene Polley and Villa Maria 3-2 in the Class 2A championship in Whitehall. It made for the first consecutive state championships in Wyoming Seminary history. Emmaus was the last team to "Very few teams have done this. We're pleased to be in such an elite group." Karen Klassner Seminary coach win back-to-back championships, taking Class 3A titles in 2004 and 2005. The last Class 2A team to win two straight crowns was Crestwood in 2003 and 2004. "This is a team that has had to work See SEMINARY, Page 6B hard for what they've accomplished," Klassner said of this year's Blue Knights. "Very few teams have done this. We're pleased to be in such an elite group." It turns out the coaches are in other elite groups as well. Klassner was inducted into National Field Hockey Coaches Association Hall of Fame in 2009. Polley is a member of the next induction class. Both are also cancer survivors. "We're both cancer survivors. Not a K PAGE 2B MONDAY, NOVEMBER 21, 2011 N. Iowa 78, N. Colorado 69 Nebraska 83, Rhode Island 63 Ohio 69, Arkansas St. 54 Saint Louis 77, Washington 64 South Dakota 83, Nebraska-Omaha 81 Temple 78, Wichita St. 74, OT Valparaiso 84, Duquesne 68 SOUTH Alabama 65, Purdue 56 Belmont 87, Middle Tennessee 84, 2OT Ferrum 72, Roanoke 66 Florida St. 80, South Alabama 39 Furman 63, Loyola of Chicago 51 Houston Baptist 88, Cal St.-Fullerton 83 Jackson St. 73, Concordia-Selma 63 Lehigh 76, E. Kentucky 51 Louisiana-Lafayette 84, Nicholls St. 57 Murray St. 62, UAB 55 NC Wesleyan 82, St. Andrews 77 Newberry 101, Washington Adventist 75 North Carolina 101, MVSU 75 Tennessee St. 64, South Carolina 63 Voorhees 104, Barber-Scotia 79 Wake Forest 93, NC Central 79 William & Mary 65, Liberty 64 SOUTHWEST Rice 81, Md.-Eastern Shore 49 SC-Upstate 82, Texas St. 74 Texas Tech 66, Stephen F. Austin 54 Toledo 64, Texas-Pan American 54 FAR WEST Montana 73, San Diego 60 Nevada 60, Prairie View 47 Oregon 86, SE Missouri 61 TOURNAMENT DirecTVCharleston Classic Fifth Place LSU 59, Georgia Tech 50 Seventh Place VCU 69, W. Kentucky 64 NYU Tipoff Championship NYU 60, Baruch 59 Third Place College of NJ 59, Colby 45 Puerto Rico Tipoff Fifth Place Iona 89, Maryland 63 Salisbury Roundball Classic Championship Ala.-Huntsville 84, Catawba 77 USVI Paradise Jam Third Place Saint Joseph's 79, Tulsa 75 Semifinals Norfolk St. 66, TCU 53 Seventh Place Colorado 81, W. Michigan 76 S C O R E B O A R D THE TIMES LEADER EXTRA INNINGS SPORTS IN BRIEF AMERICA'S LINE By ROXY ROXBOROUGH INJURY REPORT: On the NHL board, Pittsburgh forward Sidney Crosby is listed as probable. BOXING REPORT: In the WBA junior middleweight title fight on December 3 at Madison Square Garden, Miguel Cotto is -$180 vs. Antonio Margarito at +$160. NFL Favorite PATRIOTS Thursday Packers COWBOYS RAVENS Sunday RAMS JETS BENGALS Texans Panthers TITANS FALCONS RAIDERS SEAHAWKS Patriots CHARGERS Steelers Monday SAINTS Favorite OHIO U Thursday TEXAS A&M 8 Friday Bowl Green NO ILLINOIS TEMPLE W MICHIGAN Toledo S FLORIDA Houston NEBRASKA W VIRGINIA LSU UTAH MIAMI-FLA C FLORIDA ARIZONA ST MICHIGAN a-Missouri Rutgers Cincinnati Michigan St Purdue Illinois Georgia Vanderbilt S CAROLINA NC STATE N CAROLINA Tennessee BOISE ST UTAH ST SMU Alabama OREGON Va Tech WISCONSIN ar-Baylor PK 20 17.5 28 12.5 NL 3 10 7.5 14 20.5 14.5 NL 5.5 Saturday 7.5 24 3 3 6.5 7. 11 5.5 1 4 13 12.5 8.5 31.5 1 14 21.5 28 5.5 15.5 11.5 Ohio St Kansas CONNECTICUT SYRACUSE NORTHWESTERN INDIANA MINNESOTA GA TECH WAKE FOREST Clemson Maryland Duke KENTUCKY Wyoming Nevada Rice AUBURN Oregon St VIRGINIA Penn St Texas Tech Fresno St COLORADO ST Florida Int'l ORAL ROBERTS Albany GEORGE MASON BUFFALO E Michigan Kent St Akron BALL ST Louisville TULSA Iowa Pittsburgh Arkansas Colorado Boston Coll Utep California MISSOURI California Texas Vanderbilt Niagara MERCER Detroit BOWLING GREEN Texas NL College Football Points Tuesday 7 Miami-Ohio Memphis Duke Ucla Kansas Underdog Giants Drexel Virginia NL 8 7 3 3.5 3.5 NL NL 4.5 NL 6.5 NL Cards Bills Browns JAGUARS COLTS Bucs Vikings Bears Redskins EAGLES Broncos CHIEFS 6 7 3.5 LIONS Dolphins 49ers Points 16 Underdog Chiefs Florida St E Carolina LA TECH SO MISS Air Force WASHINGTON MISS ST STANFORD FRESNO ST OKLAHOMA San Diego St USC HAWAII Favorite BOSTON COLL t-FLORIDA INDIANA ST MISS ST PEPPERDINE 2.5 2 19.5 36 16.5 6.5 17.5 6.5 6 28 14.5 15 18 College Basketball Points 2 22 8 22 4.5 Underdog Massachusetts Wright St Wisc-Green Bay UL-Monroe C Michigan FLORIDA MARSHALL New Mexico St Memphis COLORADO ST Washington St Mississippi Notre Dame San Jose St. Iowa St UNLV Ucla Tulane P R E S I D E N T S C U P I N D I V I D U A L P O I N T S T A B L E Sunday At Royal Melbourne Golf Club Melbourne, Australia Yardage: 6,998;Par: 71 UNITED STATES 19, INTERNATIONAL 15 International ............................................................................. Foursomes Fourball Singles Total Matches Points ............................................................................. W-L-T W-L-T W-L-T W-L-T Robert Allenby................................................... 0-2-0 0-1-0 0-1-0 0-4-0 4 0 Aaron Baddeley ................................................. 0-1-1 1-1-0 0-1-0 1-3-1 5 11/2 K.J. Choi ............................................................. 1-1-0 2-0-0 0-1-0 3-2-0 5 3 Jason Day........................................................... 0-1-1 1-1-0 0-1-0 1-3-1 5 11/2 Ernie Els ............................................................. 1-1-0 0-2-0 0-1-0 1-4-0 5 1 Retief Goosen.................................................... 0-2-0 1-0-0 1-0-0 3-2-0 5 3 Ryo Ishikawa...................................................... 1-1-0 0-1-0 1-0-0 2-2-0 4 2 K.T. Kim.............................................................. 0-1-0 1-1-0 1-0-0 2-2-0 4 2 Geoff Ogilvy ....................................................... 0-1-1 2-0-0 1-0-0 3-1-1 5 31/2 1 Charl Schwartzel ............................................... 0-1-1 2-0-0 1-0-0 3-1-1 5 3 /2 Adam Scott......................................................... 1-1-0 0-2-0 1-0-0 2-3-0 5 2 Y.E. Yang ........................................................... 0-1-0 1-1-0 0-1-0 1-3-0 4 1 United States ............................................................................ Foursomes Fourball Singles Total Matches Points ............................................................................ W-L-T W-L-T W-L-T W-L-T Jim Furyk........................................................... 2-0-0 2-0-0 1-0-0 5-0-0 5 5 Bill Haas ............................................................ 0-1-1 1-1-0 0-1-0 1-3-1 5 11/2 1 Dustin Johnson ................................................ 1-0-1 0-2-0 0-1-0 1-3-1 5 1 /2 Matt Kuchar....................................................... 0-1-1 1-1-0 0-1-0 1-3-1 5 11/2 Hunter Mahan................................................... 2-0-0 1-1-0 1-0-0 4-1-0 5 4 Phil Mickelson .................................................. 2-0-0 1-0-0 0-1-0 3-1-0 4 3 Webb Simpson................................................. 2-0-0 1-1-0 0-1-0 3-2-0 5 3 Steve Stricker ................................................... 0-1-0 1-1-0 1-0-0 2-2-0 4 2 David Toms....................................................... 2-0-0 0-1-0 1-0-0 3-1-0 4 3 Nick Watney...................................................... 0-0-1 1-1-0 1-0-0 2-1-1 4 21/2 Bubba Watson .................................................. 2-0-0 1-1-0 0-1-0 3-2-0 5 3 Tiger Woods ..................................................... 1-1-0 0-2-0 1-0-0 2-3-0 5 2 LOCAL Tickets for GAR's PIAA football playoff game against Pen Argyl set for Friday night at Spartan Stadium will be on sale today through Wednesday. Fans will be able to purchase tickets from 8:30 a.m. to 1 p.m. each day in the school's gym. The cost is $3 for students and $6 for adults. All tickets the day of the game will be $6. GAR tickets on sale H.S. FOOTBALL Tournament MVP Jeff Slanovec had 15 points to lead the Misericordia University men's basketball team to a 62-60 win over Marywood in the championship game of the 20th Annual McCarthy Tire Laurel Line Tournament. Justin Grotevant scored the winning points on a pair of free throws with 36 seconds to play as the Cougars won their third straight Laurel Line title. The Pacers had a shot at the buzzer to tie from the right wing, but it was long. Chris Undersinger added 15 points for the Cougars and Ethan Eichhorst added 10 points. Pierre Bakinde led the Pacers with a game-high 18 points and Brent Keyes and James Lavan added 13 and 10 points, respectively. Eichhorst, Lavan and Keyes were named to the all-tournament team. Miseri wins tourney COLLEGE BASKETBALL Paradise Jam St. Thomas, Virgin Islands 8 7.5 Maui Invitational Maui, HI 3 11.5 14 5.5 Michigan Tennessee CHAMINADE Georgetown Winthrop Drake N H L At A Glance All Times EST EASTERN CONFERENCE Atlantic Division GP W L OT Pts GF GA Philadelphia .................... 19 11 5 3 25 71 58 Pittsburgh ........................ 20 11 6 3 25 60 50 N.Y. Rangers .................. 17 10 4 3 23 47 38 New Jersey ..................... 18 10 7 1 21 49 50 N.Y. Islanders ................. 17 5 9 3 13 35 56 Northeast Division GP W L OT Pts GF GA Buffalo.............................. 20 12 8 0 24 58 51 Toronto ............................ 21 11 8 2 24 63 69 Boston.............................. 18 11 7 0 22 64 39 Montreal........................... 20 9 8 3 21 53 49 Ottawa.............................. 20 10 9 1 21 61 68 Southeast Division GP W L OT Pts GF GA Florida............................ 19 10 6 3 23 56 48 Washington ................... 18 10 7 1 21 58 56 Tampa Bay .................... 19 9 8 2 20 54 60 Winnipeg ....................... 20 8 9 3 19 58 65 Carolina ......................... 21 7 11 3 17 49 70 WESTERN CONFERENCE Central Division GP W L OT Pts GF GA Chicago ......................... 21 12 6 3 27 71 67 Nashville........................ 19 10 5 4 24 53 48 St. Louis......................... 19 10 7 2 22 48 43 Detroit ............................ 18 10 7 1 21 49 41 Columbus ...................... 19 4 13 2 10 43 69 Northwest Division GP W L OT Pts GF GA Minnesota...................... 20 12 5 3 27 47 40 Edmonton...................... 19 10 7 2 22 50 45 Vancouver ..................... 19 9 9 1 19 56 56 Colorado........................ 21 9 11 1 19 56 65 Calgary .......................... 18 8 9 1 17 41 47 Pacific Division GP W L OT Pts GF GA San Jose.......................... 18 12 5 1 25 57 43 Phoenix............................ 18 10 5 3 23 51 45 Los Angeles .................... 20 10 7 3 23 49 48 Dallas ............................... 19 11 8 0 22 49 54 Anaheim .......................... 19 6 9 4 16 39 57 at Anaheim, 8 p.m. Ottawa at Vancouver, 9 p. Tuesday's Games Toronto at Tampa Bay, 7:30 p.m. Los Angeles at St. Louis, 7:30 p.m. Edmonton at Nashville, 8 p.m. BULLETIN BOARD CAMPS/CLINICS Electric City Baseballl and Softball Academy will host a Winter Skills Camp at Riverfront Sports on Saturdays, Nov. 26, Dec. 3, 10 and 17 with baseball from 4 p.m. to 6 p.m. and softball from 6 p.m. to 8 p.m. Cost for each is $145. For more information, please call 570-878-8483 or visit. Jerry Greeley,a coach in the Baltimore Orioles organization and head baseball coach at King's College willbe offering winter specialty baseballclasses for playersin grades K through 12. The classes will be heldin December and Januaryat the Wyoming Valley SportsDomein Wilkes-Barre Townshipon Thursday's, and Pocono Mountain Fitness Center at Pocono Manoron Wednesday's. For additional information, please contact CoachGreeley atbaseball@kings.edu. The Tenth Annual Paul McGloin Holiday Pitching Camp will be held at Riverfront Sports on Dec. 26 � 28 from 9:15 a.m. to 11:45 a.m. Cost is $145 or $130 if signed up by Nov. 23. For more information, please call 570-878-8483 or visit. MEETINGS Luzerne County Girls Softball will hold their next meeting on Monday, Nov. 21 at 7 p.m. at Alexis Tavern. It is very important to have division presidents attend as the agenda will cover the many NEW Rule Changes including tournament play. Some decisions will need to be made and voted on; Babe Ruth HQ wants commitments by the end of this month. Please come and give your opinion so the executive board can make an educated decision. PA Boys Basketball Booster Club will hold a quick meeting on Tuesday, Nov. 22 at 7 p.m. at the high school to plan for upcoming events. Any questions, call Carl or Maria Stravinski at 570-883-7220. Women's Scores EAST Michigan 51, Seton Hall 47 Pittsburgh 77, Cent. Michigan 70 Quinnipiac 64, Fairfield 55 St. Bonaventure 79, Morgan St. 55 West Virginia 97, NC Central 24 MIDWEST Bowling Green 71, Evansville 54 Bradley 68, Niagara 43 E. Kentucky 71, W. Michigan 60 E. Michigan 63, Loyola of Chicago 55 IPFW 68, Butler 60 Iowa St. 65, N. Arizona 41 Missouri 67, North Florida 46 N. Illinois 58, Temple 52 North Dakota 86, Duquesne 80 Purdue 65, UT-Martin 39 Rice 54, Valparaiso 46 S. Dakota St. 63, Washington St. 58 S. Illinois 76, Chicago St. 54 SIU-Edwardsville 63, Ill.-Chicago 57 SOUTH Duke 80, W. Kentucky 54 Florida Atlantic 68, Bethune-Cookman 46 Georgia 67, Southern Cal 60 High Point 73, Longwood 51 James Madison 60, Middle Tennessee 46 Kansas 74, Wake Forest 73 Louisville 62, Xavier 44 Penn St. 55, South Carolina 50 Richmond 78, Old Dominion 63 Stetson 74, Winthrop 72 UCF 72, Mercer 43 UNC Wilmington 64, East Carolina 53 Virginia 69, Tennessee 64, OT SOUTHWEST Arkansas 57, Utah 56 Arkansas St. 84, Texas A&M-CC 71 NC State 85, TCU 79 Texas 74, Alcorn St. 42 Texas A&M 93, Mississippi St. 47 FAR WEST Arizona St. 79, Boston College 54 Boise St. 68, Pepperdine 57 California 80, Illinois 56 Colorado 72, Colorado St. 53 Fresno St. 79, Cal Poly 76 Montana 64, Idaho 57 Montana St. 99, Coll. of Idaho 50 Portland 59, San Diego St. 58 UC Davis 62, Wichita St. 47 TOURNAMENT Preseason NIT Championship Baylor 94, Notre Dame 81 Subway Classic Championship Minnesota 80, N. Dakota St. 41 Third Place Binghamton 58, Nevada 52 CBE Bowling Green Sub-Regional Bowling Green, OH 4.5 3 George Wash Austin Peay CBE Macon Sub-Regional Macon, GA NL NL S Dakota St Sam Houston St Ticket City Legends Classic East Rutherford, NJ 2 8 CBE Championship Kansas City, MO 3.5 5 NIT Tipoff Consolation Fairfax, VA.. NL 15.5 NIT Tipoff Consolation Tulsa, OK NL 10 Ark-Pine Bluff Smu. Monmouth Brown Notre Dame Georgia NC State Oregon St L O C A L C A L E N D A R TODAY COLLEGE WRESTLING Wilkes at East Stroudsburg, 7 p.m. MEN'S COLLEGE BASKETBALL Luzerne CCC at Stevens Tech, 8 p.m. NIT Tipoff Consolation Fort Collins, CO 4.5 5.5 Manhattan TX-San Antonio TUESDAY MEN'S COLLEGE BASKETBALL Bible Baptist at Wilkes, 7 p.m. King's at Albright, 7 p.m. Misericordia at Scranton, 7 p.m. PSU Wilkes-Barre at Centenary, 8 p.m. WOMEN'S COLLEGE BASKETBALL Lycoming at Misericordia, 6 p.m. PSU Wilkes-Barre at Centenary, 6 p.m. Scranton at King's, 7 p.m. Wilkes at Marywood, 7 p.m. WEDNESDAY AHL Syracuse at Wilkes-Barre/Scranton, 7:05 p.m. WOMEN'S COLLEGE BASKETBALL Luzerne CCC at PSU Wilkes-Barre, 7 p.m. \ NHL.. ---------------------------------------------------- ..Favorite .. ..Odds.. .. Underdog.. ---------------------------------------------------- FLYERS .. -$200/+$170 .. Hurricanes.. PENGUINS .. -$220/ +$180 .. Islanders.. CAPITALS .. -$145/+$125 .. Coyotes.. Flames .. -$110/-$110 .. BLUE JACKETS.. Bruins .. -$135/+$115 .. CANADIENS.. PANTHERS .. -$125/+$105 .. Devils.. STARS .. -$145/+$125 .. Oilers.. ---------------------------------------------------- Distributed by Universal Uclick You can reach him at, Benamericasline.com. ----------------------- AMX-201111-20T22:10:00-05:00 FRIDAY AHL Hershey at Wilkes-Barre/Scranton, 7:05 p.m. PIAA PLAYOFFS GAR vs. Pen Argyl, 7 p.m. Spartan Stadium, Kingston C O L L E G E F O O T B A L L The AP Top 25 The Top 25 teams in The Associated Press college football poll, with first-place votes in parentheses, records through Nov. 19, total points based on 25 points for a first-place vote through one point for a 25th-place vote, and previous ranking: ...........................................................Record Pts Pv 1. LSU (60) ...................................... 11-01,500 1 2. Alabama ....................................... 10-11,440 3 3. Arkansas ...................................... 10-11,376 6 4. Stanford ....................................... 10-11,224 8 5. Oklahoma St. .............................. 10-11,206 2 6. Virginia Tech ............................... 10-11,133 9 7. Boise St. ...................................... 9-11,025 10 8. Houston ....................................... 11-01,018 11 9. Oregon ......................................... 9-21NR 25. Georgia Tech ............................ 8-3 77NR Others receiving votes: West Virginia 37, Tulsa 34, Auburn 28, Southern Miss. 12, Rutgers 6, Arkansas St. 4, Iowa St. 3, Cincinnati 1. SATURDAY AHL Wilkes-Barre/Scranton at Binghamton, 7:05 p.m. W H A T ' S O N T V MEN'S COLLEGE BASKETBALL 3 p.m. ESPN2 -- Maui Invitational, first round, Michigan vs. Memphis, at Lahaina, Hawaii 5:30 p.m. ESPN2 -- Maui Invitational, first round, Tennessee vs. Duke, at Lahaina, Hawaii 6 p.m. FSN -- Paradise Jam, third place game, teams TBD, at St. Thomas, Virgin Islands 7:30 p.m. ESPN2 -- CBE Classic, first round, Missouri vs. Notre Dame, at Kansas City, Mo. 8:30 p.m. FSN -- Paradise Jam, championship game, teams TBD, at St. Thomas, Virgin Islands 9:30 p.m. ESPN2 -- CBE Classic, first round, California vs. Georgia, at Kansas City, Mo. 12 Mid. ESPN2 -- Maui Invitational, first round, Georgetown vs. Kansas, at Lahaina, Hawaii NFL 8:30 p.m. ESPN -- Kansas City at New England NHL 7:30 p.m. VERSUS -- Boston at Montreal USA Today Top 25 Poll The USA Today Top 25 football coaches poll, with first-place votes in parentheses, records through Nov. 19, total points based on 25 points for first place through one point for 25th, and previous ranking: ...........................................................Record PtsPvs 1. LSU (59)....................................... 11-01475 1 2. Alabama ....................................... 10-11413 3 3. Arkansas ...................................... 10-11349 6 4. Virginia Tech ............................... 10-11242 7 5. Stanford........................................ 10-11222 9 6. Oklahoma State .......................... 10-11156 2 7. Houston........................................ 11-01075 10 8. Boise State................................... 9-1 982 11 9. Oregon ......................................... 9-2 933 4 10. Michigan State........................... 9-2 928 12 11. Oklahoma .................................. 8-2 826 5 12. Wisconsin .................................. 9-2 808 13 13. South Carolina .......................... 9-2 806 14 14. Georgia ...................................... 9-2 803 15 15. Kansas State ............................. 9-2 671 17 16. Michigan..................................... 9-2 618 18 17. Clemson..................................... 9-2 587 8 18. TCU ............................................ 9-2 494 19 19. Penn State .................................;Brigham Young 21;Arkansas State 10;Northern Illinois 10;Missouri 8;Texas A&M 4;Utah 3;Florida State 1;Iowa State 1;Texas 1. T RA N SAC T I O N S BASKETBALL Chinese Basketball Association XINJIANG GUANGHUI FLYING TIGERS--Signed Portland G Patty Mills. Liga ACB (Spain) CAJA LABORAL--Signed Houston G Goran Dragic. HOCKEY National Hockey League BOSTON BRUINS--Reassigned D Marc Cantin from Reading (ECHL) to Providence (AHL). NEW YORK ISLANDERS--Recalled F David Ullstrom from Bridgeport (AHL). Placed G Al Montoya on injured reserve, retroactive to Nov. 15. ST. LOUIS BLUES--Recalled F Brett Starling from Peoria (AHL). WASHINGTON CAPITALS--Recalled D Dmitry Orlov from Hershey (AHL). Americanl Hockey League BRIDGEPORT SOUND TIGERS--Signed F Scott Howes to a professional contract agreement. SAN ANTONIO RAMPAGE--Recalled LW AJ Jenks from Cincinnati (ECHL). COLLEGE COLUMBIA--Fired football coach Norries Wilson. Sunday's Scores EAST Cornell 71, Boston U. 66 Denison 72, Earlham 61 Fairfield 73, Holy Cross 52 Kentucky 62, Old Dominion 52 LIU 80, Vermont 75 Loyola (Md.) 66, New Hampshire 60 Mansfield 70, Lock Haven 64 Marist 60, Radford 47 NJIT 78, NYU-Poly 28 Penn St. 53, South Florida 49 Rutgers 66, Hampton 52 St. Peter's 66, Binghamton 43 UConn 87, Coppin St. 70 UNC Greensboro 72, Towson 60 Vassar 104, Culinary Institute of Ame 34 MIDWEST Creighton 82, Iowa 59 E. Illinois 67, N. Illinois 55 E. Michigan 66, IUPUI 64 Iowa St. 92, W. Carolina 60 Michigan St. 69, UALR 47 Milwaukee 73, Texas Southern 38 N A S C A R Sprint Cup-Ford 400 Results Sunday. Nov. 18 At Miami, Giorbis Barthelemy vs. Charles Whittaker, 12, IBF junior middleweight eliminator; Yunier Dorticos vs. Chris Stallworth, 10, cruiserweights. Nov. 19 At Sydney, Australia, Billy Dib vs. Alberto Servidei, 12, for Dib's IBF featherweight title. At Bally's, Atlantic City, N.J., Garrett Wilson vs. Chuck Mussachio, 12, for Wilson's USBA cruiserweight title. At Reliant Arena, Houston (HBO), Julio Cesar Chavez Jr. vs. Peter Manfredo Jr., 12, for Chavez's WBC middleweight title. At Nayarit, Mexico, Jose Rodriguez vs. Nethra Sasiprapa, 12, for the interim WBA World light flyweight title. At the Paramount Theater, Huntington, N.Y., Chris Algieri vs. Bayan Jargal, 10, junior welterweights. Nov. 26 At U.S. Bank Arena, Cincinnati (HBO), Adrien Broner vs. Vicente Rodriguez, 12, for the vacant WBO junior lightweight title. At the Bancomer Center, Mexico City (HBO), Canelo Alvarez vs. Kermit Cintron, 12, for Alvarez's WBC super welterweight title; Gilberto Ramirez sanchez vs. Samuel Miller, 10, middleweights. V&G 570-574-1275 Sporting Goods THE STORE FOR ALL OVER 60 0 GUNS IN Your Hunting Needs STO 1757 SANS SOUCI PKWY, HANOVER TWP. W B 824 3050 W-B 824-3050 712345 707972 C O L L E G E B A S K E T B A L L. Race Statistics Average Speed of Race Winner: 114.976 mph. Time of Race: 3 hours, 29 minutes, 0 seconds. Margin of Victory: 1.306 seconds. Caution Flags: 8 for 54 laps. Lead Changes: 26 among 15 drivers. Lap Leaders: C.Edwards 1-14; T.Kvapil 15-17; J.Nemechek 18-20; C.Edwards 21-35; J.Montoya 36-37; B.Keselowski 38-47; C.Edwards 48-78; J.Gordon 79; M.Kenseth 80; J.Johnson 81-82; C.Edwards 83-112; G.Biffle 113-114; K.Harvick 115-116; J.Gordon 117-122; T.Stewart 123-135; D.Gilliland 136; K.Harvick 137-146; M.Truex Jr. 147-151; T.Stewart 152-156; J.Burton 157-160; M.Kenseth 161-174; C.Edwards 175-200; T.Stewart 201-211; C.Edwards 212-214; Ky.Busch 215-230; B.Keselowski 231; T.Stewart 232-267. Leaders Summary (Driver, Times Led, Laps Led): C.Edwards, 6 times for 119 laps; T.Stewart, 4 times for 65 laps; Ky.Busch, 1 time for 16 laps; M.Kenseth, 2 times for 15 laps; K.Harvick, 2 times for 12 laps; B.Keselowski, 2 times for 11 laps; J.Gordon, 2 times for 7 laps; M.Truex Jr., 1 time for 5 laps; J.Burton, 1 time for 4 laps; T.Kvapil, 1 time for 3 laps; J.Nemechek, 1 time for 3 laps; J.Montoya, 1 time for 2 laps; J.Johnson, 1 time for 2 laps; G.Biffle, 1 time for 2 laps; D.Gilliland, 1 time for 1 lap. Top 12 in Points: 1. T.Stewart, 2,403; 2. C.Edwards, 2,403; 3. K.Harvick, 2,345; 4. M.Kenseth, 2,330; 5. Bra.Keselowski, 2,319; 6. J.Johnson, 2,304; 7. D.Earnhardt Jr., 2,290; 8. J.Gordon, 2,287; 9. D.Hamlin, 2,284; 10. R.Newman, 2,284; 11. Ku.Busch, 2,262; 12. Ky.Busch, 2,246. NASCAR Driver Rating Formula A maximum of 150 points can be attained in a race. The formula combines the following categories: Wins, Finishes, Top-15 Finishes, Average Running Position While on Lead Lap, Average Speed Under Green, Fastest Lap, Led Most Laps, Lead-Lap Finish. L P G A CME Group Titleholders Par Scores Sunday At Grand Cypress Golf Club Orlando, Fla. Purse: $1.5 million Yardage: 6,518;Par: 72 Final Hee Young Park, $500,000 71-69-69-70--279 -9 Paula Creamer, $95,516 .....69-71-71-70--281 -7 Sandra Gal, $95,516............69-69-71-72--281 -7 Na Yeon Choi, $56,070.......66-71-75-70--282 -6 Suzann Pettersen, $56,070 73-69-68-72--282 -6 Michelle Wie, $35,057 .........71-73-72-70--286 -2 Cristie Kerr, $35,057............68-76-71-71--286 -2 Yani Tseng, $35,057............70-76-66-74--286 -2 Maria Hjorth, $26,975 ..........68-78-73-68--287 -1 Se Ri Pak, $23,640 ..............72-74-72-70--288 E I.K. Kim, $23,640..................72-71-71-74--288 E Katie Futcher, $19,336 ........73-74-75-67--289 +1 Morgan Pressel, $19,336 ....67-78-75-69--289 +1 Anna Nordqvist, $19,336 ....69-75-73-72--289 +1 Beatriz Recari, $19,336 .......70-77-67-75--289 +1 Candie Kung, $15,457.........69-76-73-72--290 +2 Ai Miyazato, $15,457 ...........71-74-73-72--290 +2 Mika Miyazato, $15,457.......71-75-72-72--290 +2 Jenny Shin, $15,457 ............72-72-74-72--290 +2 Hee-Won Han, $13,941.......72-75-72-72--291 +3 Amy Yang, $12,499 ..............72-75-74-71--292 +4 Julieta Granada, $12,499....78-69-73-72--292 +4 Mina Harigae, $12,499 ........72-71-75-74--292 +4 Brittany Lincicome, $12,499..................................70-75-73-74--292 +4 Jimin Kang, $12,499 ............72-71-74-75--292 +4 Brittany Lang, $10,123.........74-77-75-67--293 +5 Catriona Matthew, $10,123 .76-75-74-68--293 +5 Caroline Hedwall, $10,123 .72-74-73-74--293 +5 Karen Stupples, $10,123 ....71-75-73-74--293 +5 Song-Hee Kim, $10,123......81-71-66-75--293 +5 Belen Mozo, $10,123...........73-71-71-78--293 +5 Azahara Munoz, $8,789 ......69-75-78-72--294 +6 Christina Kim, $8,082 ..........73-77-73-72--295 +7 Chella Choi, $8,082 .............73-77-72-73--295 +7 Hee Kyung Seo, $8,082 ......73-75-73-74--295 +7 Dewi Claire Schreefel, $7,001 ....................................69-76-77-74--296 +8 Lexi Thompson, $7,001.......71-75-76-74--296 +8 Pat Hurst, $7,001..................70-78-73-75--296 +8 Karrie Webb, $7,001............67-80-74-75--296 +8 Stacy Lewis, $6,062.............77-76-73-71--297 +9 Amanda Blumenherst, $6,062 ....................................70-78-74-75--297 +9 Wendy Ward, $6,062...........70-71-74-82--297 +9 Sophie Gustafson, $5,576 ..73-74-78-73--298+10 Mindy Kim, $5,152 ...............71-81-75-72--299+11 Meena Lee, $5,152 ..............72-78-77-72--299+11 Angela Stanford, $5,152 .....71-75-80-73--299+11 Amy Hung, $4,607................70-82-75-73--300+12 Natalie Gulbis, $4,607 .........73-76-75-76--300+12 Jennifer Johnson, $4,607 ...73-78-72-77--300+12 Pornanong Phatlum, $4,183 ....................................74-76-78-73--301+13 Christel Boeljon, $4,183 ......76-71-79-75--301+13 Paige Mackenzie, $4,001 ...75-81-76-71--303+15 Ryann O'Toole, $3,758 .......78-75-79-72--304+16 Vicky Hurst, $3,758..............75-80-75-74--304+16 Alison Walshe, $3,758.........72-78-74-80--304+16 Tiffany Joh, $3,455...............75-80-78-72--305+17 Mi Hyun Kim, $3,455 ...........69-80-79-77--305+17 Giulia Sergas, $3,273 ..........75-79-77-76--307+19 Sun Young Yoo, $3,153 ......80-77-79-73--309+21 A H L At A Glance All Times EST EASTERN CONFERENCE Atlantic Division GP W L OL SL Pts GF GA St. John's ................ 18 12 3 3 0 27 67 52 Manchester ............. 19 9 9 0 1 19 50 50 Providence.............. 20 8 10 1 1 18 44 63 Portland ................... 16 8 7 0 1 17 45 49 Worcester ............... 14 6 4 2 2 16 39 36 East Division GP W L OL SL Pts GF GA Wilkes-Barre/ Scranton.................. 18 10 4 1 3 24 57 44 Norfolk ..................... 18 10 7 0 1 21 66 52 Hershey................... 16 7 4 3 2 19 54 49 Syracuse ................. 16 7 6 2 1 17 51 54 Binghamton ............ 18 6 10 1 1 14 41 56 Northeast Division GP W L OL SL Pts GF GA Connecticut............... 16 9 4 1 2 21 50 48 Springfield................. 17 10 7 0 0 20 55 47 Albany........................ 17 9 6 1 1 20 43 51 Bridgeport ................. 18 9 7 2 0 20 55 61 Adirondack................ 16 9 6 0 1 19 51 45 WESTERN CONFERENCE Midwest Division GP W L OL SL Pts GF GA Charlotte ................... 18 10 6 1 1 22 49 46 Milwaukee ................. 15 10 4 0 1 21 43 37 Peoria ........................ 19 9 8 1 1 20 64 59 Chicago ..................... 15 7 6 0 2 16 41 38 Rockford.................... 16 6 9 1 0 13 48 60 North Division GP W L OL SL Pts GF GA Toronto...................... 18 10 5 2 1 23 54 49 Rochester ................. 18 8 7 2 1 19 48 53 Lake Erie................... 18 7 9 1 1 16 40 51 Hamilton .................... 16 6 8 1 1 14 36 52 Grand Rapids ........... 16 6 9 1 0 13 42 46 West Division GP W L OL SL Pts GF GA Abbotsford .............. 19 13 5 1 0 27 52 40 Oklahoma City........ 18 12 5 0 1 25 57 42 Houston................... 18 10 3 1 4 25 58 47 Texas....................... 16 7 8 0 1 15 51 55 San Antonio ............ 17 7 10 0 0 14 39 58 NOTE: Two points are awarded for a win, one point for an overtime or shootout loss. Sunday's Games Charlotte 4, Rockford 3 Bridgeport 5, Adirondack 3 Worcester 3, Wilkes-Barre/Scranton 1 Connecticut 3, Providence 2, SO Milwaukee 3, San Antonio 1 Toronto 4, Peoria 3 Abbotsford 1, Houston 0,. Monday's Games No games scheduled Tuesday's Games No games scheduled Wednesday's Games Providence at Hershey, 7 p.m. Portland at Connecticut, 7 p.m. Hamilton at Grand Rapids, 7 p.m. Worcester at Manchester, 7 p.m. Syracuse at Wilkes-Barre/Scranton, 7:05 p.m. Charlotte at Norfolk, 7:15 p.m. San Antonio at Rockford, 8:05 p.m. Chicago at Texas, 8:30 p.m. F I G H T S C H E D U L E Free Removal. Call Anytime. Highest Price Paid In Cash! ALL JUNK CARS & TRUCKS WANTED Mon-Fri 8:30-6:00 HUNTING SEASON HOURS Sat 8-4 CK Sun 10-2 CMYK THE TIMES LEADER N F L MONDAY, NOVEMBER 21, 2011 PAGE 3B ROUNDUP STANDINGS, STATS S TA N D I N G S AMERICAN CONFERENCE East W L T Pct PF PA New England .......................................... 6 3 0 .667 259 200 N.Y. Jets ................................................. 5 5 0 .500 228 217 Buffalo ..................................................... 5 5 0 .500 237 253 Miami ....................................................... 3 7 0 .300 193 186 South W L T Pct PF PA Houston................................................. 7 3 0 .700 273 166 Tennessee............................................ 5 5 0 .500 203 195 Jacksonville.......................................... 3 7 0 .300 125 180 Indianapolis .......................................... 0 10 0 .000 131 300 North W L T Pct PF PA Baltimore ................................................. 7 3 0 .700 256 176 Pittsburgh ............................................... 7 3 0 .700 220 179 Cincinnati ................................................ 6 4 0 .600 236 195 Cleveland ................................................ 4 6 0 .400 145 193 West W L T Pct PF PA Oakland................................................... 6 4 0 .600 235 254 Denver..................................................... 5 5 0 .500 205 247 Kansas City ............................................ 4 5 0 .444 141 218 San Diego ............................................... 4 6 0 .400 236 259 NATIONAL CONFERENCE East W L T Pct PF PA Dallas ...................................................... 6 4 0 .600 250 206 N.Y. Giants ............................................. 6 4 0 .600 228 228 Philadelphia............................................ 4 6 0 .400 237 213 Washington ............................................ 3 7 0 .300 160 205 South W L T Pct PF PA New Orleans........................................... 7 3 0 .700 313 228 Atlanta ..................................................... 6 4 0 .600 235 213 Tampa Bay.............................................. 4 6 0 .400 182 268 Carolina................................................... 2 8 0 .200 225 286 North W L T Pct PF PA Green Bay ............................................ 10 0 0 1.000 355 212 Detroit................................................... 7 3 0 .700 301 219 Chicago................................................ 7 3 0 .700 268 207 Minnesota ............................................ 2 8 0 .200 200 271 West W L T Pct PF PA San Francisco ........................................ 9 1 0 .900 256 145 Seattle ..................................................... 4 6 0 .400 168 209 Arizona .................................................... 3 7 0 .300 190 236 St. Louis .................................................. 2 8 0 .200 120 247 Thursday's Game Denver 17, N.Y. Jets 13 Sunday's Games Green Bay 35, Tampa Bay 26 Oakland 27, Minnesota 21 Detroit 49, Carolina 35 Dallas 27, Washington 24, OT Cleveland 14, Jacksonville 10 Baltimore 31, Cincinnati 24 Miami 35, Buffalo 8 San Francisco 23, Arizona 7 Seattle 24, St. Louis 7 Chicago 31, San Diego 20 Atlanta 23, Tennessee 17 Philadelphia 17, N.Y. Giants 10 Open: Houston, Indianapolis, New Orleans, Pittsburgh Monday's Game Kansas City at New England, 8:30 p.m. Home Away AFC NFC Div 3-1-0 3-2-0 5-2-0 1-1-0 3-1-0 4-1-0 1-4-0 4-5-0 1-0-0 2-2-0 4-1-0 1-4-0 3-3-0 2-2-0 1-2-0 2-3-0 1-4-0 2-6-0 1-1-0 1-2-0 Home Away AFC NFC Div 4-1-0 3-2-0 6-2-0 1-1-0 3-0-0 3-2-0 2-3-0 4-4-0 1-1-0 1-3-0 2-2-0 1-5-0 3-5-0 0-2-0 2-1-0 0-5-0 0-5-0 0-7-0 0-3-0 0-3-0 Home Away AFC NFC Div 5-0-0 2-3-0 5-2-0 2-1-0 3-0-0 4-1-0 3-2-0 5-3-0 2-0-0 1-2-0 2-2-0 4-2-0 5-3-0 1-1-0 1-2-0 3-3-0 1-3-0 3-4-0 1-2-0 0-1-0 Home Away AFC NFC Div 2-3-0 4-1-0 5-4-0 1-0-0 2-2-0 2-3-0 3-2-0 5-3-0 0-2-0 2-2-0 2-3-0 2-2-0 3-4-0 1-1-0 2-2-0 3-2-0 1-4-0 3-4-0 1-2-0 2-2-0 Home Away NFC AFC Div 4-1-0 2-3-0 5-2-0 1-2-0 2-1-0 3-2-0 3-2-0 3-4-0 3-0-0 1-2-0 1-4-0 3-2-0 4-5-0 0-1-0 3-1-0 2-3-0 1-4-0 3-5-0 0-2-0 1-3-0 Home Away NFC AFC Div 4-0-0 3-3-0 4-3-0 3-0-0 3-1-0 3-2-0 3-2-0 4-4-0 2-0-0 2-2-0 3-3-0 1-3-0 3-5-0 1-1-0 2-1-0 2-4-0 0-4-0 1-7-0 1-1-0 0-2-0 Home Away NFC AFC Div 5-0-0 5-0-0 8-0-0 2-0-0 3-0-0 3-2-0 4-1-0 5-3-0 2-0-0 2-1-0 5-1-0 2-2-0 6-3-0 1-0-0 2-2-0 1-4-0 1-4-0 2-5-0 0-3-0 0-4-0 Home Away NFC AFC Div 5-1-0 4-0-0 7-1-0 2-0-0 2-0-0 2-2-0 2-4-0 3-3-0 1-3-0 2-1-0 2-2-0 1-5-0 3-5-0 0-2-0 1-2-0 1-4-0 1-4-0 1-7-0 1-1-0 0-2-0 Dolphins 35, Bills 8 Buffalo ................................. 3 3 0 2 -- 8 Miami ................................... 14 14 7 0 -- 35 First Quarter Buf--FG Rayner 30, 10:13. Mia--Fasano 1 pass from Mat.Moore (Graham kick), 3:28. Mia--Bush 5 run (Graham kick), :58. Second Quarter Mia--Clay 12 pass from Mat.Moore (Graham kick), 12:45. Mia--Bess 4 pass from Mat.Moore (Graham kick), 1:36. Buf--FG Rayner 56, :00. Third Quarter Mia--Hilliard blocked punt recovery in end zone (Graham kick), 10:08. Fourth Quarter Buf--Sheppard safety, 13:25. A--57,531. Buf Mia First downs ........................... 14 16 Total Net Yards .................... 247 242 Rushes-yards ....................... 19-41 35-95 Passing.................................. 206 147 Punt Returns......................... 4-60 6-53 Kickoff Returns..................... 7-141 1-18 Interceptions Ret.................. 0-0 2-20 Comp-Att-Int ......................... 21-44-2 14-20-0 Sacked-Yards Lost .............. 2-9 1-13 Punts...................................... 7-42.1 7-48.1 Fumbles-Lost........................ 4-0 1-0 Penalties-Yards.................... 3-27 4-50 Time of Possession ............. 28:54 31:06 INDIVIDUAL STATISTICS RUSHING--Buffalo, Jackson 7-17, Fitzpatrick 7-16, J.White 2-6, Spiller 3-2. Miami, Thomas 15-50, Bush 15-32, Hartline 1-9, Mat.Moore 3-2, Hilliard 1-2. PASSING--Buffalo, Fitzpatrick 20-39-2-209, Thigpen 1-5-0-6. Miami, Mat.Moore 14-20-0-160. RECEIVING--Buffalo, Chandler 5-71, Jackson 5-50, B.Smith 3-35, Roosevelt 2-28, Spiller 2-18, St.Johnson 2-16, Nelson 1-0, J.White 1-(minus 3). Miami, Clay 4-69, Bush 4-34, Bess 2-25, Fasano 2-8, Hartline 1-19, Marshall 1-5. MISSED FIELD GOALS--None. Cutler may miss up to 8 weeks Report says Bears quarterback broke his thumb in Sunday's win. The Associated Press AP PHOTO Baltimore Ravens running back Ray Rice reacts after scoring a touchdown in the second half of an NFL game against the Cincinnati Bengals in Baltimore on Sunday. Flacco leads Ravens past feisty Bengals The Associated Press 49ers 23, Cardinals 7. Packers 35, Buccaneers. Thursday, Nov. 24 Green Bay at Detroit, 12:30 p.m. Miami at Dallas, 4:15 p.m. San Francisco at Baltimore, 8:20 p.m. Sunday, Nov. 27, Nov. 28 N.Y. Giants at New Orleans, 8:30 p.m. Packers 35, Buccaneers 26 Tampa Bay .......................... 0 10 3 13 -- 26 Green Bay ........................... 7 14 0 14 -- 35 First Quarter GB--Raji 1 run (Crosby kick), 2:51. Second Quarter GB--Crabtree 5 pass from Rodgers (Crosby kick), 13:44. TB--Blount 54 run (Barth kick), 12:46. TB--FG Barth 23, 3:52. GB--Nelson 5 pass from Rodgers (Crosby kick), 1:58. Third Quarter TB--FG Barth 32, 4:53. Fourth Quarter TB--Williams 9 pass from Freeman (pass failed), 13:07. GB--Kuhn 2 run (Crosby kick), 7:42. TB--Briscoe 2 pass from Freeman (Barth kick), 4:25. GB--Nelson 40 pass from Rodgers (Crosby kick), 2:55. A--70,498. TB GB First downs ........................... 22 24 Total Net Yards .................... 455 378 Rushes-yards ....................... 20-121 23-91 Passing.................................. 334 287 Punt Returns......................... 1-16 2-69 Kickoff Returns..................... 6-152 3-51 Interceptions Ret.................. 1-7 2-28 Comp-Att-Int ......................... 28-38-2 23-34-1 Sacked-Yards Lost .............. 2-8 2-12 Punts...................................... 3-46.7 3-54.3 Fumbles-Lost........................ 1-0 2-0 Penalties-Yards.................... 9-55 5-37 Time of Possession ............. 31:21 28:39 INDIVIDUAL STATISTICS RUSHING--Tampa Bay, Blount 18-107, Benn 1-9, Freeman 1-5. Green Bay, Starks 11-38, Rodgers 5-28, Grant 4-16, Masthay 1-6, Kuhn 1-2, Raji 1-1. PASSING--Tampa Bay, Freeman 28-38-2-342. Green Bay, Rodgers 23-34-1-299. RECEIVING--Tampa Bay, Winslow 9-132, Williams 7-83, Benn 5-75, Briscoe 2-7, Parker 1-20, Lorig 1-10, Lumpkin 1-8, Blount 1-6, Stocker 1-1. Green Bay, Nelson 6-123, Starks 6-53, Driver 4-72, G.Jennings 2-6, Crabtree 2-5, Finley 1-30, Cobb 1-11, Kuhn 1-(minus 1). MISSED FIELD GOALS--Green Bay, Crosby 29 (WR). RECEIVING--Carolina, Stewart 6-87, Smith 5-41, LaFell 3-51, Naanee 3-41, Olsen 3-23, D.Williams 1-32, Brockel 1-5. Detroit, Burleson 7-63, Johnson 5-89, K.Smith 4-61, Pettigrew 4-37, R.Davis 2-27, Scheffler 2-24, T.Young 2-14, Heller 1-12, Morris 1-8. MISSED FIELD GOALS--None. Cowboys 27, Redskins 24 Raiders 27, Vikings 21 Oakland ............................... 3 21 3 0 -- 27 Minnesota ........................... 7 0 0 14 -- 21 First Quarter Min--Peterson 12 run (Longwell kick), 5:17. Oak--FG Janikowski 29, :57. Second Quarter Oak--Schilens 11 pass from Palmer (Janikowski kick), 9:10. Oak--Bush 2 run (Janikowski kick), 1:20. Oak--Palmer 1 run (Janikowski kick), :08. Third Quarter Oak--FG Janikowski 26, :51. Fourth Quarter Min--Harvin 26 pass from Ponder (Longwell kick), 14:52. Min--Rudolph 1 pass from Ponder (Longwell kick), 5:08. A--62,748. Oak Min First downs ........................... 22 20 Total Net Yards .................... 301 311 Rushes-yards ....................... 41-162 24-124 Passing.................................. 139 187 Punt Returns......................... 2-34 5-38 Kickoff Returns..................... 4-124 5-109 Interceptions Ret.................. 3-43 0-0 Comp-Att-Int ......................... 17-23-0 19-33-3 Sacked-Yards Lost .............. 4-25 5-24 Punts...................................... 6-47.3 3-44.3 Fumbles-Lost........................ 1-1 3-2 Penalties-Yards.................... 12-117 9-50 Time of Possession ............. 35:44 24:16 INDIVIDUAL STATISTICS RUSHING--Oakland, Bush 30-109, Reece 6-45, Palmer 3-5, T.Jones 2-3. Minnesota, Ponder 5-71, Peterson 6-26, Harvin 5-21, Gerhart 7-18, Kluwe 1-(minus 12). PASSING--Oakland, Palmer 17-23-0-164. Minnesota, Ponder 19-33-3-211. RECEIVING--Oakland, Boss 5-37, Heyward-Bey 4-43, Myers 2-23, Bush 2-20, Reece 2-16, Moore 1-14, Schilens 1-11. Minnesota, Harvin 6-73, Jenkins 4-30, Rudolph 3-7, Shiancoe 2-42, Aromashodu 1-42, Gerhart 1-7, D'Imperio 1-6, Camarillo 1-4. MISSED FIELD GOALS--Oakland, Janikowski 49 (BK).). Arizona .................................. 0 0 0 7 -- 7 San Francisco....................... 6 3 14 0 -- 23 First Quarter SF--FG Akers 22, 3:10. SF--FG Akers 43, 2:06. Second Quarter SF--FG Akers 29, :56. Third Quarter SF--K.Williams 8 pass from Ale.Smith (Akers kick), 7:12. SF--V.Davis 18 pass from Ale.Smith (Akers kick), 4:14. Fourth Quarter Ari--Fitzgerald 23 pass from Bartel (Feely kick), 8:38. A--69,732. Ari SF First downs ........................... 11 25 Total Net Yards .................... 229 431 Rushes-yards ....................... 11-80 49-164 Passing.................................. 149 267 Punt Returns......................... 2-22 4-16 Kickoff Returns..................... 3-74 2-42 Interceptions Ret.................. 1-0 3-60 Comp-Att-Int ......................... 14-35-3 20-38-1 Sacked-Yards Lost .............. 2-14 0-0 Punts...................................... 6-46.5 3-45.3 Fumbles-Lost........................ 3-2 0-0 Penalties-Yards.................... 6-75 7-87 Time of Possession ............. 15:44 44:16 INDIVIDUAL STATISTICS RUSHING--Arizona, Taylor 1-34, Wells 8-33, Bartel 1-9, Stephens-Howling 1-4. San Francisco, Gore 24-88, Dixon 7-32, Hunter 11-27, Ale.Smith 7-17. PASSING--Arizona, Skelton 6-19-3-99, Bartel 8-16-0-64. San Francisco, Ale.Smith 20-38-1-267. RECEIVING--Arizona, Doucet 6-50, Roberts 3-51, Fitzgerald 3-41, Maui'a 1-12, Sampson 1-9. San Francisco, Crabtree 7-120, V.Davis 5-67, K.Williams 5-54, Hunter 1-15, Gore 1-6, Miller 1-5. MISSED FIELD GOALS--San Francisco, Akers 46 (BK), 49 (WR), 30 (BK). CHICAGO -- The Chicago Tribune is reporting Chicago Bears quarterback Jay Cutler broke his right thumb during Sunday's 3120 victory over the San Diego Chargers and will miss six to eight weeks. The Bears declined comment. Cutler's agent, Bus Cook, did not return messages from The Associated Press. The Tribune reports Cutler was injured trying to prevent a touchdown on a 64yard it. Eagles 17, Giants 10 Philadelphia .......................... 0 10 0 7 -- 17 N.Y. Giants............................ 0 3 0 7 -- 10 Second Quarter Phi--FG Henery 33, 11:31. Phi--Smith 14 pass from Young (Henery kick), 1:22. NYG--FG Tynes 48, :00. Fourth Quarter NYG--Cruz 24 pass from Manning (Tynes kick), 11:36. Phi--Cooper 8 pass from Young (Henery kick), 2:45. A--79,743. Phi NYG First downs ........................... 17 12 Total Net Yards .................... 391 278 Rushes-yards ....................... 33-136 17-29 Passing.................................. 255 249 Punt Returns......................... 4-63 0-0 Kickoff Returns..................... 1-26 3-61 Interceptions Ret.................. 1-14 3-6 Comp-Att-Int ......................... 23-36-3 18-35-1 Sacked-Yards Lost .............. 1-3 3-15 Punts...................................... 6-43.5 9-51.4 Fumbles-Lost........................ 0-0 1-1 Penalties-Yards.................... 5-30 5-39 Time of Possession ............. 36:18 23:42 INDIVIDUAL STATISTICS RUSHING--Philadelphia, McCoy 23-113, Hall 2-11, Brown 1-6, Young 6-5, Lewis 1-1. N.Y. Giants, Jacobs 12-21, Scott 2-11, Ware 3-(minus 3). PASSING--Philadelphia, Young 23-36-3-258. N.Y. Giants, Manning 18-35-1-264. RECEIVING--Philadelphia, D.Jackson 6-88, Celek 6-60, Cooper 5-75, McCoy 3-2, Smith 1-14, Avant 1-13, Harbor 1-6. N.Y. Giants, Cruz 6-128, Nicks 3-69, Jacobs 3-11, Ware 2-17, Ballard 1-13, Barden 1-13, Scott 1-9, Manningham 1-4. MISSED FIELD GOALS--None. Seahawks 24, Rams 7 Seattle.................................... 0 10 7 7 -- 24 St. Louis ................................ 7 0 0 0 -- 7 First Quarter StL--Lloyd 30 pass from Bradford (Jo.Brown kick), 9:15. Second Quarter Sea--Rice 14 pass from Jackson (Hauschka kick), 8:36. Sea--FG Hauschka 19, :00. Third Quarter Sea--Lynch 3 run (Hauschka kick), 5:58. Fourth Quarter Sea--Forsett 22 run (Hauschka kick), 4:21.). MISSED FIELD GOALS--None. N F L T O D AY Bears 31, Chargers 20 SCOREBOARD Monday, Nov. 21 Kansas City (4-5) at New England (6-3), 8:30 p.m. EST. The Chiefs look to keep pace in the AFC West while the Patriots seek to extend their lead in the East. Browns 14, Jaguars 10 Lions 49, Panthers 35 Jacksonville ............................ 0 7 0 3 -- 10 Cleveland................................. 0 7 0 7 -- 14 Second Quarter Jac--Jones-Drew 6 run (Scobee kick), 10:50. Cle--Ogbonnaya 1 run (Dawson kick), 3:21. Fourth Quarter Cle--Cribbs 3 pass from McCoy (Dawson kick), 12:15. Jac--FG Scobee 42, 5:39. A--63,498. Jac Cle First downs ........................... 23 20 Total Net Yards .................... 303 334 Rushes-yards ....................... 29-108 28-148 Passing.................................. 195 186 Punt Returns......................... 1-11 1-0 Kickoff Returns..................... 1-17 2-63 Interceptions Ret.................. 1-28 0-0 Comp-Att-Int ......................... 22-41-0 17-24-1 Sacked-Yards Lost .............. 1-15 2-13 Punts...................................... 5-40.6 3-36.0 Fumbles-Lost........................ 1-0 0-0 Penalties-Yards.................... 9-81 9-70 Time of Possession ............. 30:53 29:07 INDIVIDUAL STATISTICS RUSHING--Jacksonville, Jones-Drew 21-87, Gabbert 2-10, Owens 2-10, Karim 4-1. Cleveland, Ogbonnaya 21-115, McCoy 5-27, Clayton 1-4, Cribbs 1-2. PASSING--Jacksonville, Gabbert 22-41-0-210. Cleveland, McCoy 17-24-1-199. RECEIVING--Jacksonville, Lewis 7-64, JonesDrew 4-31, Hill 3-49, Dillard 3-29, Thomas 3-23, West 2-14. Cleveland, Little 5-59, Cribbs 3-20, Massaquoi 2-19, Ogbonnaya 2-19, Watson 2-18, Marecic 2-13, Norwood 1-51. MISSED FIELD GOALS--Cleveland, Dawson 38 (WR). Cowboys 27, Redskins 24 LANDOVER, Md. -- Dan Bailey kicked a 39-yard field goal 9:21 into overtime to give Seahawks 24, Rams 7 Dallas its third straight win. ST. LOUIS -- Sidney Rice The Cowboys rallied after caught a touchdown pass, drew allowing a late fourth-quarter a pass interference that led to a touchdown and improved to field goal for Seattle. 6-4, keeping the pressure on Chris Clemons had three of the first-place New York Giants Seattle's five sacks on Sam in the NFC East. Bradford, and he also forced The Redskins lost their sixth the Rams quarterback to fumstraight, their longest skid ble twice, both leading to since their 0-7 start in 1998. touchdowns. They sent the game to overMarshawn Lynch scored for time on Rex Grossman's 4-yard the fourth straight week, alfade pass to Donte' Stallworth though he missed on a third with 14 seconds remaining in straight 100-yard game, finregulation. ishing with 88 yards. The Washington's Graham Gano Rams (2-8) totaled 185 yards. missed a 52-yard field goal in The Seahawks (4-6) won on overtime. consecutive weeks for the first Bailey's winning kick was set time, following up on an upset up by Tony Romo's 26-yard over Baltimore, and have won 12 of 13 in the series. pass to Dez Bryant. Carolina .......................... 10 17 0 8 -- 35 Detroit ............................. 0 14 14 21 -- 49 First Quarter Car--FG Mare 27, 3:55. Car--Smith 15 pass from Newton (Mare kick), :35. Second Quarter Det--K.Smith 28 pass from Stafford (Hanson kick), 14:04. Car--Pilares 101 kickoff return (Mare kick), 13:50. Car--Newton 11 run (Mare kick), 9:32. Det--T.Young 3 pass from Stafford (Hanson kick), 2:57. Car--FG Mare 31, :00. Third Quarter Det--Burleson 16 pass from Stafford (Hanson kick), 10:28. Det--Scheffler 17 pass from Stafford (Hanson kick), 5:57. Fourth Quarter Det--K.Smith 4 run (Hanson kick), 8:02. Car--Newton 6 run (Smith pass from Newton), 4:59. Det--Pettigrew 7 pass from Stafford (Hanson kick), 2:32. Det--K.Smith 19 run (Hanson kick), 2:00. A--63,633. Car Det First downs ........................... 24 29 Total Net Yards .................... 409 495 Rushes-yards ....................... 26-137 29-169 Passing.................................. 272 326 Punt Returns......................... 2-25 2-25 Kickoff Returns..................... 3-140 2-46 Interceptions Ret.................. 2-21 4-43 Comp-Att-Int ......................... 22-38-4 28-36-2 Sacked-Yards Lost .............. 1-8 2-9 Punts...................................... 3-40.7 2-48.0 Fumbles-Lost........................ 0-0 1-1 Penalties-Yards.................... 7-70 8-56 Time of Possession ............. 26:53 33:07 INDIVIDUAL STATISTICS RUSHING--Carolina, D.Williams 10-73, Newton 7-37, Stewart 8-22, Smith 1-5. Detroit, K.Smith 16-140, Morris 7-29, Stafford 4-2, K.Williams 1-0, Logan 1-(minus 2). PASSING--Carolina, Newton 22-38-4-280. Detroit, Stafford 28-36-2-335. Ravens 31, Bengals 24 San Diego ........................... 3 7 7 3 -- 20 Chicago ............................... 3 14 14 0 -- 31 First Quarter SD--FG Novak 28, 9:40. Chi--FG Gould 42, 5:01. Second Quarter Chi--Barber 1 run (Gould kick), 4:09. SD--Gates 8 pass from Rivers (Novak kick), 2:04. Chi--K.Davis 4 pass from Cutler (Gould kick), :20. Third Quarter SD--Jackson 5 pass from Rivers (Novak kick), 10:58. Chi--Cutler 1 run (Gould kick), 5:47. Chi--Knox 24 pass from Cutler (Gould kick), 4:53. Fourth Quarter SD--FG Novak 48, 14:55. A--62,344. SD Chi First downs ........................... 15 23 Total Net Yards .................... 332 379 Rushes-yards ....................... 17-52 32-93 Passing.................................. 280 286 Punt Returns......................... 0-0 2-59 Kickoff Returns..................... 5-167 5-122 Interceptions Ret.................. 1-64 2-10 Comp-Att-Int ......................... 21-31-2 18-32-1 Sacked-Yards Lost .............. 0-0 0-0 Punts...................................... 3-39.3 3-45.7 Fumbles-Lost........................ 2-1 0-0 Penalties-Yards.................... 3-20 6-61 Time of Possession ............. 26:50 33:10 INDIVIDUAL STATISTICS RUSHING--San Diego, Mathews 13-37, Tolbert 3-14, Hester 1-1. Chicago, Forte 21-59, Barber 6-23, Cutler 5-11. PASSING--San Diego, Rivers 21-31-2-280. Chicago, Cutler 18-31-1-286, Podlesh 0-1-0-0. RECEIVING--San Diego, Jackson 7-165, Tolbert 5-24, Gates 4-63, Mathews 2-14, Hester 2-6, V.Brown 1-8. Chicago, R.Williams 5-62, Forte 4-26, Knox 3-97, Bennett 3-75, Spaeth 1-13, Clutts 1-9, K.Davis 1-4. MISSED FIELD GOALS--San Diego, Novak 55 (SH). STARS Cincinnati .......................... 7 0 7 10 -- 24 Baltimore........................... 0 14 10 7 -- 31 First Quarter Cin--Benson 7 run (Nugent kick), 8:17. Second Quarter Bal--Boldin 35 pass from Flacco (Cundiff kick), 11:17. Bal--Rice 1 run (Cundiff kick), 8:33. Third Quarter Bal--FG Cundiff 22, 10:50. Cin--Benson 3 run (Nugent kick), 6:51. Bal--Rice 2 run (Cundiff kick), :36. Fourth Quarter Bal--T.Smith 38 pass from Flacco (Cundiff kick), 14:02. Cin--Caldwell 49 pass from Dalton (Nugent kick), 10:59. Cin--FG Nugent 27, 5:32. A--71,320. Cin Bal First downs ........................... 23 13 Total Net Yards .................... 483 373 Rushes-yards ....................... 30-119 28-105 Passing.................................. 364 268 Punt Returns......................... 4-24 3-6 Kickoff Returns..................... 0-0 1-26 Interceptions Ret.................. 1-7 3-20 Comp-Att-Int ......................... 24-46-3 17-27-1 Sacked-Yards Lost .............. 2-9 1-2 Punts...................................... 7-38.6 8-48.9 Fumbles-Lost........................ 1-0 3-0 Penalties-Yards.................... 6-43 6-69 Time of Possession ............. 32:53 27:07 INDIVIDUAL STATISTICS RUSHING--Cincinnati, Benson 15-41, Scott 9-40, Dalton 4-32, Leonard 2-6. Baltimore, Rice 20-104, R.Williams 5-3, Flacco 3-(minus 2). PASSING--Cincinnati, Dalton 24-45-3-373, Scott 0-1-0-0. Baltimore, Flacco 17-27-1-270. RECEIVING--Cincinnati, Simpson 8-152, Leonard 5-57, Hawkins 4-47, Caldwell 3-63, Gresham 3-48, Cochart 1-6. Baltimore, T.Smith 6-165, Rice 5-43, Dickson 2-21, Leach 2-1, Boldin 1-35, R.Williams 1-5. MISSED FIELD GOALS--None. Falcons 23, Titans 17 Tennessee ............................ 0 3 7 7 -- 17 Atlanta.................................... 7 6 10 0 -- 23 First Quarter Atl--Gonzalez 17 pass from Ryan (Bryant kick), 10:41. Second Quarter Atl--FG Bryant 19, 14:08. Atl--FG Bryant 33, 7:18. Ten--FG Bironas 46, :02. Third Quarter Atl--Turner 4 run (Bryant kick), 11:56. Atl--FG Bryant 24, 3:07. Ten--Washington 40 pass from Locker (Bironas kick), 2:00. Fourth Quarter Ten--Washington 4 pass from Locker (Bironas kick), 3:06. A--68,164. Ten Atl First downs ........................... 17 25 Total Net Yards .................... 298 432 Rushes-yards ....................... 14-41 36-116 Passing.................................. 257 316 Punt Returns......................... 1-(-1) 2-27 Kickoff Returns..................... 5-139 0-0 Interceptions Ret.................. 0-0 1-14 Comp-Att-Int ......................... 22-44-1 22-32-0 Sacked-Yards Lost .............. 1-7 0-0 Punts...................................... 5-45.0 2-33.0 Fumbles-Lost........................ 0-0 1-1 Penalties-Yards.................... 10-86 5-55 Time of Possession ............. 23:01 36:59 INDIVIDUAL STATISTICS RUSHING--Tennessee, Hasselbeck 1-17, Johnson 12-13, Locker 1-11. Atlanta, Turner 21-100, Snelling 7-11, Ryan 6-3, Rodgers 2-2. PASSING--Tennessee, Locker 9-19-0-140, Hasselbeck 13-25-1-124. Atlanta, Ryan 22-32-0-316. RECEIVING--Tennessee, Washington 9-115, Cook 5-51, Ringer 3-35, Johnson 3-15, L.Hawkins 1-32, Williams 1-16. Atlanta, White 7-147, Gonzalez 5-74, Douglas 4-51, Weems 3-20, Palmer 1-11, Turner 1-9, Snelling 1-4. MISSED FIELD GOALS--None. Passing -- Matthew Stafford, Lions, was 28 of 36 for 335 yards and five touchdowns in Detroit's 49-35 win over Carolina. -- Matt Ryan, Falcons, completed 22 of 32 for 316 yards and a TD in Atlanta's 23-17 win over Tennessee. -- Aaron Rodgers, Packers, threw for 299 yards with three touchdowns in Green Bay's 35-26 win over Tampa Bay. Josh Freeman, Buccaneers, threw for 342 yards and two touchdowns. -- Tony Romo, Cowboys completed 23 of 37 passes for 292 yards and three touchdowns in Dallas' 27-24 OT win over Washington. -- Jay Cutler, Bears, threw for 286 yards and two touchdowns in Chicago's 31-20 win over San Diego. -- Joe Flacco, Ravens, threw for 270 yards and two touchdowns in Baltimore's 31-24 win over Cincinnati. Rookie Andy Dalton, Bengals, passed for 373 yards. -- Alex Smith, 49ers, threw for 267 yards and two touchdowns in San Francisco's 23-7 win over Arizona. -- Matt Moore, Dolphins, threw for three scores in Miami's 35-8 win over Buffalo. Rushing -- Kevin Smith, Lions, ran for a career-high 140 yards and three touchdowns in Detroit's 49-35 win over Carolina. -- LeGarrette Blount, had 107 yards rushing and a TD in Tampa Bay's 35-26 loss to Green Bay. -- Ray Rice, Ravens, rushed for 104 yards and two touchdowns in Baltimore's 31-24 win over Cincinnati. -- Chris Ogbonnaya, Browns, rushed for 115 yards and a touchdown in Cleveland's 14-10 win over Jacksonville. -- Michael Bush, Raiders, rushed for 109 yards and a touchdown in Oakland's 27-21 win over Minnesota. -- Michael Turner, Falcons, rushed for 100 yards and a score in Atlanta's 23-17 win over Tennessee. Receiving -- Rookie Torrey Smith, Ravens, had six catches for 165 yards and a TD in Baltimore's 31-24 win over Cincinnati. Jerome Simpson, Bengals, had eight catches for 152 yards. -- Vincent Jackson, Chargers, had seven catches for 165 yards and a touchdown in San Diego's 31-20 loss to Chicago. -- Roddy White, Falcons, had seven receptions for 147 yards in Atlanta's 23-17 win over Tennessee. Defense -- Chris Clemons, Seahawks, had three sacks and two forced fumbles in Seattle's 24-7 win over St. Louis. -- Charles Tillman, Bears, had a strip and fumble recovery in Chicago's 31-20 win over San Diego. Special Teams -- Chris Clemons, Dolphins, blocked a punt that Lex Hilliard recovered for a touchdown in Miami's 35-8 win over Buffalo. Dave Rayner, Bills, kicked a career-long 56-yard field goal. -- Rookie Kealoha Pilares, Panthers, returned a kickoff 101 yards for a score in Carolina's 49-35 loss to Detroit. STATS Miami scored on a blocked punt for the first time since 1990. The play ended a streak of 735 punts without a block by Buffalo's Brian Moorman. It was the third-longest such streak in NFL history. ... The Bills went 0 for 14 on third- and fourth-down conversions. ... The Vikings fell to 2-8 for the first time since 1962. ... The Lions are the first NFL team to win three games in a season after trailing by at least 17 points. ... The Redskins' 24 points were more than the 20 they scored in their three previous games combined. ... Vernon Davis had the 34th TD of his 49ers career, passing Brent Jones for the most by a tight end in franchise history. ... Seattle wide receiver Sidney Rice completed a 55-yard pass to open the game and caught a touchdown. CMYK PAGE 4B MONDAY, NOVEMBER 21, 2011 N H L THE TIMES LEADER ROUNDUP couldn't get one past Greiss. The Avalanche had a 36-18 DENVER -- Patrick Marleau shot advantage in the game. had a hat trick, Thomas Greiss With San Jose on the power stopped 35 shots and the San play, the Avalanche pulled GiJose Sharks beat the Colorado Avalanche 4-1 on Sunday night. guere with a little more than a minute left for an extra attacker. Joe Pavelski also scored, Marleau scored into the empty Mark-Edouard Vlasic had three assists and Joe Thornton added net with 43 seconds left to finish the hat trick. He has nine two assists for the Sharks, who have won three straight and five goals this season. Colorado took a 1-0 lead on of their last six. Matt Duchene had a goal and Matt Duchene's team-leading ninth goal of the season with Jean-Sebastien Giguere had 14 saves for Colorado, which fell to 12:35 left in the first. Duchene took a pass from Ryan Wilson 3-7 on home ice. and roofed a shot from the slot. The Sharks controlled the Marleau tied it with 7:44 left play to start the second period in the first period when he and finally broke through on poked in a Vlasic rebound one Marleau's second goal of the game. Marleau scored when he second after the Avalanche redirected a shot by Vlasic with killed off Kyle Quincey's tripping minor. 12:20 left to make it 2-1. Colorado pressed for the Red Wings 4, Ducks 2 equalizer, outshooting the ANAHEIM, Calif. (AP) -- Sharks 9-1 over the next nine Henrik Zetterberg, Johan Franminutes, but San Jose struck again. Pavelski one-timed Thor- zen and Brad Stuart staked Detroit to a three-goal lead, and ton's pass from behind the net the Red Wings held on for a 4-2 to give the Sharks a 3-1 lead victory over the Anaheim with 3:13 left in the second. It Ducks on Sunday night. was Pavelski's 11th goal of the Stuart had two goals, inseason. cluding an empty-netter he The Avalanche turned up banked in off the right boards their offense in the third in an from the Detroit zone with 48 attempt to get back into the seconds to play, and Pavel Datgame. Colorado outshot the syuk had two assists after Sharks 13-3 in the frame but The Associated Press Marleau's hat trick lifts Sharks past Avs By ROB ROSSI The Pittsburgh Tribune-Review Crosby's comeback will begin tonight AP PHOTO Detroit Red Wings center Pavel Datsyuk (13) clears the puck away during the second period of an NHL game against the Anaheim Ducks in Anaheim, Calif., on Sunday. team- mate Devante Smith-Pelly. Hurricanes 3, Maple Leafs 2 RALEIGH, N.C. --. Call it a comeback. Actually, call it The Comeback. Penguins center Sidney Crosby will play tonight defense- man Victor Hedman on Jan. 5. Neither hit drew a fine or suspension from the NHL, thoughcertainCrosby lybest." KEN WALLACE'S THE ULTIMATE TBALL CONTEST FOO V omarscastleinn.com omarscastleinn.com Memo Me r al Hwy. Dall s Memorial Hwy � Dallas llas Memorial wy Dallas 675-0804 COMPLIMENTARY PIZZA Check Out Our Weekly Specials at ALLEY CHEVROLET WIN 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 ER OW S P INT0 WEEKLY O P$ ,00 FREE PA STATE INSPECTION SERVICE COMPLEX M � F: 8 - 4:30 SAT: 8 - 12 Noon PASS OR FAIL PA EMISSION INSPECTION ADDITIONAL 221 CONYNGHAM AVE. WILKES-BARRE, PA 821-2778 1 PAT & DEB'S SPORTS MEMORABILIA & GENERAL MERCHANDISE 248 West Side Mall Edwardsville 714-4912 92 S. Main Str (Across From Bel eet l Furniture) Wilkes-Barre, PA Hours: Mon-Sat 9-6 Please cut along dotted line Week 12 Games of Nov. 24-27 at co-sponsors' retail outlet(s). Entrants must list name, address and phone number below. HOW TO PLAY Deposit Your Entries at these Merchants BACK MOUNTAIN BOWL (570) 793-4773 ; Sun Closed INSTANT REBATES UNTIL 12/6/11 1-800-NEXT-HONDA Financing Available LITTLE CAESAR'S MATT BURNE HONDA PAT & DEB'S SPORTS MEMORABILIA PETRO HARDWARE & SUPPLY CO. RJ MARINE SNACK SHACK KEN WALLACE'S LIMIT: You may enter only one coupon per week. 441 Moyallen Street, W-B, PA 18702 CALL 570-970-2628 1110 Wyoming Ave Scranton DEADLINE: 2 P.M. WEDNESDAY TIEBREAKER 1 TIEBREAKER 2 Total points scored (both teams) in EAGLES game. Total offensive yards (both teams) in this game Petro Hardware & Supply Co. Your One Stop Pumpkin Place... Try ou delicious our elici s l li io Try our delicious Pumpkin Ice Cream, Pumpkin Rice Pudding, Pumpkin Sundaes, Pumpkin Flurries, Pumpkin Shakes and Pumpkin Whoopie Pies THIS WEEK'S GAMES Carolina at Indianapolis Minnesota at Atlanta Chicago at Oakland Washington at Seattle Denver at San Diego New England at Philadelphia Pitt at W. Virginia Ohio State at Michigan Green Bay at Detroit Miami at Dallas 136 TOTAL POINTS San Francisco at Baltimore Name__________________________________________________ Cleveland at Cincinnati Address________________________________________________ Houston at Jacksonville City, State (zip)_________________________________________ Arizona at St. Louis Day Phone ( )__________________________________________ Buffalo at NY Jets Night Phone ( )_________________________________________ Pittsburgh at Kansas City Hardware OFFICE & BIRTHDAY PARTIES YEAR ROUND The Snack Shack 750 Wilkes-Barre Twp Blvd Wilkes-Barre (570)-270-2929 V 640 S. Main St. Inkerman ALLEY CHEVROLET 654-6725 DAILY HOURS: MON-SUN. 1PM-7:30PM SERVICE COMPLEX ���� POWER POINTS OFFICIAL RULES ���� 1. Object of the game is to amass as many of the 136 weekly points as you can. Simply review the week's schedule of games, listed on entry form, and decide which game you are SUREST of picking a winner in. Write in name of your projected winner on the 16-point line, and so on down to the 1-point line, which game you figure to be a tossup. Next, fill in Tiebreaker 1, the total points scored by both teams in the week's designated game. If this step fails to produce a winner, the judges participating co-sponsors. 9. Weekly deadline for entry will be 2 p.m. Thursdays except when noted otherwise on weekly entry form 10. Neither this newspaper nor any co-sponsor will be responsible for illegible entry forms or those lost, stolen or damaged in any way or entries mis-directed attempt. Come and Have Fun with Family & Friends I In Back Mountain Bowl � 12 Cut Sicilian � 4 Sodas � Total of 8 Games � Free Shoes 5:00 - 10:00 $ 3000 Savings $20.95 Only Soft Ice Cream Open All Year Round 415 Memorial Hwy., Dallas � 675-5026 TO ADVERTISE ON THIS PAGE CONTACT A TIMES LEADER ACCOUNT EXECUTIVE AT 570-829-7101 CMYK THE TIMES LEADER G O L F MONDAY, NOVEMBER 21, 2011 PAGE 5B W Y O M I N G VA L L E Y C O N F E R E N C E G O L F A L L- S T A R S Brandon Matthews tops in WVC Junior, Pittston Area The No. 2 golfer for the Patriots for most of the season, he tied for fourth at the Tryba Preseason Tournament and for 25th at the Pre-District tournament. He qualified for the District 2 Tournament for the third straight season. He helped the Patriots to the WVC East Division Championship with a 9-1 record. Also this past season, Pittston Area carded an even-par score for a team during a match at Fox Hill Country Club. Ryan Tracy Junior, Wyoming Valley West A three-time district qualifier, he started his season with finishing tied for fourth at the Tryba Preseason Tournament. At the WVC Pre-District event he tied for 16th and helped his team to a 10-1 mark in the North Division for a share of the championship. It marked the second straight division title for the team. Chris McCue BILL TARUTIS/FOR THE TIMES LEADER Another stellar year By DAVE ROSENGRANT drosengrant@timesleader.com Pittston Area's Brandon Matthews was named The Times Leader's Golfer of the Year for the second straight season. Sophomore, Holy Redeemer He was second in District 2 tournament after winning the Wyoming Valley Conference Pre-District Tournament. The two-time district qualifier placed third at the Tryba Preseason Tournament and helped the Royals to their second straight Wyoming Valley Conference championship. Mariano Medico Brandon Matthews will graduate from Pittston Area in the spring and will leave with a laundry list of accomplishments. He's not only one of the most decorated athletes in school history no matter what the sport, but is one of the most highly regarded golfers ever to lace up the spikes in the Wyoming Valley Conference. Among the titles Matthews leaves with are 2010 PIAA Champion, fourtime Tryba Preseason Tournament champion (no one had ever won the event three times), 2010 District 2 Champion and 2011 East Regional champion. He also smashed the course record at Fox Hill Country Club earlier this year when his team was playing in the WVC team tournament. "Obviously states (in 2010) really, really stands out," Matthews said as the highlight of his career. "It was a great experience being around all those people and to play well at that stage was really, really good. "Going off that 18th green at states and giving my dad that hug, you can't Brandon Matthews' high school career accomplishments �Unprecedented four-time Tryba Preseason Invitational champion �Set course record at Fox Hill Country Club with a 8-under par 63 �2009 and 2010 WVC Pre-District champion �2010 PIAA champion �2010 District 2 champion �2010 fifth-place finish at East Regional �2011 10th-place finish in the 2011 PIAA Championships �2011 East Regional champion replace that with any other feeling." This season didn't go as well as last season for the two-time Times Leader Golfer of the Year as he placed in a tie for 10th at the PIAA Championships last month, but he still walked away with a medal for the second straight year. Prior to the state event, he won the tournament that accounted for his only loss in the magical 2010 season when he won the regional tourney. "I wanted to win regionals really bad because that's the only one I didn't win last year," Matthews said. "Of course, I wanted to win states. I would have given up regionals for states, but..." Matthews � who has his college choices down to North Carolina, Louisiana State University, San Diego State, Charleston Southern and Temple � was also a big part of a young and thriving Patriots team. Led by Matthews, Pittston Area placed second in the conference after claiming the East Division championship. The team also was second in the team race at the Tryba. All the second-place finishes were by just a few strokes. Matthews, who was the only senior for the Patriots, took on role as mentor for some of his younger teammates helping with their swings or whatever aspect of their game needed tweeking. "It's fun for me to teach because I like taking on that role and I feel like I could help everyone on the team a little bit," Matthews added. "I enjoy helping them out and getting them as good as I can possibly get them." While coaching may not be in his immediate future, being a star in college or the pros some day could be looming. Junior, Dallas He has been one of the most consistent golfers in the entire conference throughout his career. A three-time district qualifier, he placed sixth at the Tryba Preseason tournament and was tied for 10th at the Pre-District event. With a team record of 10-1 this season, he helped the Mountaineers earned a share of the North Division championship. Austin Smith Sophomore, Holy Redeemer The highlight of his season was a second-place finish at the Tryba Preseason tourney. He followed that with a fourth place showing at the Pre-District event and a 12th at the District 2 Tournament. A two-time district qualifier, he helped the Royals finish with a perfect 10-0 mark for the second straight year to claim the Central Division title for the fourth consecutive season. Chase Makowski Senior, Pittston Area The two-time Times Leader Golfer of the Year, finished in a tie for 10th at the PIAA Championship among a long list of accomplishments this season. He also won the East Regional Tournament. He began the season winning the Tryba Preseason Tournament and becoming the first player to win it all four years. He tied for third at the district tournament. In one of the best rounds seen in some time, he smashed the course record at Fox Hill Country Club carding 63 during the WVC team championships. Brandon Matthews Second Team Ty Morzilla Sophomore, Berwick Shamus Gartley Junior, Coughlin John Dougherty Junior, Dallas Jared Piskorick Senior, Hazleton Area Matt Carroll Junior, Pittston Area Nick Rydzewski Senior, Wyoming Area Chris Nixon Junior, Wyoming Valley West Junior, Crestwood He helped the Comets to a share of the South Division championship with a 9-3 record by being the team's No. 1 golfer most of the season. Along the way, he tied for 12th at the Preseason Tryba Tournament, tied for 15th at the predistrict event and qualified for districts for the third straight season. Jake Popowycz PRO GOLF Tiger clinches Presidents Cup for Americans By DOUG FERGUSON AP Golf Writer MELBOURNE, Australia --. AP PHOTO Tiger Woods wears a cap he received from Australian fans after helping the U.S. team to win the Presidents Cup golf tournament at Royal Melbourne Golf Course in Melbourne, Australia, on Sunday. LPGA Tour's season-ending Titleholders for her first tour victory, closing with a 2-under 70 on Sunday to hold off Paula Hee Young Park wins Creamer and San Gal by two Titleholders strokes. Park, tied for the third-round ORLANDO, Fla. -- South Korea's Hee Young Park won the lead with Gal, finished at 9- under 279 at Grand Cypress and earned $500,000. After bogeying the fourth hole, Park birdied three of the next four and parred the final 10 holes. Creamer also finished with a 70, and Gal shot a 72. mlink CMYK PAGE 6B MONDAY, NOVEMBER 21, 2011 S P O R T S THE TIMES LEADER AMERICAN HOCKEY LEAGUE Pens suffer through lost weekend in New England By DAN HICKLING Special to the Times Leader WORCESTER, Mass. � The team that couldn't lose on the road, now seems to have lost their way, for the moment, anyway. The Wilkes-Barre/Scranton Penguins, who rolled into New England on Friday unbeaten away from home wound up the weekend with their third straight loss, a 3-1 setback to the Worcester Sharks before 3,865 at the DCU Center. This one, which saw the Pens outshoot their hosts, 35-28, came following consecutive shootout losses in Portland and Manchester. "We didn't set out to not win on the weekend," said Pens team captain Ryan Craig, "and get two out of six points. That wasn't our goal. We had some guys who put in some good performances. But SHARKS 3 PENGUINS 1 not enough of us did." The Pens got off to a rough start, falling into a 2-0 first period hole, one that they were unable to dig themselves out of. Benn Ferriero netted both goals, 2:54 apart, the second of which came at 7:10 and resulted in an early exit for WBS starting goalie Brad Thiessen. Ferriero's first came at 4:16, after he wheeled out of the left corner, spun, then zipped a 20-footer inside the left post. Soon after, with Pens captain Ryan Craig in the box for holding, Ferriero scored again from the top of the left circle. Pens coach John Hynes said he removed Thiessen in hopes of lighting a fire beneath his troops. "We wanted to get the team going a little bit," said Hynes. "Maybe a little bit change (would have helped). It was just something that we wanted to do to try to win the game." The Pens answered with energy, but were unable to capitalize on their scoring chances. Their lot worsened when at 6:32 of the second stanza Brad Mashinter made it 3-0 following Simon Despres' neutral zone turnover. Mashinter, standing alone near the left post got three whacks at a loose puck before finally popping it behind Pens' back up goalie Scott Munroe. The Pens' lone goal came from Eric Tangradi (his eighth), who spoiled Worcester goalie Tyson Sexsmith's shutout bid with 24.8 seconds remaining, while WBS skated six on four. "We've got to be better," said Hynes. "We've got to work to get better. We didn't play well enough to win any games." NOTES: Ferriero was a Boston College teammate of two Pens, Carl Sneep and Brian Gibbons, although he had already left BC when Pens rookie Phillips Samuelsson enrolled there. In all, six former BC Eagles played yesterday (three per side). ... Thiessen, the AHL's reigning Goalie of the Year, was pulled for just the second time this year. The first game on Oct. 14 at home against Springfield. ... With Pittsburgh captain Sidney Crosby scheduled to return Monday from a near year-long absence due to concussions, the Baby Pens could receive a player from the parent DAN HICKLING/FOR THE TIMES LEADER Ben Street (10) of the Wilkes-Barre/Scranton Penguins swoops in on Worcester Sharks' goaltender Tyson Sexsmith while Sharks' defenseman Matt Irwin pursues during the second period at the DCU Center in Worcester, Mass., Sunday. club, which will now have 14 for- of any such decision. "I have no wards healthy. Hynes, however, idea," Hynes said. "I haven't dissaid he hasn't been made aware cussed it with them." COLLEGE BASKETBALL Tar Heels a bit off in victory The Associated Press NASCAR Continued from Page 1B CHAPEL HILL, N.C. -- John Henson had 18 points and 14 rebounds to help top-ranked North Carolina beat Mississippi Valley State 101-75 on Sunday. Harrison Barnes also had 18 points for the Tar Heels (3-0), who had little trouble winning their home opener in a ragged game. North Carolina never trailed, led by 14 at halftime then blew the game open in the final 10 minutes to lead by as many as 30. That's not to say it was a flawless performance. North Carolina struggled to make outside shots and spent most of the game shooting below 50 percent from the foul line. But the Delta Devils (0-3) couldn't take advantage, shooting just 38 percent and 8 for 27 from 3-point range. Brent Arrington scored 33 points to lead Mississippi Valley State, which is spending the first two months of the season on the road. Connecticut 87, Coppin State 70 Hamilton's 10 years as coach. Augustine Rubit scored 10 points on 4-of-16 shooting and pulled down eight rebounds for South Alabama (1-2), which went 0 for 24 from 3-point range and 16 for 68 overall. Penn State 53, South Florida 49 HARTFORD, Conn. -- Shabazz Napier recorded the ninth triple-double in UConn's history with former star Kemba Walker -- the last Huskies player to do it -- watching from the stands. Napier had 22 points, 13 assists and 12 rebounds, and Jeremy Lamb scored 25 points for the Huskies despite playing on an ankle he sprained in practice Saturday. UConn (4-0) extended the nation's longest active winning streak to 15 games, a mark that is also the third-longest in school history. Florida State 80, South Alabama 39 UNCASVILLE, Conn. -- Tim Frazier accounted for more than half of Penn State's offense, scoring 27 points as the Nittany Lions overcame a sluggish first half to beat South Florida in the Hall of Fame Tip-off tournament. Jermaine Marshall added 11 points for Penn State (4-1), which had been blown out by Kentucky, 85-47, in the opening game of the tournament Saturday. Blake Nash had 14 points and Toarlyn Fitzpatick 11 for South Florida (3-2), which lost forward Augustus Gilchrist to a shoulder injury in the first half. South Florida led by six points in the second half before Penn State used a 12-1 run, keyed by back-to-back layups from Frazier, to hang on. Marshall's 3-pointer tied it at 43 with just under five minutes to play and Frazier's back-to-back layups, the second coming after he stole the ball in the backcourt, gave Penn State a 47-44 lead. Women's Roundup Baylor 94, Notre Dame 81 AP PHOTO North Carolina's Harrison Barnes (40) guards Mississippi Valley State's Terrence Joyner (3) during the second half of an NCAA basketball game in Chapel Hill, N.C., Sunday. TALLAHASSEE, Fla. -- Luke Loucks scored 18 points and Terrance Shannon had 13 of his 15 in the first half to pace Florida State. Deividas Dulkys added 12 points, three rebounds, three steals and two blocks for the Seminoles (4-0), who finished with 14 blocks. Florida State has won four straight games to open a season for the fifth time in Leonard W 91/2 minutes left. While both teams know the national championship won't be determined until four months from now, the early No. 1 vs. No. 2 showdown provided an indication of what may be to come for Griner and the Lady Bears. Virginia 69, Tennessee 64 Chelsea Shine scored 18 points, including a key basket in overtime, and Virginia stunned turnover-prone Tennessee. Texas A&M 93, Mississippi State 47 tucky in a rout. Louisville 62, Xavier 44 COLLEGE STATION, Texas -- Kelsey Bone had 20 points and 13 rebounds to help Texas A&M handle Mississippi and get Aggies coach Gary Blair the 600th victory in his career. He has won 192 with the Aggies. Duke 80, Western Kentucky 54 LOUISVILLE, Ky. -- Becky Burke scored 13 points, including three 3-pointers, and Louisville used a swarming defense to beat Xavier. Penn State 55, South Carolina 50 with 1:24 left gave Penn State the lead for good. She then scored on a driving lay-up the next possession. Georgia 67, USC 60 CHARLOTTESVILLE, Va. -- other on the career wins list. "We were tied," Polley said Saturday. "I got told that (Friday). She was at 565 and I was at 565, so (Saturday) was the determining game." Klassner recounted the situation similarly, "I didn't realize that we were tied until I was told. I'm going to tell her that in Phoenix (both coaches are in Arizona for the National Hockey Festival)." The only problem with that BOWLING GREEN, Ky. -- Reserve Tricia Liston scored a career-high 22 points after going scoreless in her first two games this season and Duke forced 35 turnovers against Western Kenwins competition is that Klassner had victory No. 566 before her team ever took the field. Klassner's official bio on the Seminary website lists her career record as an impressive 549-132-42. Entering the state final, the Blue Knights were 17-5-2, which means bragging rights for first to 566 victories were already hers. When Seminary players were asked, career win No. 567 was attributed to coaching. "We spent a lot of time work- COLUMBIA, S.C. -- Maggie Lucas scored the final six points of a game-closing 13-0 run and Penn State escaped with a victory over South Carolina. Trailing 50-42 with 5:47 left, Penn State (3-1) turned up its defense and held South Carolina without a point the rest of the game. Lucas, who led the Lady Lions with 18 points, had eight during the run. Her jumper in the lane ing really hard on our game," said Kristian Stefanides, who scored three goals Saturday. "The offense spent a lot of time working on tips and hits. Villa Maria had a great defensive strategy." "We knew coming in that they had beaten Selinsgrove 6-0," goalie Hannah Dressler said. "We worked on our defense a lot (Friday), working on defensive corners and that. We were ready for them." ATHENS, Ga. -- Senior Meredith Mitchell scored a career-high 21 points to lead Georgia to a win over Southern Cal. Georgia (4-0) took an early 21-7 lead and led by as many as 16 points in the second half, forcing Southern Cal (1-2) to play catch up. Purdue 65, Tennessee-Martin 39 WEST LAFAYETTE, Ind. -- Using a dominating defense to shut down a high-scoring, hotshooting visitor, Purdue cruised to a victory over TennesseeMartin. "They were well-coached and had some great players," top scorer AshLeigh Sebia said of Villa Maria. "But we knew what to expect." Now, with another state title to its credit, and just three seniors in the starting lineup Saturday, Wyoming Seminary will not be able to enter the 2012 season as an underdog. The Blue Knights have won 16 consecutive PIAA tournament games since 2006. Since 1997,. the next best Class 2A streak is Crestwood's eight straight victories (2003-06), and overall Emmaus won 10 straight in Class 3A (2004-06). Not only will teams want to play to be the 2012 state champions. Surely, every opponent hopes to be the one that sinks Seminary's state streak. "All I can say is that to get here is amazing," Klassner said. "Once you're here, then you've got a target on your back." SEMINARY Continued from Page 1B lot of people are aware of that," Klassner said. "I have a lot of respect for her. We're in that little fraternity as a cancer survivor. I know what she went through, and she was supportive of me when I was battling." The coaches also approached the game looking to top each CMYK THE TIMES LEADER B C S Rk 1 2 3 6 5 4 8 7 10 9 15 13 12 11 16 14 17 20 18 19 21 23 22 27 33 C O L L E G E F O O T B A L L MONDAY, NOVEMBER 21, 2011 PAGE 7B Tigers, Tide back on top in title race By RALPH D. RUSSO AP College Football Writer S TA N D I N G S. It's the first time in the 14-year history of the BCS that the same conference had to top three teams in the standings. If the Tigers can beat Arkansas on Saturday,. Nov. 20, 2011 Harris USA Today Computer BCS Pts Pct Rk Pts Pct Rk Pct Avg Pv 1. LSU................................................ 2875 1.0000 1 1475 1.0000 1 1.000 1.0000 1 2. Alabama ........................................ 2758 0.9593 2 1413 0.9580 3 .930 0.9491 3 3. Arkansas ....................................... 2619 0.9110 3 1349 0.9146 4 .870 0.8985 6 4. Oklahoma St. ............................... 2267 0.7885 6 1156 0.7837 2 .950 0.8408 2 5. Virginia Tech ................................ 2302 0.8007 4 1242 0.8420 7 .710 0.7842 8 6. Stanford......................................... 2371 0.8247 5 1222 0.8285 9 .660 0.7711 9 7. Boise St......................................... 2037 0.7085 8 982 0.6658 8 .690 0.6881 10 8. Houston......................................... 2060 0.7165 7 1075 0.7288 12 .560 0.6684 11 9. Oklahoma ..................................... 1719 0.5979 11 826 0.5600 6 .800 0.6526 5 10. Oregon........................................ 2036 0.7082 9 933 0.6325 11 .600 0.6469 4 11. Kansas St. .................................. 1362 0.4737 15 671 0.4549 5 .840 0.5896 13 12. South Carolina........................... 1511 0.5256 13 806 0.5464 10 .620 0.5640 12 13. Georgia ....................................... 1559 0.5423 14 803 0.5444 14 .470 0.5189 14 14. Michigan St................................. 1685 0.5861 10 928 0.6292 17 .290 0.5017 15 15. Michigan ..................................... 1164 0.4049 16 618 0.4190 15 .370 0.3980 18 16. Wisconsin ................................... 1506 0.5238 12 808 0.5478 24 .110 0.3939 17 17. Clemson ..................................... 1128 0.3923 17 587 0.3980 16 .300 0.3634 7 18. Baylor .......................................... 616 0.2143 20 302 0.2047 13 .550 0.3230 22 19. Penn St. ...................................... 943 0.3280 19 455 0.3085 18 .280 0.3055 21 20. TCU ............................................. 872 0.3033 18 494 0.3349 19 .270 0.3027 19 21. Nebraska .................................... 442 0.1537 22 165 0.1119 21 .180 0.1485 16 22. Notre Dame ................................ 281 0.0977 24 156 0.1058 25 .080 0.0945 NR 23. Georgia Tech ............................. 357 0.1242 21 203 0.1376 29 .000 0.0873 NR 24. Auburn......................................... 94 0.0327 27 33 0.0224 22 .170 0.0750 24 25. Texas .......................................... 9 0.0031 36 1 0.0007 20 .220 0.0746 23 AH RB CM KM JS PW 1. LSU .................................................................................................. 1 1 1 1 1 1 2. Alabama .......................................................................................... 3 3 3 3 2 2 3. Arkansas ......................................................................................... 4 5 6 4 4 4 4. Oklahoma St................................................................................... 2 2 2 2 3 3 5. Virginia Tech................................................................................... 7 10 7 9 18 7 6. Stanford........................................................................................... 8 4 10 14 11 9 7. Boise St........................................................................................... 9 7 8 12 10 8 8. Houston........................................................................................... 10 16 9 11 15 12 9. Oklahoma........................................................................................ 6 8 4 6 6 6 10. Oregon .......................................................................................... 15 6 12 13 9 10 11. Kansas St...................................................................................... 5 9 5 5 5 5 12. South Carolina ............................................................................. 11 12 13 8 8 11 13. Georgia ......................................................................................... 13 21 16 10 13 15 14. Michigan St................................................................................... 18 11 18 23 22 17 15. Michigan........................................................................................ 12 17 11 22 23 16 16. Wisconsin ..................................................................................... 23 15 21 23 17. Clemson........................................................................................ 19 14 17 20 21 18 18. Baylor............................................................................................. 14 19 15 7 7 13 19. Penn St. ........................................................................................ 16 20 14 21 24 19 20. TCU ............................................................................................... 24 13 19 24 20 14 21. Nebraska ...................................................................................... 20 18 20 25 21 22. Notre Dame .................................................................................. 21 22 22 23. Georgia Tech ............................................................................... 24 24. Auburn........................................................................................... 25 23 19 14 20 25. Texas............................................................................................. 17 23 16 17. By RALPH D. RUSSO AP College Football Writer Playoff would increase drama A N A LY S I S Trio of SEC teams heads AP Top 25 The Associated Press NEW YORK --year history of The Associated Press rankings that the top three teams all came from the same conference was the final regularseason poll of 1971, when Nebrasther, Jay Paterno said he thought finally doing it in the midst of so much turmoil for the program could actually serve as a positive. "Ten years ago when Adam Taliaferro got hurt we came out and played Purdue next week, and that Monday Joe came in and said we were going to put in some shotgun offense, which we hadn't been doing," Jay said. "I asked him why would we do that and he said it would distract (the players)" and give them something to take their minds off of Taliaferro's serious spinal cord injury. Before he was fired, it was Joe Paterno himself who kept telling Drake that his day was coming. That despite breaking his leg twice in the last two years and missing long stretches of time, he would get a shot in the spot- ka,. light. "He kept saying to me, `When you get healthy, we're gonna try and put this in for you,' " Drake said. "But I think it was more about getting the feel (for it), and this was a big game. We wanted to bring something new that we hadn't used before." Lions up to No. 19 With the win over the Buckeyes, Penn State advanced two spots to No. 19 in the latest BCS standings. Regardless of their ranking, the Lions' path to the BCS remains clear. They will have to beat No. 16 Wisconsin Saturday to first win the Leaders Division, then beat No. 14 Michigan State the following weekend in Indianapolis to claim the Big Ten title and an automatic berth in the Rose Bowl. Thosefilledsmall. March Madness, and then have to wait until Sunday for the Sorry, Boise State and Hous- judges to render the final deciton, have no real shot, and that sion about what it means. There are always going to be alone should be enough to polls and computer ratings. make you want a playoff. During the final two weeks of Even with a playoff they could come in handy. But a playoff the season, the only games would de-emphasize them and with national championship put the onus on the field. implications involve those six How should a playoff work? teams -- sort of. In reality, as Put it this way: four is better long as LSU and Alabama take than two and eight is better care of business, the rest are than four. Anything more than moot, too. 16 is probably too much. It's The Big Ten might as well good to have some debate not even exist (SEC fans' about who is in and who is out. dream). Same goes for the Big However, when the debate is East (yes, the Big East still more important than the exists). How much more ingames, well, then you have the teresting would the scramble BCS. for the Big East crown be if there was a long-shot chance to HEISMAN WATCH make a national championship A non-voter's hypothetical run -- or at least to pull a playHeisman ballot: off upset -- waiting for the --Baylor quarterback QB winner? The argument against a play- Robert Griffin IIII. RGIII wasn't even born that last time the off is that it would lessen the Bears were relevant. Look up importance of games such as Baylor in the college football Iowa State's 37-31 double OT dictionary and it says, see Vanupset over Oklahoma State, derbilt. His latest masterful which was two victories away performance against Oklahofrom playing for the BCS title ma, 551 total yards and a TD before stumbling in Ames. Maybe it would, but wouldn't pass with 8 seconds left, gave the Bears their first win -- ever that be more than made up by -- against the Sooners in 21 the fact that additional teams tries. would be alive in the national --Wisconsin running back championship chase as the Montee Ball. He has played season winds down? well in every one of Wisconsin's Iowa State-Oklahoma State game -- even losses to Ohio loses some drama, but Penn State and Michigan State -- State-Ohio State, Wisconsinand as good as quarterback Illinois and, now, Penn StateRussell Wilson has played, Wisconsin gain a lot. Ball's numbers are awesome. And wouldn't it be worth His 1,466 yards rushing is secgiving up the enormity of the ond in the nation and 30 touchmoment in Ames to stop the guessing game that is the BCS? downs are first. --Houston quarterback Case Everybody who is so convinced Keenum. No quarterback has that Alabama and LSU are the better numbers (4,269 yards two best teams -- and they and 38 TD passes) and even sure do look the part -- probthough the competition in ably thought Boise State had Conference USA might be no shot to beat Oklahoma in lacking, notice that the Cougars the 2007 Fiesta Bowl. went 5-7 last year when KeeCollege football fans spend num was injured in the third the weekend watching these game and missed the rest of the brilliant dramas played out on season. the field, like three months of PSU Continued from Page 1B eyes had even touched the ball. Utilizing Drake and true freshman wideout Bill Belton to take a few snaps here and there, Penn State's offense sprang to life in the first half, racking up 20 points and 254 total yards before halftime en route to a 20-14 win. At the heart of the victory was the wildcat attack. The Lions ran four plays for 91 yards out of the scheme in the first 30 minutes, scoring one touchdown and setting up another. "They're obviously going to continue to use it because it's working well. Not something we had seen them do," Ohio State coach Luke Fickell said. "We weren't tackling. We weren't well-prepared," Buckeyes defensive coordinator Jim Heacock said. Tough to blame them. Penn State had not used a wildcat look extensively in any game since 2008. And that was essentially a one-time thing as Derrick Williams stepped in for a still-ailing Daryll Clark on designed quarterback runs in the upset loss to Iowa that year. Plenty of coaches had some input in installing it this time around. Tom Bradley said he was particularly impressed with how Belton ran the scout team offense a week earlier while simulating Nebraska quarterback Taylor Martinez. "I had seen Belton run that, and I asked our offense to put it in (for Ohio State) because I had just seen it for 10 days torch our defense," the interim coach said. "Billy ran that in high school and he got a lot of work in against us, so it wasn't as if we just (worked on it) for two days. "And Curtis gives you another option because he can run the same stuff, too. He ran it in high school. ... We thought it would just give us a little change of pace, which it did." Offensive coordinator Galen Hall and quarterbacks coach Jay Paterno said they had both already been looking for a spot during the season to work in a wildcat package. Taking a lesson from his fa- 100 ANNOUNCEMENTS 150 Special Notices MONTY SAYS 412 Autos for Sale 941 Apartments/ Unfurnished DALLASTWP Deja Vu Salon will be gearing up to take care of all your salon needs for the holiday season. Joan C. will be there now that her secret garden is in slumber... HONDA `09 CIVIC LX-S $1,800. 2 bedroom/ 2 Bath. Call Us to discuss our great Amenity & Maintenance program! Call 570-674-5278 CONDO FOR LEASE: Land for sale? Place an ad and SELL 570-829-7130 724584 Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! LINEUP ASUCCESSFULSALE INCLASSIFIED! PLAINS Land for sale? Place an ad and SELL 570-829-7130 CMYK PAGE 8B MONDAY, NOVEMBER 21, 2011 W E A T H E R THE TIMES LEADER NATIONAL FORECAST TODAY Rain, cloudy, cooler 47� 40� FRIDAY Partly sunny TUESDAY R�in and clouds WEDNESDAY Rain mixed with snow NATIONAL FORECAST: A storm system will produce numerous showers and thunderstorms from the Tennessee Valley into the southern Plains today. A few of these storms may be strong to severe. Showers will also extend into the Ohio Valley and portions of the Mid-Atlantic, while high pressure will allow for sunny to partly cloudy skies over northern New England. 50� 34� 50� 47� THURSDAY Mostly sunny SATURDAY Partly sunny SUNDAY Cloudy, shower 46/43 39/28 36/21 44/37 48/41 55/48 53/33 49/38 53/43 55/48 50� 30� 55� 33� 55� 36� The Poconos 55� 40� REGIONAL FORECAST Today's high/ Tonight's low Syracuse 41/39 Albany 45/36 TODAY'S SUMMARY Highs: 45-52. Lows: 34-39. Slight chance of showers. Chance of showers tonight. 63/51 70/43 81/71 15/2 82/72 29/27 82/70 74/59 75/61 Binghamton 44/39 Towanda 44/39 Scranton 47/39 Wilkes-Barre 47/39 New York City 53/43 Reading 52/41 Philadelphia 54/45 Atlantic City 56/47 Highs: 51-56. Lows: 44-48. Chance of showers. Showers possible tonight. Poughkeepsie 49/38 9/5/.00 63/50/.12 67/51/.00 66/50/.00 60/46/.00 68/42/.00 55/39/.00 62/47/.00 76/52/.01 43/20/.00 60/45/.00 84/75/.00 83/73/.00 62/46/.11 60/47/.00 54/49/.93 83/74/.07 50/36/.00 26/16/.00 Yesterday 45/34/.00 72/54/.00 45/23/.00 45/32/.00 82/64/.00 55/50/.00 46/36/.08 77/72/.00 55/45/.09 45/36/.00 Today Tomorrow 15/2/c 74/59/pc 54/46/sh 48/37/c 43/39/c 73/58/c 48/41/pc 48/45/c 75/61/t 53/33/pc 44/37/pc 82/72/c 81/71/c 56/50/pc 59/43/pc 63/51/pc 82/70/pc 44/38/pc 36/21/pc 10/2/c 75/57/sh 58/52/sh 49/42/c 49/35/r 74/60/pc 46/36/r 56/41/r 69/44/t 55/36/s 45/36/r 83/70/sh 80/56/t 66/38/r 64/43/s 70/53/s 81/69/pc 43/33/r 38/25/s City City Yesterday 73/50/.00 63/59/.70 82/66/.00 76/49/.00 44/34/.00 36/20/.00 83/65/.00 74/53/.00 59/55/.03 45/29/.00 63/38/.03 39/24/.00 84/71/.00 63/54/.04 55/48/.17 39/27/.00 85/67/.00 73/53/.00 65/51/.00 Yesterday 75/50/.00 55/39/.00 36/19/.00 57/36/.00 81/68/.00 86/64/.00 63/39/.00 86/78/.12 70/57/.00 46/30/.00 Today Tomorrow 74/59/pc 72/62/t 80/68/c 62/52/c 52/39/t 46/29/pc 82/61/pc 66/49/c 53/46/sh 47/45/r 56/47/c 46/31/c 84/68/c 64/53/pc 56/46/pc 46/43/r 84/61/pc 65/42/c 55/48/sh 74/61/pc 76/47/t 79/62/t 66/56/c 54/36/pc 48/28/s 82/61/pc 73/51/s 60/43/r 52/43/r 55/40/r 50/34/pc 80/51/t 71/57/s 58/47/pc 54/45/r 82/62/pc 70/46/s 59/55/sh State College 46/41 Harrisburg 51/43 Pottsville 49/40 Highs: 37-44. Lows: 31-39. Slight chance of afternoon showers. Mostly cloudy tonight. The Finger Lakes Highs: 53-54. Lows: 44-45. Chance of showers today. Showers possible tonight. Brandywine Valley Highs: 54-60. Lows: 46-53. Chance of showers today. Showers possible tonight. Delmarva/Ocean City Yesterday Average Record High Record Low Temperatures Yesterday Month to date Year to date Last year to date Normal year to date Heating Degree Days* 61/39 48/33 75 in 1934 16 in 1986 15 383 868 923 1035 Yesterday Month to date Normal month to date Year to date Normal year to date Sunrise 6:58a 6:59a Moonrise Today 2:32a Tomorrow 3:46a Precipitation ALMANAC Recorded at Wilkes-Barre/Scranton Int'l Airport 0.00" 0.88" 2.12" 54.89" 34.01" Sunset 4:40p 4:39p Moonset 2:03p 2:38p River Levels, from 12 p.m. yesterday. Susquehanna Stage Chg. Fld. Stg Wilkes-Barre 4.41 -0.37 22.0 Towanda 2.60 -0.25 21.0 Lehigh Bethlehem 2.86 0.54 16.0 Delaware Port Jervis 3.52 -0.09 18.0 New First Full Last Weather Central, LP National Weather Service For more weather information go to: Forecasts, graphs and data �2011 Today Tomorrow 43/36/pc 69/48/s 50/27/s 36/32/pc 88/60/pc 52/41/sh 36/30/s 75/69/pc 60/46/s 54/47/c WORLD CITIES Mexico City Montreal Moscow Paris Rio de Janeiro Riyadh Rome San Juan Tokyo Warsaw Today Tomorrow 73/49/pc 36/28/pc 30/26/pc 55/42/pc 77/68/s 81/59/s 70/50/sh 82/75/t 60/45/s 32/28/pc 77/53/pc 43/30/c 28/16/sn 54/40/sh 79/70/t 74/56/pc 68/49/pc 84/74/sh 57/44/s 35/30/c Sun and Moon Today Tomorrow *Index of fuel consumption, how far the day's mean temperature was below 65 degrees. 607-729-1597 48/38/c 67/47/s 49/29/rs 39/31/pc 87/65/s 46/40/c 39/31/pc 76/68/pc 61/45/s 57/46/sh Cloudy with on and off showers will be the pattern for the next few days. This morning will be a bit cloudy and wet. Showers will be scattered throughout the day and into the night. On Tuesday, we will see rain mostly all day with cloudy skies. The showers will continue into Wednesday with overcast skies. Temperatures will be cooler at night, turning the rain into a mix with snow. By Thanksgiving, the sun will return and it will be a beautiful day with mostly sunny skies. Sunshine will stick around through Saturday. Clouds and a chance for rain will come back by Sunday. - Michelle Rotella Nov. 25 Dec. 2 Dec. 10 Dec. 17 Key: s-sunny, pc-partly cloudy, c-cloudy, sh-showers, t-thunderstorms, r-rain, sn-snow, sf-snow flurries, i-ice. We Want Your Gold! GUARANTEED Highest Cash Paid In The Valley!!! RECEIVE YOUR BEST OFFER AND COME AND SEE US!!! Scrap Your Unwanted Jewelry or Coins For Cash!! Instead of letting your items take up space in your jewelry box, recycle your old, broken and unwanted gold and silver jewelry. Also, your sterling silver flatware, hollowware, diamonds, antique coins, costume jewelry, watches or anything else of value. Campas will pay generously for your gold and silver. You can clean out your jewelry box and receive some extra cash! WATCH BATTERIES ONLY $4 INSTALLED 476 Bennett St. � Luzerne � 570-288-1966 Mon.-Fri. 10-6 � Sat. 10-3 CAMPAS JEWELERS CMYK THE TIMES LEADER CLICK timesleader.com SECTION C MONDAY, NOVEMBER 21, 2011 GREATER W-B REALTORS DINNER MOHEGAN SUN AT POCONO DOWNS BIRTHDAY BENEFIT DANCE FOR FLOOD VICTIMS PETE G. WILCOX/THE TIMES LEADER BILL TARUTIS/FOR THE TIMES LEADER PETE G. WILCOX/THE TIMES LEADER Darren and Kelly Snyder Sisters Taylor and Jenni Wells and their mom, Dawn, all of Mountain Top Denise and Pete Salus of Newport Township PETE G. WILCOX/THE TIMES LEADER BILL TARUTIS/FOR THE TIMES LEADER PETE G. WILCOX/THE TIMES LEADER Ellen Rudis, left, and Whitney Lopuhovsky Nancy Nardone of West Pittston, left, Chuck Poli, and Camille Poli, both of Hughestown Evelyn Yankowicz of Hazleton and Mike Cummings of Kingston PETE G. WILCOX/THE TIMES LEADER PETE G. WILCOX/THE TIMES LEADER BILL TARUTIS/FOR THE TIMES LEADER Steve Shemo, left, Nancy Dolan, and Larry Dellegrotto Allyson Spangenberg, 5, left, and her sister Chrissy Lybolt, both of Forty Fort Joe Bly, left, and Janet Temarantz, both of Kingston, Patricia Brojakowski and Jack Zionce, both of WilkesBarre PETE G. WILCOX/THE TIMES LEADER BILL TARUTIS/FOR THE TIMES LEADER PETE G. WILCOX/THE TIMES LEADER Vernon and Diane Jones of the band Windfall Ashlyn Mazzocchi, left, and Jessica Fortini, both of Old Forge Chris Mizenko of Swoyersville, left, and Joan Marso of Nuangola PETE G. WILCOX/THE TIMES LEADER BILL TARUTIS/FOR THE TIMES LEADER PETE G. WILCOX/THE TIMES LEADER Joyce Langan, left, Jack Casper and Trixie Jackson Michael and Gerard Anthony, left, and their sister Amanda, all of Frackville Diane Pries of Kingston, left, Deidre Kaminski of Edwardsville, and Becky McCuen of Parsons Remember, it is more blessed to give than to receive. Give thanks by giving to someone in need this Thanksgiving. PURCHASE REPRINTS OF THESE PHOTOS AT Berwick 759-1239 Dallas 674-5577 Wilkes-Barre 823-0511 719156 CMYK PAGE 2C MONDAY, NOVEMBER 21, 2011 C O M M U N I T Y N E W S THE TIMES LEADER EDITOR'S NOTE The complete list of Volunteer Opportunities can be viewed at by clicking Community News under the People tab. To have your organization listed, visit the United Way of Wyoming Valley's volunteer page at. For more information, contact Kathy Sweetra at 9707250 or ksweetra@timesleader.com. NEWS FOR VETERANS DUPONT: The VFW Post 4909 will meet 7:30 p.m. Dec. 5 at the post home. Commander Dave Burrier will preside. The Home Association meeting will follow. There will be food and refreshments after both meetings. SWOYERSVILLE: The Catholic War Veterans Memorial Post 1601 will hold its Christmas dinner and installation of officers at the meeting on Dec. 15. Menu for the dinner is a choice between steak or lobster tail. All members are requested to call 287-4730 to place their orders by Dec. 13. No reservations will be accepted after this date. WEST WYOMING: The American Legion Morning Star Post 904 will hold its annual Christmas dinner 3 p.m. Dec. 11 at Agolino's Restaurant, West Pittston. Members and guests are invited. To make reservations and choice of menu, call Ron Semanski at 6505983, George C. Yurek at 693-1913 or Frank Perfinski at 693-3202 by Nov. 30. Bingo recently organized at VA Medical Center The Knights of Columbus, Our Lady of Czestochowa Assembly 1928, Luzerne, recently sponsored a bingo party for the patients and residents of the Wilkes-Barre Department of Veterans Affairs Medical Center and its Community Living Center. Members of the Knights of Columbus Our Lady of Czestochowa Assembly, from left, first row, are Past Faithful Navigators Leonard Mulaski, Anthony D. Blaso and Edward Krystofosky. Second row: William Jones, former Master Calvert Providence 4th Degree; Tom Valent, Past Faithful Navigator; and Gerald Pace. Students honor veterans with special assembly at Dallas Middle School Dallas Middle School held its annual Veterans' Day assembly on Nov. 10. The program included performances by the select chorus, student poetry readings and a multimedia presentation. Representatives from the Dallas American Legion presented select students with certificates and medals for their performances in a Veteran-themed essay contest. Large paper dog tags created by the middle school students in recognition of veterans in their families were displayed in the main lobby. Some of the participants, from left, first row, are Justin Sweency, Abbey Noone, Nate Steele and Courtney Hoats. Second row: Scott Alexander, Collin Pertl and Danielle Caputo. Third row: Mr. Stretanski; Mr. Duffy, principal; Jim Baloga, senior vice commander; John Emil, senior past commander and SAL Sq. 672 adjutant; Charles Fleming, adjutant; Clarence Michaels, past commander; Chas Siegel; and Mrs. Holthaus. IN BRIEF DALLAS: Daddow-Isaacs Dallas American Legion Post 672 is conducting its annual essay contest. This year's topic is "Should America's Electoral Process Be Changed?" Students in grades 9-12 in a public, private, parochial or home school are eligible to participate. All essays must be no less than 500 words or more than 1,000 words. There is a local, district, inter-district, sectional and state competition. Prize money is awarded and the first-place winner will receive a $3,500 scholarship from the Pennsylvania State American Legion. Information can be obtained at the various schools or by contacting Clarence J. Michael at 675-0488. EDWARDSVILLE: A Thanksgiving Eve service will be held at the Dr. Edwards Memorial Church in Edwardsville at 7 p.m. on Wednesday.The service is for the combined churches of Bethesda Congregational, Christian Assembly and Dr. Edwards Memorial. The Rev. Louis Falcone will conduct the service and combined choirs will present special music. All are invited. Legion Post 781 collecting `Toys for Tots' The Sons of the American Legion Mountain Post 781 is sponsoring a `Toys For Tots' drop off point at Mountain Post 781 on Church Road in Mountain Top. New unwrapped toys can be dropped off at the American Legion from 1 p.m. to midnight, Monday through Friday, and noon to midnight, Saturdays and Sundays. Cash donations are also being accepted. The drop off point will run until Dec. 12. Other drop off locations include, Januzzi's Pizza, North Mountain Boulevard and The Good 2 Go, North Mountain Boulevard, both in Mountain Top, and Wychock's, Route 309, Wilkes-Barre. For information call 474-2161 or visit. From left: J.W. Williams, Post 781 S.A.L. second vice commander; Len Biel, Post 781 S.A.L. commander; and Damian F. Starkey Jr. (D.J.), Post 781 S.A.L. first vice commander. SUSPENDED CEILINGS 12x14' Ceiling For As Little As $439 Price Includes Material & Labor ARMANDO A ff ordabl e R oof ng C o. CONSTRUCTION i Residential & Commercial Roofing Leak Detection & Repair Gutter Clean Out & Guards Chimney & Skylight Repairs HIC #PA 9937 & Insured Lebanese Pete's Place 2x4 Armstrong Prelude Grid and Fine Fissured #1729 Tiles Also Installing Commercial Projects NO JOB TOO SMALL Call Anytime 570-579-6869 PA Li cense # PA 009937 35 E. South St. � Wilkes-Barre (570) 820-7172 � Open Mon.-Fri. 10 am - 6 pm TRY OUR SEASONAL PUMPKIN OR TURKEY KIBBI Cuisine MALISHCHAK BROTHERS, INC Nanticoke, PA (570) 735-4432 1-800-852-0319 (570) 751-6085 SVC., PC Roofing Siding Decks Additions EARLY PSYCHIATRIC & COUNSELING Dr. S. Rahman, M.D. Psychiatrist Nick Telincho Therapist � � � � Apples, Bartlett Pears, Fresh Cider Unpasteurized, Woswit Jams and Jellies, Pure Honey, Pure Maple Syrup, Apple Dumplings, Leraysville Cheese Hours: 9am-5pm � 379-3419 54 Orchard St. � Wapwallopen LARGE SELECTION HELLER ORCHARDS Expertise in Panic Attack Depression, Anxiety, OCD, Bipolar, PTSD, ADHD Now accepting new patients for medicaton management. Patients of all ages welcome. Expertise in Family/ Marital/Couple/Grief/ Phase of Life Counseling Anger Management Childhood Abuse Drug/Alcohol/Smoking Cessation Hypnotherapy Accepting Medical Assistance, Medicare, BC/BS, Geisinger & most insurances 720624 SHAVERTOWN (Back Mountain) 674-3939 MOUNTAIN TOP 474-0100 HAZLETON 454-2545 BLOOMSBURG 784-5663 DANVILLE 275-0390 OPEN 7 DAYS A WEEK Oak 76.05 87.75 90.09 98.28 103.55 111.74 129.29 137.48 142.16 152.69 151.52 91.26 101.21 105.89 115.83 126.36 138.06 178.43 196.56 163.80 184.86 197.15 228.15 Free delivery, Fully Assembled, Installation Available $ 124600 $ 1570 00 Louis Industrial Drive, Old Forge 344-0443 or 457-6774 Showroom Hours Daily: 8 Til 4:30 Wed & Thurs: 8 Til 8 Sat: 8 Til Noon Warehouse Closed 4:30 Daily � Noon on Sat. 238326 CMYK THE TIMES LEADER C O M M U N I T Y N E W S MONDAY, NOVEMBER 21, 2011 PAGE 3C HAPPY BIRTHDAY! Family honors memory with Paula's Walk/Lupus 5K Irelyn J. Curley Irelyn Jayne Curley, daughter of Jonathan and Trish Curley, Jenkins Township, is celebrating her third birthday today, Nov. 21. Irelyn is a granddaughter of Peter Forbes and Nancy Verespy, Plains Township, and John and Ann Marie McGlynn, Drums. She is a great-granddaughter of Ruth Verespy, Plains Township. Irelyn has a sister, Aubrey, 7. Anthony J. Mercadante Anthony Johnathan Jason Mercadante, son of Kelly A. and Joseph A. Mercadante Jr., Mountain Top, is celebrating his 10th birthday today, Nov. 21. Anthony is a grandson of Constance T. Karpowich, Lee Park; the late Stanley J. Karpowich; and the late Mary Ellen and Joseph A. Mercadante Sr. He is a greatgrandson of the late Dolores and Corneilus Mulherin. Anthony has two brothers, Mark KarpowichMercadante, 19, Hanover Green, and Christian, 13, and three sisters, Christina, 13, JennaRae, 10, and the late Kayla C. Karpowich-Klepadlo. The Lupus Foundation of Pennsylvania recently held Paula's Walk/Lupus Loop 5K presented by PNC Bank at Kirby Park. The event, which attracted many participants, featured free food, a D.J., music, awards and health information. All money raised went to support the mission of the Lupus Foundation, which is to promote awareness, education, service and research for those affected by lupus. Friends and family who walked in memory of Paula Mikush Warmouth, from left, are Ron Simon, Jillian Simon, Jean Mikush, Jeffrey Simon, Bernice Kachmar and Carly Kappler. GFWC donates to Domestic Violence Service Center The General Federation of Women's Clubs (GFWC) Northeastern sponsored a presentation by Tammy Rogers, volunteer outreach coordinator from the Domestic Violence Service Center. Domestic Violence is the signature project of the General Federation of Women's Clubs, an international women's service organization. A monetary donation was made to the local center that provides emergency shelter for battered women and their children along with counseling and support services. The next meeting of GFWC Northeastern will be held at 7 p.m. Nov. 28 at the Kingston Fire Hall. For information contact Connie Sims at 287-8939. At the check presentation, from left: Marti Frye, home life/public affairs chairman; Rogers; and Carol O'Malia, club vice president. James R. Hannigan James Richard Hannigan, son of James and Christine Hannigan, Plains Township, is celebrating his 1 1th birthday today, Nov. 21. J.R. is a grandson of Aileen Gayeski, Wyoming, the late Richard and Antoinette Starzecki and the late Edward Hannigan. He is a great-grandson of the late Irene Hando and the late James Higgins. J.R. has a sister, Suzy, 9. Legion Post 672 helps fund Back Mountain Food Pantry Dominic A. Caparelli Dominic Andrew Caparelli, son of Dave and Mary Caparelli, West Pittston, is celebrating his eighth birthday today, Nov. 21. Dominic is a grandson of Andrew Caparelli and the late MariLou Caparelli, Peckville, and Fred and Arlene Stuccio, Milford. He has a sister, Valentina, 9. Members of the Daddow-Isaacs Post 672 of the American Legion in Dallas recently delivered a check for $300 to the Back Mountain Food Pantry. The funds will help meet the needs of families for the Thanksgiving holiday. The pantry will distribute more than 185 Thanksgiving baskets this year. The donation was from the Ladies Auxiliary, The Sons of the American Legion and American Legion Post 672. At the check presentation, from left, first row: Past Commander Clarence Michael; Ginger Spencer; Margaret Rydock; Commander Jim Spencer; and The Rev. Roger Griffith, board president, Back Mountain Food Pantry. Second row: Harry O'Neil, treasurer, Bank Mountain Food Pantry; Christopher Czekalaski, board member, Back Mountain Food Pantry; and Past Commander of Post 672 John Emil Sr. Boy Scouts in Troop 155 earn Eagle Scout Awards Boy Scout Troop 155, sponsored by the Trucksville United Methodist Church, recently honored four scouts with their Eagle Scout Awards at an Eagle Court of Honor. Senator Lisa Baker presented the scouts with letters of commendation from the State Senate and a flag pin of Pennsylvania and the United States. At the ceremony, from left, are James Duffy, Stephen Bath, Baker, Anthony Benedetti and Tim Reinert. Winner of 2011 Miss UNICO contest crowned Jade Welsh, representing Berwick High School, is the winner of the 201 1 Miss UNICO contest. Runners-up were Tiffany Oplinger, first runner up, representing Lake-Lehman High School, and Jacqueline Joseph, second runner up, representing the West Side Career and Technology Center. All of the contestants will be featured at the 201 1 UNICO game on Wednesday at the Wyoming Area High School stadium in West Pittston. A hundred percent of the ticket sales from the game and fifty percent of the game book proceeds will benefit local victims affected by the recent flood. Miss UNICO winners, from left, are Joseph, Welsh and Oplinger. Trooper educates crime clinic on Megan's Law Trooper Martin Connors, public relations and Megan's Law officer at Troop P, Wyoming, recently addressed members of the Crime Clinic of Greater Wilkes-Barre at its November meeting at Wyoming Valley Country Club. Connors outlined some of the cases that he has prosecuted and explained the restrictions that are placed on Megan's Law violators after they are paroled. He encouraged citizens to review Pennsylvania's Megan's Law public website at to check their neighborhoods for the locations of convicted offenders. Members presented Connors with a certificate of appreciation after his speech. Some of the participants, from left: Marge Matisko, president; Connors; and Charlotte Lyons, treasurer. Kingston's November fundraiser benefits Red Cross Members of the Kingston Kares Committee and Kingston borough officials recently presented a check for $6,400 from a November fundraiser to the American Red Cross for disaster relief due to the recent flooding. At the check presentation, from left: Carol Urban, committee member; Sandra Kase, council president and committee chair; James J. Haggerty, mayor, Kingston; Joanna Springer, American Red Cross; Paul Keating, administrator, Kingston; Nancy Cooper, council and committee member; and Andrea Petrasek, committee member.. Seating 12:00PM - 3:00PM � Live Piano Entertainment Carving Station with Angus Top Round of Beef & Roast Turkey. Virginia Baked Ham w/ Fruit Glaze, Haddock Provencal...with trimmings and Fabulous Dessert Display Adults 11 and Above $20.95 � Children 5-10 $7.95 � 4 and under FREE (Tax & Service Charge Not Included) Thanksgiving Day Buffet A Full Thanksgiving Buffet Ramada Inn 1 0" Ap p le P ie 1 0" P u m p kin P ie 1 D o zen D in n er Ro lls P la ce Yo u r O r er Ea r d s ly TH A N K SG I N G VI SPE CI L A $ 22 724303 Reservations 824-7100 � Walk-ins accepted 20 Public Square, Wilkes-Barre O p en 5a m u n til 6p m ; Tha n ks givin g D a y o p en 5a m u n til 1 p m 823- 3400 290 So u th River Street � P la in s 'S INOET UG K ER MAR P 221 Schuyler Ave. � Kingston Wholesale fruits & vegetables Sweet Navel Oranges - 12 for $1.00 Homegrown Apples, Baking or Eating - .59� lb. Yams - .49� lb. � Bananas - .39� lb. � Celery - .89� bunch 10 lb. Potatoes - $2.49 bag � Cooking Onions - .39� lb. Cabbage - .29� lb. � Sweet Tangerines - 5 for $1.00 Thanksgiving Specials with a gift certificate from... Daily Lunch Specials - Homemade Soup Daily Complete Line Of Homemade Salads � Fresh Hoagies Made To Order Fresh Party Trays � Hoagie Trays Fruit Baskets Made To Order Hours: Mon.-Fri. 7:30-5 � Sat. 7:30-12 � Closed Sun. Order Your Fruit Basket Now! 287-0179 ACCESS SCRANTON 346-6883 � PITTSTON 654-6883 $5 DOLLAR GIFT CERTIFICATE FREE WITH $50 CERTIFICATE PURCHASE 12 Main Street, Dallas � 674-7565 12 Main Street, Dallas � 674-7565 Monday-Saturday -10am-5:30pm � Sunday 12-4pm Monday Saturday 10am-5pm CMYK PAGE 4C MONDAY, NOVEMBER 21, 2011 (PA) Parental advisory (N) New programming 8:00 8:30 9:00 T E L E V I S I O N THE TIMES LEADER Daily grid contains updated information MOVIES 0 6 < F L U X # ) + 1 AMC AP ARTS CNBC CNN COM CS CTV DSC DSY E! YOUTO World Newswatc Inside Edi- Dancing With the (:01) You Deserve It Castle "Kill Shot" (N) News (:35) News h 16 tion Stars (N) (TVPG) (N) (CC) (TVPG) (CC) (TVPG) Nightline LeaveLeave to Good Good 3's Com- 3's Com- All in the All in the Newswatc Seinfeld Sanford & Sanford & Beaver Beaver Times Times pany pany Family Family h 16 (TVPG) Son Son Judge Evening The Insid- Entertain- How I Met 2 Broke Two and Mike & Hawaii Five-0 "Ki'ilua" Access Letterman Judy News er (N) ment Girls (N) Half Men Molly (N) (N) (TV14) Hollyw'd News Nightly Wheel of Jeopardy! The Sing-Off The groups face elimination. (N) Rock Center With Bri- News at Jay Leno News Fortune (N) (CC) (TVPG) an Williams (N) 11 30 Rock Family Simpsons Family Gossip Girl (N) (CC) Hart of Dixie (N) (CC) Excused TMZ (N) Extra (N) Always (TV14) Guy (CC) Guy (CC) (TV14) (TVPG) (TVPG) (TVPG) Sunny PBS NewsHour (N) Bucknell Forum Pre- Antiques Roadshow Woody Allen: American Masters George Carlin: The Mark Twain (CC) sents (CC) (TVG) (N) (CC) (TVPG) Prize (CC) (TV14) The People's Court The Doctors (N) (CC) Law & Order: Special Law & Order: Special True Hollywood Story Friends Old Chris(N) (CC) (TVPG) (TVPG) Victims Unit Victims Unit (CC) (TVPG) tine Two and Two and Big Bang Big Bang Terra Nova "Vs." (N) House "Dead & News First News Love-Ray- How I Met Half Men Half Men Theory Theory (CC) (TV14) Buried" (N) (TV14) Ten 10:30 mond Bulletproof (R, `96) > Damon Wayans, Starsky & Hutch (PG-13, `04) >> Ben Criminal Minds Criminal Minds "PeneAdam Sandler, James Caan. Stiller, Owen Wilson. "Lucky" (TV14) lope" (TVPG) News Evening Entertain- The Insid- How I Met 2 Broke Two and Mike & Hawaii Five-0 "Ki'ilua" News Letterman News ment er (N) Girls (N) Half Men Molly (N) (N) (TV14) King of King of How I Met How I Met Law & Order: Special Law & Order: Special The 10 The Office Excused The Office Queens Queens Victims Unit Victims Unit News (CC) (TVPG) (CC) Family Family Two and Two and Gossip Girl (N) (CC) Hart of Dixie (N) (CC) PIX News at Ten Jodi Seinfeld Seinfeld Guy (CC) Guy (CC) Half Men Half Men (TV14) Applegate. (N) (TVPG) (TVPG) 30 Rock Two and Two and Big Bang Law & Order: Special Law & Order: Special Phl17 Friends Big Bang 30 Rock (TV14) Half Men Half Men Theory Victims Unit Victims Unit News (TV14) Theory (TV14) The Quick and the Dead (5:30) (R, `95) >> There Will Be Blood (R, `07) >>>> Daniel Day-Lewis. A Texas oil prospector There Will Sharon Stone, Gene Hackman. (CC) becomes morally bankrupt as his fortune grows. (CC) Planet Earth (CC) Planet Earth (CC) Saved (N) (TVPG) Fatal Attractions (CC) Fatal Attractions (CC) Saved (TVPG) (TVG) (TVG) (TVPG) (TVPG) The First 48 (CC) Hoarders "Ron; Carol" Hoarders "Becky; Hoarders "Wilma; Monster Monster Intervention "Luke; (TV14) (CC) (TVPG) Clare" (CC) (TVPG) Nora" (N) (CC) In-Laws In-Laws Shantel" (TV14) Mad Money (N) The Kudlow Report Supermarkets Inc: In- Mob Money: Murders American Greed Mad Money (N) side and John King, USA (N) Erin Burnett OutFront Anderson Cooper 360 Piers Morgan Tonight Anderson Cooper 360 Erin Burnett OutFront (N) (N) (CC) (N) (CC) Daily Colbert (6:57) 30 (:27) 30 Always Always Always Always Always Always Daily Colbert Show Report Rock Rock Sunny Sunny Sunny Sunny Sunny Sunny Show Report SportsNite Flyers NHL Hockey Carolina Hurricanes at Philadelphia Flyers. Flyers SportsNite (CC) Eagles Orange Pregame From Wells Fargo Center in Philadelphia. Postgm Extra Line Saints It's a Mira- Daily The Holy The Journey Home Signs of Solemn World Over Live Vaticano Women of Alive cle Mass Rosary (N) (Live) (TVG) Life Novena Grace American Chopper: American Chopper: American Chopper: American Chopper: American Guns (N) American Chopper: Senior vs. Junior Senior vs. Junior Senior vs. Junior Senior vs. Junior (CC) (TV14) Senior vs. Junior Shake It Good Good Jessie A.N.T. Ratatouille (G, `07) >>> Voices of Patton A.N.T. Good Shake It Up! (CC) Luck Luck (CC) Farm Oswalt, Ian Holm, Lou Romano. (CC) Farm Luck Up! (CC) (TVG) Charlie Charlie (TVG) (TVG) (TVG) Charlie (TVG) Khloe & Khloe & E! News (N) Sex and Sex and Sex and Sex and Kendra (TV14) Chelsea E! News Lamar Lamar the City the City the City the City Lately SportsCenter (N) Monday Night Countdown (N) NFL Football Kansas City Chiefs at New England Patriots. (N) (Live) Sports(Live) (CC) (Live) (CC) Center College Basketball: Maui Invita- College Basketball CBE Classic -- Missouri College Basketball CBE Classic -- California vs. Georgia. tional vs. Notre Dame. (N) (Live) Second semifinal, from Kansas City, Mo. Casper (5:00) (PG, Santa Buddies: The Legend of Santa Paws The Search for Santa Paws (G, `10) Voices The 700 Club (N) `95) >>> of Kaitlyn Maher. Premiere. (CC) (TVG) (G, `09) George Wendt. Diners, Diners, Diners, Diners, Thanksgiving FaDiners, Diners, Diners, Diners, Diners, Diners, Drive Drive Drive Drive vorites Unwrapped Drive Drive Drive Drive Drive Drive Special Report With FOX Report With The O'Reilly Factor Hannity (N) On Record, Greta Van The O'Reilly Factor Bret Baier (N) Shepard Smith (N) (CC) Susteren (CC) The Santa Suit (`10) Kevin Sorbo, Jodie Battle of the Bulbs (`10) Daniel Stern, Matt The Town Christmas Forgot (`10) Lauren Dowdall. (CC) Frewer. (CC) Holly, Rick Roberts. (CC) Restora- Restora- American Pickers Pawn Pawn American Pickers Pawn Pawn Big Shrimpin' (CC) tion tion (CC) (TVPG) Stars Stars (CC) (TVPG) Stars Stars (TVPG) My First My First Hunters House Love It or List It (N) House House House House House House Place Place Int'l Hunters (CC) (TVG) Hunters Hunters Hunters Hunters Hunters Hunters Unsolved Mysteries Unsolved Mysteries Undercover Christmas (`03) Jami Gertz, Comfort and Joy (`03) >> Nancy McKeon, (CC) (TV14) (CC) (TV14) Shawn Christian, Winston Rekert. (CC) Dixie Carter. (CC) That '70s That '70s FriendFriendRidicuRidicuRidicuRidicuRidicuCuff'd Death Val- RidicuShow Show zone (N) zone lousness lousness lousness lousness lousness (TV14) ley lousness Big Time Big Time Sponge- Sponge- Sponge- Sponge- That '70s That '70s George George Friends Friends Rush Rush Bob Bob Bob Bob Show Show Lopez Lopez (TVPG) (TVPG) Fame "The Crazies" Fame "Choices" Bye Bye Birdie (`95) >> Jason Alexander. Premiere. A small town Bye Bye Birdie (`95) (TVPG) (TVPG) goes wild when a rock 'n' roll idol visits. (CC) >> (CC) NASCAR Race Hub Pass Time Pass Time Monster Jam Pass Time Pass Time Pimp My Pimp My Monster Jam (N) Ride Ride Alien vs. Predator (PG-13, `04) >> Sanaa Ways to Ways to Ways to Ways to Ways to Ways to Ways to Ways to Lathan, Raoul Bova. Die Die Die Die Die Die Die Die Angels & Demons (5:00) (PG-13, `09) >> Star Trek: Insurrection (PG, `98) >> Patrick Scare Scare Urban Urban Tom Hanks, Ewan McGregor. Stewart, Jonathan Frakes. (CC) Tactics Tactics Legends Legends King of King of Seinfeld Seinfeld Family Family Family Family Family Family Conan (CC) (TV14) Queens Queens (TVPG) (TVPG) Guy (CC) Guy (CC) Guy (CC) Guy (CC) Guy (CC) Guy (CC) Ada (`61) >>> Susan Hayward, Dean Mar- My Sister Eileen (`55) >> Janet Leigh, Jack Houdini (`53) >>> Tony Curtis, Janet Leigh, tin, Wilfrid Hyde-White. (CC) Lemmon, Betty Garrett. (CC) Torin Thatcher. (CC) Toddlers & Tiaras All-American Muslim Cake Cake Undercover Boss Cake Cake Cake Cake (CC) (TVPG) (CC) Boss Boss "Hooters" (TVPG) Boss (N) Boss Boss Boss Law & Order "Immor- Law & Order "I.D." Law & Order (CC) Law & Order "Angel- The Closer "Fresh CSI: NY (CC) (TV14) tal" (TV14) (CC) (TV14) (TV14) grove" (TV14) Pursuit" (TV14) Agent Cody Banks Johnny World of Advent. MAD (N) King of King of American American Family Family Gumball Time (TVPG) the Hill the Hill Dad Dad Guy (CC) Guy (CC) (5:00) (PG, `03) >> Test Anthony Bourdain: No Anthony Bourdain: No Anthony Bourdain: No The Layover "Singa- Anthony Bourdain: No Anthony Bourdain: No Reservations Reservations Reservations pore" (N) (TVPG) Reservations Reservations (:11) M*A*S*H (Part 1 (6:49) (:22) Roseanne Roseanne Love-Ray- Love-Ray- Love-Ray- Love-Ray- King of King of of 2) (CC) (TVPG) M*A*S*H M*A*S*H mond mond mond mond Queens Queens NCIS (CC) (TVPG) NCIS "Tribes" (CC) NCIS "Stakeout" (CC) WWE Monday Night RAW (N) (Live) (CC) Law & Order: Special (TV14) (TV14) Victims Unit Excused Excused Basketball Wives LA Basketball Wives LA Love & Hip Hop (N) Basketball Wives LA Love & Hip Hop (TV14) (N) (TV14) (TV14) (TV14) (TV14) (TV14) (TV14) Charmed "Saving Pri- Charmed Vampires Golden Golden Golden Golden Golden Golden Golden Golden vate Leo" (TV14) hunt Paige. (TVPG) Girls Girls Girls Girls Girls Girls Girls Girls 30 Rock 30 Rock America's Funniest America's Funniest America's Funniest WGN News at Nine 30 Rock Scrubs (TV14) (TV14) (TV14) Home Videos (CC) Home Videos (CC) Home Videos (CC) (N) (CC) (TV14) Expanding Rehabilita- WYLN Topic A Beaten Storm Pol- WYLN Tarone Late Edition Classified Beaten the tion Report Path itics Kitchen Show Path (5:45) The X-Files Adrenalina PJTV Kipkay TV The X-Files "End (:15) The Green Hor- Batman "Hi Diddle "End Game" (TV14) Game" (CC) (TV14) net (TVPG) Riddle" (TVPG) News 6:00 6:30 7:00 7:30 9:30 10:00 10:30 11:00 11:30 CATERING ALL EVENTS Maureen Noone & Francesco Stuppino CUZ's CATERING 167 Susq. Ave. Exeter 299-7526 Don't just watch a movie, experience it! All Stadium Seating and Dolby Surround Sound ALL FEATURES NOW PRESENTED IN DIGITAL FORMAT EXPERIENCE D/BOX MOTION ENHANCED SEATING ON SELECT FEATURES � FIRST MATINEE SHOW ALL SEATS $5.25 2008 JE E P W RA N GL E R X 4W D S P ORT UTIL ITY DA IL Y S P E CIA L S P E CIA L P RICE $ w w w .raycoeu ro.com S t ck# 627767, 3.8L 6 Cyl, 6 S p eed , o T r ct n Co n t o l, S o f o p , A/C, a io r tT CD, ABS , 29,400 M iles 570-288-6459 715 W yom in g A ve.,K in gston 19,500 Dear Santa, All I want for Christmas is a good PAIR OF SHOES! ***Happy Feet Two in 3D - PG - 110 min. (12:40), (3:00), (5:20), 7:40, 10:00 *Happy Feet Two - PG - 110 min. (1:10), (3:30), 7:10, 9:30 *The Twilight Saga: Breaking Dawn Part 1 - PG13 - 130 min. (12:40), (1:00), (1:20), (1:50), (3:40), (4:00), (4:30), (4:40), 7:00, 7:20, 7:40, 8:00, 9:40, 10:00, 10:20 **. (1:10), (3:45), 7:20, 10:10 ***A Very Harold & Kumar 3D Christmas - R - 100 min. (1:40), (3:50), 7:40, 9:55 (No 1:40 or 3:50 show on Saturday, November 19th) ***Puss in Boots in 3D - PG - 100 min. (1:15), (3:25), 7:15, 9:25 Puss in Boots - PG - 100 min. (1:45), (4:00), 7:30 Paranormal Activity 3 - R - 95 min. 9:40 SPECIAL EVENTS The Metropolitan Opera: Satyagraha LIVE Saturday, November 19th at 12:55pm only TWILIGHT SAGA: THE BREAKING DAWN TWILIGHT SAGA: THE BREAKING DAWN (XD) (PG-13) 1:25PM, 4:25PM, 7:25PM, 10:25PM A VERY HAROLD & KUMAR CHRISTMAS (3D) (R) 12:25PM, 2:40PM, 4:55PM, 7:10PM, 9:25PM HAPPY FEET TWO (3D) (PG) 12:20PM, 1:10PM, 2:50PM, 3:40PM, 5:15PM, 6:10PM, 7:50PM, 8:40PM, 10:20PM, 11:05PM HAPPY FEET TWO (DIGITAL) (PG) 11:30AM, 2:00PM, 4:30PM, 7:00PM, 9:30PM IMMORTALS (3D) (R) 12:45PM, 1:55PM, 3:20PM, 4:40PM, 5:55PM, 7:30PM, 9:15PM, 10:10PM IMMORTALS (DIGITAL) (R) 6:30PM, 9:05PM IN TIME (DIGITAL) (PG-13) (12:00PM, 5:05PM NOT SHOWN ON SAT. 11/19), 10:30PM J. EDGAR (DIGITAL) (R) 12:55PM, 2:25PM, 4:00PM, 5:45PM, 7:20PM, 9:00PM, 10:35PM JACK AND JILL (DIGITAL) (R) 12:35PM, 1:50PM, 3:05PM, 4:05PM, 5:20PM, 6:25PM, 7:40PM,8:45PM, 9:55PM, 11:00PM PARANORMAL ACTIVITY 3 (DIGITAL) (R) (2:45PM NOT SHOWN ON SAT. 11/19), 7:45PM PUSS IN BOOTS (3D) (PG) 12:50PM, 3:10PM, 5:30PM, 7:55PM, 10:15PM PUSS IN BOOTS (DIGITAL) (PG) 12:10PM, 1:30PM, 2:30PM, 3:45PM, 5:00PM, 7:15PM, 9:35PM A Special screening of the family classic A Christmas Story - PG - 94 min. Will be presented on Saturday, November 19th at 10:00am only Admission is the donation of an unwrapped toy (one per family) To Benefit Toys For Tots Sponsored jointly by the Downtown Wilkes Barre Business Association and R/C Theaters TOWER HEIST (DIGITAL) (PG-13) 12:05PM, 2:35PM, 5:05PM, 7:35PM, 10:05PM TWILIGHT SAGA: THE BREAKING DAWN (DIGITAL) (PG-13) 11:10AM, 11:35AM, 11:55AM, 12:40PM, 2:10PM, 2:35PM, 2:55PM, 3:40PM, 5:10PM, 5:35PM, 5:55PM, 6:40PM, 8:10PM, 8:35PM, 8:55PM, 9:40PM, 11:10PM You must be 17 with ID or accompanied by a parent to attend R rated features. Children under 6 may not attend R rated features after 6pm 825.4444 � rctheatres.com NO PASSES GET YOUR KITCHEN OR BATH REMODELED FOR WINTER 723069 158 Memorial Hwy. Shavertown 1.800.49.SHOES Now Accepting PREMIUM CHANNELS Brown HBO Sugar (4:30) 24/7 Cotto Clash of the Titans (PG-13, `10) >> Sam Bored to EnlightWorthington. Perseus, son of Zeus, embarks Death (N) ened (N) on a dangerous journey. (CC) (TVMA) (TVMA) Boardwalk Empire Nucky barters in Ireland. (TVMA) Enlightened (TVMA) Bored to Death (TVMA) HBO2 (`04) >>> Alan Rickman, Mos Something the Lord Made (5:30) Harry Potter and the Deathly Hallows: Part 1 (PG-13, Love & Other Drugs (R, `10) >> Jake Gyl`10) >>> Daniel Radcliffe. Harry sets out to destroy the lenhaal. A pharmaceutical salesman roDef. (CC) secrets to Voldemort's power. (CC) mances a free-spirited woman. (CC) The Getaway (R, `94) >> Alec Baldwin, Kim Wes Craven's New Nightmare (R, `94) >> Hughes. (CC) Conviction (R, `10) >> Hilary Swank. A er from prison. (CC) MAX Basinger. Husband-and-wife thieves flee after Robert Englund, Heather Langenkamp, Miko woman earns a law degree to free her brotha gangster's betrayal. (CC) Ninja Assassin (5:15) The Devil's Own (R, `97) >>> Harrison The Kids Are All Right (R, `10) >>> Ju(10:50) Ford, Brad Pitt. A New York cop unknowingly lianne Moore, Annette Bening, Mark Ruffalo. Life on MMAX (R, `09) >> Rain. (CC) shelters an Irish terrorist. (CC) (CC) Top (CC) Chemistry (CC) (TVMA) SHO cious (5:30) (R, `10) An ex-con begins a race against time to Orlando Bloom. Sympathy for DeliThe Tourist (5:30) Faster (7:15) (R, `10) >> Dwayne Johnson. Dexter "Sin of Omission" (iTV) (CC) avenge his brother's murder. (TVMA) Homeland "Achilles Heel" (iTV) (CC) (TVMA) Dexter "Sin of Omission" (iTV) (CC) (TVMA) STARZ (PG-13, `10) >> Tangled (7:15) (PG, `10) >>> Voices of Burlesque (PG-13, `10) >> Cher, Christina Boss "Remembered" Mandy Moore, Zachary Levi. (CC) Aguilera, Eric Dane. (CC) (TVMA) Father of the Bride (6:15) (PG, `91) >>> The Other Woman (R, `09) >> Natalie Port- The Ghost Writer (PG-13, `10) >>> Pierce man. A grieving mother has a difficult time Brosnan. A ghostwriter's latest project lands TMC Steve Martin. A doting dad deals with his with her stepson. (CC) daughter's impending wedding. him in jeopardy. (CC) TV TALK Actor Jason Segel; actor Nathan Fillion; Florence and the Machine performs. (N) 7 a.m. 28 Today Betty White; Marlo Thomas; Rascal Flatts; Michele Bachmann; Penelope Ann Miller. (N) 8 a.m. 56 Better Jill Zarin; getting the most out of holiday money; pies. (N) (TVPG) 9 a.m. 3, 22 Anderson (N) (TVG) 9 a.m. 16 Live! With Kelly Jerry Seinfeld; Jason Segel; Jamie Oliver. (N) (TVPG) 9 a.m. 53 Dr. Phil Dr. Phil delves into the accusations of child molestation rocking Penn State. (N) (TVPG) 9 a.m. FNC America's Newsroom (N) 10 a.m. 16 The Ellen DeGeneres Show Rihanna; Drew and Brittany Brees; Steve Spangler. (N) (TVG) 10 a.m. 53 The Steve Wilkos Show (N) (TV14) 11 a.m. 16 The View Actor Ben Kingsley; chef Cat Cora; viewer calls. (N) (TV14) 11 a.m. 44.2 Democracy Now! (TVG). B UCCI Tickets: 570-341-1568 / Building a Better Future. 517 Pierce Street F INANCIAL Kingston � 288-8704 S ERVICES CMYK THE TIMES LEADER D I V E R S I O N S MONDAY, NOVEMBER 21, 2011 PAGE 5C Woman wants to wash her husband right out of the holiday kitchen Dear Abby: What is a wife to do? My husband occasionally pitches in to help me prepare holiday meals. He prides himself on his dishwashing skills, but when he's done I have to rewash most of the pots and pans because he doesn't check his work. If I ask him to redo them, he reacts as though it's a criticism and has an over-the-top fit. At times like Thanksgiving I'm stressed out cooking for the family and would love his help, but it's more trouble than it's worth. Can you provide a strategy that can keep us humming along happily with our husbands in the kitchen? -- Dreading Thanksgiving in L.A. DEAR ABBY ADVICE Dear Dreading: Perhaps you should soak the pots and pans immediately after you're done cooking, so when the meal is done your husband will have an easier job of washing them. If any food is still hard to remove, offer to help him by filling the utensils with water and placing them on the stove; let them boil a while, and then wash them again with detergent and a brush. Dear Abby: I have wanted a baby for a long time. Now that I'm 31, my desire is growing stronger. My boyfriend of 11 years, "Chad," is 35. His daughter lives with us and I have raised her like she was mine. Chad and I discussed having a baby and went to a fertility clinic to make sure we're healthy and would have no complications trying to conceive. Now, almost a year later and still no baby, he says he has a successful business, loves his life and doesn't want any more kids! "Maybe down the road" he "might" change his mind. I hate him for this. I had two abortions for him five years into our relationship because he felt we weren't ready. He was starting his business and I was still in my last year of college. Abby, please help me. I am furious with him, and I'm starting to pull away from him and his daughter. -- Cheated in New York Dear Cheated: I'm sorry, but your signature indicates you have a firm grasp of your situation. It appears you will never have what you want if you stay with Chad, so pack your bags and get on with your life. Dear Abby: My wife of 15 years has been forthcoming about the four serious relationships (two marriages included), she had before we were married. Recently, however, she mentioned she still has a "place in her heart" -- and always will -- for her first boyfriend. They had a three-year high school romance. I find this really disturbing. It's like I will never get 100 percent of her heart, no matter what. I could almost accept feelings for an ex-husband because of the nature of the relationship -- but a boyfriend? Come on! Please advise. -- She Has All of Me Dear All Of Me: Your wife's first love will always have a place in her heart because the relationship has been idealized. They didn't experience the ups and downs of daily living. You HAVE all of her, including the fact that she tends to romanticize the past. However, when the subject of the past is raised, you turn it to the present or the future..) UNIVERSAL SUDOKU CRYPTOQUOTE HOROSCOPE BY HOLIDAY MATHIS ARIES (March 21-April 19). You love some of what you are doing, and you'll really start to excel when you get to the place where you love it all. For now, settle for at least dropping your resistance to the more challenging pieces. TAURUS (April 20-May 20). Just as physical pain is a warning that what's going on is harmful to the body, emotional pain is a message that what's going on is harmful to the soul. GEMINI (May 21-June 21). Sometimes you're surprised when people follow and imitate you. Don't be. Believe that what you're doing is beneficial to you and will benefit others, as well. CANCER (June 22-July 22). You will change what you say based on the ears that are around you. It's not because you're wishywashy; it's because you are sensitive to those who are younger or older. LEO (July 23-Aug. 22). Though you truly want and need a certain level of attention, you'll think more about what a special someone in your life wants or needs, and you'll come up with a way of supplying it. VIRGO (Aug. 23-Sept. 22). The greatest spiritual challenge of all time is to stay "in the moment." And yet you do this at several points throughout your day, most notably when you are enjoying yourself. LIBRA (Sept. 23-Oct. 23). You'll be balancing the pros and cons of your relationships. It's not polite to keep track, and yet it's impractical not to. If anyone can strike this complicated balance, it's you. SCORPIO (Oct. 24-Nov. 21). Anything can happen at any moment, which is just the way you like it. If life were too predictable, you'd do something outrageous just to shake it up again. SAGITTARIUS (Nov. 22-Dec. 21). The ones with whom you are closest are perhaps not as attentive as you want them to be. The ones just outside your inner circle will close the gap, and it will all even out in the end. CAPRICORN (Dec. 22-Jan. 19). Your friends and colleagues will do things that surprise you. Perhaps this involves the kind of professional and personal achievements that give you the slightest tinge of jealousy. AQUARIUS (Jan. 20-Feb. 18). The person who is joking around may make you feel as though his or her words are not the least bit funny. Freud said that there are no jokes, and maybe he was right. PISCES (Feb. 19-March 20). Serious demands are being made on you. Whether or not anyone has the right to make these demands is debatable. But they are being made, nonetheless. TODAY'S BIRTHDAY (Nov. 21). You fall in love with life over and over again. You'll put much of your attention into an activity that makes you feel connected to many people at once. In 2012, you'll watch excitedly as your team or candidate becomes No. 1. Professional developments in February and March will contribute to a move. Cancer and Virgo people adore you. Your lucky numbers are: 30, 1, 12, 24 and 28. MONDAY, NOVEMBER 21, 2011 F U N N I E S TIMES LEADER CLASSIC PEANUTS GARFIELD STONE SOUP HAGAR THE HORRIBLE BLONDIE DRABBLE SALLY FORTH MOTHER GOOSE & GRIMM BEETLE BAILEY TUNDRA THATABABY B.C. FOR BETTER OR FOR WORSE PICKLES GET FUZZY PARDON MY PLANET CLOSE TO HOME ARGYLE SWEATER MARMADUKE HERMAN TIMES LEADER MARKETPLACE 110 Lost 110 Lost MONDAY, NOVEMBER 21, 2011 PAGE 1D CALL TO PLACE 24/7 570.829.7130 800.273.7130 SEARCH: TIMESLEADER.COM/CLASSIFIED EMAIL: CLASSIFIEDS@TIMESLEADER.COM 135 Legals/ Public Notices 135 Legals/ Public Notices 135 Legals/ Public Notices 135 Legals/ Public Notices 135 Legals/ Public Notices 100 ANNOUNCEMENTS 110 Lost ALL JUNK CARS WANTED!! ALL JUNK CAR & TRUCKS WANTED Highest Prices Paid!!! FREE REMOVAL Call Vito & Ginos Anytime 288-8995 135 Legals/ Public Notices 135 LEGAL NOTICE Legals/ Public Notices Lost 9 year old Black Lab, last seen 11/15, in the Main Road, Sweet Valley area. No collar. Please call 570-477-1307 SEALED proposals will be received at the Luzerne County Office of County Manager / Chief Clerk, 200 North River Street, Wilkes-Barre, Pennsylvania 18711, until 4:00 p.m., Prevailing Time, Monday, December 5, 2011 for: LUZERNE COUNTY TAX REVENUE ANTICIPATION LOAN FOR THE YEAR 2012 THE COUNTY IS SOLICITING PROPOSALS FOR INTEREST RATES ON A TAX REVENUE ANTICIPATION LOAN IN AN AMOUNT NOT TO EXCEED EIGHTEEN MILLION DOLLARS ($18,000,000) FOR THE YEAR 2012. Bids will be opened at 4:15 p.m., Prevailing Time, Monday, December 5, 2011 in the office of the County Manager / Chief Clerk, Court House, Wilkes-Barre, PA. Bid envelopes to be plainly marked on the outside stating service offered and name of company or individual bidding. The Luzerne County Commissioners reserve the right to reject any and all responses, to modify the scope, to negotiate with one or more of the respondents, to solicit other proposals, to select one or more providers and to waive any/or all requirements determined to be in the best interest of the County. All interested parties must contact the County's Office of Budget & Finance, for proposal specifications, at (570) 825-1557 electronically at or JoanMarie.Pusateri@luzerne county.org. The County of Luzerne does not discriminate on the basis of race, color, national origin, sex, religion, age, family and handicapped status in employment or the provision of services. THE COUNTY OF LUZERNE IS AN EQUAL OPPORTUNITY/AFFIRMATIVE ACTION EMPLOYER. Douglas A. Pape Luzerne County Manager / Chief Clerk Friday 4:00 pm on Thursday Holidays call for deadlines You may email your notices to mpeznowski@ timesleader.com or fax to 570-831-7312 or mail to The Times Leader 15 N. Main Street Wilkes-Barre, PA 18711 For additional information or questions regarding legal notices you may call Marti Peznowski at 570-970-7371 or 570-829-7130 PUBLIC NOTICE PUBLIC NOTICE LUZERNE COUNTY CONVENTION AND VISITORS BUREAU NOTICE IS HEREBY GIVEN THAT A MEETING OF THE LUZERNE COUNTY CONVENTION AND VISITORS BUREAU (LCCVB) WILL BE HELD ON TUESDAY, NOVEMBER 29, 2011 AT 11:00 A.M. IN THE LCCVB MAIN OFFICE, 56 PUBLIC SQUARE, WILKESBARRE, PA, FOR THE PURPOSE OF CONDUCTING THE GENERAL BUSINESS OF THE AGENCY. MERLE D. MACKIN EXECUTIVE DIRECTOR The LCCVB Office is a facility accessible to persons with disabilities. Please notify Connie Mazur at 570.819.1877 no less than 48 hours in advance if special accommodations are required. Official Notice is hereby given that the County of Luzerne is soliciting Requests for Proposals from qualified entities for the following: Development of central services cost allocation plans that identify the various costs incurred by Luzerne County to support and administer federal programs. The plans will contain a determination of the allowable costs of providing each supporting service, such as purchasing, legal counsel, disbursement processing, etc. Proposals must be submitted to Luzerne County Chief of Budget and Finance Joan Marie Pusateri, Luzerne County Courthouse, 200 North River Street, WilkesBarre, PA 18711, by 4:00 p.m. on December 9, 2011. Interested parties can obtain specifications information in person at the office of the Chief of Budget and Finance of the County of Luzerne, located in the Courthouse, 200 North River Street, WilkesBarre, or by calling (570) 825-1557 to request specifications by mail or facsimile. By order of Douglas A. Pape Luzerne County Manager/Chief Clerk The Luzerne County Courthouse is a facility accessible to persons with disabilities. Please notify the Luzerne County Commissioners Office, no later than 48 hours in advance, if special accommodations are required. NOTICE TO BIDDERS The Controller of Luzerne County will receive sealed proposals at the Controller's Office, Attention Walter Griffith, Controller, Penn Place Bldg., 20 N. Pennsylvania Ave., Wilkes-Barre, Pennsylvania, until 1:00 PM Prevailing Time, 1st day of December, 2011 for: ROAD & BRIDGE DEPARTMENT: SNOW PLOW BLADES REF #111711B1RB Bids will be opened at 1:00 PM Prevailing Time the 1ST day of DECEMBER 2011 at the Luzerne County Controllers Office, Penn Place Bldg., 20 N. Pennsylvania Ave., Wilkes Barre, PA. Specifications, Bid Forms and further information may be obtained at the office of the Luzerne County Purchasing Director, Penn Place, Wilkes-Barre, PA or by visiting our website. Proposals must be accompanied by a Certified Check, Bank Cashier's Check, Bid Bond or Trust Company Treasurer's Check in the amount of 10% of the total bid amount made payable to the Treasurer of Luzerne County. Bid envelopes to be plainly marked on the outside stating service offered and name of company or individual bidding. The Luzerne County Commissioners reserve the right to reject any or all bids and to waive informalities in the bidding. The County of Luzerne does not discriminate on the basis of race, color, national origin, sex, religion, age, family and handicapped status in employment or the provision of services. THE COUNTY OF LUZERNE IS AN EQUAL OPPORTUNITY EMPLOYER. Ad Published by order of: Douglas A. Pape County Manager/Chief Clerk 570.301.3602 Let the Community Know! Place your Classified Ad TODAY! 570-829-7130 CALL ANYTIME HONEST PRICES FREE REMOVAL CA$H PAID ON THE SPOT LOST, M&T Bank Envelope with cash inside on Tuesday, Nov-15 in WilkesBarre, Kingston, Edwardsville or Forty Fort area. 570-817-1941 Name is Austin, he is a domestic medium hair, grey with black stripes and a white belly and paws. Has blue/ grey eyes. Weighs 17 lbs. Missed dearly. Reward if returned. 570-696-4325 LOST MALE CAT Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! LOST. Chihuahua/Terrier mix. Small, all white except for half his face & ear. Named DJ. Lost near sports complex on Coal St. in WB. 570-351-4614 LOST.Grey/black striped Tabby cat. Missing since early October. Last seen on McHale St., Swoyersville. REWARD BID NOTICE Wyoming Area School District is accepting bids for Refuse/Sanitation for the 2011-2012 school year. Bids will be received at the Office of the Secretary, Wyoming Area School District, 20 Memorial Street, Exeter, PA. 18643, no later than Tuesday, November 29, 2011, at 10:00 a.m. at which time bids will be opened. Bid specifications and conditions are available at the District's Business Office, 20 Memorial Street, Exeter, PA., 18643, Monday through Friday, 8:00 a.m. to 3:00 p.m. John Bolin, Secretary of the Board 150 Special Notices 150 Special Notices Looking for that special place called home? Classified will address Your needs. Open the door with classified! 375 W Main St, Plymouth, PA 18651 Octagon Family Restaurant 570-779-2288 150 Special Notices Wednesday Nov. 23 Special Wednesday-Sunday Open at 4 pm .35 cent Wings Home of the Original `O-Bar' Pizza LINE UP A GREAT DEAL... IN CLASSIFIED! Call 570-331-4444 120 Found 412 Autos for Sale 412 Autos for Sale 1339 N. RIVER STREET PLAINS, PA. 18702 JO-DAN MOTORS `10 MERCEDES E350C 829-2043 $ All Junk Cars & Trucks Wanted Highest Prices Paid In CA$H FREE PICKUP! 135 Legals/ Public Notices Love the romantic candlelight and sheer drapes in Oyster? Experience the same ambiance at your Oyster Wedding! bridezella.net 135 Legals/ Public Notices WILKES-BARRE CITY CONTRACTORS' LICENSE EXPIRING DECEMBER 31, 2011 Wilkes-Barre � The City of Wilkes-Barre is serving notice that the following contractor licenses will expire on December 31, 2011: Journeyman Plumber Master Plumber Master Plumbing and Heating HVAC and Air Sprinkler Sewer Service Journeyman Electrician The following schedule applies: The City is also happy to announce that there will be no increase in licensing fees for 2012. Before February 17, 2012, there will be a late fee of $25.00. If any license is renewed on or after February 18, 2012, there will be a $100.00 late fee. If you do not renew your license, or place your license in escrow within a one year period, you will be required to re-test to obtain a license in the future. The licenses can be renewed at the Code Enforcement Office located on the first floor of Wilkes-Barre City Hall. WilkesBarre City Hall is located at 40 East Market Street, Wilkes-Barre, PA 18711 and the hours of operation are Monday through Friday from 9:00 a.m. to 4:30 p.m. If you have any questions please contact the Wilkes-Barre City Code Enforcement Office at 570.208.1629. TAXES AND TAGS ADDITIONAL. We Now Offer Buy Here - Pay Here! Low Down Payment Clean, Inspected Vehicles 45,995 `07 DODGE DURANGO LIMITED $ Charcoal, Hemi, Leather, Only 44K Miles ..... 20,995 `08 TOYOTA SIENNA XLE $ White Pearl, Nicely Equipped, 48K Miles ..... 24,995 `10 FORD FUSION SE $ White Pearl, Spoiler, 38K Miles...................... 18,495 `08 VOLKSWAGEN PASSAT $ Blue, Nicely Equipped, 52K Miles.................. 17,995 `08 MAZDA 6I $ Silver, Sunroof, Spoiler, 50K Miles................. 15,995 `08 MITSUBISHI ECLIPSE GS $ Copper, 5-Speed, Only 48K Miles .................. 13,995 `07 TOYOTA CAMRY LE $ White, Nicely Equipped, Good Miles ............. 13,995 `07 DODGE CALIBER SXT $ White, Nicely Equipped, 63K Miles ............... 10,995 `08 SATURN AURA XE $ Blue, Sunroof, P. Seat, PW, PDL ...................... 10,995 `98 CADILLAC ELDORADO $ Black, Sunroof, One Owner, 83K ........................ 7,995 Black Coupe, Only 9K Miles ........................... LEGAL NOTICE NOTICE IS HEREBY GIVEN that at a meeting of the West Pittston Borough Council to be held on Tuesday, December 6, 2011 at 6:30 p.m. prevailing time in Council Chambers, 555 Exeter Avenue, West Pittston, Pennsylvania, the following proposed Ordinance shall be considered and proposed for enactment and passage, and public comment is solicited: ORDINANCE REPEALING WEST PITTSTON BOROUGH'S ORDINANCE BANNING THE SALE OR POSSESSION OF CERTAIN CHEMICALS BEING MARKETED AS, BUT NOT LIMITED TO BATH SALTS WHEREAS, on April 26, 2011 West Pittston Borough ("the Borough") enacted an Ordinance banning the sale or possession of certain chemicals being marketed as, but not limited to Bath Salts. WHEREAS, the legislation and/or regulation of the sale or possession of such chemicals is the exclusive province of Pennsylvania's legislature. NOW, THEREFORE, BE IT ENACTED and it is hereby resolved and enacted by the Borough that West Pittston Borough's Ordinance No. ______ banning the sale or possession of certain chemicals being marketed as, but not limited to Bath Salts hereby REPEALED. The full text of the said proposed Ordinance is available for public inspection at the Office of the Borough Secretary, 555 Exeter Avenue, West Pittston, Pennsylvania, during regular office hours of 8:00 a.m. to 4:00 p.m. prevailing time, Monday through Friday (except on holidays). The Borough of West Pittston does not discriminate on the basis of Race, Color, National Origin, Sex, Religion, Age, Disability or Family Status in Employment or the Provision of Services. Any person with a disability requiring special accommodation to attend this Council meeting should notify the Borough Secretary's Office at 570-655-7782, as early as possible prior to this meeting. The Borough of West Pittston is an Equal Opportunity/Affirmative Action Employer. MARK W. BUFALINO, ESQUIRE West Pittston Borough Solicitor 570-574-1275 135 Legals/ Public Notices LEGAL NOTICE Articles placed in storage at 3H Self Storage, 240 Factory Street, Luzerne, Pa, under the account of #5 Debra Waltick, #39 Sean Dooner, #47 John O'Connell, #64 Donna Meza, #66 Kim Klocko, will be sold at auction at a time and location to be decided. 6 MO. WARRANTY ON ALL VEHICLES � FULL SERVICE DEPARTMENT We Service ALL Makes & Models Family Owned & Operated for over 40 years 412 Autos for Sale $ *For qualified Buyers. Bi-weekly payments greater than 17 1/2 % of monthly net income, additional down-payment may be required. Costs to be paid by Buyer at delivery: registration, taxes, title, doc fee. DOWN* steve@yourcarbank.com 0 ESTATE NOTICE Estate of Robert Charles Colladay, Deceased. Late of Fairview Twp., Luzerne County, PA. D.O.D. 10-17 Charles A. Colladay, Executor, c/o Susan E. Piette, Esq., 375 Morris Rd., P.O. Box 1479, Lansdale, PA 194460773. Or to his Atty.: Susan E. Piette, Hamburg, Rubin, Mullin, Maxwell & Lupin, P.C., 375 Morris Rd., P.O. Box 1479, Lansdale, PA 19446-0773. ESTATE NOTICE Estate of James R. Klein a/k/a James Klein, Deceased. Late of White Haven, Luzerne County, PA. D.O.D. 7-9 Jane Singer, Executrix, 122 Brentwood Dr., Mt. Laurel, NJ 08054. Or to her Atty.: Edward J. Gilson, Jr., 8001 Roosevelt Blvd., Ste. 501B, Phila., PA 19152. LEGAL NOTICE DALLAS TOWNSHIP BOARD OF SUPERVISORS LUZERNE COUNTY, PENNSYLVANIA GLENN M. HOWELL, Secy-Treas. NANCY Y. BALUTIS, Assist Secy-Treas. Attorney Thomas P. Brennan, Solicitor Phillip L. Walter, Chairman Frank E. Wagner, Vice-Chairman Glenn M. Howell, Supervisor The proposed budget for the year "2012" for the Township of Dallas, Luzerne County, was presented at the Board of Supervisors Meeting held on November 15, 2010. Following is a summary of expenditures for the proposed budget. Liquid Fuel Funds General Government Public Safety Highways Miscellaneous General Funds $340,450.00 $854,500.00 $744,800.00 $578,700.00 Total of all Funds $340,450.00 $854,500.00 $967,187.47 $578,700.00 $222,387.47 A complete copy of the proposed budget is available for inspection at the Municipal Building located at 601 Tunkhannock Highway, Dallas, Pennsylvania. The final budget will be presented at the regular meeting of the Township of Supervisors on December 20, 2011 at the Municipal Building, beginning at 7:30 PM. The annual reorganizational meeting of the Dallas Township Supervisors will be held on Tuesday, January 3, 2012, at 7:00 P.M., at the Dallas Township Municipal Building, with the regular January bi-monthly meeting immediately following. Nancy Y. Balutis, Assistant Secy-Treas. W Y O M I N G VA L L E Y 415 Kidder Street Wilkes-Barre, PA 18702 570.822.8870 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 2011 CHEVY SILVERADOS BONNERCHEVROLET.COM 694 WYOMING AVE., KINGSTON 287-2117 Chevy Runs Deep SAVE OVER $ *Prices plus tax & tags, Lease payment is plus tax. Not responsible for typographical errors. $0 1st Month Payment, $0 Security Deposit, $0 Down Payment, $0 Due at Delivery. 6,000* OR UP TO 0% 72 MOS PAGE 2D MONDAY, NOVEMBER 21, 2011 409 Autos under $5000 409 TIMES LEADER 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale White. New manual transmission & clutch. Front wheel drive. 165k highway miles. Great on gas. Good condition, runs well. $3,000 or best offer 570-331-4777 150 Special Notices ALL JUNK CAR & TRUCKS WANTED Highest Prices Paid!!! FREE REMOVAL Call V&G Anytime 288-8995 94,000 miles, automatic, front wheel drive, 4 door, air conditioning, air bags, all power, cruise control, leather interior, $3,300. 570-394-9004 CADILLAC `94 DEVILLE SEDAN LESABRE E AUTO SA BUICK `05 kept. 1 Garage LEO'S AUTO SALES ACM343-1959 LES owner. Local driv92 Butler St auto, new tires, excellent condition $2,150 Autos under $5000 412 Autos for Sale PONTIAC `01 SUNFIRE 2 door, 4 cylinder, HYUNDAI 4 cylinder, `02 ACCENT 4 door, GMC '00 JIMMY 4 door, 6 cylinder, Wilkes-Barre, PA 570-825-8253 GOOD CREDIT, BAD CREDIT, NO CREDIT Call Our Auto Credit Hot Line to get Pre-approved for a Car Loan! 1009 Penn Ave Scranton 18509 Across from Scranton Prep ing, very good condition. 53,500 miles. Asking $9,700 (570) 457-6414 leave message ANNIVERSARY EDITION V8, Auto, 1,200 miles, all options, show room condition. Call for info. Asking $24,995 Serious inquiries only. 570-636-3151 FORD `04I,MUSTANG Mach 40th Only 8,200 miles! 1 Owner. $15,995 HYUNDAI `10 ELANTRA GLS PONTIAC `04 VIBE VOLKSWAGEN `00 BEETLE 2.0 automatic, air 67k miles $6400. 570-466-0999 Runs good, Air, automatic, fair shape. $2,000. 347-693-4156 415 Autos-Antique & Classic VOLVO 850 `95 auto. 91,000 miles $1,850 MONTY SAYS shape, all leather. $4650. BUICK `03 Century. Great shape $3400 570-819-3140 570-709-5677 CADILLAC `03 DeVille. Excellent auto, 4x4. $2,150. Current Inspection On All Vehicles DEALER 11 AUDI S5 QUATTRO CONVERTIBLE Sprint blue/black & tan leather, auto, 7 speed, turbo, 330 HP, Navigation,(AWD) 09 CHRYSLER SEBRING 4 door, alloys, seafoam blue. 08 PONTIAC GRAND blue, auto V6 07 HYUNDAI SONATA GLS navy blue, auto, alloys 07 CHRYSLER 300 LTD AWD silver, grey leather 06 PONTIAC G6 black, auto, 4 cyl. AUDI S8 QUATTRO Mid blue/light grey leather, Navigation, (AWD) 01 PONTIAC AZTEK 4 door. Auto. Grey 01 VW JETTA GLS green, auto, 4 cyl 01 VOLVO V70 STATION WAGON, blue/grey, leather, AWD 98 MAZDA MILLENIA green 98 MERCURY GRAND MARQUIS black 98 HONDA CIVIC EX, 2 dr, auto, silver 97 BUICK PARK AVENUE, black/tan leather 08 DODGE RAM 1500 QUAD CAB, white, 5.7 Hemi, 4 door, 4x4. 08 JEEP PATRIOT SPORT silver 5 speed 4x4 08 CADILLAC ESCALADE Blk/Blk leather, 3rd seat, Navgtn, 4x4 07 DODGE DURANGO SLT blue, 3rd seat, 4x4 07 CHEVY UPLANDER silver, 7 passenger mini van 07 DODGE GRAND CARAVAN SXT Blue grey leather, 7 passenger mini van 06 MITSUBISHI ENDEAVOR XLS, Blue auto, V6, awd 06 DODGE GRAND CARAVAN ES, red, 4dr, entrtnmt cntr, 7 pass mini van 05 CHEVY TRAILBLAZER LT, black, sunroof, 4x4 05 CHEVY TRAILBLAZER LT, blue, grey leather, 4x4 05 JEEP LIBERTY SPORT blue 4x4 05 FORD ESCAPE LTD tan, tan leather, sunroof, 4x4 05 JEEP GRAND CHEROKEE LAREDO Blue, auto, 4x4 05 FORD F150 XLT SUPER CREW TRUCK Blue & tan, 4 dr., black, black leather, 3rd seat, 4x4 04 JEEP GRAND CHEROKEE OVERLAND Graphite grey, 2 tone leather, sunroof, 4x4 04 CHEVY SUBURBAN LS, pewter silver, 3rd seat, 4x4 03 JEEP GRAND CHEROKEE LAREDO, silver, V6, 4x4 03 FORD WINDSTAR LX green 4 door, 7 passenger mini van 02 CHRYSLER TOWN & COUNTRY 7 pas senger, mini van, gold AWD 02 CHEVY 2500 HD Reg. Cab. pickup truck, green, auto, 4x4 00 CHEVY BLAZER LT Black & brown, brown leather 4x4 00 ISUZU RODEO silver, auto 4x4 00 CHEVY 1500 2wd truck, burgundy & tan 98 EXPLORER XLT Blue grey leather, sunroof, 4x4 97 DODGE RAM 1500 red, auto, 4 x 4 96 CVEVY BLAZER black 4x4 XCAB TRUCK SILVERADO XCAB PRIX SE 800-825-1609 CADILLAC `94 SEVILLE 8,900 original miles, original owner, black on black. Still new. Serious buyers only. $7,950 (570) 693-3938 CHEVROLET `03 IMPALA 97,000 miles, $3,300. 570-592-4522 570-592-4994 XLT. 56,800 miles. Grey metallic with grey cloth interior. 2WD. Auto. Power windows & locks. Dual air bags. A/C. Alloy Wheels. Excellent condition. $14,500 Trades Welcome 570-328-5497 FORD `08 ESCAPE 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 GT CONVERT. One owner. Extra clean. Only 15K miles. $18,880 FORD `06 MUSTANG Deja Vu Salon will be gearing up to take care of all your salon needs for the holiday season. Joan C. will be there now that her secret garden is in slumber... CHEVY `95 BLAZER 4 door. 92 K. New brakes & gas tank. New inspection. $3,895 4 door. Auto. Power galore. New inspection. $4,495. NISSAN 01 SENTRA 51,267 miles, MUST SELL $3,900 (570) 760-0511 CHEVROLET `88 MONTE CARLO SS V8, automatic, CHEVROLET `06 CORVETTE CONVERTIBLE 4 door sedan. Like PONTIAC 01 GRAND AM 4 cylinder. Auto. Sharp Sharp Car! $2,995 Call For Details! 570-696-4377 1518 8th Street Carverton, PA Near Francis Slocum St. Park 415 Autos-Antique & Classic speed. Air. Power windows. Metallic brown. Saddle Interior. Meticulous original owner. Garaged. New Battery. Inspected. Excellent Condition. $25,000. OBO (610) 797-7856 (484) 264-2743 PORSCHE `78 911 SC TARGA 60,000 miles. 5 CHEVY `30 HOTROD COUPE All original $12,000 427 FORD `76 THUNDERBIRD $49,000 Commercial Trucks & Equipment MERCEDES `76 450 SL MERCEDES `29 $24,000 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 FORD `08 FOCUS SE Auto. Alloys. CD Player. $11,880 412 Autos for Sale base KM2, 5 speed, excellent condition, 46,200 miles. $12,500. OBO. Call 570-592-1829 JEEP `04 WRANGLER 4" lift, 33" BFG vertible,new $58,000, 3.2 liter, 6 cylinder, 250HP. Loaded with all the extra options. Less than 15,000 miles. $21,000 570-586-0401 PORSCHE `01 BOXSTER S Biarritz white, con- LINE UP A GREAT DEAL... IN CLASSIFIED! Kit Car $9,000 (570) 655-4884 hell-of-adeal.com STATION WAGON V8, automatic, 8 passenger, 3rd seat, good condition, 2nd owner. REDUCED TO $6,500. 570-579-3517 570-455-6589 FORD `52 COUNTRY SEDAN CUSTOM LINE Only 12,000 miles. Vehicle in like new condition. $19,000. 570-288-4322 CHEVY `08 3500 HD DUMP TRUCK 2WD, automatic. PAYING $500 Full size 4 wheel drive trucks for heavy equipment, backhoes, dump trucks, bull dozers HAPPY TRAILS TRUCK SALES 570-760-2035 542-2277 6am to 8pm 2WD V6. Regular Cab/6Ft. 5 speed. 113,000 miles. Runs like a champ. Needs some work. $1,400. 570-814-1255 DODGE `95 DAKOTA MINIMUM DRIVEN IN ALSO PAYING TOP $$$ Psychic Readings by Doreena Find answers and peace of mind thru psychic & spiritual readings and chakra balancing meditations Call today for a better tomorrow! Mention this ad for $10 off! 610-377-5114 Loaded. 7 passengers. Rear bucket seats. New inspection. $3,995. DODGE `01 GRAND CARAVAN EX 80K original miles,1 owner, garage kept, camel leather interior, 3.2L / 6 cylinder, 5-speed automatic, front/rear & side airbags, ABS Navigation System, 8-speaker surround system DVD/CD/AM /FM/cassette,XM Satellite Radio, power & heated front seats,powerdoor locks & windows, power moonroof, 4 snow tires included!....and much, much more! Car runs and looks beautiful $17,500 Firm See it at Orloski's Car Wash & Lube 295 Mundy Street (behind Wyoming Valley Mall) or Call 239-8461 ACURA `06 TL White Diamond Silver beauty, 1 Owner, Museum quality. 4,900 miles, 6 speed. All possible options including Navigation, Power top. New, paid $62,000 Must sell $45,900 570-299-9370 CHEVY `11 MALIBU LT Moonroof. 7K miles. $17,990 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 Beautiful. Burgundy with doeskin interior. All options. 26k. Mint condition flawless. Looking to sell for trade in value of $22,000. 570-479-6722 LEXUS `08 ES 350 SUVS, VANS, TRUCKS, 4 X4's 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 CHRYSLER `04 Silver, 2nd owner clean title. Very clean inside & outside. Auto, Power mirrors, windows. CD player, cruise, central console heated power mirrors. 69,000 miles. $4900. 570-991-5558 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! Automatic. 8 ft. modified flat bed. 90k miles. Runs great. $4,900 (570) 675-5046 Call after 6:00 p.m. FORD `95 F150 4x4. 6 cylinder. 123,000 miles, 4.2 liter V8, 300hp, silver with black leather,heated steering wheel, new run flat tires, 17" rims, 22 mpg, German mechanic owned. $7,500. OBO. 570-822-6785 AUDI `01 A6 QUATTRO SEBRING CONVERTIBLE 4 door 4x4. New inspection. $3,695 FORD `98 EXPLORER 406 ATVs/Dune Buggies 123,000 miles, 4.2 liter V8, 300hp, silver with black leather,heated steering wheel, new run flat tires, 17" rims, 22 mpg, German mechanic owned. $7,500. OBO. 570-822-6785 3.0 V6. Silver. New tires & brakes. 130k highway miles. Leather interior. Heated Seats. $7,500 or best offer. 570-905-5544 AUDI `01 A6 QUATTRO Leather. Heated seats. DVD Player. $12,450 CHRYSLER `08 SEBRING 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 AUDI `04 A6 QUATTRO CROSSROAD MOTORS 700 Sans Souci Highway WE SELL FOR LESS!! `10 Dodge Caravan SXT 32K. Silver-Black. Power slides. Factory warranty. $17,899 `09 DODGE CALIBER SXT 2.0 Automatic, 24k Factory Warranty! $12,499 `08 CHEVY IMPALA LS Only 18K! One Owner - Estate Sale. $14,699 `08 SUBARU Special Edition 42k, 5 speed, AWD. Factory warranty. $13,699 `08 CHEVY SILVERADO 1500 4x4, Regular Cab, 63K, Factory Warranty $13,699 `08 CHEVY IMPALA LS 4 door, only 37K! 5 Yr. 100K factory warranty $12,099 `08 CHRYSLER SEBRING CONVERTIBLE 4 cylinder, 40k $11,799 `08 CHEVY IMPALA LS 60k. Factory warranty. $10,199 `05 HONDA CRV EX One owner, just traded, 65k $13,299 `05 Suzuki Verona LX Auto. 64K. Factory warranty. $5,599 `01 LINCOLN TOWN CAR Executive 74K $5,899 TITLE TAGS FULL NOTARY SERVICE 6 M ONTH WARRANTY 570-825-7988 ALL JUNK CARS! CA$H PAID HONDA `09 CIVIC LX-S matic transmission with navigation. Graphite exterior, grey lather interior, cruise power control, bucket seats, tinted glass, remote keyless entry, antilock brakes, airbags - driver, passenger & sides. Sun roof / moon roof. Rear window defogger, air conditioning front & rear, power steering, alloy wheels, Multi CD changer, navigation system, fog lights, premium sound excellent condition, timing belt changed. $9,500. Top Off The Line 570-814-0949 HONDA `05 ACCORD EX-L V6 sedan, auto- garage kept, 1 owner. Must see. Low mileage, 90K. Leather interior. All power. GPS navigation, moon roof, cd changer. Loaded. $9,000 or best offer. 570-706-6156 LEXUS `98 LS 400 Excellent condition, Low mileage, 110,000 miles, 5 speed, 2 door, antilock brakes, air conditioning, power windows, power mirrors, AM/FM radio, CD changer, leather interior, rear defroster, tinted windows, custom wheels, $8,000. (570) 817-1803 PORSCHE `85 944 1,000 miles documented #380 Highly collectable. $28,500 570-472-1854 FORD SC Coupe SALEEN `04 281 350 V8, Auto. 75,000 miles on current engine. 12' wood bed, body, tires, interior good. Excellent running condition. New generator, starter, battery. Just tuned and inspected. $6,900. Call 570-656-1080 GMC SIERRA `98Side, 3500 4WD Stake 439 Motorcycles Fully loaded. 50,000 miles, Triple coated Pearlized White. Showroom condition. $16,900. (570) 814-4926 (570) 654-2596 Town Car Limited LINCOLN 06 A E R O s p o r t . Leather interior. Heated seats. Sunroof. Good condition. $8,000. Serious inquiries only. Call 570-760-8264 L. AWD. Red. $2,850. Hail damage. Runs great. Auto, air, CD, cassette, cruise, tilt. All power. 174K miles. Mechanical inspection welcomed. Call 570-561-9217 SUZUKI `10 SX4 4x4 6,000 miles. $14,500. `95 Mercedes 66,000 miles. $8,995. `08 Ford F250, 4x4 4,000 miles, 4 door, 8 foot bed/with plow. $45,000. All showroom new! 570-826-0200 or 570-868-3968 SAAB `06 93 Good interior & exterior. Runs great! New tires. Many new parts. Moving, Must Sell. $2,300 or best offer 570-693-3263 Ask for Paul MERCEDES 1975 To place your ad call...829-7130 American Classic Edition. 1100 cc. 1 owner, under 20,000 miles. Yellow and white, extra chrome, VNH exhaust, bags, lights, MC jack, battery tender, helmets. Asking $3500 570-288-7618 `96 HONDA SUBARU `02 FORESTER HARLEY 2011 MERCEDES-BENZ `73 HERITAGE SOFTTAIL Black. 1,800 miles. WANTED! Convertible with removable hard top, power windows, AM /FM radio with cassette player, CD player, automatic, 4 new tires. Champagne exterior; Italian red leather interior inside. Garage kept, excellent condition. $28,000. Call 825-6272 450SL ABS brakes. Security System Package. $16,000 firm. SERIOUS INQUIRIES ONLY 570-704-6023 HARLEY DAVIDSON `01 Electra Glide, Ultra Classic, many chrome accessories, 13k miles, Metallic Emerald Green. Garage kept, like new condition. Includes Harley cover. $12,900 570-718-6769 570-709-4937 570-301-3602 MITSUBISHI `01 MONTERO wheel SPORT Silver, 4 drive, excellent condition. $4,500 570-287-7035 All power, new tires, new back brakes. 125,000 miles. $7,500 negotiable. 570-417-8353 TOYOTA `00 SOLARA SE SUPER CLEAN OLDSMOBILE `68 DELMONT HARLEY DAVIDSON Excellent condition garage kept! Golden Anniversary - silver/black. New Tires. Extras. 19,000 miles. Must Sell! $10,000. 570-639-2539 `03 Dyna Wide Glide Must Sell! Appraised for $9,200 45,000 miles � 350 Rocket engine � Fender skirts � Always garaged Will sell for $6,000 Serious inquires only 570690-0727 � All original TOYOTA 07 CAMRY LE Low miles. One owner. $13,880 CAN-AM`07 CANAM RALLY 2X 200 A MUST SEE Like new Can-Am Rally 2x 200cc. $2000.00 OR BEST OFFER (570)287-2203 One owner, 91k, new inspection. $3,495 FORD `99 ESCORT STATION WAGON 3.2 Quattro AT6. Auto tiptronic 6 speed. Black with black leather. Garage kept. Fully loaded, gps, cold weather package. 78K miles. Carfax report included. $15,900. 570-814-6714 AUDI `05 A6 `08 Accord LX-P 42K. Burgundy. Reduced! $16,500 `08 Accord LX 34K. Silver. Reduced! $15,200 `08 Civic LX 30K. Bronze. Reduced. $13,900 OBO MAFFEI AUTO SALES 570-288-6227 HONDAS 58K miles. 4 cylinder, 6 speed manual. Great condition. All power. A/C. Cruise. $10,500. Call 570-333-4379 after 6:30 pm NISSAN `08 SENTRA HAWK 2011 UTILITY ATV HYUNDAI `00 ACCENT 4 cylinder. speed. Sharp economy car! $2,995 Call For Details! 570-696-4377 1518 8th Street Carverton, PA Near Francis Slocum St. Park A6 station wagon. 143k miles. 3rd row seating. $2,800 or best offer. Call 570-861-0202 AUDI `96 QUATTRO VITO'S & GINO'S Wanted: Junk Cars & Trucks Highest Prices Paid!! Grey, Mint condition. 35K miles. New, allseason tires. Sirius radio. 2 sets of mats, including cargo mats. $18,400. Call 570-822-3494 or 570-498-0977 NISSAN `08 XTERRA TOYOTA `09 COROLLA S Auto. 4 Cylinder. $16,450 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 Used as a show bike. Never abused. 480 miles. Excellent condition. Asking $15,000 570-876-4034 HARLEY DAVIDSON `05 SCREAMING EAGLE V-ROD Orange & Black. MODEL "A" FORD PARTS Too many to list. Call for list: 570-655-0607 8,000 original miles, excellent condition. $1,000. 570-379-3713 HONDA `84 XL200R BMW `01 X5fully 4.4i. Silver, loaded, tan leather interior. 1 owner. 103k miles. $8,999 or best offer. Call 570-814-3666 570-714-4146 1451 SHOEMAKER AVE, W. WYOMING D.P. MOTORS 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 AUTO SERVICE DIRECTORY PONTIAC `02 SUNFIRE VOLKSWAGEN `04 GREAT ON GAS! Blue. AM/FM cassette. Air. Automatic. Power roof, windows, locks & doors. Boot cover for top. 22k. Excellent condition. Garage kept. Newly Reduced $14,000 570-479-7664 Leave Message 65K, Auto, Loaded. Needs transmission/airbags. Book value $10,000. Sell $3,000 or best offer (570) 829-2875 (570) 332-1252 SATURN `04 VUE 2 door. Very clean! Warrantied. 75K. $5,695. BUY * SELL * TRADE Beetle - Convertible Auto. Air. 4 cylinder. power windows, stereo, 119,000, 22mpg, garage kept. $1,650. (570) 299-0772 VOLVO `93 240 DL Black with black interior. Heated seats. Back up & navigation systems. New tires & brakes. Sunroof. Garage kept. Many extras! 46,000 Miles. Asking $20,500. 570-825-8888 or 626-297-0155 Call Anytime! BMW `07 328xi TOYOTA `10 Camry SE. 56,000 miles. Red, alloy wheels, black cloth interior. Will consider trade. $14,200 (570) 793-9157 468 Auto Parts 468 Auto Parts FREE PICKUP 288-8995 TIRES, 4 Bridgestone Blizzak Revol 215/60 R16, $40 each. 4 Michelin, 225/55 R16, $50 each 570-655-2443 250 General Auction 250 General Auction 250 General Auction 29 EAST CAREY STREET, PLAINS, PA 18705 HIGH QUALITY MODERN AUCTION TUESDAY, NOVEMBER 22, 2011 PREVIEW 3:00PM AUCTION 5:00 PM COOK & COOK AUCTIONS BMW `99 M3with Convertible High end modern furniture to include 10 foot oak wall unit, beautiful Maitland-Smith inlaid dresser, dining room furniture, desks, chairs, child's bedroom furniture, other bedroom furniture, dressers, couches including leather, occasional tables, mirrors, artwork, lamps, huge flatscreen TV & others, like new Amana fridge, LGB trains, Jim Beam train, NIB porcelain dolls, quality skiing equipment & exercise equipment to include Precor, Life Cycle, Life Fitness & others, Brunswick pool table & accessories, 3 sets of golf clubs, Approx. 400 Dept. 56 villages & snow throwers & so much more. This is an auction you don't want to miss! We are loaded with merchandise. Keep watch on auctionzip.com for further updates. Hard Top. AM/FM. 6 disc CD. 117 K miles. Stage 2 Dinan suspension. Cross drilled rotors. Cold air intake. All maintenance records available. $11,500 OBO. 570-466-2630 loaded. 120k miles. $10,500 or best offer. 570-454-3287 BMW `04 FullyXI 325 White. BMW `98 740 IL White with beige leather, 7 passenger, running boards, 80,000 miles, CD player, new tires. $7,000. 570-877-9896 DODGE `02 DURANGO SLT all All power, 4.7, manual, 4 door, anti-lock brakes, air conditioning, air bags, power locks, power windows, power mirrors, CD player, leather interior, sun roof, rear windshield wiper, tinted windows, GREAT ON GAS. REDUCED $3,000. 570-654-8469 HYUNDAI `02 ELANTRA 129,995 miles, LAW DIRECTORY Don't Keep Your Practice a Secret! 472 Auto Services All Junk Cars & Trucks Wanted Highest Prices Paid In CA$H $ WANTED JUNK $ VEHICLES LISPI TOWING We pick up 822-0995 VITO'S & GINO'S Like New Tires $15 & UP! Like New Batteries $20 & UP! Carry Out Price 288-8995 Cars & Full Size Trucks. For prices... Lamoreaux Auto Parts 477-2562 Call 829-7130 To Place Your Ad 310 Attorney Services 310 Attorney Services AGGRESSIVE & Affordable DUI Defense Law Office of Michael P. Kelly 570-417-5561 DIVORCE No Fault $295 divorce295.com Atty. Kurlancheek 800-324-9748 W-B ESTATE PLANNING /ADMINISTRATION AUCTION BY: COOK & COOK AUCTIONS AH-001892 � 570-270-9239 Visit Our Retail Showroom or ID#20298 WAYNE STEELE - AU3916L leather interior. New tires, sunroof, heated seats. 5 cd player 106,000 miles. Excellent condition. $5,500. OBO 570-451-3259 570-604-0053 DODGE `97 CARAVAN 139,000 miles, new GEO `93 PRIZM 91,000 miles. Looks & runs like new. $2,300 or best offer, please call 570-702-6023 brakes, runs well, body is fair. $1,275. 570-603-0252 clean title, 4 cylinder, auto, 115k miles. Power windows, & keyless entry, CD player, cruise, central console heated power mirrors. $3900 570-991-5558 HYUNDAI `06 ELANTRA Tan, 4 door, 570-574-1275 FREE PICKUP 570-301-3602 BANKRUPTCY Guaranteed Low Fees Payment Plan! Colleen Metroka 570-592-4796 Bankruptcy $595 Guaranteed Low Fees Atty Kurlancheek 825-5252 W-B FREE CONSULT Real Estate & Civil Litigation Attorney Ron Wilson 570-822-2345 Free Bankruptcy Consultation Payment plans. Carol Baltimore 570-822-1959 SOCIAL SECURITY DISABILITY Free Consultation. Contact Atty. Sherry Dalessandro 570-823-9006 CALL US! TO JUNK YOUR CAR BEST PRICES IN THE AREA CA$H ON THE $POT, Free Anytime Pickup 570-301-3602 RADIATOR for Ford truck fits `73 to `80, large size, $30. STARTER for `73 Ford truck, $15. 570-823-6829 WANTED Excellent condition, 71K miles, black with black leather interior, garage kept, $12,500. (570) 650-1037 LEXUS `04 ES 330 TIMES LEADER 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale MONDAY, NOVEMBER 21, 2011 PAGE 3D 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale JER-D ON'S OF BUYIN G THE US ED CA R YOU N EED. N OW OFFERIN G GUA RA N TEED CREDIT A PPROV A L S � Establ sh Y our C redi i t � W arranty � G ap Insurance Don ' e tYourCr d itGe tIn Th e W a y tL e S A N S O U C IA U T O M A R T � Fresh Stock A rri ng Daiy vi l � Fl bl Dow n Paym ents exi e � Al lIncom es A ccepted � A l redi Si lC t tuati A ccepted ons JERRY SA YS " YES" W HEN OTHERS SA Y " N O" JER-D O N'S S A N S O UC IA UT O M A RT 1755 S A NS S O UC IP A RK W A Y, H A NO VER T W P 270-3434 2003 Kia Spectra NEW LOW PRICES! 2000 GMC Jimmy 4x4 $ 2000 Ford Taurus 5,990 6 Cyl., Station Wagon, 151K, Runs Great 4 Cyl., 73K, Extra Clean! * $ 4,990* 2003 Ford Taurus 6 Cyl., 98K $ 2,990 2000 Ford Ranger 4x4 * $ 2002 Hyundai Elantra 6,990* 4 Cyl., 88K, Loaded 88K, Like New $ 73K, Great Condition 7,990 * $ 5,590* 725065 MOTOR TWINS 718-4050 *All Prices Plus Tax & Tags. CALL STEVE MORENKO 2010 Wyoming Ave., Wyoming GET UP TO $5,000 OFF A NEW KIA! 560 Pierce St. Kingston, PA 18704 Wyoming Valley Motors Our shelves are restocked! We have the cars and we have the deals! COME IN TODAY! PAGE 4D MONDAY, NOVEMBER 21, 2011 TIMES LEADER APR PLUS M O S. AM/FM/CD TILT WHEEL SIDE IMPACT AIR BAGS 1ST & 2ND ROW AIR CURTAINS ANTI-THEFT SYSTEM TRANSMISSION POWER WINDOWS POWER LOCKS SIRIUS SATELLITE RADIO AUTOMATIC KEYLESS ENTRY MESSAGE CENTER ALUMINUM WHEELS MPG MPG FIESTA SE NEW 2012 FORD FOCUS SE 4 DR Automatic, Air, Pwr. Mirrors, PDL, Advance Trac w/Electronic Stability Control, Side Curtains, AM/FM/CD, Cruise Control, 15" Alum. Wheels, Tilt Wheel, Keyless Entry w/Keypad, NEW 2012 FORD FUSION SEL Auto., CD, Alum Wheels, Tilt, PW, PDL, Pwr. Seat, Safety Pkg., Side Impact Air Bags, 1st & 2nd Air Curtains, Anti-Theft Sys., Sirius Satellite Radio, Keyless Entry, Message Center, A P R M O S. Auto., AM/FM/CD, Anti-Theft Sys.,Tilt, Side Curtain Air Bags,Fog Lights, 16" Steel Wheels, Instrument Cluster, Message Center, Keyless Entry, Pwr. Side Mirrors, PL, PW, AC, MyKey Sys. 2011 FORD F-150 REGULAR CAB 4X4 NEW 2012 FORD ESCAPE XLT 4X4 3.7L V6, XL Plus Pkg., Cruise, CD, MyKey Sys., 40/20/40 Cloth Seat, XL Decor Group, PW, Pwr. Equipment Group NEW 2012 FORD TAURUS SEL Auto., 3.5L V6, , Reverse Sensing Sys., AM/FM/CD, Keyless Entry with Keypad, PDL, PW, 18" Alum. Wheels, Anti-Theft Perimeter Alarm, Sirius Satellite Radio FOOT BOX 8 APR PLUS M O S. Safety Canopy, Side Impact Air Bags, Pwr. Driver's Seat, Auto., PDL, PW, Fog Lamps, Privacy Glass, Roof Rack, Air, 16" Alum. Wheels, CD, Sirius Satellite Radio, Keyless Entry, Rear Cargo Convenience Pkg., APR PLUS M O S. 72 Mos. EDGE Pwr. Windows, Pwr. Door Locks, Air, Advance Trac w/Roll Stability Control, Remote Keyless Entry w/Keypad, CD, Convenience Group, Auto. Headlamps, Reverse Sensing Sys. NEW 2011 FORD F-150 SUPERCAB STX NEW 2012 FORD EXPLORER , 3.7L V6, Auto., Air, 17" Alum. Wheels, Cloth Seat, ABS, 40/20/40 Split Seat, Decor Pkg., Cruise Control, Pwr. Equipment Group APR PLUS M O S. 3.5L Engine, MyFord Display, CD, Auto. Climate Control, PL, Pwr. Mirrors, PW, 17" Steel Wheels, Keyless Entry, MyKey, Cruise Control. CALL NOW 823-8888 1-800-817-FORD Overlooking Mohegan Sun 577 East Main St., Plains Just Minutes from Scranton or W-B TIMES LEADER 439 Motorcycles 451 MONDAY, NOVEMBER 21, 2011 PAGE 5D Trucks/ SUVs/Vans 451 Trucks/ SUVs/Vans 451 Trucks/ SUVs/Vans 512 Business/ Strategic Management 533 Installation/ Maintenance/ Repair 542 Logistics/ Transportation 542 Logistics/ Transportation 542 Logistics/ Transportation Blue pearl, excellent condition, 3,100 miles, factory alarm with extras. $10,500. or best offer. Tony 570-237-1631 HARLEY DAVIDSON `05 V-ROD VRSCA Trucks/ SUVs/Vans 451 SPECIAL EDITION #35 of 50 Made $10,000 in accessories including a custom made seat. Exotic paint set, Alien Spider Candy Blue. Excellent condition. All Documentation. 1,400 Asking $15,000 570-876-4034 HARLEY DAVIDSON 2006 NIGHTTRAIN AWD, Fully loaded, 1 owner, 22,000 miles. Small 6 cylinder. New inspection. Like new, inside & out. $13,000. (570) 540-0975 BUICK `05 RENDEZVOUS BARGAIN!! Eddie Bauer Edition 59,000 miles, 4 door, 3 row seats, V6, all power options, moon roof, video screen $12,999. 570-690-3995 or 570-287-0031 FORD `04 EXPLORER 570-714-4146 1451 SHOEMAKER AVE, W. WYOMING D.P. MOTORS MERCEDES-BENZ Sunroof, new tires, 115,930 miles MUST SELL Only $200/ month (570)760-0511 `99 ML 320 Package 4x4. Bedliner. V-8. 5.3 Liter. Red. Remote start. Garage kept. 6,300 miles $26,000 (570) 639-2539 CHEVROLET `10 SILVERADO 1500 Extended Cab V71 570-714-4146 1451 SHOEMAKER AVE, W. WYOMING D.P. MOTORS 4 Cylinder. Auto. Front wheel drive. 78K. Very clean!. Warrantied. $7,795. BUY * SELL * TRADE HYUNDAI '04 SANTA FE FORD `05 ESCAPE XLS 4 Cylinder. 5 speed. Front wheel drive. air. Warranted. $7,895. BUY * SELL * TRADE Leather. Moonroof. One owner. $14,580 HYUNDAI `06 SANTE FE LTD 4x4. garage kept. Showroom condition, fully loaded, every option 34,000 miles. GREAT DEAL $14,500 (570)825-5847 MERCURY `07 MARINER One owner. Luxury HSoft riding FLH. ARLEY DAVIDSON `80 King of the Highway! Mint original antique show winner. Factory spot lights, wide white tires, biggest Harley built. Only 28,000 original miles! Never needs inspection, permanent registration. $7,995 570-905-9348 CHEVROLET `97 SILVERADO with Western plow. 4WD, Automatic. Loaded with options. Bedliner. 55,000 miles. $9,200. Call (570) 868-6503 CHEVY `00 S-10 seats. Extra Clean! $3,995 Call For Details! 570-696-4377 FORD `00 EXPLORER XLT. CD. Power 1518 8th Street Carverton, PA Near Francis Slocum St. Park 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 570-714-4146 1451 SHOEMAKER AVE, W. WYOMING D.P. MOTORS 250. 157 Miles. Excellent Condition. $1,200. Call 570-256-7760 HYOSUNG `04 COMET miles. Orange. Garage kept. His & hers helmets. Must sell. $2400 570-760-3599 570-825-3711 KAWASAKI `05 NINJA 500R. 3300 4x4. 56K original miles. Extended cab. Automatic 6 cyl. A/C. Recent safety & emissions inspection. Excellent condition. No rust. Clean inside & out. Purchased from an estate. Garage kept. Well maintained. $7,495. Trade in's accepted. 570-466-2771 1518 8th Street Carverton, PA Near Francis Slocum St. Park 4.0 - 6 cylinder. Auto. 4x4. Air. Many options very clean! 1 owner. Warrantied. $9,295. BUY * SELL * TRADE JEEP `04 GRAND CHEROKEE Growing company seeks dynamic manager for loan servicing department. Individual must possess excellent communication and writing skills, ability to manage, coach, and inspire a department of 15 to 20 people. Experience in Customer Service, general knowledge of IT, consumer collections, FDCPA, skip tracing, and Excel. Individual must possess high energy and have the ability to motivate staff. Schedule flexibility required. Salary plus generous bonus structure. Blue Cross PPO/ Disability/Life Insurance/401k + match/ Discount Travel Please email or fax resume to hr@sundance vacations.com or 877-329-7861 LOAN SERVICING DEPARTMENT MANAGER MAINTENANCE Immediate opening for a flexible individual skilled in maintenance and customer service. We are offering a full time maintenance position with benefits to work at Gateway Apartments, a luxury apartment community in Edwardsville, PA, and the Best Western PlusEast Mountain Inn Hotel, Wilkes-Barre, PA. The candidate should possess basic skills in carpentry, plumbing, electrical work and have HVAC certification or be willing to attain certification. You must possess a valid driver's license and be willing to take on-call rotation for weekends and evenings. Good salary and benefits. Apply in person at Gateway Apartments Monday/ Friday 9-5 or email resume to Ralles@ themanorgroup.com for consideration. DRIVERS NEEDED: Maxum Petroleum is currently seeking Transport Drivers (CDL Class A) with Hazmat and Tanker for our Scranton, PA location. Not an over the road trucking company. We offer a full benefit package available the first of the month following 30 days of employment including 401K company match. We offer DOT roadside and annual achievable safety bonus programs based on your safety performance. Paid holidays, sick days and vacation days are provided as well. EOE Requirements: Class A Commercial Drivers License, HAZMAT & Tanker endorsements, Must have two years verifiable experience and clean driving record, Positive Attitude/Willing to Work Apply online at. maxumpetroleum. com/careers.aspx GENERAL West Side, semi retired & home makers welcome, will train. 570-288-8035 SCHOOL BUS DRIVERS people cite the The Times Leader as their primary source for shopping information. *2008 Pulse Research Over 47,000: � Hourly Payincluding paid detention time, and guaranteed 8 hours per day � Safety Bonus$.05/mile paid quarterly � Great Benefits100% paid health insurance, vision, dental, life, STD, 401K, vacation time, and holiday pay. � Pet & Rider Program � Well maintained freightliners and reefer trailers �. What Do You Have To Sell Today? 570-714-4146 1451 SHOEMAKER AVE, W. WYOMING D.P. MOTORS Find Something? Lose Something? Get it back where it belongs with a Lost/Found ad! 570-829-7130 Cylinder, 5 speed. Air. 2WD. $4,995 Call For Details! 570-696-4377 FORD 02 F150 Extra Cab. 6 JEEP `02 GRAND CHEROKEE LAREDO MITSUBISHI `06 OUTLANDER Very nice! 4 cylinder. Auto. 4WD. $8,395 BUY * SELL * TRADE 518 Customer Support/Client Care NISSAN `08 ROGUE S AWD. Auto $17,990 CHEVY `00 SILVERADO FORD 02 RANGER EDGE 1518 8th Street Carverton, PA Near Francis Slocum St. Park miles. Original owner. V@H Exhaust and Computer. New tires. $3,800. 570-574-3584 Kawasaki` 93 ZX11D NINJA LIKE NEW 8900 Original 1500. 4x4. 8' box. Auto. A/C. 121K miles. $5,995. 570-332-1121 4 Door Crew Cab LTZ. 4 wheel drive. Excellent condition, low mileage. $35,500. Call 570-655-2689 CHEVY `10 SILVERADO Extra cab. 5 speed. 6 cylinder. 2 wheel drive. Extra sharp truck! $4,995 Call For Details! 570-696-4377 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 High-growth finance company seeks dynamic manager. Customer service experience required. Strong IT knowledge a plus. FDCPA knowledge beneficial. Schedule flexibility required. Salary plus generous bonus structure. Excellent benefits. Fax resume to 877-329-7861 CUSTOMER SERVICE MANAGER SUZUKI `03 XL-7 85K. 4x4. Auto. 92 V-twin, 1507 cc, extras $6000. 570-883-9047 POLARIS `00 VICTORY CRUISER 14,000 miles, YAMAHA `97 ROYALSTAR 1300 Auto. V6 Vortec. Standard cab. 8' bed with liner. Dark Blue. 98,400 miles. $6,200 or best offer 570-823-8196 CHEVY `99 SILVERADO Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! Nice, clean interior. Runs good. New battery & brakes. All power. CD. $6,800 570-762-8034 570-696-5444 FORD 03 RANGER $7,900 1518 8th Street Carverton, PA Near Francis Slocum St. Park Black Beauty! $6,995 Call For Details! 570-696-4377 JEEP 04 LIBERTY Auto. V6. Moonroof. Alloys. 1 Owner. $23,777 CHEVY `10 EQUINOX LT 12,000 miles. With windshield. Runs excellent. Many extras including gunfighter seat, leather bags, extra pipes. New tires & battery. Asking $4,000 firm. (570) 814-1548 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 4WD & Alloys. $16,995 JEEP `07 GRAND CHEROKEE automatic, all-wheel drive, 4 door, air conditioning, all power, CD player, leather interior, tinted windows, custom wheels, $13,000 Call 570-829-8753 Before 5:00 p.m. SUZUKI `07 XL-7 56,000 miles, Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! 522 Education/ Training LINE UP A GREAT DEAL... IN CLASSIFIED! tion available for the Tunkhannock Area School District. Applicant should have knowledge and/or background in the following areas: HVAC, Electrical Boiler, Refrigeration, and Computer Skills. Interested applicants should submit a letter of interest to: Mr. Richard Bombick, Director of Human Resources, 41 Philadelphia Ave. Tunkhannock, PA 18657. All clearances (#144 FBI Fingerprint, Criminal check#34, Child Abuse #151 and TB) must be secured. Deadline for applications December 9, 2011. MAINTENANCE POSITION Maintenance posi- Job Seekers are looking here! Where's your ad? 570-829-7130 and ask for an employment specialist Call 829-7130 to place your ad. ONL ONLY ONE LEADER. NL NL LY N LE D LE LEADER. timesleader.com 522 Education/ Training 522 Education/ Training HIGH SCHOOL PRINCIPAL Immediate opening for 12-month position, West Side Career & Technology Center. Enrollment 525, grades 9-12. Must possess PA Secondary Principal's certificate, Vocational certifications a plus, three-five years successful administrative experience preferred. Responsibilities include planning, organizing, supervising and evaluating instructional programs and staff, along with skills in the areas of educational leadership, personnel, student discipline, crisis response and facilities. Strong knowledge of PDE data tools, school improvement plans, curriculum & instruction and scheduling; Ability and desire to lead in an atmosphere that focuses on learning and accountability and must be a strong team player; Should be highly motivated to work in a fast-paced environment, possess knowledge of PA academic standards and CTE program requirements. Send letter of interest, resume, three current letters of recommendation, transcripts, copy of credentials, current Act 34, 114 & 151 clearances to Mrs. Nancy P. Tkatch, Administrative Director, West Side Career & Technology Center, 75 Evans St., Kingston, PA 18704. E-mail submissions also accepted at epallone@wsctc.net. Application deadline: December 2, 2011. EOE. 548 Medical/Health ACTIVITY AIDE Part Time Position Flexible Schedule Required. Recent activities/recreational experience with geriatric population desired. Complete application at 395 Middle Rd, Nanticoke. Call 570-735-2973 TEACHING POSITION One opening for full time Electrical Trades instructor and one opening for adjunct day Pharmacy Technician instructor. Qualified applicants must have 3 years work experience in related field. Teaching experience a plus but not required. Fax resume to: 570-287-7936 Or send to: Director of Education Fortis Institute 166 Slocum Street Forty Fort PA 18704 Genesis Health Care 440 North River St. Wilkes-Barre, PA 18702 Riverstreet Manor FORD 08 EDGE SEL 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 Leather. Auto. $18,940 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 Only 13K miles! Remote Starter. $21,750 TOYOTA 09 RAV 4 Has the following opportunity available for a Full Time Maintenance Helper Monday through Friday with an on-call schedule. Opportunities also exist on all shifts for RN's, LPN's and C.N.A.'s. Interested parties please inquire online at: careers.jobs or contact Leigh Ann Sipple at (570) 825-5611 3pm-11pm and 11pm - 7am Apply: Lakeside Nursing Center 245 Old Lake Rd. Dallas, PA 18612 (570) 639-1885 E.O.E CNA'S PART TIME 512 LINEUP ASUCCESSFULSALE INCLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! AWD. Good tires. V6. Auto. 149,000 miles. Power everything. Heavy duty tow package. Runs good. Just passed inspection. Kelly Blue Book $2,500. Selling: $1,650 (570) 855-8235 CHEVY `95 ASTRO 4 WD. Auto. CD. $13,992 JEEP 08 COMPASS 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 542 Logistics/ Transportation Business/ Strategic Management 512 Business/ Strategic Management 512 Business/ Strategic Management Say it HERE in the Classifieds! 570-829-7130 Fully loaded, moon roof, leather, heated seats, electric locks, excellent condition. New tires, new brakes and rotors. 52,000 miles highway $26,500/ best offer. 570-779-4325 570-417-2010 till 5 527 Food Services/ Hospitality VOLVO `08 XC90 442 RVs & Campers Travel trailer. 39 ft., 4 slide outs, 3 bedrooms, 2 bath rooms, microwave, awning, tinted windows, Brand new. Have no pets or smokers. Much more!!!!! $33,000 (cell) 682-888-2880 CHEROKEE `10 door, four wheel drive, ABS, new inspection. $4200. 570-709-1467 CHEVY `99 BLAZER4 Sport utility, 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 Now Hiring Experienced Line Cooks. Good working conditions, medical benefits, paid vacations, uniforms. Apply in person. 304 Kennedy Blvd., Pittston COOPER'S SEAFOOD WATERFRONT Needed for immediate hire. Salary based on experience. Health care benefits available. Call to schedule interview. 570-696-5296 CDL B, AIR-BRAKE DRIVER PROCUREMENT MANAGER The Luzerne County Transportation Authority (LCTA) seeks a dedicated and results oriented individual to join our team as a Procurement Manager. The position requires an individual who is capable of exercising independent judgment and possesses excellent communication and people skills and the personal disposition generally required of people who work well with the public and other employees. The successful candidate shall plan, organize and manage the procurement function to include the developmental and administration of effective procurement and contract administrative activities for the Authority. Responsibilities also include managing the acquisition and inventory of vehicle parts and disposal of surplus property. Compose and maintains all vendor relationships and contracts; negotiates with vendors to get better prices and deals. Must work closely with Finance office to ensure that vendors are paid on schedule. As the manager, he/she is responsible and accountable for the procurement function and ensures compliance with Local, State and Federal laws, including the Federal Transit Administration. The LCTA adheres to a strict drug and alcohol policy regulated by the Federal Transit Administration (FTA). The successful candidate must pass a pre-employment drug and alcohol screening. The LCTA is an equal opportunity employer and offers a competitive salary and superior benefits. FORD `99 EXPLORER Leather. Moonroof. 4x4. New Inspection. $3,995 FLAGSTAFF `08 CLASSIC NOW BACK IN PA. $5,495 Call For Details! 570-696-4377 CHRYSLER 02 TOWNLike new! & COUNTRY V6. 1518 8th Street Carverton, PA Near Francis Slocum St. Park Extended Cab. Good Shape. $9,500 negotiable. (570) 954-7461 SE. 7 passenger, 4 door, V6, all power, inspected, well maintained, excellent family van, reduced to $2,495. 570-287-3951 DODGEC`97 2500 4X4, UMMINS FORD `99 F150 Shortbox. 1 owner. New truck trade! $4,495 Call For Details! 570-696-4377 1518 8th Street Carverton, PA Near Francis Slocum St. Park ALL JUNK CAR & To place your ad Call Toll Free TRUCKS 1-800-427-8649 WANTED blazer LT 15K miles. Moonroof. Black. $19,995 `08 Jeep Grand Cherokee Laredo 42K miles. Black. 6 cylinder. $16,995 `08 Honda CRV EX White. Moonroof. $19,900 `08 Chevy Trailblazer LT 29K miles. Tan. Moonroof. $17,995 `06 Chevy Trailblazer LT EXT Gray. 82K miles. $12,495 `04 Jeep Grand Cherokee Laredo SE Blue. Moonroof. Leather. 74K miles. $10,200 `04 Jeep Grand Cherokee 6 cylinder. Auto. 102K miles. Gray. $8,995 Chrysler `04 Town & Country Van Limited 78K miles. Blue. Every available factory option. $9,500 MAFFEI AUTO SALES 570-288-6227 Full time 4WD, Pearl white with like new leather ivory interior. Silver trim. Garage kept. Excellent condition. 84,000 miles, Asking $10,750 570-654-3076 or 570-498-0005 LEXUS `96 LX 450 457 Wanted to Buy Auto Part time/Full time Experience preferred. Must be available nights and weekends. Apply within Ramada Hotel 20 Public Square Wilkes-Barre. FRONT DESK ATTENDANT 4X4 SUV SALE `08 Chevy Trail- FORD `00 WINDSTAR 570-714-4146 1451 SHOEMAKER AVE, W. WYOMING D.P. MOTORS GMC '02 SAFARI CARGO VAN Highest Prices Paid In Cash!!! FREE REMOVAL Call V&G Anytime 288-8995 876 Schechter Dr. 570-824-1005 Be part of a winning team! The following positions are currently available: with a working knowledge of construction trades. Swimming Pool maintenance a plus. Hampton Inn & Suites Wilkes-Barre 2012 DAY CABS WISE FOODS, INC. Seeks CDL Class A 2 YEAR OTR verifiable experience � Home daily � Distributor based network � EXCELLENT per mile pay � Unloading, drop off & pick-up pay � Expense advance � Paid delay times � 24 hour dispatch coverage � Excellent on site fleet maintenance Contact Joan at 800-438-9473 ext 4120 ATTENTION DRIVERS Luzerne County Transportation Authority 315 Northampton Street Kingston, PA 18704-5423 PHONE CALLS WILL NOT BE ACCEPTED You must apply (9:00AM-4:00PM) at: CHIEF ENGINEER 503 Accounting/ Finance 503 Accounting/ Finance 503 Accounting/ Finance 503 Accounting/ Finance 25' travel trailer A/C. Bunk beds. New fridge & hot water heater. Excellent condition. $3,900. 570-466-4995 SUNLINE SOLARIS `91 GMC `05 SAVANA 1500 Cargo Van. AWD. Auto. Warrantied. $5,195 BUY * SELL * TRADE willing to work a flexible schedule. Guest Service experience is beneficial. Please apply in person. GUEST SERVICE AGENTS FINANCIAL CONTROLLER Long-standing local Wilkes-Barre company has an immediate opening for a Financial Controller. The ideal candidate will work closely with the Chief Financial Officer to help manage a fast-paced accounting department. The Manager will be responsible for overseeing the general ledger, accounts payable, accounts receivable and cash functions. Assisting the CFO with the annual budget, audit and month-end close are also required. We are looking for a creative, hands-on, outside-the-box type of employee who can adhere to deadlines and is not afraid to make decisions. Requirements for the position include: � Bachelor's degree in accounting, or business management with accounting concentration. � Minimum five years of accounting experience. � Proficiency in Excel and ability to learn new software quickly. � Strong skills in financial analysis with a sound understanding of Generally Accepted Accounting Principles. � CPA/MBA preferred. AWD. V8 automatic. A/C. New brakes & tires. Very clean. $11,950. Call 570-474-6028 HONDA 06 CRV SE Leather & Moonroof. $15,872 506 Administrative/ Clerical Full or Part Time position available. Knowledge of dental insurances and billing required. Email resume to: tzoe66@epix.net 468 Auto Parts 468 Auto Parts 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 DENTAL RECEPTIONIST Harry's U Pull It AS ALWAYS ****HIGHEST PRICES***** PAID FOR YOUR UNWANTED VEHICLES!!! DRIVE IN PRICES Plus Enter to Win $500.00 Cash!! DRAWING TO BE HELD NOVEMBER 30 For Keeley's Ale House & Grille and Overbrook Pub & Grille. Sous Chef, Line Cooks, and Dishwashers. Apply in person at 259 Overbrook Rd. Dallas, PA Call 570-675-2727 or 570-760-2436 NOW HIRING 533 HONDA `09 CRV LX AWD. 1 owner. $18,940 1518 8th Street Carverton, PA Near Francis Slocum St. Park 508 Beauty/ Cosmetology Installation/ Maintenance/ Repair Call for Details (570) 459-9901 Vehicles must be COMPLETE !! 560 Pierce St. Kingston, PA valleymotors.com 570-714-9924 1 owner vehicle!! $2,995 Call For Details! 570-696-4377 MAZDACD Player. 03 MPV VAN V6. salon. Experience needed. Following preferred. 50% commission; 10% retail. Call for details. 570-881-0304 COSMETOLOGIST & LICENSED MASSAGE THERAPIST For an upscale Install and service. 3 years experience. C. W. Schultz & Son Apply in person at 216 Parrish St., Wilkes-Barre, or call 570-822-8158 HEAT TECH Interested candidates should submit confidential cover letter and resume with salary history to: FINANCIAL CONTROLLER POSITION c/o The Times Leader BOX 2840 15 N. Main St. Wilkes-Barre, PA 18711-0250 PAGE 6D MONDAY, NOVEMBER 21, 2011 412 Autos for Sale 412 Autos for Sale 412 Autos for Sale 548 Medical/Health 548 Medical/Health 551 Other TIMES LEADER 716 412 Autos for Sale V isitus 24/ 7 a t a lleyc hev ro let o m .c TH E W E SE L L M O R E TOP D OL L A R TH AN P R E -O W N E D FOR CH E V Y' S TRA DE -I N S SA L E SA L E SA 2004 CHEVY AVEO 5 DO O R ONL Y 50K M I ES L C ars � Trucks � R V's � M otorcycles � A TV's � C om m ercial W E SE L L AL L M AK E S & M OD E L S! available to work with individuals with intellectual disabilities in a community home in the Ashley area. Experience is helpful, paid training is provided. Valid drivers license is required. For information or application, call IMPACT SYSTEMS, Inc. at (570) 829-3671. Starting Salary is $8.85 + benefits Drug free workplace EOE COMMUNITY HOME WORKERS Full Time jobs are Immediate full-time opening with Boscov's Optical in Laurel Mall. Experience preferred but not necessary. Great salary, commissions, benefits, & 401K. Apply in person. EOE. OPTICAL SALES ASSOCIATE DIETARY Part Time & Per Diem NURSESDiem & CNA'S Per NURSE Seeking full-time experienced optician to manage busy optical center. Great salary, commissions, benefits, & 401K. Call 1-800248-2255. EOE OPTICIAN/MANAGER Sr. Housing community seeks Part time Assistant Manager. Duties include processing section 8 paperwork, applications, waiting list, rent collections and coordinating activities for the residents. Willing to train the right person. Apply online at innovations.com EOE PART TIME ASSISTANT PROPERTY MANAGER Building Materials 744 Furniture & Accessories 700 MERCHANDISE 708 Antiques & Collectibles WINDOWS, 2 double hung, vinyl, 28 3/4 x 53 5/8 $60. Picture Window, 37 x 50", $40. Picture Window, plate glass, 48 x 78", $40. 570-655-2443 720 Cemetery Plots/Lots MEMORIAL SHRINE CEMETERY 2 lots, side by side. Old Toys, model kits, Bikes, dolls, guns, Mining Items, trains & Musical Instruments, Hess. 474-9544 BOYDES BEARS, (3), $3 each. MILKGLASS BOWL, (2) Fenton, large with handles, $15 each. SILVERWARE, gold plated, 8 place setting plus 6 serving pieces, $30. 570-287-3662 * NELSON * * FURNITURE * * WAREHOUSE * Recliners from $299 Lift Chairs from $699 New and Used Living Room Dinettes, Bedroom 210 Division St Kingston Call 570-288-3607 FURNITURE, FREE, (4) kitchen chairs, 3/4 folding rollaway bed, single bed cot, complete baby crib. 570-696-1454 MATTRESS SALE We Beat All Competitors Prices! Twin sets: $159 Full sets: $179 Queen sets: $199 All New American Made 570-288-1898 ROCKER, Swivel, light blue plaid, great condition, $35. 570-696-4020 SOFA,$30 LOVE SEAT, $25, blue, slightly worn, END TABLE, $35, END TABLE octagon, $40, DRAPES, various colors and types, $10 to $25 pair. 570-693-2329 FURNISH FOR LESS 554 Production/ Operations $ ANTIQUES BUYING $ $350. each (570) 675-0708 2008 CH EV Y AVEO LS H at hbac c k ONL Y 22K M I ES L 7p-7a Weekend Baylor Program Competitive Salary & Benefits Package Golden Living Center Summit 50 N. Pennsylvania Avenue Fax 570-825-9423 or pamela.smith2@ goldenliving.com EOE M/F/D/V # Z 2 5 0 1,1.6 L D O H C o wer Sea ,P t,C o th Sea T m , l t ri Fro nt B u ck et Sea ,R ea D efo g er ts r g # Z 2 0 6 3 ,4 C .,5 Speed Manu alT yl rans .,Fro nt B u ck et Seats M/FM Stereo ,Fro nt/Si I pact A i ,A de m rbags $ 5 995 , * $ 7 999 , * Line up a place to live in classified! 8am-1pm in our home, Pittston area. Must be reliable. Experience & references required. Call 239-4589. Full and per-diem work at Personal Care Home, located in Drums, giving assistance to residents with all aspects of their care. HS Diploma or equivalent needed along with a valid PA driver's license. Hours vary. Benefit package offered to full time. Please send resume' to: Northeast Counseling Services, HR Dept. 130 W. Washington St., Nanticoke, PA 18634 or Email us at: ncsjobs@ptd.net EOE. eastcounseling.org RESIDENTIAL WORKER HANDS ON supervisor/setup person for our production drilling and tapping department. The candidate should be familiar with the setup and operation of multi-head drilling and tapping units and also dedicated drilling and tapping centers. 401k and health benefits. Apply in person: Bardane Manufacturing Co., 301 Delaware St. Jermyn, PA 18433 MACHINE SHOP SUPERVISOR WANTED Looking for a May be Separated Rose Lawn Section $450 each 570-654-1596 MEMORIAL SHRINE CEMETERY 6 Plots Available AFFORDABLE Mattress Guy Don't need that Guitar? Sell it in the Classified Section! 570-829-7130 PICTURE, 24x36 framed pictures by Marquis Galleries in 1986. It has six 8x10 pictures of old Wilkes Barre scenes, one of a coal mine breaker. Good shape. $25. 570-655-9474. SEWING MACHINE. (1) Singer Vintage factory with sewing table. $150 OBO. (1) Singer touch and sew with sewing table. $50 OBO. 570-824-7314 A unique piece of local history for sale Bound office archive copy of "Sunday Independent", "Wilkes-Barre Record", 1910 to 1978. Birth/wedding/death announcements. Unique birthday or anniversary gift. Search Sunday Independent 570-822-8162 LOTS FOR SALE 6 lots available at Memorial Shrine Cemetery. $2,400. Call 717-774-1520 SERIOUS INQUIRES ONLY MEMORIAL SHRINE 726 Clothing 2002 V O LKSW AG EN W 8 4M ot on i W agon AW D PASSAT 1993 CHEVY CAM ARO Z28 Coupe ONL Y 23K M I ES L LPN Monday - Friday, 468 # 119 9 7B ,V8 ,A u to .,P W,P B ,A i ,Lea r ther , Su nro o f,C P l y er 3 K M i es D a ,6 l Auto Parts 468 Auto Parts $ 8 995 , # 119 8 3 A A V8 ,A u tom ati i Condi oni c,A r ti ng, P ower W i ndows ower D oor Lock s ,P ,Cru i e s * $ 8 999* , 2004 CHEVY SI LVERADO 1500 4W D Reg Cab 2008 V O LKSW AG EN PASSAT BUYING JUNK VEHICLES $300 AND UP 570-760-2035 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! 1000 jobs available $13.50/hour Pickers / packers / warehouse LINE UP A GREAT DEAL... IN CLASSIFIED! BOOTS, Skechers Twinkle Toes, brown, girls sizes 1 & 2, new in box, $25/each. SNEAKERS, Skechers Girls Rainbowlicious, new girls sizes 2 & 3, $20. 570-696-4020 COAT, Ladies, Leather, with hood, size large, $100. 570-592-5007 746 Garage Sales/ Estate Sales/ Flea Markets HANOVER TOWNSHIP 730 Computer Equipment & Software Upper Askam Corner of Front & Bauer Street Saturday, Nov. 19 10am - 3pm Last sale of the year! COMPUTER, Windows XP, includes tower, monitor, keyboard & mouse. $80. 570-824-7354 COMPUTERS FOR SALE: refurb hp laptop-win7, dvdrw, wifi, office2010+ more. loaded. free delivery + warranty $185 refurb compaq laptop-win7, dvdrw, wifi, office2010 + more. loaded. free delivery+ warranty $185 refurb ibm desktop win7, dvdrw, wifi, office2010 + more. loaded. free delivery+ warranty $135 (570)862-2236 NOBODY Pays More # 1110 0 3 A ,V rtec 4 3 0 0 V6 M FIA u to m a c w/ o ti O verd ve & El ri ectro ni C ntro l i C nd ti ni , c o ,A r o i o ng A M /FM /C ,4 0 /2 0 /4 0 Sea ng D ti $125 EXTRA IF DRIVEN, DRAGGED OR PUSHED IN! 570-453-1001 330 S. Church St. Hazleton PA 18201 756 # 12 0 5 6 B ,Leather,4 C .,T rbo ,A u to ,C P l yl u D ayer, P W,P D L,P. Mi rs l m i m W heel rro ,A u nu s 560 Quality Assurance/Safety Medical Equipment $ 10 995* , $ 11 389* , Monday thru Saturday 6am-9pm � Happy Trails! M i van ni L W O M I ES L 2005 CH EV RO LET U PLAND ER 2010 H YUNDAI SO NATA G LS 548 Medical/Health 548 Medical/Health RNs LPNs CNAs Per Diem 7-3 Part Time 11-7 Full & Part Time, Per Diem 7-3, 3-11 & 11-7 # Z 2 5 13 A ,Q u a Sea ng d ti ,7 P a s s eng , er D VD P l y er a ,Servi b V l C ce y a l ey hevy # Z 2 5 3 6 A ,A T /C D ,P W,P D L,T cti n C ntro l ,A ,C ra o o $ 11 999* , $ 12 900* , 2003 CHEVY SI LVERADO 1500 4W D Reg. Cab 2005 CHEVRO LET EQ UI X NO LT AW D Control Inspector wanted for CNC machined castings. Must be able to do visual inspections, read blueprints, use micrometers and gages. We will train an applicant with a machinist background. 401k and health benefits. Apply in person: Bardane Manufacturing Co., 301 Delaware St. Jermyn, PA 18433 MACHINE SHOP INSPECTOR WANTED Experienced Quality CRUTCHES, Excellent condition, $15. 570-852-0675 710 Appliances 758 Miscellaneous Used appliances. Parts for all brands. 223 George Ave. Wilkes-Barre 570-820-8162 DISHWASHER, Portable, Kenmore, Black with Butcher Block top, $200. 570-333-4494 DRYER, Gas, Maytag, white, commercial quality, super capacity, quiet series, intellidry sensor, 7 cycle, $225. PEDESTAL, under washer, storage drawer, white, $50. RANGE, gas, Maytag Magic Chef RS-1, bisque, 30 inch, sealed burners, self cleaning, $200. DISHWASHER, GE Nautilus, bisque, 2 energy options, multiple washing cycles, $100. MICROWAVE, GE, over the stove, bisque, 1 cu ft, Spacemaker XL 1800, $100. WATER COOLER and dispenser, Sunbeam, White, 3 temperature options, 3 or 5 gallon, bottom refrigerator, $35. All excellent condition. 570-451-1612 REFRIGERATOR: 17.1 cubic ft. 4 years old. Moving $225 (570)855-9867 APPLIANCE PA RT S E T C . 732 Exercise Equipment ELLIPTICAL Exercise Cross Trainer with computer, FITBK2004, handles can be fixed or action, new $150. 570-675-6513 EXERCISE EQUIPMENT, works all parts stand up $20. 570-852-0675 GYM Home Weider $150. 570-829-2599 All Junk Cars & Trucks Wanted Highest Prices Paid In CA$H FREE PICKUP 573 Warehouse 570-574-1275 COMFORTER, (2), matching, twin bed, $40. Jug Lamp, $10. Ironing Board, $10. 570-829-2599 DISHES service for 8 + serving pieces. White with delicate pink rose pattern. $35. 570-654-3755 lorrainehastie@ verizon.net FLAGS, 3 US Cotton Embroidered, 5ft x 9ft, new $50 each. 2 Nylon PA State, 3ft x 5ft, new, $15 each. BOBBLE HEADS, SWB Barons & WBS Penguins, 60 for $400 negotiable. 570-881-7284 FOAM ART packages, winter, $3 each. Backrest, massaging, Homedics, $5, Headboard, white wicker, twin, $30. Scarves, various 20 total, $2 ea. 570-693-2329 # 113 4 8 A ,V rtec 4 8 0 0 ,V8 ,SFI Sp o ,4 eed , A u to m a c,A i C nd ti ni ,D el x e C ti r o i o ng u hro m ed Fro nt B u m p er,A M /FM Stereo SU N RO O F # 12 13 9 A ,A l m i m W heel,D eep Tnted G l s u nu s i as , Keyl sEntry,P ower Seat es $ 12 999* , $ 12 999* , Benefits. 401k. Apply in person. Colours 112 Brown Street Pittston Township Forklift Experience a PLUS WAREHOUSE Full time. Too many baby toys? Pass them on, sell them with an ad! 570-829-7130 736 Firewood LT AW D SUN RO O F 2005 CHEVY EQ UI X NO 2008 H O ND A CI C VI EX CO UPE L W O M I ES L 522 Education/ Training 522 Education/ Training FIREWOOD, oak, split, delivered. Almost 1 cord. $105. 570-655-2178 746 Garage Sales/ Estate Sales/ Flea Markets SU N RO O F DALLAS SCHOOL DISTRICT - EOE 600 FINANCIAL 610 Business Opportunities 742 Furnaces & Heaters L EATH ER # 12 0 3 8 A ,V6 ,A T /C ,A ,Su nro o f,Lea ther, Lu g a e R a C s b rs ru i e,P o wer O p o ns g g ck ro s a ,C s ti # 12 14 3 A ,4 C .,A u tom ati i C yl c,A r ondi oni ti ng,P W,P D L, Tl ru i e,NA VI A T O N,Spoi er,A l W heel i t,C s G I l l oy s � BOY'S Head Varsity Basketball Coach Candidates must possess strong interpersonal and communication skills. Develop and implement a district-wide philosophy of the teaching of the game of basketball at all levels of the program. Year-round work on developing the program is a must. Experience coaching on the varsity level is preferred. DEADLINE: 12:00 Noon on November 23, 2011 OIL BURNER, EFM & motor, good condition. $40. 570-823-6829 RADIATOR. Cast iron, steam heat. Small with enclosure with valve. 25" H. $35 OBO 570-735-7331 $ 2006 CHEVY TRAI LBLAZER 2007 FO RD R ANG ER LS 4x4 SU N RO O F 13 999 , * $ 14 995 , * EXTEND ED CAB 4X4 ONL Y 45K M I ES L XLT ONE O W N ER # Z 2 5 2 1A ,6 C l u to .,A i ru i e,P W,P D L, y .,A r,C s A l y W heel,P. D ri l o s ver' sSea i t,Tnted G l s as # 119 9 2 A ,A u to m a c,A i C nd ti ni ,A M /FM ti r o i o ng Stereo w/C ,B ed i ,R u nni B o a s D l ner ng rd � Special Education Aides � Classroom and Personal Care Assistants Rate of pay dependent on higher education experience, no benefits. DEADLINE: November 23, 2011 or until the positions are filled For clearance information and to download a district application, refer to the district web site,, Employment page. Application packets must be received by the deadline date. Please submit a letter of interest, resume, district application, references, letters of recommendation, Act 34, 151 and 114 clearances and any other supporting materials to: Mr. Frank Galicki, Superintendent, Dallas School District, PO Box 2000, Dallas, PA 18612 $ 2006 G M C CANYO N SL R EG CAB 4x4 ONE O W N ER SU N RO O F 14 999* , $ 15 987* , 2006 JEEP G RAND CHERO KEE O verl and N AVI ATI N G O ONE O W N Top loading Whirlpool & Kenmore Washers, Gas & Electric Dryers. 570-833-2965 570-460-0658 Why Spend Hundreds on New or Used Appliances? Most problems with your appliances are usually simple and inexpensive to fix! Save your hard earned money, Let us take a look at it first! 30 years in the business. East Main Appliances 570-735-8271 Nanticoke RETIRED REPAIRMAN 744 Furniture & Accessories BUNK BEDS with attached desk and drawers, $300. 570-333-4494 COFFEE TABLE-47" Cherry drop-leaf coffee table. Excellent condition. $100. 570-852-0675 DESKS: 5 total, wooden. $50-$100 each; METAL FILE CABINETS, different sizes $50-$150; Office waiting room padded chairs $15; Metal Office Coat Hanger $25. Call 570-239-8206 E N T E R TA I N M E N T CENTER gorgeous oriental piece, double doors top opens 40" w for TV bottom holds stereo components. deep cranberry gold hand painted design brass hardware original price $3000. sell $800. 570-693-2570 SU N RO O F # Z 2 5 8 2 ,3 .5 L A u tom ati c,A i W,P D L,A l m i m r,P u nu Sheel,C ,B edl s D i ner,Fog Lam ps nl 4 2 K Mi es ,O y l # 116 16 A ,5 .7L V8 ,A u to .,A i r,Lea ther/Su ed e I nteri r,C o hro m e W heel,P W,P D L,C i e,C s ru s D $ 15 995 , * $ 16 995 , * KINGSTONS CHILDREN'S BOUTIQUE FOR SALE TURN KEY BUSINESS 570-714-2229 2006 CHEVY SI LVERADO 1500 Ext ended Cab 4x4 2006 LEXUS RX330 AW D ONE O W N ER L CA L O TRA DE 545 Marketing/ Product 545 Marketing/ Product 712 Baby Items ASSISTANT VOLUNTEER COORDINATOR Part Time Position ~ 40 Hours bi-weekly. CHANGING TABLE, 3 tier wood, $30. CRADLE, wood with pad, $30. 570-288-9843 STROLLER: Peg Perego twin stroller. Weighs only 11 pounds. $75.00 Graco high chair. Windsor pattern. Exc. cond. $45.00 (570)654-8042 Meadows Nursing and Rehabilitation Center. FREE AD POLICY # 119 5 4 A ,5 .3 L V8 ,A T /C rai eri P k g., ,A ,T l ng Fi bergl sC as ap,P D L,LS D ecor,R . D ef. # 118 3 2 A ,6 C l T y .,A ,Leather,H eated Seats , Su nro o f,A /C ,Lo w M i es l 566 Sales/Business Development 566 Sales/Business Development $ 16 999* , $ 22 900* , Seeking an experienced professional to assist the Volunteer Director Ideal candidate should possess: � Excellent communication & organizational skills � Great people skills � Strong computer knowledge � Experience with public relations preferred Competitive salary and benefit package. Vacation, Holiday and Personal Days. Tuition Reimbursement, Health insurance and Pension Plan. Child Day Care on premises Qualified candidates can apply on line at: In person at: Meadows Nursing and Rehabilitation Center 4 East Center Hill Road � Dallas, PA 18612 Or e-mail resume to: meadowshr@hotmail.com Meadows Nursing and Rehabilitation Center is a Non-Profit Organization e.o.e. M/F/D/V Drug Free Workplace 2008 JEEP SAHARA W Unl m i ed 4W D i t ONL Y 33K M I ES L RANG LER 2007 CHEVY SI LVERADO ONL Y 26K M I ES L 716 3500 Reg Cab 4W D w / Pl ow Building Materials BRA N D N EW ST I L A N ESS STEEL PL W O USED CONCRETE BARRIERSfor pick up FOR SALE Available in Clarks Summit 12'x52" $10/l.f. 12'x34" $8/l.f. 20'x34" $12/l.f. Delivery Available @ $100 per hour. Grabber Rental Fee $400 570-586-2145 FLOOD CONTROL AUTOMOTIVE SALES CONSULTANTS Valley Chevrolet is seeking individuals who are self-starters, team-oriented and driven. (No experience necessary) # Z 2 5 8 1,3 .8 L V8 A u tom ati W,P D L,R em ovabl c,P e R oof PA nel,P ri s vacy G l s as ,Fog Lam ps D ,C # 12 10 2 A ,6 .0 L V8 ,A u to .,A i W,P D L,H D T l ng r,P rai eri Eqp.,A u to R ear Lo ck i D i ng fferenti ,1 O wner al $ 24 999* , $ 27 999* , *Prices plus tax & tags. Prior use daily rental on select vehicles. Select pictures for illustration purposes only. Not responsible for typographical errors. CHE V ROL E T V A L L E Y 821-2772R�1-800-444-7172RRE , P A 601 K IDDE S TRE E T, W IL K E S -BA Mon.-Fri. 8:30-7:00pm; Sat. 8:30-5:00pm K E N W A L L A CE ' S EXIT 170B OFF I-81 TO EXIT 1. BEAR RIGHT ON BUSINESS ROUTE 309 TO SIXTH LIGHT. JUST BELOW WYOMING VALLEY MALL. Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! We Offer: � Salary & Commission � Benefits � 401k Plan � 5 Day Work Week � Huge New & Used Inventory Apply in person to: Blake Gagliardi, Sales Manager Rick Merrick, Sales Manager SINK, bathroom, blue with fixtures, $30. 570-825-2599 Motorcycle for sale? Let them see it here in the Classifieds! 570-829-7130 601 Kidder Street, Wilkes-Barre TIMES LEADER 758 Miscellaneous GARAGE SALE LEFTOVER ITEMS Rocking Horse, $120, Santa lawn ornament, $10, DollHouse with furniture, $15, SkatingGinny Doll, $15, Lionel Barrel Loader with car, $100, Lionel ice station, $100, 1977 Orphan Annie Doll, $12 570-655-2992 MUGS. (2) Shirley Temple. Small size. $25 takes both. Excellent condition. 570-686-1036 PICNIC TABLE, blue, folding, 33x25 top. Great for camping. $15. Three 2 x 4 fluorescent lights/ lens & 6' wire whip $10. each 570-696-3528 REFRIGERANT: R-12 30lb. Unopened container. Plains area. $400.00. 570-262-1279 SEWING MACHINE, Singer, Model 2502 in wooden storage/work table $350 570-592-5007 SNO THROWER, MTD, 4.5/21, runs great, $60. GRILL, gas, Char-Broil, 4 burner + side burner, $60. 570-655-2443 STOOL SET, Sponge Bob, $10. 570-852-0675 TABLE TOP. Oval glass. 40x51.5" $35 OBO. 570-735-7331 MONDAY, NOVEMBER 21, 2011 PAGE 7D 906 Homes for Sale 906 Homes for Sale BLAKESLEE 786 Toys & Games DOLLHOUSE, Fisher Price Twin time, with furniture and family members, great condition, $45. 570-696-4020 DOLLS, American Girl look a likes, various models, $12 each; Doll furniture, chair, $5, love seat $8, new. STUFFED ANIMALS, new $2$10. 570-693-2329 GI JOES. Boxed, 12" figures. $10 each. 570-823-7396 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale 548 Medical/Health 548 Medical/Health ASHLEY 800 PETS & ANIMALS 810 Cats DALLAS DURYEA DURYEA Program Coordinator We are currently seeking a Program Coordinator for our office in Pittston, Pennsylvania. The primary role of the Program Coordinator is to coordinate the development and implementation of services/treatment provided to individuals. The Program Coordinator oversees all services provided to individuals and families, monitors the quality of care delivered, supports and educates foster parents (Mentors) and staff, and monitors corporate and regulatory program compliance. Bachelor's Degree in Social Services or a related field, and minimum of 2 years prior experience working with individual(s) with a developmental disability, or an Associate's Degree in Social Services or a related field, and a minimum of 4 years prior experience working with individual(s) with a developmental disability. LINEUP ASUCCESSFULSALE INCLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! All shots, neutered, tested,microchipped 824-4172, 9-9 only CATS & KITTENS 12 weeks & up. VALLEY CAT RESCUE 2 or 3 bedroom Single Home for Sale. Off street parking. Large yard. $82,000 Negotiable (570) 814-4730 Not Cook Street in Flood Zone 77 AVOCA 47 Scenic Drive Country Colonial, hilltop setting. Living room/den with fireplace. Large kitchen / great room. Family room with large windows on every wall. Covered wraparound porch. Full basement. 3 car garage. 11-4498 $259,627 815 Dogs 570-643-2100 C21poconos.com 794 Video Game Systems/Games. Call of Duty: Modern Warfare 3. I purchased three days ago and already finished the game. $50. Call or text. 570-814-3383 MODERN WARFARE 3 NOT IN FLOOD ZONE 319 Bennett Street For Sale by Owner Two story, 2-unit home. Live in one unit rent the other to pay mortgage or great investment property. Small fenced-in yard and detached garage. $65,000 Negotiable Call Tara 570-430-1962 DURYEA Not in Flood Zone Single family house, 2 bedrooms, 2 bathrooms, oil heat, unfinished basement, small yard, $35,000 Call 570-457-3340 DURYEA DALLAS 796 Wanted to Buy Merchandise Mr. Peanut & Planter Peanut Items. (570) 868-6895 AVOCA Looking to buy a home? Place an ad here and let the sellers know! 570-829-7130 906 Homes for Sale Looking to buy a home? Place an ad here and let the sellers know! 570-829-7130 DURYEA Email resume to: Randi.farr@thementornetwork.com Ophthalmic Technician COA/COT preferred Ophthalmology practice with ASC and LASIK suite has a full time opening for an experienced ophthalmic technician. Duties include preliminary eye exams, diagnostic testing, professional courteous patient relations. Experience in retinoscopy, A-scans and IOL calculations and LASIK screening preferred. COA/COT level a plus. Competitive salary with excellent benefits. Travel to satellite offices required. Please email or send your resume with cover letter in confidence to: 762 Musical Instruments NEED CASH? Gold & Gold coins, (5'1") with bench seat. Mahogany traditional style. Made in Baltimore, MD in 1944. Same owner since 1968. Tuned in September. $3200. 570-696-9818 PIANO, Story & Clark console with matching bench. Delivered. Excellent condition. Just tuned. $500. Call 570-474-6362 PIANO. Wurlitzer upright, good condition, needs tuning. $650. Call after 5:00 570-283-0535 SAXOPHONE, Selmer AS500 Alto with case, excellent condition, $475. 570-574-2853 KNABE BABY GRAND PIANO We Buy: We make house calls! Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! DOG, FREE, Female Blue Fawn Pit Bull, 1 1/2 years old has all shots. 570-287-5493 AVOCA Renovated 3 bedroom, 2 story on corner lot. New roof & windows. New kitchen, carpeting & paint. Hardwood floors, gas fireplace & garage. All appliances included. A MUST SEE. $119,000. 570-457-1538 Leave Message Home with 30 Acres CENTERMORELAND Wyoming County 248 Overbrook Rd. Lovely 4 bedroom cape cod situated in a private setting on a large lot. Vaulted ceiling in dining room, large walk in closet in 1 bedroom on 2nd floor. Some replacement windows. Call Today! MLS 11-2733 $125,000 Jay A. Crossin Extension 23 CROSSIN REAL ESTATE 570-288-0770 This country estate features 30 acres of prime land with a pretty home, ultra modern kitchen, 2 full modern baths, bright family room, den, living room and 3 good sized bedrooms. This property has open fields and wooded land, a stream, several fieldstone walls and lots of road frontage. Equipment and rights included. $489,000. 11-3751 Call Jerry Bush Jr. Coldwell Banker Gerald L. Busch Real Estate 570-288-2514 DALLAS Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! DURYEA $164,900 Call Patti 570-328-1752 Liberty Realty & Appraisal Services LLC Bucci Laser Vision Institute Attn: Geno Marola, MS, FACMPE, Administrator 158 Wilkes-Barre Township Blvd. Wilkes-Barre, PA 18702 570-825-2645 fax gene@buccivision.com GET THE WORD OUT with a Classified Ad. 570-829-7130 SPEAKERS, (2) 15" Audio Centron with tripods & covers. 26"H x 19"W. 8 Ohms, 400 Watts. High frequency. Very good condition. $300 for all. 570-824-3077 The Video Game Store 28 S. Main W.B. Open Mon- Sat, 12pm � 6pm 570-822-9929 / 570-941-9908 POMERANIAN PUPPIES Parents on premises Shots Current. $450 570-401-1838 German lines. 2 females. Ready to go. $450. 570-592-5515 570-654-0678 ROTTWEILER PUPS SHIH TZU PUPPIES 770 Photo Equipment CAMERA, Mamiya C330S, 2 1/4 film camera, 55mm.80 mm, 180mm lenses, Flash unit, exposure meter, aluminum case, numerous filters & other accessories. Mint condition. $500. 570-696-2864 Guaranteed Buying all video games & systems. PS1 & 2, Xbox, Nintendo, Atari, Coleco, Sega, Mattel, Gameboy, Vectrex etc. DVD's, VHS & CDs & Pre 90's toys, 1150 S. Main Scranton Mon - Sat, 12pm � 6pm 570-822-9929 $$ CASH PAID $$ VIDEO GAMES & SYSTEMS Highest $$ Paid Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! LINE UP A GREAT DEAL... IN CLASSIFIED! BEAR CREEK 2 females. First shots & Vet checked. 570-654-6730 570-881-3117 St. Bernard, Poms, Yorkies, Maltese, Husky, Rotties, Doberman, Golden, Dachshund, Poodle, 570-453-6900 570-389-7877 475 East Ave. Top to bottom re-do for this beautiful 3 bedroom, 1.75 bath, 2 story home located in the Meadow Run Lake community of Bear Creek. Tranquil setting, modern interior all re-done, granite countertops in the kitchen, exterior with new landscaping and stone patio with lake frontage to name a few! MLS 11-1643 $329,900 Call Jay A. Crossin 570-288-0770 Ext. 23 CROSSIN REAL ESTATE 570-288-0770 BEAR CREEK Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! REDUCED 619 Foote Ave. Don't judge a book by its cover! This is a must see Ranch home with 3 bedrooms, 1 3/4 baths, 1 car garage, large yard, finished lower level. New kitchen with heated tile floors, granite counter, stainless appliances. Split system A/C, gas hot water baseboard. For more info and photos visit: realtyinc.com. MLS 11-4079 $159,900 Call Charlie 570-829-6200 Assistant Clinical Director Job Purpose: To provide Clinical oversight to the emotional and behavioral issues pertaining to children in the Autism program by working in unison with the Clinical Director in assuring quality services. Qualifications: Board Certified Behavior Analyst and/or Professional License required. 5 years supervisory experience BHRS /Autism experience preferred Full time position available. 1140 SPRING ST. Large 3 bedroom home with new roof, replacement windows, hardwood floors. Great location! For more information and photos visit: www. atlasrealtyinc.com. MLS 11-2636 $99,900 Call Tom 570-262-7716 DUPONT DURYEA 167 Center St. 3 bedroom, 1.5 bath 2 story home with garage and driveway. Newer kitchen and bath. For more info and photos visit: realtyinc.com MLS 11-3561 Price reduced $64,900 Call Charlie 570-829-6200 DURYEA REDUCED Please reply to: recruiter@friendshiphousePA.Org Or mail resume to: Friendship House c/o Human Resources 1509 Maple Street, Scranton, Pa 18505 Direct Care and Licensed Clinical positions are available, Please visit us at The Video Game Store 776 Sporting Goods BICYCLE, 10 speed, female, good shape, needs to be cleaned, $75. 570-829-2599 835 PetsMiscellaneous 778 Stereos/ Accessories VITO'S & GINO'S Wanted: Junk Cars & Trucks Highest Prices Paid!! FREE PICKUP SPEAKERS, (2) Bose Interaudio 4000, excellent condition, covers, still like new. $100. CD CHANGER, Sony 5 disc, $35 570-574-5193 HURRICANE IRENE SURVEY: University of Pennsylvania survey on Hurricane Irene and its effect on people with pets. If interested visit surveymonkey.com/ upennpetstudy or email EvacuationStudy@psych.upenn. edu. 782 Tickets Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! 12/2, 1:00 pm Show 2nd Mezz. $91 12/4, 1:00 pm Show Orch. $156 12/9,1:00 pm Show 2nd Mezz. $91 12/11,2:00 pm Show, Orch. $156 3rd Mezz. $101 12/16,1:00 pm Show Orch. $106 2nd Mezz. $91 12/17 11:30am Show Orch. $156 2nd Mezz. $121 RADIO CITY MUSIC HALL CHRISTMAS SPECTACULAR BUS TRIPS. 601 Sandspring Dr true log home on 4 acres of privacy. built with care & quality! features include 2 master suites with walk-in closets. Each Mst Bath has a jacuzzi & shower. Graced with Custom River Stone Fireplace, exposed beams & real hardwood floors. A wall of windows to enjoy the outdoor vista's. Large Family room on 1st floor & Large recreation room lower level. Ideal for entertaining family & friends. This home has 4 full baths. 2 Covered Porches to relax on a porch swing or enjoy the sunny rear deck overlooking the wooded land. Custom Kitchen with GRANITE counter tops, HICKORY Cabinets & of course Stainless Steel appliances. MLS 11-7410 $399,900 INVESTMENT OPPORTUNITY DUPONT 805-807 Main St. Multi 288-8995 WANTED JEWELRY DALLAS DECK THE HALLS WINE TOUR at Seneca Lake Sat. 12/3. $186 per couple Receive a Free Christmas Wreath WILKESBARREGOLD 11/28, 12/4 & 12/10 Only $35 BASKETBALL AT MSG 12/10 DUKE VS. WASHINGTON PITTSBURGH VS. OKLAHOMA STATE $85 or $115 NEW YORK CITY SHOPPING (570)48GOLD8 (570)484-6538 Mon-Sat 10am -6pm Closed Sundays ASHLEY Highest Cash Pay Outs Guaranteed 1092 Highway 315 Blvd (Plaza 315) 315N .3 miles after Motorworld cookiestravelers.com COOKIE'S TRAVELERS 570-815-8330 570-558-6889 We Pay At Least 80% of the London Fix Market Price for All Gold Jewelry Nov. 18: $1,719.00 Visit us at WilkesBarreGold.com Or email us at wilkesbarregold@ yahoo.com Find homes for your kittens! Place an ad here! 570-829-7130 London PM Gold Price 3 bedroom, 1 bath 2 story in good location. Fenced yard with 2 car detached garage. Large attic for storage. Gas heat. $79,900 Call Ruth Smith 570-696-1195 or 570-696-5411) $318,000 Call Kevin Smith 570-696-5422 Single family home with a separate building containing a 1 bedroom apartment and 5 car garage all on 1 lot. For more info and photos visit: realtyinc.com MLS 11-2828 Price reduced $82,900 Call Charlie 570-829-6200 P E N D I N G Blueberry Hill. 3 bedroom ranch. Large lot with pool. $339,500 No Realtors For more details call 570-406-1128 DURYEA 411 JONES ST. Beautiful 2 story English Tudor with exquisite gardens, surrounding beautiful in ground pool, private fenced yard with a home with too many amenities to list. Enjoy the summer here! Screened in porch and foyer that just adds to the great living space of the home For more info and photos: visit:www. atlasrealtyinc.co m MLS 11-2720 $229,900 Call Phil 570-313-1229 P E N D I N G CARE COORDINATOR CareGivers America is seeking a full-time Care Coordinator for Dallas PA. This individual will assist with interviewing, training, scheduling, & supervising our staff for in home care. Candidates must possess energetic team spirit, strong customer service, interpersonal and organizational skills, motivational attitude, the ability to work as a member of a team in a busy, high-energy environment. Benefits Package Included! Bachelor Degree Required. DURYEA LINEUP ASUCCESSFULSALE IN CLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! Resumes to rjacobs@caregiversamerica.com or 570-585-4624 786 Toys & Games AIR HOCKEY TABLE, $200. 570-639-1354 DOLL CRADLE, wooden, $20. 570-829-2599 SMITH HOURIGAN GROUP Wanna make your car go fast? Place an ad in Classified! 570-829-7130. Doyouneedmorespace? A yard or garage sale Need to rent that in classified Wanna make your Wanna make your Vacation property? is the best way car go fast? Place car go fast? Place to cleanoutyourclosets! Place an ad and an ad in Classified! an ad in Classified! You're in bussiness get started! 570-829-7130. 570-829-7130. 570-829-7130 with classified! 570-643-2100 C21poconos.com SMITH HOURIGAN 570-696-1195 LINEUP ASUCCESSFULSALE IN CLASSIFIED! BLUEBERRY HILLS 108 Blackberry Ln. Newer construction, 3 bedrooms, 2.5 baths, family room with gas fireplace. Formal dining room. 2 car garage, gas heat, large deck, above ground pool. For more info and photos visit: realtyinc.com MLS 11-3858 $289,900 Call Lu-Ann 570-602-9280 LINEUP ASUCCESSFULSALE IN CLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! The Luzerne County Transportation Authority is seeking a Part-Time Custodian for its complex in Kingston. This position will be responsible for the cleaning and minor maintenance work to include sweeping, mopping, and vacuum floor surfaces; waxing & buffing tile floor; maintains bathrooms and replenishes paper supplies and soap as necessary; clean windows,walls, woodwork, and light fixtures; empties trash receptacles; and performs related duties as required. The successful candidate must pass a preemployment drug and alcohol screening; a successful criminal background check is also required as a condition of employment. The LCTA is an equal opportunity employer. If you are ambitious, dependable, willing to work approximately 24 hours per week, please apply (9:00AM-4:00PM) at: 315 Northampton Street, Kingston, PA PART TIME CUSTODIAN PAGE 8D MONDAY, NOVEMBER 21, 2011 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale TIMES LEADER 906 Homes for Sale KINGSTON 906 Homes for Sale 906 Homes for Sale KINGSTON 906 Homes for Sale LAFLIN 3 Main Street DURYEA REDUCED! EXETER EXETER REDUCED FORTY FORT REDUCED! HANOVER TWP. HARDING JENKINS TWP. 38 Huckleberry Lane Blueberry Hills 4 BEDROOMS, 2.5 baths, family room with fireplace, 2 car garage, large yard. Master bath with separate jetted tub, kitchen with stainless steel appliances and island, lighted deck. For more info and photos visit: realtyinc.com. MLS 11-3071 $319,000 Call Colleen 570-237-0415 Need to rent that Vacation property? Place an ad and get started! 570-829-7130 FACTORYVILLE 1301 Murray St. Very nice duplex, fully rented with good return in great neighborhood. For more information and photos visit: realtyinc.com MLS 11-2149 $124,900 Call Charlie 570-829-6200 209 Constitution Avenue, LIBERTY HILLS Fantastic view from the deck and patio of this 4 bedroom, 2.5 bath vinyl sided 2 story home. Four years young with so many extras. A dream home! MLS# 11-2429 $299,900 Call Florence 570-715-7737 EDWARDSVILLE 32 Atlantic Ave 3 bedroom. Great starter home. Almost completely remodeled. 11-2108 $87,000 Darcy J. Gollhardt, Realtor 570-262-0226 CLASSIC PROPERTIES 570-718-4959 Ext. 1352 LINEUP ASUCCESSFULSALE INCLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! EDWARDSVILLE Major renovations, updates, spacious, landscaped, enclosed porch and patio, 4 bedrooms.Gorgeous. Charming inside and out on half acre. Exceptional buy at $180,900 Shari Philmeck ERA BRADY ASSOCIATES 570-836-3848 FOR SALE BY OWNER Chalet style split level in country setting. 3 bedrooms, den with wood burning fireplace, living room, dining room, kitchen & family room. Finished basement. 1 car attached garage. Must see! $189,900 Call (570) 333-4987 FRANKLIN TWP. Smith Hourigan Group 570-474-6307 HANOVER TWP. 131 THEODORE ST., Beautiful bi-level located in Hex Acres, a quiet country setting, yet minutes from town. This home features quality workmanship and finishes and is in absolute move-in condition. Features modern kitchen and baths, lower level family room, sunroom, deck and above ground pool. All on a large nicely landscaped lot. MLS#11-2901 $160,000 Karen Ryan 283-9100 x14 297 Susquehannock Drive A HOME FOR THE HOLIDAYS! HOLIDAYS! Classic 2 story home with 4 bedrooms, 2.5 baths, 2 car garage. Master bedroom with walkin closet, private yard with above ground pool, kitchen overlooks large family room. For more info and photos visit: realtyinc.com MLS 11-2432 $259,900 Call Colleen 570-237-0415 HARVEYS LAKE JENKINS TWP. Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! KINGSTON Historic 120+ year old home, many original details, new roof, updated electrical and a huge garage. Currently a gift shop. Corner lot, newly paved parking area. $170,000 MLS 11-2115. Call Betty at Century 21 Smith Hourigan Group 570-287-1196 ext 3559 or 570-714-6127 LAFLIN KINGSTON REDUCED!! HANOVER TOWNSHIP Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! Very nice, move-in condition or good rental property. 1.5 double, 3 bedroom, living room, kitchen, dining room, basement & full attic. Great deal, must sell, only $30,000. Call (570) 762-5119 FORTY FORT 70 Wesley Street 65-67 St. Mary's Rd Double Block close to Marion Terrace Elementary. 3 bedrooms each unit. Nice private yard. Buyers Agent must be present at first showing in order to claim commission. MLS 11-2426. $65,000 Call Connie Eileen R. Melone Real Estate 570-821-7022 5 Raymond Drive Practically new 8 year old Bi-level with 4 bedrooms, 1 and 3/4 baths, garage, fenced yard, private dead end street. For more info and photos visit: www. atlasrealtyinc.com MLS 11-3422 $179,000 Call Colleen 570-237-0415 Large Family home, private, on partly wooded parcel over 1 1/2 acres. Large front porch surrounded by greenery. Well built & maintained, natural woodwork, updated bathrooms. $117,500 Jeannie Brady ERA BRADY ASSOCIATES 570-836-3848 Looking for that special place called home? Classified will address Your needs. Open the door with classified! 475 S. Main St. 3 bedroom, 1 bath, 2 story home with vinyl replacement windows, vinyl siding, large yard and off street parking. For more info and photos visit: realtyinc.com MLS 11-3545 Price reduced $69,900 Call Charlie 570-829-6200 HARVEYS LAKE Say it HERE in the Classifieds!. AC on 3rd floor. $1,149,000 MLS# 10-1268 Call Joe Moore 570-288-1401 431 Chestnut Ave. Charming 2 story single family home with upgrades, including new kitchen cabinets, furnace, hot water heater, 200 amp electric, 2 car detached garage. Walk up attic for additional storage space. MLS 11-4106 $129,900 Jay A. Crossin EXT 23 CROSSIN REAL ESTATE 570-288-0770 KINGSTON 663 Westmoreland Avenue REDUCED LINEUP ASUCCESSFULSALE HANOVER TOWNSHIP IN CLASSIFIED!! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! HANOVER TWP. JENKINS TWP. $134,500 Mark R. Mason 570-331-0982 CROSSIN REAL ESTATE 570-288-0770 $210,000 Call Nancy Answini 570-237-5999 JOSEPH P. GILROY REAL ESTATE 570-288-1444 KINGSTON Charming 2-1/2 story with 3 bedrooms on 2nd + a 4th (12x24) on 3rd, full bath upstairs, half bath with laundry on 1st floor, lots of closet space, finished walk-out basement and much more! MLS 11-2340 $185,000 Jay A. Crossin CROSSIN REAL ESTATE 570-288-0770 ext. 23 Move right into this 3 bedroom 1.5 bath townhouse with many recent updates including new bath room /kitchen and finished basement. $131,900 Call 570-903-6308 LAFLIN TOWNHOUSE FOR SALE BY OWNER 105 Haverford Drive LAFLIN LINE UP A GREAT DEAL... IN CLASSIFIED! Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! 128 JEAN ST. Nice bi-level home on quiet street. Updated exterior. Large family room, extra deep lot. 2 car garage, enclosed rear porch and covered patio. For more information and photos visit: www. atlasrealtyinc.com MLS 11-2850 $184,900 Call Charlie 570-829-6200 Reduced! Bi-Level. 1,750 sq ft. 3 bedrooms, 2 baths, 1 car garage. New carpeting, paint, etc. Large lot. Asking $99,900. Deremer Realty 570-477-1149 HANOVER TOWNSHIP 8 Diamond Ave. Don't worry about winter in this fully insulated home with new windows. 3 floors of living space lets you spread out and enjoy this house. Large family room addition plus 4 bedrooms, 1 1/2 baths, 1st floor laundry, large corner lot. Modern kitchen with granite counters. For more information and photos visit realtyinc.com MLS #11-622 $119,000 Call Colleen 570-237-0415 P E N D I N G KINGSTON Spacious 2 story home on lovely tree lined street. Includes 3 bedrooms, 3 baths (1 on each floor), Living room, dining room, family room, office and kitchen. All new windows, fresh paint. MLS 11-2676 $136,000 Call Kathy 570-696-5422 KINGSTON 125 3rd Ave SMITH HOURIGAN GROUP 570-696-1195 554 Production/ Operations 554 Production/ Operations 554 Production/ Operations Unison Engine Components is seeking experienced CNC Machine Operators to support the Wilkes-Barre facility. Qualifications: -Qualified candidates must be able to set-up and operate various types of CNC Lathes and Milling with minimum training. -Complete product inspection -Must be able to read blueprints. -Ability to use normal tooling including various micrometers, calipers, height gages, indicators and unique gages. -Perform production with good quality and maintaining high efficiency. -Maintain accurate record keeping. -Candidate needs to be able to work in a teaming environment. -Work safely and contribute to the safety culture. -Meeting the high standards for quality -Maintain equipment and work area in a safe, clean, and orderly condition. We offer a generous benefits package including medical, dental, vision coverage, gain share program, vacation & holidays. Starting rates range from $17.55 to $22.20 plus shift differential based upon experience. This home says "come in!" You'll feel right at home the moment you step inside. 3 large bedrooms, 2 � modern baths, modern kitchen, living room, dining room with hardwood floors, office, laundry room, comfortable gas heat, cool central air and 2 car garage. You have to see the patio! MLS 11-2487 $235,000 Call Jerry Bush Jr. Coldwell Banker Gerald L. Busch Real Estate 570-288-2514 KORN KREST 322 Spring Street Out of the flood area. 2 family home. One with 2 bedrooms, the other with 3 bedrooms. Needs TLC. 50x125ft lot. Walking distance to schools grade 7-12, kindergarten & 1st. $49,000. HANOVER TWP. Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! LINE UP A GREAT DEAL... IN CLASSIFIED! HUGHESTOWN REDUCED Kwiatkowski Real Estate 570-825-7988 Well kept 2 story with 3 bedrooms and 1.5 baths situated on a nice street in Kingston. Newer roof, furnace, water heater, electric service. Replacement windows throughout. Basement has high ceilings, ideal for re-finishing or workshop! MLS 11-2167 $144,000 Jay A. Crossin CROSSIN REAL ESTATE 570-288-0770 KINGSTON 76 N. Dawes Ave. DO THE MATH! Qualified FHA buyers could possibly be paying less than $900 per month for mortgage, taxes and insurance. NOW is the time to buy. Stop throwing your money away renting. Well cared for 2 bedroom home with private yard, garage and driveway. For more info and photos visit: realtyinc.com MLS 11-2278 $129,900 Call Colleen 570-237-0415 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! KINGSTON 22 Dogwood Drive Beautifully kept home on a quiet dead-end street. Handicap accessible. Convenient Laflin location, close to interstate and turnpike. Last home on street makes it very private and quiet! Home features large basement with extra ceiling height, living room opens to modern, eat-in kitchen, 4 bedrooms, 2 full baths. Beautifully landscaped yard with large deck and pond. MLS#11-3432 $218,900 Chris Jones 570-696-6558 LAKE SILKWORTH HANOVER TWP .HANOVER TWP. Complete application at Luzerne County Careerlink, 32 East Union St, Wilkes-Barre. NO PHONE CALLS PLEASE! EOE M/F/D/V 536 IT/Software Development 536 IT/Software Development 536 IT/Software Development 187 South Street 3 bedrooms, 2 full baths, modern kitchen, security system, beautifully landscaped patio, pond & above ground pool are just a few of the touches that make this home so appealing. Great neighborhood! Close to major highways. MLS #11-2370 $124,500 Call Debra at 570-714-9251 2 story in good condition with 3 bedrooms, 1 full bath, eat-in kitchen, 2 car garage, fenced yard & new gas heat. $44,000 Call Ruth Smith 570-696-1195 or 570-696-5411Barre. Great family neighborhood. Carpet allowance will be considered. For mor info and photos visit: realty.inc.com $129,900 MLS #11-1434 Call Tom 570-262-7716 Stately brick 2-story featuring formal living room with fireplace, formal dining room, modern cherry kitchen, knotty pine study, spacious family room, sunroom, computer room, TV room, 4 bedrooms, 5 baths. MLS#11-2250 $339,000 Call Ruthie 570-714-6110 Lake house completely remodeled interior and exterior. 2 bedroom, 1 bath, laundry room and carport. Deeded lake Access MLS 11-2345 $88,000 Barbara Strong 570-762-7561 ANTONIK & ASSOCIATES 570-735-7494 LARKSVILLE JENKINS TWP. SMITH HOURIGAN GROUP Senior Network Support Specialist King's College has an immediate opening for a Senior Network Support Specialist. This person provides a range of network support to faculty, staff and students. The primary responsibilities of this position are to support the core network infrastructure (Cisco and Enterasys) and integrated network resources (Cisco VoIP, and EMC SAN). This position also requires assisting with the installation, maintenance, and backup of servers (VMWARE and Windows) and inter-networking equipment including security patches and firmware upgrades. Other responsibilities include: contributing to the planning & design of the overall technology & network infrastructure; responding to the needs of all departments and divisions serviced by User Services; and will maintain a close and responsive relationship with all teams of the IITS divisions. Requirements: A degree in computer-related field or a minimum of three years experience in networking support maintenance and operations. Specific expertise should include TCP/IP networking, CISCO routers and switches, Enterasys switches, Cisco VoIP systems, EMC SAN, VMWARE, and networking troubleshooting and diagnostics. Ability to interact well with faculty, staff and students. Ability to work with little direct supervision and learn new skills as directed by environmental changes. Qualified applicants should forward a cover letter and resume along with a list of 3 professional references to HRjobs@kings.edu. Electronic submission is preferred. Review of resumes will continue until the position is filled. King's College is an Equal Opportunity Employer. Women and minorities are encouraged to apply. HANOVER TWP 710 Church Street Seller willing to help pay Buyer's closing costs!! HANOVER TWP. P E N D I N G Located within 1 block of elementary school & neighborhood park this spacious 4 bedrooms offers 1450 sq. ft of living space with 1.75 baths, walk up attic, and partially finished basement. Extras include gas fireplace, an inground pool with fenced yard, new gas furnace & more. Ann Marie Chopick 570-760-6769 SMITH HOURIGAN GROUP 570-287-1196 $105,900 Exceptionally well care for home in move in condition. Everything is new, roof, siding, windows, porches, kitchen and baths. MLS 11-2309 $119,000 Jay A. Crossin CROSSIN REAL ESTATE 570-288-0770 ext. 23 19 Garrahan Street Attractive 2-story in great neighborhood. Newer roof, newer 2nd floor replacement windows, newer split A/C system, large eat-in kitchen, bedroom pine flooring, walk-up attic & a mostly fenced yard. REDUCED $59,900 MLS#11-1754 Call Steve Shemo (570) 288-1401 (570) 793-9449 10 Miller Street 3 bedroom, 1 bath ranch recently damaged by flooding. No structural issues, roof is good, will need basement and first floor renovations. Large lot, off-street parking with carport, nice location. MLS#11-3646 Originally 129,000 Reduced to $42,500! Eric Feifer 570-283-9100 x29 570-288-6654 SALE BY OWNER! Charming, well maintained. Front porch, foyer, hardwood floors, granite kitchen, 4 bedrooms, living room/large dining room, 2 fireplaces, 2.5 baths, sun room, basement with plenty of storage. Private English style back yard. $195,000 570-472-1110 Motorcycle for sale? Let them see it here in the Classifieds! 570-829-7130 KINGSTON Losing Hair House Hunting? Reduce the anxiety with triple assurance of good location, extensive renovations and new kitchen and baths that come with this lovely two story with great rear deck. Comforting price too - just $119,900. MLS 11-1856. Call Tracey McDermott 570-696-2468 KINGSTON Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! Wanna make your car go fast? Place an ad in Classified! 570-829-7130. Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! 220 Wright Ave Modern 3 bedroom rancher. Woodburning fireplace in living room. Gas heat. Central air conditioning. Aluminum siding. Newer roof. Nice yard. Extras. MLS 11-4225 $105,000 Bob Kopec HUMFORD REALTY 570-822-5126 Find Your Ideal Employee! Place an ad and end the search! 570-829-7130 ask for an employment specialist Wanna make your car go fast? Place an ad in Classified! 570-829-7130. 796 Wanted to Buy Merchandise 570-735-1487 796 Wanted to Buy Merchandise WE PAY THE MOST IN CASH BUYING 11am to 11pm 39 Prospect St � Nanticoke TIMES LEADER 906 Homes for Sale 906 Homes for Sale MINERS MILLS MONDAY, NOVEMBER 21, 2011 PAGE 9D 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale PLAINS KEYSTONE SECTION 9 Ridgewood Road 906 Homes for Sale NANTICOKE 906 Homes for Sale SHAVERTOWN 906 Homes for Sale SWOYERSVILLE 906 Homes for Sale THORNHURST LUZERNE PITTSTON PITTSTON TWP. PITTSTON TWP. STAUFFER POINT 42 Grandview Drive NEW PRICE You will be impressed by this well kept 3 bedroom charmer with intown location. Large fenced yard & 2 tiered deck-great for entertaining. Large, bright eat-in kitchen, spacious family room with fireplace & new carpet in master bedroom and hall. 1 car garage & shed. MLS# 11-1623 $109,900. Michael Slacktish 570-760-4961 111 E. Grand St. One half double block. 3 bedrooms, plaster walls, aluminum siding & nice yard. Affordable @ $34,900 Call Jim Krushka TOWNE & COUNTRY REAL ESTATE Co. 570-735-8932 or 570-542-5708 NANTICOKE 31 Tedrick St. Very nice 3 bedroom with 1 bath. This house was loved and you can tell. Come see for yourself, super clean home with nice curb appeal. For more info and photos visit: realtyinc.com MLS 11-3544 Reduced to $84,900 Call Charlie 570-829-6200 754 Laurel St. Absolutely beautiful move in condition. This 2 bedroom Ranch home with fully finished basement is in excellent condition. Come and see for yourself. For more info and photos visit: realtyinc.com. MLS 11-3796 $129,900 Call Charlie 570-829-6200 P E N D I N G LUZERNE Signature Properties MOUNTAIN TOP 4 bed, 1 1/2 bath. WOW - Talk about Charm! Stained glass windows, HUGE rooms, beautiful woodwork and wood floors plus storage. Nice 162 sq ft enclosed porch, 1886 sq ft. Massive storage unit outback, can be converted to a multiple car garage. Endless possibilities here. Just needs the right person to love it back to life. MLS 11-3282. $139,900. Call/text for Details. Donna Cain 570-947-3824 414 E. Grove Street 3 bedroom, 1 bath, 2 story with off street parking, backyard, new oil furnace, windows, wiring, kitchen, bath, flooring & paint. Excellent condition. $89,500. Seller Assist of $5,000 Call Bill Remey @ 570-714-6123 LINEUP ASUCCESSFULSALE INCLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! PITTSTON TWP. 15 Albert Road Home in good condition! Nice rear yard! Basement is heated & semi finished! Hardwood floors under carpet! MLS#11-3703 $134,000 Jim Graham at 570-715-9323 Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! NANTICOKE PITTSTON LUZERNE Job Seekers are looking here! Where's your ad? 570-829-7130 and ask for an employment specialist MOUNTAIN TOP 867 Bennett With just a minimum amount of TLC, this is a great starter home. Nice location with great view of Wyoming Valley and beyond, off street parking in rear via alley. All measurements approximate. BeinG sold "as is". MLS 10-2774 $60,000 Call Michelle Boice 570-639-5393 CROSSIN REAL ESTATE 570-288-0770 16 Hazlenut Drive New granite counter tops/island! 3 zone heat, nice lower level finished with walkout, huge inground pool, fenced yard! Large bedroom sizes. Large family room with fireplace & new carpet. New garage door! Hardwood in living room & dining room. MLS #11-2270 $389,000 Jim Graham at 570-715-9323 W. Green St. Nice 2 bedroom Ranch style home, gas heat, finished basement, vinyl siding, deck. Move in Condition. Affordable @ $89,500. Call Jim TOWNE & COUNTRY REAL ESTATE Co. 570-735-8932 or 570-542-5708 NOXEN 99 1/2 Pine St. The owner of this house took pride in its upkeep. It is meticulous. Home has 3 bedrooms, 1 bath, eat in kitchen, living room and dining room. Walkout basement with paneled walls and heat. Large yard with newer one car detached garage, accessed from rear alley. MLS 11-3555 $48,000 Call Terry 570-885-3041 Angie 570-885-4896 P E N D I N G 993 Sunrise Dr. Horizon Estates Fabulous end unit townhome provides luxurious, carefree living. 3 bedrooms, 2.5 baths with 1st floor master suite. Ultra kitchen with granite and stainless appliances. Dining room with built in cabinet. 2 story living room with gas fireplace and hardwood. 2 car garage, maintenance free deck, nice yard that can be fenced. Low HOA fee for snow removal and grass cutting. For more info and photos visit: realtyinc.com MLS 11-3488 $289,900 Call Terry 570-885-3041 Angie 570-885-4896 better than new end unit condo, with 1st floor master bedroom and bath, Living room with gas fireplace, hardwood floors in living, dining room & kitchen, granite countertops and crown molding in kitchen, with separate eating area, lst floor laundry, heated sunroom with spectacular view, 2 additional bedrooms, full bath and loft on the 2nd floor, 2 car garage, gas heat and central air, priced to sell $274,500 MLS 11-2324 call Lu-Ann 602-9280 S L O D bedrooms, huge modern kitchen, big TV room and living room, 1 bath, attic for storage, washer, dryer & 2 air conditioners included. New Roof & Furnace Furnished or unfurnished. Low Taxes! New price $118,500 TOTAL BEAUTY 1 ACRE- PRIVACY Beautiful ranch 2 570-885-1512 401 W. Shawnee Ave OUT OF FLOOD AREA Beautifully redone 3-4 bedroom, 2 bath bi-level with garage on cozy corner lot near Valley West High School. New Paint, Carpeting, Appliances & more. $125,000. 570-706-5496 PLYMOUTH PLYMOUTH Exquisite 4 bedroom. Formal living room, floor to ceiling brick fireplace. Formal dining room. Beautiful eat in kitchen, cherry cabinetry, granite counters, stainless steel appliances. Master suite, ash hardwood floors, his/her closets and balcony. Master bath, cherry vanity and granite counters. Spacious 24x28 family room, entertainment unit & bar. Office, built-ins. Sunroom. Three car garage. Completely updated and well maintained. This home is conveniently located on 2.5 park like acres just minutes from Cross Valley. MLS#11-2008 $519,000. Call Ruthie 570-714-6110 10AM-12PM SUNDAY 11/20/11 67 Watkins St Large 4 bedroom with many attractive details emanating from the French door entrance foyer. MLS#11-3962 $135,000 Call Al Clemont 570-371-9381 68 Laurel Drive True log home, inside and out. 4 bedroom / 2 bath home with full basement. located in quiet community. Knotty pine interior, living room fireplace, wrap decking, paved drive and more. MLS 11-4211 $114,900 570-643-2100 C21poconos.com TUNKHANNOCK Smith Hourigan Group 570-714-6119 FOR SALE BY OWNER 3 bedroom, 1 bath, nice level yard, wonderful neighborhood completely out of flood plane. $66,900 570-472-3334 570-239-1557 SWOYERSVILLE 33 Oliver St. Smith Hourigan Group 570-287-1196 additional photos and information can be found on our web site, www. atlasrealtyinc.co m PLAINS Don't miss this spacious 2 story, with a 17 x 11 Living room, formal dining room, eat in kitchen plus � bath on the first floor & 2 bedrooms & bath on 2nd floor. Extras include an enclosed patio and a detached garage. Reasonably priced at REDUCED! $34,900. MLS 11-2653 Ann Marie Chopick 570-760-6769 SHAVERTOWN Affordable living on � acre, one mile from Tunkhannock. Cape Cod, 4 bedrooms, appliances stay, newer metal roof and replacement windows. Great price at $119,500! Shari Philmeck ERA BRADY ASSOCIATES 570-836-3848 SWOYERSVILLE LUZERNE REDUCED! 262 WALNUT ST. Nicely redone 2 story on large fenced corner lot. Updates include, vinyl siding, windows, electric service & wiring, newer carpeting, 2 zoned gas heat and all new 2nd floor (gutted and reinsulated. 3 bedrooms, 1 bath, large eat in kitchen, 1st floor laundry and attached shed that could be a nice 2nd bath. Shed and off street parking for 6 cars. MLS 11-2564 $104,900 Mark R. Mason 570-331-0982 CROSSIN REAL ESTATE 570-288-0770 home completely remodeled in & out. $245k with owner financing with 20% down or will lease with option to purchase. tj2isok@gmail.com MOUNTAIN TOP 3 story, 5 bedroom PRICED TO SELL! Brick ranch, large living room, 3 bedrooms, sun room, deck, full basement, sheds & garage on 0.54 acres$139,500 Jeannie Brady ERA BRADY ASSOCIATES 570-836-3848 Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! PITTSTON REDUCED! PITTSTON TWP. 570-288-6654 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! LINE UP A GREAT DEAL... IN CLASSIFIED! Lovely 3 bedroom 2400 sf Cape Cod with modern eat-in kitchen, large sunroom & family room. Master bedroom with master bath. Central air, gas heat & 2 car garage. Very well landscaped with beautiful paver sidewalks. Quiet neighborhood. Possible 6 month rental for the right tenant. $229,000 Call Ruth Smith 570-696-1195 or 570-696-5411 Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! TUNKHANNOCK SMITH HOURIGAN GROUP SHAVERTOWN SWOYERSVILLE PLYMOUTH Lovely bi-level, 4 bedroom home situated on scenic one acre with pond, above ground pool, shed and fruit trees. Stay cozy with 2 gas stoves and coal stove (in addition to electric heating.) Great buy at $189,900 Shari Philmek ERA BRADY ASSOCIATES 570-836-3848 PITTSTON 95 William St. 1/2 double home with more square footage than most single family homes. 4 bedrooms, 1.5 baths, ultra modern kitchen and remodeled baths. Super clean. For more information and photos visit realtyinc. com MLS 11-2120 $59,000 Call Charlie 570-829-6200 PLAINS $169,900 Call Colleen 570-237-0415 2 bedroom, 2.5 bath. Luxury 1,950 sq ft end unit Townhome in sought after River Ridge. Gas heat, CAC, Hardwood & wall to wall. Marble tile master bath with jetted tub & seperate shower. $199,500 Call 570-285-5119 OUT OF FLOOD ZONE North Street Large raised ranch with 2 car garage. Modern kitchen, 3 bedrooms, living room, family room, 3 season porch, finished lower level with 1� bath & laundry. $139,900 570-779-2424 PLYMOUTH Woodridge I This spacious 2 story sits on a private partially wooded lot with inground pool. Plenty of living space, living room with fireplace, first floor den, and laundry, needs some attention but well worth the price. $159,900 Ann Marie Chopick 570-288-6654 MOUNTAIN TOP Looking to buy a home? Place an ad here and let the sellers know! 570-829-7130 3 bedrooms, 2.5 baths, Cathedral ceilings, hardwood floors, gas heat, Central Air, master bath with whirlpool tub & shower, lovely landscaped fenced yard, 1 car garage. Great Location. MLS#11-3533 Call Nancy Palumbo 570-714-9240 Luxurious End Townhouse REDUCED TO $199,900 Newport Twp East Main Street Handyman Special Double Block Two 2 story, 3-bedroom units each with attic, cellar, bath and pantry. Large 4 car garage. Upper and lower floors. As is for $25,000. Call 570-379-2645 WANAMIE WEST HAZLETON P E N D I N G Looking for that special place called home? Classified will address Your needs. Open the door with classified! PITTSTON TWP. PITTSTON TWP. REDUCED PLAINS Spacious 1791 sq. ft. 1/2 double with wrap around porch, shed & garage. Semi modern kitchen & bath. 3 bedrooms with gas heat and plenty of storage. $24,900. Possible rent to own Ann Marie Chopick 570-760-6769 570-760-6769 SHICKSHINNY There are many great reasons to consider Team Belchick! MESHOPPEN Novak Road MOUNTAIN TOP PITTSTON $129,900 MLS# 11-525 Call 570-696-2468 NEW LISTING �. Price to sell, $185,900 Ann Marie Chopick 570-760-6769 38 Frothingham St. Four square home with loads of potential and needs updating but is priced to reflect its condition. Nice neighborhood. Check it out. For more info and photos visit: www. atlasrealtyinc.com MLS 11-3403 $69,900 Call Charlie 570-829-6200 122 PARNELL ST. Beautiful bi-level home on corner lot. 7 rooms, 3 bedrooms, newer roof and windows. Fenced in yardFor more info and phtos visit: realtyinc.om MLS 11-2749 $189,900 Call Tom 570-262-7716 570-288-6654 SHAVERTOWN 168 Mill St. Large 3 bedroom home with 2 full baths. 7 rooms on nice lot with above ground pool. 1 car garage. For more info and photos visit: realtyinc.com MLS 11-3894 $89,900 Tom Salvaggio 570-262-7716 SMITH HOURIGAN GROUP PLAINS of Times Leader readers read the Classified section. *2008 Pulse Research 91 91 % % 74 W. Carey St. Affordable home with 1 bedroom, large living room, stackable washer & dryer, eat in kitchen. Yard with shed. Low taxes. For more info and photos visit: realtyinc.com MLS 11-4068 $37,500 Call Colleen 570-237-0415 Great New Construction on 2 Acres with 1 year Builders Warranty! 2 Story home with 4 bedrooms, 2.5 baths, living room with gas fireplace , dining room, kitchen, breakfast room & laundry room. dining room with tray ceiling, whirlpool tub in master bath plus 2 car attached garage, open front porch & rear deck. MLS 11-2453 $275,000 FIVE MOUNTAINS REALTY 570-542-2141 SWEET VALLEY Mary Ellen & Walter work together in a unique approach that guarantees your real estate needs are handled immediately & professionally. Mary Ellen 696-6566 Walter 696-2600 ext 301 100 Warren St 16,000 sq. ft. commercial building with warehouse / offices. Great location. 1 block west of Route 93. Approx. 3 miles from 80/81 intersection. Many possibilities for this property--storage lockers; flea market; game/ entertainment center; laundromat; auto garage. $119,000 Call Karen at Century 21 Select Group - Hazleton 570-582-4938 WEST PITTSTON THORNHURST of Times Leader readers read the Classified section. *2008 Pulse Research Signature Properties PITTSTON Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! (570) 288-6654 For Sale By Owner 2+ acre lot. 4 bedroom, 1 1/2 bath, 2 story home. Hardwood floors. New roof. Large detached garage. Crestwood area school district. $69,000. Needs some TLC. Call 570-868-8223 MOUNTAINTOP New Listing 214 Elizabeth St. Cozy 3 bedroom home tastefully done. Separate 1st floor laundry, lots of storage, vinyl siding, replacement windows. 1 full bath and 2 - 1/2 baths. Finished bonus room in basement MLS 11-4172 $79,900 David Krolikowski 570-288-0770 CROSSIN REAL ESTATE 570-288-0770 What Do What Do You Have You Have To Sell To Sell Today? Today? Call 829-7130 to place your ad. ONL N LE D ONLY ONE LEADER. NLY NL LE LEADER. timesleader.com of Times Leader readers read the Classified section. *2008 Pulse Research 91 % Adorable seasonal cottage with rights for North Lake. Two bedrooms, furnished, 10x10 shed, front porch with roof, deck, tip-top condition! Make it your getaway for just $68,900! Shari Philmeck ERA BRADY ASSOCIATES 570-836-3848 SWEET VALLEY REDUCED! 1114 Golf Course Dr Raised Ranch with 3 bedrooms & attached garage. Spacious wrap around deck and enclosed patio. ADT security system has also been recently installed. 11-8467 $125,000 570-643-2100 C21poconos.com THORNHURST Call 829-7130 to place your ad. ONL N LE D ONLY ONE LEADER. NLY NL LE LEADER. timesleader.com Purebred Animals? Sell them here with a classified ad! 570-829-7130 What Do Y Have ou T Sell o T oday? Call 829-7130 to place your ad. ONL ONLY ONE LEADER. NLY N LE D NL LE LEADER. timesleader.com $99,000 Jay Crossin CROSSIN REAL ESTATE 570-288-0770 ext. 23 396 Cedar Lane Retreat to this charming Pocono Style Contemporary. A stones throw to Pennsylvania's state gamelands. Relax or entertain outdoors and enjoy Pennsylvania's abundant wildlife. 11-4354 $119,999 570-643-2100 C21poconos.com Sell your own home! Place an ad HERE 570-829-7130 PAGE 10D WEST PITTSTON MONDAY, NOVEMBER 21, 2011 906 Homes for Sale WHITE HAVEN TIMES LEADER 906 Homes for Sale 906 Homes for Sale 64 West River St 906 Homes for Sale 906 Homes for Sale 906 Homes for Sale WILKES-BARRE PARSONS Reduced - $79,900 906 Homes for Sale 909 WILKES-BARRE WILKES-BARRE WILKES-BARRE WYOMING Income & Commercial Properties 909 Income & Commercial Properties 909 Income & Commercial Properties HANOVER TWP 22 W. Germania St INDUSTRIAL KINGSTON LIGHT PITTSTON Well cared for and nicely kept. A place to call home! Complete with 2 car oversized garage, central air, first floor laundry, eat in kitchen. Convenient to shopping, West Pittston pool and ball fields. PRICE REDUCED! $114,900 MLS 11-583 Call Judy Rice 570-714-9230 124 Holiday Drive 4 bedrooms, 2 full baths. Brick fireplace in living room. Large front deck. Screened porch. Unfinished dry basement. Sold furnished. Home close to Route 940, Interstate 80, NE Ext to PA turnpike, Route 81. Open floor plan. MLS 11-5369 $89,000 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! WEST WYOMING 570-643-2100 C21poconos.com WHITE HAVEN 134 Brown Street Nicely remodeled, spacious 2-story with attached garage on corner lot. Modern, eat-in kitchen with stainless steel appliances; large lower level Theatre Room and additional rec room with dry bar and 5th bedroom. Newer roof, mostly newer replacement windows & gas furnace. MLS# 11-1817 REDUCED TO $79,900 Call Steve Shemo (570) 288-1401 (570) 793-9449 26-28-30 Blackman Street Nice investment triplex conveniently located on bus route close to schools. Grosses over $3,000/month! Separate gas, electric & water; parking for 10+ cars. Reduced to $94,900. MLS#11-423 Call Steve Shemo (570) 288-1401 (570) 793-9449 WILKES-BARRE 35 Hillard Street Beautifully restored 1890 Queen Anne with working elevator located in Wilkes-Barre's Historic District built by Fred Kirby close to riverfront parks and downtown shops and restaurants. This architectural gem has six bedrooms & 5 baths and a modern kitchen with granite counters and SS appliances. Original 2-story carriage house with for two cars. Hot tub included. MLS 11-2316. $329,900 Call Darren Snyder Marilyn K Snyder Real Estate 570-825-2468 WILKES-BARRE 262 Stucker Ave & Extra Lot (3rd street after baseball field) 7 room (3 bedrooms), 1 1/2 baths. Lower Level has family room and 1 car attached garage. To settle Estate. Drastically reduced. Original price $119,900, now reduced to $79,900. 10-2472 Call Joe Bruno 570-824-4560 JANE KOPP REAL ESTATE 570-288-7481 MOTIVATED SELLER!! Nicely maintained 2-story traditional in great neighborhood. Modern oak kitchen, open layout in family room/den with new floors, above ground pool in fenced rear yard. 1-car detached garage with workshop area, all on a nice wide lot. MLS#11-2428 REDUCED TO $139,900 Call Steve Shemo (570) 288-1401 (570) 793-9449 This 6,600 sq. ft. concrete block building has multiple uses. 5 offices & kitchenette. Over 5,800 sq. ft. warehouse space (high ceilings). 2 overhead doors. $85,000 MLS 10-1326 Bob Kopec HUMFORD REALTY 570-822-5126 HUGHESTOWN WILKES-BARRE Looking for that special place called home? Classified will address Your needs. Open the door with classified! 180 Woodhaven Tucked at the end of a natural Spring-fed Lake, a quiet, restful setting gives you the peace and tranquility you're searching for. Sophisticated log design features cathedral ceilings with expansive glass to soak in the view overlooking the lake. Expansive living area with high, vaulted ceiling leads your eye to the open loft and wide Catwalk. Easy access to decks and patio from every level to enjoy nature at it's best. Huge 840 sq. foot, guest quarters �so very convenient for friends and family. Call now to learn more about this very special property. MLS 11-5544 $374,900 156 Sherman Street HANDYMAN SPECIAL. Extra Large duplex with 7 bedrooms, 2 baths, fireplace, screened porch, full basement and 2 car garage on double lot in WilkesBarre City. $59,500 ERA BRADY ASSOCIATES 570-836-3848 Great neighborhood surrounds this updated 2 story home with original woodwork. 3 bedroom, 1 bath, 1,500sf oak eat-in kitchen, hardwood floors, stained glass windows, large rooms, fenced yard, deck. Zoned R1 Single Family Zone. $79,900 MLS #11-599 Call Tracy Zarola 570-696-0723 WILKES-BARRE REDUCED 221 Brown Street WILKES-BARRE DOUBLE LOT IN WILKES-BARRE CITY Extra large duplex. Total 7 bedrooms, 2 baths, hardwood floors, fireplace, screened porch, full basement and 2 car garage. $58,000. Jeannie Brady ERA BRADY ASSOCIATES 570-836-3848 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! WYOMING LINE UP A GREAT DEAL... IN CLASSIFIED! LAFLIN 165 Searle St. Double block home, great investment propPerty or live in one side and rent the other. Two 3 bedroom, 6 room 1/2 doubles . Great walk up attic on both sides. For more info and photos visit: realtyinc.com. MLS 11-3915 $49,900 PITTSTON P E N D I N G WILKES-BARRE Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! 570-643-2100 C21poconos.com WEST WYOMING Looking to buy a home? Place an ad here and let the sellers know! 570-829-7130 WHITE HAVEN Great first home or down size. Nice clean move in ready no lawn work here. 2 car detached garage and best of all the Mortgage is probably lower than your rent payment. $52,500 MLS# 11-871 Call Tony Wasco 570-855-2424 Trademark Realtor Group 570-613-9090 WILKES-BARRE Emergency Liquidation 30-31 Oak Drive 3 Bedroom, 2 bath single family. 11-6522 $129,900 Shopping for a new apartment? Classified lets you compare costs without hassle or worry! Get moving with classified! WILKES-BARRE 49 Hillard St. Great 3 bedroom home with large modern kitchen. Ductless air conditioning on 1st floor. Laundry on 2nd floor. Nice deck and fenced in yard. Off street parking for 2 cards via rear alley MLS 11-2896 $85,000 Call Shelby Watchilla 570-762-6969 CROSSIN REAL ESTATE 570-288-0770 3 bedroom, single home. $22,500. Must Sell. Call 570-956-2385 WILKES-BARRE WILKES-BARRE SOUTH Very nice ranch on corner lot in great neighborhood & out of flood zone! Sharp hardwood floors in 2 bedrooms & dining room. Finished basement with 3rd bedroom. Relaxing flagstone screened porch. 1 car garage. One block from elementary school plus high school bus stops at property corner! MLS#11-3831 $139,500 Call Steve Shemo (570) 288-1401 (570) 793-9449 JENKINS TWP. Duplex. Aluminum siding, oil heat, semi - modern kitchens, long term tenant. On a spacious 50' x 150' lot. Motivated Seller. REDUCED. $39,900 Anne Marie Chopick 570-760-6769 570-288-6654 LINEUP ASUCCESSFULSALE INCLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! Great price! 3 bedroom, 1 1/2 bath, needs some love. High ceilings, open floor plan downstairs, extra room upstairs for closet, office, storage, whatever you need. Subject to short sale, bank approval. $37,900 MLS 11-3134 Call/text for Details. Donna Cain 570-947-3824 3 bedroom, 2 story, with brick & stucco siding. Beautiful hardwood floors. Semi-modern kitchen. Finished basement with fireplace. Covered back porch. Priced to sell. $79,900. MLS 11-2987 Besecker Realty 570-675-3611 YATESVILLE PRICE REDUCED 1334 Main St. 1 story, 2,600 sq. ft. commercial building, masonry construction with offices and warehousing. Central air, alarm system and parking. Great for contractors or anyone with office/storage needs. For more info and photos visit: realtyinc.com. MLS 11-3156 $84,900 Call Charlie 570-829-6200 NANTICOKE Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! PITTSTON To Settle Estate $60,000 WILKES-BARRE 570-643-2100 C21poconos.com WILKES-BARRE 123 Fern Ridge Rd. WHITE HAVEN White-Haven Pocono's. Nice 3 Bedroom, 2 Bath Ranch. Great Vacation Home or Year round Home. Community Lake & other amenities. Close to Hunting, Fishing, Golf and Skiing. Close to Rt 80. All offers contingent to bank short sale approval. REDUCED! $67,900 MLS# 11-765 Call Tony Wasco 570-855-2424 Trademark Realtor Group 570-613-9090 PRICE REDUCED! In Community 231 Poplar St. Rolling Mill Hill Section Well-Maintained 3 bedroom home in Move-in condition. Hardwood floors, upgraded appliances & great storage space. Private driveway & nice yard. MLS# 10-4456 $75,000 Barbara Young Call 570-466-6940 WILKES-BARRE 60 Saint Clair St WILKES-BARRE COLDWELL BANKER, RUNDLE REAL ESTATE 570-474-2340 Ext. 55 WILKES-BARRE 241 Dana Street Lot 39 Mayock St. 9' ceilings throughout 1st floor, granite countertops in kitchen. Very bright. 1st floor master bedroom & bath. Not yet assessed. End unit. Modular construction. MLS #10-3180 $179,500 Jim Graham at 570-715-9323 314 Horton Street Wonderful Family Home, 6 rooms (3 bedrooms), 1 1/2 baths, two-story, Living room with built-in Bookcase, formal Dining Room with entrance to delightful porch. Eat-in kitchen. Private lot, detached garage. A must see home. MLS 11-2721 New Price $60,000 GO TO THE TOP... CALL P E N D I N G SALE OR LEASE PRICE REDUCED Modern office building, parking for 12 cars. Will remodel to suit tenant. $1800/mo or purchase for $449,000 MLS 11-751 Call Charlie 570-829-6200 Township Blvd. PITTSTON YATESVILLE REDUCED! 570-288-7481 WYOMING JANE KOPP REAL ESTATE 366 Pierce St. Commercial building for sale.Highly desirable corner location with parking for approximately 25 vehicles. Would be attractive for any retail or commercial operation. MLS 11-2763 $300,000 Jay A. Crossin Extension 23 CROSSIN REAL ESTATE 570-288-0770 KINGSTON PITTSTON 113 S. Main St. Newer multi level commercial building in center of downtown Pittston. Many possibilities. Parking in rear. For additional info & photos visit: realtyinc.com MLS 11-3886 $200,000 Call Lu-Ann 570-602-9280 MAKE AN OFFER! Ideal location between WilkesBarre & Scranton. Ample parking with room for additional spaces. Perfect for medical or professional offices. Contact agent to show. Asking $945,000 Contact Judy Rice 570-714-9230 MLS# 10-1110 Find homes for your kittens! Place an ad here! 570-829-7130 Find Your Ideal Employee! Place an ad and end the search! 570-829-7130 ask for an employment specialist Find Your Ideal Employee! Place an ad and end the search! 570-829-7130 ask for an employment specialist 941 Find Your Ideal Employee! Place an ad and end the search! 570-829-7130 ask for an employment specialist Selling a Business? Reach more potential buyers with an ad in the classified section! 570-829-7130 941 Apartments/ Unfurnished WILKES-BARRE Apartments/ UnfurnishedMotorcycle for sale? Smith Hourigan Group (570) 696-1195 1702 W. Eighth St. 1 story Ranch with 100x200 lot, paved driveway, new energy star replacement windows. Excellent starter home. For more info and photos visit: realtyinc.com. MLS 11-2912 $89,500 Fred Mecadon 570-817-5792 S O L D PLAINS 584 Wyoming Ave. MOVE-IN READY! $399,000 Judy Rice 570-714-9230 Call Tracy Zarola 570-696-0723 Find Something? Lose Something? Get it back where it belongs with a Lost/Found ad! 570-829-7130 PITTSTON 909 608 Wyoming Ave WYOMING Income & Commercial Properties AVOCA LINEUP ASUCCESSFULSALE IN CLASSIFIED! Apartment Homes Ask About Our Fall Specials! $250 Off 1st Months Rent, & $250 Off Security Deposit With Good Credit. 1 bedroom starting @ $690 CEDAR VILLAGE Let them see it here in the Classifieds! 570-829-7130 941 Apartments/ Unfurnished 941 Doyouneedmore space? F e a t u r i n g : Ayardorgaragesale in classified is thebestway to cleanoutyourclosets! You'rein bussiness 570-823-8400 withclassified! cedarvillage@ affiliatedmgmt.com EAST MOUNTAIN APARTMENTS The good life... Regions Best close at hand Address � 1 & 2 Bedroom Apts. � 1, 2 & 3 Bedroom Apts. LINEUP W A ASUCCESSFULSALE $675.00 IN CLASSIFIED! Apartments/ Unfurnished IL K E SW O O D PAR TM E NTS Washer & Dryer Central Air Fitness Center Swimming Pool Easy Access to I-81 Mon � Fri. 9 �5 44 Eagle Court Wilkes-Barre, PA 18706 (Off Route 309) 822-4444 288-6300 1 B edroom Sta rting at � Includes gas heat, w ater,sew er & trash � C onvenient to allm ajor highw ays & public transportation � Fitness center & pool � P atio/B alconies � P et friendly* � O nline rentalpaym ents � Flexible lease term s M ond a y - Fri a y 9 -5 d Sa turd a y 1 0-2 * Restri ons Ap p ly cti Doyouneedmore space? Ayard orgaragesale in classified is thebestway to cleanoutyourclosets! You'822-27 1 n1ess re in bussi with classified! w w w .li ea tw i esw ood .com v lk Location, Location, location! Either you are looking to raise your family or just work from home this amazing brick ranch style property has it all. Zoned commercial, 3 very large bedrooms and 3 1/2 baths, full finished basement, library room, oversized living room, formal dining room and so much more. You have to see it to appreciate. Call today for a private tour of the property. 1 year Home Warranty. MLS 11-1870 PRICE REDUCTION!!! OWNER WANTS OFFERS $299,000 Call Tony Wasco 570-855-2424 Trademark Realtor Group 570-613-9090 25 St. Mary's St. 3,443 sq. ft. masonry commercial building with warehouse/office and 2 apartments with separate electric and heat. Perfect for contractors or anyone with storage needs. For more information and photos log onto realtyinc.com. Reduced to $89,000 MLS #10-3872 Call Charlie 570-829-6200 VM 101 To place your ad Call Toll Free 1-800-427-8649 KINGSTON 7 Hoyt St Sell your own home! Place an ad HERE 570-829-7130 Purebred Animals? Sell them here with a classified ad! 570-829-7130 LINEUP ASUCCESSFULSALE IN CLASSIFIED! Doyouneedmore space? Ayardorgaragesale in classified is thebestway to cleanoutyourclosets! You'rein bussiness withclassified! Purebred Animals? Sell them here with a classified ad! 570-829-7130 Find homes for your kittens! Place an ad here! 570-829-7130 TIMES LEADER 909 Income & Commercial Properties 909 Income & Commercial Properties 912 Lots & Acreage LAFLIN Lot#9 Pinewood Dr MONDAY, NOVEMBER 21, 2011 PAGE 11D 912 Lots & Acreage 941 SWEET VALLEY Apartments/ Unfurnished 941 Apartments/ Unfurnished 941 Apartments/ Unfurnished 941 Apartments/ Unfurnished 941 Apartments/ Unfurnished 941 Apartments/ Unfurnished SCRANTON WYOMING PRICE REDUCED! DALLAS TWP Live in one and rent the others to pay for your mortgage! This Multi-Unit features gorgeous hardwood floors in the 1st level apartment. 2nd level apartment has 4 bedrooms! Lower Level apartment has cozy efficiency. Plenty of parking & 2 car carport is another highlight. Call Jesicca Skoloda 570-237-0463 JesiccaSkoloda Realtor@gmail.com MLS# 11-2741 $119,999 570-696-2468 285 Wyoming Ave. First floor currently used as a shop, could be offices, etc. Prime location, corner lot, full basement. 2nd floor is 3 bedroom apartment plus 3 car garage and parking for 6 cars. For more information and photos go to realtyinc.com MLS #10-4339 $169,900 Call Charlie VM 101 BUILD YOUR DREAM HOME one of the last CONDO FOR LEASE: $1,800. 2 bedroom/ 2 Bath. Call Us to discuss our great Amenity & Maintenance program! Call 570-674-5278 LEHMAN Mooretown Road Well and septic already on site. Build your home on this beautiful 2.2 acre lot. 2 car garage on site with fruit trees, flowers, grape vines and dog run. From Dallas take Rt. 118 to right on Rt. 29 N, left on Mooretown Road for about 1/2 mile, see sign on left. MLS 11-2779 $59,200 Call Patty Lunski 570-735-7494 Ext. 304 ANTONIK AND ASSOCIATES, INC. 570-735-7494 Large 3 bedroom 2nd floor. No pets. Off street parking. Call Joe 570-881-2517 DALLAS 1 bedroom, LAKE FRONT apartments. Wall to wall, appliances, lake rights, off street parking. No Pets. Lease, security & references. 570-639-5920 HARVEYS LAKE SPACIOUS 1/2 DOUBLES 3 bedrooms, back yard. Separate utilities. No pets. Background & security. $775/month. 570-242-8380 KINGSTON GET THE WORD OUT with a Classified Ad. 570-829-7130 Completely remodeled, modern 2 bedroom apartment. Heat and sewer included. Lots of closet space, with new tile floor and carpets. Includes stove, refrigerator, washer, dryer. nice yard and neighborhood, no pets. $650/ month + $1000 deposit. Call 570-479-6722 Available Immediately Spacious 2 bath, 2 bedroom, 2nd floor apartment. Appliances included. $510 + utilities 1 & 2 bedroom apartments include appliances $450. + utilities. ASK ABOUT OUR DISCOUNT FOR G OOD C REDIT H OLDERS ! KINGSTON Very nice, 3 room efficiency with bath. No pets. Nonsmoking. All utilities included. $575/mos Call 570-287-3985 KINGSTON Two level, 1 bedroom, 1 bathroom, all appliances , sewer and garbage included, off-street parking, no pets, quiet neighborhood $460/per month, plus 1 month security. Call (570)441-4101 Very clean, nice, 2 bedroom. Water, sewer, stove, fridge, Garbage collection fee included. W/d availability. Large rooms. Security, $535/mo. 570-736-3125 NANTICOKE NANTICOKE (Hanover SD) 2 bedrooms, 1 bath w/d hookup, newly remodeled, upgraded electrical, gas heat. $600 month+ utilities, security deposit/lease. Pet friendly with owner approval for additional $25/mo. 570-690-8669 UPPER ASKAM Need a Roommate? Place an ad and find one here! 570-829-7130 1ST FLOOR, 5 ROOMS All appliances washer/dryer hook-up. Wall to wall carpet. Off street parking. $650 per month + utilities, security & references. No smoking. No pets. 570-574-1143 WEST PITTSTON Downtown. Unique, modern. 2,300 sq ft, oak hardwood floors, exposed brick walls. 1-2 bedrooms, 2 full baths. New tiled kitchen, living room & great room. Fireplace. Front / rear entrance with deck. included. Water $1,500. Call Mrs. Casey 570-821-0435 WILKES-BARRE 915 Manufactured Homes 570-899-3407 Tina Randazzo Property Mgr WEST HAZLETON 912 Lots & Acreage DALLAS 3 bedroom townhouse. 1.5 bath, 1 car garage yard. Only 4 years old. $112,500 each or buy all 6 for $650,000 Garry Tokanets Broker Mountain City Realty 570-384-3335 WILKES-BARRE 495-497 S. Grant St New Goss Manor lots. Prices ranging from $59,900 to $69,900. Public water, sewer, gas & electric available. Call Kevin Smith 570-696-1195 or 570-696-5420 SMITH HOURIGAN GROUP DURYEA 44.59 ACRES Market Street OVERLOOKING THE HUNTSVILLE GOLF COURSE. Own and build your own dream house overlooking the 10th green at the prestigious Huntsville Golf Course. Picturesque setting in the Back Mountain area of Lehman. Near Penn State College, Lehman. Accessed by Market St., downtown Lehman corner off Rt. 118 or passed the Huntsville dam. Driveway in place, septic approved. All on over 1 acre of prime 10th green view land. MLS#11-2860 $107,000 Bob Cook 570-696-6555 New Listing! MOBILE HOME 2 bedroom, furnished, $23,000 (570) 655-9334 (570) 762-4140 ASHLEY To place your ad call...829-7130 Laurel Run & San Souci Parks, Like new, several to choose from, Financing &Warranty, MobileOneSales.net Call (570)250-2890 ASHLEY PARK 1 & 3 BEDROOM APARTMENTS Spacious, off street parking. Recently refurbished. $500. and $650. + utilities. References, credit and background check. 570-239-8793 or 570-947-5997 1.5 bedroom, 1st floor, washer/dryer, porch, yard, parking, No Pets, Quiet/Convenient Smoke Free Building. $475. + utilities. Discount available. Available 12/1 570-574-9827 KINGSTON 2nd floor, 1 bedroom, appliances included, no pets, $425 + utilities. Call 570-287-9631 or 570-696-3936 KINGSTON Wyoming Avenue 3 room, kitchen, bath, foyer & enclosed porch. Off street parking. On site laundry. Tenant pays electric, sewage & trash. Water included. $650 + security. (570) 881-1747 PITTSTON AVAILABLE DEC. 1 2 bedroom, modern and clean. Includes stove and fridge. W/d hookup. Landlord pays sewer and garbage, tenant pays heat, water & electric. NO PETS Lease & security required. $550/mo 570-829-1578 PITTSTON bedroom, living 203 Delaware Ave. Out of flood zone. 4 rooms, no pets, no smoking, off street parking. Includes heat, water, sewer, fridge, stove, w/d. High security bldg. 1st floor or 2nd floor 570-655-9711 PITTSTON Freshly painted 3 bedroom. Eat in kitchen. New floor & electrical fixtures. Pets OK. Water & sewage included. $525. First and security a must. Call 570-223-6252 WILKES-BARRE In desirable area. 2 bedrooms, newly renovated, close to public transportation. $500/month + utilities. 973-216-9174 WILKES-BARRE KINGSTON 930 Wanted to Buy Real Estate WE BUY HOMES 570-956-2385 Any Situation WE BUY HOUSES 570-472-3472 Unique NY loft style apartment. 2nd floor. 1 bedroom. No pets. All appliances included. Washer, dryer, etc. Water & garbage included. $750 + utilities. 570-237-5361 DURYEA $775. With discount. All new hardwood floors and tile. New cabinets / bathroom. Dishwasher, garbage disposal. Washer/dryer hookup. Off street parking. Facebook us at BOVO Rentals 570-328-9984 LARKSVILLE 3 bedroom, 1 bath. LAFAYETTE GARDENS ! S AVE MONEY THIS YEAR WILKES-BARRE 113 Edison St. Quiet neighborhood. 2 bedroom apartments available for immediate occupancy. Heat & hot water included. $625 Call Aileen at 570-822-7944 Nice double block in good condition with 2 bedrooms on each side. New vinyl siding. Bathrooms recently remodeled. Roof is 2 years old. Fully rented. Tenants pay all utilities. MLS11-580.$55,500 Call Darren Snyder Marilyn K Snyder Real Estate 570-825-2468 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! Industrial Site. Rail served with all utilities. KOZ approved. For more information and photos visit realtyinc.com $2,395,000 MLS#10-669 Call Charlie Looking to buy a home? Place an ad here and let the sellers know! 570-829-7130 APARTMENT FOR RENT 2 story, 2 bedroom, modern kitchen & bath. Hardwood floors, full basement. Gas heat, hot water baseboard. All appliances. No pets. $525 + security. 570-825-6259 EDWARDSVILLE 3 room apartment 2nd floor. Heat & hot water included. Coin Laundry. Off street parking. No pets/smoking. $645 570-288-5600 or 570-479-0486 KINGSTON 131 S. Maple Ave. Very clean, 1st floor 3 Bedroom with modern bath and kitchen. New flooring, large closets. Off Street Parking, fenced yard. Water & garbage included. Tenant pays electric & gas service. $545/month. No pets. One year lease. 570-301-7723 LARKSVILLE Crestwood Schools! 126 Acres for Sale! Mostly wooded with approx. 970 ft on Rt. 437 in Dennison Twp. $459,000 Call Jim Graham at 570-715-9323 MOUNTAIN TOP EXETER 2 bedroom, modern 938 Apartments/ Furnished kitchen and bath, Includes OSP stove, fridge, heat, water, sewer. No Pets. $650. 570-693-1294 1st floor, 2 bedrooms, private parking, quiet neighborhood, near colleges. $600/month + utilities, 1 month rent & security. AVAILABLE NOW! 570-656-7125 KINGSTON 1st floor. Renovated, spacious 2 bedroom. Gas heat & AC. Living room/dining. Eat in kitchen with appliances. Laundry in unit. Off street parking. Screened in porch. No pets. No smoking. $750/month + utilities. 570-714-9234 KINGSTON 1 bedroom, wall to wall, off-street parking, coin laundry, water, sewer & garbage included. $495/ month + security & lease. HUD accepted. Call 570-687-6216 or 570-954-0727 LUZERNE Newly renovated, 4 bedrooms, 2 full baths, living room, kitchen, stove, & fridge included washer/dryer hookup, off-street parking. Heat & water included. $875. per month + security deposit. Credit check & references. Cell 917-753-8192 Jenkins Twp. PITTSTON It's that time again! Rent out your apartment with the Classifieds 570-829-7130 Mayflower Section 1 bedroom apartment available. Nice Area. Duplex (1 unit ready now). Heat and hot water. Rent with option to buy. No pets. Call 570-823-7587 WILKES-BARRE MUST SEE! 2nd Floor, 2 bedroom, quiet area. No Pets. No smoking. $525/month + security & utilities. Call 570-357-1383 PITTSTON Available immediately, 2 bedrooms, 1 bath room, stovewasher-dryer, offstreet parking, no pets, Patio, $575. /per month, Sewer & Garbage, $575. /security deposit. Call 570-760-0459 WEST WYOMING MODERN 429 West Eighth St. Meyers Court. 3 bedroom end unit townhouse. $690 + utilities. For more info visit: DreamRentals.net or call 570-288-3375 WILKES-BARRE Let the Community Know! Place your Classified Ad TODAY! 570-829-7130 Small efficiency at 281 S. Franklin St; 3rd floor; kitchenette & bath. $400 per month includes heat. Call 570-333-5471 with references WILKES-BARRE MOOSIC 4 rooms, 2nd floor, heat, water, sewer included. $695. Security /references 570-457-7854 DALLAS 2 bedrooms, 1 bath, refrigerator, w/d and stove provided, off-street parking, no pets. $650 per month, plus utilities, & security. Call 570-674-7898 WILKES-BARRE 98-100 Lockhart St Ida Acres, Wyoming Area School District. 6 lots remain, starting at $38,000. Private setting. Underground utilities. 570-947-4819 EXETER MOUNTAIN TOP Several building lots ready to build on! ALL public utilities! Priced from $32,000 to $48,000! Use your own Builder! Call Jim Graham at 570-715-9323 Great Investment Opportunity. Separate utilities. Motivated seller! MLS 11-4330 $80,000 Maria Huggler CLASSIC PROPERTIES 570-587-7000 LINE UP A GREAT DEAL... IN CLASSIFIED! Out of flood area. 100x125ft. All utilities in place. Building moratorium does not apply to this lot. $45,000 reduced to $42,000 Call 570-655-0530 EXETER Furnished 1 bedroom, luxury apartment. EVERYTHING INCLUDED. Heat, hot water, A/C, electric, phone, cable. Private, no smoking, no pets. 570-954-0869 PLAINS very nice, clean, great neighborhood, hardwood floors, a/c, washer/dryer with newer appliances, storage, 1st/last/security with one year lease. References required. $650-$695 + utilities. Water/sewer by owner, no pets, non smoking. Call 202-997-9185 for appointment FORTY FORT 1 & 2 bedroom apts. NEW PRICING!!! PurebredAnimals? Sell themhere with a classifiedad! 570-829-7130 One acre lot just before Oberdorfer Road. Great place to build your dream home MLS 11-3521 $29,900 Call Colleen 570-237-0415 HARDING Mt. Zion Road furnished efficiency. Cherry kitchen cabinets, granite bath, built-ins, washer/ dryer. Security & references. Non smokers, no pets. $625. Includes heat & water. 570-655-4311 WEST PITTSTON Attractive 1 room floor. No pets. Drug free. Non smoking. Proof of employment & background check. Heat & hot water provided. $600/month + 1 month security. Call (570) 693-2415 Leave message. WYOMING 1 bedroom, 2nd lent location, newly remodeled. Sunken living room. Oak floors kitchen and bath and w/w. Incl. fridge, stove, dishwasher. Coinop laundry in building. Off street parking. $750 includes all utilities. No smoking 570-779-4609 or 570-407-3991 FORTY FORT 1 bedroom, excel- ately, 2 bedrooms, 1 bath room, refrigerator and stove provided, off-street parking, no pets, $550/per month, plus utilities, $550/ security deposit. Call 570-574-9072 to set an appointment KINGSTON 2ND FLOOR APT Available immedi- ments for elderly, disabled. Rents based on 30% of ADJ gross income. Handicap Accessible. Equal Housing Opportunity. TTY711 or 570-474-5010 This institution is an equal opportunity provider & employer. MOUNTAIN TOP 1 Bedroom apart- Clean 2nd floor, modern 1 bedroom apartments. Stove, fridge, heat & hot water included. No pets. Off street parking. $490-$495 + security, 1 yr lease Call 570-822-6362 570-822-1862 Leave Message PLAINS 1st floor. Modern 2 bedroom. Kitchen with appliances. Convenient location. No smoking. No pets. $550 + utilities. 570-714-9234 PLAINS 15 & 17 E. Carey St 135 Westminster St., 2nd floor, 2 bedrooms, living room. Laundry hookup. Recently renovated. Pet friendly. Section 8 Welcome. $495 + utilities. Call 570-814-9700 WILKES-BARRE 2 bedrooms, Section 8 Accepted, $450/per month, water and sewer paid. $450/security deposit. Call 570-561-5836 GLEN LYON HANOVER TWP. 2nd Floor. Available Nov. 1. 2 bedrooms, renovated bathroom, balcony off newly renovated kitchen with refrigerator & stove, central air, newly painted, offstreet parking, no pets. $600 per month plus utilities, & 1 month security deposit. 570-239-1010 KINGSTON No pets. Rents based on income start at $405 & $440. Handicap Accessible. Equal Housing Opportunity. 570-474-5010 TTY711 This institution is an equal opportunity provider and employer. MOUNTAIN TOP WOODBRYN 1 & 2 Bedroom. Remodeled 2nd floor, 1 bedroom apartment. New kitchen & bath. Pergo floor. Laundry room with Washer / dryer. Plenty of storage. Option to rent garage space for additional $50. Pets negotiable. $700 + security & utilities. Call 570-690-2579 PLAINS 151 W. River St. NEAR WILKES 1st floor. 2 bedrooms, carpet. Appliances included. Sewer & trash paid. Tenant pays gas, water & electric. Pet friendly. Security deposit & 1st months rent required. $600. 570-969-9268 WILKES-BARRE 1st floor, 3 sizeable bedrooms, 1.5 baths, big living room, plenty of closets. Front and side entrance, OSP. $695/mo incl.water. 1 year lease, security and application fee. Call Holly 570-821-07022 EILEEN R. MELONE REAL ESTATE 570-821-7022 WILKES-BARRE 1 & 2 bedroom apartments. Starting at $440 and up. References required. Section 8 ok. 570-332-5723 WILKES-BARRE SOUTH SECURE BUILDINGS remodeled 4 rooms. Smoke free, pet free, ceiling fans & smoke detectors throughout, stove included. Sewer paid. Clean quiet setting. $575/month + utilities & security. Available Dec 1st. Can be seen now. 570-822-6115 Leave message. McDermott & McDermott Real Estate Inc. Property Management 570-821-1650 (direct line) Mon-Fri. 8-7pm Sat. 8-noon WILKES-BARRE TWP A must see newly Immediate Opennings! 1, 2, OR 3 BEDROOMS AVAILABLE 1st month deposit NANTICOKE NANTICOKE 2 bedrooms, 1 bathroom,washer/dryer hook-up, enclosed porch, off-street parking, $475 per month + security + utilities. Call 570-821-9881 PLYMOUTH 2 bedroom with kitchen appliances. $550/month + utilities & 1 month security. No pets. Call 570-647-5053 WILKES-BARRE OFFICENTERS - Pierce St., Kingston 941 Apartments/ Unfurnished 1st floor, 2 bedroom. Off street parking. Washer dryer hookup. Appliances. Bus stop at the door. $575. Water Included. 570-954-1992 ASHLEY Full Service Leases � Custom Design � Renovations � Various Size Suites Available Medical, Legal, Commercial � Utilities � Parking � Janitorial Full Time Maintenance Staff Available Professional Office Rentals 1 or 2 bedroom apt. $475 or $500 per month. Off street parking, stove, refrigerator, sewer. Porch/patio. Credit check, No pets. Call 570-715-7732 ASHLEY 1 bedroom, 1 bathroom, all appliances provided, off-street parking, no pets, no smoking. Heat, sewer, hot water included, $550 per month + 1st & last month & $400 security de-posit. Call: 570-852-0252 after 8:00 a.m. 40 Pierce Street 3rd floor. 2 bedroom. Heat, hot & cold water, trash included. $595. Cats considered. Call (570) 474-5023 KINGSTON KINGSTON and rent a must. 570-497-9966 516-216-3539 Section 8 welcome Large 2 bedroom 1 bath, ground floor. $545 per month + security. Landlord pays most utilities. Cats OK with pet deposit. 310-431-6851 PLYMOUTH 2 bedroom; all utilities included; coin op laundry; No pets, background check. $575/month +security. Call (570) 822-9625 3 bedroom, 1 bath, w/d hookup. Off street parking for 2. Gas heat. $660 plus utilities, security and lease deposit. Pet friendly with owner approval for additional $25/month. 570-690-8669 WILKES-BARRE remodeled. Ceramic & hardwood floors. Fireplace. $475/month + utilities. No pets. Call (570) 574-8863 HANOVER TWP. 1 bedroom. All 317 N. Maple Ave. Large Two story, 2 bedroom, 1.5 bath, Central Heat & Air, washer/dryer in unit, parking. $840 + utilities & 1 month security 570-262-6947 EATON TERRACE 2 bedroom. Appliances and utilities included. Off street parking. $600/per month. Call 570-704-8134 PLYMOUTH Large, spacious 1 or WILKES-BARRE For Rental Information Call: 1-570-287-1161 SMITH HOURIGAN GROUP 3 rooms. Incl. heat, hot water, water, garbage and sewer. Appliances, off street parking. Security, no pets $490 per month 570-655-1606 AVOCA of Times Leader readers read the Classified section. *2008 Pulse Research 91% IN THE HEART OF WILKES-BARRE 1 or 2 bedrooms, 1 bath, no pets, heat, hot water, & garbage. $550. plus 1 months security due at signing deposit. 570-899-3870 HANOVER TWP. 1ST FLOOR APT. What Do You Have T Sell o T oday? Call 829-7130 to place your ad. ONL ONLY ONE LEADER. NLY N LE D NL LE LEADER. timesleader!! Cozy 2 bedroom. Heat & Appliances. $575/ month. 570-574-2588 BACK MOUNTAIN DALLAS Demunds Road Lyndwood Ave. 3 bedrooms, 1st floor, in nice neighborhood. Dishwasher, washer/dryer hook up. Parking, porch storage. $600/per month + utilities & security deposit. Call 904-382-4509 HANOVER TWP. Newly remodeled 2 bedroom, dining & living room, off street parking. All new appliances. $575 month + utilities, security & references. Water & sewer included. Absolutely No Pets. Call 570-239-7770 KINGSTON KINGSTON 347 Hanover St. Large 1 bedroom, 1st floor, wall to wall carpet, eat-in kitchen with appliances, washer & dryer hookup, porch & shared yard. $395/mo + utilities & security. New energy efficient gas furnace. Pet Friendly. Call 570-814-1356 NANTICOKE TOWNHOUSE Convenient location, very low maintenance. Total electric. Living and dining room, 1.5 baths. 2 large bedrooms. Appliances, w/d hookup included. Very small yard. Private parking sewer paid, security reference and lease. Not section 8 approved. No smoking or pets $575 + utilities. 570-779-2694 PLYMOUTH 3 bedroom. Heat & hot water included. Rent based on income. Call 570-472-9118 * WILKES-BARRE * WILKES-BARRE AMERICA REALTY RENTALS "ALL UNITS MANAGED" 1 block WB General Hospital 1-2 bedrooms $465. & Up + utilities Remodeled, appliances, laundry, parking. Employment applicatiopn, lease. NO PETS/ SMOKING 288-1422 2 bedroom apartment. Near Misericordia University. Off street parking. $650. Pets OK. Call 704-975-1491 Please call 570-825-8594 D/TTY 800-654-5984 DALLAS Modern 1st floor, 1 bedroom with all appliances. Off street parking. No pets. $550 per month + utilities. 570-639-1462 Newly remodeled large 2nd floor 1 bedroom apartment with hardwood floors. $750/month + utilities. Call John Thomas 570-287-1196 or 570-714-6124 HANOVER TWP. Kingston "A Place To Call Home" Spacious 1, 2 & 3 Bedroom Apts 3 Bedroom Townhomes Gas heat included 24hr on-site Gym Community Room Swimming Pool Maintenance FREE Controlled Access Patio/Balcony and much more... Call Today or stop by for a tour! 570-288-9019 SDK GREEN ACRES HOMES 11 Holiday Drive 603 Hanover St 2nd floor, 1 bedroom. No pets. $500 + security, utilities & lease. Photos available. Call 570-542-5330 NANTICOKE 2nd story 1 bedroom apartment. Garage parking. Back porch. Washer dryer. $575 + utilities & security. Call 570-406-4073 SHAVERTOWN APARTMENTS AVAILABLE NOW!! Recently renovated, spacious, wood floors, all kitchen appliances included, parking available. 1 bedroom $530 all utilities included. 2 bedroom $500 + utilities. Call Agnes 347-495-4566 WILKES-BARRE/NORTH 1&2B EDROOM FREE Nice clean 1 bedroom. Heat, hot water, garbage fee included. Stove, fridge, air-conditioning, washer/dryer availability. Security. $525 per month Call (570) 736-3125 NANTICOKE Main Street Modern 1st floor efficiency. $275 + security & utilities. No pets. Call 570-822-2032 SUGAR NOTCH SMITH HOURIGAN GROUP Spacious 1 bedroom apartment. Washer & dryer, full kitchen. No pets. $465 + electric. Call 570-262-5399 NANTICOKE 1 bedroom, 2nd floor, heat, hot & cold water included. Updated & painted. Off street parking. Cats considered. $575 + security & lease. Call 570-474-5023 SWOYERSVILLE 26 Bohack St. 1 bedroom, 2nd floor, off-street parking. Stove, fridge, washer, dryer included. Utilities by tenant. $425 + security. Non smoking. No pets. 570-885-0843 WYOMING Clean, 2 bedroom, duplex. Stove, hookups, parking, yard. No pets/no smoking. $495 + utilities. Call 570-868-4444 WILKES-BARRE Updated 1 bedroom. New Wall to wall carpet. Appliances furnished. Coin op laundry. $550. Heat, water & sewer included. Call 570-687-6216 or 570-954-0727 WYOMING PAGE 12D 944 MONDAY, NOVEMBER 21, 2011 944 Commercial Properties 950 Half Doubles 953 Houses for Rent DALLAS TIMES LEADER 953 Houses for Rent 2 bedrooms, 1 bathroom, all appliances + washer/dryer. Heat & sewer included. $650/ month, plus 1 month's security and references required. No pets. 570-655-5074 after 5:00 p.m. Commercial Properties 953 Houses for Rent 953 Houses for Rent Small 3 bedroom Victorian home on large lot. New furnace. 1 block from Warden Place. Large yard. Water included. Credit references, $690 month + utilities & 1 month security. Call 570-714-1296 THE ERRACE ECTION Located very near Hazleton Hospital. Residential home, Ranch style rental with garage. $1200 a month includes heat & utilities conveniently located near I80. References, credit check, security required Dee Fields, Associate Broker 570-788-7511 953 Houses for Rent Rent to Own - Lease Option Purchase 5 bedroom 2 bath 3 story older home. Completely remodeled in + out! $1500 month with $500 month applied toward purchase. $245K up to 5 yrs. tj2isok@gmail.com 953 Houses for Rent 2 to 3 bedrooms, 1.5 bathrooms, fully renovated, gas/electric heat, off street parking, washer/dryer hookup, no pets, $850/month, plus utilities, security, and lease required. Call 570-675-5916 959 Mobile Homes Newly remodeled 3 bedroom, 2 bath. Large kitchen with stove, water, sewer & garbage included. $545 + 1st & last. 570-332-8922 Rte. 315 1,700 - 2,000 SF Office / Retail 4,500 SF Office Showroom, Warehouse Loading Dock Call 570-829-1206 DOLPHIN PLAZA $895 per month! 570-262-1131 FORTY FORT where 9,000 sq. ft. @ $1.00/sq. ft. & 6,000 sq. ft. @ $1.25/sq. ft. Gas heat, overhead doors, sprinklered. Can Be Combined Call Larry at 570-430-1565 WILKES-BARRE/ AnySOUTH Best Lease 947 Garages AVAILABLE IMMEDIATELY Completely remodeled, 2 bedroom, office, 7 rooms, Oak cabinets, new appliances (with dishwasher, washer, dryer), new paint, Berber carpet, private backyard, off street parking, basement. $690 per month. 610-389-8226 KINGSTON DUPONT FORTY FORT HARVEYS LAKE MOUNTAIN TOP TRUCKSVILLE DALLAS TWP. Garage for Rent. Clean car storage only, $65/month Call 570-696-3915 REAR OF HARPE ST Garage bay for rent. 26.5' long x 11.5'wide. Electric lights. One overhead door and individual entry. $100/month. 570-760-8806 KINGSTON KINGTON 57 S newly remodeled, hardwood floors,1 ceramic bath and kitchen, oak cabinets, refrigerator, stove and dishwasher, off-street parking, no pets, no smoking. $750/per security & month, references. Call 570-417-4821 KINGSTON Two bedrooms, LINE UP A GREAT DEAL... IN CLASSIFIED! Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! 26 Yeager Ave Extraordinary neighborhood! Rent this 4 bedroom, all brick house, until June 30th. Large modern kitchen. 2 1/2 baths. Formal dining room. Office/den. Fireplace. Central Air conditioning. All major appliances. 2 car garage. $1,600 month. Call Bob Kopec Humford Realty, Inc. 570-822-5126 962 Rooms HAZLETON "T "S 1280 sq ft. 3 phase power, central air conditioning. Handicap accessible rest room. All utilities by tenant. Garbage included. $900 per month for a 5 year lease. 570-735-5064. OFFICE OR STORE NANTICOKE 5 locking garages/ storage units for rent. 9'x11' & 9'x14'. $50/month. Call 570-357-1138 WEST PITTSTON 2.5 bedroom, freshly painted, stove, off street parking, washer/dryer hookup, dry basement. $525/month, + utilities & security. (570) 239-5760 LARKSVILLE SMITH HOURIGAN 570-696-1195 950 Half Doubles HANOVER TWP. OFFICE SPACE rooms, Gas Heat, Hookups. No Pets. Family Income $500/week helps. $535 + utilities & $300 security. 570-824-8786 EDWARDSVILLE Available immediately, large EIK, 3 bedrooms, 2nd floor bath, washer/dryer hookup, stove & refrigerator, living room, dining room, walk-up attic, no pets, one year lease, $600/month, plus utilities, & security deposit. Call 570-262-1196 ALDEN / NANTICOKE Modern, 3 Bed- 3 bedroom. Wall to wall carpet. Backyard. Washer dryer hookup. $475 + security. Call 570-472-2392 NANTICOKE Casino Countryside Inn End unit. Former beauty salon would also be suitable for retail store. High traffic area. $800 per month. (11-4214) Call John Thomas 570-287-1196 or 570-714-6124 636 S. Walnut St. Pets okay with security. Freshly painted. $500, must have 1st & security up front. Call 570-223-6252 leave message NANTICOKE SAND SPRINGS GOLF COMMUNITY Townhome in Sand Hollow Village 3 bedroom, 2 1/2 bath, one car garage conveniently located near I80/I81 & Rt309. References, credit check, security required Dee Fields, Associate Broker 570-788-7511 DRUMS Find the perfect friend. The Classified section at timesleader.com 2 bedroom. 1 bath. Shed. Nice yard. Quiet Area. Hanover Schools. $525 per month +1st month & security. $25 application fee. Call (570) 851-6448 Leave Message. HANOVER GREEN baths, large eat in kitchen. Garage. Huge deck overlooks woods. Washer/dryer, dishwasher, fridge, sewer & water included. Credit check. $1,100 + security, No pets, no smoking. Proof of income required. Call (570) 709-1288 MOUNTAINTOP 3 bedrooms, 2 home for rent. Washer dryer hookup. Stove & fridge included. Call 570-430-3095 HOUSE Nice, clean WEST PITTSTON KINGSTON room, furnished 2 bedroom single WEST PITTSTON TOWNHOUSE starting at $315. Efficiency at $435 month furnished with all utilities included. Off street parking. 570-718-0331 deefieldsabroker@gmail.com Call 829-7130 to place your ad. ONL ONLY ONE LEADER. NL NL LY N LE D LE LEADER. timesleader.com deefieldsabroker@gmail.com beautiful wood work. 3 bedrooms. 1 bath. Living room, dining room, den, modern kitchen. Gas heat. Small yard. Private Drive. $700/month + utilities & security. Optional 3rd floor area (2 rooms & full bath) for additional $100/month. Contact Linda at (570) 696-5418 HANOVER TOWNSHIP 2 story home with Looking for that special place called home? Classified will address Your needs. Open the door with classified! KINGSTON Completely remodeled Large 2 story, 3 bedrooms, 2 baths, single family home including refrigerator, stove, diswasher & disposal. Gas heat, nice yard, good neighborhood,. Off street parking. Shed. No pets. $995. month. 570-479-6722 Looking for the right deal on an automobile? Turn to classified. It's a showroom in print! Classified's got the directions! Desirable Lexington Village Nanticoke, PA Many ranch style homes. 2 bedrooms 2 Free Months With A 2 Year Lease $795 + electric NANTICOKE Available 12/1/11. 2 bedrooms, 1.5 bathrooms, wall to wall carpeting, living/dining combo, refrigerator & stove, washer/dryer hookup, off-street parking, no pets. Front and back porches, full basement. $625/ per month, + utilities & security deposit. Call 570-655-8928 Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! 1 or 2 rooms. Security deposit required, background check. $350 and $400. 347-693-4156 WILKES-BARRE SQUARE FOOT RE MANAGEMENT 866-873-0478 2 bedrooms with lots of storage. Hardwood floors. 5 minute walk to General Hospital. $670. + utilities. 570-814-3838 Must see, near hospital. Cozy private single 3 story home. 2 bedroom. Walk in basement. Washer/dryer hook up. Fenced in yard. $550/month + utilities & security. Call (570) 451-1389 WILKES-BARRE 965 Roommate Wanted WILKES-BARRE To share 3 bedroom apartment. All utilities included. $300/month 570-212-8332 WILKES-BARRE SMITH HOURIGAN GROUP Lease Space Available, Light manufacturing, warehouse, office, includes all utilities with free parking. I will save you money! PITTSTON COOPERS CO-OP Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! 3 bedrooms, washer/dryer hookup, heat, hot water, & garbage included. No pets. $600/per month, plus 1 months security deposit due at signing. Call 570-899-3870 PITTSTON HALF DOUBLE 962 Rooms 962 Rooms (570) 696-1195 Bear Creek Township Rooms starting at Daily $39.99 + tax Weekly $179.99 + tax WiFi HBO Available Upon Request: Microwave & Refrigerator Need to rent that Vacation property? Place an ad and get started! 570-829-7130 PROFESSIONAL COMMERCIAL SPACE West Pittston Village Shop 918 Exeter Ave Route 92 1500 sq. ft. & 2,000 sq. ft. 564 Garfield St. For lease, available 12/1/11, 3 bedrooms, 1 bath room, refrigerator & stove provided, washer/dryer hookup, no pets, fenced yard on corner lot. $575./per month, plus utilities, $575./security deposit. Call (570) 542-4904 before 7:00 p.m. to set an appointment or email obuhosky@epix.net. EDWARDSVILLE NICE NEIGHBORHOOD 3 bedroom half double. New flooring & bathroom. Nice yard. Appliances included. $650/mo + utilities, security & references. No pets 570-905-7066 2 bedroom, 1/2 double with eat in kitchen, including stove and refrigerator, washer & dryer hook-up, plenty of off street parking, large yard. Sewer and refuse included. Lease, NO PETS $550 + utilities 570-829-1578 PLAINS (570) 823-8027 Lakefront home, remolded, FULLY FURNISHED, lease for 8-10 months, $1,500/mo+ utilities. Call Deb Rosenberg 570-714-9251 HARVEYS LAKE HOME FOR LEASE Conveniently located. Spacious 4 bedroom single. Gas heat. Off street parking. Lease, no pets. Security. Call Ann Marie Chopick 570-760-6769 LARKSVILLE room, washer/dryer hookup, off-street parking, no pets, $475/month, plus utilities, lease and security. Nice neighborhood. Call 570-287-2405 PLYMOUTH 3 bedrooms, 1 bath- 971 Vacation & Resort Properties Boca Raton Beautiful 5 room home with Pool. Fully furnished. On canal lot. $600 weekly. If interested, write to: 120 Wagner St. Moosic, PA 18507 FLORIDA 570-288-6654 info@casinocountrysideinn.com Near Burger King 3 bedroom, 1-1/2 bath, 3 season room, hardwood floors, off street parking & gas heat. 1 year Lease for $900/month + 1 month security. Garbage, sewer, refrigerator, stove, washer/dryer & gas fireplace included. SHAVERTOWN NEAR GENERAL HOSPITAL Single family, 3 bedrooms, new carpeting, large back yard, on dead end street, no pets. $700/per month, plus utilities. Security & lease. Credit and background check. Call 570-709-7858 WILKES-BARRE Rent to Own Option Available! (570) 905-5647 Three 3 Bedrooms $625, $675, $700 All clean & beautiful. Tenant pays all utilities. References & security. No pets. 570-766-1881 WILKES-BARRE PurebredAnimals? Sell themherewith a classifiedad! 570-829-7130 PLAINS TWP. CALL AN EXPERT Professional Services Directory Chimney Service 1105 Floor Covering Installation 1132 Handyman Services 1135 Hauling & Trucking 1006 A/C & Refrigeration Services 1039 1162 Landscaping/ Garden RESIDENTIAL & COMMERCIAL. BRUSH UP TO 4' HIGH, MOWING, EDGING, MULCHING, TRIMMING SHRUBS, HEDGES, TREES, LAWN CARE, LEAF REMOVAL, FALL CLEAN UP. FULLY INSURED. FREE ESTIMATES 829-3261 TOLL FREE 1-855-829-3261 Tree Removal, Stump Grinding, Hazard Tree Removal, Grading, drainage, lot clearing, snow plowing, stone / soil delivery. Insured. Reasonable Rates 570-574-1862 LINEUP ASUCCESSFULSALE INCLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! 1204 Painting & Wallpaper STRISH HVAC Hot air furnaces, steam/hot water boilers and hot water heaters. Licensed & Insured 570-332-0715 570-693-1354 ext 1 OUT OF FLOOD ZONE 900 & 2400 SF Dental Office direct visibility to Route 315 between Leggios & Pic-ADeli. 750 & 1750 SF also available. Near 81 & Cross Valley. 570-829-1206 315 PLAZA 1/2 double. 3 bedrooms. Stove, refrigerator, dishwasher. Washer /dryer hookup. Newly painted. Off street parking. $675 + utilities. 570-814-0843 570-696-3090 FORTY FORT Installation, Service & Repair COZY HEARTH CHIMNEY Chimney Cleaning, Rebuilding, Repair, Stainless Steel Lining, Parging, Stucco, Caps, Etc. Free Estimates Licensed & Insured 1-888-680-7990 570-840-0873 KING GLASS & PAINT Over 50 years experience! Paints & supplies for residential & commercial. Flooring: Carpet, Vinyl, Ceramic tile, Laminate, Hardwood and more. Certified Installation Crews. 1079 Main St, Swoyersville plumbing & all types of interior & exterior home repairs. 570-829-5318 Electrical, Plumbing, Carpentry, Painting Attic & Basement Cleanup. Call Rick 570-287-0919 DO IT ALL HANDYMAN Painting, drywall, All Junk Cars & Trucks Wanted Highest Prices Paid In CA$H FREE PICKUP I NTERIOR/EXTERIOR RELIABLE, NEAT, HONEST WORKING WITH PRIDE INSURED,FREE ESTIMATES 570-735-8101 JOHN'S PAINTING Collect cash, not dust! Clean out your basement, garage or attic and call the Classified department today at 570829-7130! WILKES-BARRE SMALL WAREHOUSE FOR RENT. MUST SEE. Call 570-817-3191 WAREHOUSE 3 bedroom. Washer/dryer hook up. Off street parking. New furnace. Yard. Application process required. Tenant pays utilities & security. $500/mos 570-714-1296 * Renovated Apartment * GLEN LYON 3 bedroom, kitchen appliances, yard, parking, very clean. $600/month. Call JP 570-592-1606 570-283-9033 PLYMOUTH 223 Gardner Ave 1024 Building & Remodeling 1054 PLYMOUTH 3 bedroom, 1 bath. Located on Academy St. $695 + utilities & security. Small pet OK with extra security. Call (570)262-1577 2 or 3 bedroom. 1.5 bath. Washer/dryer hook up. New tile kitchen & bath. Off street parking. $700 + utilities. 570-237-2076 Roofing, siding, gutters, insulation, decks, additions, windows, doors, masonry & concrete. Insured & Bonded. 1st. Quality Construction Co. Concrete & Masonry MC GERARD & SONS Senior Citizens Discount! 570-299-7241 570-606-8438 12,000 sq. ft. building in downtown location. Warehouse with light manufacturing. Building with some office space. Entire building for lease or will sub-divide. MLS #10-1074 Call Charlie 570-829-6200 VM 101 WAREHOUSE/LIGHT MANUFACTURING OFFICE SPACE PITTSTON Main St. eled 2 bedroom, 1 bath, wall to wall carpet. Stove, washer/dryer hook up. Off street parking. $750/month + first, last & security. Includes water, sewer & trash. No pets. No smoking. References & credit check. 570-824-3223 269-519-2634 Leave Message HANOVER TWP. Completely remod- State Lic. # PA057320 ALL OLDER HOMES SPECIALIST 825-4268. Remodel / repair, Porches, decks & steps proofing, concrete floors, parging foundation walls, foundation repair & rebuild, finish basements. PROMPT SERVICE FREE ESTIMATES QUALITY WORKMANSHIP Licensed & Insured 570-941-9122 10% OFF All Inside Work! Basement water We offer additional discounts to all Flood Victims. Excludes specials. Specials: Carpet starting at 82�/sf Ceramic & Laminate starting at $1.20/sf Material only Installation available Pittsburgh Interior Paints: 14-110 Flat $9.69/gal. 14-510 Semi Gloss $12.99/gal. 14-310 Eggshell $12.05/gal. 10% off our everyday low prices with this ad! FLOOD VICTIMS CONSTRUCTION & DEMOLITION FOR Int/ Ext. painting, Power washing. Professional work at affordable rates. Free estimates. 570-288-0733 M. PARALIS PAINTING 570-574-1275 1213 Paving & Excavating LICENSED GENERAL CONTRACTOR Plumbing, heating electrical, painting, roofs, siding, rough & finished carpentry - no job too big or small. Free Estimates. Call anytime. 570-852-9281 CALL 1189 Miscellaneous Service 1057Construction & Building W. PITTSTON/EXETER WILKES-BARRE Lease this freestanding building for an AFFORDABLE monthly rent. Totally renovated & ready to occupy. Offices, conference room, work stations, kit and more. Ample parking and handicap access. $1,750/ month. MLS 11-419 Call Judy Rice 570-714-9230 UPPER ASKAM 1/2 DOUBLE Recently remodeled, 6 rooms. New bath & kitchen, with stove and refrigerator, ceramic floor, carpeted throughout, gas fireplace, vertical & mini blinds included. 1st floor laundry room with hook-ups, awning covered front porch, fenced in backyard, full basement. Sewer and garbage fee included. Close to I-81. $550/month, plus utilities, security & references. NO PETS. 570-822-7813 KINGSTON HANOVER TWP. 3 bedroom 1/2 double. Attic with walk in closet. Hardwood floors throughout. Black marble fireplace. Sunroom. Front & back porches. Nice yard. Fridge, stove, dishwasher included. Washer/dryer hook up. $695 + security, tenant pays all utilities. A MUST SEE. Call 570-824-7251 WYOMING 3 bedrooms, 1 bath, gas heat, new carpeting, range & laundry hook ups. Credit check required. $750/month + utilities & security. Call Florence 570-715-7737 Completely remodeled WILKES-BARRE Call the Building Industry Association of NEPA to find a qualified member for your next project. call 287-3331 or go to installation & repair. FULLY INSURED HIC# 065008 CALL JOE 570-606-7489 570-735-8551 GARAGE DOOR Sales, service, All Types Of Work New or Remodeling Licensed & Insured Free Estimates 570-406-6044 NICHOLS CONSTRUCTION General Contractor BASEMENT ROOFING KITCHENS REMODELING BATHROOMS PRICE CONSTRUCTION Full Service LJPconstructioninc.com 570-840-3349 FREE ESTIMATES. Store Hours MONDAY-FRIDAY 7-5 SATURDAY 8-12:30 CLOSED SUNDAY EVENING APPOINTMENTS AVAILABLE UPON REQUEST. All materials plus tax and freight when applicable. LICENSED & INSURED 30+ years experience. Carpentry, painting & general home repairs. FREE ESTIMATES 570-406-3339 Property Maintenance RUSSELL'S TREE/SHRUB REMOVAL REMOVAL DEMOLITION Estate Cleanout Free Estimates 24 HOUR SERVICE SMALL AND LARGE JOBS! 570-823-1811 570-239-0484 ALL KINDS OF HAULING & JUNK REMOVAL VITO'S & GINO'S Wanted: Junk Cars & Trucks Highest Prices Paid!! 570-474-6329 Lic.# PA021520 Modified stone, laid & compacted. Hot tar and chips, dust and erosion control. Licensed and Insured. Call Today For Your Free Estimate EDWARD'S ALL COUNTY PAVING & SEAL COATING 1228 Plumbing & Heating SOME ASSEMBLY REQUIRED Bought something or thinking about buying something that needs assembly or installation but don't feel comfortable doing it? Call 570-675-1839 or 570-855-2806. Pick up & delivery of item available. 570-288-4639 1129 Gutter Repair & Cleaning 1078 Dry Wall 1039 Chimney Service Remodeling, New Construction, Water & Flood Repairs DAUGHERTY'S DRYWALL INC. 570-579-3755 PA043609 Regulars, storms, etc. Pressure washing, decks, docks, houses,Free estimates. Insured. (570) 288-6794 Professional Window & Gutter Cleaning Gutters, carpet, pressure washing. Residential/commercial. Ins./bonded. Free est. 570-283-9840 GUTTER CLEANING Window Cleaning. 1135 Hauling & Trucking appliances for free. We do it all - no job too small! FREE ESTIMATES. 570-239-5593 570-592-0504 823-3788 / 817-0395 M&S HAULING Clean outs. Metal & CASTAWAY HAULING JUNK REMOVAL EXPERT PLUMBING, HEATING &experience ELECTRICAL 30 years Free Estimates 570-824-1559 Boilers, Furnaces, Air. 0% Interest 6 months. 570-736-HVAC (4822) FREE PICKUP 288-8995 1195 Movers NEED FLOOD REPAIRS? BestDarnMovers Moving Helpers Call for Free Quote. We make moving easy. BDMhelpers.com 570-852-9243 1249 Remodeling & Repairs A-1 ABLE CHIMNEY 1 Rebuild & Repair Chimneys. All types of Masonry. Liners Installed, Brick & Block, Roofs & Gutters. Licensed & Insured 570-735-2257 Hanging & finishing, design ceilings and painting. Free estimates. Licensed & Insured. 328-1230 MIKE SCIBEK DRYWALL A AAlwaysAhauling, CLE NING A1 793-8057 826-1883 1147 Home Restoration We do cleanups basements, garages, etc. Yard waste removal & small deliveries from Thrift shops, homes & small businesses. SAME DAY SERVICE. Mike's $5 & Up 1204 Painting & Wallpaper A QUALITY PAINTING Interior specialist, residential/commercial. $0 money down! Pictures & references available! 570-328-2072 570-714-2202 interior and exterior design. Licensed and ins. No job too big or small. Drywall, siding & more 570-540-6597 HOSIE CONSTRUCTION Free estimates, 1252 Roofing & Siding MIRRA DRYWALL Hanging & Finishing Textured Ceilings Licensed & Insured Free Estimates 1132 Smith Hourigan Group 570-474-6307 Attractive older 1/2 double on residential one way street. 3 bedroom, bath, living & dining room combination. Kitchen with appliances (new gas range & dishwasher.) 1st floor laundry hookup. Gas heat. Attic storage. Heat utilities & outside maintenance by tenant. No pets. No smoking. 1 month security, 1 year lease. Call Wilkes-Barre/ Plains Twp. Laird St. Complex, Easy Interstate access. Lease 132,500 sq. ft., 12 loading docks, 30 ft. ceilings, sprinkler, acres of parking. Offices available. 570-655-9732, ext.312 WAREHOUSE LINEUP ASUCCESSFULSALE CHIMNEY REPAIRS IN CLASSIFIED! Doyouneedmorespace? A yard or garage sale in classified is the best way tocleanoutyourclosets! You're in bussiness with classified! & Gutter Cleaning Free Estimates Insured 570-709-2479 CAVUTO CHIMNEY SERVICE Handyman Services FALL ROOFING Special $1.29 s/f Licensed, insured, fast service 570-735-0846 (570) 675-3378 1084 Electrical SLEBODA ELECTRIC Master electrician Licensed & Insured Service Changes & Replacements. Generator Installs. 868-4469 ALL MAINTENANCE Electrical, Plumbing, Handymen, Painting Carpet Repair & Installation All Types Of Repairs 570-814-9365 A-1 REMODELING ROOFING Additions, & SIDING Garages, Windows, Cement work & Drywall 570-233-7788 or 570-455-5581 WE FIX IT Parging. Stucco. Stainless Liners. Cleanings. Custom Sheet Metal Shop. 570-383-0644 1-800-943-1515 Call Now! 1162 Landscaping/ Garden JOHN'S Landscaping/Hauling Bobcat:Grading/ Stone. Snow Clearing Shrub / Tree Trimming Handyman - All types Holiday Lighting & more! 735-1883 Sell your own home! Place an ad HERE 570-829-7130 Motorcycle for sale? Let them see it here in the Classifieds! 570-829-7130 Free Estimates 21 Yrs. Experience Insured (570) 947-2777 JASON SIMMS PAINTING Interior/Exterior Find homes for your kittens! Place an ad here! 570-829-7130 570-824-6381 Roof Repairs & New Roofs. Shingle, Slate, Hot Built Up, Rubber, Gutters & Chimney Repairs. Year Round. Licensed/Insured FREE Estimates *24 Hour Emergency Calls* J.R.V. ROOFING Motorcycle for sale? Let them see it here in the Classifieds! 570-829-7130 ROSEWOOD REALTY 570-287-6822 TIMES LEADER MONDAY, NOVEMBER 21, 2011 PAGE 13D EASY... AFFORDABLE... REPUTATION INTELLIGENCE JUST FOR YOUR SMALL BUSINESS! $ 30 00 A MONTH! � MONITOR YOUR ONLINE VOICE � SEE REVIEWS ABOUT YOUR BUSINESS FROM BLOGS AND SOCIAL MEDIA � CORRECT INACCURACIES ABOUT YOUR BUSINESS FLOATING AROUND THE WEB � COMPARE AGAINST YOUR COMPETITION CALL US TODAY TO GET STARTED! OR VISIT REPINTELL.COM 970.7201 PAGE 14D MONDAY, NOVEMBER 21, 2011 TIMES LEADER
|
http://issuu.com/timesleaderonline/docs/all_tl_11-21-2011
|
CC-MAIN-2014-52
|
refinedweb
| 71,094
| 67.45
|
You can subscribe to this list here.
Showing
5
results of 5
Aldo Calpini wrote:
>
> arguments to -events can be:
> - a subroutine name (string)
> - a reference (eg. \&)
> - an anonymous sub (eg. sub { .. })
Both of the following items prevent me from porting certain Win32::GUI
applications to the New Event Model.
There doesn't seem to be a way to...
1) discover the code ref for an event handler, in case you want to wrap
it in a more powerful handler, or chain the handlers, when using layered
or modular software techniques. Something like the following could be a
possible interface:
$coderef = $mw->GetEventHandler ( "Terminate" );
2) execute an event handler. Something like the following could be the
interface:
$mw->CallEventHandler ( "Terminate", @pass_through_parameters );
The handler itself would then be called with the window/control name as
its first parameter, followed with the @pass_through_parameters. The
handler's return value would be returned from CallEventHandler, but it
would generally be discarded in cases like this I suspect.
Clearly (1) is more powerful than (2), since if you can discover the
code ref, then you could clearly execute it... but (2) could be
convenient syntactic sugar for recoding cases like (old style event
model) shutting down all windows when the main window is closed:
sub Main_Terminate
{ # print "Main_Terminate\n";
& LB_Terminate ();
& PR_Terminate ();
& ED_Terminate ();
return -1;
}
--
Glenn
=====
Remember, 84.3% of all statistics are made up on the spot.
Hello,
> hi. i'm having a little bit of a problem compiling win32::gui. i'm running
> activeperl 5.6.1.631 in win98se and using msvc++ 6.
> funny thing, when i perl makefile.pl it does it fine but it brings up
this:
> ...
I have made Win32::GUI on win98se.
I use 4NT shell (see ).
I have made a change in Makefile.pl .
I replace the && by a carriage return.
sub xs_c {
($^O eq 'cygwin') ?
shift->SUPER::xs_c(@_)
:
'
.xs.cpp:
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG)
$(XSUBPPARGS) $*.xs >xstmp.c
$(MV) xstmp.c $*.cpp
';
}
Then :
perl makefile.pl
nmake
nmake install
You can found more information in Activeperl documentation for compiling
extension on Win9x ( see : perlwin32 ).
Laurent.
Hi
There is a tool, its name is The GUI Loft.
This tool is free, and the best Perl Win32::GUI builder what i found on the
Internet. this link is the product homepage.
Regards
Gabor
Hi
I red, that Paul build an PPM package from the GUI source, but i didn't find
it on Aldo's webpage.
Can somebody send me it by e-mail?
Thanks
Gabor
Aldo Calpini wrote:
>
> Frazier, Joe Jr wrote:
> > > but I still don't know what to do when you just say use Win32::GUI ;-)
> >
> > <vote type="my opinion">Use old style by default. This avoids users
> > having to change thier code until they are ready to totally update thier
> > code.</vote>
>
> yes, this is sure. by default the old style is used, the problem is when you
> don't use it and put an -events option on something. maybe I should
> process -events options *only* if you said:
>
> use Win32::GUI Event_Model => 'byref';
Seems like it would be possible to "merge" the old and new styles, if,
when a new window or control is defined, a search of the compiled
namespace would be done, and all functions defined at that time that
match the "window or control name followed by underscore followed by
event name" naming convention could be implicitly included into the
-event list (unless they were already defined explicitly with a -event
or -onEvent parameter).
This would allow a gradual migration path from old to new model, for
most typical Win32::GUI programs. Programs that use eval to define new
methods to handle new events for new windows or controls wouldn't
benefit as greatly, but the (few) places where those evals are done
could be converted into Change ( -event ) calls.
--
Glenn
=====
Remember, 84.3% of all statistics are made up on the spot.
|
http://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/?viewmonth=200203&viewday=4
|
CC-MAIN-2015-06
|
refinedweb
| 656
| 72.76
|
import "google.golang.org/appengine/datastore/internal/cloudkey"
Package cloudpb is a subset of types and functions, copied from cloud.google.com/go/datastore.
They are copied here to provide compatibility to decode keys generated by the cloud.google.com/go/datastore package.
var ( // ErrInvalidKey is returned when an invalid key is presented. ErrInvalidKey = errors.New("datastore: invalid key") )
type Key struct { // Kind cannot be empty. Kind string // Either ID or Name must be zero for the Key to be valid. // If both are zero, the Key is incomplete. ID int64 Name string // Parent must either be a complete Key or nil. Parent *Key // Namespace provides the ability to partition your data for multiple // tenants. In most cases, it is not necessary to specify a namespace. // See docs on datastore multitenancy for details: // Namespace string }
Key represents the datastore key for a stored entity.
DecodeKey decodes a key from the opaque representation returned by Encode.
Incomplete reports whether the key does not refer to a stored entity.
Package cloudkey imports 5 packages (graph) and is imported by 1 packages. Updated 2019-05-15. Refresh now. Tools for package owners.
|
https://godoc.org/google.golang.org/appengine/datastore/internal/cloudkey
|
CC-MAIN-2019-30
|
refinedweb
| 189
| 50.63
|
I am interested in making a seemingly simple RGB color controller that includes a control dial, 3 sliders for the different colors and 3 LCD numbers all in the Qt designer interface.
The dial points to places on a color wheel and I made the range of points around the dial to be from 0 to 360 so that Blue, Green, and Red maximums (red at maximum strength with blue and green outputting no color would give only red) occur at 0, 120, and 240 respectively.
The sliders take an input of an integer that the dial outputs.
I am wondering how I could make a slider start taking information at a point on the control dial and have the slider go up and down as it approached and retreated from that slider's maximum.
I was also wondering if there is a way to relate the control dial's output to the slider's input as a fraction (if the control dial point was 6, the slider's point would be 3).
Any thoughts on how this could be done or an easier way to go about the whole thing would be great!
This program has a dialer and a spin box in it. The dialer value is connected with a method which is passed the actual value of the dialer. Once the method receives this value, it goes ahead and does some operation in it (in this case halves it), and then passes the values to the spinbox value.
import PySide.QtCore as QtCore import PySide.QtGui as QtGui import sys class MainWindow(QtGui.QDialog): def __init__(self): QtGui.QDialog.__init__(self) dial = QtGui.QDial() dial.setNotchesVisible(True) self.spinbox = QtGui.QSpinBox() layout = QtGui.QHBoxLayout() layout.addWidget(dial) layout.addWidget(self.spinbox) self.setLayout(layout) #connect this event to the given method. dial.valueChanged.connect(self.changeSpinbox) def changeSpinbox(self, value): #do some operation on this value. In this case half it. self.spinbox.setValue(value / 2) app = QtGui.QApplication(sys.argv) main_window = MainWindow() main_window.show() app.exec_()
|
http://m.dlxedu.com/m/askdetail/3/1b2cabc983b75b6a821ad2f0af177783.html
|
CC-MAIN-2018-30
|
refinedweb
| 340
| 55.34
|
Feedback
Getting Started
Discussions
Site operation discussions
Recent Posts
(new topic)
Departments
Courses
Research Papers
Design Docs
Quotations
Genealogical Diagrams
Archives.)
This deserves more attention than I can give it right now, but I am sure others here will want to comment.
It is an interesting thought that one can have a "guru level" programmer forced to program in <insert out of date language here>. He thinks to himself: "God, I could do so much more and so much quicker if only I could use <insert advanced language/tool>", while his manager may be thinking: "I am glad you don't have what you want because if you did, your code would be hard to maintain by some of your coworkers".
But I think that sort of thing is a shortcoming of the science of project management, and it's wrong to embed restrictions in a language to throttle gurus from reaching nirvana or to prevent non-gurus from shooting themselves in the foot. That's what code reviews/peer programming, etc. are for. And a manager/architect has the right to suggest (when necessary) that the guru cool his jets and keep it simple for the sake of maintainability by others.
Outside a corporate environment, for things such as Python where the fact that I can read anybody else's python code improves (allegedly) Python's popularity, one might think it's the right idea to throttle people since you can't tell them not to use a certain feature.
I am not a python guru, but I'd be surprised if the majority of current python libraries out there have sources that utilize the most bleeding-edge features of python as is. Most people don't absorb the new stuff that fast, and they don't use it too often. Some of the ones who use them misuse them, but some make very proper uses and the sources have educational value. Why throw the baby with the bathwater ?
Part of me - most of me, really - bridles at being told you can't have that: you might use it, and then other people will have to learn to use it too, as if that wouldn't be of benefit to all concerned - a rising tide that lifts all boats. Did you ever meet a programmer who disliked learning new things who wasn't also a terrible programmer (and destined to remain so)?
you can't have that: you might use it, and then other people will have to learn to use it too
It seems to me that what those Python experts who resist the further elaboration of the language are afraid of is asking beginners to learn and reflect. They don't see new beginners as being the way they were as beginners, fascinated and intimidated in equal measure. They're so concerned about the intimidation that they forget about the fascination - the motive force that drove them up the learning curve, and will drive others up after them.
Language design is about making design choices about what to leave in and what to leave out. If you don't make some tough decisions about what to leave out, you'll end up with a big language. What's arguably the biggest modern language? Perl. Is that a good thing? I know what my opinion on that subject is.
That's an idealized version of the world. Charming, tempting even, but not the reality for the majority I suspect..
This is not to say that I think metaprogramming or tail call optimization are necessarily bad. In fact I think the former is so important that I am doing a lot of work on it ATM. The latter I am currently um'ing and ah'ing about as you can see from the linked article. But I still have a large degree of sympathy with those Python people who are wary of additions to the language.
I wrote down some ideas along these lines as an article on downwardly scalable languages. I'm still mulling it over, but what you say here is very apt:.
The really clever trick would be to make a language system that scales from our beginner just trying to get something done, all the way up to an expert.
That's exactly what the PLT Scheme philosophy is all about. The module system allows one to program as if each module is written in its own language. For the book How to Design Programs () a series of languages all subsets of Scheme were made, that progressively made more and more of the language available.
Restricting a language for a beginner makes a lot of sense, since error messages can be made more precise - and written in terms that the beginner can understand.
But isn't this scalability also satisfied by C++ ( without ever being simple IMO )? Some users use just the C part, most of them use the object system and C's basic types and again much fewer use generic programming facilities.
I learned to program as a hobbyist among hobbyists, part of the first generation of home computer users in the UK, so it still surprises me whenever I come across someone for whom a programming language is simply a means to an end.
simply a means to an end
Even in the business world, the people I know who turned to programming as a way of achieving their business goals did so partly because they were attracted to programming in some way. Perhaps this is more unusual than my personal experience would lead me to believe.
I think it's in the nature of programming that people who like to reflect on their own practices are better at it (and also enjoy it more). Without that sort of metacognition, it's easy to get stuck in blind alleys - a discouraging experience in itself.
Get a compsci degree, but since the bubble burst here in the US, it might not be true anymore.
[tail call optimization] I am currently um'ing and ah'ing about
Your fib example seems to be more about tupling than about tail recursion.
Perhaps a better example would be to sum over a list by recursion,
where you'd have to introduce an accumulator to make the function tail recursive.
I can't remember too many people on LtU bitching about the lack of tail call optimisation in Python or Java compilers.
Personally I don't think it's that important,
because you can't have everything in one language.
Another issue is adding it to the virtual machines.
If it's cheap for you to add tail call capabilities to your VM,
please consider doing so.
It will allow implementators of FPLs to target your VM.
I can't remember too many people on LtU bitching about the lack of tail call optimisation in Python or Java compilers.
I don't bother to bitch about it usually because there's not much point, here. I think quite a few people on LtU understand how important it is. After all, one only has to read and understand the papers after which this site is named, like "Lambda: The Ultimate Imperative", to understand the importance of TCO.
However, it's not just about functional languages. Recursion is more fundamental than that.
Personally I don't think it's that important, because you can't have everything in one language.
It is important. It's not about having "everything", only the minimum necessary. The Python world has made a big mistake here, led by their benevolent dictator. The mistake is in seeing iteration and recursion as an either/or choice: that if the language has good support for iteration, then it doesn't need to support recursion well. However, even if you take the position — as Guido apparently does — that iteration is a more natural way to think, that can only credibly be argued for some subset of all problems. Guido would presumably say it's a large subset. However, there are many problems for which recursion is demonstrably the most natural solution, in terms of the simplicity of the resulting programs. By refusing to properly support recursion, Python limits itself unnecessarily.
It's analogous to driving a car that can't turn left — you're OK as long as you don't need to make too many left turns on your trip. Otherwise, the right-turning loops you have to make when you need to turn left get tedious after a while.
Unfortunately, such a limitation blinds people to the existence of left turns. To them, a left turn is a right-turning loop, and their mental model of their problem domains and algorithms are structured in this way, avoiding left turns even when they're the simplest solution. Ian Bicking would presumably claim that this is a good thing, that it allows people to more easily become experts, because they only have to become experts on right turns.
The only sense in which that's true is if you've been brought up, from birth as it were, in an environment which emphasizes right turns and demonizes lefts. This is self-fulfilling. Switching back to the real situation, the historical development of most programming languages emphasized iteration over recursion, which resulted in a situation in which many people are far more familiar with iteration than recursion. Worse, they can't even experiment with recursion to learn about it, because none of the languages they know support it well.
As a result, a lot of FUD tends to surround recursion and its supporting infrastructure. One of the biggest pieces of FUD is how difficult or confusing it is. This is more about people protecting the areas of their own ignorance. You'll see people saying things like "Trust me, it would melt your brain", but that's a euphemism for "even I don't fully understand it, therefore it must be really hard". The truth is that most programmers find it really enlightening if they only bother to learn about it.
Java and Python are essentially in the same category as the original FORTRAN in this respect. They haven't learned much from the past 50 years, ever since someone came up with the original call/return model of control flow.
Saying "you can't safely do recursion in this language" is equivalent to saying "stay away from this language for all kinds of advanced applications". Extrapolating from what Ian is saying, such restrictions may be Python's goal. But that closes many doors for Python.
I think there is a danger in conflating the concepts of recursion (an obviously good thing, in my book at least) and tail call optimization (a useful thing in some circumstances, but not something I would considera absolutely fundamental). I think you can have practical support for fairly advanced useages of recursion even without tail call optimization. I wonder whether the conflation of these concepts goes back to the time when most systems had a fixed stack size, and recursing past that point caused all sorts of problems? IMHO decent modern implementations should allow the stack to grow to available memory at which point tail call optimization seems, relatively speaking, less of a burning issue to me.
Of course, I agree that recursion and TCO aren't the same thing. But TCO is nevertheless "absolutely fundamental" in that it's required in any case where recursion isn't bounded by some reasonably finite value. Simple example: a server program which uses a tail call in its main loop — do you really want your server to consume ever more unreclaimable memory on every request it serves? Of course, there are many less trivial examples.
The common Python-style response to this is that you can program such an infinite loop using an iterative loop construct, so there's no problem. But this comes back to my basic point, which is that either you provide good support for recursion, or you don't. If you provide good support for recursion, then you should be able to use a tail call to implement an infinite loop. Python is taking the approach of not providing good support for recursion. The result is that the "experts" which Ian Bicking wants to help create will run around thinking that recursion is difficult, problematic, and to be avoided, just because Python doesn't allow left turns (mixing my metaphors).
Saying that you can use recursion up to the limits of available memory — which means that applications which rely on certain types of recursion will be very memory-hungry, for no good reason — is not providing full support for recursion.
I think you can have practical support for fairly advanced useages of recursion even without tail call optimization.
Any examples of languages that qualify? Besides, amongst the "fairly advanced" uses of recursion that are excluded by your suggestion are some incredibly simple uses, like the server loop I mentioned earlier. You certainly can't even think about CPS parsers in languages which don't do TCO, unless you're willing to work around the problems by writing trampolines, which tends to negate the simplicity advantages.
I think there is a danger in conflating the concepts of recursion (an obviously good thing, in my book at least) and tail call optimization (a useful thing in some circumstances, but not something I would consider absolutely fundamental).
Recursion is fundamental, yes. But loops are also fundamental. Why? Because algorithms that accumulate bounded control context during computation are fundamental. However, for and while are only two special cases of such algorithms. They are easy to implement in a language with proper tail recursion and either higher-order functions, call-by-name semantics, or macros. But other kinds of iteration cannot be easily expressed with for or while.
for
while
You're right that the issues of general recursion and tail-recursion are not identical, but they are very connected. Proper tail recursion is not just important for algorithms that are already tail-recursive. Any function that is not tail-recursive can be refactored into one that is. This is a transformation that functional programmers are quite comfortable with, a standard optimization technique in the programmer's toolkit. But this is impossible to do without painful contortions in a language without proper tail recursion.
IMHO, decent modern implementations should allow the stack to grow to available memory at which point tall call optimization seems, relatively speaking, less of a burning issue to me.
Neither Python (cf. the misnamed "maximum recursion depth exceeded" error) nor Java (StackOverflowError) nor C# (StackOverflowException) is currently decent according to your prescription. But I agree, that would be great - and is great in some very nice languages! However, without proper tail recursion there would still be many algorithms that would chew up all available memory for no good reason.
It is important. It's not about having "everything", only the minimum necessary. The Python world has made a big mistake here, led by their benevolent dictator.
We have (a) a community of developers, many of which are skilled, (b) are using the language intensively for a full spectrum of tasks, (c) many of whom have extensive experience with Lisp, (d) people do frequently write recursive functions in Python, and (e) there are several paths to suggest changes to the language, both casual and formal. But really people don't care.
When I say don't care, I mean: there are no champions who speak from a perspective that is meaningful to Python.
Googling, it came up last July, and pretty much no one cared, even the author, and there were several practical reasons why it wouldn't happen. I think language theorists and mathematicians care about TCO, and that's about it. Really, I just brought it up as an example, I don't really care that much about it either.
Well, this was Guido's response:.
Another reason is that I don't think it's a good idea to try to encourage a Scheme-ish "solve everything with recursion" programming style in Python.
This is an example of the either/or attitude Guido has to recursion (this is not the only example, but I'll have to dig for others). He's arguing against supporting a useful language feature because of the risk that it will encourage attempting to "solve everything" with that feature. IOW, he's restricting recursion because he's afraid it might be too useful?!
Seriously, what's wrong with supporting a feature because it might be appropriate in certain circumstances?
I agree that this reasoning is silly.
Python has done something similar before: it did not use lexical scoping. There were only three scopes: current function, current module's globals, and builtins. I recall one of the reasons, other than interpreter simplicity, was that nested functions should be discouraged; "flat is better than nested".
When people used nested functions nevertheless, with a hack for making a closure (adding default parameters initialized to outer variables of the same names), Python finally gave up and changed its scoping rules.
It's worth reiterating that Python still does not support lexical scoping. What Python now does is that it determines lexically a list of dictionary objects that it dynamically consults to figure out variable bindings. Since the dictionaries are mutable objects, it is not in general possible to determine variable scope statically.
There should be a name for this scoping discipline. I used to call it whacky scoping, but perhaps a more sober name would catch on. FWIW, newlisp uses this notion of scope as well.
You are completely wrong. Python does support lexical scoping. First of all it is wrong that variables are generally stored in dictionarys. This is true for member variables ( of general objects/modules ) but is wrong for functions local variables that are stored in arrays. If a LOAD_FAST opcode is executed the current stack frame contains the index of the local variable for look-up in the locals array. The best way to see how scoping works is to disassemble Python code.
from dis import dis
x = 0
def f():
print x
>>> dis(f)
2 0 LOAD_GLOBAL 0 (x)
3 PRINT_ITEM
4 PRINT_NEWLINE
5 LOAD_CONST 0 (None)
8 RETURN_VALUE
Once a local variable x is defined in f the global x will not be accessed unless it is declared in f's code block using the "global" keyword.
def f():
print x # raises an error
x = 0
>>> dis(f)
2 0 LOAD_FAST 0 (x)
3 PRINT_ITEM
4 PRINT_NEWLINE
3 5 LOAD_CONST 1 (0)
8 STORE_FAST 0 (x)
11 LOAD_CONST 0 (None)
14 RETURN_VALUE
We see immediately that the LOAD_FAST opcode must fail because STORE_FAST is executed later.
This pattern does not change if we nest f using a closure g:
def f():
def g():
print x
return g
g = f()
>>> dis(g)
3 0 LOAD_GLOBAL 0 (x)
3 PRINT_ITEM
4 PRINT_NEWLINE
5 LOAD_CONST 0 (None)
8 RETURN_VALUE
The compiler is by no means confused about the scope of x and does not guess that it persists in the dict of f ( which is empty! ).
def f():
x = 0
def g():
print x
return g
g = f()
>>> dis(g)
4 0 LOAD_DEREF 0 (x)
3 PRINT_ITEM
4 PRINT_NEWLINE
5 LOAD_CONST 0 (None)
8 RETURN_VALUE
Here g uses a LOAD_DEREF opcode that accesses x from a cell object that stores x for reference by multiple scopes. In this case f does not execute LOAD_FAST/STORE_FAST but LOAD_CLOSURE/STORE_DEREF opcodes.
If we define x also in g it will be accessed locally using LOAD_FAST:
def f():
x = 0
def g():
x = 0
print x
return g
>>> g = f()
>>> dis.g()
4 0 LOAD_CONST 1 (0)
3 STORE_FAST 0 (x)
5 6 LOAD_FAST 0 (x)
9 PRINT_ITEM
10 PRINT_NEWLINE
11 LOAD_CONST 0 (None)
14 RETURN_VALUE
In this case no cell is created for x and f uses LOAD_FAST/STORE_FAST again.
One final remark. It is possible to reflect about the locals f has created. They will be represented as a dictionary. But this does not mean that changing the dictionary also changes the locals. From the code analysis given above it should be clear that this is impossible. The bytecode is immutable.
def f():
x = 0
v = vars()
print vars
v["x"] = 7
print vars()
>>> f()
{'x': 0}
{'x': 0, 'v': {...}}
Python functions have static scope
You are completely wrong. Python does support lexical scoping.
"Completely wrong" is a bit harsh. Lexical scoping were introduced in Python in April 2001 and it wasn't until version 2.2 that it were made the default scoping rule.
An related (at least in my book) issue is that
Python to my knowledge doesn't support closing over writeable values.
Yes, but Charles Stewart insisted in "reiterating" a wrong assertion and it is wrong for quite a couple of years.
An related (at least in my book) issue is that Python to my knowledge doesn't support closing over writeable values.
Let's say it in Python slang: you can't rebind a name of an outer scope. The only exception are globals that can be accessed using the global keyword. There are known workarounds ( usually a value is put into a list and one has to read/write list elements ). This might not be satisfactory at least not for a Schemer with class-Angst ( creating classes in Python is as cheap as creating functions ).
I'm not sure if a future version of Python will introduce a var keyword or something similar that enables a name of an outer scope being rebound. In this case I would expect that the whacky scoping semantics Charles Steward mentioned would be valid for var-tagged names. Another possibility would be redefining the "global" keyword semantics without introducing a new opcode.
I missed the above comments first time around.
If I am not mistakened, the then current python language standard permits, but does not mandate lexical scoping, but explicitly allows for scopes to be implemented by mutable dictionaries, though deprecating this as something that might not be allowed in future specifications. That some implementations have lexical scoping is not really the point (though my post did mistakenly talk about what python implementations do, rather than may do): you cannot assume lexical scoping when writing code, hence it is hard to write code that can't be defeated by implementations that conform to the standard.
What I wrote was based on the language standard, and not on tests of particular implementations. I might still be wrong, and I'd be grateful if the places in the language standard that show that I am wrong could be pointed to. I did check my post carefully against the standard when writing the post that offended Kay, but I will admit to finding the python standard harder going that certain other language standards....
Charles, I'm not sure what you are referring to? I refer to PEP 227 which defines scoping rules for Python. This document stems from Nov. 2000 and the CPython implementation is quite around for a while. If you have contradicting sources I would be interested in them.
The juridical problem of what has to count as the true "standard Python" is solved pragmatically by referring to CPython ( PEPs, docs and reference implementation ) as the de-facto standard - at least until know. I have no indication that this is going to change. Dialects like Stackless-Python or other implementations like JPython and IronPython that exploit platform specific strengths did not yet generate conflicting claims. I agree that it is sometimes hard to distinguish between Python as a language and the specification of its reference implementation. The threading model is the most visible entity of deviation. I guess Python is not different from most open source projects in this respect. I'm not sure this is a deficiancy. I would say it depends always on the phase of the projects life-cycle, the public requirements and the social conflicts among competing teams.
BTW if my comment sounded overly harsh than less because of a wrong technical detail but the "reiterated insistence" on it. I hope I contributed to more clarity nevertheless.
I'm not sure what text I was looking at, but the loophole I thought I saw is excluded in both the current language reference (for 2.4.2) and the then current version (for 2.4.1). Scoping rules are given in sections 4.1 and 4.1.1, which describes the scope as a tower of frames, enumerates the language primitives that are allowed to add variables to scopes (all of which behave lexically) and forbids any feature to remove variables to any scope but the current frame. It's a fairly roundabout way of specifying lexical scope, but I think it's watertight.
I'm guessing I must have been looking at an older standard, and thought it was current.
When I have a bit more time, I'll try to track it down.
I don't agree with your comments about pragmatic language definition: it's fair enough to use an implementation to test-drive proposed language features, but it's important to be able to write code in a portable way, and, pragmatically-speaking, a language standard is an importanty guarantor of predictability when doing this. BTW, didn't the stackless fork become CPython?
Guido has made many pro-iterative and anti-recursive remarks, at many different times. I'm sure that's a strong reason that it's not a "topic of much debate" in the Python community.
As for whether people care, I come back to my point. If all you've learned about is left turns, you're not going to care about right turns until you've gone through the process of learning what they are, how they work, and why you should care. When your benevolent dictator is telling you to drop it, that's a strong disincentive against learning more about it. So much for helping to create "experts".
I think language theorists and mathematicians care about TCO, and that's about it.
All users of functional languages care about it, or at least, depend on it. That's a group that goes well beyond language theorists and mathematicians. Erlang users are one such group, and most Erlang users are neither language theorists, nor mathematicians (afaik!)
However, as I've said, there's nothing about recursion that makes it unique to functional languages. All that's achieved by refusing to implement TCO in an imperative language is that the power of recursion is severely limited, unnecessarily.
This is true, but I think he really meant that nobody much in the Python community cares about TCO, despite many of them knowing functional languages.
However, as I've said, there's nothing about recursion that makes it unique to functional languages. All that's achieved by refusing to implement TCO in an imperative language is that the power of recursion is severely limited, unnecessarily.
Never so simple! For one thing, if you added TCO then you've added another way of doing the incredibly basic task of iteration. That's right against the Zen of Python: There should be one-- and preferably only one --obvious way to do it. Properties like that are extremely important in my opinion (e.g. they're what make Erlang better than Lisp) and only people who really use the language can appreciate them. Not being a Python-hacker myself I'd give them the benefit of the doubt.
I'd have a similar objection to adding loops to Erlang.
That's actually something I've never quite understood. What is the importance of having only one way to do things? I'm aware that people feel Common Lisp is too much of a kitchen sink, but the problems with this are 1) difficulty in producing and maintaining an implementation of such a large language, and 2) the steep learning curve.
I don't think (1) is an issue here, but I don't see (2) as a valid argument against having multiple ways of doing things. It's just an argument for building a language or its development environment in such a way that it can be learned in successive iterations. This is why I like DrScheme's language levels so much. But if I believed a language should be as simple as possible, then e.g. I wouldn't want a module system since I can implement a module as a higher-order procedure that is parameterized over all its imports.
Are there other reasons for wanting there to be only one way to do things?
It's a misguided language aesthetic. Another way to say "there is only one way to do it" is "there are no correctness-preserving program transformations."
In Scheme, one can write a program that uses higher-order functions. Then, one can defunctionalize it to use first-order data structures (like records) instead. That's another way to do it. Solution? Remove higher-order functions from the language.
Then, one can CPS (with defunctionalized continuations, of course) to explicitly expose control. That's another way to do it. Solution? Remove proper tail-call handling to prevent CPS.
Etc, etc, etc.
Without more than one way to do it, it is not possible to write a simple program that works and then gradually transform it into something more efficient. Instead, every program is doomed to be not simple, or not efficient, or both, right from the start.
Or else you think it is a language designer's job rather than the programmer's to come up with a simple and efficient solution to all the problems that are solvable in the language. HQ9+ is a language like that, but otherwise I don't think it will ever work. It is certainly at odds with having a small language.
It's a social/community/managerial thing - it's supposed to result in everyone doing things the same way, so that in theory, when dealing with other people's code, you know what idioms to expect in a given situation, and there are fewer surprises and less variation between code written by different people.
But soft criteria like this are open to interpretation, and the people who want to interpret them the most tend to be those with the weakest technical argument. (That's just a general observation, not directed specifically at Luke's mention of TOOWTDI.)
Perhaps I should just go with the flow and point out that the principle of least surprise dictates that recursion should be unrestricted. Check, and mate. ;)
Who expects this particular optimzation? The basic operational model for function calls allocates stack space (or other space). Understanding stack overflow comes before understanding tail call optimization.
The principle of least surprise would better argue that tail-recursive functions may overflow the stack.
TCO is important to me and I agree with the arguments in its favor. However, "unrestricted recursion" amounts to an appealing, but inaccurate re-labeling of TCO.
...would be when a minor change to a recursive function causes a stack overflow (i.e. a change that suddenly makes the call non-tail recursive). Which is why I think that the tail-call should be explicit, like Luke indicated.
TCO is important to me and I agree with the arguments in its favor. However, "unrestricted recursion" amounts to an appealing, but inaccurate re-labeling of TCO.
With Clinger-style "proper tail recursion", recursion is as unrestricted as it can possibly be while still having a correct program. I think it's reasonable to call that "unrestricted recursion", used in context, although I'm open to alternative descriptions that are a bit more snappy than e.g. "recursion which isn't unnecessarily restricted".
Who expects this particular optimization? The basic operational model for function calls allocates stack space (or other space). Understanding stack overflow comes before understanding tail call optimization.
If you teach people that recursion must always use stack space, then TCO will be a surprise, certainly, but that's only because you started out by misleading them. If that was intended as a convenient pedagogical "lie" which will later be corrected, fine, but then it's your responsibility to correct it.
Most people learn programming by doing it, especially in informal contexts. Anyone who's ever been surprised by hitting a recursion limit is demonstrating an expectation that recursion should work better than it actually does. It's not a question of expecting a particular optimization, it's expecting a syntactically & semantically legal program to work. Proper TCO satisfies this expectation to the greatest degree possible. Many of those instance of hitting recursion limits would not have happened in the presence of TCO.
The remaining instances of hitting the limits are learning experiences, in which the programmer needs to learn that there are limits on the ability to make recursive calls that aren't tail calls. It's something that's quite easy to explain simply based on local inspection of the affected code. It only gets elevated into a bogeyman by people who have ingrained experience with a more constrained approach.
Who expects this particular optimzation? The basic operational model for function calls allocates stack space (or other space). Understanding stack overflow comes before understanding tail call optimization.
Here's a reduction sequence for a tail-recursive factorial (using eager evaluation despite Haskell syntax),
fac n = fac' n 1
where fac' 0 acc = acc
fac' n acc = fac (n-1) (n*acc)
fac 4 ->
fac' 4 1 ->
fac' 3 4 ->
fac' 2 12 ->
fac' 1 24 ->
fac' 0 24 ->
24
Where is this stack that is overflowing? I guess I'll just have to add one in just so it can overflow.
Understanding functions comes before understanding stack overflow.
Out of curiosity, I wrote the above in Python, just to see what it would do:
#!/usr/local/bin/python
def factorial_tco(n, acc):
if (n == 0):
return(acc)
else:
return(factorial_tco((n-1), (n*acc)))
def factorial(n):
return(factorial_tco(n, 1))
print factorial(998)
No error on 997, blows up on 998 with:
File "D:\Python\hello.py", line 9, in ?
print factorial(998)
File "D:\Python\hello.py", line 8, in factorial
return(factorial_tco(n, 1))
File "D:\Python\hello.py", line 6, in factorial_tco
return(factorial_tco((n-1), (n*acc)))
**** previous two lines repeated 996 times ****
File "D:\Python\hello.py", line 6, in factorial_tco
return(factorial_tco((n-1), )
RuntimeError: maximum recursion depth exceeded
I guess the first thing I don't get, even before we talk about the usefulness of tail calls from the end user perspective, is why a self tail call is not optimized. Saves stack space and cuts significantly down on the number of instructions by effectively making it into a loop. End users wouldn't care, since they if they understand an error printed once, they probably won't be any more elightened seeing it an additrional 998 times. They just want to get at the one meaningful message (which is where the error occured). IMHO, self tail call optimization is a pure optimization and doesn't effect the ability to decode a stack trace.
Now the question back is whether mutual recursive routines should be TCO'd. Optimizing locally seems to be a no-brainer for this untrained mind. No different than all those fancy loop unrolls, etc...
Unfortunately this appears to be the case if, and only if, said function contains one self tail call. AFAICT even functions with more than one self tail call can not be guaranteed to recover the necessary information for a stack trace in constant space.
Optimizing locally seems to be a no-brainer for this untrained mind.
It seems like you could even do it naively at the bytecode level as a peephole optimization by checking for CALL-RET instruction sequences. (You probably wouldn't want to do this in the bytecode interpreter itself as it would penalize non-tail calls.)
Unfortunately I can't give a reason crisp enough to fit in this now rather narrow margin. I'm picturing my favourite feature-poor language and some of the very reasonable changes that one could ruin it with.
Thought experiment: if you could take control of Guido and make him change Python in any ways you wanted, would the language become more popular or less popular?
This is true, but I think he really meant that nobody much in the Python community cares about TCO, despite many of them knowing functional languages.
I was responding to Ian's comment that only "language theorists and mathematicians care about TCO". That's not true even amongst Python users. The subject of limits on Python's recursion comes up regularly. There's even a stock answer, which is that recursive algorithms which hit the recursion limit should be rewritten iteratively. Many of the people who run into this restriction may not realize that in most cases, TCO would eliminate the restriction. This means that many Python users do "care about TCO", whether they realize it or not, in that they care about the improved recursion capability it can provide them with.
Never so simple! For one thing, if you added TCO then you've added another way of doing the incredibly basic task of iteration. That's right against the Zen of Python: There should be one-- and preferably only one --obvious way to do it.
I disagree that TCO violates that precept. If a language has 'for' loops, for example, then that's the one obvious way to do that kind of iteration. The same goes for all other specific iteration constructs. The presence of TCO wouldn't make Python's iteration constructs any less obvious as the designated way to achieve iteration, and documentation and community standards would reinforce that.
The point of adding TCO is not to provide an alternative way to perform loops, but to provide a way to do some things that Python currently has zero obvious ways to do — or more accurately, where the obvious way is unnecessarily complex, such as requiring manual creation and management of a stack, rather than being able to make use of the language's stack.
Not being a Python-hacker myself I'd give them the benefit of the doubt.
The problem is that restricting function or method calls like this in a general-purpose language would require a pretty big doubt to justify it. No-one has raised anything that big. The only real technical issue is that of stack traces, which is a relatively minor issue, and one which many other languages have been dealing with successfully for decades.
I think the real reasons here are historical and psychological. Many language implementors didn't used to know about TCO, so languages didn't support unlimited recursion. As a result, recursion is ingrained in many people's brains as something that's of restricted value, to be avoided in most cases. This even leads people to believe that iteration is somehow a "natural" way for humans to think, and that recursion isn't. Guido is one of those who has claimed that. However, it doesn't take much examination to find that there are at least some problems for which recursive solutions are more natural, in that the recursive solutions are easier to write and easier to understand.
In fact, recursion is no more an unnatural way for humans to think than functions and function calls are. Once you introduce functions, you have to train people not to use recursion, as the Pythonistas who run into the recursion limits demonstrate. What's the rationale for restricting recursion? It used to simply be that language designers didn't realize they didn't have to. That's no longer an excuse. Can anyone come up with a real reason?...
Python was my first love, and it's still how I make 99% of my income, but I blow the max recursion depth regularly.
I do agree that there should be only one way to do iteration, but nowadays I think it should be recursion and no loops. Once I learned Haskell, I never wanted to go back to Python, Python is too restrictive.
I also feel that Python has become cluttered with too much syntax. What do you think of the decorator syntax in Python? Would you recognize it if you saw it?
I learned Python 1.4 in eight hours, and I could immediately read all the Python sources I found. These days I can't teach experienced programmers all of Python in eight hours. I think that will decrease the flow of new users into the Python community, and new users are the lifeblood of any community.
-- Shae Erisson - ScannedInAvian.com
Yep, a statically typed, strictly purely functional language with an even smaller community and libraries and Python is more restrictive... yeah, right! give me a break!
I showed some of the best features of Python to a friend of mine ( dynamic typing, list comprehensions, OO or procedural style, easy documentation and introspection ) and he was able to grasp the concepts with great enthusiasm. It was about our lunch time. Granted, he's a programmer already and well aware of the OO paradigm, so it was not so much of a big deal.
Python _is_ a small language and ( except for some max recursion level constant ) not restrictive at all.
Haskell is effectively compile-time dynamically typed because of type inferencing. I declare the same amount of type information in both my Python and my Haskell programs. This is not static typing like in Java or C.
Purely functional means that I can separate side-effects, they're only inside an IO type. Debugging J2EE or Zope would be a lot easier if it were obvious which code has side-effects, and if state were explicitly passed.
When I use Python, some of the things I miss are multi-line lambdas, partial application, tail call optimization, pattern matching, and algebraic data types.
I am still convinced that Python is more restrictive. Have you used Haskell and Python for similar tasks? How would you compare and contrast the languages?
--Shae Erisson - ScannedInAvian.com
I doubt that this particular line of argument will go anywhere very illuminating (it may end up sinking ignominiously into the Turing tar-pit).
I personally find Haskell more expressive than Python, meaning that I can capture the meaning of a program very much more succinctly in Haskell. Haskell seems to me to fulfil Paul Graham's desideratum about being able to define a program one layer of abstraction at a time. Python's emphasis on OOP as the one-way-to-do-it introduces a level of latency (or friction) into this process that you don't even notice until you switch to something that allows you to do-it-differently.
Be that as it may, restriction and expression are not opposed. Syntax and grammar restrict and enable linguistic expression. In Haskell, you are able to take a small set of rules and construct a larger set, qualifying one restriction with another, so that the meaning of a program becomes clearer in some ways as you go along. That clarity entails ruling out some possibilities and mandating others.
The purported advantage of dynamic languages is that less is ruled out in advance: saying that something can happen does not entail saying that only that thing can happen. By being less explicit about the criteria for failure and success, you expose yourself to unforeseen varieties of possible failure but also facilitate subsequent redefinitions of success. Sometimes it doesn't pay to be too clear about what you want - the more you express now, the more you may have to take back later.
dynamic
There's not one such a thing.
Dynamic, or latent, typing has less to do with type declarations and more to do with the fact that variables -- or expressions -- are not bound to a statically specified type. That way, a camel is always a camel and won't suddenly become a dog.
But sometimes it's desirable such flexibility, which Haskell won't provide unless you change the whole expression -- the program -- and go.
Granted, my experience with Haskell ain't all that great. But what i've seen was enough. I won't ever exchange Scheme or Python flexibility and syntax expressiveness for static program correctness checking or some crazy way to manage IO side-effects.
Off-topic: i just had this weird bug while posting which alerted me that there was some "suspicious data" in the text. Well, i tried a lot of things to manage to get the text posted. In the end, it turned out that it wasn't accepting my parentheses, so i took them off and replaced them by --
weird...
Maybe the software likes static typing and considers any opinion for dynamic typing to be suspicious.
Actually, Anton mentioned before that the Drupal software has a check for malicious javascript code. And it appears to be a bit on the false positive side.
A stroke in the right hemisphere of the cerebral cortex can cause a person to lose the very concept of leftness: they cannot turn to the left nor turn other objects to the left, because the whole area to the left of their body's center line simply does not exist.
And some of them do learn to compensate by turning further to the right, or to eat a whole plate of food by eating the right half, rotating the plate 90 degrees to the right, eating the right half of what remains, and so on.
You mention two problems of tail call optimization (TCO),
There are two chief costs associated with tail calls and their optimization. The first is fairly obvious, and is evident in the forced rewriting of the Fibonacci function: many functions have their most natural form without tail calls.
This is true, but how you consider it a problem of TCO is beyond me. If you don't have TCO you still have to rewrite the function using iteration and, given higher order functions, it can't be anymore natural iteratively than with TCO (modulo a "constant factor") because I can write a HOF implementing any iteration control structure given TCO. However, you add
What's more, as can be seen from the Fibonacci example, the resulting function is frequently hard to understand because it often requires state to be passed around in parameters.
Obviously FP people would claim that that makes the program easier to understand, but regardless, TCO doesn't force this upon you, you can certainly use lexical nesting (assuming the language supports it) and mutate the local variables (or global/member), e.g. in an impure Haskell,
fib n = fib' n
where (current,next) = (0,1)
fib' 0 = current
fib' i = (current,next) := (next,current+next); fib' (i-1)
I could have had i be mutated too, but that seems less clear as it's the control variable, at any rate it would be a minor change. In fact the similarity of this to the pure tail-recursive version or to a for-loop is obvious, though it would be a bit less obvious if I hadn't posited a parallel assignment operator (which many languages lack). Of course, for the pure version it's a non-issue; you get "parallel assignment" for free.
The other problem (missing stack trace information) makes a lot more sense, but isn't insurmountable. Many people have mentioned that you can keep a finite amount of otherwise unnecessary stack frames around which should be all that's necessary in most debugging scenarios. When that is not enough the implementation could simply keep track of all call frames utilizing filtering, abbrieviating, and/or logging techniques for example.
Finally I want to mention that this isn't just a problem when using a functional style. If you endeavor to replace case-analysis with OO dynamic dispatch, you will again run into problems due to lack of TCO (beyond the ones that come up anyways).
I did try to be very careful with my use of language, although I think I probably wasn't clear enough. I was trying to distinguish between tail calls and tail call optimization. The Fibonacci example is, to me, an example of why trying to mash everything into a tail-calling form is not a good thing - this is entirely independent of whether tail-call optimization is in place (although admittedly people probably wouldn't bother doing the mashing if it weren't). The stack trace issue is an example of why tail call optimization itself can cause problems.
My problem is that I want to be able to produce accurate stack traces at all times but, as I explained in my blog, I don't see how to do that in finite space in the presence of functions with multiple tail calls. And if I can't make a guarantee about finite space and tail calls in all situations, I would rather not add tail call optimization in since it'll confuse me even if it confuses noone else. I genuinely would be interested to see if there's a way of allowing tail call optimization whilst preserving this requirement. It's via this article that I discovered that other people - the Squeak fellows, at least - have bought up the stack trace issue at some point so maybe someone has an answer.
My problem is that I want to be able to produce accurate stack traces at all times
One problem here is that when the function call mechanism is used to achieve iteration, there are cases where requiring a stack trace is "unfair". For example, you don't expect a stack trace which includes each iteration of a for loop — why do you require it ("at all times") when such a loop is implemented using a tail call?
I'll do you a deal: you tell me how I can teach a programming language the difference between fair and unfair and I promise to add tail call optimization into my VM ;)
How about allowing a compiler to specify when stack traces are required, perhaps by providing two different tail call operators? Then when an iterative loop is being generated via a tail call, it can just use the "no stack trace required" operator.
This would also allow flags applied at the source level, by the user, to control the strack trace behavior of the generated bytecode. Settable flags might include "no stack trace on iterative constructs", "no stack traces on tail calls", and "no stack traces on self-tail calls", etc. A language might even choose to allow stack traces to be requested or prevented in the source code. At the VM level, all you have to do to support all these options is provide some alternatives.
(define-syntax non-tail
(syntax-rules ()
[(non-tail e)
(let ([result e]) result)]))
(define (breakpoint? n)
(= n 7))
(define (fact-not-iter n a)
(cond
[(breakpoint? n) (error 'breakpoint)]
[(zero? n) a]
[else (non-tail
(fact-not-iter (- n 1) (* n a)))]))
(let ([result e]) result))
<=>
((lambda (result) result) e)
<=>
e
E
(non-tail E)
Burn TCO! Burn eta-conversion! Down with Lambda, up with von Neumann! etc, etc!
Interesting question. Just musing...
<hacker>
Yeah, it is true that a compiler may perform let-conversion. Thanks to the halting problem there are always ways to get around this, but that's not a particularly pleasant answer.
</hacker>
<semanticist>
Now, equivalence relations are always defined "up to" some differences you choose to ignore, and beta-equivalence (as in your example) does not observe stack efficiency. So if you use beta equivalence to perform a compiler optimization you are implicitly saying, "I don't care about tail position, my equivalence ignores that property." Put another way, the equivalences demonstrate the correctness of the code, not its efficiency. But this isn't the best response, either; to quote Will Clinger, "asymptotic decreases in runtime efficiency are not the sort of property that endears you to a programming community."
The reason is that the equivalences mod out issues of efficiency for the sake of discussing correctness, but if the code were truly equivalent, as in, not observably different, there would be no reason for the compiler to perform the transformation in the first place. So a transformation involves two relations: one is the equivalence relation that demonstrates the correctness, and the other is the "improvement" relation (I'm not sure what the real term for this is) that demonstrates the resulting code is more desirable in some way.
We're pushing the limits of my knowledge of compilers, but I imagine this just comes down to which kind of property you treat "tail-positionness" to be. If it's a correctness criterion, then no transformation you perform may change an expression's tail-positionness. If it's an improvement criterion, you might imagine that turning a non-tail-position expression into one in tail-position would be an improvement, but not vice versa. In this case, my code would definitely be incorrect, because let-conversion is valid.
</semanticist>
I should note that none of this really argues anything about whether proper tail recursion is a desirable language feature; it's more about whether my little hack was a correct way to defeat TCO. In the end it's not a big deal; you could either off-load the responsibility to the compiler and make non-tail a primitive, as Anton suggested, or you could be a hacker and just figure out what implementation defeats the compiler's optimizations.
non-tail
Burn TCO! Burn eta-conversion! Down with Lambda, up with von Neumann! etc, etc!
:P
(tailcall E)
As for TCO, I don't actually find the abbreviated backtraces a serious problem in practice. Interesting though that most discussions don't mention the problem at all? Sometimes it's hard to keep track of which practicalities that have been abstracted away when talking theory.
Actually what I think would be a nice primitive is a (tailcall E) which is rejected unless E is a function call in tail-position. This could be a helpful utility for learning to write tail-recursive programs.
Ironically, many languages that don't support TCO have a very similar construct that marks tail calls. Unlike your proposed primitive, it doesn't reject non-tail calls because it -makes- E a tail call. This primitive is usually called 'return'.
Operationally, the former will allocate new invocation record, then calculate f(), which will probably deallocate this record, then deallocate the previous record. The latter will calculate f(), which will probably deallocate this record.
So the first behaves as +frame f -frame, while the second as f, which has the same final result but a very different memory consumption history.
I seem to remember tail-calls being discussed in the Tcl community, and a proposal of the form return -call cmd args.. or similar. This seems pretty simple to understand (especially if you've already got your head round uplevel) and means you don't have to do any analysis on the code to figure out if something is a tail call.
return -call cmd args..
uplevel
Edit: I should point out that the above construct destroys the current stack frame and then calls the command given.
So the first behaves as +frame f -frame, while the second as f, which has the same final result but a very different memory consumption history.
I said, "many languages that don't support TCO", so though I wasn't as clear as I could have been, it should be obvious that I wasn't saying that 'return' optimizes the tail call. Almost all calls that are tail calls are clearly marked in such languages.
The reason I say it's ironic, is that one "problem" with TCO sometimes raised by people using the above mentioned languages and implicit in some arguments in this thread (albeit relatively minorly), is that it is "difficult" (for beginners at least) to distinguish tail calls from non-tail calls. In practice, it's almost always trivial and almost impossible to err on the dangerous side.
Also, thinking about it now, 'return' almost seems to do a better job than Luke Gorrie's tailcall operator in ensuring that an expression is a tail call and facilitating learning. In many cases it would simply be syntactically illegal to return in a non-tail position, presumably most compilers will give an unreachable code warning in the remaining cases, and I find it hard to believe that even beginners with a basic understanding of 'return' would find such code sensible or even write it in the first place.
The comparison of 'return' to an explicit 'tailcall' operator is illuminating. Note however that 'return' fails to serve the role of 'tailcall' in avoiding surprise. Modify tailcall f(n+1) to tailcall f(n)+1 and the compiler reports an error. No error is reported if return f(n+1) is modified to return f(n)+1
tailcall f(n+1)
tailcall f(n)+1
return f(n+1)
return f(n)+1
Modify
tailcall f(n+1)
to
tailcall f(n)+1
and the compiler reports an error.
tailcall f(n+1)
tailcall f(n)+1
No, it doesn't. That's a tail call to operator+.
operator+
Now modify tailcall f(n+1) to tailcall g(f(n+1)). Should an error be reported?
tailcall f(n+1)
tailcall g(f(n+1))
Another way to do it, rather than requiring a programmer to annotate every call that they intend to be in tail position and erroring out on those that aren't really in tail position, is to just perform tail call optimization on the calls that are actually in tail position and (obviously) not on the others.
Scott Turner said:
tailcall f(n)+1 ... the compiler reports an error.
Kevin Millikin said:
No, it doesn't. That's a tail call to operator+
But as any PL geek should know, it all depends on the rules of precedence in the language we are using (which hasn't been specified here that I can see).
So both answers are wrong (or right if you prefer).
Shame on you both! ;-)
Now modify tailcall f(n+1) to tailcall g(f(n+1)). Should an error be reported?
Donning my Captain Obvious cap, the answer is no, because the syntactic form seems to indicate that a tail call to g is being requested/asserted, and that's valid in this case. However, an error should be reported in the following case:
g(tailcall f(n+1))
...because of course the call to f is not a tail call. But the tailcall construct is never going to be valid when it's embedded within an expression, as in the latter example. The only time it will be valid is when it's used at the beginning of a "statement", assuming we're talking about a language that has statements. (More generally, the tailcall construct is only valid when used in tail position, but that's perhaps less illuminating — then again, I'm still wearing that cap.)
tailcall
This all illustrates that return is indeed a reasonable implementation of a tailcall construct. If we write return g(f(n+1)), that's cool; but if we write g(return f(n+1)), most languages with a return statement will generate an error. This error might read something like "parse error before 'return'" or "illegal start of expression", but what it's really saying is that return is only valid in a potential tail position. I say "potential", because as Derek originally pointed out, return will (or at least could) force a tail call when it's used legally.
return
return g(f(n+1))
g(return f(n+1))
Sorry for the diversion yesterday titled "not on target". I had not read Luke Gorrie's suggestion for (tailcall E) carefully. Also my background is in conventional compilers for C++ etc. so I think first of tail call optimization as a compile-time transformation, rather than think of "proper tail call" as in Scheme.
I incorrectly assumed that the proposal was intended to prevent a programmer from inadvertently transforming an optimized self tail call into a non-optimized call. For example,
f(x) = ...
return f(x+1)
f(x) = ...
return 1+f(x)
f(x) = ...
return tco(f(1+x))
tco(E)
f(x) = ...
return tco(1+f(x))
I don't know how or whether this could be implemented in a language with proper tail call, with a similarly helpful effect.
In Pre-Scheme:
The programmer can
declare that individual calls are to be compiled as
properly tailÂ-recursive. (GOTO proc arg1 ...)
is syntax indicating that proc should here be
called tailÂ-recursively (assuming the goto form
occurs in tail position).
Unfortunately I've already had thoughts along the same lines... There's absolutely no technical problem with the compiler deciding that sometimes stack traces should be present, and sometimes not - but I'm not sure I want to burden the user by requiring them to understand possibly bizarre compiler implementation issues in order to work out when this might happen. As regards adding syntax for a new type of call operator, this is more of a starter for me, but I'm less than convinced that I want to rival SL5 for overly complex function application rules.
What I really want (and I suspect it's not possible, but I'd love to be proved wrong) is for the compiler / VM to automatically optimize tail calls whilst still preserving stack call information.
I'm not sure I want to burden the user by requiring them to understand possibly bizarre compiler implementation issues in order to work out when this might happen.
That's fine, but it sounds to me as though you haven't tried very hard to figure out a reasonable balance (I could be wrong). I would argue that the reason you haven't tried hard is because you're not ascribing enough importance to having full support for recursion.
However, I think it's perfectly reasonable to decide that you see some problems that you're not interested in trying to resolve, and therefore you will exclude some feature. I think it's less reasonable to then turn around and try to claim that the feature in question is no good anyway, or too complicated to understand, or whatever — that's essentially a sour grapes approach, and that's what I'm getting from the Python vs. TCO question.
There is an element of truth in that - but as I would have imagined my other posts on this matter would have suggested, it's not really due to sloth (but thanks for the vote of confidence ;)). It's because I don't want to start adding in extra syntax, or teaching the compiler (and therefore the user) some tricky new cases, if there's actually a way of doing this automatically and transparently to the user. Once that possibility is exhausted, then I will turn to considering other more manual solutions - but not before. That seems a perfectly sensible prioritization to me.
As to the sour grapes comment, as someone who's reasonably neutral on the subject, I can't help but detect some of that on both sides of the debate!
There is an element of truth in that - but as I would have imagined my other posts on this matter would have suggested, it's not really due to sloth (but thanks for the vote of confidence ;))
Don't take it personally, the subject line was too good to pass up. ;) Besides, programming language designers need to be kept on their toes, otherwise next thing you know they're saying that things would be easier if we didn't really have syntax (Lisp, Smalltalk), or that lexical closures aren't important enough to be supported well (old Lisp, recent Python, Java, many others), or that unrestricted recursion isn't particularly important. Hard to believe, I know!
Once that possibility is exhausted, then I will turn to considering other more manual solutions - but not before. That seems a perfectly sensible prioritization to me.
Maybe. If you're going to talk about prioritization, if you look at some of the functional languages, you'll find that this stack trace business is really not a big deal. The cases where tail calls occur are iterative by nature, and not having a stack trace entry in those circumstances doesn't often matter.
BTW, quite closely related to all this, I notice that on your "Why don't we use functional programming languages more?" page, you focus on lazy & pure languages, like Haskell & Clean. If those were the only kind of functional languages, I would agree with the general conclusion that the main benefit of FP was as a kind of test bed for advanced concepts. However, when you take into account eager, impure languages like SML, OCaml, Erlang, and Scheme, your premises no longer hold, and nor does the conclusion that FP is "fundamentally ill-equipped to deal with many practical problems."
The upside for you, though, is that for something like this stack trace issue, you can look at what implementations of these other, practical FP languages do. There are plenty of things that could reasonably be pointed to in those languages as being unsuitable, or at least non-ideal, for a more mainstream language; but IME, the TCO stack trace issue isn't one of them. Most of these languages have at least some non-academic users, too, especially Erlang. So a reasonable question in terms of prioritization is whether or why you need to break new ground in this area. If you actively want to, more power to you, but I think you can get away without it (back to the sloth thing).
As to the sour grapes comment, as someone who's reasonably neutral on the subject, I can't help but detect some of that on both sides of the debate!
Neither of the things you mention are costs.
The first is fairly obvious, and is evident in the forced rewriting of the Fibonacci function: many functions have their most natural form without tail calls.
So, proper handling of tail calls is essential to solve problems A, B, and C, but it doesn't impact the solution of problem D. Is that a cost?
I can use the same argument: many functions have their most natural form as recursive functions, rather than using iteration and mutable state variables.
Is that a good argument against the while loop? Is it a cost of including while loops in a language?
The second cost associated with tail calls is...only really evident in languages which give decent stack trace error reports
Yes, but a stack trace for an exception thrown in a while loop does not tell you what iteration of the loop the exception occurred in. Instead, you do something like inspect state variables in a debugger to figure out what's going on. Tail recursive functions are exactly the same. One merely inspects the values of those annoying extra arguments.
Qute respectfully (honest), I don't think this is really a cost of proper tail call handling. Unless it's also a "cost" and a good argument for removing loops for languages, that is.
If you don't make some tough decisions about what to leave out, you'll end up with a big language.
But guaranteed tail-call optimization allows you to leave so much out that it should be no brainer, if small languages are your aesthetic.
It seems to me that what those Python experts who resist the further elaboration of the language are afraid of is asking beginners to learn and reflect.
It's not that we want to limit beginners, but we do want to give beginners satisfying experiences, and provide a smooth learning curve as they become experts, and make "expert" a truly accessible goal. This is something of a common thread in the Zen of Python.
BTW, I left a comment on why I think the seemingly-innocuous feature of tail-call elimination is problematic.
Saying that tail-calls optimisation is dangerous because it is hard to predict when it applies strikes me as an argument one could make against GC too: "[X] won't have GC because it is hard to know (indeed, in suitably dynamic languages, it can be impossible to predict at compile-time) when it will be applied, so that small changes can make a constant-space program suddenly explode in memory usage. It also leads to a greater use of constructs such as linked lists, which can be hard to understand, e.g., the sharing of 'next' nodes. In addition, the absence of GC, a small subset of buggy programs will crash instead of being stuck in an infinite loop."
What I find particularly interesting with this parallel is that tail-call optimisation is basically the (usually static) garbage collection of call frames. Both are ease-of-use/space -optimisations that allow some functions to automatically use constant space. Yet, I don't see many people complaining that they must understand references to predict their programs' usage of heap memory. Like GC makes the use of certain useful data structures easier, tail-call optimisation allows certain programs to work without reinventing the wheel (e.g., manual trampoline). Moreover, just as programmers who use memory dynamically have to manually manage memory when GC is unavailable, those who need deep recursion may very well end up using a trampoline in the absence of tail-call elimination. In my opinion, trampolines are much harder to work with and understand than tail-call optimisation. Basically, this is the kind of reasoning that I often hear from Pythonistas and yet never fails to amaze me: Feature X is useful, but can be confusing. X is bad even though the confusion only arises when X is used. (Or "Allowing the use of knives makes it possible to cut one's self when eating steak." Well, don't eat steak if you don't understand how to use knives. On second thoughts, this one might not be very well-chosen since I'm nearly vegetarian ;)
As for the problem of backtraces, I think there is at least one solution: tail-call optimisation doesn't have to be static, nor does it have to completely erase history. One could envision an interpreter that only GCs the stack frames once it would otherwise reach the maximal recursion depth, and, even when it did GC the stack frames, would still keep the nth topmost ones. Instead of popping up a "Program stack exhausted, proceeding to prompt death." message, the interpreter could offer the option of continuing the execution after releasing all but the nth last tail-calls from the stack.
The one good point I can see against tail-call optimisation is that it can be hard to explain. I could argue that people only have to use what subset of the language they understand, but I know that argument doesn't fly very well in the Python community ;) However, I don't see how this is any harder to understand than GC: A stack frame is released when no other operation remains to be done in it -- An element is released when no other element refers to it. (Note the artful avoidance of the word 'continuation')
Comparing GC to tail-call elimination isn't really fair. GC is really really useful; any confusions it adds are more than worth it. Tail-call elimination just isn't that valuable. Especially if you collect frames lazily to maintain tracebacks, it's unlikely to even matter, except for code that is deliberately written in a tail recursive fashion, which I don't think is a good style because it's fragile and confusing in an environment that heavily favors iteration (which is what Python will always be).
Couldn't we take the arguments against tail-call elimination and make pretty much the same argument against having recursion in general? Novice programmers aren't going to understand recursion better because we've made it worse. They'll start out being impressed that recursion makes their program shorter and more understandable. They'll test it with their small data set and be surprised when their previously working program suddenly dies on a larger data set (most likely at the most inconvient time). In fact, tail-call elimination becomes a feature again, because it might save their bacon in a few instances. And as long as we're throwing away recursion, we should probable get rid of while(), because once you add that feature, we won't be able to know in general if our program ever halts ;-)
Couldn't we take the arguments against tail-call elimination and make pretty much the same argument against having recursion in general?
I once skimmed a book where recursion got a place next to goto in the paragraph "Unusual control structures",
so some people already make this point.
I'm an optimist, so it's never worried me to believe that my functions will work, even while I'm writing them.
There are already advanced Python idioms that one would have a hard time explaining to a beginner (almost anything to do with metaclasses, for instance). Does the existence of these idioms (and the fact that some people, Philip Eby for instance, are using them) harm the Python community?
advanced
I think that's the wrong question to ask, really, since it depends on so many unquantifiables (how a majority of people feel, what they find easy or hard to understand or explain). Much better is Dijkstra's:
a majority of people
Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the solution set rather than the problem set?
IMHO it's a pity that many implementations of various languages don't support large stacks, and they die horribly when the stack overflows or put artificially low limits on the number of active function calls.
This applies especially to functional languages. A natural definition of append or map in OCaml is non-tail-recursive, and thus doesn't work for very long lists. Fixing this by rewriting the function to not use non-tail recursion usually leads to both uglier code and slower execution for the common cases of short lists, so it's rarely done. The effect is a fragile program which blows up on large data.
Well, I can understand two reasons for this:
Nevertheless in the compiler of my language Kogut I've implemented checking for stack overflow and resizing the stack when needed, even though stack overflow checking has some overhead (I've chosen portability over efficiency in this case).
I feel that forcing programmers to abandon a recursive solution in order to obtain scalability, just because the number of calls would be linear with data size, is unfair. An alternative, ugly but scalable solution of the given problem would just use the same amount of heap instead of stack, so in overall it would not use less memory at all.
An additional bemefit is that I can create lots of threads, and they can use as much stack as they need, as long as their total demand for memory fits in memory provided by the system—no need to partition the address space into threads' stacks in advance.
Of course I also perform TCO.
Alright, I come out, I'm an ignoramus.
Every time I hear about metaprogramming, Lisp macros are automatically mentioned. Which is all good and well. But surely, someone must have tried to add macro to another language, one that would presumably use infix notation? (and not in a godawful way like C)
Dylan, Nemerle.
Is check the LtU "meta prograaming" category and search the archives.
Does the C preprocessor count?
Not really, althought it provides some of the functionality.
However, C++ templates are quite close to proper metaprograming.
Erlang programmers sometimes write metaprogrammey code. Here are a few techniques I've learned:
compile:forms
compile
COMPILE
fold
These aren't common programming techniques in Erlang and they're not as convenient as what Lisp offers. But they're sometimes very handy.
and make a single form of syntactic extension applicable to the entire language. But it's not impossible with non-postfix/prefix languages.
With an irregularly or heterogeneously - syntaxed language macros can be made to "work " but I suppose there would need to be many different forms or special cases of macros.
You'd need one form for each of the language's syntactic constructs which you wanted to be "macro-able".
Thinking out-loud here. I've been playing with Haskell recently, and actually finding myself quite enjoying it. ;-) One of the first things to strike me when I first looked at Haskell was the similarity between type declarations and EBNF grammar notations. I presume this is more than a coincidence? Data constructors convert concrete syntax (values?) into abstract syntax (types) - would that be a correct description of the connection? (Excuse me if my terminology is off here, I need to brush up on this stuff). So, how far could this be taken? Could you have a language where it was legal to write something like:
type Set a = "{" a? ("," a)* "}"
myset :: Set Int
myset = { 1, 2, 3, 4, 8, 12 }
That would be very cool, although you'd have to check the grammar formed was consistent - another type system (does Haskell call this a kind-system?), which might be quite complex.
Anyway, in this context you could completely specify a language (indeed, many languages?) via the type system, and all of the AST would be available as types. Then, a macro would simply be a function which performed a transformation on the types at compile time. A compiler would then be a special case of a macro which takes a complete program and transforms it to another language (e.g. byte-code, machine-code, etc). You could type the target language in the same system. That would be cool.
Is what I have just described coherent? Does a system like this exist anywhere? I keep seeing the term "rewrite system" (or something like that), which seems vaguely connected? Apologies if this is much-covered ground.
One of the first things to strike me when I first looked at Haskell was the similarity between type declarations and EBNF grammar notations. I presume this is more than a coincidence?
Absolutely! The connection in its most general sense arises from structural recursion, which is one of the most fundamental features of computer science, closely related to its more mathematical cousin structural induction. You're correct that rewrite systems, or more generally, reduction systems, are closely connected to all this. Here's a page which neatly ties some of this together, with ML examples (which are very similar to Haskell at this level).
A slightly more in-depth intro to these concepts can be found starting in Chapter 1 of Schmidt's book Denotational Semantics: A Methodology for Language Development (dowloadable PS). There might be better sources, more specific to languages with type systems like Haskell's, but Schmidt's is quite clear & concise.
As far your syntax-defining idea goes, have you looked at a Haskell prelude, where all the basic datatypes, operators and their precedence are defined? In some ways, it comes pretty close to what you're talking about. However, it doesn't actually allow you to define the most basic syntax of the language, since as you say, you'd run into the problem of checking the resulting grammar, and at that point it probably starts to make sense to separate the two phases more clearly.
A more separated approach is Camlp4, which is a preprocessor layer, rather than something built into the language in the way you describe.
Thanks for the links. Looks like I've got some more reading to do. Just after I posted it occurred to me that it's probably better to separate out the concrete syntax definition and the rest of the type system/functionality. When I was completing my undergraduate degree, a friend was working on an editor for Haskell that built up and manipulated an AST as you typed. If you could separate out the concrete syntax then you could provide multiple views onto the same AST fairly easily (even non-textual ones like UML-style diagrams). Or, alternatively: every programmer in a team using a customised syntax to write the same language (where "the same" = structural equivalence). Endless possibilities. Maybe static types aren't so bad, after all!
Perl6 is supposed to have macros.
See this paper:
"Growing Languages with Metamorphic Syntax Macros (2000)"
or
.
Abstract: "From now on, a main goal in designing a language should be to plan for growth." Guy Steele: Growing a Language, OOPSLA'98 invited talk.
We present our experiences with a syntax macro language which we claim forms a general abstraction mechanism for growing (domain-specific) extensions of programming languages. Our syntax macro language is designed to guarantee type safety and termination. A concept of metamorphisms allows the arguments of a macro to be inductively defined in a meta level...
--
Jens Axel Søgaard
And I think continuations could lead to bad things. There are wrong paths on the road to higher-level programming.
With regard to error handling, programming took the exceptions path. IMO we would have been better off on the continuations path.
the exceptions path...the continuations path
There are other ways of handling failure besides these two - the Maybe monad, for instance, or search with backtracking...
Maybe
It's common in Python to use exceptions for failures of all kinds, e.g.
try:
someDict[someKey] += 1
except KeyError:
someDict[someKey]= 0
instead of
if someDict.has_key(someKey):
someDict[someKey] += 1
else:
someDict[someKey] = 0
There have been times that I've wanted some other exception mechanism in Java (say), or something like convenient multiple return values. Ideally, in those cases I'd just write programs in continuation passing style.
Except then I would need proper handling of tail calls, and apparently some would deny me even that.
Exceptions as some sort of call/cc+mutation design pattern, or as the direct-style transform of programs with explicit normal and exceptional continuations are fine. Choosing to provide them in a language is probably for the good. Denying me the ability to usefully write CPSed code without requiring some annoying trampoline is bad.
From the article:
I think Guido has been right to resist macros. Not because they are necessarily wrong, but because we haven't yet figured out how to do them right.
I think the issue is we've never explained it right. Looking back at all the good and bad things the Lisp community has formed, one bad thing is they've probably been too aristocratic and never explained things well to a normal, interested audience.
People weren't told how useful it is for code to be in datastructures more directly usable than text, just as I am thinking right now in terms of words/sentences/paragraphs, not letters. And that lists may be improved upon, so it is no religion.
I finished a particular study today. With nothing better to do at my work I decided to write a basic monadic parsing combinators library in Java (yes, I knew how much pain it would cause me).
In Haskell MPC libraries are very easy to write, a couple of hours for a basic set of parsers. Its advanced type system carefully restricts your code to something that is coherent. A simple date parser ends looking like this:
do d <- digits 2
char '/'
m <- digits 2
char '/'
y <- digits 4
return (d, m, y)
As the parsers are parametric polymorphic we can use the same infra-structure for parsers returning numbers or tuples. The type system ensured that I couldn't treat a number as an string or vice-versa and the type inference algorithm freed me from having to write redundant information.
Doing the same in Java took me two full days of work, instead of a page or two of code I ended with 25 classes and almost 1000 LOC. Most of this time I spent chasing bugs due to type-casting. Where in Haskell I was informed by the compiler of incoherent usage of functions, in Java I spent time chasing the places where I thought an Integer was coming but in reality it was a state transition. The Java compiler almost never complained about my code, of course it was due to respect of my intelligence.
After the first day I decided to ignore the monadic parametrization of the parser because things were getting too complicated (i.e. I went from type Parser s m a = P (s -> m a) to type Parser s a = P (s -> Maybe a)) and decided to use just unambiguous grammars. In the end the code compiled and executed without problems. My test bar was green as the morning grass.
type Parser s m a = P (s -> m a)
type Parser s a = P (s -> Maybe a)
But when I tried to use the parser combinators in a real world test (i.e. processing a bunch of bank statement text files and generatin some statistics about them) the JVM gave me a silent message java.lang.StackOverflowError. Suddenly my program failed to work on some files (while working on others), just because the runtime failed to see that some stack frames weren't necessary.
java.lang.StackOverflowError
In the end of the second day I decided to share the results of this simple experiment about how the constraints imposed by the Haskell compiler could allow me to have higher-order thoughts, where the liberality of the Java compiler gave me nothing but generalities. Also the simple TCO provided by Haskell allowed me to use a solution impossible in Java.
You're deliberately fanning the flames, aren't you? :-)
Java is tricky because a naive tail-call optimization would break the security model. The JVM checks security by looking at where code on the stack was loaded from (local disk vs. web, etc). The idea is that if something on the stack was loaded from then maybe you shouldn't be deleting any files for it.
If you tail-call optimized an untrusted method like:
void nasty() {
Runtime.getRuntime().exec("halt");
}
SecurityManager
exec
nasty
This basic model makes higher-order Java programming seem scary in combination with untrusted code: it only has to arrange for something nasty to happen without its own code being on the stack at the time. If it were Emacs Lisp it would be as easy as:
(push 'kill-emacs post-command-hook)
at least that's what I've been led to believe. So the restriction should be based on how the class was loaded. Only gets to be a problem if you have multiple class loaders operating simultaneously within the VM and objects talk across that boundary.
and without the stack, one can't check for permissions in your caller (or grandcaller, or great-grandcaller, or ...)
The answer is so simple and obvious I'm amazed it took so long to find.
A tail-recursive machine with stack inspection
The answer is so simple and obvious I'm amazed it took so long to find.
Specifically, if some action happens as a result of join of two asynchronous calls from different principals, who of them is "guilty" (accountable for the action)? Or is this question meaningless and we should abandon trying to assign permissions to single principals and start supporting permissions to sets of principals (or even to propositions?). I believe a simpler idea to just intersect permissions of these principals is not alwys adequate - consider a door with two locks and two people entrusted with different keys. Oh, should we abandon ACLs completely?.. Capabilities to the rescue?
To claim relevance to topic, core join calculus uses something like CPS, so is probably experiencing security issues similar to PLs with TCO.
I don't get why you can't just form the union of the permissions when replacing the stack frame?
As an excuse for missing the obvious, it's 2 AM ;)
The state is nothing but an instrument of
oppression of one class by another.
—Friedrich Engels
Alternatively, check Java Security Architecture: Overview of Basic Concepts
Our model addresses security
concerns while simplifying the tasks of programmers
and thereby avoiding security pitfalls. Although
widely applicable, it is particularly motivated by the characteristics
and needs of JVMs and of the CLR: it is largely
compatible with the existing stack-based model, but it protects
sensitive operations more systematically[...]
For some reason, it seems to me that stack-based security is equivalent to history-based one in programs written in CPS...
[on edit: ah, the author also thinks so:
Conversely, to implement history-based rights on top
of stack inspection mechanisms, for any given call,
we can (in theory) apply a “continuation-passing-styleâ€
transform that passes an extra function parameter
to be called with the result, upon completion
of the callee. Hence, the callee still appears on the
stack while its result is used by the caller’s continuation.
However, this encoding is not practical, except
maybe for a few sensitive interfaces.
Java is tricky because a naive tail-call optimization would break the security model.
In a slashdot interview of I think 3 years ago, Kent Pitman cited private communication to the effect that some Java engineers had figured out how to adapt the trust model to a/the spashetti stack, and were considering adding tail-call optimisation to Java. I've heard some other Sun connected types saying this couldn't work, but I've seen nothing concrete in this time. Does anyone have better information about this rumour?
If Java had a better static type system and referential transparency it only would need to check for calls to IO calling code. The place I blew the stack was referentially transparent, my Parser operated on strings so I worked in the same way a Haskell program works:
do contents return x
Nothing -> fail "Something bad happened"
Another thing a "stricter" compiler could do.
|
http://lambda-the-ultimate.org/node/472
|
CC-MAIN-2019-35
|
refinedweb
| 15,168
| 60.24
|
Hello,
I’m attempting to change an event parameter from script using setParameterValue.
So far I can confirm that the script is calling, but the parameter does not appear to be changing (the expected change to the event is not occurring). I’m not producing any FMOD_DEBUG error messages.
Am I using the correct method for changing an event parameter? Is there a way for me to better debug the script call is being received correctly?
- HiFiHair asked 4 years ago
- You must login to post comments
[quote="dnishimura":3fq96yke]().[/quote:3fq96yke]
Thank you for responding, and forgive my ignorance, I don’t claim to be a well-versed programmer.
When you say remove the FMOD_StudioEvent, are you referring to [code:3fq96yke]FMOD.Studio.EventInstance Music;[/code:3fq96yke] or [code:3fq96yke]Music = FMOD_StudioSystem.instance.GetEvent ("event:/BattleMusic");[/code:3fq96yke]?
I thought you were referring to [code:3fq96yke]Music = FMOD_StudioSystem.instance.GetEvent ("event: /BattleMusic");[/code:3fq96yke] but then Music.start(); returns null in the Start() function. So I tried removing FMOD.Studio.EventInstance Music; but then I am told that "Music" does not exist in its current context with the line [code:3fq96yke]Music = FMOD_StudioSystem.instance.GetEvent ("event: /BattleMusic");[/code:3fq96yke].
Could you be more specific? I thought there already was a Start() method, or is that just a regular function? Now that you’ve pointed it out to me, I understand that I’m not referencing the FMOD Emitter, and I appreciate that.
So how do I reference it instead of creating a new instance? Or should I not use the Emitter and just create a new instance? I did add Music.start() but I am still unclear on how to define my Music variable so that it is referencing the FMOD_Studio Event Emitter.
Thank you again, I appreciate your patience greatly.
Hey! I got it working! Thank you so much! I didn’t have to delete any line though, I just added Music.start(); in between "Music = FMOD_Studio.instance.GetEvent("event:/BattleMusic");" and "Music.getParameter("Combat", out combatVal);" and it WORKED! I also had to make sure "Start Event on Awake" was unchecked on the FMOD_Studio Event Emitter Component.
Thank you so much!
Hi! I’m having this exact issue in that I am trying to change a parameter set in FMOD Studio from within Unity. When I’m in FMOD Studio, I have a series of loop regions and transition regions set up and altering the parameter while the event is playing produces the desired event behavior. To provide as much info as I can, here’s a screenshot of my FMOD Studio event:
[url:3lwopv77][/url:3lwopv77]
I attached the FMOD_Studio Event Emitter script to an Empty Game Object and the only other component the object has besides a Transform is the script I’m trying to use to control the Combat parameter of my event, named AMBController.
[img:3lwopv77][/img:3lwopv77]
It’s a very simple script:
[code:3lwopv77]using UnityEngine;
using System.Collections;
public class AMBController : MonoBehaviour {
public bool combat; FMOD.Studio.EventInstance Music; FMOD.Studio.ParameterInstance combatVal; // Use this for initialization void Start () { combat = false; Music = FMOD_StudioSystem.instance.GetEvent ("event:/BattleMusic"); Music.getParameter("Combat", out combatVal); } // Update is called once per frame void Update () { bool toggle = Input.GetKeyUp (KeyCode.Space); if (toggle) { if (!combat) { combat = true; combatVal.setValue(0.9f); } else if (combat) { combat = false; combatVal.setValue(0.1f); } } }
}[/code:3lwopv77]
My "To Combat_On" transition region is set to trigger whenever the Combat parameter is between 0.58 and 1.0; the "To Combat_End" transition region is set to trigger when the Combat parameter is between 0.0 and 0.47, so using 0.1f and 0.9f are relatively arbitrary values for triggering the transition regions in my BattleMusic event.
When I begin playing the scene, I hear the BattleMusic event playing, but when I hit the space key, the event does not transition at all to the Combat_On marker in my FMOD event, even though I can see that the public bool combat is toggling on and off in Unity’s Inspector window.
Please help? I’m not getting any errors in Unity’s console at all and I’m quite stumped.
-Mike Patterson
Hi MikePatterson,
I believe you missed one little thing.().
The way I do is something like this:
[code:1sf38ifp]public FMODAsset SoundAsset; //Define this at the editor
EventInstance soundInstance;
ParameterInstance paramInstance;
public void CreateSoundInstance()
{
soundInstance = FMOD_StudioSystem.instance.getEvent(SoundAsset);
soundInstance.getParameter ("MyParam", out paramInstance);
}
public void SetValue(float newValue)
{
paramInstance.setValue (newValue);
}[/code:1sf38ifp]
Have you tested adjusting the parameter at the FMOD Studio? Did it work there?
Thank you so much, dnishimura!
I was forgetting to prefix my "paramInstance" argument with "out" inside getParameter.
- HiFiHair answered 4 years ago
|
http://www.fmod.org/questions/question/forum-40720/
|
CC-MAIN-2018-39
|
refinedweb
| 792
| 51.24
|
Yearn’s take-off and Industrialization Yield Farming
In less than three months, Yearn Finance has evolved from a relatively little-known credit aggregator to one of the main drivers of the DeFi market with a capitalization of $670 million (and over a billion USD at peak) and is at the heart of today’s hottest industry trend — Yield Farming. Yearn dominated Yield Farming so convincingly that some introduced its token, YFI, as the Yield Farming Index. But with such a sudden rise, it’s worth thinking about the potential complex value issues, influence, risks, and opportunities for Yearn. It’s time to dive into one of the most complex DeFi protocols on the market.
The birth and high days of YFI
Until July 16, Yearn was a simple DeFi credit aggregator designed to optimize user profitability. It had $8 million in assets under management, and since its launch in January, it has earned a combined 10.58% profit per annum for its liquidity providers. But most importantly, it did not have a token.
Everything changed the next day, on July 17, when yearn.finance founder, Andre Cronje, published a notorious blog post called “YFI”. In an effort to transfer control over the yearn.finance protocol to the users, Cronje developed a plan for users to manage YFI by providing liquidity to Curve and Balancer pools. This may have been the first truly honest launch in years when Cronje did not allocate YFI tokens to himself, abandoning the funding rounds, tokens for project advisers, pre-mines, and the like. All YFI tokens were distributed to the yearn.finance protocol users.
A couple of months later, a supposedly “completely useless token” is worth $670 million and drives an “industrial-scale agricultural machine” of $770 million (and over a billion USD at peak) and provides token holders with about 20 million dollars of profit a year.
Industrialization of Yield Farming
A while ago (about three months back), Compound launched its liquidity mining program and started a speculative trend, which many dubbed The Agricultural Revolution of DeFi. Simply put, liquidity mining refers to the process of distributing tokens to users for taking part in the protocol. The purpose of liquidity mining is to distribute control over the protocol and stimulate its implementation. The community introduced the “Yield Farming” because of the analogy of users who invest their capital in the protocol’s work to obtain tokens, with farmers, collecting harvest from the fields.
A few weeks into the launch of Compound Mining, Yield Farming was quite simple. You invest your capital in one of several protocols that offer incentives in exchange for liquidity and start earning tokens. This first stage of Yield Farming was similar to farmers who manually process their fields. Users had to define and understand each strategy before they could manually enter the capital. But as more and more protocols were running liquidity mining programs, Yield Farming was getting more and more complex; this process started consuming more and more time for the participants. In addition, as Gas prices rose sharply due to the congestion of the Ethereum network, many small “farmers” ceased to be engaged in Yield Farming. Everything changed when yearn.finance launched the second version of its protocol — v2, which introduced yVaults.
The most effective way to think about yVaults is to imagine a two-way market where capital providers are on one side, and strategy developers take the other. The authors of the strategy distribute the users’ capital, and the capital providers choose which strategies they want to use. The strategies automate Yield Farming for users. With the launch of yVaults, potential farmers can now simply deposit their funds in yVault, and their capital will be automatically allocated to the best strategies available. Warehouses not only reduce the risk faced by users trying to understand the different capabilities of Yield Farming but also alleviate their Gas fee concerns by sharing it with other providers of pooled capital. As a result, yearn.finance has become the largest Yield Farming enterprise in the industry, doing what used to be a case where only sophisticated users could participate. It took mankind more than ten thousand years to move from the agrarian to the industrial age. It took DeFi a couple of weeks to succeed in a similar revolution.
Cash Flow Machine
YFI is not a simple project. It has two major products Earn (credit optimization) and Vaults (optimization of Yield Farming), as well as many different products in its road map, aimed at insurance, stock trading, leverage, venture capital, and liquidation. In addition, this tokenomic model is still under development, with Delphi Digital and Gauntlet consulting firms being involved. However, it is important to understand how YFI currently earns money on its two main products, Earn and Vaults, as they can help draw an idea of its future (from an economic point of view).
The economy is simple. YFI charges a Gas subsidy (productivity) fee of 5% of the capital it manages and a withdrawal fee of 0.5%, if users withdraw their capital. Withdrawal fees apply to both Earn and Vaults products, while performance fees apply only to Vaults products. Specifically, with Vaults, performance fees are charged each time “harvesting” takes place (selling the processed asset back for the underlying asset). After the acceptance of improvement protocol “YIP-36”, which determined that Yearn would use a portion of the system rewards (fees) as operating capital, 100% of the system rewards were sent to its multisig Treasury. The YIP states that the Treasury must maintain a buffer of the equivalent of $500,000, with all surplus rewards allocated to YFI placed in the management pool.
Within a week after implementation, the Treasury has already accumulated over $463,000 in revenue, which would translate into just over $21 million per year. With a market capitalization of $390 million at the time, this implies a price to profits ratio of about 20x, which for all intents and purposes, can also be seen as a price to earnings ratio, given that the protocol has no expenses beyond what it receives from its Treasury.
The low price to sales ratio of YFI means that if all YFI holders had staked, they would have received ~ 5% of annual return (only YFI holders participating in the corporate governance pool receive cash flow). Since currently, about 12% of YFI is placed in the governance pool (a large percentage of YFI is placed in other pools), YFI participants get ~ 40% of annual return, which implies a PE ratio of 2.4 times. It is best to understand these ratios as a range. Currently, YFI holders participating in the management pool receive ~ 40% of annual returns, but if everyone stakes, they will receive ~ 5% of annual returns. The 5% can be considered as a limitation based on the current price and profit per token.
Market movement
Yearn’s Yield Farming strategies were so successful that they began to drive the markets significantly. It is important to understand that Yearn’s Vaults not only automate users’ strategies but also harmonize them. Thus, instead of some users selling tokens after processing them, and others holding them because they simply prefer to do so or do not want to pay Gas, all yVault users do the same thing. And when this one thing is the systematic sale of fermented tokens, it can have a significant impact. The most recent example is CREAM, a decentralized credit protocol based on Compound, which recently launched liquidity mapping. Since the launch of the YFI warehouse, the warehouse has systematically grown CREAM and sold profits for additional YFI. Essentially, the strategy benefits from the CREAM speculators, who auction newly received CREAM tokens and redirect them to YFI.
The yCRV repository below shows what this process looks like under the hood. There are a few differences, but the general logic is the same. Replace yCRV with YFI and YFII with CREAM, and the figure will be very similar.
As the implementation of yVaults grows, the Yearn system will collect an increasing percentage of the total profits from all the most profitable “agricultural opportunities” as long as the trend continues. The question then arises as to whether this is sustainable.
Sustainability
The main reason why Yearn can generate such high cash flow right now is that the yield is very high. That is possible because the protocols are supported by a speculative enthusiasm for liquidity mining programs. The reason why “farmers” can get 1000%+ “yield”, is that more and more speculators continue to buy new tokens. Simply put, new speculators pay for the “yields” that “farmers” get.
It is not clear how long the passion for Yield Farming will last. It may well continue beyond next year or may end overnight. However, as soon as interest diminishes, token holders will need to find more sources of money. This may be due to either an increase in AUM to compensate for lower “yields” or additional products to provide alternative income sources for the Yearn system. The current rate of use of Yearn is equally important for YFI token holders. A performance fee of 5% of Yearn means the highest utilization rate among all DeFi protocols. The fee may well be justified given the value that Yearn provides to capital providers, but it is not a guarantee. Even Cronje himself believes that YFI token holders will not simply be able to get rent from capital providers.
Moreover, under the current system, Yearn does not pay the authors of the strategies. It is as if an asset management company did not pay its portfolio managers. To the extent that Yearn acts as a decentralized asset management platform (which some compare to an untargeted / arbitrage-oriented automated management platform), it will eventually have to compensate strategy developers, resulting in cost increase.
YFI prospects
There may not be a single project that is more suitable for reflecting Yield Farming growth than YFI. YFI’s short term total available market is the common market for Yield Farming, which currently provides $7.3 million in daily liquidity rewards. This implies an annual rate of $2.6 billion and the strongest tailwind for YFI.
However, although YFI is currently the leader in Yield Farming, it is not the only one fighting for the “yield pie”. Apart from several (often questionable) forks of YFI, a couple of new Yield Farming aggregators such as APY.Finance and asset management platforms such as Set V2, appeared on the market, which will increase competition. In addition, as mentioned earlier, the current returns from Yield Farming will not last forever. Speculators will eventually stop buying this many new tokens, which will lead to lower returns. However, the successful launch of Yearn’s planned insurance, exchange, leverage, and liquidation products may diversify YFI revenue streams and provide additional value for YFI holders.
At present, YFI remains one of the most exciting experiments in decentralized management. The honest launch of YFI has created a large, diverse, and enthusiastic community of people who are extremely interested in the success of the protocol. Thanks to Cronje’s professionalism and leadership, the pace of Yearn’s new product launches is impressive. There are very few protocols that launch new products as fast as Yearn. However, although Yearn looks relatively smooth at the moment, applicants are entering the market, and Yearn is going to release many new products, the risk is still there. The coming months will show whether this nascent community can continue its magic and benefit all stakeholders.
|
https://3commastutorials.medium.com/yearns-take-off-and-industrialization-yield-farming-e68b7c4b3e1
|
CC-MAIN-2021-31
|
refinedweb
| 1,923
| 52.09
|
import "gopkg.in/alexcesaro/statsd.v2"
Package statsd is a simple and efficient StatsD client.
Use options to configure the Client: target host/port, sampling rate, tags, etc.
Whenever you want to use different options (e.g. other tags, different sampling rate), you should use the Clone() method of the Client.
Because when cloning a Client, the same connection is reused so this is way cheaper and more efficient than creating another Client using New().
Client's methods buffer metrics. The buffer is flushed when either:
- the background goroutine flushes the buffer (every 100ms by default) - the buffer is full (1440 bytes by default so that IP packets are not fragmented)
The background goroutine can be disabled using the FlushPeriod(0) option.
Buffering can be disabled using the MaxPacketSize(0) option.
StatsD homepage:
Code:
c, err := statsd.New() // Connect to the UDP port 8125 by default. if err != nil { // If nothing is listening on the target port, an error is returned and // the returned client does nothing but is still usable. So we can // just log the error and go on. log.Print(err) } defer c.Close() // Increment a counter. c.Increment("foo.counter") // Gauge something. c.Gauge("num_goroutine", runtime.NumGoroutine()) // Time something. t := c.NewTiming() ping("") t.Send("homepage.response_time") // It can also be used as a one-liner to easily time a function. pingHomepage := func() { defer c.NewTiming().Send("homepage.response_time") ping("") } pingHomepage() // Cloning a Client allows using different parameters while still using the // same connection. // This is way cheaper and more efficient than using New(). stat := c.Clone(statsd.Prefix("http"), statsd.SampleRate(0.2)) stat.Increment("view") // Increments http.view
conn.go doc.go options.go statsd.go
A Client represents a StatsD client.
New returns a new Client.
Clone returns a clone of the Client. The cloned Client inherits its configuration from its parent.
All cloned Clients share the same connection, so cloning a Client is a cheap operation.
Close flushes the Client's buffer and releases the associated ressources. The Client and all the cloned Clients must not be used afterward.
Count adds n to bucket.
Flush flushes the Client's buffer.
Gauge records an absolute value for the given bucket.
Histogram sends an histogram value to a bucket.
Increment increment the given bucket. It is equivalent to Count(bucket, 1).
NewTiming creates a new Timing.
Timing sends a timing value to a bucket.
Unique sends the given value to a set bucket.
An Option represents an option for a Client. It must be used as an argument to New() or Client.Clone().
Address sets the address of the StatsD daemon.
By default, ":8125" is used. This option is ignored in Client.Clone().
ErrorHandler sets the function called when an error happens when sending metrics (e.g. the StatsD daemon is not listening anymore).
By default, these errors are ignored. This option is ignored in Client.Clone().
FlushPeriod sets how often the Client's buffer is flushed. If p is 0, the goroutine that periodically flush the buffer is not lauched and the buffer is only flushed when it is full.
By default, the flush period is 100 ms. This option is ignored in Client.Clone().
MaxPacketSize sets the maximum packet size in bytes sent by the Client.
By default, it is 1440 to avoid IP fragmentation. This option is ignored in Client.Clone().
Mute sets whether the Client is muted. All methods of a muted Client do nothing and return immedialtly.
This option can be used in Client.Clone() only if the parent Client is not muted. The clones of a muted Client are always muted.
Network sets the network (udp, tcp, etc) used by the client. See the net.Dial documentation () for the available network options.
By default, network is udp. This option is ignored in Client.Clone().
Prefix appends the prefix that will be used in every bucket name.
Note that when used in cloned, the prefix of the parent Client is not replaced but is prepended to the given prefix.
SampleRate sets the sample rate of the Client. It allows sending the metrics less often which can be useful for performance intensive code paths.
Tags appends the given tags to the tags sent with every metrics. If a tag already exists, it is replaced.
The tags must be set as key-value pairs. If the number of tags is not even, Tags panics.
If the format of tags have not been set using the TagsFormat option, the tags will be ignored.
TagsFormat sets the format of tags.
TagFormat represents the format of tags sent by a Client.
const ( // InfluxDB tag format. // See InfluxDB TagFormat = iota + 1 // Datadog tag format. // See Datadog )
A Timing is an helper object that eases sending timing values.
Duration returns the time elapsed since the creation of the Timing.
Send sends the time elapsed since the creation of the Timing.
Package statsd imports 8 packages (graph) and is imported by 59 packages. Updated 2019-02-18. Refresh now. Tools for package owners.
|
https://godoc.org/gopkg.in/alexcesaro/statsd.v2
|
CC-MAIN-2019-47
|
refinedweb
| 836
| 70.29
|
In this document, we will quickly help you finish a simple demo about Spire.XLS using Visual Studio. As usual, it’s a HelloWorld demo. Before you get started, please make sure the Spire.XLS and Visual Studio (2008 or later) are installed on your computer.
1. In Visual Studio, click File, New, and then Project, If you want to create a C# project, select Visual C#, Windows and choose Windows Forms Application and name the project HelloWorld. Click OK. If you want to create a Visual Basic project, select Visual Basic, Windows Forms Application and name the project HelloWorld. Click OK.
2. In Solution Explorer, right-click the project HelloWorld and click Add Reference. In the Browse tab, find the folder in which you installed the Spire.XLS, default is "C:\Program Files\e-iceblue\Spire.XLS", double-click the folder Bin. If the target framework of the project HelloWorld
- is .NET 2.0, double-click folder NET2.0
- is .NET 3.5, double-click folder NET3.5
- is .NET 4.0, double-click folder NET4.0
select assembly Spire.XLS.dll and click OK to add it to the project.
3. In Solution Explorer, double-click the file Form1.cs/Form1.vb to open the form design view, add a button into the form, and change its name to 'btnRun', change its text to 'Run'.
4. Double-click the button 'Run', you will see the code view and the following method has been added automatically:
private void btnRun_Click(object sender, EventArgs e)
Private Sub btnRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRun.Click
5. Add the following codes to the top of the file
using Spire.Xls;
Imports Spire.Xls
6. Add the following codes to the method btnRun_Click
//Creates workbook Workbook workbook = new Workbook(); //Gets first worksheet Worksheet sheet = workbook.Worksheets[0]; //Writes hello world to A1 sheet.Range["A1"].Text = "Hello,World!"; //Save workbook to disk workbook.SaveToFile("Sample.xls"); try { System.Diagnostics.Process.Start(workbook.FileName); } catch { }
'Creates workbook Dim workbook As Workbook = New Workbook() 'Gets first worksheet Dim sheet As Worksheet = workbook.Worksheets(0) 'Writes hello world to A1 sheet.Range("A1").Text = "Hello,World!" 'Save workbook to disk workbook.SaveToFile("Sample.xls") Try System.Diagnostics.Process.Start(workbook.FileName) Catch End Try
7. In Solution Explorer, right-click the project HelloWorld and click Debug, then Start new instance, you will see the opened window Form1, click the button 'Run', an Excel document will be created, edited and opened. The string "Hello, World" is filled in the cell A1.
|
http://www.e-iceblue.com/Knowledgebase/Spire.XLS/Getting-started/Spire.XLS-Quick-Start.html
|
CC-MAIN-2015-06
|
refinedweb
| 430
| 69.28
|
I have an assignment where I am supposed to . . .
1. Create a class called HiLoGame. This class will just be the driver class to get the game started. It should have the main method and then just create the HiLoGameEngine object and then invoke the method you create in the HiLoGameEngine object to begin playing the game. That is all this class will need to do.
2. Create a class HiLoGameEngine. This class will implement all the functionality of the game. This class will need to display the information about the game, prompt the user for the low and high-end of the range to guess from, generate the random number for the user to guess, prompt the user to enter a guess, see if the guess is too high, too low, or correct, keep track of the number of guesses, ask the user if s/he wants to play again, etc.
I've done most of the latter, but I can't figure out how to do the first part to run my code to see what else, if anything I need to do. I've searched online, and have found this:
public class HiLoGame
{
/**
* @param args
*/
public void main(String[] args)
{
HiLoGame game = new HiLoGame();
game.startGame();
}
}
It doesn't seem to work through. If someone can explain to me what the game.startGame does and how to use it to call the HiLoGameEngine class, it would be greatly appreciated.
|
http://www.javaprogrammingforums.com/%20whats-wrong-my-code/11681-starting-one-class-another-class-printingthethread.html
|
CC-MAIN-2015-06
|
refinedweb
| 242
| 87.15
|
#include "xli.h"
where this is an xyyz type image loader file.
fullname is the name including path, while name is the short name of the file that is used as a title, or to refer to the file in messages.
Return 0 if the image is NOT identified.
Return 1 if the image IS identified.
If the file is identified, use a message something like: CW printf("%s is a %dx%d xyyz image with %d colors\n",
name, width, height, ncolors);
Try and be quick about identifying the image - don't read the whole image just to identify it !
Use printf even if something is wrong with the file. Use perror for a system error - ie. unable to open file.
Identify the image as quickly as possible.
Return NULL if the image is not identified.
Otherwise Return a pointer to an image structure with the image in it.
If the image is properly identified, but there is something wrong with it before anything useful is read in, report the error - ie. CW fprintf(stderr,"xyyzLoad: %s - corrupted color map\n",name);
clean up (ie. release the image structure and any allocated memory) and return NULL.
If the image is properly identified, and there is something wrong with it, but something useful has been read in (ie. color maps etc. have been loaded, and part of the image is loaded), report the error using fprintf (as above) and return what there is of the image.
Remember to release and temporary memory allocated on returning, whether the image is loaded ok, or if something goes wrong.
Remember to read any trailing options before returning a successfully loaded image, and before closing the file. Trailing options are read by calling the function: CW read_trail_opt(image_ops, zf, image, verbose)
ImageOptions image_ops;
ZFILE zf;
Image image;
boolean verbose;
Remember to close the file before returning.
Remember to add any additional info to the image structure - ie. name, gamma if known etc.
NEVER EVER exit(). There may be other image loaders and other images to load.
Use printf to give verbose output on image details.
Use fprintf(stderr," ... "); to give error warning if the file is corrupted.
use perror for a system error - ie. unable to open file.
char name; / Short name of image /
char title; / name of image /
RGBMap rgb; / RGB map of image if IRGB type /
byte data; / data, rounded to full byte for each row /
float gamma; / gamma of display the image is adjusted /
/ for, if know. /
/ For a color image with a color map /
Image newRGBImage(width, height, depth)
unsigned int width, height, depth;
/ For a true color image /
Image newTrueImage(width, height)
unsigned int width, height;
And the image can be freed with: CW void freeImageData(image)
Image image;
Examine another image loader (ie. gif.c) to see how to set up a color map.
/
Read some data into a buffer
/
int zread(zf, buf, len)
ZFILE zf;
byte buf;
int len;
/
Macro that returns a character from the file.
/
zgetc(zf)
ZFILE zf;
/
Function that reads a string into a buffer
/
char zgets(buf, size, zf)
char buf;
unsigned int size;
ZFILE zf;
/ Return the files EOF status /
int zeof(zf)
ZFILE zf;
/
Clear any errors (ie. EOF)
/
void zclearerr(zf)
ZFILE zf;
/
Turn off caching when an image has been identified
and there is no need to re-open it. The cached part
of the file is still kept, but any reads past this
point are not cached.
/
void znocache(zf)
ZFILE zf;
/
Rewind the cached file. This won't work if the file
is stdin and we have read past the cached part of
the file. Return TRUE on success.
/
boolean zrewind(zf)
ZFILE zf;
/
Return a block of data back to the input stream.
Useful for a load routine that does its own buffering
and wants to return what is left after it has read
an image. (This is needed to allow trailing options
to be recognized.) Can also be used instead of ungetc().
/
void zunread(zf, buf, len)
ZFILE zf;
byte buf;
int len;
/
Close a file.
The file is not actually closed until zreset is called,
in case another loader wants to re-open it.
/
void zclose(zf)
ZFILE zf;
/
Really close a file. Not used by imageLoad functions.
/
void zreset(filename)
char filename;
Some macros are provided to facilitate reading and writing elements larger than a character from/to a data buffer according to the desired endianness:
Big endian: CW #define memToVal(PTR,LEN)
#define valToMem(VAL,PTR,LEN)
Little Endian CW #define memToValLSB(PTR,LEN)
#define valToMemLSB(VAL,PTR,LEN)
byte lmalloc(size)
unsigned int size;
byte lcalloc(size)
unsigned int size;
void lfree(area)
byte area;
Be careful not to call lfree with NULL. It may cause a fault.
/ Zero a block of memory /
bzero(P,N)
/ Fill a block of memory with a value /
bfill(P,N,C)
Table of Contents
|
http://www.fiveanddime.net/man-pages/xliguide.5.html
|
crawl-003
|
refinedweb
| 822
| 72.36
|
A Vue.js 2 grid Tables components
Vue Tables 2 A Vue.js 2 grid Tables components. Live Demo Usage Dependencies Vue.js (>=2.0) Server Side: axios OR vue-resource (>=0.9.0) OR jQuery for the AJAX requests Compatibility Vuex (>=2.0) Bootstrap
Vue Tables 2
Click here to see the client component in action and fiddle with the various options or here for a rudimentary server component demo
- Usage
- Dependencies
- Installation
- Client Side
- Server Side
- Nested Data
- Templates
- Child Rows
- Methods
- Properties
- Events
- Date Columns
- Custom Filters
- Client Side Filters
- Server Side Filters
- List Filters
- Columns Visibility
- Custom Sorting
- Client Side Sorting
- Server Side Sorting
- Multiple Sorting
- Slots
- Options
- VueJS 1
Usage
Dependencies
- Vue.js (>=2.0)
- Server Side: axios OR vue-resource (>=0.9.0) OR jQuery for the AJAX requests
Compatibility
- Vuex (>=2.0)
- Bootstrap 3 / Bootstrap 4 / Bulma
Installation
npm install vue-tables-2
Require the script:
import {ServerTable, ClientTable, Event} from 'vue-tables-2';
Register the component(s)
Vue.use(ClientTable, [options = {}], [useVuex = false], [theme = 'bootstrap3'], [template = 'default']);
Or/And:
Vue.use(ServerTable, [options = {}], [useVuex = false], [theme = 'bootstrap3'], [template = 'default']);
useVuexis a boolean indicating whether to use
vuexfor state management, or manage state on the component itself. If you set it to
trueyou must add a
nameprop to your table, which will be used to register a module on your store. Use
vue-devtoolsto look under the hood and see the current state.
Note: If you are using
vue-routeror simply toggling the table with
v-if, set the
preserveStateoption to
true.
themeUse this option to select a CSS framework. Options:'bootstrap3','bootstrap4','bulma'. You can also pass you own theme. Use a file from the
themesfolder as boilerplate.
templateUse this option to select an HTML template. Currently supported: 'default', 'footerPagination' You can also pass your own template. Use a file from the
templatesfolder as boilerplate.
Note: You may need to add a little styling of your own. If you come up with some improvments to the templates or themes, which brings them closer to the optimum, you are welcome to send a PR.
Note: The template is written using
jsx, so you will need a jsx compiler to modify it (the package is using the compiled version under the
compiledfolder).
Using Script Tag
If you are not using NPM you can also import the minified version found in
dist/vue-tables-2.min.js.
Copy the file into your project and import it:
<script src="/path/to/vue-tables-2.min.js"></script>
Or, if you prefer, use the CDN version.
This will expose a global
VueTables object containing
ClientTable,
ServerTable and
Event as properties.
E.g:
Vue.use(VueTables.ClientTable);
Client Side
Add the following element to your page wherever you want it to render. Make sure to wrap it with a parent element you can latch your vue instance into.
<div id="people"> <v-client-table :</v-client-table> </div>
Create a new Vue instance (You can also nest it within other components). An example works best to illustrate the syntax:
new Vue({ el: "#people", data: { columns: ['id', 'name', 'age'], tableData: [ { id: 1, name: "John", age: "20" }, { id: 2, name: "Jane", age: "24" }, { id: 3, name: "Susan", age: "16" }, { id: 4, name: "Chris", age: "55" }, { id: 5, name: "Dan", age: "40" } ], options: { // see the options API } } });
You can access the filtered dataset at any given moment by fetching the
filteredData computed property of the table, using
ref as a pointer (
this.$refs.myTable.filteredData); This will return the current page. To access the entire filtered dataset use
allFilteredData instead.
Important: when loading data asynchronously add a
v-ifconditional to the component along with some
loadedflag, so it will only compile once the data is attached.
Grouping
The client component supports simple grouping of rows by a common value. By simple we mean that the grouping is merely presentational, and not backed by a real model-level data grouping (i.e the data is NOT divided into distinct arrays). you can group by any property on your dataset. For example, for a table of countries you can group by a
continent property. Simply declare in your options
groupBy:'continent'.
If you want to present some additional meta-data realted to each value, you can use the
groupMeta option, along with the dedicated
__group_meta scoped slot. For example:
groupBy:'continent', groupMeta:[ { value:'Africa', data:{ population:1216, countries:54 } }, { value:'Asia', data:{ population:4436 countries:48 } }, { value:'Europe', data:{ population:741.4, countries:50 } } // etc... ]
<span slot="__group_meta" slot- {value} has {data.countries} countries and a population of {data.population} million </span>
Server side
<div id="people"> <v-server-table</v-server-table> </div>
Javascript:
new Vue({ el: "#people", data: { columns: ['id', 'name', 'age'], options: { // see the options API } } });
All the data is passed in the following GET parameters:
query,
limit,
page,
orderBy,
ascending,
byColumn.
You need to return a JSON object with two properties:
data:
array- An array of row objects with identical keys.
count:
number- Total count before limit.
Note: If you are calling a foreign API or simply want to use your own keys, refer to the
responseAdapteroption.
Custom Request Function
by default the library supports
JQuery,
vue-resource and
axios as ajax libraries.
If you wish to use a different library, or somehow alter the request (e.g add auth headers, or manipulate the data) use the
requestFunction option. E.g:
options: { requestFunction: function (data) { return axios.get(this.url, { params: data }).catch(function (e) { this.dispatch('error', e); }.bind(this)); } }
Note: when using a custom request function, the
url prop is not required.
Implementations
I have included an Eloquent implementation for Laravel Users.
If you happen to write other implementations for PHP or other languages, a pull request would be most welcome, under the following guidelines:
- Include the class under
./server/{language}.
- Name it according to convention:
{concrete}VueTables.
- if this is the first implementation in this language add an interface similar to the one found in the PHP folder.
- Have it implement the interface.
- TEST IT.
Nested Data
Oftentimes your dataset will consist of objects, rather than primitive types. By default, the package has no knowledge of how those objects should be presented. To tell the package how to handle those fields you can use one of two options, depending on your needs:
- Decide which primitive property you would like to refer to as the relevant piece of data, by using the dot notation when declaring you
columnsprop. E.g:
['name','age','meta.education.degree']
- Use Templates
Option 1 is more simple and straight-forward. However, it disregards all the other properties, which means that sorting, filtering and presentation will all refer to the single piece of primitive data at the "end of the chain".
If you want to use the entire object, option 2 is your best route. This will allow you to incorporate all the properties in the presentation. When using the client component note that:
- Default filtering behaviour will recursively scan the entire object for the query.
- If the column is sortable, you will need to define a sorting algorithm, using the
customSorting[#custom-sorting] option.
Templates
Templates allow you to wrap your cells with vue-compiled HTML. It can be used in any of the following ways:
Scoped Slots
If you are using Vue 2.1.0 and above, you can use scoped slots to create templates:
<v-client-table : <a slot="edit" slot-</a> </v-client-table>
Note: You can get the index of the current row relative to the entire data set using
props.index
Virtual DOM Functions
The syntax for Virtual DOM function is similar to that of
render functions, as it leverages the virtual DOM to bind the templates into the main table template.
If you choose this option, it is recommended to use JSX, which closely resembles HTML, to write the templates (To compile
jsx you need to install the vue jsx transform).
E.g.:
data: { columns: ['erase'], options: { ... templates: { erase: function (h, row, index) { return <delete id = {row.id}>< /delete> } } ... } }
The first parameter is the
h scope used to compile the element. It MUST be called
h.
The second parameter gives you access to the row data.
In addition a
this context will be available, which refers to the root vue instance. This allows you to call your own instance methods directly.
Note: when using a
.vue file
jsx must be imported from a dedicated
.jsx file in order to compile correctly. E.g
edit.jsx
export default function(h, row, index) { return <a class='fa fa-edit' href={'#/' + row.id + '/edit'}></a> }
app.vue
<script> import edit from './edit' templates: { edit } </script>
Vue Components
Another option to for creating templates is to encapsulate the template within a component and pass the name. The component must have a
data property, which will receive the row object. You can also add an optional
index prop, to get the non-zero-based index of the current row relative to the entire dataset, and an optional
column prop to get the current column. E.g:
Vue.component('delete', { props: ['data', 'index', 'column'], template: `<a class='delete' @</a>`, methods: { erase() { let id = this.data.id; // delete the item } } });
options: { ... templates: { erase: 'delete' } ... }
This method allows you to also use single page .vue files for displaying the template data E.g: edit.vue
<template> <a class="fa fa-edit" :Edit</a> </template> <script> export default { props: ['data', 'index'], } </script>
app.vue
<script> import edit from './edit' templates: { edit } </script>
Important:
- To use components in your templates they must be declared globally using
Vue.component().
- Templates must be declared in the
columnsprop
Note: Don't include HTML directly in your dataset, as it will be parsed as plain text.
Child Rows
Child rows allow for a custom designed output area, namely a hidden child row underneath each row, whose content you are free to set yourself.
When using the
childRow option you must pass a unqiue
id property for each row, which is used to track the current state.
If your identifer key is not
id, use the
uniqueKey option to set it.
The syntax is identincal to that of templates:
Using Scoped Slots:
<template slot="child_row" scope="props"> <div><b>First name:</b> {{props.row.first_name}}</div> <div><b>Last name:</b> {{props.row.last_name}}</div> </template>
Using a function and (optional) JSX:
options:{ ... childRow: function(h, row) { return <div>My custom content for row {row.id}</div> } ... }
Using a component name or a
.vue file: (See Templates above for a complete example)
options:{ ... childRow: 'row-component' ... }
When the plugin detects a
childRow function it appends the child rows and prepends to each row an additional toggler column with a
span you can design to your liking.
Example styling (also found in
style.css):
.VueTables__child-row-toggler { width: 16px; height: 16px; line-height: 16px; display: block; margin: auto; text-align: center; } .VueTables__child-row-toggler--closed::before { content: "+"; } .VueTables__child-row-toggler--open::before { content: "-"; }
You can also trigger the child row toggler programmtically. E.g, to toggle the row with an id of 4:
this.$refs.myTable.toggleChildRow(4); // replace myTable with your own ref
Methods
Call methods on your instance using the
ref attribute.
setPage(page)
setLimit(recordsPerPage)
setOrder(column, isAscending)
setFilter(query)-
queryshould be a string, or an object if
filterByColumnis set to
true.
getData()Get table data using the existing request parameters. Server component only.
refresh()Refresh the table. This method is simply a wrapper for the
serverSearchmethod, and thus resets the pagination. Server component only
getOpenChildRows(rows = null)If no argument is supplied returns all open child row components in the page. To limit the returned dataset you can pass the
rowsarguemnt, which should be an array of unique identifiers.
Note:
A. This method is only to be used when the child row is a component.
B. In order for this method to work you need to set the
name property on your component to
ChildRow
Properties
Get properties off your instance using the
ref attribute.
openChildRows
arrayThe ids of all the currently open child rows
Events
Using Custom Events (For child-parent communication):
<v-server-table :</v-server-table>
- Using the event bus:
Event.$on('vue-tables.loaded', function (data) { // Do something });
Note: If you are using the bus and want the event to be "namespaced", so you can distinguish bewteen different tables on the same page, use the
name prop.
The event name will then take the shape of
vue-tables.tableName.eventName.
- Using Vuex:
mutations: { ['tableName/LOADED'](state, data) { // Do something } }
vue-tables.filter/
tableName/FILTER
Fires off when a filter is changed. Sends through the name and value in case of column filter, or just the value in case of the general filter
vue-tables.filter::colName
Same as above, only this one has the name attached to the event itself, and only sends through the value.
Releveant only for non-vuex tables with
filterByColumn set to true.
vue-tables.sorted /tableName/SORTED`
Fires off when the user sorts the table. Sends through the column and direction. In case of multisorting (Shift+Click) an array will be sent sorted by precedence.
vue-tables.loading/
tableName/LOADING(server)
Fires off when a request is sent to the server. Sends through the request data.
vue-tables.loaded/
tableName/LOADED(server)
Fires off after the response data has been attached to the table. Sends through the response.
You can listen to those complementary events on a parent component and use them to add and remove a loading indicator, respectively.
vue-tables.pagination/
tableName/PAGINATION
Fires off whenever the user changes a page. Send through the page number.
vue-tables.limit/
tableName/LIMIT
Fires off when the per page limit is changed
vue-tables.error/
tableName/ERROR(server)
Fires off if the server returns an invalid code. Sends through the error
vue-tables.row-click/
tableName/ROW_CLICK
Fires off after a row was clicked. sends through the row and the mouse event.
When using the client component, if you want to recieve the original row, so that it can be directly mutated, you must have a unique row identifier.
The key defaults to
id, but can be changed using the
uniqueKey option.
Date Columns
For date columns you can use daterangepicker as a filter instead of the normal free-text input. Note that you must import all the dependencies (JQuery + moment.js + daterangepicker) GLOBALLY, i.e on the
window scope. You can check if this is so by typing
typeof $().daterangepicker in the console. If it returns
function you are good to go.
To tell the plugin which columns should be treated as date columns use the
dateColumns option. (E.g:
dateColumns:['created_at','executed_at']).
For the client component the date must be rendered as a
moment object for the filtering to work. You can use the
toMomentFormat option to do that for you. It accepts the current format of the dates in your dataset, and uses it to convert those dates to
moment objects. E.g, if you have a
created_at column with a date like
2017-12-31, you can use
toMomentFormat: 'YYYY-MM-DD'. To decide the presentation of the dates use the
dateFormat option.
On the server component the filter will be sent along with the request in the following format:
{ query:{ created_at:{ start: '2010-12-31 00:00:00', end: '2011-12-31 00:00:00' } } }
date presentation on the server component is completely up to you. If you are unable to control the server response, you can use the
templates option to "massage" the date you get from the server into the desired format.
Custom Filters
Custom filters allow you to integrate your own filters into the plugin using Vue's events system.
Client Side Filters
- use the
customFiltersoption to declare your filters, following this syntax:
customFilters: [{ name: 'alphabet', callback: function (row, query) { return row.name[0] == query; } }]
- Using the event bus:
Event.$emit('vue-tables.filter::alphabet', query);
- Using
vuex:
this.$store.commit('myTable/SET_CUSTOM_FILTER', {filter:'alphabet', value:query})
Server Side Filters
A. use the
customFilters option to declare your filters, following this syntax:
customFilters: ['alphabet','age-range']
B. the same as in the client component.
List Filters
When filtering by column (option
filterByColumn:true), the
listColumns option allows for filtering columns whose values are part of a list, using a select box instead of the default free-text filter.
For example:
options: { filterByColumn: true, listColumns: { animal: [{ id: 1, text: 'Dog' }, { id: 2, text: 'Cat', hide:true }, { id: 3, text: 'Tiger' }, { id: 4, text: 'Bear' } ] } }
Note: The values of this column should correspond to the
id's passed to the list. They will be automatically converted to their textual representation.
Adding
hide:trueto an item, will exclude it from the options presented to the user
Columns Visibility
If you would like to enable the user to control the columns' visibility set the
columnsDropdown option to
true.
This will add a dropdown button to the left of the per-page control. The drop down will contain a list of the columns with checkboxes to toggle visibility.
The
columnsDropdown option can work in conjunction with
columnsDisplay. The rule is that as long as the user hasn't toggled a column himself, the rules you have declared in
columnsDisplay takes precedence. Once the user toggled a column, he is in charge of columns' visibility, and the settings of
columnsDisplay are disregarded.
Custom Sorting
Client Side Sorting
Sometimes you may one to override the default sorting logic which is applied uniformly to all columns.
To do so use the
customSorting option. This is an object that recieves custom logic for specific columns.
E.g, to sort the
name column by the last character:
customSorting: { name: function (ascending) { return function (a, b) { var lastA = a.name[a.name.length - 1].toLowerCase(); var lastB = b.name[b.name.length - 1].toLowerCase(); if (ascending) return lastA >= lastB ? 1 : -1; return lastA <= lastB ? 1 : -1; } } }
Server Side Sorting
This depends entirely on your backend implemetation as the library sends the sorting direction trough the request.
Multiple Sorting
Multiple sorting allows you to sort recursively by multiple columns. Simply put, when the primary column (i.e the column the user is currently sorting) has two or more identical items, their order will be determined by a secondary column, and so on, until the list of columns is exhausted.
Example usage:
{ ... multiSorting: { name: [ { column: 'age', matchDir: false }, { column: 'birth_date', matchDir: true } ] } ... }
The above code means that when the user is sorting by
name and identical names are compared, their order will be determined by the
age column. If the ages are also identical the
birth_date column will determine the order.
The
matchDir property tells the plugin whether the secondary sorting should match the direction of the primary column (i.e ascending/descending), or not.
In addition to programmatically setting the sorting in advance, by default the user can also use Shift+Click to build his own sorting logic in real time.
To disable this option set
clientMultiSorting to
false.
On the server component this behaviour is disabled by default, because it requires addtional server logic to handle the request.
To enable it set
serverMultiSorting to
true. The request will then contain a
multiSort array, if applicable.
Slots
Slots allow you to insert you own custom HTML in predefined positions within the component:
beforeTable: Before the table wrapper. After the controls row
afterTable: Before the table wrapper.
beforeFilter: Before the global filter (
filterByColumn: false)
afterFilter: After the global filter
beforeLimit: Before the per page control
afterLimit: After the per page control
beforeFilters: Before the filters row (
filterByColumn: true)
afterFilters: After the filters row
beforeBody: Before the
<tbody>tag
afterBody: After the
<tbody>tag
prependBody: Prepend to the
<tbody>tag
appendBody: Append to the
<tbody>tag
In addition to these slots you can insert your own filter HTML in the filters row, or add content to the existing filter, e.g a button (When
filterByColumn is set to
true):
A. If you just want your own content make sure that the column is not filterable by omitting it from the
filterable array.
Otherwise the slot content will be appended to the native filter.
B. Create a slot whose name is formatted
filter__{column} (double underscore).
For example, to insert a checkbox on the
id column instead of the normal input filter:
{ filterable:["name","age"] // omit the `id` column }
<div slot="filter__id"> <input type="checkbox" class="form-control" v- </div>
Options
Options are set in three layers, where the more particular overrides the more general.
- Pre-defined component defaults.
- Applicable user-defined defaults for the global Vue Instance. Passed as the second paramter to the
Usestatement.
- Options for a single table, passed through the
optionsprop.
VueJS 1
Users of VueJS 1 should use this package .
Github Repository
Tags: #VueJs #Table #Datatable
|
https://codespots.com/library/item/2038
|
CC-MAIN-2020-50
|
refinedweb
| 3,475
| 56.45
|
Running "samba-tool user create" with python2 fails if the username includes non-ASCII characters.
Example:
# samba-tool user create Björn Passw0rd
ERROR(<type 'exceptions.UnicodeDecodeError'>): Failed to add user 'Björn': - 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 433, in run
smartcard_required=smartcard_required)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 493, in newuser
force_password_change_at_next_login_req)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 609, in setpassword
""" % (user_dn, base64.b64encode(pw).decode('utf-8'))
The .decode('utf-8'), which fails here, has been introduced with a45e70bf47cb4b48f69a237298e143f574bf58bb, which works fine with Python3, but not with Python2.
Thanks Björn.
I am a little baffled by this, since the thing being .decode()ed is the base64 encoded password, right? which should be ascii only since it is base64.
The 0xC3 it complains about is more likely part of the 0xC3 0xB6 sequence for "ö",
and the position 10 is about right for "\ndn: CN=Björn,...", so I suspect the user_dn is at fault.
What do you see if you print the user_dn first?:
diff --git a/python/samba/samdb.py b/python/samba/samdb.py
index 308b5f96a7b..20fdf9d0f02 100644
--- a/python/samba/samdb.py
+++ b/python/samba/samdb.py
@@ -596,6 +596,7 @@ member: %s
if len(res) > 1:
raise Exception('Matched %u multiple users with filter "%s"' % (len(res), search_filter))
user_dn = res[0].dn
+ print(user_dn, type(user_dn))
+ print("%s" % user_dn)
if not isinstance(password, text_type):
pw = password.decode('utf-8')
else:
(In reply to Douglas Bagnall from comment #1)
> What do you see if you print the user_dn first?
I see the following:
# could also decode('utf-8') the user_dn string (from the ldb.Dn), but then the following modify_ldif() complains and required an encode('utf-8').
(In reply to Björn Baumbach from comment #2)
> # can't work out why that 'print("%s" % user_dn)' worked when the original
'"dn: %s..." %(user_dn, ...)' did not, but never mind.
I think we'll have to go:
from samba.compat import PY3
and then in setpassword:
if not PY3:
user_dn = whatever_is_necessary(user_dn)
Unfortunately, it looks like other methods will have similar problems (setexpiry for example).
It doesn't have to be excessively pretty, since this problem is necessarily unique to 4.10.
On samba DC using PY3 user can be created!
# samba-tool -V
4.10.6
# samba-tool user create Björn Passw0rd
User 'Björn' created successfully
looks like this will not change any more in 4.10. I close this as wontfix. As this is 4.10 with py2 only, this is not too bad to ignore now I guess. If someone has a fix before 4.10 is out of bugfix mode just reopen this again.
|
https://bugzilla.samba.org/show_bug.cgi?id=14118
|
CC-MAIN-2022-05
|
refinedweb
| 468
| 68.67
|
Hello Folks,
If you are working in react and you have used libraries like React Bootstrap you must have seen or used components like
<Dropdown.Item>. Have you ever wondered how to create such components?
In this article, we will understand creating components which have their own modules or subcomponents, just like above
Dropdown component.
Note: If there is any particular name or jargon for subcomponents, please let me know that in comments below.
For this tutorial, we will be creating a very simple Card component. This will have Header, Body and Footer as its submodules. For the tutorial purpose, I am keeping this card component very simple and not adding any complex functionality to it. In the practical world, you may add all other features to it just like any other component in react. Though this tutorial is using plain ReactJS, you can use the same component structure for react-native apps as well.
The card component we will be creating will look something like this -
Now, let's see the code first and understand its structure better. Below is the code we used to create the above component.
import React from 'react'; const Card = ({ children }) => { let subComponentList = Object.keys(Card); let subComponents = subComponentList.map((key) => { return React.Children.map(children, (child) => child.type.name === key ? child : null ); }); return ( <> <div className='card'> {subComponents.map((component) => component)} </div> </> ); }; const Header = (props) => <div className='card-header'>{props.children}</div>; Card.Header = Header; const Body = (props) => <div className='card-body'>{props.children}</div>; Card.Body = Body; const Footer = (props) => <div className='card-footer'>{props.children}</div>; Card.Footer = Footer; export default Card;
As you can see, in the above code, we are treating the card component as just another object is javascript. Our subcomponents, Header, Body and Footer are passed to the Card component as its keys.
Hence, inside the card, we will be first creating the list of all the keys i.e. subcomponents for the card. This way, we can add as many subcomponents as we want.
After getting the list of subcomponents, all we require is to render them through Card. Here, we will make use of React.Children api from React. React.Children provides a utility for dealing with opaque data structures the children props have. If, children prop is an array, it will return a function for each child in an array. If child is
null or
undefined, this method will return
null or
undefined.
The div element inside the return statement is used to add styling to the card and inside that div, we are just returning all the sub-components. We can also add more functionalities to this as per our requirements.
In this way, you can create any component with many subcomponents or modules inside it. Although, it is easy to create a single component and add all subcomponent functionalities inside it, but creating components this way will add much more readability to the code. So, depending on the use-cases, we can use this pattern in our apps.
If you have ever tried creating subcomponents like this or feel this can be done in a better way, do share your approaches with me in comments!
And your feedback on article will be welcomed, always!!
Keep learning!
Discussion (13)
We can use something simple like this right?
Does using
React.Children.mapprovide any advantage over this code?
This is simple and efficient if we know how many subcomponents we are adding. But if we do not want to keep adding these component and want them to get added inside card, then React.Children will be useful. But again, it really depends on what you feel more effective :)
Every time I see/need to build something like this, I think "wouldn't it be great if it was handled by the platform?". In the end, I always opt out for more permissive usage: document correct usage, but don't enforce it in code, just make sure it doesn't blow up if used incorrectly, while notiying the developer about it.
Hey Lex, didn't get what you want to say here. Do you think this is not a good pattern? Will you please elaborate your comment?
It's a totally valid approach, I'm just complaining on the browser capabilities to write custom components with "children" being handled automatically :)
Like, would be nice if we had not only
But also
that would handle incorrect children. I know web-components API exist and there are good examples of it, but it's far from being usable for smaller-scale projects.
True that!
In the platform I wrote (quanta.wiki), I ended up using a React framework where all the GUI elements have a "Class" for them, so I literally never have to see JSX or worry about 'templating'. All templating is always a friction point imo, and if I can do everything 100% in JS/TS it's better.
Here's an the Login Dialog for example:
(notice the JS is even more clear than the equivalent JSX would be)
github.com/Clay-Ferguson/quantizr/...
Here's the more direct explanation if what I'm doing:
reactjs.org/docs/react-without-jsx...
This is interesting !!...Learned something new :)
Yeah, but try doing it in TypeScript without adding a virtually useless interface 😎
Not sure if I like this over additional exports. But definitely an concept. Thanks!
Cool interesting idea.
Good stuff!
I only have basic knowledge of React but its interesting to see how you are using
React.Childrenhere.
Thanks and keep sharing 👍
Thanks Vaishali. Hope it have helped you in some way.
|
https://dev.to/ms_yogii/create-react-subcomponents-in-a-simple-way-5h1f
|
CC-MAIN-2021-17
|
refinedweb
| 936
| 65.73
|
I'm trying to make a audio visualizer in Unity. Want a sphere to resize as reaction on the music.
I keep getting this error: "IndexOutOfRangeExeption: Array index is out of range." Ok, because I'm new to this scripting thing, I don't know how to fix it. t's probably really simple, but we al got to start somewhere, right?
So here is my script:
using UnityEngine;
using System.Collections;
public class Spechtrum : MonoBehaviour {
public GameObject[] sphere;
public int numberOfObjects3 = 20;
void Start () {
sphere = GameObject.FindGameObjectsWithTag ("sphere");
}
void Update () {
float[] mid = AudioListener.GetSpectrumData (1024, 0, FFTWindow.Hamming);
//The next line is the error line.
for (int i = 0; i < numberOfObjects3; i++) {
Vector3 previousScale = sphere [i].transform.localScale;
previousScale.y = mid [i] * 10;
previousScale.x = mid [i] * 10;
previousScale.z = mid [i] * 10;
sphere [i].transform.localScale = previousScale;
}
}
}
I was wondering if anyone could help me?
Answer by Raresh
·
Jun 06, 2016 at 09:39 PM
for (int i = 0; i < sphere.Length; i++)
{
Vector3 previousScale = sphere [i].transform.localScale;
previousScale.y = mid [i] * 10;
previousScale.x = mid [i] * 10;
previousScale.z = mid [i] * 10;
sphere [i].transform.localScale = previousScale;
}
Changed the for loop, now it will only loop through the contents of the array, guaranteeing you won't get out of the range.
Now i don't know what's the size of "mid" but if it's the same, you shouldn't be getting any errors.
Wow! Thx man! You really helped me! And you responded really qu.
"Unable to decode audio data" in webgl build
0
Answers
index out of range problem with for loops and arrays.
1
Answer
NullReferenceException: Object reference not set to an instance of an object ... Why?
1
Answer
One script with multiple Gameobject only one Works
0
Answers
Getting an error when using an Array of String Arrays
0
Answers
|
https://answers.unity.com/questions/1198827/array-index-is-out-of-range-c-5.html
|
CC-MAIN-2020-40
|
refinedweb
| 309
| 60.92
|
Dreamily Satired...
Have flipped through your stuff and my oh my is it impressive man:) The clarity you present with such emotional and yet subtle melodies is just daunting.
Anyway, I love how this piece works its way slowly into the main portion of the song and its mellow nature is extremely relaxing and soothing to the ears. The melody is tempting and slightly magical and mysterious^_^ allows the listener to imagine artistic images, which is wonderful.
Your ambient work is simply the best Newgrounds possesses and I hope you continue to contribute to us, for your material keeps some of us going man.
Anything short of a 10 would be robbing you.
5/5
~andrew
I have the feeling that I'm being very very late with my response.
Thank you a lot for the excellent review!! :)
Rated 4.5 / 5 stars
Soothing.
It wasn't the ebst of your work, but it was very nice. Very calm, some of it sounded too much computer generated rather then actual music, oh well. The thing that bugged me a little is the fact that it sounds like it loops over and over. But, all in all, very calm, soothing, anything else that means to be relatively calm. Love your work.
~ DEFF
Ya all is computer "generated" (haha I really don't like the word generated in that context- "made on a computer" makes it seem at least a little bit creative :P) - but it's still actual music! It's not like... false music or something :(
Thanks for the review!!
Rated 5 / 5 stars
Fantastic!
Ah, there's just so much things happening in this 4 minute piece. I love the subtle pace it has.
Just epic, I'll say.
EPIC WIN LOL
I'm sorry. :(
Thanks for the review man! I've missed you ;)
Rated 5 / 5 stars
very nice
I love the song there is so much awsome shit i havent checked out at the top of the ambient list.
def a dl from me
this song actually reminds me of tales of phantasia a little bit somehow im not sure why though. Maybe it's the choir in the background.
check out some of my shit if you want if frozen ocean(my song) is still close to the top of the list...
peace
Thanks for the review man! I'll have your stuff checked out, but I might take a while (read my response to the previous review)
Rated 5 / 5 stars
:)))
I just got into ambient the last time, so I was wandered what it is here.
First of all, the drums. They were great since they weren't overpowered, nor too soft.
Second the melody. The synth. It sounds like a mix of a techno and a church. Original, but effective.
The choir felt good, no complaints about that.
10/10
5/5
+dl
>Distortzion<
Thanks a lot for the review man!
I'll get to reviewing you sometime hopefully soon, but my current internet connection is in no way fast enough to load a song! So you've gotta be patient, sorry :)
|
http://www.newgrounds.com/audio/listen/127346/review_page/3
|
CC-MAIN-2017-39
|
refinedweb
| 520
| 83.15
|
On Sat, Sep 17, 2011 at 09:12:06PM +0200, Laurent Aimar wrote: > On Sat, Sep 17, 2011 at 05:49:32PM +0200, Michael Niedermayer wrote: > > On Sat, Sep 17, 2011 at 04:56:31PM +0200, fenrir at elivagar.org wrote: > > > From: Laurent Aimar <fenrir at videolan.org> > > > > > > --- > > > libavcodec/golomb.h | 2 +- > > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > > > diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h > > > index 83d277f..58707ed 100644 > > > --- a/libavcodec/golomb.h > > > +++ b/libavcodec/golomb.h > > > @@ -124,7 +124,7 @@ static inline int svq3_get_ue_golomb(GetBitContext *gb){ > > > } > > > > > > CLOSE_READER(re, gb); > > > - return ret - 1; > > > + return (ret - 1) & INT_MAX; > > > > the individual uses of this function should check if the data is within > > the supported range. > > simply forcing it to be positiv is unlikely to be enough for all > > cases. Also it causes a tiny speedloss where such checks exists > > already > Well, en general users of this function check for upper bound not lower bound > (which seems logical given the function names). > Another way would be to make it return unsigned and check for every usage but > it's more work and I think more prone to breakage in the future. theres no way around checking, ill commit checks in a moment [...] --: <>
|
http://ffmpeg.org/pipermail/ffmpeg-devel/2011-September/114917.html
|
CC-MAIN-2016-50
|
refinedweb
| 203
| 62.17
|
In Python, variables do not need to be declared in advance. When they are created, they can be assigned directly. The variable type is determined by the value assigned to the variable. It is worth noting that once a variable is created, it needs to be assigned a value.
The following rules shall be strictly followed for variable names:
1. Variable name can only contain letters / numbers / underscores
2. Number cannot start
3. Can’t say the keyword of Python
4. It cannot be a function name, otherwise it will lose its function.
#!/use/bin/env python #-*- coding:utf-8 -*- Content5 = 6 ා Content5 is the value of variable name 6 Print (type (Content5)) (output type is' Int ' _Value = 'name of variable' × value is variable name 'name of variable' is value of variable Print (type (﹐ value)) ﹐ output type is' STR '
How to view Python keywords?
import keyword Print (keyword. IsKeyword ("and")) (judge whether and is a keyword #Output true after running Print (keyword. Kwlist) - view all keywords in Python
It cannot be a function name, otherwise it will lose its function function.
Len = 'special character channeling name' ා use len as variable name print(len) Print (len (strexample)) (len function loses the function of returning string length, resulting in system error. Output is: Special character names Traceback (most recent call last): File "D:/pystudy/aaaa.py", line 15, in print(len(strExample)) NameError: name 'strExample' is not defined
|
https://developpaper.com/variable-name-of-python/
|
CC-MAIN-2020-16
|
refinedweb
| 236
| 65.62
|
import excel file data into Mijoshop Open Cart repost -- 2
Bütçe $30-250 USD
Hi,
I need someone to import these products from my supplier into my Mijoshop Open Cart site. Note the products in the spreadsheet are not in proper format at least per opencart so it may need to be modified. Not sure if there is a way to automate or add all the options needed. It needs to have all the relevant option properties like imprint colors, item colors, setup fees, reorder setup fees, shipping fees. upload option.
If your price is based on per item then i may not do all the items so please specify in your message and bid. It is 2010 items listed.
I forgot to mention i also have all the images needed in zip format but this part should be easy as the file names are already in the excel. This needs to be done also.
READ TO ORDER IF PRICE IS $100 or less
We may have other work for you if this works out. I have a catalog that we will need to manually read catalog and retype data.
Seçilen:
Hi there! , I am interested in your project. I have read carefully description and assure you with quality solution in time. I have more than 5 years in configuring and troubleshooting Opencart. I can install, fix, Daha fazlası
27 freelancer bu iş için ortalamada 119$ teklif veriyor
Hello, We are professional team of data entry operators having vast knowledge of all type of product adding work like Big Commerce, Magento, Shopify, opencart etc. We provide high quality and time committed service Daha fazlası
Hello, Sir I am from vSol CORP. We are 19 people team, worked on more than 500 completed projects. We provide round the clock service. I have checked your project requirement. And we are professional and dedicated Daha fazlası
Hello sir,I have 8 member team and good experience and we can start the work right now and also all communication and work will be high quality. all work will be on my office without any delay.thanx
Hello Sir, I am Trinkal Juneja worked on 2K+ Opencart Projects, from custom module to designing template, RTL integration, Payment Gateway integration, Shipping, Import and Export, Customized product module, social Daha fazlası
Dear Client, I can help in your project. We have already experience of working on similar projects. Please see below to get idea of my similar experience: Amazon/Ebay Bots: Daha fazlası
Hi, I have more than 14 years of exp and I am expert in this kind of work. I have completed more than 215 projects. Please look at the feedback left by my employers to know more about my work. Waiting for your positive Daha fazlası
Thanks for looking at my proposal. I can take care of this project. Need to discuss more. Waiting for your response. ** N.B: To see my full profile you can visit at **
----------------------------------------------------------Please Consider on My BID---------------------------------------------------Hello Sir, I having has 10 + years experience of web site development. Expert in Cus work only opencart projects.I'm creating extensions and sell them.You can see my work here
Respected Client, Resourcefulness. Dedication. Professionalism. As an expert Virtual Assistant, these are the attributes that drive me and these are the attributes that I bring to work. I am doing BS (ho Daha fazlası
We're professionals in all type of website development with more than 4 years of experience.We have read your project descritiption and it is honour for us to do you job.You can get quality work from us regarding this Daha fazlası
Hello Sir I have studied your requirement regarding project. I want to tell you that I have already work on some project like you. Hence I can proceed on your project easily within your budget. Have a look on my Daha fazlası
I came across your job posting and I am very much interested in taking up the job. I am a full time freelancer and re-writer. I have written several technical articles, blogs, product reviews, e-books, SEO articles and Daha fazlası
Dear Sir, I am really interested to work on this project, I can start the work now , and can provide the best services from my end. Please come on chat to discuss more about the project. Regards, Bhagwan
Hi, I'm fully confident to provide you a complete solution of your project. My Expertise: 1. PHP, MySQL 2. HTML, CSS, JavaScript 3. API Integration / Social Media API Integration 4. Wordpress a. Custom Daha fazlası
|
https://www.tr.freelancer.com/projects/data-entry-excel/import-excel-file-data-into.6519244/
|
CC-MAIN-2017-34
|
refinedweb
| 766
| 73.17
|
The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support. More...
#include <QXmlNamespaceSupport>
Note: All the functions in this class are reentrant.
This class was introduced in Qt 4.4.
The QXmlNamespaceSupport class is a helper class for XML readers which want to include namespace support.
You Namespace Support via Features.
Constructs a QXmlNamespaceSupport.
Destroys a QXmlNamespaceSupport.
Reverts to the previous namespace context.
Normally, you should pop the context at the end of each XML element. After popping the context, all namespace prefix mappings that were previously in force are restored.
See also pushContext(). "".
See also setPrefix().
Returns a list of all the prefixes currently declared.
If there is a default prefix, this function does not return it in the list; check for the default prefix using uri() with an argument of "".
This is an overloaded function., call uri() with "" as the argument..
Starts a new namespace context.
Normally, you should push a new context at the beginning of each XML element: the new context automatically inherits the declarations of its parent context, and it also keeps track of which declarations were made within this context.
See also popContext().
Resets this namespace support object ready for reuse.
This function declares a prefix pre in the current namespace context to be the namespace URI uri. The prefix remains in force until this context is popped, unless it is shadowed in a descendant.
See also prefix().
Splits the name qname at the ':' and returns the prefix in prefix and the local name in localname.
See also processName().
Looks up the prefix prefix in the current context and returns the currently-mapped namespace URI. Use the empty string ("") for the default namespace.
|
http://doc.trolltech.com/4.5-snapshot/qxmlnamespacesupport.html
|
crawl-003
|
refinedweb
| 285
| 60.82
|
A Study On File Input Output Operations & File Pointer Functions In C++.
In real-time programming, we deal with large chunks of data that cannot be accommodated from standard Input-Output devices. Hence we need to make use of secondary storage for storing data. Using secondary storage we usually store data in the form of files.
We can read data from files or write data into files by using a sequence of data called streams either in the text or binary format. There are various input /output and other operation related to files in C++. This tutorial explains these operations related to files using various classes.
=> Visit Here For The Exclusive C++ Training Tutorial Series.
What You Will Learn:
File Input/Output Classes In C++
We have seen an iostream class in C++ which defines the standard input and output functionality including cin and cout. This class is limited to the standard input and output devices like keyboard and monitor respectively.
When it comes to file operations, C++ has a different set of classes that can be used.
These classes are described as below:
- Ofstream: File handling class that signifies the output file stream and is used for writing data to files.
- Ifstream: File handling class that signifies the input file stream and is used for reading data from the file.
- Fstream: File handling class that has the ability to handle both ifstream and ofstream. It can be used to read from and write to a file.
The following operations are supported, in C++ File Handling:
- Open a file
- Close a file
- Read from a file
- Write to a file
Let us see each of these operations in detail!!
Open A File
Associating object of one of the stream classes to a file either for reading or writing or both is called opening a file. An open file is represented in code by using this stream object. Thus any reading/writing operation performed on this stream object will be applied to the physical file as well.
The general syntax to open a file with the stream is:
void open(const char* filename, ios::open mode mode)
Here,
filename => The string containing path and name of the file to be opened.
mode => Optional parameter indicating the mode in which the file is to be opened.
C++ supports various modes in which the file can be opened. We can also specify a combination of these modes using the OR operator.
For Example, if we want to open a file “myfile.dat” for appending data in binary mode, then we can write the following code.
ofstream myfile;
myfile.open(“myfile.dat”, ios::out|ios::app|ios::binary);
As already mentioned, the mode parameter is optional. When we open a file without specifying the second parameter, an open member function of ofstream, ifstream or fstream has a default mode to open the file with.
These are given as follows:
So, if we do not specify the second parameter in the open function, depending on the stream class used, the file is opened with the default mode.
Closing A File
We can use the close function to close a file and release the resources held by the file when we are done with the input and output operations on a file.
Function to close a file is:
void close()
So, when we are done with the operations on the above file myfile, we can close the file as follows:
myfile.close();
Once the file is closed using the close function, the file object associated can be re-used to open another file.
Reading From A File
We can read the information from a file line by line using the stream extraction operator (>>). This is similar to reading input from the standard input using cin. The only difference being in case of files, we use ifstream or fstream object instead of cin.
Sample code for reading from a file is given below:
ifstream myfile; myfile.open(“samp_file.txt”); cout<<”Reading from a file”<<endl; myfile>>data; cout<<data<<endl; myfile.close();
In the above code, we open a file and using the stream extraction operator (>>), we read the contents of the file. Once done with reading, we can close the file.
Writing To A File
We can also write data to a file using the file operations. The operator we use to write data to a file is a stream insertion operator (<<). Once again this is the same operator that we use to print data to a standard output device using cout. Difference between the two is that for file related writing we use ofstream or fstream object.
Let us consider the following Example code:
char data[100]; ofstream myfile; myfile.open(“samp_file.txt”); cout<<”Enter the string to be written to file”<<endl; cin.getline(data, 100); myfile<<data<<endl; myfile.close();
Here, we read a line from the input and write it to a file that was opened with the ofstream object.
In the code example below, we provide a demonstration of all the file handling operations.
#include <fstream> #include <iostream> using namespace std; int main () { char data[100]; // opening a file in write mode. ofstream myfile; myfile.open("E:\\message.txt"); cout << "Writing to the file" << endl; cout << "Enter your name: "; cin.getline(data, 100); myfile << data << endl; cout << "Enter your age: "; cin >> data; cin.ignore(); myfile << data << endl; // close the opened file. myfile.close(); // opening a file in read mode. ifstream infile; infile.open("E:\\message.txt"); cout << "Reading from a file" << endl; infile >> data; cout << data << endl; infile >> data; cout << data << endl; infile.close(); return 0; }
Output:
Writing to the file
Enter your name: Ved
Enter your age: 7
Reading from a file
Ved
7
In the above program first, we open a file in the write mode. Then we read data i.e. name and age and write it to a file. We then close this file. Next, we open the same file in the read mode and read the data line by line from the file and output it to the screen.
Thus this program covers all the file I/O operations.
File State Slags
There are some member functions that are used to check the state of the file. All these functions return a Boolean value.
We have tabularized these functions as follows:
Get/Put And Other Special Operations
The file I/O streams that we have seen so far have an internal get and put positions similar to the other I/O streams like iostream.
The class ifstream has an internal get position that contains the location of the element/character to be read in the file in the next input operation. The class ofstream has an internal put position that contains the location of the element/character to be written in the next output operation.
Incidentally, fstream has both get and put positions.
To facilitate reading and writing using these positions, we have a few member functions that are used to observe and modify these positions.
These functions are listed below:
The parameter direction given in the above function prototypes is an enumerated type of type seekdir and it determines the point from which the offset is counted.
It can have the following values.
Let us see a complete Example that demonstrates the usage of these functions.
#include <iostream> #include <fstream> using namespace std; int main() { fstream myfile; myfile.open("E:\\myfile.txt",ios::out); if(!myfile) { cout<<"Cannot create File..."; } else { cout<<"New file created"<<endl; myfile<<"This is file input output tutorial"; cout<<"Initial File Pointer Position at: "<<myfile.tellp()<<endl; myfile.seekp(-1, ios::cur); cout<<"After seekp(-1, ios::cur), File Pointer Position at: "<<myfile.tellp()<<endl; myfile.close(); } myfile.open("E:\\myfile.txt",ios::in); if(!myfile) { cout<<"Cannot open File...No such file"; } else { char ch; myfile.seekg(5, ios::beg); cout<<"After seekg(5, ios::beg), File Pointer at: "<<myfile.tellg()<<endl; cout<<endl; myfile.seekg(1, ios::cur); cout<<"After seekg(1, ios::cur), File Pointer at: "<<myfile.tellg()<<endl; myfile.close(); } return 0; }
Output:
New file created
Initial File Pointer Position at: 34
After seekp(-1, ios::cur),File Pointer Position at: 33
After seekg(5, ios::beg), File Pointer at: 5
After seekg(1, ios::cur), File Pointer at: 6
As shown in the above program, we have a file created in which we write a line of text. Then using the various functions described above, we display various positions of the File Pointer.
Conclusion
In this tutorial, we have seen the various file operations to open, close and read/write data from/to a file.
We have also seen the functions to change the file pointer in order to access specific positions in the file. In our subsequent tutorials, we will discuss a few more important topics related to C++.
=> Read Through The Easy C++ Training Series.
|
https://www.softwaretestinghelp.com/file-input-output-in-cpp/
|
CC-MAIN-2021-17
|
refinedweb
| 1,482
| 64
|
I ? Simon | -----Original Message----- | From: haskell-bounces at haskell.org [mailto:haskell-bounces at haskell.org] On Behalf Of | oleg at pobox.com | Sent: 17 January 2006 10:13 | To: haskell at haskell.org | Subject: [Haskell] Simple IO Regions | | | This message shows a very simple implementation of Monadic Regions | (for the particular case of IO and reading the file). The technique | *statically* guarantees that neither a file handle nor any computation | involving the handle can leak outside of the region that created | it. Therefore, the handle can be safely closed (and its resources | disposed of) whenever control leaves the corresponding 'withFile' | block. Many handles can be open simultaneously, the type system | enforces the proper nesting of their regions. The technique has no | run-time overhead and induces no run-time errors. Unlike the previous | implementation of monadic regions, only the basic extensions | (higher-ranked types and one two-parameter type class) are used. No | undecidable instances, no functional dependencies (let alone | overlapping instances) are required. In fact, the implementation uses | only one trivial typeclass and one trivial instance. | | Perhaps such an approach to File IO can be more widely used? It | trivially generalizes to database IO and other kinds of IO. | | The motivation for monadic regions has been best explained by: | | Brandon Moore wrote on Haskell Cafe: | >. | | Benjamin Franksen wrote: | | >. | | | Let us start with the tests | | > {-# OPTIONS -fglasgow-exts #-} | > | > module IORegionsTest where | > | > import IORegions -- see below | > | > test0 = withFile "/etc/motd" (const $ return True) | > | > reader q = do | > c1 <- qGetChar q | > c2 <- qGetChar q | > return [c1,c2] | > | > test1 = withFile "/etc/motd" reader | > test1r = runIOM test1 >>= print | | Instead of handles, we have Qs -- marked handles. The are created by | the function withFile and used similar to regular handles. A special | IOM monad is a newtype away from the regular IO. The phantom type | parameter of the IOM monad maintains the marks of the regions. | | *IORegionsTest> :t reader | reader :: (Monad (IOM marks), IORegions.IN mark marks) => | Q mark -> IOM marks [Char] | | the type of the reader shows that it takes a marked handle and yields | a marked IO computation. The constraint IN assures that the | computation must be marked with the mark of the handle. | | If we attempt to leak the handle: | *> test2 = withFile "/tmp/i.hs" (\q -> return q) | | we get | Inferred type is less polymorphic than expected | Quantified type variable `mark' escapes | In the second argument of `withFile', namely `(\ q -> return q)' | | The following is OK: we perform the computation and return its result: | > test3 = withFile "/etc/motd" (\q -> (qGetChar q)) | | If we attempt to return the unperformed computation itself: | *> test4 = withFile "/tmp/i.hs" (\q -> return (qGetChar q)) | | we get | Could not deduce (IORegions.IN mark marks1) | from the context (IORegions.IN mark marks) | arising from use of `qGetChar' at IORegionsTest.h... | | As we said earlier, more than one handle can be at play at the same | time: | | > | | Incidentally, the inferred type of reader2 is | | *IORegionsTest> :t reader2 | reader2 :: (Monad (IOM marks), | IORegions.IN mark1 marks, | IORegions.IN mark marks) => | Q mark -> Q mark1 -> IOM marks [Char] | | Obviously, the resulting computation is marked with the marks of both | argument handles. | | With two handles, we can actually return a handle -- provided we | return an outermost handle from the innermost region (but not the | other way around). For example, the following is wrong | | *> test6 = withFile "/etc/motd" | *> (\q2 -> | *> do | *> q' <- withFile "/etc/motd" (\q -> return q) | *> qGetChar q') | | | but the following is OK: | > test7 = withFile "/etc/motd" | > (\q2 -> | > do | > q' <- withFile "/etc/motd" (\q -> return q2) | > qGetChar q') | | Ditto for the computation: | | The following is the improper leakage and leads to a type error: | | *> test8 = withFile "/etc/motd" | *> (\q2 -> | *> do | *> a <- withFile "/etc/motd" (\q -> return (qGetChar q)) | *> a) | | But the following is fine: | | > test9 = withFile "/etc/motd" | > (\q2 -> | > do | > a <- withFile "/etc/motd" (\q -> return (qGetChar q2)) | > a) | > | > test9r = runIOM test9 >>= print | | | -- The file IORegions.hs follows. | | {-# OPTIONS -fglasgow-exts #-} | | -- Simple IO Regions | | module IORegions (runIOM, qGetChar, withFile, | -- Only types are exported, not their data constructors! | Q, IOM) where | | import Control.Exception | import System.IO | | -- The marked IO monad. The data constructor is not exported. | -- The type 'marks' is purely phantom (and is never instantiated, actually) | newtype IOM marks a = IOM (IO a) deriving Monad | unIOM (IOM x) = x | | -- The marked IO handle. The data constructor is not exported. | newtype Q mark = Q Handle | | -- |IN mark marks| asserts that |mark| is a member of the mark set |marks| | -- The mark set is really a set, and the best of all, it's typechecker | -- that maintains it. We don't need to do anything at all. | class IN a b | instance IN () b | | -- Reading from a marked handle. The mark must be within the marks | -- associated with the IOM monad | qGetChar :: (IN mark marks) => Q mark -> IOM marks Char | qGetChar (Q h) = IOM $ hGetChar h | | -- There must not be an operation to close a marked handle! | -- withFile takes care of opening and closing (and disposing) of | -- handles. | | -- Open the file, add the markset constraint for the duration of the body, | --. | | withFile :: FilePath -> (forall mark. IN mark marks => Q mark -> IOM marks a) | -> IOM marks a | withFile filename proc = | IOM( | bracket | (openFile filename ReadMode) | (hClose) | (\handle -> unIOM $ proc ((Q handle) :: Q ()))) | | -- Running the IOM monad | runIOM :: (forall mark. IOM mark a) -> IO a | runIOM = unIOM | | _______________________________________________ | Haskell mailing list | Haskell at haskell.org |
|
http://www.haskell.org/pipermail/haskell/2006-January/017422.html
|
CC-MAIN-2014-42
|
refinedweb
| 889
| 62.38
|
Lock a thread spinlock
#include <pthread.h> int pthread_spin_lock( pthread_spinlock_t * spinner );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The pthread_spin_lock() function locks the thread spinlock specified by spinner. If spinner isn't immediately available, pthread_spin_lock() blocks until spinner can be locked.
If a thread attempts to lock a spinlock that's already locked via pthread_spin_lock() or pthread_spin_trylock(), the thread returns EDEADLK.
You may not get the desired behavior from this function because the current implementation is through mutexes. In the uncontested case, this gives the same behavior as spinlocks. In the contested case, this function makes a kernel call.
|
http://www.qnx.com/developers/docs/6.6.0.update/com.qnx.doc.neutrino.lib_ref/topic/p/pthread_spin_lock.html
|
CC-MAIN-2018-47
|
refinedweb
| 111
| 59.3
|
errcheck is a program for checking for unchecked errors in go programs.
go get -u github.com/kisielk/errcheck
errcheck requires Go 1.6 or newer and depends on the package go/loader from the golang.org/x/tools repository..
An example of an exclude file is:
io/ioutil.ReadFile (*net/http.Client).Do
The exclude list is combined with an internal list for functions in the Go standard library that have an error return type but are documented to never return an error..
Currently errcheck is unable to check packages that
import "C" due to limitations in the importer.
However, you can use errcheck on packages that depend on those which use cgo. In order for this to work you need to
go install the cgo dependencies before running errcheck on the dependant packages.
See for more details.
errcheck returns 1 if any problems were found in the checked files. It returns 2 if there were any other failures.
go-errcheck.el integrates errcheck with Emacs by providing a
go-errcheck command and customizable variables to automatically pass flags to errcheck.
vim-go can run errcheck via both its
:GoErrCheck and
:GoMetaLinter commands.
|
https://chromium.googlesource.com/external/github.com/kisielk/errcheck/
|
CC-MAIN-2017-34
|
refinedweb
| 194
| 58.69
|
BASENAME(3) BSD Programmer's Manual BASENAME(3)
basename - extract the base portion of a pathname
#include <libgen.h> char * basename(const char *path);
The basename() function returns the last component from the pathname pointed to by path, deleting any trailing '/' characters. If path con- sists entirely of '/' characters, a pointer to the string "/" is re- turned. If path is a null pointer or the empty string, a pointer to the string "." is returned.
On successful completion, basename() returns a pointer to the last com- ponent of path. If basename() fails, a null pointer is returned and the global variable errno is set to indicate the error.
The following error codes may be set in errno: [ENAMETOOLONG] The path component to be returned was larger than MAXPATHLEN.
basename() returns a pointer to internal static storage space that will be overwritten by subsequent calls.
basename(1), dirname(1), dirname(3)
The basename() function conforms to X/Open Portability Guide Issue 4.2 ("XPG4.2").
The basename() function first appeared in OpenBSD 2.2.
Todd C. Miller MirOS BSD #10-current August 17,.
|
http://www.mirbsd.org/htman/sparc/man3/basename.htm
|
CC-MAIN-2016-07
|
refinedweb
| 181
| 64.41
|
While Microsoft customers are drumming their fingers waiting for the next version of Windows Server to deliver native Docker container support, a third party -- not Docker, not Microsoft -- is attempting to provide Docker containers for the current generation of Windows Server systems.
WinDocks -- the name of both the company and its product -- has released a 1.0 version of a Docker engine designed to run on Windows Server with support for .Net and SQL Server in containers.
The Docker engine used in WinDocks is a direct port of the existing Docker daemon, combined with "an open-sourced Windows container project originally developed by Uhuru Software," according to WinDocks. (Uhuru also previously created a Windows version of Cloud Foundry and a .Net implementation of OpenShift.)
WinDocks reuses the existing Docker API, so the Docker client for Windows can interact with it. "We implemented a subset of the full Docker commands, arguments, and options, just as is the case with Microsoft's efforts on Windows Server 2016," said Paul Stanton, vice president of Windocks, in an email. "We will plug in and be part of the Docker tool ecosystem."
WinDocks could win over users with its support for .Net and Windows applications, as well as SQL Server in containers, which Microsoft currently does not do. Aside from running SQL Server, this includes "varied user configurations for Microsoft Dynamics," according to WinDocks' press material.
Though it uses open source software, WinDocks is commercially licensed. The standard cost is $400 per core per year; with SQL Server, the price climbs to $1,000 per core per year. A single-system, unlimited-cores developer license is available for $249.
There's a big reason why Docker has taken time to be ported to Windows, even with Microsoft helping out: A number of system-level constructs used by Docker don't yet exist in Windows. Most crucial among them is namespace services, used to prevent a containerized process from accessing certain parts of the system (such as network interfaces), restrictions for API calls to sandboxed processes, or mechanisms to keep contained processes from interacting (for instance, by way of shared memory).
WinDocks notes many of these limitations, but expects that the current user share for Windows Server 2012 -- which "won't peak in share of usage until around 2020," according to Stanton -- will drive interest toward the product.
|
https://www.infoworld.com/article/3051588/application-virtualization/windocks-does-what-docker-and-microsoft-cant-do.html
|
CC-MAIN-2018-51
|
refinedweb
| 392
| 51.07
|
In this article, I’d like to share how I managed to build a working Ambilight system using an ODROID-C2 and LibreElec. Other guides I previously found mainly targeted the Raspberry Pi, so I had to collect the information using Google and a bit of trial and error.
The high-level design uses Hyperion installed as an add-on for Kodi, from the LibreElec repo– installing by HyperCon is not possible due to the CPU for it being unknown–and an Arduino for controlling the LEDs using the FastLED library. The Arduino is connected to the ODROID-C2 via USB cable (the Arduino contains an USB-to-Serial converter). My TV is FullHD, so I needed no magic (i.e. RAM overclock and stuff like this) for 4K.
I used the below guides as a base for assembling and configuration. But since these guides are aimed toward use with the Raspberry Pi, I needed to adapt for ODROID-C2.
Raspberry Pi 3 Mediacenter + Hyperion Ambilight + NO soldering: Amblight project/guide – Hyperion – WS2801/ WS2812B / APA102:
It turns out that my configuration is affected by the rather annoying bug described here:
Video playback of starts to slow down after an arbitrary amount of time (between 30-70 minutes in my case) while the audio continues to play at proper speed, causing the audio and video to go out of sync with each other. After 30-60 seconds there is a small pause and skip, then afterwards the audio and video are in sync again, until it happens again in 30-70 minutes.
The above topic in the LibreElec forum is still unresolved, as the issue is proving quite difficult to fix. If anyone has a working system (ODROID-C2 running LE 8/Kodi 17 with Hyperion) that is not affected by this bug, please feel free to contribute the Hyperion config file! I plan to fiddle with Hyperion settings to see if something makes a difference, but that may take quite a bit of time.
Hardware
- ODROID-C2 plus case and power supply from Hardkernel, which cost about €72 when I bought it from last year
- Kingston 16GB Class10 MicroSD card, which cost about €8 from eBay
- Chinese clone of the Arduino Uno R3 board plus case and USB cable, which cost about €8.50 from eBay
- WS2812B 3-pin RGB LED strip, 30 LEDs per meter, 5m roll, which cost about €13.50 from eBay
- 5V 10A power supply. I had one laying around, so there was no cost, but you could probably find one for €10-20 on eBay or Aliexpress
- DIN power plug, which cost about €1.50 from eBay
- 3-pin JST male and female connector cables, which cost about €1.50 from eBay for 5 pieces
- 3-pin connectors 10mm for WS2812 set, which cost about €2 from eBay for 5 pieces
- Dupont male jumper cables, which cost about €1 from eBay for 40 pieces
- Heat shrink tubes, which cost about €EUR 1 from eBay for 70 pieces
- 500 ohm resistor, or 2 x 1K ohm resistors wired in parallel
- HDMI cable
- Electric welder for soldering the plugs and cables
Software
- LibreElec 8.2.1 MR image for ODROID-C2 downloaded from
- Hyperion AddOn for Kodi from LibreElec repo
- HyperCon tool for Hyperion ()
- Arduino IDE ()
- FastLED library for Arduino (download ZIP –)
- Control sketch (script) for Arduino ()
#include "FastLED.h" // How many leds in your strip? #define NUM_LEDS 92 // 12 //#define CLOCK_PIN 13 #define COLOR_ORDER GRB // Adalight sends a "Magic Word" (defined in /etc/boblight.conf) before sending the pixel data uint8_t prefix[] = {'A', 'd', 'a'}, hi, lo, chk, i; // Baudrate, higher rate allows faster refresh rate and more LEDs (defined in /etc/boblight.conf) #define serialRate 115200 // Define the array of leds); // initial RGB flash LEDS.showColor(CRGB(255, 0, 0)); delay(500); LEDS.showColor(CRGB(0, 255, 0)); delay(500); LEDS.showColor(CRGB(0, 0, 255)); delay(500); LEDS.showColor(CRGB(0, 0, 0)); Serial.begin(serialRate); Serial.print("Ada\n"); // Send "Magic Word" string to host } void loop() { // wait for first byte of Magic Word for(i = 0; i < sizeof prefix; ++i) { waitLoop: while (!Serial.available()) ;; // Check next byte in Magic Word if(prefix[i] == Serial.read()) continue; // otherwise, start over i = 0; goto waitLoop; } // Hi, Lo, Checksum while (!Serial.available()) ;; hi=Serial.read(); while (!Serial.available()) ;; lo=Serial.read(); while (!Serial.available()) ;; chk=Serial.read(); // if checksum does not match go back to wait if (chk != (hi ^ lo ^ 0x55)) { i=0; goto waitLoop; } memset(leds, 0, NUM_LEDS * sizeof(struct CRGB)); // read the transmission data and set LED values for (uint8_t i = 0; i < NUM_LEDS; i++) { byte r, g, b; while(!Serial.available()); r = Serial.read(); while(!Serial.available()); g = Serial.read(); while(!Serial.available()); b = Serial.read(); leds[i].r = r; leds[i].g = g; leds[i].b = b; } // shows new values FastLED.show(); }
Assembling the LED strip
The LED strip I purchased already had a 3-pin JST female socket built to the starting end, plus two additional wires (without a socket) for 5V and GND. I soldered used the latter two wires to the DIN power plug so that I could power the LEDs from the power supply. Make sure to use a plug that is compatible with your power supply!
I took a male JST connector cable and soldered Dupont wires to the end of GND and DATA wires so I could plug them into the pinouts of the Arduino board. The 5V wire is not used here, since it is not connected, so it can be cut and/or insulated. I soldered the 500 ohm resistor between the DATA wire and the Dupont cable so that control signals could go through it. All solder-joints have been secured by heat shrink tubes.
I started HyperCon on my computer and planned the configuration and the LED layout on the TV, making sure to measure the dimensions of my TV. I explored other configuration options on the Hyperion Wiki site and saved the LED config to the hyperion.config.json file. I then used the calculated LED numbers to cut the strip into appropriately sized pieces and used the 3-pin connector cables to attach them to each other. The 3-pin connector cables are required for the corners of the TV as the LED strip alone cannot be bent for 90 degrees.
Please note that these LED strips have a direction. Only the starting end can be used for input controls and distinct LEDs are addressed following each other. Look for “DI (Data Input) marking on the strip, near the LEDs themselves. The other end has “DO (Data Out) marking. You can use Google to find the WS2812b specifications.
My experience is that the 3-pin connectors cannot hold the strip too tightly, so exercise caution when mounting it to the back of your TV. If you have experience in precision soldering, you may be better off soldering wires to connect the strip parts instead of using the 3-pin connectors.
I installed LibreElec onto the micro SD card as per the instructions on, then assembled the ODROID-C2 and configured Kodi to my taste. I went to Settings -> Services -> Control in Kodi interface, and enabled both “Allow remote control from applications on this system” and “Allow remote control from applications on other systems”. I installed Arduino IDE to my computer, then extracted the FastLed library ZIP file to a separate subfolder under the \libraries folder. When I started the Arduino IDE after this, the FastLED library became available under the Sketch -> Available libraries menu.
I attached the Arduino board to my computer using the USB cable. I copied the sketch into Arduino IDE, set the number of LEDs in the strip in row #4 (you will have this number from HyperCon), and the pin used for LED control in row #9. Then I uploaded the sketch into the Arduino board, which only took a few seconds.
Assembly
I used the adhesive on the back the LED strip to stick it to the back of my TV. Some extra adhesive was required in a few places in order for it to stick firmly. I unplugged the Arduino board from my PC and plugged it into one of the USB ports on the ODROID-C2. I plugged the Dupont cable jumper soldered to the GND wire of the strip to the GND pin and the Dupont cable jumper soldered to the DATA wire of the strip to pin 12 of the Arduino. Finally, I plugged the power supply into the power plug soldered to the end of the strip.
Software configuration
LibreElec loaded the CH341 module automatically upon connection of the Arduino board to USB, and device /dev/ttyUSB0 appeared. This might, however, be different for you. I installed the Hyperion add-on on the Kodi interface, from the LibreElec repo. I opened the previously saved hypercon.config.json file on my computer, and edited it in 3 locations: device, frame-grabber, and effects. Updating the effects folder is necessary because it is different when Hyperion is installed as an add-on, instead of installing by HyperCon.
Note that other guides state to use 100000, 200000, and so on for the baud rate. For me, this resulted a repeated “Unable to open RS232 device (IO Exception (25): Inappropriate ioctl for device” error message in the Hyperion log. Switching to a 115200 baud rate made the issue go away. Make sure to notice the reversed “GRB” color order!
// DEVICE CONFIGURATION "device" : { "name" : "MyHyperionConfig", "type" : "adalight", "output" : "/dev/ttyUSB0", "rate" : 115200, "delayAfterConnect" : 0, "colorOrder" : "grb" }, "amlgrabber" : { "width" : 64, "height" : 64, "frequency_Hz" : 20.0, "priority" : 880 }, "framegrabber" : { "width" : 64, "height" : 64, "frequency_Hz" : 10.0, "priority" : 890 }, "effects" : { "paths" : [ "/storage/.kodi/addons/service.hyperion/effects" ] },I uploaded my updated hyperion.config.json file to /storage/.kodi/userdata/addon_data/service.hyperion/ folder in LibreElec. This is the folder where the Hyperion add-on looks for the config file. The UserData share can be used for the upload if the SMB server is enabled. I then rebooted LibreElec and, the Ambilight system now works properly for me. Hopefully I haven’t forgot anything above and someone will make use of this information. Any comments or suggestions for improvement are welcome!
For comments, questions, and suggestions, please visit the original forum post at.
Be the first to comment
|
https://magazine.odroid.com/article/ambilight-odroid-c2-using-libreelec-adapting-ambilight-odroid-c2/
|
CC-MAIN-2019-09
|
refinedweb
| 1,730
| 62.17
|
Re-distorting a set of points after camera calibration
I am working on a project in Python to calibrate a small thermal camera sensor (FLIR Lepton). Because of limited resolution initial distortion removal is not very exact. By using an iterative method I should be able to refine this calibration (for those of you with access to scientific articles, see this link). This requires me to take the following steps:
- Use a set of images of a calibration pattern to estimate the initial distortion
- Undistort the images
- Apply a perspective correction to the undistorted images
- Re-estimate the calibration point positions
- Remap these refined calibration points back to the original images
- Use the refined points to re-estimate the distortion
- Repeat until the RMS-error converges
I am stuck at step four. Below you see the commands I used to remove the camera distortion from the original image using the camera matrices and the distortion matrix.
mapx,mapy = cv2.initUndistortRectifyMap(mtx,dist,None,newcameramtx,(w,h),5) dst = cv2.remap(img,mapx,mapy,cv2.INTER_LINEAR)
So far I am not able to figure out how to reverse these commands to remap the new point positions to the original image. So far I am able to do (roughly in order of the steps above):
I have looked online and found the same question a bunch of times, with several examples in C++, which I cannot fully comprehend and modify for my purposes. I have tried the solution suggested by this post but this has not yielded the desired results, see last image above. There is my code of that solution
def distortBackPoints(x, y, cameraMatrix, dist): fx = cameraMatrix[0,0] fy = cameraMatrix[1,1] cx = cameraMatrix[0,2] cy = cameraMatrix[1,2] k1 = dist[0][0] * -1 k2 = dist[0][1] * -1 k3 = dist[0][4] * -1 p1 = dist[0][2] * -1 p2 = dist[0][3] * -1 x = (x - cx) / fx y = (y - cy) / fy r2 = x*x + y*y xDistort = x * (1 + k1 * r2 + k2 * r2 * r2 + k3 * r2 * r2 * r2) yDistort = y * (1 + k1 * r2 + k2 * r2 * r2 + k3 * r2 * r2 * r2) xDistort = xDistort + (2 * p1 * x * y + p2 * (r2 + 2 * x * x)) yDistort = yDistort + (p1 * (r2 + 2 * y * y) + 2 * p2 * x * y) xDistort = xDistort * fx + cx; yDistort = yDistort * fy + cy; return xDistort, yDistort
Then using this command to call the function
corners2 = [] for point in corners: x, y = distortBackPoints(point[0][0], point[0][1], newcameramtx, dist) corners2.append([x,y])
I am new to OpenCV and computer vision, so my knowledge about the algebra of these solutions is limited. Any hands on examples or correction to my current code would be greatly appreciated.
Kind regards,
Bart
calibrateCamera is already an iterative method
Is it a flat grid?
How do you make circle in IR ?
Hi LBerger,
The iterative method is ment to enhance the accuracy of the circle positions, since these thermal camera images are usually very low resolution, and thus less accurate.
The circles are made by using a laser cutter and the cardboard is heated so that it thermally contrasts with the background.
@bart.p1990 Thanks I will try laser cutter. About Calibration now If you calibrate calibrated image I think you are using k1,k2,k3,k4,k5 and k6. I don't know python but I think you should try it. with a field of view of 60° (lepton 3) I don't think you would need fisheye module
Can you explain more in detail what you mean? This is my current code to get the camera calibration:
Which flags would I need to set to turn off the fisheye distortion model / possibly get better calibration?
My image turns out pretty bad when I try to undistort it the the next time around
sometimes it is difficult to fit parameters. It is better to fit first k1 k2 k3 and reuse this parameter as initial value to fit all parameters I don't know python. I give you c++ function :
Thank you! I have not been able to make a difference using this suggestion.
Can you post images?
|
http://answers.opencv.org/question/148670/re-distorting-a-set-of-points-after-camera-calibration/
|
CC-MAIN-2019-18
|
refinedweb
| 686
| 55.37
|
Hi,
What I want to do:
I have a div in Dash that is of fixed size. In it is displayed a Graph which is longer than the parent div. So I added an overflow y option to the parent div. Now, I would like for the Graph (bar chart) to be as “compressed” as possible. Meaning small bar width and low bargap. The reason for that is that I don’t want the user having to scroll for just 4-5 elements.
Here is an example from the plotly page which I modified slightly:
import plotly.graph_objects as go years = [1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012] fig = go.Figure() fig.add_trace(go.Bar(x=years, y=[219, 146, 112, 127, 124, 180, 236, 207, 236, 263, 350, 430, 474, 526, 488, 537, 500, 439], name='Rest of world', marker_color='rgb(55, 83, 109)', width=0.1 )) fig.update_layout( title='US Export of Plastic Scrap', xaxis_tickfont_size=14, yaxis=dict( title='USD (millions)', titlefont_size=16, tickfont_size=14, ), legend=dict( x=0, y=1.0, bgcolor='rgba(255, 255, 255, 0)', bordercolor='rgba(255, 255, 255, 0)' ), barmode='group', bargap=0, # gap between bars of adjacent location coordinates. ) fig.show()
The width reduction works but not the bargap.
|
https://community.plotly.com/t/bargap-0-small-bar-width-possible/37747
|
CC-MAIN-2020-45
|
refinedweb
| 218
| 72.76
|
Postgres With Docker
Recently, someone asked for help with setting up postgres in docker and connecting to it with python.
While helping this person, I realized this is something that should be fairly straightforward with a simple set of instructions, but there aren’t a lot good beginner tutorials out there. So I decided to write this up because I’m sure it’s something other people would also find useful. A few years ago I wouldn’t have been able to do this even with a lot of googling (this time I only had to google a few things!).
Some beginner advice, before we get started on the actual steps
If you’re doing database infrastructure stuff for the first time, don’t worry about security. Don’t change the name of the default database, and don’t set up a user and a password. Just use the defaults for everything.
Keep things as simple as possible. Make sure you can get the thing running and connect to it. There’s no data in there yet anyway, so it doesn’t matter if it’s secure!
Most times, you’ll tie yourself up into knots trying to figure out if your problem is authentication or authorization, when actually you don’t have anything configured correctly, so the first time through, just skip that stuff and add it later.
Another tip: make sure you don’t have another database instance running on your system. For example, if you installed postgres on your mac with homebrew, make sure that’s been shut down, just to avoid confusion when you try to log in.
Step 1. Get set up with docker and make sure you can run the postgres container
1) Install docker if you don’t have it already (I didn’t have it on my current laptop at home). Docker has great documentation, I recommend reading it. You really only need to know a few commands to get started.
2) Get the postgres image:
docker pull postgres:alpine.
Alpine is just a very lightweight operating system.
3) Check the name by running
docker images.
You should see
postgres under
REPOSITORY, and
alpine under
tag.
4) Start the container:
docker run postgres. Your output should look something like this:/postgresql Success. You can now start the database server using: pg_ctl -D /var/lib/postgresql/data -l logfile start WARNING: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. **************************************************** WARNING: No password has been set for the database. This will allow anyone with access to the Postgres port to access your database. In Docker's default configuration, this is effectively any other container on the same system. Use "-e POSTGRES_PASSWORD=password" to set it in "docker run". **************************************************** waiting for server to start....2019-09-25 16:50:07.799 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2019-09-25 16:50:07.815 UTC [43] LOG: database system was shut down at 2019-09-25 16:50:07 UTC 2019-09-25 16:50:07.824 UTC [42] LOG: database system is ready to accept connections done server started /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* 2019-09-25 16:50:07.890 UTC [42] LOG: received fast shutdown request waiting for server to shut down....2019-09-25 16:50:07.893 UTC [42] LOG: aborting any active transactions 2019-09-25 16:50:07.897 UTC [42] LOG: background worker "logical replication launcher" (PID 49) exited with exit code 1 2019-09-25 16:50:07.897 UTC [44] LOG: shutting down 2019-09-25 16:50:07.911 UTC [42] LOG: database system is shut down done server stopped PostgreSQL init process complete; ready for start up. 2019-09-25 16:50:08.005 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2019-09-25 16:50:08.005 UTC [1] LOG: listening on IPv6 address "::", port 5432 2019-09-25 16:50:08.008 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2019-09-25 16:50:08.021 UTC [51] LOG: database system was shut down at 2019-09-25 16:50:07 UTC 2019-09-25 16:50:08.026 UTC [1] LOG: database system is ready to accept connections
Step 2. Log into the running container with bash and psql
This is basically just a sanity check, but you’ll probably want it anyway.
1) In a separate terminal window, log into the running container. First, run
docker ps to get the container ID.
Then
$ docker exec -it <container ID> bash.
-it means interactive terminal.
You should see a prompt that looks something like this:
root@5be3bfd7d2b6:/#
2) At the prompt, connect with the postgres command-line interface, which is called psql,
using the default username, which happens to also be
postgres.
root@5be3bfd7d2b6:/# psql -U postgres.
-U postgres means “with username as postgres”
3) Now we can check a couple of things. First, check if there’s a database there.
postgres-# \l
lowercase L is for ‘list’
You should see something like this:
postgres-# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+----------+------------+------------+----------------------- postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
4) Make sure you can connect to the default database.
postgres-# \c postgres
c is for connect, and postgres is the database name
Here’s what it looks like if it works:
postgres-# \c postgres You are now connected to database "postgres" as user "postgres".
Step 3. Connect to the database using python
1) In a third terminal window, fire up a conda environment. (To do this the way I did, you’ll have to install anaconda if you don’t have it already.)
conda create -n postgres-test python=3 psycopg2 ipython jupyter notebook
Conda has great documentation, I recommend reading it.
Psycopg2 is the name of the library we’ll use to connect to postgres.
I always install ipython and jupyter notebooks because I almost always end up using them for development and/or debugging.
2) Start up that environment:
conda activate postgres-test
You should see your prompt change again, so now it should show the environment name:
(postgres-test) ~/postgres-docker$
3) Start ipython (or jupyter if you’re doing more elaborate things).
ipython Then
import psycopg2
If ^this step gives an error, the package isn’t on your path. Run
!conda list to see if psycopg2 is in the list
of packages that are in your environment.
If ipython is not in the environment, conda will pull it from elsewhere on your machine. So ipython will run, but the path will be wrong, and you’ll be confused.
If that happens, exit out of ipython,
run
conda list again,
and make sure you have what you need.
If any packages are missing, you can activate the conda environment and then
conda install <packagename> or
pip install <packagename>.
I generally use pip as a fallback for anything conda can’t find.
4) Finally, connect to the database. Note that the documentation for psycogp2 is not completely up to date, and there is more than one way to do this, some of which may or may not work, depending on your situation.
conn = psycopg2.connect(host="0.0.0.0", port=5432, database="postgres", user="postgres", password="postgres")
This should fail because you need to change the default password.
OperationalError: FATAL: password authentication failed for user "postgres"
5) Go back to the terminal where you connected with psql. Now you can change the default password to something simple (again, we’re just trying to get it set up the first time!).
ALTER USER postgres with password 'test';
It should return
ALTER ROLE to indicate that it worked.
6) Now you should be able to actually connect using your new password:
conn = psycopg2.connect(host="0.0.0.0", port=5432, database="postgres", user="postgres", password="test")
After that, you’ll have to create a cursor, and then you can create some tables, and run queries, as described in the basic usage section of the psycopg2 docs.
Later, don’t forget to create a new user role, and change your password to something that’s actually secure, before you deploy your new app in the cloud, collect underpants, and profit!
|
https://szeitlin.github.io/posts/engineering/postgres-with-docker/
|
CC-MAIN-2022-27
|
refinedweb
| 1,412
| 64.3
|
I started a project to update my personal website using Silverlight. The goal is to use Prism/Composite Application Guidance to build out a nice site that demonstrates some Silverlight capabilities and make the source code available as a reference. One of the first pieces I chose to tackle was ensuring I could facilitate deep linking using Silverlight navigation and still take advantage of dynamic module loading using the Prism framework.
The initial research I did was not promising. Most sites claimed that Prism broke the Silverlight navigation, while others had partial solutions that didn't really cut it for me. Mapping a separate view in the main module to have a named region for every dynamically loaded module seems to be overkill. So, I set out to see for myself if it could be done. The answer, of course, is yes!
While the project is a simple pair of pages, I've built in a few more advanced pieces of functionality to extend its richness as a reference project. In addition to dynamic loading the module for the "biography" page, I've trimmed the size of the XAP files, sprinkled in a little search engine optimization, and used the visual state manager to handle some animations to boot.
You can download the full source code by clicking here. For a working demo, click here. You can use a sniffer or proxy like Fiddler 2 to confirm for yourself that the Biography module doesn't load until you click that tab, BUT you can also navigate directly:
-
-
-
I do apologize in advance for the vanity built into the project ... it is a project with the goal of replacing my biography website so it made since to name it after, well, me.
The first step in creating a deep linking navigation website is to go ahead and create a Silverlight Navigation Application. I called mine
JeremyLikness.Main and it gave me
JeremyLikness.Web to host it. Go ahead and trash everything in the views folder but the error window (I like that functionality, some might find it annoying), leave the
App pieces alone but rename the main page to
Shell.xaml.
Here's when things start to get interesting. First, I've seen a lot of implementations that want the pure "my module gets added magically" functionality, so they do things like inject the link to the module when the module itself gets loaded, etc. This is all great but then they also stuff a view in the main application that maps one-to-one with the module, give a new named region per module, and leave me scratching my head wondering, "What did we gain?" To me, the main portion of my app is a single region that can have multiple modules inject their views into it, so that's how I approached this project. 100K of XAP download if you don't care about reading my biography!
I end up keeping the generated code for the links (I'll go back and rearrange and style it later ... getting it functioning for me comes before making it pretty). I'm starting with two links, so that section looks like this:
<Border x: <StackPanel x: <HyperlinkButton x: <Rectangle x: <HyperlinkButton x: </StackPanel> </Border>
Not bad... Name it
ModuleCatalog.xaml. Blow away everything in there and instead put in the Prism notation for a module, like this:
<m:ModuleCatalog <m:ModuleInfoGroup <m:ModuleInfo </m:ModuleInfoGroup> <m:ModuleInfoGroup <m:ModuleInfo </m:ModuleInfoGroup> </m:ModuleCatalog>
I've purposefully set the home page to load when available and the bio to load on demand to show the difference between the methods ....ModuleBio and
JeremyLikness.ModuleHome.
Once the projects are created, blow away the all of the generated XAML files. You won't need the App object because this will be hosted in our main application. I simply added the references needed for Prism, then created a Views folder and added a
Home.xaml in my home project and a
Bio.xaml in my bio project. These are
UserControl types, not pages. In the root, I created
InitModule classes for both projects (note that I referenced this in the ModuleCatalog.xaml). The code looks almost identical - here is the bio:
namespace JeremyLikness.ModuleBio { public class InitModule : IModule { private IRegionManager _regionManager; public InitModule(IRegionManager regionManager) { _regionManager = regionManager; } #region IModule Members public void Initialize() { _regionManager.RegisterViewWithRegion("ModuleRegion", typeof(Bio)); } #endregion } }
Simple: reference the region manager in the constructor. The Prism will use Unity to resolve the reference and inject it. On the
Initialize method, we register our view with the region. The home project will register to the same region, but with
typeof(Home) home instead.
Now we've got the catalog and the modules, what's next?
Bootstrapping
We need to tell the Prism framework how to "get started." This means a bootstrapper. Back to
JeremyLikness.Main, I add a class called
Bootstrapper and base it on
UnityBootstrapper. I need to create the shell and set it as the root visual:
protected override DependencyObject CreateShell() { Shell shell = Container.Resolve<Shell>(); Application.Current.RootVisual = shell; return shell; }
I also need to supply a module catalog. For this, I'll point to the XAML file we created earlier:
protected override Microsoft.Practices.Composite.Modularity.IModuleCatalog GetModuleCatalog() { return Microsoft.Practices.Composite.Modularity.ModuleCatalog.CreateFromXaml( new Uri("JeremyLikness.Main;component/ModuleCatalog.xaml", UriKind.Relative)); }
You can see I'm telling it to look to the XAML to create the catalog, then specifying the path to it. The last thing I need to do is go into the
App.cs code behind and change the application start up to just run the boot strapper:
private void Application_Startup(object sender, StartupEventArgs e) { new Bootstrapper().Run(); }
Adapting to the Region
Prism works with defined regions that can host views.." I had two challenges for this application: the first was how to host the view, and the second was how to manage the visibility of the views. Ideally, something would hold all of the views as they are selected, then simply make them visible or invisible as they are selected/deselected.. After reading John Papa's excellent post, I made a
PrismExtensions folder and built my
GridRegionAdapter to allow Prism to use a grid as a container. You can read his article to understand the how/why and see how the adapter is constructer. I had to revisit the boot strapper and tell Prism how to map the adapter to the grid:
protected override RegionAdapterMappings ConfigureRegionAdapterMappings() { RegionAdapterMappings mappings = base.ConfigureRegionAdapterMappings(); mappings.RegisterMapping(typeof(Grid), Container.Resolve
()); return mappings; }
Now I was ready to give the solution a go!
The Problem with Navigation
The first iteration I tried was to declare a single page with the region adapter to process the requests. In my
Views folder in the main project, I created a Silverlight Page (Page, not UserControl) and called it
Module.xaml. The XAML for the module looked like this:
<navigation:Page x: <Grid x: </Grid> </navigation:Page>
Going back to the main shell, I mapped all requests to the module, like this:
/Module.xaml"/> <uriMapper:UriMapping </uriMapper:UriMapper> </navigation:Frame.UriMapper> </navigation:Frame> </Border>
As you can see, pretty much every request is handled by the
Module page. In the code behind, I had to work a little bit of magic to ensure the appropriate module would be loaded. First, I added a reference to the module manager:
public partial class Shell : UserControl { private IModuleManager _moduleManager; public Shell(IModuleManager moduleManager) { _moduleManager = module); ... }
The key here was getting the reference to the module manager, then calling the module load on the request. The module manager is smart enough to know when a module has already been loaded, so I didn't have to worry about that. The idea here is that when I request the "bio" tab, the string manipulation maps it to
JeremyLikness.ModuleBio.InitModule, then calls the manager. The manager checks to see if it is loaded. If not, it will download the required XAP file and initialize the module. The module would then register the view with the region and it would magically appear!
There were two problems that arose immediately. The first issue was visibility: the different pages were stacking on each other. I'd load the application and see the home page, then click on the bio tab and watch the bio appear overlaid on top of the home page. Definitely not the right solution! We'll address visibility in a minute.
The second was a little more disturbing. The pages were behaving a little strangely so I fired up the debugger and found something disturbing: every time I would navigate to a link, the navigation framework would generate a new instance of the
Module.xaml. This, in turn, would create new instances of the views. Just a few clicks of the tab and suddenly I had lots of instances hanging out that I just didn't need.
The solution for this was to create a static view that would live between navigation requests and hold the views as they are stacked in place. The first step was to build the container for the views. Under the
Views folder, I created
ViewContainer.xaml. The XAML contained the region mapping:
<UserControl x: <Grid x: </Grid> </UserControl>
The code behind implemented the singleton pattern:
public partial class ViewContainer : UserControl { private static readonly ViewContainer _viewContainer = new ViewContainer(); private ViewContainer() { InitializeComponent(); } public static ViewContainer GetViewContainer() { if (_viewContainer.Parent != null) { Grid grid = _viewContainer.Parent as Grid; grid.Children.Remove(_viewContainer); } return _viewContainer; } }
Note that an element can only have one parent, and cannot be added as a child to another element. The
GetViewContainer method first detaches the view from its previous parent before returning the instance so that the consumer of the method can use the orphaned view. I removed the region reference from the
Module.xaml and added this to the code behind:
public Module() { InitializeComponent(); MainGrid.Children.Add(ViewContainer.GetViewContainer()); }
Now the navigation will still create a new instance of
Module every time we navigate, but the module will simply reuse the same container for the views. This ensures that the views persist once they are added and don't have to be reloaded or recreated.
Next, I needed to manage showing and hiding the views so they don't remain stacked on top of each other.
Managing Visibility
To manage the views, I decided to create a service that the views will register to. The service is called when navigation takes place, and then calls back to the views to manage their visibility.
First, I created a new project that would be common across other projects. This was named, ironically,
JeremyLikness.Common. First was an interface that the views could use. They provide a name for themselves as well as a method to call to either show or hide. This offloads the need for the view manager to understand how to show or hide a view ... since the view is a
UserControl, it should have a pretty good idea.
public interface IPrismView { void Show(); void Hide(); string ViewName { get; } }
Next, I added a reference to the common project in both modules and implemented
IPrismView. This is what the
Bio.xaml.cs looked like:
#region IPrismView Members public void Show() { this.Visibility = Visibility.Visible; } public void Hide() { this.Visibility = Visibility.Collapsed; } public string ViewName { get { return "Bio"; } } #endregion
Now I can create my view manager. In the same common project, I created a class called
ActivationManager (continuing the Prism concept of "activating" a view although it is probably misnamed in retrospect).
ActivationManager contains a collection of views. It allows a view to register with it, then exposes a method called
SwapToView that iterates the views and calls their
Show or
Hide methods. It looks like this:
public class ActivationManager { List<WeakReference> _views = new List<WeakReference>(); public void Register(IPrismView view) { _views.Add(new WeakReference(view)); view.Show(); } public void SwapToView(string viewName) { foreach (WeakReference weakRef in _views) { if (weakRef.Target != null) { IPrismView view = (IPrismView)weakRef.Target; if (view != null) { if (view.ViewName.Equals(viewName)) { view.Show(); } else { view.Hide(); } } } } } }
Now we need to wire the activation manager in. We only need one copy, so in the boot strapper in the main project, I set up the instance:
protected override DependencyObject CreateShell() { Container.RegisterInstance<ActivationManager>( Container.Resolve<ActivationManager>()); Shell shell = Container.Resolve<Shell>(); Application.Current.RootVisual = shell; return shell; }
Notice I did this before creating the shell. There is a reason: we need the shell to coordinate the views. The shell has a method that fires when the navigation changes. If you recall, we used this method to tell the module manager to load the appropriate module. Now we'll need to pass in the activation manager and ask it to activate the views. These are the changes to the
Shell code-behind:
private ActivationManager _activationManager; public Shell(IModuleManager moduleManager, ActivationManager activationManager) { _moduleManager = moduleManager; _activationManager = activation); _activationManager.SwapToView(module);); } } } }
The last step is to take each module and pass the activation manager into the constructor so the view can register itself. This could probably be moved back into the module initialization (i.e. when the view is injected into the region) and perhaps even something extended on the framework to handle it. However, this works for now, using
Bio.xaml.cs as our example:
public Bio(ActivationManager activationManager) : this() { activationManager.Register(this); }
Notice that I use
this() to ensure it calls the default parameterless constructor to
InitializeComponent etc etc.
At this point, I claimed victory. After compiling and publishing the project, I was able to navigate between the home and bio tabs, and watch the bio module loaded dynamically when I navigated to the tab. The views swapped in and out nicely. If you were reading this for dynamic module loading ... there it is!
To round out the example, I wanted to show two more things. First, I wanted to take the idea of
Show and
Hide a step further, and second, I don't believe navigation or deep linking makes sense to discuss unless we also cover search engine optimization.
Visual State Manager
The visual state manager is the key to managing visual states on controls (seems like it was well-named, huh?). I have to thank Justin Angel for pointing this out to me when I was doing a lot of behaviors and triggers for animations that truly belonged in the VSM instead. Really, when we're swapping our views, we are changing the state of the view ("show me" or "hide me"). If we do this programmatically, then we're stuck with the attributes we set. However, if we do this through the VSM, then all of the the transition becomes customizable through the designer and in Expression Blend, so our designers can then tinker with the transitions without touching the code behind.
To demonstrate this, I decided to take both views and give them a
ShowState and a
HideState. To show the power of the Visual State Manager, I created two different transitions: the home page will explode in using a scale transform, while the biography page will fade in using an opacity animation.
Because there are a million examples that show how to add custom view states using Blend, I decided to document the code behind approach. The main container in our views is a grid, so that's what we're going to manipulate. I want the view to hide immediately, but when it goes to show, it should have a nice animation. This is what the
Bio.xaml ends up looking like:
<Grid x: <VisualStateManager.VisualStateGroups> <VisualStateGroup x: <VisualState x: <Storyboard> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:01.0000000" Storyboard. <EasingDoubleKeyFrame KeyTime="00:00:01" Value="1"/> </DoubleAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:01.0000000" Storyboard. <DiscreteObjectKeyFrame KeyTime="00:00:00"> <DiscreteObjectKeyFrame.Value> <Visibility>Visible</Visibility> </DiscreteObjectKeyFrame.Value> </DiscreteObjectKeyFrame> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState x: <Storyboard> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0000100" Storyboard. <EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/> </DoubleAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:01.0000100" Storyboard. <DiscreteObjectKeyFrame KeyTime="00:00:00"> <DiscreteObjectKeyFrame.Value> <Visibility>Collapsed</Visibility> </DiscreteObjectKeyFrame.Value> </DiscreteObjectKeyFrame> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <TextBlock>This is my bio. It tells people about me and my background.</TextBlock> </Grid>
So there are a few things going on here. First, we define a "group" of visual states that I call, sure enough,
VisualStates. I am defining two states: a
HideState and a
ShowState. The hide state has an animation with a zero duration and simply sets the Opacity to 0. The show state animates for a second (you'd normally make this faster, but it helps demonstrate my point) and fades in. While many people are used to the color and double animations, did you know there existed an object animation as well? This allows you to manipulate almost any property on your target control using the visual state. In this case, I won't even have to set the
Visibility property in my code behind - I simply define the value in the view state! Notice in the
ShowState that the property is set immediately so it becomes visible in time for the animation to fire and fade it in.
So now we simply go to the code-behind for our control and set the state. The VSM expects a control when you set the state, but it will traverse the hierarchy and find the state you specify. So while we set the state on our control, it will use the state definitions that are contained within the grid object. We also make sure we set a default state in the constructor. In this case, it will be hidden because the activation manager will call show when it is registered. This is what our new code-behind looks like:
public partial class Bio : UserControl, IPrismView { public Bio() { InitializeComponent(); VisualStateManager.GoToState(this, "HideState", false); } public Bio(ActivationManager activationManager) : this() { activationManager.Register(this); } #region IPrismView Members public void Show() { VisualStateManager.GoToState(this, "ShowState", true); } public void Hide() { VisualStateManager.GoToState(this, "HideState", true); } public string ViewName { get { return "Bio"; } } #endregion }
As you can see, we simply move to a new state and leave it up to the designer to add any fancy animations or other transitions when that happens.
Getting Along with Search Engines
The final piece here is to get along with search engines. Deep linking is nice if you just want to add it to your favorites and jump right in, but doesn't really do much for search engines when they are scanning the page. The search enginges need to have some points like a page title and description to properly index your pages.
In the common project, I created a class called
SEOHelper to contain my title, description, and keywords. It exposes a method called
PageUpdate that then parses these values into the HTML page. Let's take a look at the class:
public class SEOHelper { private const string TEMPLATE = "metatags = document.getElementsByTagName(\"meta\");" + "for (x=0;x<metatags.length;x++) {{" + "var name = metatags[x].getAttribute(\"name\");" + "if (name == '{0}'){{" + "var content = metatags[x].getAttribute(\"content\");" + "metatags[x].setAttribute('{0}','{1}');break;}}}}"; private List<string> _keywords = new List<string>(); public string Title { get; set; } public string Description { get; set; } public void AddKeyword(string keyword) { _keywords.Add(keyword); } public void UpdatePage() { HtmlPage.Document.SetProperty("title", Title); string titleSet = string.Format(TEMPLATE, "title", Title); HtmlPage.Window.Eval(titleSet); string descriptionSet = string.Format(TEMPLATE, "description", Description); HtmlPage.Window.Eval(descriptionSet); if (_keywords.Count > 0) { StringBuilder keywordList = new StringBuilder(); bool first = true; foreach (string keyword in _keywords) { keywordList.Append(keyword); if (first) { first = false; } else { keywordList.Append(","); } } string keywordSet = string.Format(TEMPLATE, "keywords", keywordList); HtmlPage.Window.Eval(keywordSet); } } }
I'm not a big fan of burying JavaScript inside of C# classes, so I included it here only to help keep the solution in one place. Ordinarily I'd have some methods defined in a .js file that this would link to.
Setting the title is a call into the document object. Setting the meta tags is a little more convuluted. You could create the tags but in this example, I'm stubbing out empty title, description, and keywords meta-tags, then finding them and updating the content attribute. The
TEMPLATE contains the code to iterate the tags, then update the content attribute. The
PageUpdate method simply updates the meta tag name and content then asks the page to evaluate the javascript.
Now we just place the object inside of the appropriate view and call it when the view becomes visible. Here is the new
Home.xaml.cs:
public partial class Home : UserControl, IPrismView { SEOHelper _helper = new SEOHelper { Title = "Home Page", Description="Home page for the website." }; public Home() { InitializeComponent(); VisualStateManager.GoToState(this, "HideState", false); _helper.AddKeyword("Home"); _helper.AddKeyword("SEO"); } public Home(ActivationManager activationManager) : this() { activationManager.Register(this); } #region IPrismView Members public void Show() { VisualStateManager.GoToState(this, "ShowState", true); _helper.UpdatePage(); } public void Hide() { VisualStateManager.GoToState(this, "HideState", true); } public string ViewName { get { return "Home"; } } #endregion }
As you can see, the helper takes in the settings for the page, then whenever the view is shown (the
Show) method, the helper is called to update the page. For testing, this could be abstracted even further to a
ISEOHelper to avoid trying to actually access the html page when its not needed.
Important Note: as pointed out by Alexey Zakharov in the comments, most search engines won't be able to fire up the Silverlight plug-in and run the XAP to even affect the page to "see" the meta data. To be able to truly have it all indexed, you'll still either need to have a separate page per link (which isn't too efficient with XAP files loading) or have a JavaScript stub independent of the Silverlight plugin that updates this information ... the search engines DO understand javascript for the most part. Thanks for that and I'll probably blog a post about it later, unless I suddenly start seeing my content show up on Google links.
Trimming the XAP Size
Last but not least is trimming the XAP size. I put most of my references in the main XAP file, so they aren't needed in the modules. By going to the project properties, I can check "Reduce XAP size by using appliciation library caching." This will create a new ZIP file that contains some of the referenced controls on my modules when they build, and not include them in the main XAP. Fortunately, these are already loaded by the main XAP, so there is nothing more to do when the XAP is loaded.
There it is ... I know this was a long blog post for what, in the end, is a simple page with two tabs. However, I hope this has proven that you can combine Prism with Silverlight Navigation and use dynamic module loading will keeping your pages search engine friendly. The VSM piece might have made sense in a separate post but I also wanted to get a good example out there that shows how to wire it in when you're not making a custom control or using Blend. Enjoy!
Hi Jeremy,
Your SEO helper won't work. Google bot (And i think bing bot too) cannot use Silverlight. That is why bot won't get any meta.
Best regards,
Alexey Zakharov.
Absolutely right. It looks nice to the end user but the search engines don't get that far. So I'm guessing best case scenario is to have a javscript stub that updates these indepedent of the Silverlight host based on the entry URL, and have some "helper links" on the main page. Will blog about that too, unless you have a solution you wanted me to point to. Thanks for bringing up the key piece, important for people to know! I've updated the blog content as well.
The link to your demo appears to be broken. otherwise, this was a nice quick runthrough.
I was unable to get the download code to run. The following exception is thrown:
Microsoft JScript runtime error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: Microsoft.Practices.Composite.Modularity.ModuleTypeLoadingException: Failed to load type for module JeremyLikness.ModuleHome.InitModule. Error was: An exception occurred during a WebClient request.. ---> ---
--- End of inner exception stack trace ---)
The reason for the error in my previous post was that the Main project required a reference to the Bio and Home projects. Once thopse were added the solution ran as expected.
Question
How do the views get destroyed ?
You are opening more than one view in the same region and only setting the view as this.Visibility = Visibility.Collapsed.
This means that if you navigate to Bio, you will still have the home view instantiated and in the region, not visible, but collapsed.
The views expose a show and hide which uses the visual state manager to transition to a show and hide state. The hide state collapses the visibility of the control. The navigation manager broadcasts the navigation event, and views that are part of it call their show method, and views that aren't, call their hide method.
With this example...
How sent parameters between views?
Example:
"/Map/21"
Where 21 es Identity
This URL is friendly with SEO ;)
Hi Jeremy - I'm working on implementing Dynamic loading of my PRISM modules as explained in your post.
Trouble is when I run your sample, I get an error.
- AbsoluteUri 'uri.AbsoluteUri' threw an exception of type 'System.InvalidOperationException' string {System.InvalidOperationException}
I've spent ages trying to figure out what the problem is but it's not obvious to me. I've tried many different combinations of th Uri string but nothing is working.
Can you help?
Thanks - Simon
There could be two issues with it, first, it may be an issue with running interactive vs. publishing to a web site and running. Second, it may be struggling with your Uri. Have you tried debugging and looking at the value you are passing as a uri? It may be improperly formatted.
Thanks Jeremy,
I've tried running in IIS and using dev web server but both fail.
I'm simply running your example trying to get that to work (my app has same problem) - and the line that fails is...
Uri uri = new Uri("/JeremyLikness.Main;component/ModuleCatalog.xaml", UriKind.Relative);
I've tried many options but this also fails...
Uri uri = new Uri("JeremyLikness.Main;component/ModuleCatalog.xaml", UriKind.Relative);
the uri returns an InvalidOperationException.
It looks like it could be something with my environment setup?
Hi Jermy,
I had implemented the progress Bar in Prism SL app by taking a rectangle(as u said) and setting a property to its visibilty. Every thing is fine but i need to show the progressbar more than 10 times(Views) different places.
I think its not a good option to make Rectangle(progressBar) to cover view each and every time.
Any Help to proceed
Further to this Jeremy. the application failing to load problem was not with the Uri - that worked fine. Unbelievably it appears it was simply due to do not having set a startup project and start page!
On another note, my application is dynamically loading modules now, however for some reason and I think it's because I'm not using the Navigation Framework (I built my own navigation system before it came out), I have to click the button which calls LoadModule and publishes the event to indicates the module needs to be loaded, twice. Simply what I need is to hook into an event that indicates when the module is loaded, but there's not one publicly available. ModuleTypeLoadedCallback is private in the CAL.
Do you know how I could pass a delegate to indicate when a module has been loaded? LoadModule returns nothing.
Thanks - Simon
Simon,
What version are you coding in? I'd suggest looking into the DeploymentCatalog from MEF. This has a nice set of events that update the progress of the download as well as provide a download completed event. I have more recent posts to show how to swap the PRISM module loading with MEF.
Hi Jeremy,
Thanks for the great tutorials. I am going building my application following your tutorials and will swap prism for mef too :).
One question though, did the Module projects have to be Navigation applications as well.
Thanks.
CC.
Also any reason why the a resx file template was used for the ModuleCatalog.
Thanks,
CC
No, they can be regular Silverlight applications. We don't use a RESX file as the template but a Resource Dictionary (the Silverlight Resource Dictionary is a XAML) because it generates the shell without code behind.
Jeremy,
Can you inject multiple views in a single region, or is it have to be a 1-to-1 mapping.
If yes, can you have a small demo for me.
Thnx,
Zullu.
You can. Use an ItemsControl, stack panel or other control that allows multiple children and then write a navigation manager that swaps the views in/out of visibility.
Sorry, no time to write the demo but hope you get the gist of the architecture.
Hi Jeremy, Thanks for this article. The InitModule.Initialize methods in your example all use view discovery. If I swap this :
_regionManager.RegisterViewWithRegion("ModuleRegion", typeof(Bio));
for this:
//get the module region
IRegion moduleRegion = this._regionManager.Regions["ModuleRegion"];
//get a view to inject into the moduleregion
var moduleView = new Home();
//inject it!
IRegionManager moduleRegionManager = moduleRegion.Add(moduleView, "Home", true);
moduleRegion.Activate(moduleView);
then the views fail to load correctly as this :
public Bio(ActivationManager activationManager) : this()
{
activationManager.Register(this);
}
never gets called.
I would like to view use view injection. Do you know why view injection results in the constructor with the activationManager parameter not to be called?
Thanks
Kevin
Hi Jeremy, I figures this out. I needed to do this :
var moduleView = _container.Resolve();
instead of this :
var moduleView = new Home();
Thanks
Kevin
Hi Jeremy
Above you state ..
"Now the navigation will still create a new instance of Module every time we navigate, but the module will simply reuse the same container for the views. This ensures that the views persist once they are added and don't have to be reloaded or recreated."
What if DO NOT want some of my views to persist?
Maybe some I do, because the data displayed on them will not change, but some I do not, because I need to create a new instance each time.
E.g I have a prism module that contains a view that lists employees. I choose an employee and click a button to navigate to edit the employee. Another prism module is used to display a employee edit view. I then navigate back to the list of employees view (which has been persisted) and pick another employee. Because the employee edit view has also been persisted it just shows the previous employee edit view with the previously selected employee. I wanted a new instance with the newly selected employee.
Any ideas?
Thanks
Kevin
That scenario I typically handle via data-binding. There is no need to recycle the view, it is just a prism through which you project the "light" of your data to split it into "information" for the user. Therefore, when the user selects a new employee, you simply need to notify the view model for the employee detail view that the selection has changed, so when it is navigated back to, it reflects the newly selected employee.
to Jeremy Likness:
In my case, I want to separate into a separate module menu - LinksStackPanel. So how do I do? Please show me how to solve. Thanks a lot.
I was able to convert this solution to Visual Studio 2010 and Silverlight 4 by doing the following:
- Open the solution in Vs2010.
- Follow the conversion wizard, answer yes when it asks to convert the ASP.Net site to .Net 4.0.
- In each Silverlight project, remove references to the Prism assemblies included in JeremyLikness.Main\CAL and replace them with references to the latest Prism 2.2 assemblies.
- Change each Silverlight project to target Silverlight 4.
- In JeremyLikness.Main\Bootstrapper.cs, add "
using Microsoft.Practices.Unity;" to the top of the file so that the IUnityContainer extension methods work (Container.Resolve() and Container.RegisterInstance()).
Hello Jeremy,
Thank you for the post.
However my main application is downloading another xap that has got its own navigation with the left menu items.
Now when I click on these left menu item it is reporting for the XAML not found.
Assuming it is using one NavigationService, how can we go about it?
Please give me a direction and I am sure many other would want to know that.
Please do help me.
I am stil using the Silverlight 3 example and i have a question. When i add a button to the home page directing to the Bio page i get the bio page but the nav bar is never changed it still has the home highlighted. how could i get around this? or better what am i missing?
Thanks for this - it's a very useful tutorial.
Am wondering if it's possible to dynamically load modules from the client side? I need to write an out-of-browser app which can work disconnected from the server, but which also can be easily extended - i.e. by adding more modules to it dynamically. If I use the above approach it seems it pulls the modules direct from the server, when required. Hopefully there is a possibility of downloading the xaps/dlls at the OOB install time then storing them in the isolated storage and loading dynamically from there?
Any ideas would be very much appreciated.
Great article.
I was able to make Silverlight Navigation framework, MVVM and Prism work together in my application.
Thanks.
Hi Jeremy,
I have download attached code and it is working fine for me. I have 1 question here:
In addition to provided demo, i want to use Domain Services, Could you please let me know where I have to add Domain Service so that I can get Domain Service Reference in ModuleHome or ModuleBio where I needed.
Regards,
Neeraj
Thank you so much for this amazing post. Following the explanation I could setup my project to have dynamic module loading without the caveat of memory leak. I modified your code a little bit to get it to work without using a GridRegionAdapter following the lead from NVenhola at John Papa's site.
Hi Jeremy,
I have multiple modules and they will be saved remotely in the same domain. The ure of the module would be like:.
How do I need to configure ModuleInfo in ModuleCatalog in order to aciewe that?
Hi Jeremy,
Great article. I see in your module catalogue you have hard coded the version to 1.0.0.0. Any idea how to handle this on a build server? I have a solution using PRISM, and Castle Windsor to do the IOC and dymanic module loading. It works but I've also had to hard code the version number in the module catalogue which means that it never works on the build server when it is overriden. I've searched all over and a solution doesn't seem to be documented apart from to create a post build event to interrogate the xaml and change it which sounds.. well nasty!
@Phil,
Part of why I wrote Jounce was because I found the module implementation in Prism to be way too complex for what it does in Silverlight. Now I simply use dynamic XAPs and have a far easier time of it.
Is any version in plan with using PRISM 4 and Silverlight 5?
|
http://csharperimage.jeremylikness.com/2009/11/dynamic-module-loading-with-silverlight.html
|
CC-MAIN-2014-15
|
refinedweb
| 5,983
| 56.55
|
This is the gr-filter package. It contains signal processing blocks to perform filtering operations.
The Python namespace is in gnuradio.filter, which would be normally imported as:
See the Doxygen documentation for details about the blocks available in this package. A quick listing of the details can be found in Python after importing by using:
The filter blocks depend on FFT Signal Processing Blocks.
There are many filter blocks and kernels in GNU Radio. Filter blocks are standard GNU Radio blocks that fit into a flowgraph. Filter kernels are the guts of the filtering operations that are C++ classes which are designed to be useful within other blocks. The filtering module also comes with a number of filter design tools.
To help build filters, GNU Radio includes a number of design tools. These tools build standard filters like low pass, high pass, band pass, etc. There are two main flavors of the filter design tools:
The GNU Radio filter library also exports the Parks-McClellen algorithm in both C++ and Python as gr::filter::pm_remez.
The firdes.h filter contains functions to design the following types of filters (see gr::filter::firdes):
The optfir.py contains a set of Python-only functions that define equiripple filters using the Parks-McClellen algorithm:
GNU Radio has a filter design GUI tool called gr_filter_design. This tool allows us to build filters using the filter design methods above and look at the results immediately. The frequency and time domain along with other aspects of the filter like the phase profile, group delay, the filter taps as a list, impulse response, and step response. Also displayed is a pole-zero plot.
The filter design tool is useful to provide immediate feedback on the shape, behavior, and complexity of the filter from the design parameters. The tool also includes a save capability to save the taps and parameters in a simple comma-separated value (CSV) format.
Furthermore, the filter design program can be called and used for interaction within a Python program. There are a few ways in which we can interact with the tool programmatically.
The tool can be simply launched from Python, and when closed, it returns an object filled with the filter parameters and taps. An example of this can be found in examples/filter/gr_filtdes_api.py.
Another way of using the filter design tool is to give it a callback function that is called whenever the "Design" button is pressed in the GUI. The following code comes from the examples/filter/gr_filtdes_callback.py example. Whenever "Design" is pressed, the "print_params" function is called with the filter parameters and taps inside of the "filtobj" object.
Changing one line in the above code allows us to set restrictions on what type of filter the design tool can build. This concept is shown in examples/filter/gr_filtdes_restrict.py. Here, the filter type is restricted to using IIR filters.
An application running a full GNU Radio flowgraph can actually launch the filter design tool and have it update a filter while the system is running. This concept is an extension of the callback function and is shown in the example examples/filter/gr_filtdes_live_upd.py. The code is not shown here as the full code is quite long.
|
https://www.gnuradio.org/doc/doxygen/page_filter.html
|
CC-MAIN-2018-22
|
refinedweb
| 542
| 55.03
|
But what about the files that each client reads and writes? The Isilon cluster presents all of its storage in a big single namespace, and so what happens if users 1, 2, and 3 all want to read and write to the same files, even though they're connecting to three different nodes? Again, the answer comes from the highly distributed nature of OneFS and from all the nodes acting in concert. Remember that the cluster stripes files based on the N+M protection level (or mirrors them, if that's what it's supposed to do). Exactly how a file is striped, and to exactly what nodes it gets striped, is controlled by the node that first receives that particular file from a client.
In step 1, a user writes a PDF file to our ten-node cluster, which we've configured to give 9+1 protection to our files. In step 2, the node to which the user copied the file starts dividing the file up into 128k blocks, and since this is an example, we're going to say that our file is a fortuitous 3,456MB in size, which chops up nicely into twenty-seven 128KB chunks. The node does the chopping, then communicates over the back-end Infiniband IP network with the other cluster nodes and finds out who's not busy at the moment and who's got space available. Then in step 3, the node spits out the 128KB chunks over the back-end network to the other nodes in three ten-element stripes, each stripe element landing on a different disk.
The process for reading back files is the same, but in reverse (and I didn't make any diagrams for that). A client asks the node to which it's it's connected for whatever file it wants. The node checks its copy of the file system journal to see where the pieces that make up that particular file have been distributed on the cluster, and then contacts those other nodes over the back-end network. It gets those nodes to send it the file's chunks, and then reassembles them in its cache. Finally, it sends the file back out to the client.
There's a significant amount of communication going back and forth between all of the nodes all the time—every single operation requires the nodes to communicate, and beyond that, the nodes are each continually attempting to keep their percentage of free vs. used space roughly equal, and so there's a low-priority restriping task constantly running to keep things balanced. This is the main reason for using Infiniband to hook the nodes together—Infiniband's extremely low latency means that the back-end network can handle a tremendous amount of IO without becoming saturated.
Scaling out
The last thing to touch on is cluster expansion. Isilon's biggest marketing point, and one that there are lots and lots of papers about, is its ability to adapt to changing workloads by adding different types of nodes into the mix. Like I mentioned way back at the beginning of the article, there are nodes that contribute CPU and network throughput; there are nodes that are big SATA containers that don't add much CPU but add lots of capacity; there are nodes with some solid-state disks and some regular disks that add tons of IOPS, and there are middle-of-the-road nodes that add a mix of CPU and fast disk.
That's great, but since the whole purpose of the cluster is to present one big glob of storage under a single name, what happens when the storage in the cluster isn't homogenous in nature? If you've got a mix of SSDs and near-line SATA and Fibre Channel disks, how does the cluster decide what goes on the SSDs and what goes on the SATA disks?
Most of the big storage solutions these days have their method of auto-tiering—that is, letting data (either files or blocks, depending on the method) move automatically between faster or slower disks based on how hard the data are being used. Isilon calls their auto-tiering feature SmartPools (Isilon loves its CamelCase words). In a system with different types of nodes—maybe you've got some big near-line storage buckets, maybe a few nodes with SSDs, and a few Fibre Channel nodes, too—the system lets the administrator define performance policies for each type of node, and then the system watches to see how files and directories are being accessed and moves them around accordingly. The system administrator can also manually specify that certain files or directories should be optimized for fast access to bump them up, if needed. The rule-set governing what goes where and why can be made complex or simple, depending on the requirements, but the convenience factor of being able to pop in a few performance nodes in order to pep up a laggy system is extremely high.
It's been a long road, getting from there to here
And so we circle all the way back to the opening premise—with all this being said, what makes Isilon a fit for a company like Apple to use for hosting something like the iTunes back-end? Isilon fits this task, which involves ingesting and regurgitating lots of big files, because it takes those big files and stripes them out across lots of disks in lots of nodes, and each node has its own CPU and global cache and network resources to service IO. Further, the cluster can be expanded on the fly, in the middle of production, without downtime, as new files come in or new workloads develop. Further still, those expansions bring with them not just additional disk but additional CPU, cache, and networking, and so adding nodes can make the entire system not just bigger, but faster, even for existing shares.
From a technology standpoint, Isilon's take on IO distribution and slicing at the scale they're presenting seems to be unique, and it's something I've been fascinated with for a long time. In some ways, it kind of resembles Drobo's BeyondRAID method of pooling and storage presentation, though the similarities are superficial at best—OneFS is a node-based NAS operating system that distributes files in stripes and mirrors across nodes, scales to north of 10,000 TB, and can handle hundreds of thousands of concurrent IOPS and tens of gigabits of throughput per second at scale; BeyondRAID is a disk-based method of pooling that distributes files in stripes and mirrors across a few disks in a single system, and can handle a much smaller workload.
Isilon NAS clusters are big, though, and that's why I wanted to put this article together—big stuff is cool. There are lots of neat technologies working in data centers around the world in monstrous racks, and I very much enjoy learning about all of them in depth, no matter who makes them or what they're for. It's a trait that I think a lot of geeks share.
You must login or create an account to comment.
|
https://arstechnica.com/information-technology/2011/05/isilon-overview/5/
|
CC-MAIN-2017-47
|
refinedweb
| 1,206
| 57.03
|
Here a few things I found out after a lot of mucking around:
- Tuples that go into the user_options array should look like:
('mysql-root-passwd=', "p", 'MySQL root password for local server [default: None]')The '=' on the first element tells distutils this options should have a value (i.e. it is not a boolean option)
- Options get stored as object variables in your class so the one above turns up as self.mysql_root_passwd - note the substitution for '-'.
- To subclass the install command inherit from
from distutils.command.install import installand set
'cmdclass': {'install': WhitetrashInstallData}in your call to setup.
- If the doco sucks, take a look at the code:
/usr/lib/python2.5/distutils/command/install_data.pyhelped me.
1 comment:
/distutils/cmd.py is good to read too.
|
http://ilostmynotes.blogspot.com/2009/04/python-distutils-installer-and.html
|
CC-MAIN-2017-34
|
refinedweb
| 129
| 57.27
|
Borislav Hadzhiev
Last updated: Aug 17, 2022
To return multiple values from a function and only use one:
def my_func(): return 'one', 'two', 'three' # ✅ Return multiple values from function and only use one first = my_func()[0] print(first) # 👉️ 'one second = my_func()[1] print(second) # 👉️ 'two' third = my_func()[2] print(third) # 👉️ 'three' # ---------------------------- _, second, _ = my_func() print(second) # 👉️ 'two' # ---------------------------- first, *_ = my_func() print(first) # 👉️ 'one'
Make sure to use parentheses to call the function before accessing a value at a specific index.
def my_func(): return 'one', 'two', 'three' first = my_func()[0] print(first) # 👉️ 'one
0, and the last element has an index of
-1or
len(collection) - 1.
If you try to access a collection at an index that is out of range, you'd get an
IndexError.
You can use a
try/except statement if you need to handle the error.
def my_func(): return 'one', 'two', 'three' try: first = my_func()[100] print(first) # 👉️ 'one except IndexError: pass
The specified index is out of range, so the
except block runs.
Alternatively, you can use unpacking to only use one of multiple returned values from a function.
def my_func(): return 'one', 'two', 'three' _, second, _ = my_func() print(second) # 👉️ 'two'
When unpacking from a tuple or list, each variable declaration counts for a single item.
Make sure to declare exactly as many variables as there are items in the tuple or list.
You can use underscores for the values you are not interested in.
If you try to unpack more or less values than there are in the collection, you would get an error.
You can also use the iterable unpacking operator to store the rest of the items after you have assigned the one value you need to a variable.
def my_func(): return 'one', 'two', 'three' first, *_ = my_func() print(first) # 👉️ 'one' print(_) # 👉️ ['two', 'three']
The * iterable unpacking operator enables us to unpack an iterable in function calls, in comprehensions, in generator expressions and when assigning to a variable.
The underscore
_ variable stores all of the values the function returns after
the first value.
|
https://bobbyhadz.com/blog/python-return-multiple-values-use-only-one
|
CC-MAIN-2022-40
|
refinedweb
| 344
| 54.46
|
import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumezone"
const ( // Name is the name of the plugin used in the plugin registry and configurations. Name = "VolumeZone" // ErrReasonConflict is used for NoVolumeZoneConflict predicate error. ErrReasonConflict = "node(s) had no available volume zone" )
New initializes a new plugin and returns it.
VolumeZone is a plugin that checks volume zone.
func (pl *VolumeZone) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
It evaluates if a pod can fit due to the volumes it requests, given that some volumes may have zone scheduling constraints. The requirement is that any volume zone-labels must match the equivalent zone-labels on the node. It is OK for the node to have more zone-label constraints (for example, a hypothetical replicated volume might allow region-wide access)
Currently this is only supported with PersistentVolumeClaims, and looks to the labels only on the bound PersistentVolume.
Working with volumes declared inline in the pod specification (i.e. not using a PersistentVolume) is likely to be harder, as it would require determining the zone of a volume during scheduling, and that is likely to require calling out to the cloud provider. It seems that we are moving away from inline volume declarations anyway.
func (pl *VolumeZone) Name() string
Name returns name of the plugin. It is used in logs, etc.
Package volumezone imports 12 packages (graph) and is imported by 23 packages. Updated 2020-06-03. Refresh now. Tools for package owners.
|
https://godoc.org/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumezone
|
CC-MAIN-2020-40
|
refinedweb
| 256
| 50.43
|
Introduction
I did not set out to write this library. It "happened" as a side-effect of a project I started that uses a BMP280. That project is not yet finished, but I think the library is ready to share with others. Feedback, especially any suggestions for improvements, will be appreciated.
Library features and capabilities
A library is a piece of software that provides an Application Programming Interface (API) for a programmer to exercise the capabilities of the device, without necessarily having to deal with all the fine-grain details. Desirably, the API should be easy for a beginner with simple requirements to get started, while providing for full exploitation of the device capabilities. Desirably the library should follow any specific guidelines from the device manufacturer, as well as general software good practice. I have endeavoured to achieve all of these.
When starting out with the BMP280, I found 3 different libraries for it: Adafruit_BMP280; Seeed_BMP280; and one called BMP280 from the device manufacturer. Neither Adafruit nor Seeed provided extended capabilities, although they worked well and were easy to use for basic applications. I could not figure our how to use the one produced by the device manufacturer (Bosch Sensortec). This may be my deficiency, rather than theirs. However the library was much more complicated than the other two, I could not find any instructions or examples of use.
As a result of these factors, I decided to write my own.
Device capabilities
The BMP280 is a surface-mount device about 5mm square and 1 mm high. It has 8 interface pads, including 2 separate power input pads and two Ground pads. It is available on eBay as a module with 6 pins brought out.
The device can be used with either I2C or SPI protocols. In I2C mode it can have two different addresses, achieved by connecting the SDO pin either to Ground (for base address = 0x76) or to Vdd (for base address +1 = 0x77). In SPI mode it has the usual arrangement of 1 clock, 2 data (one for each direction) and a device select pin (CS).
The library I wrote and describe here only supports I2C. The Adafruit_BMP280 library has support for both i2C and SPI.
The library can be downloaded here:
Step 1: Setting Up the Hardware
Before the library can be useful it is necessary to connect a microcontroller to the BMP280 (or to two of them if you wish).
I used a WeMos D1 mini pro, so I will show its connections. Other microcontrollers will be similar, you just need to get the SDA and SCL pins connected correctly.
In the case of the WeMos D1 mini pro, the connections are:
Function WeMos pin BMP280 pin Notes SDA D2 SDA SCL D1 SCL Vdd 3V3 Vin Nominal 3.3V Ground GND Address control SDO Ground or Vdd I2C select CSB Vdd (GND selects SPI)
Note that the SDO pin on some of the MP280 modules is labelled SDD, and the Vdd pin may be labelled VCC.
Step 2: APIs Provided by the Library
Including the library in a sketch
The library is included in a sketch in the standard way using the statement
#include "farmerkeith_BMP280.h"
This statement needs to be included in the early part of the sketch prior to the start of the setup() function.
Creating the BMP software object
There are 3 levels for creating the BMP280 software object. The simplest is just
BMP280 objectName;
for example, BMP280 bmp0;
This creates the software object with the default address of 0x76 (ie for SDO connected to ground).
The next level for creating the BMP280 software object has a parameter of either 0 or 1, as follows:
BMP280 objectNameA(0); BMP280 objectNameB(1);
The parameter (0 or 1) is added to the I2C base address, so that two BMP280 devices can be used on the same I2C bus.
The third level for creating the BMP280 software object has two parameters. The first paramter, which is either 0 or 1, is for the address, as for the previous case. The second parameter controls debug printing. If it is set to 1, each transaction with the software object results in Serial.print outputs that enables the programmer to see the details of the transaction. For example:
BMP280 objectNameB(1,1);
If the debug printing parameter is set to 0, the software object reverts to normal behaviour (no printing).
This statement or statements needs to be included after the #include and before the setup() function.
Initialising the BMP software object
Before being used, it is necessary to read the calibration parameters from the device, and to configure it for whatever measurement mode, oversampling, and filter settings are appropriate.
For a simple, general purpose initialisation, the statement is:
objectName.begin();
This version of begin() reads the calibration parameters from the device and sets osrs_t=7 (16 temperature measurements), osrs_p=7 (16 pressure measurements), mode=3 (continuous, Normal), t_sb=0 (0.5 ms sleep between measurement sets), filter=0 (K=1, so no filtering) and spiw_en=0 (SPI disabled, so use I2C).
There is another version of begin() that takes all six parameters. The equivalent of the above statement is
objectName.begin(7,7,3,0,0,0); // osrs_t, osrs_p, mode, t_sb, filter, spiw_en
The full list of codes and their meanings is in the BMP280 data sheet, and also in the comments in the .cpp file in the library.
Simple temperature and pressure measurement
To get a temperature measurement the simplest way is
double temperature=objectName.readTemperature (); // measure temperature
To get a pressure measurement the simplest way is
double pressure=objectName.readPressure (); // measure pressure
To get both temperature and pressure the above two statements can be used one after the other, but there is another option, which is:
double temperature; double pressure=objectName.readPressure (temperature); // measure pressure and temperature
This statement reads the data from the BMP280 device only once, and returns both temperature and pressure. This is slightly more efficient use of the I2C bus and ensures that the two readings correspond to the same measurement cycle.
These use cases are covered in three example sketches provided with the library, being basicTemperature.ino, basicPressure.ino, and basicTemperatureAndPressure.ino.
More sophisticated temperature and pressure measurement
Although the above series of statements will work without problems, there are a couple of issues:
- the device is running continuously, and therefore is consuming power at its maximum level. If the energy is coming from a battery, it may be necessary to reduce this.
- due to the power consumed, the device will experience warming, and therefore the measured temperature will be higher than the ambient temperature. I will cover this more in a later step.
A result that uses less power, and gives a temperature that is closer to ambient, can be obtained by using begin() with parameters that put it to sleep (eg mode=0). For example:
objectName.begin(1,1,0,0,0,0); // osrs_t, osrs_p, mode, t_sb, filter, spiw_en
Then, when a measurement is wanted, wake up the device with a configuration command to register F4 that sets the appropriate values of osrs_t and osrs_p, plus mode=1 (single shot mode). For example:
objectName.updateF4Control(1,1,1); // osrs_t, osrs_p, mode
Having woken up the device, it will start measuring, but the result will not be available for some milliseconds - at least 4 ms, maybe up to 70 ms or more, depending on the number of measurements that have been specified. If the read command is sent immediately, the device will return the values from the previous measurement - which may be acceptable in some applications, but in most cases it is probably better to delay until the new measurement is available.
This delay can be done in several ways.
- wait a fixed amount of time to cover the longest expected delay
- wait an amount of time calculated from the maximum measurement time per measurement (ie 2.3ms) times the number of measurements, plus overhead, plus a margin.
- wait a shorter amount of time calculated as above, but using the nominal measurement time (ie 2 ms) plus overhead, and then start checking the "I am measuring" bit in the status register. When the status bit reads 0 (ie, not measuring), get the temperature and pressure readings.
- immediately start checking the status register, and get the temperature and pressure readings when the status bit reads 0,
I will show an example of one way of doing this a bit later.
Configuration register operations
To make all this happen, we need several tools that I have not yet introduced. They are:
byte readRegister(reg) void updateRegister(reg, value)
Each of these has several derived commands in the library, which make the software for specific actions a bit simpler.
The example powerSaverPressureAndTemperature.ino uses method No. 3. The line of code that does the repeated checking is
while (bmp0.readRegister(0xF3)>>3); // loop untl F3bit 3 ==0
Note that this sketch is for an ESP8266 microcontroller. I used a WeMos D1 mini pro. The sketch will not work with Atmega microcontrollers, which have different instructions for sleeping. This sketch exercises several other commands, so I will introduce all of them before describing that sketch in more detail.
When the microcontoller is sleeping in parallel with the BMP280 sensor, the configuration of the sensor for the required measurements can be done in the begin() command, using the 6 parameters. However if the microcontroller is not sleeping, but the sensor is, then at the time of measurement the sensor has to be woken up and told its measurement configuration. This can be done directly with
updateRegister(reg, value)
but is a bit easier with the following two commands:
updateF4Control(osrs_t, osrs_p, mode); updateF5Config(t_sb, filter, spi3W_en);
After the measurement is done, if the mode used is Single shot (Forced mode), then the device will automatically go back to sleep. However, if the measurement set involves multiple measurements using continuous (Normal) mode then the BMP280 will need to be put back to sleep. this can be done with eiher of the two following commands:
updateF4Control16xSleep(); updateF4ControlSleep(value);
Both of these set the mode bits to 00 (ie sleep mode). However the first of sets the osrs_t and osrs_p to 111 (ie 16 measurements) whle the second one stores the low 6 bits from value into bits 2:7 of the 0xF4 register.
Similarly the following statement stores the low six bits of value into bits 2:7 of the 0xF5 register.
updateF5ConfigSleep(byte value);
The use of these latter commands enable storage of 12 bits of information in the BMP280 registers F4 and F5. At least in the case of the ESP8266, when the microcontroller wakes up after a period of sleep, it starts at the beginning of the sketch with no knowledge of its state prior to the sleep command. To store knowledge of its state prior to the sleep command, data can be stored in flash memory, using either the EEPROM functions or by writing a file using SPIFFS. However flash memory has a limitation of the number of write cycles, of the order of 10,000 to 100,000. This means that if the microcontroller is going through a sleep-wake cycle every few seconds, it can exceed the allowable memory write limit in a few months. Storing a few bits of data in the BMP280 has no such limitation.
The data stored in registers F4 and F5 can be recovered when the microcontroller wakes up using the commands
readF4Sleep(); readF5Sleep();
These functions read the corresponding register, shift the contents to remove the 2 LSBs and return the remaining 6 bits. These functions are used in the example sketch powerSaverPressureAndTemperature.ino as follows:
// read value of EventCounter back from bmp1 byte bmp1F4value= bmp1.readF4Sleep(); // 0 to 63 byte bmp1F5value= bmp1.readF5Sleep(); // 0 to 63 eventCounter= bmp1F5value*64+bmp1F4value; // 0 to 4095
Raw temperature and pressure functions
The basic readTemperature and readPressure functions have two components. First the raw 20-bit temperature and pressure values are obtained from the BMP280. Then the compensation algorithm is used to generate the output values in degrees Celsius and hPa.
The library provides separate functions for these two components, so that the raw temperature and presssure data can be obtained, and perhaps manipulated in some way. The algorithm to derive the temperature and pressure from these raw values is also provided. In the library these algorithms are implemented using double length floating point arithmetic. It works well on the ESP8266 which is a 32-bit processor. Making these functions accessible may be useful for assessing and possibly changing the calculation for other platforms.
These functions are:
readRawPressure (rawTemperature); calcPressure (rawPressure, rawTemperature, temperature); calcTemperature (rawTemperature);
Altitude and Sea Level pressure
There is a known relationship between atmospheric pressure and altitude. The weather also influences pressure. When the weather organisations publish atmospheric pressure information, they usually adjust it for altitude and so the "synoptic chart" shows isobars (lines of constant pressure) standardised to mean sea level. So really there are 3 values in this relationship, and knowing two of them enables derivation of the third one. The 3 values are:
- altitude above sea level
- actual air pressure at that altitude
- equivalent air pressure at sea level (more strictly, mean sea level, because instantaneous sea level constantly changes)
This library provides two functions for this relationship, as follows:
calcAltitude (pressure, seaLevelhPa); calcNormalisedPressure (pressure, altitude);
There is also a simpllified version, which assumes the standard sea level pressure of 1013.15 hPa.
calcAltitude (pressure); // standard seaLevelPressure assumed
Step 3: BMP280 Device Details
Hardware capabilities
The device has 2 bytes of configuration data (at register addresses 0xF4 and 0xF5) which is used to control multiple measurement and data output options. It also provides 2 bits of status information, and 24 bytes of calibration parameters which are used in converting the raw temperature and pressure values into conventional temperature and pressure units.
Temperature and pressure are each 20 bit values, which need to be converted into conventional temperature and pressure via a rather complex algorithm using 3 16 bit calibration parameters for temperature, and 9 16 bit calibration parameters plus the temperature for pressure. The granulatity of the temperature measurement is 0.0003 degrees Celsius for a least significant bit change (20 bit readout), increasing to 0.0046 degrees Celsius if the 16 bit readout is used.
The data sheet shows the absolute accuracy of the temperature readout as +0.5 C at 25 C and +1 C over the range 0 to 65 C.
The granularity of the pressure measurement is 0.15 Pascals (ie 0.0015 hectoPascals) at 20 bit resolution, or 2.5 Pascals at 16 bit resolution. The raw pressure value is affected by the temperature, so that around 25C, an increase in temperature of 1 degree C decreases the measured pressure by 24 Pascals. The temperature sensitivity is accounted for in the calibration algorithm, so the delivered pressure values should be accurate at different temperatures.
The data sheet shows the absolute accuracy of the pressure readout as +1 hPa for temperatures between 0 C and 65 C.
How it works
The 24 bytes of calibration data have to be read from the device and stored in variables. These data are individually programmed into the device in the factory, so different devices have different values - at least for some of the parameters.
A BMP280 can be in one of two states. In one state it is measuring. In the other state it is waiting (sleeping).
Which state it is in can be checked by looking at bit 3 of register 0xF3.
The results of the most recent measurement can be obtained at any time by reading the corresponding data value, irrespective of whether the device is sleeping or measuring.
There are also two ways of operating the BMP280. One is Continuous mode (called Normal mode in the data sheet) which repeatedly cycles between Measuring and Sleeping states. In this mode the device performs a set of measurements, then goes to sleep, then wakes up for another set of measurements, and so on. The number of individual measurements and the duration of the sleep part of the cycle can all be controlled through the configuration registers.
The other way of operating the BMP280 is Single Shot mode (called Forced mode in the data sheet). In this mode the device is woken from sleep by a command to measure, it does a set of measurements, then goes back to sleep. The number of individual measurements in the set is controlled in the configuration command that wakes up the device,
If a single measurement is made, the 16 most significant bits in the value are populated, and the four least significant bits in the value readout are all zeros. The number of measurements can be set to 1, 2, 4, 8 or 16 and as the number of measurements is increased, the number of bits populated with data increases, so that with 16 measurements all 20 bits are populated with measurement data. The data sheet refers to this process as oversampling.
Each individual measurement takes about 2 milliseconds (typical value; maximum value is 2.3 ms). Add to this a fixed overhead of about 2 ms (usually a bit less) means that a measurement sequence, which can consist of from 1 to 32 individual measurements, can take from 4 ms up to 66 ms.
The data sheet provides a set of recommended combinations of temperature and pressure oversampling for various applications.
Configuration control registers
The two configuration control registers are at register addresses 0xF4 and 0xF5, and are mapped onto 6 individual configuration control values. 0xF4 consists of:
- 3 bits osrs_t (measure temperature 0, 1, 2, 4, 8 or 16 times);
- 3 bits osrs_p (measure pressure 0, 1, 2, 4, 8 or 16 times); and
- 2 bits Mode (Sleep, Forced (ie Single Shot), Normal (ie continuous).
0xF5 consists of:
- 3 bits t_sb (standby time, 0.5ms to 4000 ms);
- 3 bits filter (see below); and
- 1 bit spiw_en which selects SPI or I2C.
The filter parameter controls a type of exponential decay algorithm, or Infinite Impulse Response (IIR) filter, applied to the raw pressure measurement values. The equation is given in the data sheet. Another presentation is:
Value(n) = Value(n-1) * (K-1)/K + measurement(n) / K
where (n) indicates the most recent measurement and output value; and K is the filter parameter. The filter parameter K and can be set to 1,2,4,8 or 16. If K is set to 1 the equation just becomes Value(n) = measurement(n). The coding of the filter parameter is:
- filter = 000, K=1
- filter = 001, K=2
- filter = 010, K=4
- filter = 011, K=8
- filter = 1xx, K=16
Step 4: Measurement and Readout Timing
I plan to add this later, showing the timing of commands and measurement responses.
Iddt - current at temperature measurement. Typical value 325 uA
Iddp - current at pressure measurement. Typical value 720 uA, max 1120 uA
Iddsb - current in standby mode. Typical value 0.2 uA, max 0.5 uA
Iddsl - current in sleep mode. Typical value 0.1 uA, max 0.3 uA
Step 5: Software Guidelines
I2C Burst mode
The BMP280 data sheet provides guidance about data readout (section 3.9). It says "it is strongly recommended to use a burst read and not address every register individually. This will prevent a possible mix-up of bytes belonging to different measurements and reduce interface traffic."
No guidance is given regarding the reading of the compensation/calibration parameters. Presumably these are not an issue because they are static and do not change.
This library reads all values in a single read operation - 24 bytes in the case of the compensation parameters, and 6 bytes for temperature and pressure combined. When temperature alone is checked, only 3 bytes are read.
Use of macros (#define etc.)
There are no macros in this library other than the usual library "include guard" macro which prevents duplication.
All constants are defined using the const keyword, and debug printing is controlled with standard C functions.
It has been the source of some uncertainty for me, but the advice I get from reading many posts on this subject is that use of #define for declaration of constants (at least) and (probably) debug printing control is unnecessary and undesirable.
The case for the use of const rather than #define is pretty clear - const uses the same resources as #define (ie nil) and the resultant values follow the scoping rules, thereby reducing the chance of errors.
The case for debug printing control is a bit less clear, because the way I have done it means that the final code contains the logic for the debug printing statements, even though they are never exercised. If the library is to be used in a big project on a microcontroller with very limited memory, this may become an issue. Since my development was on an ESP8266 with a large flash memory, this did not seem to be an issue for me.
Step 6: Temperature Performance
I plan to add this later.
Step 7: Pressure Performance
I plan to add this later.
Discussions
|
https://www.instructables.com/id/Library-for-BMP280/
|
CC-MAIN-2018-51
|
refinedweb
| 3,534
| 51.89
|
operator+,-,*,/,%,&,|,<<,>>,^ std::valarray
From cppreference.com
Apply binary operators to each element of two valarrays, or a valarray and a value.
1) The operators works on valarrays of the same size and returns avalarray with the same size as the parameters with the operation applied to every elements of the two arguments.
2,3) Applies the operator between each element of the valarray and the scalar.
Parameters
Return value
A valarray with the same size as the parameter.
Note
The behaviour is undefined when the two arguments are valarrays with different sizes..
Example
Finds real roots of multiple quadratic equations.
Run this code
#include <valarray> #include <iostream> int main() { std::valarray<double> a(1, 8); std::valarray<double> b{1, 2, 3, 4, 5, 6, 7, 8}; std::valarray<double> c = -b; // literals must also be of type T (double in this case) std::valarray<double> d = std::sqrt((b * b - 4.0 * a * c)); std::valarray<double> x1 = (-b - d) / (2.0 * a); std::valarray<double> x2 = (-b + d) / (2.0 * a); std::cout << "quadratic equation root 1, root 2" << "\n"; for (size_t i = 0; i < a.size(); ++i) { std::cout << a[i] << "x\u00B2 + " << b[i] << "x + " << c[i] << " = 0 "; std::cout << x1[i] << ", " << x2[i] << "\n"; } }
Output:
quadratic equation root 1, root 2 1x² + 1x + -1 = 0 -1.61803, 0.618034 1x² + 2x + -2 = 0 -2.73205, 0.732051 1x² + 3x + -3 = 0 -3.79129, 0.791288 1x² + 4x + -4 = 0 -4.82843, 0.828427 1x² + 5x + -5 = 0 -5.8541, 0.854102 1x² + 6x + -6 = 0 -6.87298, 0.872983 1x² + 7x + -7 = 0 -7.88748, 0.887482 1x² + 8x + -8 = 0 -8.89898, 0.898979
|
http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/valarray/operator_arith3&oldid=67447
|
CC-MAIN-2015-48
|
refinedweb
| 280
| 67.55
|
Python’s dlib library is a toolkit to create real-world machine learning and data analysis apps.
Problem Formulation: Given a PyCharm project. How to install the dlib
"dlib"without quotes, and click
Install Package.
- Wait for the installation to terminate and close all popup windows.
Here’s the installation process as a short animated video—it works analogously for Python’s dlib library, just type in “dlib” in the search field instead:
Make sure to select only “dlib” because there are many other packages that are not required but also contain the same term (false positives):
Alternatively, you can run the
pip install dlib command in your PyCharm “Terminal” view:
$ pip install dlib
The following figure shows how to use pip to install the dlib package:
Note you may need to install additional libraries such as CMake because Python’s dlib library is only a wrapper around the dlib C++ library. You can check your installation using the following two lines of Python code that print out the version of the package:
import dlib print(dlib.__version__).
|
https://blog.finxter.com/how-to-install-dlib-on-pycharm/
|
CC-MAIN-2022-21
|
refinedweb
| 178
| 51.31
|
Red Hat Bugzilla – Bug 135822
gdb loops when application unloads library with breakpoint
Last modified: 2015-01-07 19:08:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.4.3)
Gecko/20040924
Description of problem:
If you run an application which opens some library with dlopen(), puts
a breakpoint in the directory, and then the application closes the
library with dlclose(), gdb will start looping during the dlclose()
call the second time you run the application.
Version-Release number of selected component (if applicable):
gdb-6.1post-1.20040607.17
How reproducible:
Always
Steps to Reproduce:
1.Create a file main.c with this content:
#include <dlfcn.h>
int main()
{
void *handle;
if (handle = dlopen("./liblyra.so", RTLD_LAZY))
dlclose(handle);
return 0;
}
2.Create a file lyra.c with this content
void alfa() {}
3.cc -g -o main main.c -ldl
4.cc -g -o liblyra.so -shared lyra.c
5.gdb main
6.(The rest is in gdb)
break dlclose
7.run
8.break alfa
9.cont
10.disable 2
11.run
12.enable 2
13.cont
Actual Results: The last "cont" never returns, and gdb starts looping
with 100% CPU usage.
Expected Results: The application should terminate, just like the
first time it was run.
Additional info:
This has been verified on i386 and x86_64 platforms.
This bug was fixed as part of bugzilla 128618 and the fix is found in
rh gdb as of version .27 and will be part of the next errata release
of gdb. I have confirmed the problem is fixed and that the
application continues to termination as expected.
Right, when I tried it now, I can't reproduce the problem on our
RHEL4T1 machine. (With gdb-6.1post-1.20040607.
|
https://bugzilla.redhat.com/show_bug.cgi?id=135822
|
CC-MAIN-2016-40
|
refinedweb
| 298
| 70.39
|
fairies game from real arcade, buy capcom arcade games, free arcade games v4, real arcade free online puzzle games, for arcade town games.
stear crazy arcade game, do it yourself arcade games, cheap video arcade games, x men arcade game buy, williams arcade games.
wwf arcade game, retro arcade games online, reflexive arcade games keygen fff, monster madness arcade game, pac man arcade game online.
fisher price arcades computer games free, classic arcade games all in one, buy sell defender arcade game, arcade game play station, cops n robbers arcade game, contra arcade game download, arcade games virginia.
classic arcade game mr do, stear crazy arcade game, xbox 360 arcade original xbox games, arcade bomb shooting games, free arcade games for windows.
trackand field games arcade games, blazing angels arcade game, restaurants with arcade games in milwaukee, killer arcade games, top arcade games amusement.
category 1982 arcade games, shooter arcade flash game, jailbreak arcade game, online arcade games sand zombie, top arcade games amusement.
monster madness arcade game, game spy arcade adware, best arcade games of all times, play 2 player arcade games, www flash arcade games.
nick arcad . com / games, arcade games for sale denver, classic arcade game records, new arcade bulldozer game, the 80s arcade games.
bully arcade games, interactive buddy arcade game, classic 1980 s arcade games, joystick arcade games, teenage mutant ninja turtles ii arcade game.
play fun arcade games, online fighting arcade games, free arcade games online color sudoku, strip arcade games on line, free ipod nano arcade games.
president arcade games, all light gun arcade games, arcade game audio files, arcade forum highscore games, teenage mutant ninja turtles ii arcade game.
Categories
- Iphone arcade games
- free ipod nano arcade games
early penney arcade games
arcade game hire sydney
real arcade games forum
iron horse arcade game
retro arcade games online
free web arcade the torture game
williams arcade games
top video arcade games
import arcade games
game spy arcade adware
gatlinburg cabins with arcade games
- dance music arcade game
- arcade gaming in st george ut
- ms pac-man arcade game
- arcade games in pa
- gamecube arcade games
- arcade game timing
- arcade game superstore images video mario kart ss1
- online mario arcade games
- star wars free arcade games online
- arcade game t shirts
|
http://manashitrad.ame-zaiku.com/barbie-arcade-games.html
|
CC-MAIN-2018-47
|
refinedweb
| 378
| 50.5
|
I want to duplicate a Row in a DataFrame, how can I do that?
For example, I have a DataFrame consisting of 1 Row, and I want to make a DataFrame with 100 identical Rows. I came up with the following solution:
var data:DataFrame=singleRowDF
for(i<-1 to 100-1) {
data = data.unionAll(singleRowDF)
}
You can add a column with a literal value of an Array with size 100, and then use
explode to make each of its elements create its own row; Then, just get rid of this "dummy" column:
import org.apache.spark.sql.functions._ val result = singleRowDF .withColumn("dummy", explode(array((1 until 100).map(lit): _*))) .selectExpr(singleRowDF.columns: _*)
|
https://codedump.io/share/DMbiGEgGBX3d/1/replicate-spark-row-n-times
|
CC-MAIN-2018-05
|
refinedweb
| 117
| 54.93
|
We will be using the pyperclip module in order to copy and paste content to the clipboard. It is cross−platform and works on both Python 2 and Python 3.
Copying and pasting from and to the clipboard could be very useful when you want the output of the data to be pasted elsewhere in a different file or software.
The pyperclip module does not come packaged with Python. In order to access it, you must first download and install it. You can do this using the PIP package manager.
Launch your terminal and type the command below to install pyperclip
pip install pyperclip
Once you have it installed, you must import it to your python script.
We can do this using the import command,
import pyperclip
In order to copy text to the clipboard we use the pyperclip.copy() function.
import pyperclip pyperclip.copy("Hello world!")
The above lines of code will copy “Hello world!” to your clipboard and would be ready to paste.
import pyperclip text = pyperclip.paste() print(text)
Hello world!
We use the pyperclip.paste() function to paste the latest content present in the clipboard.
Sometimes while working on a project you might want to paste new messages after you copy a different message.
In order to achieve this, we use the pyperclip. waitForNewPaste() function.
import pyperclip pyperclip.copy("Hello world!") text = pyperclip.paste() print(text) pyperclip.copy('Hello world!') text = pyperclip.waitForNewPaste() print(text)
Hello world! Random message copied
Note − In the above example, the program would terminate after it prints out the new copies text. The new copied text should be anything but “Hello world!”.
If you want to just paste, even if the text is same as the already existing text in the clip board, just go for pyperclip.waitForPaste() function.
Data stored in the clipboard and pasted is always a String datatype.
You now know how to copy and paste text or string datatype into your clipboard for quick access.
You can use this for developing simple automation tools that help you build tables, where data has to be constantly copied and pasted.
There are various other scenarios you can use this module in. And since it’s cross−platform, you can work with it on Linux, MacOS and Windows.
|
https://www.tutorialspoint.com/copy-and-paste-to-your-clipboard-using-the-pyperclip-module-in-python
|
CC-MAIN-2021-49
|
refinedweb
| 378
| 75.3
|
1. Introduction to WebBrowser Control can you design simple browsing window (When you are browsing using this sample, Do not provide any personal information. This is just a sample that demonstrates the use of WebBrowser control ). At the end, I will show how do you display the user content and hook button click in the user content to the c# methods.
2. About the sample
The screen shot of the sample is shown below:
The user will type the web address in the Address Bar. To navigate to the typed web address, they should click the Go button. The stop and reload to the same job as every browser is doing today. When the sample is navigating and consuming the web content, the progress bar shows how much the current load content is progressed. The information bar shows what part of the page content is currently getting loaded. When you run the sample you may notice for fully downloading a page, there may be multiple navigation start and end and each denotes that to fully construct the page the sample download the content from the different location. OK, let us start developing the sample.
3. Designing the Web Browser using Visual Studio
The browser we are going to create is composed of ToolStrip, StatusStrip, and the WebBrowser control. First, the toolbar is created and then the required controls on the toolbars are placed. This step is shown in the below video:
Video 1: Setting up the toolbar
In the video, you will not see the buttons for user content. We will add that later. Next, we should add the StatusStrip control to the sample application form. Once the status control is added, a Progress bar and a label for displaying the information are placed in the StatusStrip control. This is shown in the below video:
Video 2: Setting up the status bar.
Finally, we added the WebBrowser control to our sample. Note that when you place the WebBrowser control on the form, it automatically occupies the entire free area in which it is dropped.
Video 3: Place the WebBrowser control.
Tags for coding: //WEB_BR, //WEB_CS
WEB_BR: Coding shows some basic WebBrowser supports
WEB_CS: Coding shows displaying the user content and handling the control events from those scripts
4. WebBrowser basic actions
WebBrowser control provides rich functionalities and in this sample, we will see only the basic actions like loading a web page, stopping the current page load and refreshing the page load.
1) In the Go button click handler, we take the web address provided in the Address box and navigate to that page. In the meantime, we display the status text "Loading". The Navigate method will absorb the content from the web address specified by the user and displays that in WebBrowser control.
private void btnGo_Click(object sender, EventArgs e) { //Web_BR 01: Navigate to the URL Browser.Navigate(txtTBURL.Text); Status_Information.Text = "Loading..."; }
2) Canceling the page load as well as refreshing the loaded/partly loaded page content are straight forward. We should simply call the corresponding methods in the WebBrowser control to do so. Below are the handler functions for Stop and Reload buttons
private void btnStop_Click(object sender, EventArgs e) { //Web_BR 02: Stop Loading the Page Browser.Stop(); } private void btnReload_Click(object sender, EventArgs e) { //Web_BR 03: Refresh the Page Browser.Refresh(); }
5. Designing Status Information for WebBrowser Control
When we load a web page on a browser; say IE; to fully load the document, the browser has to navigate to different web locations. Say, for example, the website having a lot of YouTube videos and review about the video (Page’s own content is review) also contains a FaceBook like a page on the same page. When we browse to that website, the browser will load the review content of the video from the page itself, then it navigates to the YouTube and FaceBook to get other required information. So, to load a document completely, the browser should navigate to three web addresses even though the user specifies only one address in the address bar of the sample browser.
When the browser is navigating to a different site for loading some portion of the document, we will get two events namely "Navigating Event" and "Navigated Event". The first event says that the navigation is about to start and the second event says, navigation is completed. When the web page document is fully loaded, we get the "DocumentCompleted Event".
We handled all the three events to display the status information:
private void frmWebBrowser_Load(object sender, EventArgs e) { //Web_BR 04: Hide the visibility of the status bar Status_PB.Visible = false; } private void Browser_Navigating(object sender, WebBrowserNavigatingEventArgs e) { //Web_BR 06: Provide some information about the current navaigation Status_PB.Visible = true; Status_Information.Text = "Navigating " + e.Url.ToString() + " for " + e.TargetFrameName; } private void Browser_Navigated(object sender, WebBrowserNavigatedEventArgs e) { //Web_BR 07: Provide some information about the current navaigation Status_Information.Text = "Navigated.."; } private void Browser_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { //Web_BR 08: Provide some information about the current navaigation Status_PB.Visible = false; Status_Information.Text = "Web Page Loaded"; }
Note that we hide the progress in the status bar during the form load. And, we enable that when the Browser starts its first navigation for the page. Once we receive the "doumentcompleted event", we again disable the progress bar. Below given video shows loading the web page in our browser sample:
Video 4: Sample in Action: Navigate to a Page
6. Create Plain custom HTML for WebBrowser Control
When we click the custom button 1 from the tool strip, the browser loads custom script 1 as shown below. We access this HTML button shown in the below picture from the C# code and hook the click event of this button to the c# method.
The ToolStrip of our browser sample application is modified to include two more buttons and each button loads two different user content in the web browser control. The below video shows adding these two buttons to the ToolStrip control:
Video 5: Modify ToolStrip Control
Once the buttons are added, using the Visual Studio IDE, the custom web content (Shown in the Picture Above) is created. The formatted content of the IDE created HTML page is given below:
>
In the above script, we gave an Id (BtnTest) to the “input” control. In addition, the control type is specified as a button. Notice that we don’t provide handler now. At runtime, the browser sample will get this button from the loaded HTML content, and dynamically specifies the handler to the button click. Video 6 shows creating and formatting the HTML shown above using the visual studio IDE.
Video 6: Creating the HTML content for the browser
Note that we changed the double quotes as single quotes and this will avoid formatting the HTML content when we assign it as a string to the WebBrowser control later.
7. Hooking the event at runtime
1) In the above script, the HTML designer not aware of which function to be called and that is decided at the runtime. The first thing we should do is adding a private flag customDoc1. This flag will be set when the WebBrowser control is loading the user HTML script.
//Web_CS 01: Declare boolean tag for document 1 and 2 private bool customDoc1 = false;
2) In the button click handler (For the first user script), we assigned the above-created user content 1 to the web browser control by setting the "DocumentText Property".
//Web_CS 02: Place the Html document with a button having proper Id private void btnUser1_Click(object sender, EventArgs e) { //Setting this property will load the document and raise document completed Browser.DocumentText = ">"; customDoc1 = true; }
3) As we specified the new content for the WebBrowser control (By setting the DocumentText), the browser will load the content and fires the Document Completed event once the load is fully done. In the event handler, we get the HTML button by its id and store that as "HtmlElement". Then we do provide the event handler to its click event using the delegate "HtmlElementEventHandler". Finally, we reset the boolean flag customDoc1 to false.
//Web_CS 03: Get the Html button from the loaded document // Script. Then attach the C# method as click handler if (customDoc1 == true) { //03.1 : Get html Element HtmlElement btnElem = Browser.Document.GetElementById("BtnTest"); //03.2 : Hook the C# method to the event if (btnElem != null) btnElem.Click += new HtmlElementEventHandler(Html_test_button_Hanlder); //03.3 : Reset the Tag customDoc1 = false; }
4) The handler function for the html button click is shown below:
//Web_CS 04: Create a button handler for Html Button void Html_test_button_Hanlder(object sender, HtmlElementEventArgs evArg) { MessageBox.Show("Click event of the Script button Handled"); }
In this section, we created an HTML content with a button in it. Then the HTML content is loaded into the WebBrowser control. Once the user content is loaded completely, we get the HTML button instance from the loaded document and attached c-sharp method as click event handler. In this case, the HTML document designer not aware of the c-sharp handler. In some cases, the HTML script knows which function to call on the c-sharp code library. In that case, they (The script developer) do provide the click handler during the HTML design itself. We see that in the next section.
8. Setting the click handler from External source
Look at the second custom script shown below:
<html > <head> <title>Button Click Hooked to External Method of C#</title> </head> <body>The scripting person knows which c# function to call. So the well known c# method is tied in the OnClick Attribute <input style='z-index: 100; left: 8px; width: 102px; position: absolute;top: 44px' type='button' onclick='window.external.ShowMessageE()' value='button'/> </body> </html>
In this script, the input button is not specified with the id. In the OnClick event, the handler function external.ShowMessageE is specified as an event handler. The external here specifies that the function ShowMessageE() is available from the external source. In our case, the external source is C# as the WebBrowser control is going to load it.
1) In the WebBrowser sample, first, we included the required namespace. This is to make the class "HtmlSupportingMethods" that we are going to implement soon as a COM visible class.
//Web_CS 05: Declare the required namespace using System.Runtime.InteropServices;
2) In the button click the second user content is specified as the "DocumentText". This document is loaded just the same way we loaded the first script. The only difference is, here we used the verbatim string (@stringcontent) to retain the format of the string as it is.
//Web_CS 06: Set the Html as document content of the browser control. private void btnUser2_Click(object sender, EventArgs e) { string htmldoc = @"<html > <head> <title>Button Click Hooked to External Method of C#</title> </head> <body>The scripting person knows which c# function to call. So the well known c# method is tied in the OnClick Attrubite<input style='z-index: 100; left: 8px; width: 102px; position: absolute;top: 44px' type='button' onclick='window.external.ShowMessageE()' value='button'/> </body> </html>"; //Setting this property will load the document and raise document completed Browser.DocumentText = htmldoc; }
3) The class HtmlSupportingMethods contains only one public method, which is accessed by our custom script 2 as Window.external.ShowMessageE(). As this method is accessed by the external scripting world, we mark the class as COM compatible by declaring the class with the "[ComVisible(true)] Attribute"
//Web_CS 07: External scripting methods. This class is set with the ComVisible attribute // as it's methods are going to be accessed by the html document content that // will be loaded by the Web Browser control [ComVisible(true)] public class HtmlSupportingMethods { public void ShowMessageE() { MessageBox.Show("External Method Accessed"); } }
4) There is one final step. How does the content loaded on the WebBrowser control knows where should it get the External Source? We should link the C# HtmlSupportingMethods with the HTML script. We do that in the form load as shown below:
//Web_CS 08: Set the Scripting Object. This should a com visible object Browser.ObjectForScripting = new HtmlSupportingMethods();
The browser sample in action can be found in the below video. The video shows both the user HTML document and hooking the HTML button click to C# code.
Video 7: Testing the scripting support
|
http://www.mstecharticles.com/2012/
|
CC-MAIN-2018-05
|
refinedweb
| 2,050
| 61.56
|
-
Guarded Match Exhaustiveness Testing
Fri, 2012-01-06, 00:14
It seems that guarded match expressions are not tested for
completeness at compile time. For example, the following code will
compile without "warning: match is not exhaustive!", even though
calling it with a value of 1 will result in a MatchError.
def foo(x: Option[Int]): Int = x match {
case Some(n) if n % 2 == 0 => n
case None => 0
}
The equivalent code in Ocaml does print a non-exhaustive match warning
at compile time.
let foo(x) =
match x with
| Some n when n mod 2 = 0 -> n
| None -> 0;;
Warning 8: this pattern-matching is not exhaustive.
Here is an example of a value that is not matched:
Some _
(However, some guarded clause may match this value.)
val foo : int option -> int =
Obviously the compiler can’t decide whether or not arbitrary
combinations of guards are complete, but I was surprised didn’t treat
guards pessimistically like Ocaml does. This actually bit us in
production code, when a method like this:
def foo(x: Option[Int]): Int = x match {
case Some(n) if n % 2 == 0 => n
case _ => 0
}
was refactored to look like this:
def foo(x: Option[Int]): Int = x match {
case Some(n) if n % 2 == 0 => n
case None => 0
}
which resulted in runtime MatchErrors.
I understand that adding a warning that treats guarded match
statements pessimistically could be annoying in cases when the
combined guards actually are safe, but in these instances the warning
could easily be dismissed with an annotation or a no-op unguarded
match. Why don’t we give Scala users the option for added safety?
-Jon
Re: Re: Guarded Match Exhaustiveness Testing
On Mon, Jan 9, 2012 at 6:13 AM, Adriaan Moors <adriaan [dot] moors [at] gmail [dot] com> wrote:
It doesn't yet do any exhaustivity checking, but it will soon.
Yeah, speaking of that, I have so many irons in the fire I had better push this repo in case anyone else would like to work on it.
It doesn't work yet but the way forward should be pretty obvious. I don't actually expect anyone else to do anything - still planning on doing it - but juuust in case.
A bit of background:
The current pattern matcher implementation is known to be buggy in several respects, including this one.Unfortunately, it's turned out to be hard to fix, so we've been working on a completely new implementation.I'm referring to the virtualizing pattern matcher, aka -Yvirtpatmat or #virtpatmat, which "virtualizes" pattern matchingusing a compilation scheme similar to for-comprehensions. (There's a fast implementation for the default matching monad, Option.)
It doesn't yet do any exhaustivity checking, but it will soon.
Note that this is an experimental feature; it's not scheduled for release just yet.
|
http://www.scala-lang.org/old/node/12126
|
CC-MAIN-2014-41
|
refinedweb
| 477
| 57.3
|
Weird QLabel behaviour when its text contains HTML syntax
main.cpp
@
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
#define USE_HTML_SYNTAX
#ifdef USE_HTML_SYNTAX
const QString last = "<a >link</a>";
#else
const QString last = "link";
#endif
QLabel label( QString("link:%1link:%2link:%3%4")
.arg( QString() )
.arg( QChar( QChar::LineSeparator ) )
.arg( QChar( QChar::ParagraphSeparator ) )
.arg( last ) );
label.setOpenExternalLinks( true );
label.setTextInteractionFlags( label.textInteractionFlags()
| Qt::LinksAccessibleByKeyboard
| Qt::LinksAccessibleByMouse );
label.show();
return a.exec();
}
@
Run this code as it is. The result is:
link:link: link:
link:
Now comment out the preprocessor statement:
@
#define USE_HTML_SYNTAX
@
and run the code - enlarge the label using the size grip at the bottom-right, since the contents don't fit.
The result is:
link:link:
link:
link:
Conclusion:
1) Using HTML syntax:
The line separator character is treated as space.
The paragraph separator character is treated as newline.
- Not using HTML syntax inside the label's text:
The line separator character is treated as newline.
The paragraph separator character is treated as newline.
Where does this difference come from?
This happens only when using Qt in Windows environment.
I am using Qt 4.8.2 on Windows 7 x64, Linux Mint 13 (Maya) Xfce x86, Mac OS X Lion 10.7.3.
- sierdzio Moderators
Qt uses different engines to render the text if it detects HTML presence. You can force it to use plain text or rich text, but not both :)
- sierdzio Moderators
Here is a link to docs entry about it: "link":.
Sounds to me like it is comming from HTML itself. In HTML, line breaks are done with tags like <br> and <p>. The use of HTML-like tags triggers interpretting the whole string as HTML, and in HTML, your own Unicode line breaks or paragraphs separators (should) count for nothing. Not sure why paragraph separator seems to be accepted though. I think it should be ignored or treated like white space like the line separator, but I am not sure. Check the HTML specs for that, and remember that Qt's (non-webkit) HTML support is only a small subset of HTML. It is more of a simple rich text text that happens to follow the same syntax as HTML, but it does not claim to be fully compliant nor feature complete.
bq. Sounds to me like it is comming from HTML itself. In HTML, line breaks are done with tags like <br> and <p>. The use of HTML-like tags triggers interpretting the whole string as HTML ...
That is what I first thought - that if a single piece of HTML syntax is detected in the text, the whole string gets interpreted as HTML.
<br> and <p> work as expected. So, what is the correct approach for inserting newline characters when there is a mixture of plain and rich HTML text in a QLabel's text? Use <br> I suppose?
Either use all HTML, or use plain text only, I'd say.
|
https://forum.qt.io/topic/19745/weird-qlabel-behaviour-when-its-text-contains-html-syntax/3
|
CC-MAIN-2018-34
|
refinedweb
| 494
| 66.54
|
PEP 278 -- Universal Newline Support
Abstract
This PEP discusses a way in which Python can support I/O on files which have a newline format that is not the native format on the platform, so that Python on each platform can read and import files with CR (Macintosh), LF (Unix) or CR LF (Windows) line endings. It is more and more common to come across files that have an end of line that does not match the standard on the current platform: files downloaded over the net, remotely mounted filesystems on a different platform, Mac OS X with its double standard of Mac and Unix line endings, etc. Many tools such as editors and compilers already handle this gracefully, it would be good if Python did so too.
Specification
Universal newline support is enabled by default, but can be disabled during the configure of Python. In a Python with universal newline support the feature is automatically enabled for all import statements and execfile() calls. There is no special support for eval() or exec. In a Python with universal newline support open() the mode parameter can also be "U", meaning "open for input as a text file with universal newline interpretation". Mode "rU" is also allowed, for symmetry with "rb". Mode "U" cannot be combined with other mode flags such as "+". Any line ending in the input file will be seen as a '\n' in Python, so little other code has to change to handle universal newlines. Conversion of newlines happens in all calls that read data: read(), readline(), readlines(), etc. There is no special support for output to file with a different newline convention, and so mode "wU" is also illegal..
Rationale
Universal newline support is implemented in C, not in Python. This is done because we want files with a foreign newline convention to be import-able, so a Python Lib directory can be shared over a remote file system connection, or between MacPython and Unix-Python on Mac OS X. For this to be feasible the universal newline convention needs to have a reasonably small impact on performance, which means a Python implementation is not an option as it would bog down all imports. And because of files with multiple newline conventions, which Visual C++ and other Windows tools will happily produce, doing a quick check for the newlines used in a file (handing off the import to C code if a platform-local newline is seen) will not work. Finally, a C implementation also allows tracebacks and such (which open the Python source module) to be handled easily.. Also, an output implementation would be much more difficult than an input implementation, surprisingly: a lot of output is done through PyXXX_Print() methods, and at this point the file object is not available anymore, only a FILE *. So, an output implementation would need to somehow go from the FILE* to the file object, because that is where the current newline delimiter is stored. The input implementation has no such problem: there are no cases in the Python source tree where files are partially read from C, partially from Python, and such cases are expected to be rare in extension modules. If such cases exist the only problem is that the newlines attribute of the file object is not updated during the fread() or fgets() calls that are done direct from C. A partial output implementation, where strings passed to fp.write() would be converted to use fp.newlines as their line terminator but all other output would not is far too surprising, in my view. Because there is no output support for universal newlines there is also no support for a mode "rU+": the surprise factor of the previous paragraph would hold to an even stronger degree. There is no support for universal newlines in strings passed to eval() or exec. It is envisioned that such strings always have the standard \n line feed, if the strings come from a file that file can be read with universal newlines. I think there are no special issues with unicode. utf-16 shouldn't pose any new problems, as such files need to be opened in binary mode anyway. Interaction with utf-8 is fine too: values 0x0a and 0x0d cannot occur as part of a multibyte sequence. Universal newline files should work fine with iterators and xreadlines() as these eventually call the normal file readline/readlines methods. While universal newlines are automatically enabled for import they are not for opening, where you have to specifically say open(..., "U"). This is open to debate, but here are a few reasons for this design: - Compatibility. Programs which already do their own interpretation of \r\n in text files would break. Examples of such programs would be editors which warn you when you open a file with a different newline convention. If universal newlines was made the default such an editor would silently convert your line endings to the local convention on save. Programs which open binary files as text files on Unix would also break (but it could be argued they deserve it :-). - Interface clarity. Universal newlines are only supported for input files, not for input/output files, as the semantics would become muddy. Would you write Mac newlines if all reads so far had encountered Mac newlines? But what if you then later read a Unix newline? The newlines attribute is included so that programs that really care about the newline convention, such as text editors, can examine what was in a file. They can then save (a copy of) the file with the same newline convention (or, in case of a file with mixed newlines, ask the user what to do, or output in platform convention). Feedback is explicitly solicited on one item in the reference implementation: whether or not the universal newlines routines should grab the global interpreter lock. Currently they do not, but this could be considered living dangerously, as they may modify fields in a FileObject. But as these routines are replacements for fgets() and fread() as well it may be difficult to decide whether or not the lock is held when the routine is called. Moreover, the only danger is that if two threads read the same FileObject at the same time an extraneous newline may be seen or the "newlines" attribute may inadvertently be set to mixed. I would argue that if you read the same FileObject in two threads simultaneously you are asking for trouble anyway. Note that no globally accessible pointers are manipulated in the fgets() or fread() replacement routines, just some integer-valued flags, so the chances of core dumps are zero (he said:-). Universal newline support can be disabled during configure because it does have a small performance penalty, and moreover the implementation has not been tested on all concievable platforms yet. It might also be silly on some platforms (WinCE or Palm devices, for instance). If universal newline support is not enabled then file objects do not have the "newlines" attribute, so testing whether the current Python has it can be done with a simple if hasattr(open, 'newlines'): print 'We have universal newline support' Note that this test uses the open() function rather than the file type so that it won't fail for versions of Python where the file type was not available (the file type was added to the built-in namespace in the same release as the universal newline feature was added). Additionally, note that this test fails again on Python versions >= 2.5, when open() was made a function again and is not synonymous with the file type anymore.
Reference Implementation
A reference implementation is available in SourceForge patch #476814:
References
None.
This document has been placed in the public domain.
|
https://www.python.org/dev/peps/pep-0278/
|
CC-MAIN-2015-40
|
refinedweb
| 1,296
| 56.29
|
How Would You Build Up a City from Components?
More and more enterprise application development is moving to component frameworks and solutions. Why? Does component architecture have any future? I believe yes and soon all development frameworks will be component-based - it is imminent. Let me show you why.
How do you build up your house? You start with building blocks. It is possible to compare the construction of a web application with the construction of your small country house. You can quickly build up a very good looking application with all the required functionality. Every room in your house is created for specific needs, for instance the kitchen, living room, bedroom or bathroom. The layout of the house allows you to conveniently move between rooms using the corridors and stairs.
You are doing better now and can afford to build a bigger and better house – you would like to have a sauna, a pool, a movie theater and of course a giant aquarium filled with reptiles☺. But changing the design of your house can be quite difficult. If you are able to add the extra facilities the house ends up not looking so nice. It is also less convenient since your additions had to be put in inconvenient places, so that, for instance, to get into the billiard room you have to pass through the main bedroom.
In the end your nice and neat house turns into an awkward and uncomfortable house with a bunch of different functions within it. The same story can happen with application development.
The question is, is it possible to design an application such that it can grow and change according to your needs? Let’s try to figure it out.
Components are building blocks of the application
Components are the primary means of extending application functionality. The process of creating components is a bit different from the creation of applications based on them. The component should not only provide useful functionality but be designed for reuse from the outset.
Reuse of components
To easily reuse components they should be designed with a loose coupling approach. To make this possible, different frameworks typically implement their event models based on the Observer pattern. This allows multiple recipients to subscribe to the same event.
The Observer pattern was originally implemented in Smalltalk. Smalltalk is a user interface framework based on MVC and is now a key part of MVC frameworks. I would like to draw your attention to the fact that the Observer pattern has existed in Java since version 1.0. Let’s have a deeper look into it.
The following UML diagram describes the Observer pattern:
Here is a basic Java implementation
public class ObservableX extends Observable { ... public void setAmount(double amount) { this.amount = amount; super.setChanged(); super.notifyObservers(); } } public class ObserverA implements Observer { public void public void update(Observable o) { // gets updated amount } } public class ObserverB implements Observer { public void public void update(Observable o) { // gets updated amount } } //instantiate concrete observableX ObservableX observableX = new ObservableX(); //somewhere in code observableX.addObserver(new ObserverA()); observableX.addObserver(new ObserverB()); //much later observableX.setAmount(amount);
How it works:
Firstly we create an instance of ObservableX class, add the ObserverA and ObserverB instances into the observableX object and then somewhere in the code we set the value for "some amount" using the setAmount method. The functionality of the observable class notifies all the registered observers about the received amount.
The Observer acts as a mediator that maintains the list of recipients. When some event occurs within a component it is sent to all recipients from that list.
Due to the mediator the component isn’t aware of its recipients. And the recipients can subscribe to the events of different components of a particular type.
A class can become a component when it uses events to notify observers about its changes. And this can be achieved by using the Observer pattern.
To use components is easier than to create them
Using components you can quickly create a variety of forms, panels, windows, and other composite elements of the interface. However, to be able to re-use the new composite parts they should be turned into components.
In order to achieve this you do need to determine the external events that the component will generate as well as the mechanism of sending messages. I.e. you need to at least create new event classes and define interfaces or callback methods for receiving those events.
This approach makes the implementation of reusable application components more complex. It is fine if the system consists of a small number of composite elements - up to around ten. But what if the system consists of hundreds of such elements?
Conversely, not following this approach will lead to tight coupling between elements and will reduce the chances of re-use to zero. This, in its turn will lead to code duplication that will make maintenance more complicated in future and will lead to a growing number of bugs in the system.
The problem is compounded by the fact that users of the components often do not know how to define and send new events to their parts. But they can easily use ready-made events provided by the component framework. They know how to receive events but don’t know how to send them.
To solve this problem, let's consider how to simplify the use of the event model in applications.
Too many Event Listeners
In Java Swing, GWT, JSF and Vaadin the Observer pattern is used for implementation of an event model where multiple users can subscribe to one event. Lists to which Event Listeners are added serve as the implementation. When the relevant event occurs it is sent to all the recipients of that list.
Each component creates its own set of Event Listeners for one or more events. This leads to an increasing number of classes in the application. That, in its turn, makes support and development of the system more complicated.
With annotations Java gained a way to have individual methods subscribe to particular events. As an example consider the implementation of the event model in CDI (Contexts and Dependency Injection) from Java EE 6.
public class PaymentHandler { public void creditPayment(@Observes @Credit PaymentEvent event) { ... } } public class PaymentBean { @Inject @Credit Event<PaymentEvent> creditEvent; public String pay() { PaymentEvent creditPayload = new PaymentEvent(); // populate payload ... creditEvent.fire(creditPayload); } }
As you can see the PaymentEvent is fired when the pay() method of the PaymentBean object is called. After that the creditPayment () method of the PaymentHandler object receives the paymentEvent.
Another example is in the implementation of the Event Bus in Guava Libraries:
// Class is typically registered by the container. class EventBusChangeRecorder { @Subscribe public void recordCustomerChange(ChangeEvent e) { recordChange(e.getChange()); } } // somewhere during initialization eventBus.register(new EventBusChangeRecorder()); // much later public void changeCustomer() { ChangeEvent event = getChangeEvent(); eventBus.post(event); }
The EventBus registers the object of the EventBusChangeRecorder class. Then calling the changeCustomer() method results in the EventBus receiving the ChangeEvent object and calling the recordCustomerChange () method of the EventBusChangeRecorder object.
Now you don’t need to implement a number of Event Listeners for your components, making the use of events in applications simpler.
The Event Bus usage is convenient when all the components are displayed at the same time on the screen and they use the Event Bus for message exchange, as shown in the picture below.
Here all these elements - the header, left menu, content, right panel - are components.
Subscribed to events – don’t forget to unsubscribe
By replacing Event Listeners with annotations we have made a big step forward in simplifying the use of the event model. But even so, every component in the system needs to be connected with the Event Bus, and then has to subscribe events to it and, at the right time, unsubscribe from it.
It is possible to hit a situation when the same recipient is subscribed several times to the same event, which can lead to a number of repeated notifications. A similar situation can arise when multiple system components subscribe to the same event, which can trigger a series of cascade events.
To be able to control the event model better, it makes sense to move the work with events out to configuration and make the application container responsible for events management. Since particular events are available only on particular conditions, it is reasonable to move the management of their state out to configuration as well.
A sample configuration is shown below:
<?xml version="1.0"?> <application initial="A"> <view id="A"> <on event="next" to="B"/> </view> <view id="B"> <on event="previous" to="A"/> <on event="next" to="C"/> </view> <view id="C"> <on event="previous" to="B"/> <on event="next" to="D"/> </view> <view id="D"> <on event="previous" to="C"/> <on event="finish" to="finish"/> </view> <final id="finish" /> </application>
The transition to the B view will be initiated by the “next” event from the A view. From the B view the user can go back to the A view by the “previous” event or to the C view by the “next” event. From the D view the finish event leads to the “final” state which instructs the application to finish up the workflow within the application.
Finite State Machines are specifically designed for such needs. A state machine is a mathematical model of computation. It is conceived as an abstract machine that can be in one of a finite number of states, but only in one state at a time, known as the current state. An event or condition can trigger a transition to another state. Using this approach you can easily define an active screen and have an event trigger a transition to another screen.
The benefits of using Finite State Machines for configuring the application
In most cases application configuration is defined statically. Configuring the application with dependency injection we define application structure on startup. But we forget that while exploring the application its status can change. Change of state is often hard-coded in the application code which leads to complications in future adjustments and maintenance.
Moving the transitions between states into configuration gives more flexibility. And that’s why when creating composite application elements, such as forms, windows or panels, we don’t need to worry about what state the application should go to. You can do this later, setting the behavior in the configuration.
All the components can communicate using a standardized mechanism for sending events - through the Event Bus. At the same time, the state machine can control the subscription of component events to the Event Bus. This approach turns all components of the application (forms, windows, panels) into reusable components that can be easily managed from the external configuration.
If you are interested you can have a look at some examples of configuration in the Enterprise Sampler.
You can consider state configuration as a road map of a city, and events as cars delivering goods and people to the desired destinations.
I'm sure using this approach it is easy to design and build up not just a small and ready to grow house but a whole city with skyscrapers, broadways and highways.
About the Author
Aliaksei Papou is CTO, Software Architect and Co-founder of Lexaden.com. He has more than 10 years experience in the development of enterprise applications. The innovation of technologies is his passion. Aliaksei and Denis Skarbichev, CEO and Co-founder of Lexaden.com, have developed the Lexaden Web Flow language that allows the creation of large scale agile enterprise applications.
Amazing article
by
James Michelsen
Re: Amazing article
by
Aliaksei Papou
We are thinking to make it compatible with other component frameworks in the future.
Great
by
Josep Oncins
Thanks for sharing it
Very interesting article, Thank you
by
Max Max
interesting thoughts
by
siran chen
code+configuration is like a compromise between programing language and scripting language.
many evolution of software-model is just another existed model somewhere in the world, depending how u look at them.
if keep looking for more realworld-liked software model, maybe the next communiction model for components is a IP-style model, finally, i think it may back to com/dcom/com+ model, or page+link
|
http://www.infoq.com/articles/component-city
|
CC-MAIN-2014-35
|
refinedweb
| 2,044
| 53.92
|
Actions
Test API provides a set of actions that enable you to interact with the webpage.
Actions are implemented as methods in the test controller object. You can call them in a chained fashion.
The following sample types text into an input and clicks a button by using the
t.typeText and
t.click actions.
fixture `My fixture` .page ``; test('MyTest', async t => { await t .typeText('#input', 'Hello world!') .click('#apply'); });
For details about a specific action, see the corresponding topic.
- Click
- Right Click
- Double Click
- Drag Element
- Hover
- Take Screenshot
- Navigate
- Press Key
- Select Text
- Type Text
- Upload
- Resize Window
Selecting Target Elements #
For actions that target DOM elements, use the
selector parameter to identify the desired element.
You can pass any of the following objects as a
selector.
A CSS selector string.
test('My Test', async t => { // Click will be performed on the first element // that matches the CSS selector. await t.click('#submit-button'); });
import { Selector } from 'testcafe'; fixture `My fixture` .page ``; const lastItem = Selector('.toc-item:last-child'); test('My Test', async t => { // Click will be performed on the element selected by // the 'getLastItem' selector. await t.click(lastItem); });
A client-side function that returns a DOM element.
test('My Test', async t => { // Click will be performed on the element returned by the function, // which is the third child of the document's body. await t.click(() => document.body.children[2]); });
import { Selector } from 'testcafe'; fixture `My fixture` .page ``; test('My Test', async t => { const topMenuSnapshot = await Selector('#top-menu'); // Click will be performed on the element whose snapshot // is specified. This is an element with the '#top-menu' ID. await t.click(topMenuSnapshot); });
A Promise returned by a selector.
import { Selector } from 'testcafe'; const submitButton = Selector('#submit-button'); fixture `My fixture` .page ``; test('My Test', async t => { // Click will be performed on the element specified by the selector // as soon as the promise is resolved. await t.click(submitButton()); });
Before executing an action, TestCafe waits for the target element to appear in the DOM and become visible. If this does not happen within the selector timeout, the test fails.
Note that TestCafe cannot interact with page elements overlaid by a different element. If the target element is not on top when an action is triggered, TestCafe waits for this element to appear in the foreground. If this does not happen within the selector timeout, the action is performed with an overlaying element. To learn why the target element can be overlaid, see the stacking description in the z-index topic.
An exception is the Upload action. It does not require the target
inputto be visible. You can also perform the upload action when the
inputis overlaid.
Remarks for Touch Devices #
On touch devices, TestCafe emulates touch events instead of mouse events.
|
https://devexpress.github.io/testcafe/documentation/test-api/actions/
|
CC-MAIN-2020-05
|
refinedweb
| 466
| 58.58
|
Getting Started with OpenWrt C Programing
Contents.
Prerequisite
You need a linux system for making the OpenWrt build environment. We are using Ubuntu in this tutorial. Windows 10 users can enable and use Windows Subsystem for Linux, as I am doing here.
Installing Build Tools
Note : Do everything as non root user.
Here we are installing git and GNU build tools. We are installing svn (subversion) and mercurial as some of the feeds are not available over git.
sudo apt update sudo apt install git-core build-essential libssl-dev libncurses5-dev unzip gawk zlib1g-dev sudo apt install subversion mercurial
Collecting Environment Information
We need know the exact target environment before we make the build system and cross compiling. We can find the required information through following steps.
OpenWrt Version
Execute following command to get the version of OpenWrt.
cat /etc/banner
Please note my version is CHAOS CLAMER 15.05.1.
CPU Info
Get the CPU info by running following command.
cat /proc/cpuinfo
Please note my CPU is Atheros AR9330 rev 1 in TP-LINK TL-MR3020 board.
OpenWrt Build System
Downloading & Installing
First we need to download the OpenWrt source codes to make the build environment. I will be downloading chaos calmer. Please choose one depending on your target environment.
git clone
OR
git clone
Go to the directory.
cd openwrt
OR
cd chaos_calmer
Then update and install feeds using following commands.
./scripts/feeds update -a ./scripts/feeds install -a
Configuring Target
Now you can configure the target environment by running following command.
make menuconfig
Then select Target System, Subtarget and Target Profile as per your target environment.
- Target System : Atheros AR7xxx/AR9xxx
- Subtarget : Generic
- Target Profile : TP-LINK TL-MR3020 (I am using TP-LINK MR3020 router)
Please make double sure that you are selecting these as per your target environment, otherwise the cross compiled binary file won’t be compatible with target environment.
Building
Now we are ready for building the image. We can do it with a single command.
make
This may take several hours depending on the speed of your system. Please make sure that internet is available in your system during this process. By default make will run as many parallel jobs as possible, you may also specify it explicitly by using -j option.
Once this is completed your system is ready for cross compiling.
Cross Compiling
Hope your machine is ready for cross compiling C program of OpenWrt. Before compiling the program we need to add all the necessary environment variables as explained below.
Make the Environment
For easy access we are storing all the environment variables in a bash script such that we can run the script whenever required. Create a file in bin folder using following command.
sudo nano /bin/openwrt.config
This will open nano text editor. You can copy below script and paste (right click) in your nano editor. Please don’t forget to change the toolchain directory location as per your download and install location.
# Set up paths and environment for cross compiling for openwrt export STAGING_DIR=/home/ligo/chaos_calmer
Now you can save and exit by pressing Ctrl+O and Ctrl+X respectively. Then setup the environment by running this script.
source /bin/openwrt.config
Once this is completed we can start programming.
Hello World Program
#include <stdio.h> int main() { printf("Hello World"); return 0; }
As you can see this is a simple program to print “Hello World”. Create a file called hello.c as shown below.
nano hello.c
Then copy the above program and paste (right click) in the editor.
Now save and exit the editor by pressing Ctrl+O and Ctrl+X respectively.
Compile
Once the program is saved you can cross compile it using below command.
mips-openwrt-linux-gcc -o hello hello.c
Now you can see that the binary file hello is generated in the folder.
Testing
Next step is to test the generated binary file in the target environment. So connect your PC to your OpenWrt router. My router IP address is 192.168.4.1 . Here we are using scp (secure copy) for copying file from the PC to router.
scp hello [email protected]:hello
Enter the password. Once the file is copied, login to your router using ssh.
ssh [email protected]
Enter your password.
Once you logged in to your router, you can see that the binary file hello is there in the home folder. You can simply run it using following command.
./hello
You can see that “Hello World” message is printed in your terminal. If you are getting any other error message, it might be due to some mistake in above mentioned procedure. So please be careful in each and every step.
Hope you learned how to cross compile a C program for OpenWrt. Please feel free to comment below if you have any doubts.
Hi, I want to add a static library file when i compile. How would I do that?
Scroll up and see what is the exact error.
hi, when i do make -j 4 after some time i am getting make -r world: build failed
with Error 1.
i tried make -j1 V=s to print log
|
https://electrosome.com/cross-compile-openwrt-c-program/
|
CC-MAIN-2022-40
|
refinedweb
| 869
| 67.45
|
Where to put the code for user-defined Tags?
I want to create my own tag.
I have read…
But I didn't understand in what file to put this code.
index.php? Bootstrap.php? Or some other file?
CZechBoY wrote:
Depends on how you use Latte. If you use mvc nette, then you should probably create some latte factory for this setting.
Yes, MVC Nette.
$latte = new Latte\Engine;
$set = new Latte\Macros\MacroSet($latte->getCompiler());
$set->addMacro(‘if’, ‘if (%node.args):’, ‘endif’);
But, in what file to put this 3 lines?
i hope sth like this
latte.macros: - MyApp\Templating\MyIfMacroFactory
namespace MyApp\Templating; class MyIfMacrosFactory { public function install(\Latte\Compiler $compiler) { $set = new \Latte\Macros\MacroSet($compiler); $set->addMacro(‘if’, ‘if (%node.args):’, ‘endif’) return $set; }
|
https://forum.nette.org/en/34060-where-to-put-the-code-for-user-defined-tags#p213631
|
CC-MAIN-2021-49
|
refinedweb
| 129
| 54.08
|
08 November 2012 22:00 [Source: ICIS news]
HOUSTON (ICIS)--?xml:namespace>
Centre-south sugarcane production totalled 36.21m tonnes on 15-31 October, up by 56.5% from 23.13m tonnes in the same two weeks one year earlier.
The increase stemmed from good weather and a higher number of sugarcane mills that were in operation in the second half of October compared with the same period last year.
Unica said 19 sugarcane mills in the centre-south have already finished the 2012 harvest and halted production for the year.
The figure compares with 97 mills that were off line at this time last year.
The centre-south accounts for 90% of
Centre-south sugarcane production is expected to reach 518.5m tonnes for the 2012 crop year, up by 5% from the 493.2m tonnes produced in 2011, according to the Brazilian group.
The projection represents a 2% increase from Unica's original forecast of 509.0m tonne in Apr
|
http://www.icis.com/Articles/2012/11/08/9612448/brazil-group-reaffirms-forecast-for-5-jump-in-sugarcane.html
|
CC-MAIN-2014-10
|
refinedweb
| 162
| 68.47
|
README
After months working with MVC Frameworks for JavaScript like BackBone.JS, Cappuccino, JavaScript-MVC, Ember.JS, HandleBars, Sammy.JS, Spine.JS I’ve decided that Angular.JS will be my choice for a long time since now. Why?, well that’s a good question, each technology has advantages and disadvantages so I won’t say Angular.JS it’s better than the others because they all have advantages that others do not have.
What it is?
Angular.JS is an open source project licensed under the MIT license and is supported by Google since 2010. It fits the definition of a framework the best, even though it’s much more lightweight than a typical framework and that’s why many confuse it with a library; it is 100% JavaScript, 100% client side and compatible with both desktop and mobile browsers. So it’s definitely not a plugin or some other native browser extension. The project is called AngularJS because HTML has angular brackets
{...} and
ng (its namespace) sounds like Angular.
Why Angular.JS
HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. Angular.JS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.
Angular.JS is a toolset for building the framework most suited to our application development. It is fully extensible and works well with other libraries. Every feature can be modified or replaced to suit our unique development workflow and feature needs.
Features
Adding control:
- Data-binding: An automatic way to update the view whenever the model changes, as well as updating the model whenever the view changes.
- Controllers: They are the behavior behind the DOM elements.
- Plain Javascript: Unlike other frameworks, there is no need to inherit from proprietary types; to wrap the model in accessors methods.
Wiring up the Backend:
- Deep linking: This reflects where the user is in the app. Round trip apps get this automatically, but AJAX apps by their nature do not.
- Form validation: Lets you declare the validation rules of the form without having to write JavaScript code.
- Server comunication: They wrap
XHRto give us exception management and
promises. Promises further simplify our code by handling asynchronous return of data.
Creating components:
- Directives: A unique and powerful feature available only in Angular.JS; it lets you invent new HTML syntax, specific to your application.
- Reusable components: Allows you to hide complex DOM structure, CSS, and behavior.
- Localization: Angular’s locale aware filters and stemming directives give you building blocks to make your application available in all locales.
Embed and Inject
- Embeddable: Angular.JS works great with other technologies. Because Angular.JS has no global state, multiple apps can run on a single page without the use of
iframes.
- Injectable: The dependency injection in Angular.JS allows you to declaratively describe how your application is wired. This means that your application needs no
main()method which is usually an unmaintainable mess.
- Testable: Angular.JS was designed from ground up to be testable. It encourages behavior-view separation, comes pre-bundled with mocks, and takes full advantage of dependency injection. It also comes with end-to-end scenario runner which eliminates test flakiness by understanding the inner workings of it.
Template system
At the highest level, Angular.JS does look like a just another templating system, but there is one important reason why the Angular.JS templating system is different, that makes it very good fit for application development: bidirectional data binding. The template is compiled in the browser and the compilation step produces a live view; this means the developers don’t need to write code to constantly sync the view with the model and the model with the view as in other templating systems.
Security holes
Like any other technology, Angular.JS is not impervious to attack. Angular.JS does, however, provide built-in protection from basic security holes including XSS and HTML injection attacks. Angular.JS does round-trip escaping on all strings for you and even offers XSRF protection for server-side communication.
Also it was designed to be compatible with other security measures like Content Security Policy (CSP), HTTPS (SSL/TLS) and server-side authentication and authorization that greatly reduce the possible attack vectors.
jQuery library
Angular.JS can use jQuery if it’s present in the application when it is being bootstrapped, if jQuery is not present in the script path, Angular.JS falls back to its own implementation of the subset of jQuery that its called jQLite.
Credits
Angular.JS by Google, an HTML enhanced for web apps. Super-powered by Google © 2010-2012 Code licensed under the MIT License. Documentation licensed under CC BY 3.0. References: Angular.JS Google+ profile, Angular.JS Youtube channel, EggHead.io Youtube channel, Angular.JS CheatSheet
Angular.JS official project website.
|
https://cixtor.com/blog/angular-js
|
CC-MAIN-2020-16
|
refinedweb
| 816
| 50.12
|
I wrote a class to collect data from MySQL db.
I didn’t understand how to use the
__enter__ and
__exit__ methods when I use the
with.
More specifically, I don’t understand:
Where should I return the
self.raws = self.crouser.execute(self.que)is actually the data from the db.
Until when the connection is going to be open?
How to use the
withmethod in this specific problem?
My code :
import mysql.connector class tak: def __init__(self,host1, user1, password1, db1,aat, que1): self.host = host1 self.user = user1 self.password = password1 self.database = db1 self.auth_plugin = aat self.que = que1 def co(self): try: self.my = mysql.connector.connect( host = self.host, user = self.user, password = self.password, database = self.database, auth_plugin = self.auth_plugin, charset = 'utf8' ) except mysql.connector.errors as err : print(f'{err}') self.crouser = self.my.cursor() self.raws = self.crouser.execute(self.que) self.crouser.fetchall() def __enter__(self): return def __exit__(self, exc_type, exc_val, exc_tb): self with tak(host1="localhost", user1="root", password1="1234", db1="local_db", aat='mysql_native_password', que1='select * from nand').co() as log: print(log)
Answer
A lot of explanation below:
__enter__ prepares stuff (opens stuff that should be later closed and such). If you want to do
with ... as ..., then returned object should be the one that you want to get in
as ... (very often it’s
self but it doesn’t have to be).
__exit__ should clean up stuff – close stuff that should be closed, reassign stuff their original values…
I have no idea why you’re doing the query in the constructor already. The classic way would be:
__enter__ opens connection,
__exit__ closes. Then any query is in the block.
Compare to file operations:
f = open(filename) data = f.readlines() f.close()
Becomes:
with open(filename) as f: # __enter__ returns self data = f.readlines() # we exit the block, so __exit__ is performed - it does f.close() for us
While your code is more like…
with open_and_read(filename) as data: # ????? do something with data I guess?
You do exactly that: open stuff and do one predefined thing… and get stuff that is not closeable, so it could live for longer (right now it lives only inside the
with block).
If that’s really what you wanted, then ditch context managers altogether: just do a function that opens connection, gets the query, closes connection, returns
log.
But if you want a correct context manager, it would probably look like this:
import mysql.connector class tak : def __init__(self,host1, user1, password1, db1,aat): #removed query self.host = host1 self.user = user1 self.password = password1 self.database = db1 self.auth_plugin = aat # self.que = que1 nope, we don't want it here def __enter__(self): self.my = mysql.connector.connect( host = self.host, user = self.user, password = self.password, database = self.database, auth_plugin = self.auth_plugin, charset = 'utf8' ) return self.my.cursor() def __exit__(self, exc_type, exc_val, exc_tb): self.my.close() # now we can get database info once but open the connection multiple times db = tak(...) with db as cur: # our __enter__ returns the cursor cur.execute(...) data1 = cur.fetchall() # as we exit the block, __exit__ is called # do something with data1 with db as cur: # open new connection, return new cursor cur.execute(...) ... ...
[I haven’t tested this code, it might need some adjustments. The point of my answer was to explain proper usage of context managers rather than to give perfect code.]
|
https://www.tutorialguruji.com/python/i-really-got-stuck-about-context-managers-__enter__-__exit__-and-mysql-connector-with-an-error/
|
CC-MAIN-2021-39
|
refinedweb
| 573
| 62.75
|
I'm curious why Transform2D is restricted to nesting only objects of the same type?
For example, the below is not possible because M.Ex.Sprite extends Transform2D<Sprite> and so can't have this Player object set as its Parent. This means I'd have to explicitly code mirroring player transform updates into any child sprites.
Transform2D<Sprite>
Or am I missing something?
public class Entity : Transform2D<Entity> {
...
}
public class Player : Entity {
private Sprite sprite;
public void OnEntry() {
sprite.Parent = this;
}
}
That's a good question.
I wasn't responsible for writing the Transform2D code. Looking at it, I don't see any (obvious) reason why it needs to be that way.
However, as a workaround, maybe you can.. oh wait... that won't work.
Would you be interested in building from source and trying to fix the issue. I think we need to remove the TParent generic parameter.
TParent
Never-mind fixing it. I just removed it and everything appears to be okay.
It would be nice if you could test it in your situation and see if it solves your problem.
Later today (the build server is currently down) I'll build a pre-release NuGet package. If you could reference that from your project the changes will be available.
Ah, beat me to it I was going to say the only issue I found was that Parent is now a BaseTransform<TMatrix> not TParent so you might need a few extra casts here and there...
Parent
BaseTransform<TMatrix>
Yeah, that's right. Time will tell if it's really painful or not.
If it is, we might be able to do some other things like provide some helper methods or extra properties maybe.
Generics tend to be those "seems like a good idea at the time" kind of things but sometimes you later realize they can cause more problems than they solve. I think this is one of those cases.
|
http://community.monogame.net/t/transform2d-restricted-to-nesting-only-objects-of-the-same-type/9634/5
|
CC-MAIN-2019-13
|
refinedweb
| 324
| 76.01
|
anicgMembers
Content count225
Donations0.00 CAD
Joined
Last visited
Days Won1
Everything posted by anicg
What's the problem with n-gons?
anicg posted a topic in ModelingThere shouldn't be n-gons in your geometry, why? Large flat surfaces (100% flat) can either be an n-gon, or hundreds of polygons. In a scene, if multiplied by the number of surfaces, by the number of models it saves on polygon count to have n-gons. What's the problem with n-gons?
Normal map in displacement?
anicg posted a topic in Lighting & RenderingIn a PBR material there is a height/displacement map., but some materials only come with a normal. Do I use the normal as displacement under "Enable Texture Displacement" of the Principled Shader of Mantra? or do I need to generate a height map for this field?
multiply colour with translate value
anicg posted a topic in General Houdini QuestionsI'm having trouble using the colour attribute in translate of a polyextrude, I've seen $CR being used, is it phased out as part of moving from hscript to vex? If I want to multiple the translate value with value, what's the new way?
How to show sim details for Houdini??
anicg replied to joahky7's topic in General Houdini QuestionsI came across this, I hope it helps:
Polyextrude curve
anicg posted a topic in ModelingI can't get any geometry to extrude along a curve, here is a screenprint for a box, which was illustrated in a 2015 video by Sidefx. I have tried polygon curve, nurbs curve. Has something changed? am I doing something wrong?
Polyextrude curve
anicg replied to anicg's topic in ModelingIt really doesn't want to work for me, it's completely ignoring the curve. Here is the file and the making of the file (video recorded less than 2 minutes). Any idea why it's not working? Polyextrude_Along_Curve-1.m4v untitled.hiplc
material lost after further modeling
anicg posted a topic in ModelingI have made a model, added a material. Then from that model down the tree of nodes I made another model, still inheriting the "1 prim attribute: shop_materialpath". When I rendered the 2 models, only the first one has the material assigned, the second not. Why do I loose the material when I create a 2nd model from the 1st that has already a material
Show/Select UV overlaps
anicg replied to anicg's topic in ModelingFound it and it's also 2 clicks in Houdini:
Show/Select UV overlaps
anicg posted a topic in ModelingIs there a quick way to show UV overlaps if there are any? I have seen there is a very handy [select->select overlap] in the UV view of Blender, but when I searched for Houdini I found this video: which is quite a lot of steps for something that is 2 clicks in Blender. Is there a faster way that works also for UDIMs?
How far behind are you / your studio in Houdini version?
anicg posted a topic in Lounge/General chatFor Studios, stability is a priority, upgrades between productions only happen if justified, at least this is the case for Autodesk software where the gap can be several years. I was wondering how far are you / your studio behind in terms of Houdini version?
Is there a way to import colour into cop2net?
anicg posted a topic in Compositing?
Mantra doesn't render in ACES?
anicg posted a topic in Lighting & RenderingI read in SideFX docs: "Renders from Mantra are in linear space." So no ACES in the rendered EXRs?
texture blending between branches - Labs Tree Generator
anicg posted a topic in ModelingI get visible seams between the trunk and the branches, and between the branches and sub-branches. There is a Enable UV blending option which gives some black and red colours that apeear to be useful for blending but I don't know how to use them. Any idea?
Solaris: Export USD with USD ROP - material not working for rubbertoy
anicg posted a topic in Lighting & RenderingI'm in stage (Solaris) context. I have added a test geometry rubbertoy, a domelight, and that's it. Now I want to export as USD, I use a USD rop, I save the file. and open t in Pixar's usdview. The rubbertoy is there, but the material doesn't show up although it's listed in the treeview. I've tested with the tree usd scenes from Pixar (Kitchen set, city, usdskel) and it looks fine, all the materials are there. What am I doing wrong for the rubbertoy material? (the order of attached images is inversed)
import geo attribute in heightfield
anicg posted a topic in General Houdini QuestionsIs there a way of importing an attribute from the geo world to the heightfield world? I want to use the mask generated by the new node in 18.5 "Distance from geometry" as a mask in the heighfield. I've tried Bind import in Heightfield VOP but didn't know how to connect it? I can bring attributes from heightfield to geo but not the other way around. Any idea?
randomly select a point and copy a geo to this point
anicg posted a topic in General Houdini QuestionsI have a point cloud, only one is the lucky winner, chosen randomly to get a geometry copied to it. I've seen rand(@ptnum), not sure how and where to use it.
Ramp parameter colour values set automatically from image
anicg posted a topic in General Houdini QuestionsHoudini, the mother of proceduralism, expects colour values to be set manually in the ramp parameter. Right? i came across a feature in substance designer in gradient map called “pick gradient” that samples colour values from any part of an image you select with colour picker and it automatically populates the ramp/gradient with all the values it found. It gives a rich ramp. Don’t like the ramp values? Just click a different area, you get a different ramp (colours). Like the colours but not the ramp distribution? Just move a few colours around. This is procedural. is there in Houdini (rightfully expected from a procedural software) a way to do something similar? At least not create colour by colour.
Occlusion shader just to visualise geometry (mantra and renderman)
anicg posted a topic in Lighting & RenderingI see some nice greyscale renders that use an occlusion shader, is there one for both mantra and renderman?
Mantra as the sole renderer for production?
anicg posted a topic in General Houdini QuestionsDoes.
Ambient Occlusion map in a principled shader
anicg posted a topic in Lighting & RenderingA beginner question, I just can't find how to use the AO texture map with the Principled shader, there are plenty of "use texture" for everything, but not for AO. How do I use AO?
Ambient Occlusion map in a principled shader
anicg replied to anicg's topic in Lighting & RenderingThank you, I know I have to multiply, but how and where?
scale towards the center of the geometry
anicg posted a topic in ModelingI need to scale down a geometry, but it has to be towards the center of the geometry.
Python/VEX: create and assign material to each existing shop_materialpath
anicg posted a topic in ScriptingFor each existing shop_materialpath (there are a lot of them): - create a group, with the same name as the shop_materialpath - create and assign a material with the same name as the shop_materialpath
cluster pieces in voronoifracture (H16) not in later versions
anicg posted a topic in EffectsWhere can I find this feature in H18? cluster pieces in Voronoi fracture.
|
https://forums.odforce.net/profile/18951-anicg/content/
|
CC-MAIN-2021-39
|
refinedweb
| 1,276
| 62.07
|
Architecture¶
The placement service is straightforward: It is a WSGI application that sends and receives JSON, using an RDBMS (usually MySQL) for persistence. As state is managed solely in the DB, scaling the placement service is done by increasing the number of WSGI application instances and scaling the RDBMS using traditional database scaling techniques.
For sake of consistency and because there was initially intent to make the entities in the placement service available over RPC, versioned objects were used to provide the interface between the HTTP application layer and the SQLAlchemy-driven persistence layer. In the Stein release, that interface was refactored to remove the use of versioned objects and split functionality into smaller modules.
Though the placement service does not aspire to be a microservice it does aspire to continue to be small and minimally complex. This means a relatively small amount of middleware that is not configurable, and a limited number of exposed resources where any given resource is represented by one (and only one) URL that expresses a noun that is a member of the system. Adding additional resources should be considered a significant change requiring robust review from many stakeholders.
The set of HTTP resources represents a concise and constrained grammar for expressing the management of resource providers, inventories, resource classes, traits, and allocations. If a solution is initially designed to need more resources or a more complex grammar that may be a sign that we need to give our goals greater scrutiny. Is there a way to do what we want with what we have already? Can some other service help? Is a new collaborating service required?
Minimal Framework¶
The API is set up to use a minimal framework that tries to keep the structure of the application as discoverable as possible and keeps the HTTP interaction near the surface. The goal of this is to make things easy to trace when debugging or adding functionality.
Functionality which is required for every request is handled in raw WSGI
middleware that is composed in the placement.deploy module. Dispatch or
routing is handled declaratively via the
ROUTE_DECLARATIONS map defined in
the placement.handler module.
Mapping is by URL plus request method. The destination is a complete WSGI application, using a subclass of the wsgify method from WebOb to provide a Request object that provides convenience methods for accessing request headers, bodies, and query parameters and for generating responses. In the placement API these mini-applications are called handlers. The wsgify subclass is provided in placement.wsgi_wrapper as PlacementWsgify. It is used to make sure that JSON formatted error responses are structured according to the API-SIG errors guideline.
This division between middleware, dispatch and handlers is supposed to provide clues on where a particular behavior or functionality should be implemented. Like most such systems, this does not always work but is a useful tool.
Microversions¶
The placement API makes use of microversions to allow the release of new features on an opt in basis. See Placement for an up to date history of the available microversions.
The rules around when a microversion is needed are modeled after those of the compute API. When adding a new microversion there are a few bits of required housekeeping that must be done in the code:
Update the
VERSIONSlist in
placement/microversion.pyto indicate the new microversion and give a very brief summary of the added feature.
Update
placement/rest_api_version_history.rstto add a more detailed section describing the new microversion.
Add a release note with a
featuressection announcing the new or changed feature and the microversion.
If the
version_handlerdecorator (see below) has been used, increment
TOTAL_VERSIONED_METHODSin
placement/tests/unit/test_microversion.py. This provides a confirmatory check just to make sure you are paying attention and as a helpful reminder to do the other things in this list.
Include functional gabbi tests as appropriate (see Testing Placement). At the least, update the
latest microversiontest in
placement/tests/functional/gabbits/microversion.yaml.
Update the API Reference documentation as appropriate. The source is located under
api-ref/source/.
If a new error code has been added in
placement/errors.py, it should be added to the API Reference.
In the placement API, microversions only use the modern form of the version header:
OpenStack-API-Version: placement 1.2
If a valid microversion is present in a request it will be placed,
as a
Version object, into the WSGI environment with the
placement.microversion key. Often, accessing this in handler
code directly (to control branching) is the most explicit and
granular way to have different behavior per microversion. A
Version instance can be treated as a tuple of two ints and
compared as such or there is a
matches method.
A
version_handler decorator is also available. It makes it possible to have
multiple different handler methods of the same (fully-qualified by package)
name, each available for a different microversion window. If a request wants a
microversion that is not available, a defined status code is returned (usually
404 or
405). There is a unit test in place which will fail if there are
version intersections.
Adding a New Handler¶
Adding a new URL or a new method (e.g,
PATCH) to an existing URL
requires adding a new handler function. In either case a new microversion and
release note is required. When adding an entirely new route a request for a
lower microversion should return a
404. When adding a new method to an
existing URL a request for a lower microversion should return a
405.
In either case, the
ROUTE_DECLARATIONS dictionary in the
placement.handler module should be updated to point to a
function within a module that contains handlers for the type of entity
identified by the URL. Collection and individual entity handlers of the same
type should be in the same module.
As mentioned above, the handler function should be decorated with
@wsgi_wrapper.PlacementWsgify, take a single argument
req which is a
WebOb Request object, and return a WebOb Response.
For
PUT and
POST methods, request bodies are expected to be JSON
based on a content-type of
application/json. This may be enforced by using
a decorator:
@util.require_content('application/json'). If the body is not
JSON, a
415 response status is returned.
Response bodies are usually JSON. A handler can check the Accept header
provided in a request using another decorator:
@util.check_accept('application/json'). If the header does not allow
JSON, a
406 response status is returned.
If a hander returns a response body, a
Last-Modified header should be
included with the response. If the entity or entities in the response body
are directly associated with an object (or objects, in the case of a
collection response) that has an
updated_at (or
created_at)
field, that field’s value can be used as the value of the header (WebOb will
take care of turning the datetime object into a string timestamp). A
util.pick_last_modified is available to help choose the most recent
last-modified when traversing a collection of entities.
If there is no directly associated object (for example, the output is the
composite of several objects) then the
Last-Modified time should be
timeutils.utcnow(with_timezone=True) (the timezone must be set in order
to be a valid HTTP timestamp). For example, the response to
GET /allocation_candidates should have a last-modified header of now
because it is composed from queries against many different database entities,
presents a mixture of result types (allocation requests and provider
summaries), and has a view of the system that is only meaningful now.
If a
Last-Modified header is set, then a
Cache-Control header with a
value of
no-cache must be set as well. This is to avoid user-agents
inadvertently caching the responses.
JSON sent in a request should be validated against a JSON Schema. A
util.extract_json method is available. This takes a request body and a
schema. If multiple schema are used for different microversions of the same
request, the caller is responsible for selecting the right one before calling
extract_json.
When a handler needs to read or write the data store it should use methods on the objects found in the placement.objects package. Doing so requires a context which is provided to the handler method via the WSGI environment. It can be retrieved as follows:
context = req.environ['placement.context']
Note
If your change requires new methods or new objects in the placement.objects package, after you have made sure that you really do need those new methods or objects (you may not!) make those changes in a patch that is separate from and prior to the HTTP API change.
If a handler needs to return an error response, with the advent of Placement
API Error Handling, it is possible to include a code in the JSON error
response. This can be used to distinguish different errors with the same HTTP
response status code (a common case is a generation conflict versus an
inventory in use conflict). Error codes are simple namespaced strings (e.g.,
placement.inventory.inuse) for which symbols are maintained in
placement.errors. Adding a symbol to a response is done
by using the
comment kwarg to a WebOb exception, like this:
except exception.InventoryInUse as exc: raise webob.exc.HTTPConflict( _('update conflict: %(error)s') % {'error': exc}, comment=errors.INVENTORY_INUSE)
Code that adds newly raised exceptions should include an error code. Find
additional guidelines on use in the docs for
placement.errors. When a
new error code is added, also document it in the API Reference.
Testing of handler code is described in Testing Placement.
Database Schema Changes¶
At some point in every application’s life it becomes necessary to change the structure of its database. Modifying the SQLAlchemy models (in placement/db/sqlachemy/models.py) is necessary for the application to understand the new structure, but that will not change the actual underlying database. To do that, Placement uses alembic to run database migrations.
Alembic calls each change a revision. To create a migration with alembic, run the alembic revision command. Alembic will then generate a new revision file with a unique file name, and place it in the alembic/versions/ directory:
ed@devenv:~/projects/placement$ alembic -c placement/db/sqlalchemy/alembic.ini revision -m "Add column foo to bar table" Generating /home/ed/projects/placement/placement/db/sqlalchemy/alembic/versions/dfb006498ad2_add_column_foo_to_bar_table.py ... done
Let us break down that command:
The -c parameter tells alembic where to find its configuration file.
revision is the alembic subcommand for creating a new revision file.
The -m parameter specifies a brief comment explaining the change.
The generated file from alembic will have a name consisting of a random hash prefix, followed by an underscore, followed by your -m comment, and a .py extension. So be sure to keep your comment as brief as possible while still being descriptive.
The generated file will look something like this:
"""Add column foo to bar table Revision ID: dfb006498ad2 Revises: 0378df171af3 Create Date: 2018-10-29 20:02:58.290779 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'dfb006498ad2' down_revision = '0378df171af3' branch_labels = None depends_on = None def upgrade(): pass
The top of the file is the docstring that will show when you review your revision history. If we did not include the -m comment when we ran the alembic revision command, this would just contain “empty message”. If you did not specify the comment when creating the file, be sure to replace “empty message” with a brief comment describing the reason for the database change.
You then need to define the changes in the upgrade() method. The code used in these methods is basic SQLAlchemy code for creating and modifying tables. You can examine existing migrations in the project to see examples of what this code looks like, as well as find more in-depth usage of Alembic in the Alembic tutorial.
One other option when creating the revision is to add the
--autogenerate
parameter to the revision command. This assumes that you have already updated
the SQLAlchemy models, and have a connection to the placement database
configured. When run with this option, the upgrade() method of the revision
file is filled in for you by alembic as it compares the schema described in
your models.py script and the actual state of the database. You should always
verify the revision script to make sure it does just what you intended, both by
reading the code as well as running the tests, as there are some things that
autogenerate cannot deduce. See autogenerate limitations for more detailed
information.
Gotchas¶
This section tries to shed some light on some of the differences between the placement API and some of the other OpenStack APIs or on situations which may be surprising or unexpected.
The placement API is somewhat more strict about Content-Type and Accept headers in an effort to follow the HTTP RFCs.
If a user-agent sends some JSON in a PUT or POST request without a Content-Type of application/json the request will result in an error.
If a GET request is made without an Accept header, the response will default to being application/json.
If a request is made with an explicit Accept header that does not include application/json then there will be an error and the error will attempt to be in the requested format (for example, text/plain).
If a URL exists, but a request is made using a method that that URL does not support, the API will respond with a 405 error. Sometimes in the nova APIs this can be a 404 (which is wrong, but understandable given the constraints of the code).
Because each handler is individually wrapped by the PlacementWsgify decorator any exception that is a subclass of webob.exc.WSGIHTTPException that is raised from within the handler, such as webob.exc.HTTPBadRequest, will be caught by WebOb and turned into a valid Response containing headers and body set by WebOb based on the information given when the exception was raised. It will not be seen as an exception by any of the middleware in the placement stack.
In general this is a good thing, but it can lead to some confusion if, for example, you are trying to add some middleware that operates on exceptions.
Other exceptions that are not from WebOb will raise outside the handlers where they will either be caught in the __call__ method of the PlacementHandler app that is responsible for dispatch, or by the FaultWrap middleware.
|
https://docs.openstack.org/placement/latest/contributor/architecture.html
|
CC-MAIN-2020-34
|
refinedweb
| 2,432
| 53.61
|
3 Methods for Logging Output During Ruby Processes
Logging output during ruby processes is hugely beneficial for gaining insight into running code.
Logging output during ruby processes is hugely beneficial for gaining insight into running code.
Long-running processes can appear to hang when you aren't given feedback. So let's give some feedback. node command.
No need to mess with Apache or Nginx to run a web server on your local machine. Just use this ruby command.
Typically your application's stylesheet bundle contains several rules your site doesn't need. Here's how to use PurgeCSS to remove those unused styles when you're working on a Jekyll site.
When you don't want to perform an action until the browser has downloaded all appropriate images.
It's far too easy to let your JS code pollute the global namespace. Here are two methods for keeping your code local..
|
https://cobwwweb.com/page/2/
|
CC-MAIN-2018-51
|
refinedweb
| 152
| 58.28
|
Insert Witty Irony Here <a href="">vince kraemer</a>'s Weblog 2013-03-25T23:25:07+00:00 Apache Roller> GlassFish Integration Features: NB 6.0 vbkraemer 2007-05-24T09:17:34+00:00 2007-05-24T17:22:01+00:00 <p> I noticed that planetnetbeans.org is pointing to this very idle feed for my blog, so many of my recent entries are not getting picked up. I figured I would provide an "index" entry here, until the planet folks get this worked out.... <p> I recently started a new series of entries. You can follow this link to a <a href=""> search for all of my entries about new GlassFish integration features for NetBeans 6.0</a>. <p> I also have some information about <a href="">an experiment I am doing with web and enterprise projects related to keybindings</a>. I looked at web application development in this first entry. I will post more results about enterprise project development sometime next week. <p> Insert a <a href="">link to the news about the NetBeans 5.5.1 release here</a>. <p> If you want to get the live feed of my NetBeans related entries, you will probably want to subscribe to: <a href=""></a> <br> What will you find here vbkraemer 2006-02-04T09:42:45+00:00 2006-02-04T20:12:39+00:00 In this category, I document some of the things that I am doing to test the 'Ease of development' of <a href="">Java EE 5</a>. <P> For my tests, I develop Java EE 5 modules and application using <a href="">NetBeans 5</a>, which is quickly approaching release, instead of the bleeding edge <a href="">NetBeans for Java EE 5</a> builds. <p> I will be using my Mac, which is running Mac OS X 10.4.3, Apple's JRE/JDK (build 1.5.0_05-72), recent NetBeans 5.0 builds and recent promoted GlassFish builds. <P> Since NetBeans 5 doesn't "support" Java EE 5 development, I figure this will really put the claims of the Java EE folks to the test. <P> So, ride along if you want. The trip may get bumpy, so be sure to hold on tight. I'll try to shout-out the bigger bumps so you can avoid them when you start doing you own development. Lazy people rejoice! vbkraemer 2006-01-10T08:38:58+00:00 2006-01-10T16:38:58+00:00 I have been making people work too hard in the notes I have been writing in entries about using <a href="">NetBeans 5</a> to create <a href="">Java EE 5</a> artifacts. If a Web or Enterprise project is targetted for GlassFish, the javaee.jar file is already a library for that project [Explore the project's library node to see it]. <p> Folks will need to remember that javaee.jar needs to be added to General projects (Java Application and Java Class Library) that need to use Java EE 5 annotations. Fastest Web Service Development in the West vbkraemer 2006-01-08T09:51:47+00:00 2006-01-10T16:18:14+00:00 Well, I read through this <a href=""/>extensive article</a> about creating Web Services and am ready to give you an alternative approach. After I show you how I approach doing Web Service development, I will compare the two approaches. <h3>Get Ready</h3> You need to install GlassFish and NetBeans 5. I am using GlassFish build 32 and a nightly build of NetBeans 5 (which will be an RC any day now). Once you install these, <a href="">register the GlassFish instance with NetBeans</a>. <h3>Implement A Service</h3> I will create a web-app based service, just like the other author did. <p> So, I create a web-app. <br> <img src=""/> <p> I create a class that will implement my service. <br> <img src=""/> <p> I add the service annotations. <ol> <pre> package services; import javax.jws.WebMethod; import javax.jws.WebService; @WebService public class Greeting { @WebMethod public String sayHello(String name) { return "May I be of service, "+name+"?"; } } </pre> </ol> I change the web.xml file, so that the web app will be deployed as a <a href="">Java EE 5 component</a>, instead of a J2EE 1.4 component. To do this you just need to change the web-app element from <pre> <web-app </pre> to <pre> <web-app </pre> I deploy the project. <h3>Testing the Service</h3> The GlassFish implementation of Java EE 5 includes the ability to test web services from within the Admin Console. Testing is just one of the features of the web service management capabilities in the Admin Console. <p> You can open the Admin console from within NetBeans, using the context menu of the target instance. <br> <img src=""/> <P> There are two sets of pages associated with web services. The first set provides general information about the services deployed on your instance. The other tab in the set allows you to create a catalog of registries. <br> <img src=""/> <p> The second set of pages/tabs allows you to manipulate individual services. The General tab provides all sorts of detailed information and has the Test button. <br> <img src=""/> <p> A new browser window opens when you press the Test button. <a name="wsdl-link"/> <br> <img src=""/> <P> After you enter the arguments for the service, pressing the operation button provides the result and detailed informatiion about the SOAP messages exchanged between the service and the client. <br> <img src=""/> <h3>Comparison of the two implementation methods</h3> Both processes use JAX-WS 2.0 to implement a web service. Both methods deploy that service onto GlassFish. Both methods use NetBeans 5.0 as the development environment. <p> The method outlined in the other article stays within the boundries of what NetBeans 5.0 supports. My method goes outside that supported environment slightly, since changing the web-app element disables the web.xml multiview editor. <em>If you need to do a lot of web.xml editing, change the web-app element LAST, so you can take advantage of the GUI editing capabilities.</em> <p> The other method requires that you change the build.xml file for your web application. This is supported. The method that I outline in this entry pushes most of the "work" to the GlassFish deployment processing. This is also supported. It may be a bit less error-prone, since you won't need to remember to edit the build.xml for each SEI that is in the implementation WAR file. <h3>Conclusion</h3> At this point, you have a couple different strategies to implement JAX-WS 2.0 web services in NetBeans for deployment to GlassFish. Both are pretty easy to do. <p> You also have a couple different strategies for testing your web services. <p> You have seen some of the Web Service Management features exposed by the Admin Console. <h2>Updates</h2> <a href=""/>Ludo</a> pointed out a mistake in this note... If you register a project for deployment to a GlassFish domain, javaee.jar is ALREADY a library! To see it, explore the Libraries node of your web project. I have updated this note to account for that. I love it when things get easier! Creating a Web Service and a Web Service Client vbkraemer 2005-12-30T01:38:13+00:00 2005-12-30T09:38:13+00:00 It looks like somebody beat me to the punch on this entry. There is an <a href=""/>extensive article</a> that covers this. <p> I may revisit this, soon, though. <p> I guess, I will need to take a look at this from the lazy man's perspective. What about Eclipse.... vbkraemer 2005-12-27T17:57:27+00:00 2005-12-29T16:23:06+00:00 Though some of my co-workers may call me a traitor, I saw this article on <a href=""/>developing EJB 3.0 using GlassFish with Eclipse</a>. <p> As further evidence of <a href="">Java EE 5</a>'s "ease of development", I don't think Filippo Diotalevi is using <a href=""/>Eclipse's WTP</a>. Application Client/EJB 3.0 "Hello, <User>!" vbkraemer 2005-12-23T11:31:55+00:00 2005-12-24T16:50:49+00:00 <p> In this entry, I am going to extend the EJB that I created for my entry <a href="">about creating a web application/EJB 3.0 version of "Hello, world!"</a> to support a remote interface and create an application client that uses that interface. <p> An application client is an alternative to using a web based front-end. They are similar to plain old J2SE applications, except they typically run in a special environment, an Application Client Container or ACC. <P> Getting your client and the container to a remote machine hasn't been a trivial task. <a href="">Project GlassFish</a> includes a very interesting <a href="">app client deployment feature</a>: <a href="">Java Web Start</a> integration, that helps eliminate the pain. I will use it in this entry. <p> Since the app client is going to run in an external JVM, we need to add a remote interface to the EJB in the Greeter project. The code for that is pretty trival (and looks very similar to the code for the Local interface that you created in the previous entry. <ol> <pre> package beans; import javax.ejb.Remote; @Remote public interface DistantGreeting { String returnPoliteGreeting(String name); } </pre> </ol> <p> The implementation of the bean needs to be modified, to implement this new additional interface. <ol> <pre> package impl; import beans.DistantGreeting; import beans.FriendlyGreeting; import javax.ejb.Local; import javax.ejb.Stateless; @Stateless public class GreetingImpl implements FriendlyGreeting, DistantGreeting { public String returnFriendlyGreeting(String name) { return "Well, good to see you again, "+name+"!"; } public String returnPoliteGreeting(String name) { return "It is a pleasure to make your aquantance, "+name+"."; } } </pre> </ol> <p> At this point we can start to create the project that will be our Java EE 5 app client. It is going to be a standard Java Application Project. <p> I will call the new project, Client. <p> You will need to add javaee.jar and the Greeter project as libraries for compilation. You use the Libraries "page" of the Client's Properties dialog to do this. <p> The code for the client is very straight-forward. You will notice that it looks very similar to the code in the web application module. <em>This is an "added feature" of using a ACC based client, over an RMI/IIOP client that accesses an EJB.</em> For a very quick intro to the difference, you should look at an <a href="">entry Petr Blaha wrote</a>. <a href="">The Developer's Guide</a> has <a href="">a detailed discussion of both flavors of application client</a>. <ol> <pre> package client; import beans.DistantGreeting; import javax.ejb.EJB; public class Main { // NOTE: This bean MUST bean static for injection to work! // It is in the spec... static @EJB DistantGreeting bean; public static void main(String[] args) { System.out.println(bean.returnPoliteGreeting("Mr. Kraemer")); } } </pre> </ol> <p> Now we need to add this new project to the Enterprise Application. The first step is adding an entry for the client in the application.xml file of the SampleOne project. <ol> <pre> <module><java>Client.jar</java></module> </pre> </ol> <p> Add the Client project to the Enterprise Application, using the Properties dialog for the SampleOne project. <p> You need to deploy your modified application, to get the new bits (the client and modified EJB ready for users to access). <P> After the application deploys successfully, you will be able to access a new URL on your server that will Java Web Start the application client. In my case, the URL is. If you have Java Web Start enabled, you will see a Java Web Start processing for a few seconds. Java Web Start will ask if you want to run code that has an invalid signature. (You will need to press Run for the rest of the magic to happen...) <p> Then... <p> Nothing appears to happen!?! <p> That's right. You will need to enable the Java Console to see the output of the application client. This is covered in detail as part of this <a href="">entry in the GlassFish Project's Issue Tracker</a>. I have an entry that talks about <a href="">enabling the Java Console on Mac OS X</a>. Another source has information about <a href="">enabling the Java Console on various flavors of Windows</a>. <p> Another alternative is to create an application client that has a <a href="">graphical user interface written in Swing</a>.<br> Web Application/EJB 3.0 "Hello, <USER>!" vbkraemer 2005-12-22T07:07:23+00:00 2005-12-24T21:36:16+00:00 This entry covers the "usual" first Java EE 5 application: Hello, World. <P> The first thing you need to do is create a new project that will be deployed onto the <a href="">GlassFish instance that you registered earlier</a>. <P> <img src=""/> <P>. <p> One other thing to notice about the wizard is the fact that I have 'Set Source Level to 1.4' UNCHECKED. This will allow you to use annotation later on, so make sure you have it unchecked, too. <p> After the wizard finishes, create a java library project. It is going to be the project where you do the EJB 3.0 devlopment. <p> <img src=""/> . <p> <img src=""/> <br> <center>This image is from the Web Application project.</center> <P>.... <p> You need to add the Java Library project to the compile properties of the Web Application, and the packaging properties of the Enterprise Application project. (Don't forget to uncheck the 'Package' attribute when you add the library project to the Web Application project). <p> <img src=""/> <br> <center>Web Application Properties</center> <p> <img src=""/> <br> <center>Enterprise Application Properties</center> <p> You need to add the Java Library that will implement your EJB 3.0 beans to the application.xml manually. Double clicking on the application.xml node, shown below, will open the file in an XML editor. It is easy to add the following: <ol> <pre> <module><ejb>Greeter.jar</ejb></module> </pre> </ol> immediately following the module entry for PleasedToMeetYou.war. <p> <center><img src=""/><br> Expanded Enterprise Application Project: application.xml visible</center> <p> At this point the infrastructure is in place and it is time to start writing Java EE 5 code. The coding required to create an EJB 3.0 bean is wonderfully concise (compared to EJB 2.1). <p> First, we define the interface that says what a bean can do. This the text of the interface that I created. <ol> <pre> package beans; import javax.ejb.Local; @Local public interface FriendlyGreeting { public String returnFriendlyGreeting(String name); } </pre> </ol> <p> After defining the interface we need to create the implementation. That is relatively straight-forward, too. <ol> <pre>+"!"; } } </pre> </ol> Since NetBeans supports annotation and NetBeans 5.0 has some significant <a href="">editor improvements</a>, writing this code is easy. Since there are fewer interrelated files, many of the wizards that create EJB 2.1 artifacts seem heavy. <br><em>The one exception would probably be in the development of entity beans, which still require a lot of meta-data.</em> <p> Once the bean is ready, it is time to call it. In my example, I am going to create a servlet to do that. Other folks have demonstrated other methods for calling your EJB 3.0 bean from a Web Application. <p> The easy way to create the servlet is to use the New item from the Web Application project's right-click menu. <p> Here is the text of my servlet. <ol> <pre> <code>GET</code> and <code>POST</code>(); //\* TODO output your page here out.println("<html>"); out.println("<head>"); out.println("<title>Servlet(); } </pre> </ol> I have left out the boilerplate code that NetBeans has put into a code fold. If you want to see it, click on the boxed-plus icon that appears along the left hand side of the editor (after you use the wizard to create servlet). <p>: <pre> <web-app </pre> with somehting like this <pre> <web-app </pre> The easiest way to make this stick is to copy the text above and paste it over the "old" web-app element in the web.xml file. <p>. <p> The IDE will start the server, deploy the application and open the browser. It will trigger the default welcome-file, index.jsp. If you append "/EJB3Greeting?name=foobar" to the URL, you will see this: <br> . Register a Java EE 5 server vbkraemer 2005-12-20T18:24:02+00:00 2005-12-22T15:30:44+00:00 While <a href="">NetBeans 5</a> doesn't support <a href="">Java EE 5</a>, it does allow you to register a <a href="">Java EE 5 implementation</a> as a deployment target. <p> I found some <a href="">instructions for registering a GlassFish instance into the NetBeans 5 Beta environment</a>. Fortunately, they are mostly incorrect now. [Folks had a lot of trouble using the UI that was there in NetBeans 5 Beta, so we fixed it.] One important point from those instructions is still valid though; you must start NetBeans with J2SE 5.0 (aka jdk 1.5). I will walk you through the new screens and choices that are available in NetBeans 5. <p> Servers are registered in the NetBeans environment on the Runtime explorer (or tab). <center><img src=""/></center> <P> Right click on the Servers node to expose the 'Add Server...' item and select it. <p> Choose 'Sun Java System Application Server' as the Server and provide Name for it. <center><img src=""/></center> <p> The next page gives you a number of different options. Most users that install GlassFish will be using a private copy with its default domain. This is the option that is selected by default. Once the user enters the value of the 'Platform Location', the Domain combobox is automatically populated. <img src=""/> <p> If you enter the path to a GlassFish installation, you may see an error message, if you have started the IDE in J2SE 1.4. GlassFish (and all of Java EE 5, really) depends on J2SE 5.0 features. NetBeans needs to load classes from the libraries that ship with GlassFish. The NetBeans FAQ has an <a href="">entry about sepecifiying the JDK to use</a>. <p> There are other options that are supported by additional pages of the wizard. The user can register a domain that they have created using 'asadmin create-domain', by choosing 'Register Local Domain'. If the user needs to deploy modules and applications to a remote server, they can register it using 'Register Remote Domain'. <P> In previous version of the IDE and plugin, there has been the ability to create a personal domain in situations where the user cannot use one of the other local domains. This had been a hidden feature, unlocked by analyzing the application server's installation and default domains. in this release, we expose the feature explicitly. There is a fair bit of data verification that the you need to do, so be prepared. <center><img src=""/></center> <P> Once your server is registered, you can right click on it to expose actions to control it, view the log file and open the web-based administration interface, known as the Admin Console. Most of these actions only apply to LOCAL domains, since the plugin depends on various scripts in the insatllation directory to implement the actions. <br> <center><img src=""/><br> Expanded Servers Node: GlassFish instance visible.</center> <p> When you start the server, the server log is exposed. This allows you to diagnose start-up issue. The log is also exposed when you Run/Debug/Deploy projects to a Sun Java System Application Server. <center><img src=""/></center> <p> The glyphs on the left side of the log window let you Start, Debug, Restart, Stop and Refresh the server status in a single click.
|
http://blogs.oracle.com/vkraemer/feed/entries/atom?cat=%2F5+in+5
|
CC-MAIN-2016-22
|
refinedweb
| 3,389
| 66.13
|
NAME
keyctl - Manipulate the kernel's key management facility
SYNOPSIS
#include <keyutils.h> long keyctl(int cmd, ...);
DESCRIPTION
keyctl() has a number of functions available: KEYCTL_GET_KEYRING_ID Ask for a keyring's ID. KEYCTL_JOIN_SESSION_KEYRING Join or start named session keyring. KEYCTL_UPDATE Update a key. KEYCTL_REVOKE Revoke a key. KEYCTL_CHOWN Set ownership of a key. KEYCTL_SETPERM Set perms on a key. KEYCTL_DESCRIBE Describe a key. KEYCTL_CLEAR Clear contents of a keyring. KEYCTL_LINK Link a key into a keyring. KEYCTL_UNLINK Unlink a key from a keyring. KEYCTL_SEARCH Search for a key in a keyring. KEYCTL_READ Read a key or keyring's contents. KEYCTL_INSTANTIATE Instantiate a partially constructed key. KEYCTL_NEGATE Negate a partially constructed key. KEYCTL_SET_REQKEY_KEYRING Set default request-key keyring. KEYCTL_SET_TIMEOUT Set timeout on a key. KEYCTL_ASSUME_AUTHORITY Assume authority to instantiate key. These are wrapped by libkeyutils into individual functions to permit compiler the compiler to check types. See the See Also section at the bottom.
RETURN VALUE
On success keyctl() returns the serial number of the key it found. On error, the value -1 will be returned and errno will have been set to an appropriate error.
ERRORS
EACCES A key operation wasn't permitted. EDQUOT The key quota for the caller's user would be exceeded by creating a key or linking it to the keyring. EKEYEXPIRED An expired key was found or specified. EKEYREJECTED A rejected key was found or specified. EKEYREVOKED A revoked key was found or specified. ENOKEY No matching key was found or an invalid key was specified.
LINKING
Although this is a Linux system call, it is not present in libc but can be found rather in libkeyutils. When linking, -lkeyutils should be specified to the linker.
SEE ALSO
keyctl(1), add_key(2), request_key(2), keyctl_get_keyring_ID(3), keyctl_join_session_keyring(3), keyctl_update(3), keyctl_revoke(3), keyctl_chown(3), keyctl_setperm(3), keyctl_describe(3), keyctl_clear(3), keyctl_link(3), keyctl_unlink(3), keyctl_search(3), keyctl_read(3), keyctl_instantiate(3), keyctl_negate(3), keyctl_set_reqkey_keyring(3), keyctl_set_timeout(3), keyctl_assume_authority(3), keyctl_describe_alloc(3), keyctl_read_alloc(3), request-key(8)
COLOPHON
This page is part of release 3.35 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at.
|
http://manpages.ubuntu.com/manpages/precise/man2/keyctl.2.html
|
CC-MAIN-2014-42
|
refinedweb
| 359
| 61.73
|
Eureka Tutorial – Start Building Easy iOS Forms
Many apps let the user enter information via a form interface. Forms can vary in complexity, from simple username and password screens, to more involved interfaces like those for a contact book or calendar.
Eureka is a powerful library that allows developers to rapidly create form interfaces for user input.
This Eureka tutorial will teach you how to use Eureka’s essential building blocks by crafting the interface of a simple to-do app called EurekaToDo. You’ll see how Eureka makes it easy to set up various commonly-used user interface elements such as date pickers, text fields and segmented controls with no boilerplate UIKit code!
In addition:
- Eureka’s components are very flexible and extensible out-of-the-box and cover the majority of use cases. Eureka makes it easy to implement your custom components if your needs get more specific. Examples of community-generated plugins include a
GooglePlacesRowand an
ImageRow, which you’ll get to use in this Eureka tutorial.
- Eureka is a well-documented library with plenty of helpful tips and examples available through its official Github portal.
Getting Started
Download the starter project for EurekaToDo, the to-do list app you’ll be working with for this Eureka tutorial.
In addition to basic view controller transitions, the starter project includes the app’s model and view model layers. Open EurekaToDo.xcworkspace and take a few minutes to browse the project. Here’s a quick overview of important classes:
ToDoListViewController: Manages the list of to-do items presented to the user.
ToDoListViewModel: The presentation logic for
ToDoListViewController.
EditToDoItemViewController: Enables the user to add and edit to-do items — it currently doesn’t do much. All the work for this Eureka tutorial will be in this file.
EditToDoItemViewModel: The presentation logic supporting
EditToDoItemViewController.
You’ll notice the project doesn’t use a storyboard. While Eureka can leverage nib files for custom views, you’ll be amazed by how easy it is to programmatically create and customize common controls.
Note: For this Eureka tutorial, you will be passing values to and from a view model and not the model directly. Although Eureka does not require the use of the Model-View-ViewModel (MVVM) paradigm, MVVM encourages a cleaner, more testable app architecture. For this Eureka tutorial, the view model may be thought of as directly substituting for the app’s
model. See the Further Reading section for more on this topic.
Build and run the application. You’ll see a to-do list pre-populated with a single item. Tapping the item takes you to a blank screen (controlled by
EditToDoItemViewController) with Back and Save navigation items. Tap the Back button in the top left to return to the to-do list.
The edit screen currently leaves a lot to be desired. You probably recall
EditToDoItemViewController didn’t have much in it. This is where you come in! By the time you’re done, the final project’s interface will look like the picture below:
Adding Eureka to our View Controller
Open EditToDoItemViewController.swift and replace the current import and class declaration with the following:
import Eureka import UIKit class EditToDoItemViewController: FormViewController {
Note: You may need to build the project if the Cocoapod module is not immediately visible to your project.
You’ve imported the
Eureka framework and changed the superclass to be
FormViewController.
FormViewController is a
UIViewController subclass provided with Eureka. It includes a
form property, which is an instance of Eureka’s
Form class. The
Form class is an abstraction of the
UITableView object into which you’ll be adding various user interface elements.
A
Form instance may contain one or more
Section objects. Each
section, in turn, may contain one or more
Row objects. As you may have guessed from their names, these properties correspond to the sections and rows of the
UITableView. Eureka’s
Form,
Section and
Row abstractions provide some very powerful and flexible functionality.
Adding a Section and a Row
In order to add rows to a form, you will first need a
Section object to contain them.
You’ll use Eureka’s custom
+++ operator to add a
Section to the form, and the
<<< operator to add rows to a section. Add the following to
viewDidLoad(), just beneath the call to
super:
//1 form +++ Section() //2 <<< TextRow() { // 3 $0.title = "Description" //4 $0.placeholder = "e.g. Pick up my laundry" $0.value = viewModel.title //5 $0.onChange { [unowned self] row in //6 self.viewModel.title = row.value } }
Here's a look at what this code does:
- Acts on the
formobject provided by
FormViewControler.
- Instantiates and adds a
Sectionto the form using Eureka's
+++operator.
- Adds a
TextRowto the section. As you'd expect, this is a row that will contain some text. The initializer accepts a closure used to customize the row's appearance and events.
- Adds a
titleand
placeholdertext to the textfield. The title is a left-justified label and the placeholder appears on the right until a value is added.
- This sets the initial value of the row to show the to-do item's
title.
- Eureka's
Rowsuperclass comes with a host of callbacks that correspond to various interaction and view lifecycle events. The
onChange(_ :)closure is triggered when the row's
valueproperty changes. When a change happens, this updates the viewModel's
titleproperty to the row's current value.
Build and run the application. When you tap the lone to-do item in the list, the
EditToDoItemViewController screen should now look like the picture below. On the edit screen, tap the item, update the text and then Save. The model object updates with your form input!
In only 10 lines of code, you displayed a model-driven textfield in a tableview.
Now that you have an idea of how Eureka works, time to add some other elements!
Setting the Due Date with a Date Picker
Every to-do list needs to have due dates. Fortunately, Eureka has a row type that displays a date picker when tapped. Add the following to the bottom of
viewDidLoad():
+++ Section() <<< DateTimeRow() { $0.dateFormatter = type(of: self).dateFormatter //1 $0.title = "Due date" //2 $0.value = viewModel.dueDate //3 $0.minimumDate = Date() //4 $0.onChange { [unowned self] row in //5 if let date = row.value { self.viewModel.dueDate = date } } }
You've added another Section, this time with a
DateTimeRow to display the picker. Here's a deeper look at how it's configured:
- To format the presentation of the date, set the row's
dateFormatterto the static
dateFormatter
- Most Eureka
Rowsubclasses allow you to set their
titleproperty to make the purpose of the row clear to the user.
- When the row is initially configured, set its value to the view model's due date.
- Use today's date as the minimum date that can be accepted as user input.
- Set the newly-selected date to the view model when
onChangeis triggered.
provided in the starter project.
Build and run the project to confirm the new row is in its own section right below the item title. Tap the row, and a date picker will appear at the bottom of the screen. Note that you can't select a date prior to the present day.
Selecting the Repeat Frequency
Any worthwhile to-do item interface should let the user specify whether a task is recurring, and at what interval. You will make use of Eureka's
PushRow class for this.
PushRow accepts an array of options of a given type. Eureka will then take care of generating the supporting interface and navigation to enable the user to make a selection.
Add a
PushRow right below the date picker, in the same section:
<<< PushRow<String>() { //1 $0.title = "Repeats" //2 $0.value = viewModel.repeatFrequency //3 $0.options = viewModel.repeatOptions //4 $0.onChange { [unowned self] row in //5 if let value = row.value { self.viewModel.repeatFrequency = value } } }
By now, some of the above steps should look a little familiar:
- Add a new
PushRowto the most-recently instantiated section.
PushRowis a generic class, so you need to specify that you're using it with type
Stringin angle brackets.
- Again, to make the purpose of this selector clear to the user, set its title to "Repeats".
- Initialize the row's value with the view model's
repeatFrequencyproperty to show the current selection.
- As you might have guessed, the
optionsof a
PushRowrepresent the list of possible values the user can select. Set this to
viewModel.repeatOptions, an array of strings that have been declared in the starter project. If you Command+Click
repeatOptions, you'll see the repeat options are:
never,
daily,
weekly,
monthlyand
annually.
- Whenever the row's value changes, update
viewModelwith the newly-selected value.
Build and run. You'll see that a new row titled Repeats is added to the form.
Tapping this row transports you to a view where you can select from the provided options. Upon selection, you're popped back to the root task edit view with your selection reflected.
Adding a Priority Selector
A user should be able to specify how important an item is. To do that, you'll use a
SegmentedRow which embeds a
UISegmentedControl into a
UITableViewCell.
Below the code you just added for the
PushRow, add the following:
+++ Section() <<< SegmentedRow<String>() { $0.title = "Priority" $0.value = viewModel.priority $0.options = viewModel.priorityOptions $0.onChange { [unowned self] row in if let value = row.value { self.viewModel.priority = value } } }
The code above adds a
SegmentedRow with a
String type parameter to the form. By now, the rest of the steps outlined should look familiar. Like the row setup you've seen so far, you're setting the
title,
value,
options and
onChange(_:) properties using the
viewModel.
Build and run. You now have a fully-functioning segmented control to set the item's priority, where "!", "!!" and "!!!" correspond to low-, medium- and high-importance, respectively.
Setting a Reminder with an Alert Row
The interface requires a way for the user to select when they will be reminded of an upcoming item, such as "30 minutes before," "1 hour before", or "1 day before". You could use a
PushRow, as in the repeat frequency example. However, to explore the variety of Eureka's components, you will use an alert controller instead. And guess what? Eureka has an
AlertRow for that!
Add the following just below the
SegmentedRow:
<<< AlertRow<String>() { $0.title = "Reminder" $0.selectorTitle = "Remind me" $0.value = viewModel.reminder $0.options = viewModel.reminderOptions $0.onChange { [unowned self] row in if let value = row.value { self.viewModel.reminder = value } } }
The setup of this row is identical to the rows you have added until this point. However, you also set the additional
selectorTitle property, which is the title of the
UIAlertController presenting the list of options.
Note: Eureka can also display alert controllers with the ActionSheet style using
ActionSheetRow in a similar fashion.
Build and run. When you tap the row titled Reminder, an alert controller is presented, allowing you to select the desired reminder time. You didn't even have to write any
UIAlertController code!
Validation
Still on the task edit view, tap-to-edit the description text field. Delete all characters until you can see the placeholder text, then hit Save. Your to-do item no longer has a title!
It would be a good idea to make sure the user cannot leave the description blank. Back in
viewDidLoad(), find the code where you added a
TextRow. Add the following just before the closing bracket of the
TextRow closure (and after the
onChange closure):
$0.add(rule: RuleRequired()) //1 $0.validationOptions = .validatesOnChange //2 $0.cellUpdate { (cell, row) in //3 if !row.isValid { cell.titleLabel?.textColor = .red } }
- Initialize and add a
RuleRequiredto the
TextRowobject. This is one of the validation rules provided with Eureka to handle required input in a form. It indicates that a value must be provided in the field to pass validation.
- Set the row's
validationOptionsto
.validatesOnChange, meaning the validation rule will be evaluated as the row's
valuechanges.
- If the value of the row is not valid, set the row's title color to red to red to alert the user.
Note: You can also add custom rules to handle use cases more specific to our needs, as described in Eureka's documentation.
To make sure the user can't leave the editing screen with an invalid entry, replace the contents of the
saveButtonPressed(_:) method with the following:
if form.validate().isEmpty { _ = navigationController?.popViewController(animated: true) }
Eureka has a
validate() method that returns an array of any validation errors from all rows with validation rules. If this array is empty, your form has no errors and you can pop the view controller from the navigation stack.
Build and run, and delete the contents of the Description field again. This time, the field label turns red, and the Save button won't allow you to leave until the issue is resolved.
Adding More Pizazz with Eureka Plugins
A plugin is a custom
Row component just like any of the rows already included with the Eureka library. You can browse the plugins created by the community at the Eureka Community Portal.
Let's say you wanted the user to be able to attach an image to a to-do item as a visual aid. Sounds like a job for the
ImageRow plugin!
The plugin has already been included in the starter project using the CocoaPods installation instructions found in the plugin readme. To integrate it, start by adding the following import statement to the top of EditToDoItemViewController.swift:
import ImageRow
Note: This plugin requires the addition of the
NSCameraUsageDescription and
NSPhotoLibraryUsageDescription keys in the project's
info.plist file. This has already been done for you in the starter project.
In
viewDidLoad(), add a new section with an
ImageRow to the form:
+++ Section("Picture Attachment") <<< ImageRow() { $0.title = "Attachment" $0.sourceTypes = [.PhotoLibrary, .SavedPhotosAlbum, .Camera] //1 $0.value = viewModel.image //2 $0.clearAction = .yes(style: .destructive) //3 $0.onChange { [unowned self] row in //4 self.viewModel.image = row.value } }
Taking it comment-by-comment:
- In the initialization closure, allow the user to select images from their Photo Library, Saved Photos album, or camera if available.
- If an image is already attached to this to-do item, use it to initialize the row's
value.
- Present the "Clear Photo" option with the "destructive" style to indicate that image data may be permanently destroyed when a photo attachment is cleared (when using the camera roll, for example).
- As with the previous examples, update the
viewModel.imagewhen a new value is set.
Build and run. Tap the row titled Attachment, pick Photo Library from the action sheet, then select an image attachment. The results will be shown in a preview on the Attachment cell.
Creating a Eureka Plugin
Open EditToDoItemViewModel.swift and check out the
categoryOptions array. You can see that the starter project includes possible to-do item categories of Home, Work, Personal, Play and Health. You will create a custom component to allow the user to assign one of these categories to a to-do item.
You will use a
Row subclass that provides the default functionality of a
PushRow but whose layout is more tailored to your needs. Admittedly, this example is a little contrived, but it will help you understand the essentials of crafting your own custom components.
In Xcode's File Navigator, control click the Views group and create a new file named ToDoCategoryRow.swift. Import Eureka at the top of this file:
import Eureka
Until now, you have been dealing almost exclusively with subclasses of Eureka's
Row class. Behind the scenes, the
Row class works together with the Cell class. The Cell class is the actual
UITableViewCell presented on screen. Both a
Row and
Cell must be defined for the same
value type.
Adding a Custom Cell Subclass
You'll start by creating the cell. At the top of ToDoCategoryRow.swift, insert the following:
//1 class ToDoCategoryCell: PushSelectorCell<String> { //2 lazy var categoryLabel: UILabel = { let lbl = UILabel() lbl.textAlignment = .center return lbl }() //3 override func setup() { height = { 60 } row.title = nil super.setup() selectionStyle = .none //4 contentView.addSubview(categoryLabel) categoryLabel.translatesAutoresizingMaskIntoConstraints = false let margin: CGFloat = 10.0 categoryLabel.heightAnchor.constraint(equalTo: contentView.heightAnchor, constant: -(margin * 2)).isActive = true categoryLabel.widthAnchor.constraint(equalTo: contentView.widthAnchor, constant: -(margin * 2)).isActive = true categoryLabel.centerXAnchor.constraint(equalTo: contentView.centerXAnchor).isActive = true categoryLabel.centerYAnchor.constraint(equalTo: contentView.centerYAnchor).isActive = true } //5 override func update() { row.title = nil accessoryType = .disclosureIndicator editingAccessoryType = accessoryType selectionStyle = row.isDisabled ? .none : .default categoryLabel.text = row.value } }
You've created a custom
PushSelectorCell, which derives from
UITableViewCell and is managed by
PushRow. The cell will display a centered label. Here are some details on how this works:
- You'll be displaying string values in this cell, so you provide
Stringas the optional type.
- Instantiate the
UILabelthat will be added to the cell.
setup()is called when the cell is initialized. You'll use it to lay out the cell - starting with setting the
height(provided by a closure),
titleand
selectionStyle.
- Add the
categoryLabeland the constraints necessary to center it within the cell's
contentView.
- Override the cell's
update()method, which is called every time the cell is reloaded. This is where you tell the cell how to present the
Row's
value. Note that you're not calling the super implementation here, because you don't want to configure the
textLabelincluded with the base class.
Adding a Custom Row Subclass
Below the
ToDoCategoryCell class, add
ToDoCategoryRow:
final class ToDoCategoryRow: _PushRow<ToDoCategoryCell>, RowType { }
Because
Row subclasses are required to be
final,
PushRow cannot be subclassed directly. Instead, subclass the generic
_PushRow provided by Eureka. In the angle brackets, associate the
ToDoCategoryRow with the
ToDoCategoryCell you just created. Finally, every row must adhere to the
RowType protocol.
Now your custom row is all set up and ready to use!
Adding a Dynamic Section Footer
The custom row will be embedded in a "Category" section which will be initially hidden from the user. This section will be unhidden when the user taps a custom table view footer. Open EditToDoItemViewController.swift, and right below the declaration of the
dateFormatter constant, add the following:
let categorySectionTag: String = "add category section" let categoryRowTag: String = "add category row"
The
tag property is used by the
Form to obtain references to a specific Eureka
Row or
Section. You'll use this constant to tag and later retrieve the section and row used to manage an item's category.
Next, add the following lines at the end of
viewDidLoad():
//1 +++ Section("Category") { $0.tag = categorySectionTag //2 $0.hidden = (self.viewModel.category != nil) ? false : true } //3 <<< ToDoCategoryRow() { [unowned self] row in row.tag = self.categoryRowTag //4 row.value = self.viewModel.category //5 row.options = self.viewModel.categoryOptions //6 row.onChange { [unowned self] row in self.viewModel.category = row.value } }
This adds a new section that includes your custom
ToDoCategoryRow, which is initially hidden. Here are some details:
- Add a section to the form, assigning the
categorySectionTagconstant.
- Set the section's
hiddenproperty to
trueif the
categoryproperty on the view model is nil. The plain nil-coalescing operator cannot be used here as the hidden property requires a Boolean literal value instead.
- Add an instance of
ToDoCategoryRowto the section tagged with
categoryRowTag.
- Set the row's
valueto
viewModel.category.
- Because this row inherits from
PushRow, you must set the row's
optionsproperty to the options you want displayed.
- As you've seen in prior examples, use the row's
onChange(_:)callback to update the view model's
categoryproperty whenever the row's
valuechanges.
Near the top of
EditToDoItemViewController, right below the
categorySectionTag definition, add the following:
lazy var footerTapped: EditToDoTableFooter.TappedClosure = { [weak self] footer in //1 //2 guard let form = self?.form, let tag = self?.categorySectionTag, let section = form.sectionBy(tag: tag) else { return } //3 footer.removeFromSuperview() //4 section.hidden = false section.evaluateHidden() //5 if let rowTag = self?.categoryRowTag, let row = form.rowBy(tag: rowTag) as? ToDoCategoryRow { //6 let category = self?.viewModel.categoryOptions[0] self?.viewModel.category = category row.value = category row.cell.update() } }
EditToDoTableFooter is a view class included in the starter that contains a button with the title Add Category. It also includes
TappedClosure, a typealias for an action to execute when tapped. The code you added defines a closure of this type that takes a
footer, removes it from the view and displays the category section.
Here is a more detailed look:
- To avoid retain cycles, pass
[weak self]to the closure.
- Safely unwrap references to the view controller and its
formand
categorySectionTagproperties. You obtain a reference to the
Sectioninstance you defined with the
categorySectionTag.
- When the footer is tapped, remove it from the view since the user shouldn't be allowed to tap it again.
- Unhide the section by setting
hiddento
falsethen calling
evaluateHidden().
evaluateHidden()updates the form based on the
hiddenflag.
- Safely unwrap the reference to the
ToDoCategoryRowwe added to the form.
- Ensure the view model's
categoryproperty and the cell's row
valueproperty are defaulted to the first item in the array of options. Call the cell's
update()method so its label is refreshed to show the row's value.
The Home Stretch
You're almost at the finish line! At the bottom of
viewDidLoad(), insert the following:
//1 let footer = EditToDoTableFooter(frame: .zero) //2 footer.action = footerTapped //3 if let tableView = tableView, viewModel.category == nil { tableView.tableFooterView = footer tableView.tableFooterView?.frame = CGRect(x: 0, y: 0, width: tableView.bounds.width, height: 50.0) }
- Declare an instance of
EditToDoTableFooter. You pass a
zeroframe, because the size will be handled by constraints tied to the cell layout.
footer.actionis triggered when the footer button is pressed, and this ensures it fires the code you defined in the
footerTappedclosure.
- If the view model's
categoryis nil, set the table view's
tableFooterViewproperty to our newly-instantiated
footer. Next, set the footer's frame to the desired dimensions.
Build and run the project. Tap the large, white button with the words Add Category at the bottom of the table view. Voila! The button is replaced by the custom
PushRow subclass you created.
Tap this row to choose from a selection of "emoji-fied" categories. Eureka!
Finishing Touches
The app's users should have the ability to add and delete items. Luckily, the starter project has been set up to do this, and all you have have to do is wire it up.
addButtonPressed(_:):
// Uncomment these lines //1 let addViewModel = viewModel.addViewModel() //2 let addVC = EditToDoItemViewController(viewModel: addViewModel) navigationController?.pushViewController(addVC, animated: true)
addViewModel()instantiates the view model necessary to add a new to-do item.
EditToDoItemViewControlleris instantiated with the
addViewModeljust created, then pushed onto the navigation stack.
Build and run. This time tap the + to generate a blank to-do item. Fill in the details, then save it. It’s about time you picked up your laundry!
If you were being adventurous, you might have noticed that tapping Back instead of Save had the same effect: the item was added. This is because the model is created as soon as you tap +.
Next, you're going to work on deletion for this case as well as to delete older items.
In
EditToDoItemViewController, find
deleteButtonPressed(_:) and uncomment the following lines:
//1 let alert = UIAlertController(title: "Delete this item?", message: nil, preferredStyle: .alert) let cancel = UIAlertAction(title: "Cancel", style: .cancel) let delete = UIAlertAction(title: "Delete", style: .destructive) { [weak self] _ in //2 self?.viewModel.delete() _ = self?.navigationController?.popViewController(animated: true) } //3 alert.addAction(delete) alert.addAction(cancel) navigationController?.present(alert, animated: true, completion: nil)
The above code will be executed when the Delete button in the navigation bar is pressed.
- Create a
UIAlertControllerwith a title,
canceland
deleteactions.
- In the completion handler of the
deleteaction, tell the view model to delete the to-do item currently being edited. Then pop the current view controller off the navigation stack.
- Add the
canceland
deleteactions to the alert controller, and present the alert controller on the navigation stack.
Next, delete the following lines of code from the bottom of
deleteButtonPressed(_:):
// Delete this line _ = self.navigationController?.popViewController(animated: true)
This is no longer necessary as you're now handling the pop after deleting the model.
And finally, go the
initialize() method and find this line of code:
let deleteButton = UIBarButtonItem(title: "Back", style: .plain, target: self, action: .deleteButtonPressed)
Change the title of the bar button item from "Back" to "Delete" so it reads as follows:
let deleteButton = UIBarButtonItem(title: "Delete", style: .plain, target: self, action: .deleteButtonPressed)
Build and run. Whether you're adding a new item or editing an existing one, tapping Save will take you back to the to-do list only if there are no validation errors (i.e., if the item title is not blank). Tapping Delete will remove the item and take you back to the to-do list.
Where To Go From Here?
The finished project can be downloaded here.
I hope this Eureka tutorial helped you gain a broad understanding of the advantages and possibilities of using Eureka. I encourage you to check out Eureka's own excellent documentation and in-depth tutorials to continue your journey:
- Eureka's Github Portal
- Eureka Community Portal
- Creating Your Own Rows For Eureka - Part 1 and Part 2
You can learn more about the Model-View-ViewModel (MVVM) architecture with the following resources:
- Introduction to MVVM
- Tutorial by Erik Cerney from RWDevCon 2016 Vault.
Please share any questions or comments in the discussion below!
Team
Each tutorial at is created by a team of dedicated developers so that it meets our high quality standards. The team members who worked on this tutorial are:
- Author
Nicholas Sakaimbo
- Tech Editor
Jeff Rames
- Editor
Chris Belanger
- Final Pass Editor
Andy Obusek
- Team Lead
Andy Obusek
|
https://www.raywenderlich.com/156849/eureka-tutorial-start-building-easy-ios-forms
|
CC-MAIN-2017-26
|
refinedweb
| 4,309
| 50.33
|
Re: Why segfault and no NULL match in for loop?
- From: jaysome <jaysome@xxxxxxxxxxx>
- Date: Thu, 03 May 2007 00:18:50 -0700
On Wed, 02 May 2007 20:14:34 -0400, CBFalconer <cbfalconer@xxxxxxxxx>
wrote:
somebody wrote:
... snip to content of search.h ...... snip to content of search.h ...
There are two files below named search.c and search.h. In the for
loop in search.c, the for loop never exits, even if
mystruct[i].field1 has no match. Instead of exiting the for loop
it keeps going until it segfaults. This seems to be related to the
strcmp with the NULL value. There are 2 comments below that
indicate the segfaults. I guess the question is, when there is no
match, how to I detect that and return without a segfault?
struct _mystruct mystruct[] =
{
"AAA", "EEE", "R", "DF", 25,
"BBB", "FFF", "R", "DF", 25,
"CCC", "GGG", "R", "DF", 99,
"DDD", "HHH", "R", "DF", 13,
};
NEVER define an actual object in a .h file. Doing so will cause it
to be multiply defined, and result in link or run time errors. Add
the word "extrn" to the definition, and delete the initialization.
Put the above structure in ONLY one of the files in which you
#include "search.h".
In addition to the correction noted by Keith ("extrn" should be
"extern"), it should be noted that defining an actual object in a .h
file does not necessarily mean that it will be multiply defined and
result in a link or run time error.
If the header file is included by a single translation unit, there
will be no link or run time errors. You only run into trouble when
multiple translation units include said header file and *think* they
are accessing the same data (something I have witnessed in practice).
Why would you ever want to define an actual object in a .h file? I can
think of only one instance, which is if the .h file is shared between
two or more programs (and included by a single translation unit in
each, of course). I've used this technique, but only sparingly. Think
of gcc and gcov using the same objects with file scope internal
linkage, as an example (I'm not saying they do this, just that it is
an acceptable option, IMHO, especially if there are a lot of the same
objects used in both).
(My actual usage of the above is almost the same code running as
programs/processes on two dissimilar processors, which was one of the
requirements necessary to achieve a certain level of system safety
assurance).
NEVER define an actual object in a .h file, unless you really know
what you're doing.
A .h file is NOT a place for headers, it is a place to define the
data you want to export from a .c file.
Saying a ".h file is NOT a place for headers" is like saying a "house
is not a place for a home". I think you meant "objects" instead of
"headers".
Best regards
--
jay
.
- Follow-Ups:
- Re: Why segfault and no NULL match in for loop?
- From: CBFalconer
- References:
- Why segfault and no NULL match in for loop?
- From: somebody
- Re: Why segfault and no NULL match in for loop?
- From: CBFalconer
- Prev by Date: Re: gets() is dead
- Next by Date: Re: How to pass various structures to function?
- Previous by thread: Re: Why segfault and no NULL match in for loop?
- Next by thread: Re: Why segfault and no NULL match in for loop?
- Index(es):
|
http://coding.derkeiler.com/Archive/C_CPP/comp.lang.c/2007-05/msg00192.html
|
crawl-002
|
refinedweb
| 593
| 73.47
|
GraphQL and React: a perfect match
At NearForm we love React, and since the release of React Hooks we’ve been busy building cool new things with React Hooks.
We also love GraphQL, its declarative API is perfect to marry up with React components.
Introducing graphql-hooks:
GraphQL Hooks is a super lightweight GraphQL client for React with first-class support for hooks. It supports custom cache plugins, server-side rendering and requires minimal configuration to get up and running quickly. On top of that, it’s tiny – weighing in at 5.2KB (1.9KB gzipped).
Example:
Let’s walk through how we would get started with `graphql-hooks` by building a small demo application. In this example, we’re using create-react-app to bootstrap the React application and GraphCool to bootstrap the GraphQL API.
We’re going to cover:
- `GraphQLClient` & `ClientContext` – how to create a client instance using the Context API
- `useQuery` – send a GraphQL query
- `useMutation` – send a GraphQL mutation
- Refetching data
In the following snippet, we configure a new `GraphQLClient`, letting it know where to find our GraphQL API. We then pass our client into React’s context using the provided `ClientContext`, making it available throughout our application.
import { GraphQLClient, ClientContext } from 'graphql-hooks' const client = new GraphQLClient({ url: '' }) function App() { return ( <ClientContext.Provider value={client}> {/* children */} </ClientContext.Provider> ) }
useQuery
Now we will create a new component called `Posts`. This will send a query to fetch the posts from our GraphQL API using `useQuery` and render them in a list.
import React from 'react' import { useQuery } from 'graphql-hooks' export const allPostsQuery = ` query { allPosts(first: 20) { id title url } } ` export default function Posts() { const { loading, data, error } = useQuery(allPostsQuery) return ( <>
<PostList loading={loading} error={error} data={data} /> </> ) } function PostList({ loading, error, data }) { if (loading) return ‘Loading…’ if (error) return ‘There was an error loading the posts :(‘ if (!data || !data.allPosts || !data.allPosts.length) return ‘No posts’ return (
=> (
- key={post.id}> href={post.url}>{post.title}
))}
) }
useMutation
We can then make use of `useMutation`, by adding a small form that enables the user to add a new post to the list.
import React, { useState } from 'react' import { useMutation } from 'graphql-hooks' import CreatePostForm from './CreatePostForm' const createPostMutation = ` mutation CreatePost($title: String!, $url: String!) { createPost(title: $title, url: $url) { id } } ` export default function CreatePost({ onSuccess }) { const [createPost, { loading, error }] = useMutation(createPostMutation) async function handleSubmit({ title, url }) { await createPost({ variables: { title, url } }) onSuccess() } return ( <CreatePostForm loading={loading} error={error} onSubmit={handleSubmit} /> ) }
Refetching
Let’s include the `CreatePost` component inside `Posts` and make use of the `refetch` function from `useQuery` once the mutation is complete.
export default function Posts() { const { loading, data, error, refetch } = useQuery(allPostsQuery) return ( <>
Add post
<CreatePost onSuccess={refetch} />
<PostList loading={loading} error={error} data={data} /> </> ) }
You can see the full example running here and you can find the code here.
Great, but what about caching?
Caching is a plug-in. Pass your cache implementation in when you instantiate your client, like so:
import { GraphQLClient } from 'graphql-hooks' import memCache from 'graphql-hooks-memcache' const client = new GraphQLClient({ ... cache: memCache() })
Here we’re using graphql-hooks-memcache, an in-memory cache.
What about Server Side Rendering?
Yup – you guessed it, graphql-hooks-ssr has you covered. Check out its documentation for a step by step guide.
What else can graphql-hooks do?
- Pagination
- Manually trigger a query
- Customise fetch options per query/mutation
- Fine-grained error handling
- …and lots more! For a full list of features, see the README.
If you’d like to see some more examples you can check out our Fastify SSR and Next.js examples. We’d love for you to try it out yourselves and, as always, we welcome any feedback and contributions!
At NearForm, we have vast experience in building solutions across a broad tech stack to deliver reduced complexities and overcome common hurdles. If you are creating modern applications and leveraging web technologies, contact us to learn more about how we can help.
Photo by Clint Adair on Unsplash
|
https://www.nearform.com/blog/introducing-graphql-hooks/
|
CC-MAIN-2021-31
|
refinedweb
| 669
| 53.92
|
For other languages, please see the Chromium style guides.
Chromium follows the Google Objective-C style guide unless an exception is listed below.
A checkout should give you clang-format to automatically format Objective-C and Objective-C++ code. By policy, Clang‘s formatting of code should always be accepted in code reviews. If Clang’s formatting doesn't follow this style guide, file a bug.
For consistency with the 80 character line length used in Chromium C++ code, Objective-C and Objective-C++ code also has an 80 character line length.
Just as Google Objective-C style follows Google C++ Style, Chromium Objective-C and Objective-C++ follows Chromium C++ style.
Use
nil for null pointers to Objective-C objects, and
nullptr for C++ objects. C functions and constants defined in a namespace, use C++ style, even if most of the file is Objective-C.
TEST and
TEST_F macros expand to C++ methods, so even if a unit test is mostly testing Objective-C objects and methods, the test should be written using C++ style.
|
https://chromium.googlesource.com/chromium/src/+/5f959bfdc350e1cf17d1960a012a0cfc4d8a4a30/styleguide/objective-c/objective-c.md
|
CC-MAIN-2021-31
|
refinedweb
| 176
| 63.59
|
This post is a bit lengthy. If you prefer, signup to get the full PDF here. 📖
After Particle's Mesh deprecation announcement, many have been left to figure out how to deploy their low power sensor networks. There was always the option of using Particle's Built in Bluetooth stack but as it stands today it's not secure.
Previously I had helped form a very simple nRF SDK-based hub and spoke IoT deployment. Unfortunately, it was closed source and the company is no longer around.
So what's a guy to do?
Build another one and make it open. (BSD licensed to be exact!) Open and free for anyone to use adopt and improve upon. Plus if you're building a product that's using the code, you don't have to share your improvements or proprietary code with anyone.
In this post I'll be talking about how to get started with Pyrinas. It uses Nordic's time tested SDK as a basis for the kernel of the system. The main concept of Pyrinas is to abstract as much IoT cruft away so you can focus on your application.
So without further ado, let's chat about what Pyrinas is and what it isn't.
What Pyrinas is
Is an embedded "kernel", written in C. It's open and permissive IoT development environment you can use for anything you want. Seriously. It's BSD licensed and can be used in closed source applications.
Using the power of Bluetooth 5.0 Long Range, Pyrinas allows you to communicate with many peripheral devices at one time. Currently Pyrinas has been tested with 3 simultaneous peripheral connections. Theoretically, it can support up to 20 simultaneous connections. (Thanks to Nordic's S140 Softdevice)
Pyrinas transports its data in two ways
- In a familiar string format used by Particle
- A custom Protocol Buffer for raw data transmission.
That way you have a choice of how you want to process and publish your data!
What Pyrinas isn't
- Pyrinas is not a RTOS (real time operating system). If you have a need to run multiple threaded applications on embedded, Pyrinas is not for you.
- Pyrinas, at this time, does not support Mesh.
- An OS for every single kind of Bluetooth SoC on the market. Due to the tight coupling with Nordic's nRF SDK, Pyrinas only works with Nordic's SoCs.
- A turnkey solution for IoT. Pyrinas is early on it it's development process. The aim is for it to become a viable option for anyone to develop and publish IoT applications the way they want to. There's no vendor lock in. There's no surprises.
Things you'll need
There are a few things you'll need in order to get going with Pyrinas.
- At least 2 Particle Xenons
- At least 1 nRF Development board or J-link programmer
- Associated USB cables
Getting started with an example
Getting started with Pyrinas involves two repositories.
The OS directory has all the source, SDK dependencies and toolchain you need to use Pyrinas.
The template is where you add all your application code. The template provides a starting point for you and your project.
Here's how everything goes together:
Clone the OS directory to some place on your machine:
git clone --recurse-submodules
Once complete, change directories to
pyrinas-os and run
make setup
cd pyrinas-os make setup
This will download your toolchain and SDK dependencies.
In order to use OTA DFU, you will need to also generate the DFU key for the process:
make gen_key
The files generated by this process will be used later.
Next, we'll want to use the template to make two new projects. In this example we'll have one "hub" and one "sensor." Simply navigate to the template repository and click the Use this template button.
Then name your new repository. Click the Create repository from template button when you're happy with everything.
Then clone your repository to the same directory as
pyrinas-os. Make sure you replace
<your username> and
<repo name> with your own.
cd .. git clone<your username>/<repo name>.git hub
After this is done, go back and create a new repository from the template. We'll be using this one for the sensor node.
Clone this repository once you're done setting it up in the same place as your
hub and
pyrinas-os repositories.
Now that we have all our repositories, let's start with our sensor node.
Setting up the sensor node repository
Open up the sensor repository using a program like Microsoft's VS Code. If you have the command line shortcuts you can use
code to open it from the terminal:
code sensor
Before we do anything we'll need to set up the symbolic link to
pyrinas-os. Make sure you're in the
sensor directory and then run
ln -s ../pyrinas-os/ using the terminal.
cd sensor ln -s ../pyrinas-os/ .
This allows your project to use all the code, SDK and toolchains within the
pyrinas-os repository! As an added bonus you can do this as many times as you want. Have multiple Pyrinas projects? No problem.
Alright! Now, let's check out the Makefile. You'll want to customize some of the definitions within the file:
# Start: Your configuration! # Set this to the directory of pyrinas-os # If you used a symbolic link this points to # the `pyrinas-os` folder in this repository OS_DIR := pyrinas-os # This should be the serial number of your Jlink programmer. # To find simply run `jlinkexe` PROG_SERIAL=1234678 # This is your debugger port for Jlink's RTT. If you # have mulitple, you will have to change this on each app # your're using PROG_PORT=19021 # This is where you set your board type. Here are the supported boards: # xenon - Particle Xenon BOARD=xenon # This is where you can name your app something. Make it specific APP_FILENAME=pyrinas-template # This determines whether or not you're using debug mode # Comment this out or change to false DEBUG=true # End: Your Configuration
For example, you may want to setup your programmer serial. This allows you to use multiple programmers at the same time. (Very helpful in debugging both devices at the same time) To get your programmer's serial plug in your development board and run
jlinkexe.
jlinkexe SEGGER J-Link Commander V6.62a (Compiled Jan 31 2020 12:59:22) DLL version V6.62a, compiled Jan 31 2020 12:59:05 Connecting to J-Link via USB...O.K. Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 21 2020 17:30:48 Hardware version: V1.00 S/N: 581758669 License(s): RDI, FlashBP, FlashDL, JFlash, GDB VTref=3.300V Type "connect" to establish a target connection, '?' for help J-Link>
Find the S/N area. This is your serial number!
Alternatively you can look at the sticker on your development kit. It will contain the serial number for your device.
For the
PROG_PORT you want to use different ports for each device you're simultaneously debugging. I've found 19021 and 19020 are perfectly good options for most two-device debugging sessions.
The Makefile also includes the ability to choose a board. In our case there's only one option:
xenon. Future revisions of Pyrinas will have multiple options.
APP_FILENAME is the name of your app. We'll rename ours to
pyrinas-sensor
Finally,
DEBUG is used to halt execution either on an error or restart. For production this should be commented out or set to
false. We can leave it as is for now.
The Makefile is also the source for some of the most important commands you'll need during development:
make build- builds your app.
make clean- cleans all remnants of your app.
make debug- opens up the
jlinkexedebugger console.
make erase- erases the chip attached to your programmer.
make flash- flashes the current app to your connected device.
make flash_softdevice- flashes the soft_device
make rtt- opens up the debug console.
make ota- generates a zip file used for BLE DFU
Basic sensor node code
Now that we have some of the basics out of the way, let's create a very simple application that publishes on a set interval. If you look at
app.c, you'll see some code in the
setup() function. Let's delete all the commented out code. (We'll use it later for the hub though)
Your code should now look something like:
#include "app.h" void setup() { BLE_STACK_PERIPH_DEF(init); // Configuration for ble stack ble_stack_init(&init); // Start advertising advertising_start(); } void loop() { }
Now let's create a timer that we'll use to publish on a set interval. Under
#include "app.h" create a new timer:
#include "app.h" timer_define(m_sensor_timer);
We also need to set it up in the
setup() function:
// Sensor timer timer_create(&m_sensor_timer, TIMER_REPEATED, sensor_timer_evt);
You'll notice that
timer_create is referring to a event callback called
sensor_timer_evt. We'll need to create that guy as well:
static void sensor_timer_evt() { // We'll come back in a sec }
The last thing is to start the timer. Let's do that underneath
timer_create:
// Start timer_start(&m_sensor_timer, 1000);
This will start our repeating timer on a 1 second interval. (
timer_start is configured using milliseconds)
Now, inside
sensor_timer_evt we'll publish some data. First though we need to make sure that Bluetooth is connected using
ble_is_connected.
static void sensor_timer_evt { // Check if we're connected if (ble_is_connected()) { // Sends "ping" with the event name of "data" ble_publish("data", "ping"); } }
Inside the if statement, we'll use
ble_publish. The first argument is the name of the event and the second is the value.
Next, in order to receive messages from the other end we'll need to setup a callback:
// Configuration for ble stack ble_stack_init(&init); // Setup BLE callback ble_subscribe("data", ble_evt);
We'll define
ble_evt at the top of the file:
static void ble_evt(char *name, char *data) { NRF_LOG_INFO("%s: %s", name, data); }
In this case we'll use
NRF_LOG_INFO to print out the message from the hub.
Finally, in order to get the MAC address easily, we'll have to add a call to print it out in
setup().
// Print the address util_print_device_address();
In the end your file should look something like this:
#include "app.h" timer_define(m_sensor_timer); // Catch events sent over Bluetooth static void ble_evt(char *name, char *data) { NRF_LOG_INFO("%s: %s", name, data); } static void sensor_timer_evt() { // Check if we're connected if (ble_is_connected()) { // Sends "ping" with the event name of "data" ble_publish("data", "ping"); } } void setup() { BLE_STACK_PERIPH_DEF(init); // Configuration for ble stack ble_stack_init(&init); // Setup BLE callback ble_subscribe("data", ble_evt); // Start advertising advertising_start(); // Sensor sensor timer. timer_create(&m_sensor_timer, TIMER_REPEATED, sensor_timer_evt); // Start timer_start(&m_sensor_timer, 1000); // Print the address util_print_device_address(); } void loop() { }
Next, we'll program it to some hardware!
Flashing the basic sensor code:
For this step you'll need to have a Xenon handy. You'll also need a programmer, programming cable and two Micro-B USB cables. Here's a picture of everything connected:
Once connected and powered run these commands:
make erase make flash_softdevice make flash make debug
Then in a separate terminal window run
make rtt
make debug and
make rtt will create a debugging session. You can issue commands in the
make debug terminal to control the device as well. For instance,
r followed by
Enter will restart the device. (By far my most common use case).
If you've flashed everything successfully, your device should start blinking green. That's a good sign!
Additionally, if you take a look at the
make rtt side your output should be similar to this:
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ... ###RTT Client: Connected. SEGGER J-Link V6.62a - Real time terminal output J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 21 2020 17:30:48 V1.0, SN=581758669 Process: JLinkExe <info> app_timer: RTC: initialized. <info> app: Boot count: 4 <info> app: Pyrinas started. <info> app: Address: 11:22:33:44:55:66
Take note of the address displayed above. We'll need that for the hub code!
Setting up the hub repository
If you haven't already, clone your hub repository locally. We'll want to do some of the same steps as we did with the sensor repo like:
- Setting up the symbolic link
- Updating the Makefile
- Setting your
PROG_SERIAL
- Setting
PROG_PORTto a port not used by the sensor setup.
19020in this case is fine.
- Setting
APP_FILENAMEto
pyrinas-hub
If you need a reminder how any of these steps work, go back and review the earlier section.
Next, we'll want to open
app.c and uncomment the central/hub based code. Plus you'll want to remove the default un-commented code. Your
setup() should look something like this:
void setup() { // Default config for central mode BLE_STACK_CENTRAL_DEF(init); // Add an addresses to scan for ble_gap_addr_t first = { .addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC, .addr = {0x81, 0x64, 0x4C, 0xAD, 0x7D, 0xC0}}; init.config.devices[0] = first; ble_gap_addr_t second = { .addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC, .addr = {0x7c, 0x84, 0x9d, 0x32, 0x8d, 0xe4}}; init.config.devices[1] = second; // Increment the device_count init.config.device_count = 2; // Configuration for ble stack ble_stack_init(&init); // Start scanning. scan_start(); }
You'll notice immediately that there are two clients/devices defined here. Let's remove the second one. Should you, in the future, want to connect more devices this is an example of how to do it.
Reminder: also make sure that you change the
init.config.device_count to
1.
Then, you'll want to update the
.addr field in
ble_gap_addr_t first to match the address we got earlier from
make rtt:
// Add an addresses to scan for ble_gap_addr_t first = { .addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC, .addr = {0x11,0x22,0x33,0x44,0x55,0x66}}; init.config.devices[0] = first;
The address field uses raw bytes, so it has to be represented that way. Remove the
: and place
0x in front of each byte. We end up going from
11:22:33:44:55:66 to
{0x11,0x22,0x33,0x44,0x55,0x66}
Now before we flash anything, let's also set up the Bluetooth event handler. As with earlier we'll use
ble_subscribe to attach an event handler:
// Setup BLE callback ble_subscribe("data", ble_evt); Then place the function at the top of the file: // Catch events sent over Bluetooth static void ble_evt(char *name, char *data) { NRF_LOG_INFO("%s: %s", name, data); ble_publish("data", "pong"); }
You'll notice we're printing out the message using
NRF_LOG_INFO. We're also sending a message back to the sensor in the form of
ble_publish("data","pong"); In other-words we're playing a game of ping-pong between the two devices!
In the end your code should look something like this:
#include "app.h" // Catch events sent over Bluetooth static void ble_evt(char *name, char *data) { NRF_LOG_INFO("%s: %s", name, data); ble_publish("data", "pong"); } void setup() { // Default config for central mode BLE_STACK_CENTRAL_DEF(init); // Add an addresses to scan for ble_gap_addr_t first = { .addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC, .addr = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66}}; init.config.devices[0] = first; // Increment the device_count init.config.device_count = 1; // Configuration for ble stack ble_stack_init(&init); // Setup BLE callback ble_subscribe("data", ble_evt); // Start scanning. scan_start(); } void loop() { }
Reminder: make sure you set
ble_gap_addr_t first or the two devices will not connect!
To program, connect the Xenon to program as you did before. We'll flash it using the same methods as before:
make erase make flash_softdevice make flash make debug
Then in a separate terminal window run
make rtt
Then take a look at each of the
make rtt screens. There should be some output! For the hub it should look something like this:
Process: JLinkExe <info> app: Boot count: 4 <info> app: Pyrinas started. <info> ble_m_central: Connected to handle 0x0 <info> ble_m_central: Protobuf Service discovered <info> app: data: ping <info> app: data: ping
And the sensor side like this:
Process: JLinkExe <info> app_timer: RTC: initialized. <info> app: Boot count: 4 <info> app: Pyrinas started. <info> app: Address: 11:22:33:44:55:66 <info> ble_m_periph: Notifications enabled! <info> app: data: pong <info> app: data: pong
The ping and pong messages should continue until you stop them. Awesome! If you get any warnings like this one:
Unable to write. Notifications not enabled!
Use the reset button on either of the devices. This should fix the problem.
Side note: the pairing process for Bluetooth is inherently insecure. Once the pairing process is complete though, the devices are secure. (With the caveat that no one was sniffing the pairing process!) There may be improvements on security in the future.
Congrats! 🎉If you've made it this far, you've deployed your first Pyrinas hub and sensor client!
For more information about what Pyrinas can do you should check out the header files under
pyrinas-os/include/. Also, Pyrinas can do anything that you'd normally be able to do with Nordic's SDK. Nordic's Infocenter is a great resource for learning more about what the SDK has to offer.
What does the future hold for Pyrinas?
All future tasks for Pyrinas are shared openly on the Github Repo. Here are some of the high level improvements on the roadmap:
- Particle Boron + LTE support - That's right! Cellular will be coming to Pyrinas. As of this writing, the first board to support Pyrinas LTE will be Particle's Boron.
- MQTT (over TLS) and HTTPS support - Once we have cellular, we need something to communicate with. That's where MQTT and HTTPS come in. They're some of the most popular protocols for IoT today.
- Built in remote OTA support - As it stands today, devices programmed with Pyrinas uses Nordic's Secure Bootloader. That means they can be updated over the air by a computer or cellphone nearby. This isn't sustainable for long term deployments though!
Instead, you will be able to push updates to Pyrinas devices over the Cloud. Yup. No reason to get off your couch, you can deploy your updates from anywhere.
- Dynamic configuration and management - adding and removing devices from a Pyrinas system currently takes some effort. In future revisions, it will be easier to add and remove devices on the fly. This allows for remote device management with zero headaches.
- Support for pre-certified modules and other development boards based on Nordic's nRF52840. Currently the Xenon is the only supported board. Development boards aren't great for full production though. Stay tuned for support for pre-certified modules from vendors like Fanstel and more..
- Support for more development environments. Currently Pyrinas supports Mac only.
Star and Watch!
This is only the tip of the iceberg! Stay tuned for more updates and make you you star and watch the repository.
Or, better yet, looking to help out? Contributions are welcome!
You can read other articles on my blog, jaredwolff.com
|
https://www.freecodecamp.org/news/meet-pyrinas-an-iot-development-kit-for-your-particle-xenon/
|
CC-MAIN-2020-29
|
refinedweb
| 3,130
| 66.13
|
Hawks fly past Giants
Monday Cloudy with increasing showers C6
4th-quarter rally lifts Seattle over New York B1
Peninsula Daily News Port Townsend-Jefferson County’s Daily Newspaper
50 cents
Book
junkie confesses
October 10, 2011
Latest in liquor fight: Big vs. small If initiative passes, larger stores could sell spirits Peninsula Daily News news services
Author Mary Doria Russell will speak at Chimacum High School auditorium Tuesday as the speaker for the 2011 Huntingford Humanities Lecture.
Noted novelist Doria Russell to appear in Chimacum By Diane Urbani
Paz
change of pace. At best, it’s nourishing and satisfying — and maybe even memorable,” Doria CHIMACUM — The woman Russell said . has a snappy retort for the quesThe acclaimed novelist, who tion about her work. lives outside Cleveland, is coming Yes, it may seem like texting to the North Olympic Peninsula and YouTube are taking over, on Tuesday to offer a talk titled novelist Mary Doria Russell “Confessions of a Book Junkie.” acknowledges. Admission is free to the So will we have any use, in 10 6:30 p.m. lecture in the Chimaor 20 years, for a full-length novel? cum High School auditorium, 91 She answers with an analogy: West Valley Road. “In an era of snacks and junk Doria Russell’s speech is food, what good is a well-cooked 2011’s Huntingford Humanities and beautifully presented meal? Lecture, an event named for the late Sally Huntingford, a teacher At the very least, it’s a welcome de la
Peninsula Daily News
and mother who believed in the ways a library can enliven a rural community. Huntingford helped establish the Jefferson County Library, which presents the lecture each year.
Praised for work The writer, who joins Sherman Alexie and Nancy Pearl among those who have come to give Huntingford lectures, enjoys glowing praise for her creations. Turn
to
Novelist/A6
Voters on the North Olympic Peninsula get a do-over of sorts Nov. 8 — they’ll be deciding whether liquor sales in the state should go private. Initiative 1183 would allow hard liquor — whisky, vodka, gin and the like — to be sold at stores large (like Costco) but not small (like a corner store). Unlike a year ago, when competing privatization initiatives — 1100 and 1005 — were defeated by voters, one single initiative on this November’s ballot would preserve jobs among distributors that the 2010 I-1100 especially wouldn’t have. I-1183 appears on ballots in the all-mail election that begins Oct. 19 with ballot distribution to registered voters and ends at 8 p.m. Nov. 8. This time, it simply makes Washington selling liquor in private stores like most of the nation. State governments sell spirits in a minority of states — 18 — and operate retail stores in a smaller minority. And while it’s hard to predict how prices would change, competition among private companies might inch Washington toward other states — such as California — where liquor is cheaper.
Other regulations But aside from privatization, Initiative 1183 puts under the microscope the byzantine regulations that govern alcohol sales across the country. Rules that replaced Prohibition set up a three-tier system: separating manufacturers, wholesale distributors and retailers. Supporters of the measure backed by Costco Wholesale, which is based in Issaquah and operates a North Olympic Peninsula outlet in Sequim, said it would leave the three-tier system intact while changing some
rules specific to Washington state. For example, Costco and other big retailers would be able to negotiate discounts for buying in large quantities. “That’s the way we do business,” John Sullivan, associate general counsel for Costco, told The News Tribune of Tacoma. “If I’m a manufacturer, whether it’s wine or tires or mayonnaise, it’s more efficient for me to sell a truckload or a pallet to Costco rather than individual cases. “That’s the way the world works.”
Wholesalers object But John Guadnola, director of the Washington Beer and Wine Wholesalers Association, said I-1183 would “emasculate” the three-tier system of regulation, which he said discourages excessive drinking. “I don’t think alcohol should be marketed like oatmeal, myself,” Guadnola said. Washington bans alcohol price discounts based on quantity. And grocers cannot distribute alcohol to their stores from a central warehouse, which would allow them to bypass wholesalers. Costco challenged those rules in court but lost.
Common practice R. Corbin Houchins, a lawyer who has worked for large retailers on alcohol law and is a former counsel at the Olympia Brewing Co., said it’s common for states to forbid central warehousing. Some states, but probably not a majority of them, ban quantity discounts, he said. I-1183 would leave the bans in place for beer, but would remove them for wine and wouldn’t extend them to the new private market in hard liquor. Small wineries won’t be able to compete for shelf space if retailers can command deep discounts for buying by the case instead of the bottle, Guadnola said. Turn
to
Liquor/A6
Mountain goats in Cascades on decline I-90 corridor may contribute to dwindling animal numbers By Kie Relyea
mountain goat habitat is protected as national forest, park or wilderness, he said, so how could BELLINGHAM — When their numbers be dwindling? David Wallin was asked by the Overhunting in the past Sauk-Suiattle tribe eight years turned out to be one reason. ago to help figure out why the number of mountain goats in the Geographic isolation Washington’s Cascades was so low, he was puzzled. A newer culprit is Interstate “How could mountain goat 90, which runs east from Seattle populations possibly be in trou- and cuts across the Cascades. ble?” wondered Wallin, an enviThink of it as a big road mounronmental science professor at tain goats are reluctant to cross. Western Washington University. That means different populaMost of the alpine environ- tions don’t mix much. And so ment in the state that makes up I-90 isolates the goats geographThe Bellingham Herald
BUILDING SUPPLY Building partnerships since 1984
Please Check Your Fire Extinguisher Today!
! NEW
10 Year
Smoke Alarm Batteries & Smoke Alarm Testers
1A5136190
(360) 385-1771
901 Nesses Corner Rd., Port Hadlock, WA 98339 Store Hours: Monday-Friday 7am-6pm, Saturday-Sunday 8am-5pm
Christina Hersum
A mountain goat peers down from Cashmere Mountain Turn to Goats/A6 outside of Leavenworth.
October is Fire Safety Month
Time for a new smoke alarm?
HADLOCK
ically and genetically — and that reduces their chances of survival, according to Wallin. “The single most important factor that’s structuring mountain goat populations in Washington state is the I-90 corridor,” he said. “It’s not an absolute barrier, but it’s a very strong impediment.” Wallin is among a group of researchers studying the regional decline of mountain goats. It’s a collaboration kick-started by the Sauk-Suiattle tribe, for whom the mountain goat is important historically and culturally, and includes lead biologists from the state Department of Fish and Wildlife as well as the U.S. Forest Service.
Inside Today’s Peninsula Daily News 95th year, 240th issue — 3 sections, 18 pages
Classified C2 Comics B4 Commentary/Letters A7 Dear Abby B4 Horoscope B4 Lottery A2 Movies C6 Nation/World A3 Peninsula Lookback A2
Peninsula Poll Puzzles/Games Sports Weather
A2 C3 B1 C6
A2
UpFront
Monday, October 10,
Artist paints portrait of Clooney A WISCONSIN ARTIST said he has to pinch himself after being commissioned to paint a portrait of actor George Clooney. Some scenes from Clooney’s new movie “The Ides of March” were filmed at the University of Michigan, ClooneyTV that Clooney was friendly and genuine. He said Clooney loved the portrait and told McCready he made him look young.
Gabor surgery Zsa Zsa Gabor’s husband said the 94-year-old actress will undergo an
Peninsula Daily News PENINSULA POLL
The Associated Press
A portrait of actor George Clooney painted by artist Ben McCready of Whitewater, W
FRIDAY/SATURDAY QUESTION: Have you increased or decreased your dining out in restaurants and other eating places since the Great Recession hit?
hospital Saturday. Von Anhalt said Gabor has opened her eyes but is not speakGabor ing or responding. He said doctors are waiting for antibiotics to take effect on the infection.
HERMAN CAIN SAID that as president he will bring Republicans and Democrats together. He was the guy that brought pineapple and ham together on a pizza, so it wouldn’t be surprising. Jimmy Kimmel
Decreased
About the same
I never dine out
55.5% 33.2% 6.7%
Total votes cast: 1,580 Vote on today’s question at
By The Associated Press
Laugh Lines
I never eat at home 0.4%
Passings MIKEY WELSH, 40, former Weezer bass player who also found success in his second career as an artist, has been found dead in a Chicago hotel room, police said. Police spokeswoman Laura Kubiak said Mr. Welsh was supposed to check out of Mr. Welsh the Raffacirca 2000 ello Hotel at 1 p.m. Saturday. When he didn’t, hotel staff went to his room and later entered it. Kubiak said Mr. Welsh was unconscious and not breathing. Weezer posted a message on its official website, saying, “a unique talent, a deeply loving friend and father, and a great artist is gone, but we will never forget him.” The cause of death was undetermined pending toxicology tests, according to an autopsy performed Sunday by the Cook County Medical Examiner’s Office. Test results could take up to six weeks, authorities said. Kubiak said there’s nothing to indicate foul play.
Increased 4.2%
A drug overdose is suspected as the cause, according to the Cook County Medical Examiner. Mr. Welsh, of Burlington, Vt., performed with Weezer from 1998 to 2001, leaving after suffering a nervous breakdown, according to the band’s website. He eventually established himself in a second career as a painter.
________
DIANE CILENTO, 78,
Seen Around Peninsula snapshots
WOMAN ENTERING PORT Angeles car wash with window half-open . . . WANTED! “Seen Around” items. Send them to PDN News Desk, P.O. Box 1330, Port Angeles, WA 98362; fax 360-417-3521; or email news@peninsuladaily news. The film was nominated for 10 Oscars and won four, including best picture and best director. Ms. Cilento was also the author of two novels, The Manipulator (1967) and Hybrid (1971). An Associated Press dispatch about state Supreme Court Justice Mary Fairhurst being treated for cancer appearing Sunday on Page A5 reported erroneously that she has been diagnosed with lung cancer and had been receiving radiation treatment for the past seven weeks. Though Fairhurst has a tumor on her lung, it is not lung cancer. It is colon can-
cer that has spread to her lung. She is halfway through a planned seven weeks of radiation treatments.
________
1936 (75 years ago)
1961 (50 years ago)
1986 (25 years ago)
Forty-four farms of Eastern Clallam County produced 1.348 million pounds of threshed seed peas for the Rogers Seed Co. during the 1936 season and brought about $40,000 cash to the region. Seven Milwaukee Road railroad carloads of the seed peas already have been shipped to Midwest and Eastern markets, and the rest of the crop will be moved soon except for some peas to increase North Olympic Peninsula acreage in 1937. The Milwaukee packing shed and the old creamery building in Sequim are packed to the rafters with the peas, which are first run through the cleaning mill and sacked preparatory to sorting.
The House forestry subcommittee from Washington, D.C., is visiting Olympic National Park as part of a tour of federal lands in the Pacific Northwest. Following a briefing on the national park’s terrain by Superintendent John Doerr using the relief map at the historical museum on Mount Angeles Road south of Port Angeles, the committee lunched at Aggie’s and was joined by Mayor James Maxfield, state Sen. Gordon Sandison and state Reps. J.L. McFadden and Paul Conner. The subcommittee then was taken on a tour of Olympic National Park’s ocean strip before moving on to Portland, Ore., for two days of hearings.
Quilcene High School’s football program may be over for the season following the suspension of seven of the 14 team members for athletic code violations. Also suspended were three volleyball players and three cheerleaders. The training rules violations apparently occurred during a weekend party at Hansen’s Pond in Quilcene. Principal Ted Knivila said alcohol was consumed at the party.
Did You Win? State lottery results
■ Sunday’s Daily Game: 4-6-1 ■ Sunday’s Keno: 05-06-07-17-19-28-29-3233-35-47-56-57-61-62-6467-77-79-80 ■ Sunday’s Match 4: 01-10-13-19
Looking Back From the files of The Associated Press
TODAY IS MONDAY, Oct. 10, the 283rd day of 2011. There are 82 days left in the year. This is the Columbus Day observance in the United States, as well as Thanksgiving Day in Canada. Today’s Highlight in History: ■ On Oct. 10, 1911, Chinese revolutionaries launched the Wuchang Uprising, which led to the collapse of the Qing (or Manchu) Dynasty and the establishment of the Republic of China. On this date: ■ In 1845, the U.S. Naval Academy was established in Annapolis, Md. ■ In 1911, California voters approved Proposition 4, giving women the right to vote, and Proposition 7, which established the
initiative process for proposing and enacting new laws. ■ In 1913, the Panama Canal was effectively completed as President Woodrow Wilson sent a signal from the White House by telegraph, setting off explosives that destroyed a section of the Gamboa dike. ■ In 1935, the George Gershwin opera “Porgy and Bess,” featuring an all-black cast, opened on Broadway; it ran for 124 performances. ■ In 1938, Nazi Germany completed its annexation of Czechoslovakia’s Sudetenland. ■ In 1943, Chiang Kai-shek took the oath of office as president of China. ■ In 1967, the Outer Space Treaty, prohibiting the placing of weapons of mass destruction on
the moon or elsewhere in space, entered into force. ■ In 1970, Quebec Labor Minister Pierre Laporte was kidnapped by the Quebec Liberation Front, a militant separatist group. Laporte’s body was found a week later. ■ In 1973, Vice President Spiro T. Agnew, accused of accepting bribes, pleaded no contest to one count of federal income tax evasion and resigned his office. ■ In 1985, U.S. fighter jets forced an Egyptian plane carrying the hijackers of the Italian cruise ship Achille Lauro to land in Italy, where the gunmen were taken into custody. ■ Ten years ago: U.S. Rep. Nancy Pelosi of California won the race for the post of House
Democratic leader. Americans George A. Akerlof, A. Michael Spence and Joseph E. Stiglitz won the Nobel Prize in economics; Americans William S. Knowles and K. Barry Sharpless and Ryoji Noyori of Japan won the Nobel Prize in chemistry. ■ Five years ago: The Bush administration rejected anew direct talks with North Korea in the wake of the communist country’s nuclear test and suggested it was possible the test was something less than it appeared. ■ One year ago: Kim Jong Il’s heir apparent, Kim Jong Un, joined his father at a massive military parade in his most public appearance since being unveiled as North Korea’s next leader.
Peninsula Daily News for Monday, October 10, 2011
Second Front Page
PAGE
A3
Briefly: Nation Subpoenas for ‘Fast and Furious’ coming WASHINGTON —indicted small-time buyer under scrutiny in the operation turned up at a shootout in Arizona where a Customs and Border Protection agent was killed.
Deficit panel stuck WASHINGTON — After weeks of secret meetings, the 12-member deficit-cutting supercommittee a familiar impasse: Democrats won’t go for an agreement that doesn’t include lots of new tax revenue; Republicans are just as ardently anti-tax.
Too young to tan a bill that prevents the under-18 from using the tanning method. The law takes effect Jan. 1. Although Texas has banned the use of tanning beds for those younger than 16, SB746 bill makes California the first state to set a higher age limit. Ban supporters said the higher age limit is needed because skin damage caused by the type of radiation used in tanning beds often leads to melanoma, which is skin cancer that can be fatal. The ban will hurt businesses, many of them owned by women, said the Indoor Tanning Association. About 5 percent to 10 percent of its members’ customers are under 18, the group said. The organization said tanning salons already are regulated by the state Department of Consumer Affairs and the federal Food and Drug Administration — regulations it called the most stringent in the nation. The Associated Press
Briefly: World
The Associated Press
A dollar bill is burned during a demonstration calling for an end to the Federal Reserve in Washington, D.C.
Occupy Wall St. ability to transform followed By Cristian Salazar The Associated Press U.S. ambassador to the United Nations. “This is an emotional outcry. The difference is organization and articulation.”
Message emerges
The Associated Press
Egyptian security forces respond to a burning vehicle during clashes with protesters in Cairo on Sunday.
24 die in worst Cairo riots since Mubarak ouster CAIRO — Massive clashes raged Sunday in downtown Cairo, drawing Christians angry over a recent church attack, hard-line Muslims and Egyptian security forces. At least 24 people were killed and more than 200, where the trouble began. The clashes spread to nearby Tahrir Square, drawing thousands of people to the vast plaza that served as the epicenter of the protests that ousted Mubarak. Christians blame Egypt’s rul-
ing military council for being too lenient on those behind a spate of anti-Christian attacks since the ouster of Mubarak.
Arab Spring eyes Poles WARSAW, Poland — Activists from Egypt, Libya and Tunisia observed Poland’s parliamentary election Sunday to gain firsthand experience about how to hold the first democratic votes in their countries in decades. Tunisia sparked the wider democracy movement now known as the Arab Spring when citizens took to the streets in January to protest their authoritarian government. Tunisia was the first Arab Spring country to successfully overthrow its longtime leader, President Zine El Abidine Ben Ali, and will also be the first to hold free elections to emerge from the movement, on Oct. 23. Egypt plans to vote Nov. 28; no elections are scheduled in Libya yet. The Associated Press
The nearly 4 tea party movement, corporatedriven globalization took to the streets, most famously in the U.S. by shutting down the 1999 meeting of the World Trade Organization in Seattle.
Post-WTO fizzle In spite of several actions aimed at summits by world institutions, the “movement of movements” faded away. Much like the Occupy Wall Street protests, one of the main criticisms was that it lacked a cohesive message. Todd Gitlin, an author and former president of the Students for a Democratic Society in the mid1960s, attended Wednesday’s rally and said the emerging movement was different. The demands of the protesters were crystallizing around calls to tax the wealthy to address inequality, he said. But he said the movement was still evolving, and it remains to be seen whether it can evolve as an effective organization.
Some encounter hiring bias after being jobless too long The Associated Press
Quick Read
have jobs, or haven’t been jobless too long. For, where the Senate will address it this week, as Republicans strongly oppose its plans for tax increases on the wealthy and other spending provisions. The effort to protect the unemployed has drawn praise from workers’ rights advocates, but business groups say it will just stir up needless litigation by frus-
trated.
. . . more news to start your day
Nation: ‘Real Steel’ reels in $27.3 million in debut
World: Hurricane gains strength in eastern Pacific
World: Israel copes with bout of extremist violence
World: Oil to be pumped from ship stuck on reef
“REAL STEEL,” SET in a nearfuture when robot fighters have replaced humans in the ring, debuted at No. 1 with $27.3 million, according to studio estimates Sunday of the weekend box office. “Real Steel” added $22.1 million in 19 overseas markets for a worldwide total of $49.4 million. The political saga “The Ides of March” was the runner-up, opening at No. 2 with $10.4 million. The previous No. 1 movie, “Dolphin Tale,” slipped to No. 3 with $9.2 million, raising its domestic total to $49.1 million.
HURRICANE JOVA IS gaining strength in the eastern Pacific Ocean, the U.S. National Hurricane Center in Miami said Sunday evening. Jova had maximum sustained winds of 90 mph and was centered about 305 miles southwest of Manzanillo, Mexico. It was moving east at 8 mph. Forecasters expect Jova could become a major hurricane by tonight or Tuesday. Meanwhile, Tropical Storm Irwin continued swirling in the eastern Pacific, about 810 miles southwest of the southern tip of Baja California. Irwin had maximum sustained winds of about 50 mph.
A ROGUE ELEMENT has emerged in the Israeli-Palestinian gallery: Unknown assailants, widely assumed to be Jewish extremists, have vandalized Muslim cemeteries, mosques and farmlands in a spate of attacks that have put the country on edge..
MARINE CREWS WERE preparing Sunday for an operation to extract oil from a container ship that is stranded on a reef near New Zealand. The 775-foot Liberia-flagged Rena struck the Astrolabe Reef about 12 nautical miles from Tauranga Harbour early Wednesday. The ship has about 1,700 metric tons of fuel on board; so far, up to 30 tons are believed to have leaked into the Bay of Plenty, a spot noted for its fishing, diving and surfing. The extraction operation is expected to last at least two days, although it could be delayed by bad weather, which is forecast for today.
A4
PeninsulaNorthwest
Monday, October 10, 2011
Peninsula Daily News
Briefly . . . Port of PA to discuss FAA lease agreement PORT ANGELES — Port of Port Angeles commissioners will discuss a Federal Aviation Administration lease agreement at its regular meeting today at 9:30 a.m. today. The meeting will be held in the commissioners meeting room at the Port of Port Angeles administrative headquarters, 338 W. First St., Port Angeles. The commissioners will hear updates on the port’s third-quarter 2011 Work Plan, the 2011 Operating Budget Projec-
tions, 2012 Operating Budget Assumptions and the revised Capital Improvement Prioritization
PA schools enrollment report PORT ANGELES — The School Board tonight will hear a report on the Port Angeles School District’s October enrollment. The report is related directly to state funding and is hoped to improve on a September report in which district enrollment declined by more than 150 students. The meeting will be held at 7 p.m. at the Central Services Building, 216 E. Fourth St., Port Angeles.
The board will also be asked to designate several dozen old computers and computer-related items as surplus, and approve a $500 donation from the Port Angeles Education Foundation to the Port Angeles High School Art Department for art supplies.
Uncollected school funds FORKS — The Quillayute Valley School District board will discuss the district’s uncollected non-tax revenue at a meeting Tuesday. The board will make an effort to collect all revenues due from federal, state, local and non-tax sources, with a deadline of Dec. 30.
Schools Superintendent Diana Reaume will present a report on the impact of the loss of local educational agency (LEA) allocations to the district during the 6 p.m. meeting at the administrative board room at 411 S. Spartan Ave., Forks. The board will also be asked to approve a contract for preschool special education services, a contract for website services with David McIrvin and a memorandum of understanding for claiming students with Puget Sound Skills Center. The board will also hear a music presentation from Forks Elementary School students and instructor Joe Osbourne. Peninsula Daily News
Congress to debate free trade, jobs, China Peninsula Daily News
WASHINGTON — This week, the House will debate free-trade agreements, while the Senate will debate President Barack Obama’s jobs bill and a currencyexchange bill aimed at Ch
State legislators
Eye on Congress
news services
—).
ShOrt Lunch Break? See our top 10 items listed for quick service
B
o offi-
om le s s t t Lunch OnLy (
)
Fri
with any Entrée
es
In a hurry? SaLaD Bar Lunch 185130883
Lunch Mon-Fri or call and order ahead! Open at 11:30 am 1527 E. 1st, PA • 360-457-4113 Dinner 4-9
Forks Community Hospital would like to thank the Board Members of West Jefferson County: We would like to take this opportunity to tell each one of the Board Members thanks for their continued support of Forks Community Hospital. They have been more than generous to FCH in contributing funds to purchase needed equipment.
Norm Dicks D-Belfair
Maria Cantwell D-Mountlake Terrace
Patty Murray D-Bothell
cials: secstate.wa.gov/ efits for every dollar of cost elections/elected_officials. to manufacturers. aspx. Developed over several years under the Clean Air Act, the rules would curb Learn more emissions of mercury, which Websites following our find their way into water state and national legisla- and fish and can cause tors: brain damage in infants ■ Followthemoney. and children. org — Campaign donors by The rules also would industry, ZIP code and more curb emissions of particu■ Vote-Smart.org — lates that cause heart and How special interest groups lung diseases as well as rate legislators on the gases such as nitrogen issues. oxide and sulfur dioxide that form into smog. How they voted The bill requires the ■ CEMENT-PLANT EPA to develop replaceAIR POLLUTION, JOBS: ment rules for cement Voting 262 for and 161 plants that would take against, the House on effect in 2017. Thursday passed a RepubliA yes vote was to pass can bill (HR 2681) to nullify the bill. Environmental Protection Dicks voted no. Agency rules now being phased in to curb air pollu■ M E R C U R Y, tion by about 150 cement- INFANTS, JOBS: Voting manufacturing plants 166 for and 246 against, the nationwide. House on Wednesday Backers said the cost of refused to exempt from HR compliance could force 2681 (above) any cement employers to close plants kiln whose mercury emisand discharge workers, sions stand a chance of while the EPA projects up slowing brain development to $19 in public-health ben- or causing learning disabilities in infants and children. The amendment sought to keep such kilns answerable to new Environmental Protection Agency cementDOCUMENT PREPARATION plant rules, due in full by DISSOLUTION 2013, which HR 2681 would nullify. SSA, DSHS A yes vote was to expeGet Yourself a “Pair ‘o’ Legal Feet” dite pollution rules for cement plants. Dicks voted yes. 30 MINUTE CONSULTATION CALL NOW ■ POLLUTION, CHILDREN, JOBS: Vot3430 East Hwy 101, Ste 26 PA ing 167 for and 243 against, By Appointment the House on Thursday cindy@p2sweb.com refused to uphold new EnviEIN#20-8318779 ronmental Protection Agency rules that would limit pollutants such as mercury emissions from
FREE
360.808.6350
135113153
Over the last few years, contributions allowed us to purchase: NeoBlue overhead and bassinet phototherapy light systems, Bird oxygen blender set-up, Laerdal Newborn Annie resuscitation mannequin, Cybex Treadmill and Recumbent Bike, Hur Knee Machine, Parallel Bars, Vitek 2 Analyzer, BacT-Alert Analyzer, MTS Semi-Automated Blood Bank System, and FFP Thawer to name a few.
Port Angeles Senior Center Computer Learning Center Monday - Friday 10am-2pm
RECREATION
1A5135470
New October classes: How to eBay, Fun with Photos, Intro to Facebook, Facebook Advanced, Maintaining Your Computer, Basic Computer I
Plus in-lab tutoring & Mac tutoring for personalized instruction
Once again we want to take this time to thank the Board members of West Jefferson for their many years of generosity and support of Forks Community Hospital. We value our partnership with your organization and can’t thank you enough for all the support both financial and personal.
360-457-7004
328 E. 7th, Port Angeles, WA (SW corner of 7th & Peabody) Check us out at:
• For New Computer Set-up or Tune-up • Home or Business Location • I Come to You No Hauling • Reasonable Rates • Fast, Competent Service
1A5136340
Dave Grainger, CNE 360-774-2467 • 360-379-4881
1A5135107
30 Years Experience
industrial boilers, incinerators and process heaters. The underlying bill (HR 2250) would nullify EPA rules, due next year, that would curb air pollution from those three industrial sources. On this vote, the House defeated an amendment that sought to maintain the EPA’s present timetable for curbing discharges that could cause brain damage and developmental problems in infants and children. The underlying bill, which Republican sponsors said would save jobs, remained in debate. A yes vote was to expedite pollution rules for industrial boilers. Dicks voted yes. ■ STOPGAP BUDGET, DISASTER AID: Voting 352 for and 66 against, the House on Tuesday. The bill includes $2.65 billion in Federal Emergency Management Agency aid to areas damaged by hurricanes, flooding, tropical storms, wildfires and the mid-Atlantic earthquake. That aid is not offset by cuts in other programs in keeping with congressional precedent that disaster aid should be rushed as emergency spending to those in need, not delayed by partisan disputes. A yes vote was to pass the bill. Dicks voted yes. TRADE ■ CHINA PENALTIES: Voting 62 for and 38 against, the Senate on Thursday advanced a bill (S 1619) to increase the chances of U.S. trade retaliation against China or any other country that artificially devalues its currency to gain unfair advantage over U.S. farmers and manufacturers. The bill remained in debate. The bill requires the Treasury and Commerce departments to act more aggressively against nations that manipulate exchange rates in order to make their exports cheaper and imports from the U.S. costlier. The bill bars the U.S. government from buying goods and services from such countries and pressures the administration to place tariffs and countervailing duties on imports from those countries. A yes vote was to set the stage for U.S. tariffs on imports from China. Cantwell and Murray voted no.
PeninsulaNorthwest
Peninsula Daily News
Rural care funds pushed OMC lobbies for reforms at ‘advocacy days’ in D.C. By Rob Ollikainen Peninsula Daily News
PORT ANGELES — Olympic Medical Center Chief Executive Officer Eric Lewis and Commissioner Jim Leskinovitch lobbied the U.S. congressional delegation for adequate Medicare reimbursement and other reforms at the rural hospital “advocacy days” in Washington, D.C., last month. Lewis discussed the conversations they had Sept. 13-14 and touched on the financial challenges that OMC and other hospitals are facing during last Wednesday night’s hospital board meeting. “All the elected officials listened, but they kept repeating: ‘The budget is in bad shape, and we don’t know what’s going to happen,’” Lewis said.
Jefferson, Forks Lewis and Leskinovitch were joined by 26 others representing 15 Washington hospitals, including Jefferson Healthcare and Forks Community hospitals. They met with elected officials to “try to inform them and convince them to support rural health care,”
“All the elected officials listened, but they kept repeating: ‘The budget is in bad shape and we don’t know what’s going to happen.’”
Eric Lewis chief executive officer, Olympic Medical Center
Lewis said. Meetings were held with U.S. Rep. Norm Dicks, D-Belfair, Sen. Patty Murray, D-Bothell, Sen. Maria Cantwell, D-Mountlake Terrace, and other members of Congress. Dicks represents the 6th Congressional District, which includes Clallam and Jefferson counties. Murray and Cantwell represent the entire state. “We have to continue our efforts on advocacy at the federal level,” Lewis said. “For OMC’s future — because 55 percent of our patients are Medicare — we have to get adequate Medicare reimbursement. Right now, we’re paid below cost for Medicare, and that’s not sustainable.” Lewis has been a strong advocate for reforming the geographic variation in Medicare reimbursement. Larger states get paid more per Medicare patient because they have less primary care and more representation in the U.S. House
of Representatives, he said. OMC gets about 72 percent of its business from Medicare or Medicaid. Another key item of discussion was protecting physician payments, which are scheduled to be cut by 29.5 percent Jan. 1.
‘Hold harmless’ needed
the state budget, Lewis said proposed cuts to the Basic Health Plan, certified public expenditure payments, disability lifeline program and maternity support services would amount to a $4.96 million per year hit to OMC. “It’s very challenging,” Lewis said. During a political forum held by the Port Angeles Rotary Club meeting earlier Wednesday, OMC Commissioner John Nutter said health care is facing a “financial disaster.” “A perfect storm is happening,” he said. Nutter said the $5 million in proposed state cuts is “more than our bottom line the last two years put together.” Board chairman Jim Cammack on Wednesday night urged to public to get informed and contact their elected representatives through a legislative advocacy link at medical.org. Click on the button with the American flag on the upper left side of the OMC home page.
They also lobbied for an extension of a “hold harmless” program for outpatient care at sole community hospitals like OMC, which expires Dec. 31. If reimbursement rates drop too far, say 84 percent of cost, hold harmless lifts reimbursement to 92 percent of cost. Critical access hospitals — those with 25 beds or fewer such as Jefferson Healthcare and Forks Community — are paid at cost for Medicare. Sole community hospitals ________ are not, which translates to a Reporter Rob Ollikainen can be loss of about $6 million per- reached at 360-417-3537 or at rob. year for OMC. ollikainen@peninsuladailynews. Turning his attention to com.
Candidate’s art shown in capital Photo exhibit in state official’s office this year Peninsula Daily News
Briefly . . . Harvest Carnival set for Saturday
First Federal helps
Peninsula Daily News
A
FILL UPUP ONON SAVINGS ! ! FILL SAVINGS VEHICLE LOANS VEHICLE LOANS
**Annual Percentage Rate Rate - Subject to credit approval, **Annual Percentage - Subject to credit approval, somesome restrictions apply. OtherOther rates rates and terms available restrictions apply. and terms available and may change at any and may change attime. any time.
No Limits
to what’s possible!
Captain’s License Training USCG-Approved Professional Grade Instruction for your Six-Pack and Master 100 Ton Licenses
Rent is 30% of your adjusted income
and includes utilities, except for phone & cable TV. SERVICE FEES $391/MONTH
Flagship Maritime Training
INCOME LIMITS APPLY
Preparing Tomorrow’s maritime Professionals Today
VISIT
US TODAY YOU COULD BE ENJOYING YOUR RETIREMENT YEARS RIGHT NOW !
360-681-3800 TDD 711
251 S.FIFTH AVE. SEQUIM
suncrestvillage@legacysrliving.com
October is National Breast Cancer Awareness month
OUPV / Six-Pack License Training 8 a.m. to 5 p.m. Monday through Thursday for two weeks, starting Monday, October 24th and finishing up Thursday, November 3rd, 2011
Run for the Cause with
&
130 West Front St., Port Angeles 360-452-3741
16 Night Panama Canal Cruise
The Landing, Port Angeles Reserve your seat ... enroll today!
from Sail to Seattle
Flagship thoroughly prepares mariners for all of the required USCG examinations. Tuition includes all study materials, supplies, charts and exams. All official exams are administered in class, so no further testing with the Coast Guard is required.
1,299*
$
ppdo
Book Now and Receive $50 SBC! Ship’s Registry: Malta & Ecuador *Gov’t taxes & fees are additional. Other restrictions apply.
692-9611 or 1-800-221-7447
9995 Silverdale Way NW, Suite 117 Towne Center, Silverdale 98383
1A701371
Matt Schubert reports. Fridays in
There are
willingness to learn and teach others, commitment to his work, PORT ANGELES — patience and professionClallam County Long alism. Range Planner Robert After working as an Knapp earned the electrician in the comDepartment of Commumunity for 15 years, nity Development’s employee of the quarter Knapp earned an associate degree from Peninaward for the third sula College and bachequarter, department lor’s and master’s Director Sheila Roark degrees from Western Miller announced. WashingAs a ton Unitoken for lthough he gets versity. his efforts, the parking spot Knapp Knapp just as the rainy has been gets three months of working season starts, Knapp desigfor admitted that he takes nated Clallam the bus to work most parking days. “It’s the thought,” County at the for three he said. Clallam years. County AlCourtthough he house. gets the parking spot “Noted for his extenjust as the rainy season sive participation in the starts, Knapp admitted stormwater monitoring Friday that he takes the program, Mr. Knapp was bus to work most days. given the ‘Place to Park “It’s the thought,” he for Making your Mark’ said. award in our monthly Clallam County Planstaff meeting Tuesday,” ning Manager Steve Roark Miller said. Gray was the first recipKnapp was selected ient of the “Place to Park by a team of non-manfor Making your Mark” agement department award. employees called the Roark Miller devised Secret Parking Lot Award Team, or SPLAT. the parking spot award earlier this year. “It was an honor to be picked by my co________ workers,” Knapp said. Reporter Rob Ollikainen Roark Miller said can be reached at 360-417Knapp was chosen for 3537 or at rob.ollikainen@ his positive attitude, peninsuladailynews.com. Peninsula Daily News
CallCall 360-385-3663 for for details 360-385-3663 details
FOR OLD COINS
GOLD & SILVER 360.452.3358
By Rob Ollikainen
1A5135804
How’s the fishing?
• Wall to Wall Carpeting • Kitchens in all Apartments • Window Treatments • Cable TV Available • Extra Storage in Each Apt.
1A5135579
PORT ANGELES — The Olympic Peninsula YMCA recently announced that First Federal will be the main sponsor of the 2011 A Taste of the Peninsula event. “First Federal truly makes a difference in our community,” said YMCA CEO Kyle Cronk. “Partnering with First Federal allows the Y to impact even more people throughout the community.” The fifth annual “A Taste of the Peninsula” will be held at the Elks Naval Lodge, 131 E. First St., from 5 p.m. to 8 p.m. Saturday, Nov. 5. The event celebrates the bounty of North Olympic Peninsula farms and food producers, local wineries, breweries and the area’s culinary talent. Local winemakers and beer brewers will offer tast-
LOCAL BUYER
Clallam planner best of quarter
APARTMENT FEATURES INCLUDE
125111004
PORT ANGELES — Peninsula Pre 3 Cooperative will host its 14th annual Harvest Carnival at the Vern Burton Community Center, 308 W. Fourth St., from 3 p.m. to 7 p.m. Saturday. There will be games, prizes, face painting, crafts, a photo booth, concessions, a cake walk, four raffle baskets and a silent auction. Cost is $3 for children, $4 for adults and $14 for a family of four or more. For more information, phone April Amundson at 360-504-2365 or email april@raygruver.com.
ings, and chefs will provide food samples prepared with locally harvested ingredients. The event is to celebrate the programs offered through Olympic Peninsula YMCA and the many volunteers who make those programs thrive. Live jazz will be provided by the Taste of Jazz Sextet., in Port Angeles. For more information, phone the YMCA at 360452-9244 or visit www. clallamcountyymca.org. Peninsula Daily News
tenant Governor is open to the public Mondays through Fridays from 8 a.m. to 5 p.m. It is located in Room 220 of the Legislative Building at the state Capitol, 416 Sid Snyder Ave. S.W., Olympia.
A5
135114421
there is a constant craving for both.” The display features images of the Olympic Peninsula, Seattle’s Pike Place Market, the Palouse, Mexico and India. Exhibits in Owens’ office are rotated quarterly. They are chosen by a council chaired by Linda Owen, wife of Lt. Gov. Owen. Brad Owen serves the state as president of the Senate. He is the acting governor in the absence of Gov. Chris Gregoire. The Office of the Lieu-
155120120
OLYMPIA — The office of Lt. Gov. Brad Owen is displaying a collection of photography by Clallam County commissioner candidate Linda Barnfather of Sequim. Barnfather, the legislative assistant to state Rep. Kevin Van De Wege, D-Sequim, is running against Port of Port Angeles Commissioner Jim
cEntire, a Sequim RepubM lican, in the Nov. 8 election. Owen and Barnfather are both Democrats. Barnfather could not be reached for comment Friday evening. Owen announced that Barnfather’s photography — taken in Washington state and overseas — will be displayed at the Office of the Lieutenant Governor through December. “I love living on the Olympic Peninsula, but I do consider myself a citizen of the world,” Barnfather said in a news release. “Travel and observation are truly a passion, and
Monday, October 10, 2011
(360) 477-0920
Captain Gary Cooper USCG Licensed Master USCG Approved Instructor Flagship Maritime Training gcooper302@gmail.com
A6
PeninsulaNorthwest
Monday, October 10, 2011 — (J)
Peninsula Daily News
Crab festival draws crowds from across country, world By Arwyn Rice
Peninsula Daily News
PORT ANGELES — Visitors to the Dungeness Crab & Seafood Festival were treated to some of the best weather the Olympic Peninsula has to offer in October. Volleyball teams played a sand tournament on Hollywood Beach, enjoying one last summer outing. “This is stellar,” said Eric Kuzma, a volleyball player in the tournament, pointing to retreating clouds that mostly hugged the mountains. A full day of sun on Saturday and a mostly sunny Sunday made for a good tournament. “It was beautiful,” Kuzma said. The summer season’s last gasp attracted at least 15,000 visitors, said Scott Nagel, producing director of the crab festival.
Crab lovers from around the world arrived to take part in celebrating — and eating — 7,500 pounds of fresh crab, mostly caught in Sequim Bay. A tour group from Denmark arrived Friday to watch the preparations and to enjoy the festival, said Mickie Vail, director of operations.
Hail from Denmark The Denmark tour of the Peninsula arrives each year, scheduled to coincide with the festival’s opening and a chance to watch the preparations, Vail said. “We run around like little crab,” she said. More than 600 foot passengers arrived from Victoria on the MV Coho, and Nagel said he talked to people from states across the country, some of whom
came to Port Angeles just for the crab. Sunday morning’s Crab Revival gospel concert was attended by about 150 people,who were treated to music from the Peninsula Men’s Gospel Singers and Abby Mae & the Homeschool Boys. “The sun was out; it was all perfect,” Nagel said. The Crab Revival will become an annual event, he said. Other popular events attracted hundreds of spectators and participants. The Grab-A-Crab Derby attracted would-be fishermen to a group of large tanks near the City Pier. Those who could persuade one of several marked crustaceans to take a squidshaped lure could keep the crab, and have the catch cleaned and cooked on the spot.
Meanwhile, the crab boats that provided the crab for the festival were out again, delving into the waters for more crab, Nagel said. When a Coast Guard helicopter hovered over the water just off the City Pier, visitors flocked to the east side of the event to watch as a swimmer dove from the aircraft to simulate a rescue operation. Similarly, when the Northwest Raptor & Wildlife Center brought out a collection of live raptors, including a redtail hawk, peregrine falcon, barred owl and a screech owl, people crowded into a roped-off area.
_______ Reporter Arwyn Rice can be reached at 360-417-3535 or at arwyn.rice@peninsuladailynews. com.
Diane Urbani
de la
Paz/Peninsula Daily News
Jackson Leclaire, 4, of Seattle arrives for breakfast Sunday morning at the Dungeness Crab & Seafood Festival.
Novelist: New book story about Doc Holliday Continued from A1 more while reading his biographies. “That boy was born with The Sparrow was her debut novel; A Thread of a cleft palate, surgically Grace and Dreamers of the repaired in 1851. He and his mother were intensely Day followed, and then close. She invented speech Doria Russell was swept up therapy for him,” she began. by a gunfighter with a past. “He played classical John Henry “Doc” Holli- piano, and he graduated day is known mostly for the with the degree of doctor of shootout at the O.K. Corral. dental surgery when he was But Doria Russell, after only 20.” seeing Val Kilmer portray Doc Holliday was 22 him in the movie “Tomb- when he was diagnosed stone,” discovered much with advanced tuberculosis.
He left Atlanta for Dallas, hoping the dry air would be better for his health, but arrived just in time for the depression of 1873. “Anyone who’s graduated from college recently knows exactly what [Holliday] was up against. Careers that seemed bright and promising suddenly evaporate. You’ve got a shiny new business degree, and you’re lucky if you can get a part-time job at Star-
bucks,” said Doria Russell. “Doc turned to gambling because that was the only way he could make a living. Everything else required strength and stamina. He had neither, so he did the best he could.” Holliday’s story became Doc, Doria Russell’s new novel, and critics didn’t hold back their praise. Kirkus Reviews, for one, described Doc as “filled with action and humor, yet philosophically rich and deeply
moving . . . a magnificent read.” Doria Russell’s books are powerful discussion starters, added Meredith Wagner, associate director of the Jefferson County Library. Her book group-read The Sparrow — a novel that raises big questions about religion and faith — and “we had one of our best conversations surrounding that book.” Copies of Doria Russell’s novels will be available for purchase Tuesday night
and are always available for checkout at the Jefferson County Library, 620 Cedar Ave. in Port Hadlock. For information about the Huntingford Humanities Lecture and other library offerings, phone 360-385-6544 or visit www. jclibrary.info.
________ Features Editor Diane Urbani de la Paz can be reached at 360417-3550 or at diane.urbani@ peninsuladailynews.com.
Liquor: ‘They don’t want competitive prices’ Continued from A1 afraid that a change in Washington might spread Supporters of the initia- to other states, he said. “They don’t want comtive say wholesalers are just trying to keep their petitive prices in the marketplace because they’ve protected status. Wholesalers have had it easy for a number of become used to a market years,” Gilliam said. “That’s where they can name their why you’re seeing the prices and force everyone to national money come in.” Indeed, distributors are pay, said Joe Gilliam, president of the Northwest Gro- opening their pockets to cery Association, which defeat I-1183 – and Costco includes large grocers like is matching them in the money race. The two sides Costco. The distributors are combined have raised more
than $15 million as the race enters its final month. The money buys ads that make competing claims about prices, public safety and the role of government, and those will surely be at the top of voters’ minds when they mail their ballots. No small stores rural contract stores to surIn a provision that vive. doesn’t seem to be modeled The size of those areas on any other state’s, small isn’t defined, which oppo-
nentsola’s local group. A fraction of the spending comes from labor unions, including the
United Food and Commercial Workers who represent state liquor store workers. The stores would close and many of the nearly 1,400 state Liquor Control Board employees would lose their jobs if I-1183 passes. Restaurants also stand to gain from warehouse delivery and volume discounts of wine. And they expect to get better deals on liquor.
Goats: Cascade population drops to about 3,000 Continued from A1 about 90 percent — among the biggest declines, Wallin They’ve studied the said. Historically, going back causes for the drop and are considering how to boost 50 to 80 years, the mountain goat population in the those numbers. The implications go state was believed to numbeyond the goats, which are ber around 10,000. The dramatic drop in icons of wild places and the their numbers is being Cascades. “They are representative attributed to overhunting of the alpine environment from the 1950s to the late and that environment’s 1980s, when Fish and Wildhealth,” said Leslie Parks, a life was issuing 300 to 400 graduate student in WWU’s permits a year to hunt goats Huxley College of the Envi- on the assumption they ronment who is working could be managed like deer. But mountain goats with Wallin on the project. There are an estimated reproduce at lower rates, 2,500 to 3,000 mountain and their survival rates are lower than those of deer, goats in the Cascades. Around Darrington, the according to Wallin. “[Mountain goats] simpopulation has dropped by
Open Every
Saturday 10am-2pm
We’ Rou re Year nd F resh !
Olympic National Park
Don’t wait till the New Year to start eating better! We’ve got what you need: Fresh seasonal fruits, vegetables, meats and fish, artisan breads and cheeses. Grown and produced locally without herbicides, pesticides or hormones. 1A5136083
Located Downtown at the Gateway on the corner of Front and Lincoln
Peninsula Daily Deal
50% off COOKIE AND A COFFEE
Available til midnight Tuesday
In their search for why goats haven’t bounced back, scientists now believe that I-90 is a contributing factor because it cuts across the Cascades, separating goat populations on the north and the south, essentially walling them off from each other, according to Wallin. While wildlife crossings could help mountain goats cross I-90 and, ultimately, broaden their gene pool, another option is to relocate goats from British Columbia, where there is a large and healthy population, or from Olympic National Park. The current genetic study focuses on understanding how mountain goat populations in Washington are related to populations in British Columbia, Wallin said, and whether B.C. goats could be relocated to help those in the Cascades. Wallin said he expected they could. As for the mountain goats in Olympic National
Park, they were a nonnative species introduced in the 1920s by hunters who took six from Southeast Alaska and six from northern British Columbia and plunked them onto the North Olympic Peninsula. By the 1980s, they had grown in number to 1,000. Genetically, they’re different from the ones in the Cascades. But in the 1980s, in an effort to keep the goats from overgrazing Olympic National Park, parks officials captured as many goats as they could and gave them away, including 150 that were moved to the Cascades to augment declining populations. Genetic tests showed those goats from the park survived and bred with the native goats. Fish and wildlife officials have been considering using the Olympic goats again, Wallin said. But much remains to be finalized, including which populations of mountain goats would be relocated and where they would go in the Cascades. “Given state budget cuts these days, it’s all up in the air,” Wallin said. Last October, one of the Olympic National Park’s mountain goats fatally gored Bob Boardman, 63, of Port Angeles. Wrongful-death and per-
sonal-injury claims totaling $10,022,700 have been made against the park over Boardman’s death by his estate; his widow, Susan Chadd of Port Angeles; and her son, Jacob Haverfield.
I-90 barrier Genetic tests of different mountain goat populations in the Cascades show plenty of inbreeding, which in turns means a loss of genetic diversity that could affect the animals’ longterm survival. I-90 is among the features of a modern landscape that mountain goats must navigate when they come down from their alpine habitats, Park said. “Mountain goats also are dependent on low-elevation habitat to maintain connectivity between populations,” she said. “The modern landscape that goats must negotiate in order to move between populations includes forest service roads, highways, one interstate and varying levels of development.” Exactly why the goats are reluctant to cross I-90 isn’t known. Is it the road itself, the traffic or development along the road such as businesses and houses? The impact of such barriers is being studied nationwide. In Washington, concern about the effect of man-
made barriers on mountain goats and other wildlife prompted the formation of the Washington Wildlife Habitat Connectivity Working Group. The group is part of the Wildlife Corridors Initiative created by the Western Governors’ Association. The fear is that the ability of wildlife to move from one habitat to another in search of new homes, mates, food and shelter is being harmed as the state becomes more populated and developed. Efforts are being made to create wildlife crossings — to allow animals to move above or under the highway — as part of improvements and widening of the interstate east of Snoqualmie Pass. The project will build the first wildlife overpass in Washington, according to the I-90 Wildlife Bridges Coalition. Wallin said such wildlife crossings for I-90 are an experiment but noted a similar project has been done with the TransCanada Highway, which bisects Banff National Park. “For the most part, it seems like they’ve been successful, and the animals are using them,” Wallin said. “We’re optimistic what’s being done with the I-90 upgrades are going to be helpful.”
Responsible Stewardship Continues Beyond Our Lifetimes Funeral Home & Crematory
(360)385-2642
1615 Parkside Dr. Port Townsend
We are dedicated to reducing our carbon footprint
095096497
1A5134740
Click on Daily Deal at peninsuladailynews.com
ply can’t withstand that level of harvest,” he said. “In hindsight, they made some decisions that were understandable at the time but also turned out to be very wrong.” So in the early 1990s, wildlife officials cut the number of hunting permits issued statewide to 15 to 20 annually. “Everybody thought that should address the problem,” Wallin said. It did, in some places like Mount Baker and Goat Rocks Wilderness Area. But the population didn’t rebound as expected. “Many herds within Washington remain very small, and some former goat ranges remain unoccupied,” Parks said.
Peninsula Daily News for Monday, October 10, 2011
Commentary
PAGE
A7
Where have you gone, Joe DiMaggio? THE MELANCHOLY OVER Steve Jobs’s passing is not just about the loss of the inventor of so many products we enjoy. It is also about the loss Thomas of someone Friedman. Most of all, he was someone who earned the respect of his colleagues, not by going easy on them but by constantly pushing them out of their comfort zones and, in the process, inspiring ordinary people to do extraordinary things. There isn’t a single national politician today whom you would describe by those attributes, which is why the fake Jobs obituary published in The Onion, the satirical online newspaper, struck such a nerve.
It began: “Steve Jobs, the visionary cofounder of Apple Computers” — and the only American in the country who had any clue what he was doing — “died Wednesday at the age of 56.” It went on to quote President Obama as saying that Jobs “will be remembered both for the lifechanging products he created and for the fact that he was able to sit down, think clearly and execute his ideas — attributes he shared with no other U.S. citizen. ‘This is a dark time for our country, because the reality is none of the 300 million or so Americans who remain can actually get anything done or make things happen.’ ” Ouch! Fortunately, the last part is not true. There are still thousands of U.S. innovators who embody Steve Jobs’.OP has tried to block him at every turn. That is true. But why have they gotten away with it?
Peninsula Voices
It’s because Obama never persuaded people that he had a Grand Bargain tied to a vision worth fighting for. We cannot bail or tax-cut our way to prosperity. We can only, as Jobs understood, invent our way there. That is why America needs to be for the world in the 21st century what Cape Canaveral was to America. But to do all that in a recession means we have to cut spending, raise tax revenues and invest in this formula. And to do that, we need a Grand Bargain that involves upfront spending plus credible, long-term fiscal reform that is at the true scale of our debt problem. Obama has given the spending plan, but he has not produced a credible, this-reallyhurts fiscal plan — and many Americans know it. The paucity of Obama’s audacity is striking. Sometimes the news is in the
Our readers’ letters, faxes
Depression gone
[“Republicans Would Cripple America, President Recently, I was diagClaims. Obama Swings nosed with clinical Through Seattle On Funddepression. raising Trip,” Sept. 26 PDN]. After a long series of Yes, the evidence is prescription-drug intervenclear. tions, my physician, Republicans are pushthrough a blood test, found an increased calcium level. ing back against left-wing Democrats who want to X-rays indicated a tumor on one parathyroid. spend ever more on: ■ Stimulus programs Surgery removed the tumor and one parathyroid, that primarily stimulate and the depression disaptheir campaign contribupeared. tions, not employment. I share this so that oth■ Granting amnesty to ers might find the relief millions of illegal aliens. that I found. ■ Bribing, with foreign Lee Maxwell, aid, other countries to like Port Ludlow us. ■ Paying more and GOP ‘pushback’ more people not to work. ■ Unnecessarily rigid Obama complains about regulation of business. the Republican pushback ■ Indoctrinating chilagainst any kind of sensidren (the Department of ble reforms that would Education). make our economy work better. ■ Saving the planet
from scientifically questionable environmental threats. ■ Granting money and
power to unions at the expense of other workers. ■ Appointing Supreme Court justices anticipating
noise, like the Wall Street protests or the tea party. But sometimes the news is also in the silence. To me, the biggest protest in the country today is that when the tea party insanely blocked any GOP participation in a Grand Bargain that involved taxes, most Americans were silent. Why? Because they didn’t think Obama was offering a big plan from his side, either — one that rose to the true scale of our problems and aspirations, one that would push us out of our comfort zone and make us great. .”
________
Thomas L. Friedman is a three-time Pulitzer Prize-winning columnist for The New York Times. His column appears in the Peninsula Daily News on Mondays. E-mail Friedman via nyti.ms/ friedmanmail.
and email
other than in government, to create more regulations, all the while hiding the inflation caused by their programs (the Federal Reserve). On the other hand Republicans, tea partiers, independents and clearthinking Democrats want to free private business in order to provide a job-creating environment instead of threats of higher taxes and strangling regulations, and to eliminate ineffective government and reduce federal debt and interest payments, all in order to employ rather than pay people not to work. Republicans also attempt to avoid transformation of the republic into their approving unconstitu- the false promises of socialism. tional acts and actions Each of the above stifles Paul Hanway, rather than generates jobs, Sequim
Is new pipeline worth jobs, lots of oil? IN WASHINGTON, D.C., conference rooms, the proposed pipeline running from Alberta, Canada, to Texas refineries on the Gulf of Mexico may look rather attractive. The 1,700mile Keystone Froma XL pipeline Harrop twolane
Peninsula Daily News John C. Brewer Editor and Publisher
360-417-3500
Sue Stoneman
Acting Advertising Director
360-417-3555 sue.stoneman@peninsuladailynews.com
Bonnie M. Meehan
Business/Finance Director
360-417-3501 bonnie.meehan@peninsuladailynews.com the Keystone XL pipeline would not balance so nicely if they did.
________, October 10, 2011
Peninsula Daily News
Fish and Wildlife cuts could curb fishing State budget woes may hurt Hood Canal hatchery, others By Mark Yuasa
meet for a special session that begins in late November. The governor informed state Fish and Wildlife to produce 5 percent ($3.45 million) and 10 percent ($6.9 million) budget-cut scenarios in its operating budget. State Fish and Wildlife has lost 41 percent of its General Fund Support during this recession, dropping from $110 million in 20072009 biennium to $69 million currently. GFS money is used for four primary types of activities: fish production, recovery and fisheries management (41 percent); habitat conservation (21 percent);
The Seattle Times
OLYMPIA — The state plans another round of budget cuts, and it doesn’t look pretty for anglers and shellfish gatherers unless lawmakers can come up with a solution. State Fish and Wildlife has announced proposals of cuts and reductions at the request of Gov. Chris Gregoire.
$1.3 billion shortfall The governor last summer told all state agencies to look at possible cuts due to a shortfall that now has reached $1.3 billion. The Legislature plans to
1
Propane by:
PROTECTED BY
NORTHWEST, INC.
1-800-859-3463 Window Coverings by:
16
Hadlock Building Supply is a full service lumber yard, now offering GAF roofing. 901 Ness Corner Rd.
Port Hadlock, WA 98339 1-360-385-1771 • 1-360-344-3443 Toll Free: 1-800-750-1771
Home Decor by:
17
SERVICE
Fast Professional Service 100% Satisfaction Guarantee
NEW INSTALLATIONS
Air Source Heat Pumps • Geothermal Heating Systems • Propane & Electric Furnaces • Duct Cleaning St. Con. Reg. #AI-RF-LI-206DG
221 W. Cedar St., Sequim 683-3901
18
Fencing Supplies by:
YOUR SOURCE FOR
QUALITY CEDAR PRODUCTS F ENCING D ECKING S PECIALTY LUMBER L UMBER D IMENSIONS A VAIL .
8B316761
21
11
4 9
13
17 10
1
14
7
12
5 23 8 24
Painting Supplies by:
19
154 WASHINGTON ST. SEQUIM
EXP. 11-30-11
& N u r t u re D i r t C o m p o s t Steve’s secret weapon of mass production...
COMPOST
Also Apples, Potatoes & Garlic Later... U-Cut Christmas Trees
1A5136526
$5 DOLLARS OFF Per Gallon
20
965043554
360-681-3905
Compost by:
Steve Johnson • 457-5950 or 461-4157 225 Gehrke Road • Port Angeles
1A5136442
3
22
16 19
AIR FLO HEATING
Local monitoring
SECURITY SERVICES
12
Heat Pumps by:
o u H s r e u o Y e k o H m a e A M
6
18
11
175126755
Cont #MP-OV-EG D062MA
Roofing Supply by:
8B316747
15
502 1/2 W. 8TH • Port Angeles
#SOOTS169ME
SECURITY SYSTEmS
175126749
Casepp*962JG
360-457-8828 800-371-8828
0A5066304
457-8209
8B316752
INTERIOR | EXTERIOR
Competitive Rates
609 W.Washington St., Sequim
Spotlight Your Business Here! Call Jeanette 360-417-7685
TM
10
155112002
MP
FULL PREPARATION FOR A QUALITY FINISH
Dealer
14
AND
Patrick Case, Owner
Home Security by:
360-681-0820
Garage Doors by:
r
195133341
51086247
$300 million annually. n Elimination of Puget Sound toxic contaminant monitoring. This cut would eliminate Fish and Wildlife’s ability to detect toxic contaminants in Puget Sound indicator species (English sole and Pacific herring), eliminating the department’s ability to guide recovery efforts in the Puget Sound Action Agenda. n Suspended wildlife damage compensation. Fish and Wildlife would suspend payments to agricultural producers and associated evaluation for crop damage by deer and elk. This would result in economic losses to agricultural producers and could reduce tolerance for deer and elk populations near agricultural communities, including Sequim and Forks.
Chimney Cleaning by:
5 Minute Approvals!
Serving Port Angeles, Sequim & Peninsula Since 1952
SEQUIM PORT ANGELES Sequim Village Ctr. 603 E. Front 683-7988 457-1144
8
Site Work by:
5
Auto Sales by:
8B316736
460-6258
Find a dog for your home or a home for your dog. Foster homes needed.
4
Other proposed cuts: n Elimination of ballast water monitoring activities in Puget Sound and on the Columbia River. This would end ballast water inspections of arriving ships, increasing the risk that aquatic invasive species could be introduced into state waters. Some of these invasive species could create potentially catastrophic economic impacts if they spread into hydropower facilities, agricultural irrigation and other water-dependent systems. The Northwest Power and Conservation Council’s Independent Economic Advisory Board estimates economic impacts to the Columbia River hydroelectric system from zebra/ quagga mussels alone could range from $250 million to
We Finance EVERYONE!
MM Fryer & Sons Professional Care With Personal Service
Local Dog Rescue
impact local personal income generated by chum and associated fisheries in the Hood Canal region, estimated at $6 million per year. Other cutbacks would reduce Puget Sound crab and shrimp management; reduce clam and oyster seeding on public beaches by 30 percent; and reduce predator control, disease testing and intertidal clam and oyster assessment and management. The recreational harvest of clams and oysters from public beaches would be reduced by over 20 percent in two to three years. There would be an increased risk of shellfish disease and predators spreading and jeopardizing native shellfish and the state’s commercial shellfish industry.
Windows by:
8B316731
8B316729
7
3
Insurance by:
195133327
Employee Owned • Full Service
360-385-5797 • 360-683-4010 10853 Rhody Dr. • Port Hadlock
Hoodsport Hatchery production in Hood Canal would drop by roughly 50 percent (a reduction of 12 million chum salmon annually); area fall chinook salmon production would fall by 12 percent (a reduction of 800,000 chinook annually); and pink salmon production would be eliminated (500,000 pink salmon produced every other year). The cut would negatively
Welfare for Animals Guild
Quality Heating Service Since 1980
contr#sunshp*077QP
Hood Canal
2
Pets by:
Sunshine Propane
Screens by:
enforcement (20 percent); and administrative activities including executive management, infrastructure and staff-support functions (14 percent). The proposed cuts include salmon hatchery closures in Skagit County and Willapa Bay and reduced maintenance at other hatcheries.
Peninsula Daily News for Monday, October 10, 2011
Sports
S E CT I O N
B
COMICS, DEAR ABBY In this section
On NFL
The Associated Press
Quarterback Charlie Whitehurst was one of Seattle’s unsung heroes against the New York Giants.
The Associated Press (2)
Wide receiver Victor Cruz of the New York Giants gets his hand on the ball but it bounces off and is intercepted moments later by Seattle cornerback Brandon Browner (39) in the fourth quarter. Browner ran the ball back 94 yards for a touchdown as the Seahawks hang on to win 36-25.
A Giant of an upset
Don’t overlook Seahawks come out these on fire, remain hot Hawks By Tom Canavan
The Associated Press
By Barry Wilner
The Associated Press
EAST RUTHERFORD, N.J. — thendefending.
Still rebuilding just. Turn
to
Seattle/B3
EAST RUTHERFORD, N.J. —-
roll.
Touchdown drive) Seattle wide receiver Doug Baldwin scores a looked to Cruz one more time. Turn
touchdown on a Charlie Whitehurst pass late in the
to
Hawks/B2 fourth quarter.
Brewers rally to beat Cards 9-6 Milwaukee goes long, and often, to take 1-0 lead between rivals By Chris Jenkins
The Associated Press
The Associated Press
Milwaukee’s Jerry Hairston Jr., right, and Prince Filder celebrate beating St. Louis on Sunday in Milwaukee.
MIL.
B2
SportsRecreation
Monday, October 10, 2011
Today’s
Peninsula Daily News
Latest sports headlines can be found at www. peninsuladailynews.com.
Scoreboard Calendar
Go to “Nation/World” and click on “AP Sports”
SPORTS SHOT
Today Volleyball: Chimacum at Orting, 5:45 p.m. Girls Soccer: Chimacum at Orting, 5 p.m. Boys Tennis: Sequim at Bremerton, make-up match 4 p.m.
Tuesday.
Today 8 a.m. (47) GOLF PGA, Frys.com Open, Final Round, Site: CordeValley Golf Club - San Martin, Calif. 1 p.m. (13) FOX Baseball MLB, American League Championship Series, Game 2, Detroit Tigers at Texas Rangers (Live) 5 p.m. (28) TBS Baseball MLB, National League Championship Series, Game 2, St. Louis Cardinals at Milwaukee Brewers (Live) 5:30 p.m. (26) ESPN Football NFL, Chicago Bears vs. Detroit Lions, Site: Ford Field - Detroit (Live) 7 p.m. (25) ROOT Football NCAA, Washington State vs. UCLA (encore) x-Sunday, Oct. 16: St. Louis at Milwaukee, 1:05 or 5:05 p.m. x-Monday, Oct. 17: St. Louis at Milwaukee, 5:05
Area Sports BMX Racing PORT ANGELES BMX TRACK Sunday 26-30 Cruiser 1. Larry Moroles 2. Zach Slota 3. “Scary” Geri Thompson
Transactions BASEBALL Steve Mullensky/for Peninsula Daily News
8 Intermediate 1. Moose Jonhson 2. “American Idol” Tolliver 3. Austin Loomis 4. Taylor Slota 5. Jaron Tolliver
A
run fit for royalty
Port Townsend’s Amanda Webby keeps her eyes glued to the timing clock as she approaches the finish line of the half-marathon at the 32nd Royal Victoria Marathon in Victoria on Sunday. Webby achieved her goal of running the 13-plus miles in less than 2 hours with a time of 1:59.32.
Bowling LAUREL LANES 7 Cedars Mixed Friday Men’s high game: Bill VanGordon, 225; men’s high series: Bill VanGordon, 634. Women’s high game: Louise Demetriff, 201; women’s high series: Louise Demetriff, 571. Leading team: Team 5. Longhouse Market Thursday Men’s high game: Tony Chapman, Jr., 247; men’s high series: Tony Chapman, Jr., 670. Women’s high game: Sandy Gunn, 199; women’s high series: Rena Peabody, 537. Leading team: Foul Ups. Birch’s Molar Bowlers Wednesday Men’s high game: George Kennedy, 245; men’s high series: George Kennedy, 610. Women’s high game: Dianne Ludeman, 178; women’s high series: Aleta Smith, 515. Leading team: Mountaineers. Lakeside Big Four Men’s high game: Bill Van Gordon, 289; men’s high series: Josh Fagan, 668. Leading team: Four Asfaults. Sequim Olympic Lanes Wall Street Journal Tuesday Men’s high game: George Kennedy, 185; men’s high series: Jim Anderson, 480. Women’s high game: Inge Magrs and Kelly Meyer, 174; women’s high series: Kelly Meyer, 440. Leading team: Funnies. Sunlanders I Men’s high game: Ray Dejong, 181; men’s high series: Marty O’Brien, 489. Women’s high game: Cheryl Coulter, 189; women’s high series: Cheryl Coulter, 530. Leading team: The Strikers.
Golf CEDARS AT DUNGENESS GOLF COURSE Lady Niners Low Net Thursday First Division 1. Bonney Benson, 32; 2. Jo Hendrickson, 33; 3. Lillian Gomes, 34. Putts were won by Bonney Beson with 15. Second Division 1. Lee Stanley, 31; 2. Shari Miller and Donna Teel, 36. Putts won by Donna Teel with 16. Closest to pin Hole 17: Carolyn Gill.
Football NFL Standings NATIONAL CONFERENCE West W L T Pct PF San Francisco 4 1 0 .800 142 Seattle 2 3 0 .400 94 Arizona 1 4 0 .200 96 St. Louis 0 4 0 .000 46
SPORTS ON TV
PA 78 122 121 113
East L T Pct PF 1 0 .750 83 2 0 .600 127 2 0 .500 99 4 0 .200 125 South W L T Pct PF New Orleans 4 1 0 .800 157 Tampa Bay 3 2 0 .600 87 Atlanta 2 2 0 .500 90 Carolina 1 4 0 .200 116 North W L T Pct PF Detroit 4 0 0 1.000 135 Green Bay 4 0 0 1.000 148 Chicago 2 2 0 .500 94 Cincinnati 3 2 0 .600 110 Pittsburgh 3 2 0 .600 102 Cleveland 2 2 0 .500 74 West W L T Pct PF San Diego 4 1 0 .800 120 Oakland 3 2 0 .600 136 Kansas City 2 3 0 .400 77 Denver 1 4 0 .200 105 Washington N.Y. Giants Dallas Philadelphia
W 3 3 2 1
PA 63 123 101 132 PA 125 125 105 132 PA 76 97 98 106 PA 120 119 125 104 PA 95 94 115 136 PA 57 94 89 93 at Atlanta, late Open: Baltimore, Cleveland, Dallas, Miami, St. Louis, Washington Today’s Game Chicago at Detroit, 5:30 p.m..
Seahawks 36, Giants 25 Seattle N.Y. Giants
14 0 2 20—36 7 7 0 11—25 First Quarter Sea—Obomanu 11 pass from Jackson (Hauschka kick), 12:28. NYG—Ballard 12 pass from Manning (Tynes kick), 9:08. Sea—Lynch 1 run (Hauschka kick), 3:00. Second Quarter NYG—Nicks 19 pass from Manning (Tynes kick), :11. Third Quarter Sea—Hargrove safety, 7:02. Fourth Quarter Sea—FG Hauschka 51, 14:28. NYG—Cruz 68 pass from Manning (Bradshaw run), 12:37. Sea—FG Hauschka 43, 10:15. NYG—FG Tynes 26, 4:49. Sea—Baldwin 27 pass from Whitehurst (Hauschka kick), 2:37. Sea—Browner 94 interception return (Hauschka kick), 1:08. A—78,650. First downs Total Net Yards Rushes-yards Passing Punt Returns Kickoff Returns Interceptions Ret. Comp-Att-Int Sacked-Yards Lost Punts Fumbles-Lost Penalties-Yards Time of Possession
Sea 22 424 29-145 279 6-69 3-71 3-111 26-41-1 6-36 7-44.6 3-2 10-70 28:46
NYG 21 464 25-69 395 2-12 3-82 1-0 24-39-3 3-25 7-49.0 3-2 7-52 31:14
INDIVIDUAL STATISTICS RUSHING—Seattle, Lynch 12-98, Jackson 4-17, Washington 3-10, Forsett 4-9, Whitehurst 2-6, Robinson 3-5, Rice 1-0. N.Y. Giants, Bradshaw 17-58, Manning 3-5, Ware 4-3, Cruz 1-3. PASSING—Seattle, Jackson 15-22-1-166, Whitehurst 11-19-0-149. N.Y. Giants, Manning 24-39-3-420. RECEIVING—Seattle, Baldwin 8-136, Obomanu 6-51, Rice 4-38, Lynch 4-33, Tate 2-31, A.McCoy 1-20, Washington 1-6. N.Y. Giants, Cruz 8-161, Manningham 5-56, Nicks 4-65, Ballard 3-72, Bradshaw 2-27, Ware 1-22, Pascoe 1-17. MISSED FIELD GOALS—None. 1, Detroit 0 Saturday, Oct. 8: Texas 3, Detroit 2 Sunday, Oct. 9: Detroit at Texas, ppd. rain Today: Detroit (Scherzer 15-9) at Texas (Holland 16-5), 1:19 p.m. Tuesday, Oct. 11: 0 Sunday, Oct. 9: Milwaukee 9, St. Louis 6 Today: St. Louis (Jackson 12-9) at Milwaukee (Marcum 13-7), 5:05 p.m. Wednesday, Oct. 12: Milwaukee (Gallardo 17-10) at St. Louis (Carpenter 11-9), 5:05 p.m. Thursday, Oct. 13: Milwaukee (Wolf 13-10) at St. Louis (Lohse 14-8), 5:05 p.m. x-Friday, Oct. 14: Milwaukee at St. Louis, 5:05 p.m.
MAJOR LEAGUE BASEBALL--Fined St. Louis manager. American League KANSAS CITY ROYALS--Announced strength and conditioning coach Ty Hill will not return next season. Named Ryan Stoneberg strength and conditioning coach. National League LOS ANGELES DODGERS--Declined 2012 club options on 3B Casey Blake and RHP Jon Garland. Sent INF-OF Eugenio Velez outright to Albuquerque (PCL).
BASKETBALL NBA Development League TEXAS LEGENDS--Named Del Harris coach in addition to his duties as general manager.
FOOTBALL National Football.
HOCKEY National Hockey League NHL--Named Dan Marr director of central scouting. BUFFALO SABRES--Signed D Matt MacKenzie to a three-year, entry-level contract. CHICAGO BLACKHAWKS--Signed vice president-general manager Stan Bowman to a three-year contract extension through the 2015, entry-level contract. TAMPA BAY LIGHTNING--Assigned F Dana Tyrell to Norfolk (AHL). Placed D Mattias Ohlund on injured reserve. VANCOUVER CANUCKS--Claimed RW Dale Weise off waivers from the N.Y. Rangers.
COLLEGE NCAA--Rejected an appeal by former Southern Indiana coach men’s basketball coach Rick Herdes to overturn its two-year show-cause penalty for infractions committed at the school.
Hawks: A Giant of an upset vs. New York Continued from B1goal.
SportsRecreation
Peninsula Daily News
Monday, October 10, 2011
B3
Raiders just win, baby, for Davis Oakland holds off Houston
Week 5 highlights Passing
Matt Cassel, Chiefs, 21-29-0, 257 yds, 4 TDs, 138.9 PR Ben Roethlisberger, Steelers, 24-34-1, 228 yds, 5 TDs, 116.2 PR Alex Smith, 49ers, 11-19-0, 170 yds, 3 TDs, 127.2 PR
The Associated Press
H The Associated Press yards and two touchdowns Oakland wide receiver Denarius Moore evades Houston linebacker Brooks Reed in the fourth for the Texans (3-2) but missed star receiver Andre quarter of Sunday’s game in Houston. Johnson, who sat out with a Chargers 29, right hamstring injury.
NFL Sunday.
Saints 30, Panthersbest momen49ers 48, Bills 31, Eagles 24 tum after Cam Newton and Buccaneers 3 ORCHARD PARK, N.Y. the Panthers (1-4) had SAN FRANCISCO — — Fred Jackson had 196 taken their first lead early Alex Smith threw two of his yards from scrimmage and in the fourth quarter. three touchdown passes to linebacker Nick Barnett Vernon Davis, and Frank had two of Buffalo’s four Defense steps up Gore ran for a score in his interceptions. second straight 100-yard The Saints’ defense rushing game for San FranAfter scoring on a 31-yard interception return finally sealed the win, let- cisco. in the second quarter, Bar- ting the Panthers reach Carlos Rogers returned nett sealed the victory by only midfield before New- an interception 31 yards for grabbing Michael Vick’s ton’s desperation heave a touchdown and tight ends tipped pass intended for downfield fell incomplete Davis and Delanie Walker Jason Avant with 1:49 for the game’s the final play. each caught TD passes of remaining at the Bills’ 26. Newton threw for 224 20-plus yards in San Francisco’s third straight win Jackson scored on a yards and two touchdowns, since blowing a late lead in 5-yard run and finished with 111 yards rushing in including the go-ahead a Sept. 18 overtime loss to helping the Bills (4-1) 5-yard scoring pass to Greg the Cowboys. The 49ers are 4-1. match their best start since Olsen for a 27-23 lead with 12:32 to play. He also scored Josh Freeman never 2008. The Eagles (1-4) have on a sneak late in the third found the flow that made him so effective in the rout lost four straight and are off quarter.
N
ick Novak kicked five field goals and Ryan Mathews ran for a career-best 125 yards for San Diego, which takes a 4-1 record into its bye week. here last November and the Buccaneers (3-2) were a step behind in a short week after beating the Colts on Monday night..
Good first
Seattle: Shocking win in N.Y. Continued from B1
But it could keep the NFC West competitive, despite San Francisco’s early success.
Kyle Orton, Broncos, 6-13-1, 34 yds, 0 TDs, 21.0 PR
(1-4) and finished 21 for 42 for 232 yards and one touchdown pass, a performance so shaky the Vikings were able to confidently run down the clock after stumbling through the second and third quarters.
Former Eagles This wasn’t a productive afternoon for either former Philadelphia quarterback, from McNabb’s bounced passes to Kolb’s errant throws.
record with five touchdown passes — including two to Hines Ward. Other than a slight limp when he ran, Roethlisberger appeared to have no Bengals 30, issues with his sprained left foot, also hitting Mike WalJaguars 20 lace, Heath Miller and JACKSONVILLE, Fla. David Johnson for scores as the Steelers (3-2) ended — Andy Dalton threw two Tennessee’s three-game touchdown passes, and Bernard Scott scored with 1:56 winning streak. remaining for Cincinnati (3-2). Single-game record The Bengals took advanThe five TD passes tied a tage of Matt Turk’s 22-yard single-game team record punt into the wind to set up Roethlisberger already shares with Mark Malone the winning score, a touchdown needed because Mike and Terry Bradshaw. Tennessee’s Chris John- Nugent missed an extra son ran for a score but fin- point in the first half. ished with 51 rushing yards Dalton hooked up with on 14 carries. Jermaine Gresham on a The Titans are 3-2. fourth-and-6 play to keep the short drive alive, then Vikings 34, found Andre Caldwell for Cardinals 10 an 8-yard gain. MINNEAPOLIS — Adrian Peterson powered in Running it in for three first-quarter TDs With the Jaguars (1-4) to build a lead large enough even Minnesota (1-4) expecting a pass on third down, Dalton handed to couldn’t lose. Peterson rushed 29 Scott, who weaved his way times for 122 yards and into the end zone to make it Donovan McNabb jogged in 23-20. for a score, too, as the Jacksonville had a Vikings made it 28-0 less chance to tie, but Blaine than 12½ minutes into the Gabbert fumbled a bad game. snap and the Bengals ended up with the ball. Kolb struggles Cincinnati also scored on Kevin Kolb had three a fumble return on the final turnovers for the Cardinals play.
Local Monitoring
The 49ers are 4-1 after ripping Tampa Bay 48-3 on Sunday. Regardless, Carroll is convinced the Seahawks’ attitude has them on the right path. “We believe in these guys because they deserve it,” he said. “And we hope they’ll give us more thrills like this.”
PROTECTED BY
SECURITY SERVICES
NORTHWEST, INC.
1-800-859-3463
Happy Hour Specials WOOD STOVE: Country, airtight, Week Nights 4pm-7pm
2.00
$
TUESDAYS
Wells/Domestic Pounders or Bottles
5 $ 3.00 Taco Thursdays! Special Appetizer Menu 3 for $2 00
8 oz. SIRLOIN STEAK $ 95
free-standing, with glass doors, 17” x 19” box.
1605 E. Front St., PA • 10 - 2 am, Mon-Fri • 10-2 am, Sat & Sun
$500
683-9274 035075441
Competitive West
Wished I Stayed Home
0C5102254
Schneider finds
we are going in the right direction.” That direction probably won’t land the Seahawks in Indianapolis in February.
Rushing
Adrian Peterson, Vikings, 29-122, 3 TDs BenJarvus GreenEllis, Patriots, 27-136, 2 TDs
FIRE/SECURITY ALARMS
195131635.
Receiving
Victor Cruz, Giants, 8-161, 1 TD Doug Baldwin, Seahawks, 8-136, 1 TD Dwayne Bowe, Chiefs, 7-128, 2 TDs
B4
Monday, October 10, 2011
Fun ’n’ Advice
Peninsula Daily News
Buffet breakfast causes brouhaha
Dilbert
DEAR
For Better or For Worse
Abigail
Van Buren
If you think he has been unfaithful, you may be right. The question now is, what do you intend to do about it? If you no longer trust your husband, then marriage counseling would be appropriate.
Dear Abby: I lost my wife and only child three years ago in a car accident. I felt my life ended that day, but I’ve managed to put the pieces back together thanks to the support of my family and friends. Now I’m at the point where I think I’m strong enough to start dating again. When do I tell my date what happened? I don’t want to scare her away Dear Waffling: As far as I know, with my story. you broke no rule of etiquette. It’s a big part of who I am, but it’s What you encountered was a hunnot all I am. gry woman who was taking her First dates are about getting to impatience out on you. know someone, and it’s hard not to She is lucky you didn’t hand her share this, but I’m uncomfortable an egg and tell her to go suck on it. sharing right away. Do you have any advice? Dear Abby: Two weeks before our youngest child’s wedding, my Tentative in Minnesota husband of more than 40 years suddenly became obsessed with worry Dear Tentative: I see no reason that I was unfaithful. why you should disclose all the It was unfounded and nearly details of what happened to your ruined the wedding for both of us. wife and child on a first or second This continued for two weeks date. after the wedding, until he finally If the subject of your marital stavowed to “let it go.” tus is raised, it’s perfectly all right to My husband is now bending over say that you are a widower, that the backward to make it up to me. subject is a painful one, and you will He is as thoughtful and passionshare more details when you know ate as if we were on our honeymoon the person better. again. It would be insensitive for anyone While I’m enjoying the attention, to press you for more information I can’t help but wonder if he is the after hearing a statement like that. guilty one. _________ What do you think? Dear Abby is written by Abigail Van Buren, Turning the Tables in Illinois
Pickles
Frank & Ernest
Garfield
Dear Turning The Tables: What I think isn’t nearly as important as what you think.
Momma
By Eugenia Last ARIES (March 21-April 19): Impulsive action will not bring good results. You must avoid arguments. A relationship may be on the line if you cannot bring yourself to compromise or to see both sides of a situation you face. Now is not the time to make a drastic life change. 3 stars TAURUS (April 20-May 20): Put greater emphasis on your future. Avoid a falling out with a colleague, employer or authority figure. A snap decision regarding your career will not be beneficial. You must think matters through and strategize first. Ask questions and listen to advice. 3 stars
Rose is Rose
Elderberries
Dennis the Menace
DEAR ABBY
Doonesbury
LEO (July 23-Aug. 22): Keep life simple; don’t brag or take on too much. Learning will help refresh your memory and call to mind what you already know. Get domestic chores out of the way or consider making a move. You’ll come up with a creative way to make extra cash. 3 stars VIRGO (Aug. 23-Sept. 22): Protect what you have. Giving out too much information or being too readily available to help demanding people will cut into valuable time you need to pursue your own projects. Avoid impulse purchases or hasty decisions that can lead to worry. 3 stars
GEMINI (May 21-June 20): Take part in an event, activity or fundraiser that will help you stand out. Recognition for your generosity will lead to something worth your time and effort. Someone you impress will make you an offer. Take a leap of faith. 4 stars
LIBRA (Sept. 23-Oct. 22): Communicate. Find out where you stand and what possibilities lay ahead. Don’t procrastinate because you sense some difficulty may occur. Strive to overcome anything or anyone that tries to slow your progress. Original ideas will help you bypass setbacks. 3 stars
CANCER (June 21-July 22): Pick up skills and information, or anything that will help you advance. Put some effort into a relationship that means something to you. Avoid being critical when encouragement is what’s required. Don’t mislead; be upfront about your intentions. 2 stars
SCORPIO (Oct. 23-Nov. 21): Follow your intuition. Use your talents and you will spark interest from someone you’ve worked with in the past. Hone your skills rather than fight the impossible. Follow your heart and your dreams. 3 stars
The Family Circus
Now you can shop at!
SAGITTARIUS (Nov. 22-Dec. 21): Home and self improvements should be at the top of your list. Clear up odd jobs. A change at home will help you reflect on what’s happened in the past and how you should move forward in the future. 5 stars CAPRICORN (Dec. 22-Jan. 19): Stick to what you know. Assumptions will get to trouble. A problem with communication will lead to a sudden turn of events that can alter your day. Don’t give an answer or make a promise without having all the pertinent facts. 2 stars AQUARIUS (Jan. 20-Feb. 18): Make changes that will benefit you emotionally, financially and physically. Take the initiative and ask for whatever you need to follow through with your plans. A partnership will lead to greater opportunities and benefits. 4 stars PISCES (Feb. 19-March 20): Follow a creative dream. Put together proposals and present what you have to offer to someone in an influential position. Someone you least expect from your past will step up and offer help if you share your ideas. A deal can be made. 3 stars
Peninsula Daily News for Monday, October 10, 2011
SECTION
c
Our Peninsula
CLASSIFIEDS, PUZZLES and WEATHER In this section
Tenor opens Port Ludlow arts season Peninsula Daily News
PORT LUDLOW — ItalianAmerican tenor Aaron Caruso will perform at the Champagne Opening of the Performing Arts in Port Ludlow season Saturday, Oct. 22. The concert will be held at the Bay Club, 120 Spinnaker Place, at 8 p.m. Caruso’s “Pavarotti Meets the Rat Pack” showcases a classically trained voice singing Italian songs ranging from the operas of Puccini to hits by the Rat Pack’s Frank Sinatra and Dean Martin. A champagne reception celebrating the arts council’s 20th anniversary will begin at 7 p.m. along with an exhibit of Elizabeth Harmon’s artwork.
Performing for 21 years The 34-year-old Caruso has been singing for 21 years, first performing on stage at age 13. He attended Interlochen Arts Academy High School in Michigan, earned his bachelor’s degree in vocal performance with an Italian minor from University of Michigan and studied opera in New York and Italy. He has performed Puccini’s “La Boheme” and in many operatic concerts.
Caruso replaces the Canadian classical crossover group Il Voce. All subscription tickets and individual tickets bearing the original Sept. 24 date will be honored at the Oct. 22 concert. Because of the rescheduling and substitution, refunds or exchanges for another concert later in the season will be issued to holders of individual Il Voce tickets, purchased by check at the Bay Club or with a Flex Pass. The Bay Club is not authorized to handle exchanges or refunds. Mail the tickets to Ticket Exchange, P.O. Box 65210, Port Ludlow, WA 98365, with the choice of a replacement concert or refund and a complete mailing address. Brown Paper Tickets will issue refunds to credit cards if requested. Caruso tickets are $24 and are available at the Bay Club in Port Ludlow or at www. brownpapertickets.com. The Bay Club also has sixticket Flex Passes at $132. Season subscription applications are at artscouncil.com. For information, phone 360437-2208.
Jefferson, PT libraries offer eBooks for Kindle Peninsula Daily News
Jefferson County Library and Port Townsend Public Library are now offering free eBooks for Amazon Kindle users. This past spring, Amazon agreed to work with Overdrive, the company that provides electronic book lending services to libraries. The CLAN libraries in Jefferson County have offered digital downloads of books and other materials to various devices for years. However, until now, the Kindle has not been an option.
‘Big deal for us’ “This is a big deal for us because so many of our customers have Kindles, and they’ve wanted access to our digital collections,” said Meredith Wagner, associate director at Jefferson County Library. Wagner said digital lending at both libraries has grown more than 100 percent over the past year, and she expects this latest service will affect those numbers even more, especially since Ama-
zon released less expensive Kindles this month. “All browsing, searching and checkout of eBook titles will remain the same at the Washington Anytime Library, which can be accessed through the libraries’ websites,” said Cris Wilson, adult services librarian at the Port Townsend Library.
Kindle links, apps When users check out a Kindle Book, a “Get for Kindle” link will be presented that opens a new window at Amazon, prompting the users to log in to their Amazon account. Once signed in, the user will select which Kindle device or free Kindle app they want to deliver the title to. The libraries will continue to provide technical support for eBook lending. For more information, phone the Jefferson County Library at 360-385-6544 or visit www. jclibrary.info, or phone the Port Townsend Library at 360-3853181 or visit ptpubliclibrary.org.
Helifor crew member Stephen Johnson helps direct a log into East Twin River for the Lower Elwha Klallam Tribe’s salmon habitat project.
Lower Elwha rebuild fish habitat on E. Twin River slowly regrows.” Large woody debris is an With the help of a heavy-lift important part of a good salmon helicopter, the Lower Elwha Klal- habitat. lam tribe placed 140 trees in a The helicopter placed trees as one-mile stretch of Twin River large as 50 feet long and 30 watershed to create better habiinches in diameter, and weighing tat for salmon. up to 10,000 pounds. “Many watersheds on the Olympic Peninsula have been affected by historic logging prac- Rootwads tices in the last century, as well Some of the trees had large as forest fires, both of which rootwads, which act like an removed streamside vegetation anchor in the streams. and simplified fish habitat,” said The rootwad helps slow down Mike McHenry, the tribe’s habithe water to create shallow pools tat biologist. where fish rest and feed. “As a result, we’ve lost wood They also help create gravel in the river channels, so we’re beds suitable for salmon to putting it back while the forest spawn and create redds, or
salmon egg nests. The Twin River watershed is home to coho and chum salmon, cutthroat trout and coastal steelhead. The tribe has been conducting habitat restoration in the Twin River watershed since 2002. Efforts included working with private and public land managers to restore old logging road systems that were poorly constructed and were causing landslides that disrupted the fish habitat in the river, according to McHenry. Partners with the project include Washington Department of Natural Resources and private property owners.
Arts center seeks artists for gift market
National Merit Scholarships, Commended Students placed among the top 5 percent of more than 1.5 million students who entered the competition by taking the 2010 Preliminary SAT/ National Merit Scholarship Qualifying Test.
Peninsula Daily News
Radio show ‘Says You!’ Briefly . . . returns to Chimacum Tickets now available Peninsula Daily News
CHIMACUM — After a soldout performance last year, the radio panel game show “Says You!” will return to the Chimacum High School auditorium, 91 West Valley Road, at 1:30 p.m. Sunday, Nov. 13. Hosted by Richard Sher, local contestants will be captained by “Says You!” veteran cast members Arnie Reisman and Paula Lyons. The performance will consist of two shows recorded back to back. “The cast of ‘Says You!’ and everyone who came to the show had such a wonderful time here last year we’ve been planning ever since to bring them back” said Lela Hilton, academic director of the Clemente Course. “The format for this show is a bit different, though.”
Local panelists “This time, we’re showcasing local panelists and games,” Hilton said. “In fact, we’re hoping that all the games for both shows come from the community, so we’re
having a contest for the best games.” Contest winners will be invited to join the cast for a reception after the performance. Game ideas can be submitted until Oct. 28 at. net/got_a_good_one.
PORT ANGELES — The Port Angeles Fine Arts Center is inviting artists to participate in its annual Art is a Gift holiday market. Tickets and seating The entire museum space will be devoted to fine arts and crafts Tickets are $35 for festival seating and $50 for premier seat- items displayed in an exhibitionstyle atmosphere throughout the ing and are available at www. holiday season. keycitypublictheatre.org/ To be considered, submit samclemente.htm or at Quimper ples in JPEG format to PAFAC@ Sound, 230 Taylor St., Port olypen.com, or send a link to your Townsend. website for review. Proceeds from the show will Center staff will be available benefit the Clemente Course in to view work in person by the Humanities, which begins its appointment. 12th class in January. Art is a Gift will run from The Clemente Course offers a Dec. 2 to Jan. 8. free, accredited college course to The Port Angeles Fine Arts low-income adults and pays child Center will retain a 35 percent care and transportation costs for commission on sales to benefit its qualified students. programs. Subjects studied are U.S. hisThe deadline for entry is Montory, history of art, philosophy, lit- day, Nov. 7, but early submission erature and writing. is encouraged. “Says You!” is heard on Deadline for delivery of work National Public Radio stations is Monday, Nov. 28. like KUOW and KPLU. The Port Angeles Fine Arts For more information, phone Center is located at 1203 E. LauHilton at 360-732-007 or visit ridsen Blvd., near the Jones jeffersonclemente.wordpress.com. Street water dome.
An opening reception will be held Friday, Dec. 2. For more information, phone 360-457-3532 or email barbaralslavik@yahoo.com.
Fundraiser success PORT ANGELES — The Answer for Youth (TAFY) fundraiser Monday, Sept. 19, at Swain’s in Port Angeles raised $740 with a bake sale and raffle of a bicycle donated by Clallam County Sheriff’s Office. TAFY is an all-volunteer, dropin center for at-risk and homeless youths and young adults.
Students honored PORT ANGELES — Principal Garry Cameron announced five Port Angeles High School students have been named as Commended Students in the 2012 National Merit Scholarship program: Tarah Erickson, Kaitlin Fairchild, Connor Gouge, Jessalyn Rogers and Adrielle Tobias. A certificate from the school and National Merit Corp., which conducts the program, was presented by Cameron to the seniors. Approximately 34,000 Commended Students throughout the nation are now recognized for their exceptional academic promise. Although they will not continue in the 2012 competition for
Educator grants The Beta Nu Chapter of Delta Kappa Gamma announces that applications are now available for continuing education grants from the Helen Gariepy Grants for School Educators in Clallam County. Gariepy’s substantial bequest honors her long career as an educator in Port Angeles. Grants are offered for professional improvement or development of skills. Any educator or paraprofessional working in a Clallam County school may apply. Funding may be for full reimbursement of funds or for partial reimbursement for programs not paid by other sources. The fall application deadline is Nov. 15. Brochures and applications may be obtained at the chapter website,. For more information, phone Marsha Omdal at 360-681-2254 or email momdal@msn.com. Peninsula Daily News
C2
Classified
MONDAY, OCTOBER 10, 2011
PENINSULA DAILY NEWS
Peninsula Pe ninsula
23
Lost and Found
LOST: Black hood with fur edging, for black coat, left on bus #26 in P.A. 425-238-2667 LOST: Blanket. Gray and black wolf, at UPROAR at White River Amphitheater in Auburn, WA. Desperate to get back. 460-5699
22 Community Notes 23 Lost and Found 24 Personals
22
Community Notes
Wild Rose Adult Care Home has a private room available. Best care at best rate. 683-9194
23
Lost and Found
LOST: Dog. Small black/white Sheltie, near bluffs at McDonnell Creek area, Agnew. Please don’t chase. Call Joe at 460-1967. LOST: Sunglasses, in black case in downtown P.A., or possibly on Ediz Hook. Morning of 10/6. 360-808-4238
f O U N D : W o m a n ’s Ring. On Park Ave., near Peninsula College, P.A. 452-2040.
Place your Ad With The New Classified Wizard
Type your ad how you would like it to read. See your ad before it runs exactly how it will publish. Add a border, graphic, picture, Yellow on Sunday Pay for your ad on our secure site. dailynews.com PENINSULA CLASSIFIED
Harrison Sold His Ford In The Peninsula Classifieds. And you can sell your car in the Peninsula Classifieds even if you’re selling your Chevy and your name is Chase.
LAWN & YARD CARE SERVICES Mowing, Weeding, Edging, Hedge Trimming, Pruning, Landscape Maintenance & General Clean-up. Tom at 452-3229
31
AUTO SALESPERSON Koenig Chevrolet Subaru is looking for a highly motivated individual for our Auto Salesperson position. Excellent pay program and benefits. Contact Bill Koenig Chevrolet Subaru 457-4444. Development Mgr for First Step 25 hrs. wk. For req/full desc or to submit resume email fstep@olypen.com EOE
6A113352
classified@peninsuladailynews.com
Housecleaning, pet walking, errands. Mature, reliable. 683-4567
PAINTER/PREPPER Wages DOE. Pick up application at Evergreen Collision, 820 E Front St., P.A.
Help Wanted
HANDYMAN: Reliable repairman. Rent/ wages. 620-0482. Janitorial subcontractors wanted. 7 days a week, 1.5-2 hrs per day. 425-741-2070.
Work Wanted
LABORER: License/ transportation needed. 683-9619 or 452-0840.
31 Help Wanted 32 Independent Agents 33 Employment Info 34 Work Wanted 35 Schools/Instruction
AIDES/RNA OR CNA Best wages, bonuses. Wright’s. 457-9236.
Pick your ad package and rate that works for you.
34
Help Wanted
ROOFER: Experienced, valid license, own transportation, wage DOE. 683-9619/452-0840
Lawn/Garden Care ENVIOUS GREENS Fast, reliable, reasonable rates, fall clean-up, gutter cleaning, weed pulling/whacking, brush clearing, debris hauling. Sequim/P.A. area. Local: 681-3521. Cell: 541-420-4795.. Eddy’s Small Engine Repair. Mowers, trimmers, saws. 360-681-3065 Enrich your garden. Fall program. Prune, weed, feed, mulch. Outstanding results. Sunshine Gardening 452-9821
Olympic Rehabilitation of Sequim
Now Hiring Avamere Olympic Rehabilitation of Sequim is looking for 3 Bath Aides & Restorative Aides to complete our care team. Please call Heather Jeffers at 582-3900 for more information.
195135153
Bath Aides & Restorative Aides
Wonderful housecleaning. Experienced, references. Call Esther 775-9513 Yard cleanup, hedges, fire wood, misc. 452-3076 Mark. Young Couple, Early Sixties. available for moss removal, fall clean-up, garden restoration, fence and deck repairs. Excellent references. Chip & Sunny’s Groundskeeping Services 360-457-1213
41 Business Opportunities 42 Mortgages/Contracts 43 Money Loaned/Wanted
41
Business Opportunities wealth.com
SALES: Cabinets, counters, doors and millwork. Thomas Building Center, 301 W. Washington, Sequim, 98382. SCHEDULER Schedule clinical appointments. Exper req’d. FT with benefits. Resume & cvr ltr to PCMHC, 118 E. 8th St., Port Angeles, WA 98362. EOE
51
51
Homes
51
Homes
PLACE YOUR AD ONLINE With our new Classified Wizard you can see your ad before it prints! dailynews.com
51
5000900
FOUND: Dogs. (2) neutered male red and white Corgies found on 18th and McDonald, PA. Please call 457-8206.
31
54
By DAVID OUELLET HOW TO PLAY: All the words listed below appear in the puzzle –– horizontally, vertically, diagonally, even backward. Find them and CIRCLE THEIR LETTERS ONLY. DO NOT CIRCLE THE WORD. The leftover letters spell the Wonderword. SELENA GOMEZ Solution: 6 letters
By Jeff Chen
DOWN 1 Cops enforce them 2 Yen 3 Fast food pickup site 4 Pamper 5 Chocolate factory vessels 6 __-Wan Kenobi 7 Where boxers and pugs play 8 Leg joint protector 9 Cliffside nest 10 Cosmo rival 11 Reprimands 12 Looks that lovers make 13 Beginning 18 Bird by the beach 24 __ Tin Tin 25 Yakked and yakked 27 Starbuck’s captain 28 Like a custom suit 29 Soup with sushi 31 Capt.’s subordinates 33 “I tawt I taw a __
64
FRESHWATER BAY 5 acres. $110,000. 928-3572.
The pros at PENINSULA DAILY NEWS can design AND print your publication. Great quality at competitive prices. Call Dean at 360-417-3520 1-800-826-7714
61 Apartments Furnished 62 Apartments Unfurnished 63 Duplexes 64 Houses 65 Share Rental/Rooms 66 Spaces RV/Mobile 67 Vacation 68 Commercial Space
61
Apartments Furnished
WINTER SPECIAL Motel weekly, $179. Continental breakfast, microwave, refr., bathtub, Wi-Fi. Clean. 457-9494..: Darling country furn. 1 Br. $1,000. 452-7609, eves. P.A.: Newer west side studio apt., utilies incl., no smoking. $650 mo., $500 dep. 670-9329 Properties by Landmark. portangeleslandmark.com
64
10/10/11
update limited to 140 characters 65 ’Vette roof option.
C3
peninsula dailynews.com
C H A R I T Y N B O H E L E A
A M E R I C A N R S O C L A T
S A X E T B E C A S E N E R U
© 2011 Universal Uclick
W I Z A R D S E T U S E T A R
B A L E X L C I S R H I D I A
W I L L I E E R E O E C N S L
E V O L Y D N A M N A S A E L
H O S T E H O P E K ҹҹҹҹ S H R F I Y W R T L A U S U O S C I O T E P E C A M D I S V D R R L O A I P U L R S N I M B A N G C S S I K R A R T H W Y L R E V
R A I N S N E A K E R S O E A
W A N D G U I T A R W I N N W
10/10
Join us on Facebook
Actress, Alex, American, Arwin, Band, Bang, Charity, Cheerleading, Converse, Disney, Drums, Earth, Grew, Guitar, Hears, Hope, Horton, Host, Icon, Kiss and Tell, Like, Lips, Lovato, Love, Mandy, Marie, Naturally, New, Piano, Rain, Raise, Russo, Says, Scene, Science, Scout, Shoes, Sneakers, Star, Surf, Texas, Waits, Wallace, Wand, Waverly, Who, Willie, Wizards, Year Yesterday’s Answer: Jetties
Friday’s Puzzle Solved
THAT SCRAMBLED WORD GAME by David L. Hoyt and Jeff Knurek
Unscramble these four Jumbles, one letter to each square, to form four ordinary words.
MOACM (c)2011 Tribune Media Services, Inc.
tat!” 34 French friends 35 Letters on reply cards 37 Drone or worker 40 Unsophisticated 41 Come before 42 “If __ only listened!” 46 Rope at a rodeo 47 City destroyed by fire and brimstone 49 Common teen
Houses
AGNEW: 1,600 sf log home 2 Br., 1 bath, fenced yard, storage, quiet street. Between PA and Seq. $900. 970-712-0523 Between P.A. & Sequim. 2 Br., 1 bath with W/D/S/R on 1.5 acres. Super clean! Storage shed. No pets. $775. Available now. 360-452-7721. CENTRAL P.A.: 3 Br., 2 ba. $1300 mo. No pets. 360-477-0016.. P.A.: 2 Br. $600, $600 deposit. No pets. Refs. 457-5847. P.A.: 2 Br. house, $895. 3 Br. duplex, $795. 452-1395. P.A.: 2 Br., 1 ba, covered parking with large storage room. $900. 670-6160. P.A.: 3 Br., 2 ba, garage, no smoking. $1,100 mo., $1,100 security. 417-0153. P.A.: 3 Br., 3 ba, Strait view near high school, laundry room, recent upgrades, single garage. $1,150 mo. 360-775-5327. P.A.: Available now, 2 Br. deluxe town house, 1,400 sf. 1.5 bath. $800. No pets. 457-6181 P.A.: Pvt 2 Br., 2 bath, pics ezpa.net, 1,400 sf. $675. 452-5140. PA: 2/3 Br., 1 bath. Views, remodeled. $825-$925. Quiet studio, $450. No smk/pets. 457-7035. Properties by Landmark. portangeleslandmark.com SEQ: Exc. water view 2 Br. $765. tourfactory.com/397357
WHY PAY SHIPPING ON INTERNET PURCHASES? SHOP LOCAL
C O N V E R S E D I S N E Y N
SEQUIM/BLYN: 2 Br., 2 ba w/den on 1 acre w/pond. W/D, D/W. 1,200 sf, high ceilings, bkfst bar, deck. No garage. $900/mo. F/L/dep. 461-2588.
64
Houses
SEQUIM: 3 Br., 2 ba, fenced, hdwd floors, no pets, Nov. 1st. $1,200. 461-9593.
SEQUIM: 4 Br., 3 ba for rent now. $1,150/mo. 1 year lease. No smokers. Ref's req'd. Scott: 360-388-8474 SEQUIM: Lg 1 Br., 1 ba., great location. $725. 683-6746. SEQUIM: New, 2 Br., 2 car gar., granite/ hardwoods, yard maintained. $1,150 mo. 460-0432. W.SIDE HOUSE AND SHOP.3+BD,1BA., 3BAY garage (RV) w/ storage. Fully fenced yard. No smoking. Bkgrd. check req. $1,000 per mo. + utilities. Call 360-457-8126
68
Commercial
10/8/11
emotion 50 Ryan of “When Harry Met Sally...” 52 Actors McKellen and Holm 54 Agitated state 55 A.D. part 56 Armstrong’s “small” stride 59 Fair-hiring inits.
71
Appliances
DISHWASHER Kenmore, under the counter. Older but works well. $25. 681-4429 MISC: 25 cf refrigerator side-by-side, front door ice and water, excellent, $650. Upright freezer, 15 cf good condition, $150. 452-3200
72
Furniture: Pine china hutch, $250. Pine armoire, $500. (2) Flat screen projection Sony tvs, $250 ea. Light wood dining table with leaf, 6 chairs, $125. 452-1003, call after 5.
Write ads that get RESULTS Description Description Description
71 72 73 74 75 76 77 78 79
Appliances Furniture General Merchandise Home Electronics Musical Sporting Goods Bargain Box Garage Sales Wanted to Buy
71
Appliances
DISHWASHER Kenmore, under counter, very nice. Works well. $50. 417-7685
Let your potential buyer get a mental picture of your item OR add a picture to your ad! Classified customers are smart consumers. The ones with money call the good ads first! 360-452-8435 1-800-826-7714 dailynews.com PENINSULA CLASSIFIED
72
ZAEADM
EMINMU Now arrange the circled letters to form the surprise answer, as suggested by the above cartoon.
Print answer here: Yesterday’s
Furniture
Find us on Facebook
ACROSS 1 Cheryl of “Charlie’s Angels” 5 Screwdriver liquor 10 “Logically, then ...” 14 The “height” part of a height phobia 15 Have __ to pick 16 Red Army leader Trotsky 17 Terrified Detroit baseball player? 19 Vietnam neighbor 20 Cuts off 21 Architect I.M. 22 Advantage 23 Very long time 24 Indy 500 entrant 26 Tippler 27 Memo-directing abbr. 29 Actress Sorvino 30 Voice below soprano 32 “Don’t make me laugh!” 33 Embarrassed Carolina football player? 36 Boeing competitor 38 Strolls down to the saloon 39 Depressed Miami football player? 43 Gun, as a V6 44 Ran a tab 45 Mine products 46 Talk like Daffy 47 __ Lanka 48 Went off course, nautically 50 “Little Red Book” writer 51 Prefix with directional 53 “Community” network 54 Sealy alternatives 57 Arp’s art movement 58 Jealous San Francisco baseball player? 60 Take too much of, briefly 61 Me-tooer’s phrase 62 Teen outbreak 63 Noises from ittybitty kitties 64 Online status
MONDAY, OCTOBER 10, 2011
General Merchandise
ASSORTED ITEMS Large blonde pedestal dining table and 4 chairs; (2) coffee tables; assorted table lamps; (2) TVs. From $15-$150. Call for info. 417-7685
BOX TRAILER: ‘06 24’+. Excellent shape. $7,500. 683-8162. EXTRACTOR: Rug Doctor, hot water extraction carpet cleaning machine, plus all attachments, used once, paid $500. Sell for $300/ obo. 504-2113. FIREWOOD: $179 delivered SequimP.A. True cord. 3 cord special for $499. Credit card accepted. 360-582-7910. firewood.com FIREWOOD: Seasoned, ready to burn, come see quality.$175+. 461-6843
(Answers tomorrow) CLOWN CURBED SHAKEN Jumbles: SHIFT Answer: The photography teacher had everything he needed, but his students — LACKED FOCUS
73
General Merchandise
FLATBED TRAILER 20.5’ dual 3,500 lb. axles trailer with new brakes, wiring, battery, wheel bearings and paint. Licensed and ready for your choice of decking. Must sell! $1,200/obo. 477-0903 GREENHOUSE GLASS 24 sheets. New, tempered. Cost $1,900, sell $480. 360-301-2974
PROPANE INSERT Regency Panorama P121 two sided see-through propane fireplace insert, enjoy heat and the view in two rooms at once, new in crate. GREAT PRICE! $1,300. 477-8826.
73
General Merchandise
FRONTIER WOOD STOVE Take 16” wood. $450. 360-732-4328 POWER CHAIR Jazzy, 1103 Ultra, with power seat, 300 lb. weight capacity, used very little only in house. $3,300 681-2346 ROTOTILLER Troy-Bilt, 8 hp. $300. 808-1052 SALMON Fresh ocean Coho. 360-963-2021 SEAHAWKS TICKETS (2) adjoining seats, all games. Sold in sets only. Section 302, row J. $100/set. 477-3292 SHELVING: Metal to fit 2 garages. Cost about $1000, sell for $750/obo. 452-7745. SHOP SMITH: With jigsaw attachment. $200. 477-4573. WOOD STOVE Country air tight free standing with glass doors, 17”x19” box. $500. 683-9274. Wood Stove Pellets Eureka, Olympus, Pacific. $185-$240 ton. 452-1400. WOOD STOVE Quadra Fire 3100, certified, heats 2,000+ sf. $650. 681-2519.
75
76
Sporting Goods
DAD’S GUN: Hi-Standard 22 long rifle pistol, model “B”, 6.5” barrel, 3 magazines and original leather holster, 1930s era. $450. 681-5373.: SIG P226 Tac OPS 40, NEW IN BOX, 4 mags, 357 sig barrel plus ammo, $950. Springfield Armory, XDM 3.8 40, new, $500. Cash only. 477-4563 Hunter’s Truck Camper Dry. $175. 360-809-8000 POOL TABLE: Coin operated, good condition. $1,000/ obo. 461-1746.
Musical
BASS GUITAR: EMG acoustic electric bass, stand, gig bag, and amp. $225. 457-1289 PIANO: Wurlitzer. $400. 457-1748.
REVOLVER: Ruger GP100, 4” barrel, caliber 327 federal mag, new in box, $475. 460-4491. RUGER: M77 Tang Safety 7mm mag, new Leupold VX-III, 6 boxes ammo, sling, case, custom stock. $1,000 firm 417-2165 SHOTGUN: Chas Daly made in Prusia. 12 ga. SxS. $3,800. 681-0814 WANTED: Gun parts, reloading items, ammo. 379-6519. WANTED: Guns, ammo, scopes. The older the better. Worn or broken ok. 683-9899
78B
Garage Sales Westside P.A.
AUCTION: Airport Rd. Self Storage, 12 p.m. Wed. 10/12, 4114 S. Airport Rd. Units 624, 312. 460-8333 to verify.
78D
Garage Sales Eastside P.A..
C4
MONDAY, OCTOBER 10, 2011
79
Wanted To Buy
82
ANTIQUES WANTED Old postcards and bottles. 460-2791. BOOKS WANTED! We love books, we’ll buy yours. 457-9789 WANTED: Old flat head Ford parts, speed equip. 452-8092. WANTED: Smaller recliner, prefer cloth, not leather. Reasonably priced. 681-4429
Classified 82
Pets
FREE: 2 male Seal Point kittens, sweet and playful, born 7/29, litter box trained and wormed. 461-5495, after 4.
Northwest Farm Terrier Puppies. Versatile, medium-sized, healthy, intelligent. Born 7/21/11, $350 for males, $400 for females, price includes papers, flea and tick treatment, vaccinated and wormed twice. Great dogs! 360-928-0273. sg1953@yahoo.com
Food/Produce Pets Farm Animals Horses/Tack Farm Equipment
82
Pets
ADORABLE DORKIE PUPPIES Out of our Yorkie and dapple mini-dachshund. Tiny, first shots and dewormed. $400 and up. 452-3016. COCKATIELS: Hand fed. Single $25. Mates $45. Turkeys, young, $25 ea. 452-9084 or 460-2375
Farm Animals
ALF GRASS: $5/ bale. Grass, $4. In barn, no rain. 683-5817.
FREE: To good home. Older dog, older cat. Desperately need home to love them. Can go separately. 477-3117
81 82 83 84 85
Rough Collie pup. 9 week-old sable male. Vet-checked, socialized with children, livestock, cats. $400. 928-0215
83
FREE: To good home. Female Lutino Cockatiel. Must bring own cage to pick up. If you want more info please call Kathy Barnes at 683-5796.
92
Farm Equipment
'69 Flatbed Dump Ford. V8, 4 speed man. Metal lined. $2,000 cash, or cashier's check. 360-385-6088 after 9:30 a.m. Gregg.
91 Aircraft 92 Heavy Equipment/Truck 93 Marine 94 Motorcycles/Snowmobiles 95 Recreational Vehicles 96 Parts/Accessories 97 Four Wheel Drive 98 Trucks/Vans 99 Cars
92
Heavy Equipment/ Trucks LONG DISTANCE No Problem! Peninsula Classified 1-800-826-7714
Heavy Equipment/ Trucks
93
PENINSULA DAILY NEWS
93
Marine
DOZER: ‘94 550 Long track Case. With brush rake. $15,000. 683-8332.
BOAT: 14’ aluminum with trailer, 10 hp Honda O/B. $2,500. 681-6162
PETE-377, $160,000 in 1999, 550 Cat, 18 sp, 3.55, 244”, Studio sleeper, 640,000 mi. $19,000, less without drop, sleeper and rack. 732-4071.
BOAT: 14’6” fiberglass, with paddles. $750. 683-4523.
93
Marine
KLAMATH: Welded aluminum boat, 14’ with galvanized trailer, 6 hp Johnson O/B, depth finder, good crabbing boat. $2,200. 565-6111. LARSEN: 14.5’ Lapline. Nice, extras. $1,900/obo. 452-9445
CAMPION: 21.5’ Explorer. Suzuki 225 hp, Yamaha 8 hp 4 stroke, radar, fish finder plotter, lots of extras. Exc. shape. 30 mile offshore boat. Call for details. $12,500. 385-7728.
LIVINGSTON: 12’, 18 hp Nissan O/B, covered steering station. $1,600. 452-6714. LIVINGSTON: 14’ w/ trailer, elec. crab pot puller, 20 hp Evinrude, 2 seats, 6 crab rings, misc. equip. $3,000. 683-1957.
DINGHY: Mint condition sailing nesting dinghy including trailer, motor, mast, boom, sails, canvas cover. $3,200. 360-379-1616
LUND: 12’ with EZ Loader trailer, 8 hp 4 cycle Honda motor, like new. $2,975. 683-5382 RAYSON CRAFT: ‘66 17’ V drive flat bottom, 326 Pontiac with trailer. $4,700. 457-5921
DIVE BOAT: Inflatable 14’, heavy duty Hypalon, 40 hrs. on Honda 9.9 4 stroke, Transom wheels. $2,950 971-226-0002
RENKEN: ‘80 17’. 90 Merc, new water pump, 2 downriggers, never in salt water. $2,500. 681-3714 SAILBOAT: 22’ Columbia. 9.9 Merc ob. Well maint. $3,400. 206-397-9697
HEWESCRAFT: 14’ with trailer, 9.9 Mercury O/B, low hours, fish finder. $2,000. 360-681-4293
SAILBOAT: ‘73 29’ Ericson. New diesel, new electronics. Roller furling. Health forces sale. Slip Q15. Take as is, $10,000. 760-792-3891
JET SKI: ‘97 Kawasaki SS Waverunner 750. With ‘96 Spirit trailer. $1,500. 670-3256
94
Marine
SAILBOAT: 30’ Sloop fiberglass, head, galley. $10,500. 360-457-0684 SEARAY: 18’ 120 hp 220 Chev 4 cyl., Mercruiser O/B, new water pump, needs engine work, EZ Load trailer in great condition. $600/obo. 206-794-1104 TROPHY: ‘87 20’. In great shape. New electronics and custom canvas. Many extras, including fishing reels and rods, and crab pots. Asking $8,000. 457-4384
94
Motorcycles
HARLEY DAVIDSON 1995 Fat Boy. All custom, new tires, chrome with a Jim’s Drag motor with blower. Must sell. $14,000/obo 452-2275 HARLEY: ‘02 Low Rider. Loaded, 15K mi. $10,000 firm. 460-4950
Motorcycles
ATV: ‘07 Eton 150. 2WD, Viper, as new. $2,200. 683-6203.
1A5136085
452-0755 775-6473
+e W We
360-670-1350 360-670-1350 Lic#BOBDADT966K5
Pressure Washing Roof & Gutter Cleaning Moss Prevention
Call Bryan or Mindy
93313234
76289935
#LUNDFF*962K7
w will ill m meet e e t oorr bbeat eat m most o s t eestimates stimates
461-4609
360 Lic#buenavs90818
HANDYMAN
JP
Maintenance Detail • Repair Diagnostics Propane • Tires Complimentary Wash & Vacuum
Free initial Check Engine Light Inspection! Free Estimates! 294752 Hwy 101 Quilcene
360-765-3146
LAWN CARE
EXCAVATING/SEPTIC
BAGPIPER
Larry Muckley
(360) 683-7655 (360) 670-9274
CONSTRUCTION, INC.
• Tile • Kitchen & Bath • Custom Woodwork • Water Damage/Rot
)
27 Year Certified Master Service Tech
195133749
Chad Lund
A M D Auto,Inc.
085092331
Small jobs is what I do!
AUTO REPAIR
195134780
WINDOW WASHING
9C5066307
Specializing in bookkeeping solutions for your small business.
LANDSCAPING
LIC#RSSCHSS8950F Bonded/Insured
OUT ON A LIMB
Landscape Services WE CAN HELP 12 years in the PA/Sequim Area
Call NOW To Advertise
360-457-6747 JIMGRP*044PQ
452-3480
#JKDIRKD942NG
360-452-8435 or 1-800-826-7714
• • • •
Fall Planting On-site Garden Coaching Create an Action Plan Garden Cleanup
Call Kristina Today!
(360) 457-8479
GUTTER CLEANING PRESSURE WASHING DEBRIS HAULING • CARPET CLEANING
165122599
(360) 457-8102
JOHN KIMMEL-OWNER
945036615
FREE Estimates
195133545
Mole Control
• Income Tax Preparation • QuickBooks Training & Support • Small Business Start-ups/Consultation • Payroll and Payroll Taxes • Excise Tax Returns (B&O)
Interiors, Exteriors, Drywall Repair Pressure Washing, Sandblasting New and Existing
MOLE/PRUNING
WINDOW CLEANING
Accounting Services, Inc.
Classified
PENINSULA DAILY NEWS
96
Parts/ Accessories
WHEELS: (4) MKW 20”, chrome. All four for $500. 808-2563.
97.
94
Motorcycles. FOOD SLICER Mandolin, stainless steel. $20. 681-7579. FREE: Riding lawn mower. 670-6613.
94
95
Motorcycles
HONDA: ‘86 250 trials bike. Unique, factory street legal. $850. 461-2627.
YAMAHA: ‘08 TW200. 2,300 mi. $3,000. 457-3701.
HONDA: ‘86 Goldwing trike. $5,900. 360-683-9175
YAMAHA: ‘82 Virago. Clean. $1,500. 477-2633. SCOOTER: ‘09 200 cc Kymco. Like new. $2,099 MOTOR HOME: ‘02 Itasca 32V. 31,500 miles, good condition, 2 slide outs, sleeps 6, 2 tvs, queen bed, DVD player, V10 engine, generator and built in A/C. $40,000. Tow car and hitch available. 582-0617.
Recreational Vehicles
CAMPER: ‘99 8’ Lance. Crank jacks, excellent cond. $5,000/ obo. 732-4779. CHAINS: $15. 457-8227
95
Recreational Vehicles
TENT TRAILER: New ‘10 Coleman Yuma. $7,900. 683-2457. TRAILER: ‘94 29’ Terry. $4,900. 681-7381 TRAILER: ‘94 30’ Komfort Travel Trailer. Great shape, living room slide-out, A/C, micro, refrigerator/freezer. $4,000. Brinnon area. 360-535-2078 TRAILER: ‘98 35’ Jayco. Lg. slide, self cont. $10,550 ave. retail. $8,490. 360-775-1316 TRAILER: ‘99 24’ Mallard. New cond. $6,500/obo. 797-3730 TRAILERS: Older 21’ Roadrunner. Completely redone inside. New tires. $3,200. ‘98 28’ Komfort. Excellent shape. Large slide out. New tires. Large Tanks. $7,900. 683-8162.
MOTOR HOME: ‘76 Tioga. Good shape. $2,300. 477-1478.
Winnebago 2010 Era Limited 170X, 24' Class B, Mini Motor Home Fully Equipped. Quiet fuel-efficient Mercedes-Benz turbo diesel engine, 1824 mpg, under 8,000 mi. Private seller. $69,895 Call 360-460-8889
MOTOR HOME: ‘88 29’ Suncrest. 35K, runs good, updated int $4,500. 683-2325
96
MOTOR HOME: ‘75 Newell Coach 35’. Aerodynamic aluminum body, Original, not a conversion, Cat, many featurs, updates. $18,500/obo. 460-6979
MOTOR HOME: ‘91 30’ Allegro Bay. 85K, runs/drives well, new brakes, satellite King Dome, very clean. $12,500. 477-94
Parts/ Accessories. DODGE: ‘05 Dakota Laramie. 30K mi., V8, loaded! $14,900. 452-5402 DODGE: ‘06 1500 Short box. All pwr, excellent shape. $17,500. 683-8162. FORD: ‘02 Explorer XLT. 4WD, exc cond, loaded, V6, tow, CD changer, 3rd seat, more. 122K, books $7,740. Sacrifice $6,900. 457-4363. FORD: ‘05 Expedition. 1 ownr, low mi., exc. cond. $12,000/ obo. 683-9791, 942-9208: ‘88 F-150 super cab. Tow pkg, 5.0 L, canopy, 1 owner. $2,495. 360-374-3259
97
4 Wheel Drive
MONDAY, OCTOBER 10, 2011
98
Pickups/Vans
FORD: ‘74 F250 Camper Special. Body and interior are exc. 390 eng w/auto. $900/obo. 477-1949 FORD: ‘94 F150. $1,000. 452-2615. FORD: ‘95 Aerostar. 170K, 4x4, lots new parts, good cond. $1,300/obo. 457-4347 HONDA: ‘00 Odyssey. Runs great, nice body, forest green, captains chairs. $4,500. 385-2012. TOYOTA: ‘08 Tacoma SR5 ext. cab. 4 cyl, auto, all pwr. CD stereo, 1 owner. 14,680 original miles. $18,000/obo 417-8291
CHRYSLER: ‘03 Town & Country Ltd. DVD, loaded. $6,500. 808-0825 DODGE: ‘05 Caravan. Limited Edition, DVD player, AM/FM radio/ cassette, great shape, 90,500 mi. $7,500/obo. 360-640-9756 DODGE: ‘98 3/4 ton. Short bed, quad cab, w/fiberglass shell, V8, posi rear end, all power, air, leather int., tow pkg, 102K miles, very good cond. $6,000/obo. 683-8810 FORD: ‘32 Truck. ‘350’ Chev engine, needs TLC. $10,000. 360-732-4125 FORD: ‘84 F150 SL. Red and black, long bed, ‘351’ Winsor V8 124K, new tires, well maintained, $1,500/ obo. 360-301-1911., larger ‘454’ engine, tow pkg., 120K. $3,500. 808-3374. CHEV: ‘99 Malibu LS. 1 owner, only 86K miles. Very nice car. $3,465 360-912-3901 DODGE: ‘96 Caravan. Runs and drives super. Well maint. with records, 159K. $2,400. 457-1104. FIAT: ‘72 Model 850 Spyder. $2,000. 681-411965 Fairlane 500 Sport Coupe. ‘289’ 225 hp, auto, bucket seats, real nice car. $6,900. 457-6540
102
102.
98
Pickups/Vans
Legals City of P.A.
Legals City of P.A.
CITY OF PORT ANGELES NOTICE OF PUBLIC HEARING NOTICE IS HEREBY GIVEN that on October 26, 2011, the CITY OF PORT ANGELES PLANNING COMMISSION will conduct a public hearing in consideration of an application to allow a RESPITE use in the RS-7 Residential Single Family zone as a conditional use. The site has been a long standing bed and breakfast use. The application was submitted on September 27, 2011, and was determined to be complete on October 5, 2011. The current proposal is to allow an occupancy that provides a retreat environment for the families of fallen service men and women. The conditional use permit is required because the proposed occupancy (9 to 10 persons with support staff) exceeds that defined by the Port Angeles Municipal Code as a single family occupancy. Support staff is expected and off street parking is provided. Written comment will be taken until October 25, 2011. The public hearing will begin at 6 p.m., City Hall, 321 East Fifth Street, Port Angeles, Washington. Application information may be reviewed at the City Department of Community & Economic Development, City Hall, P.O. Box 1150, Port Angeles. City Hall is accessible to persons with disabilities. Interested parties are invited to attend the meeting APPLICANT: BETSY SCHULTZ LOCATION: 1108 South Oak Street For further information contact: Sue Roberds, (360) 417-4750 Pub: Oct. 10, 2011
99
Cars
FORD: ‘03 Mustang convertible. $10,000/ obo. 808-1598.. MAZDA: ‘06 Miata MX5 Touring. Red, leather, 10K. $14,500/obo. 681-0863
99
C5
Cars
HONDA: ‘89 CRX HF. $2,500. 683-1006.78 Trans Am. Lots new, nice. $4,800/obo. 477-3180 STUDEBAKER: ‘62 Lark Cruiser. 289 Packard V8, body pretty good, but project. Time and money. $1,200/obo. 460-4963. MGB: ‘76 Under 80K, new carb, exhaust, alternator, fuel pump and more. $2,950/ OBRO. 417-2165.
101
Legals Clallam Co.
VW: ‘74 Super Beetle. Show quality. $10,000. 457-7184. VW: ‘75 Super Beetle. Fuel injected, runs well, 30+ mpg, nice paint, good tires, new floor pan, Pioneer stereo, CD player. Price reduced! $2,295/obo. 775-9648
101
Legals Clallam Co.. Pub: Oct. 9, 10, 2011
NOTICE OF INVITATION FOR BIDS SEALED BIDS will be received by the Board of Clallam County Commissioners at 223 East Fourth Street, Room 150, Port Angeles, Washington until 10:00 a.m., Tuesday, October 18, 2011, at which time they will be publicly opened and read aloud for: The construction of approximately 0.07 miles of new road called South 14th Ave. (City of Sequim), including drainage improvements, curb, gutter, sidewalk work, and other related work. Complete plans and specifications may be obtained from the office of the Public Works Department, Courthouse, 223 E. 4th St., Ste. 6, Port Angeles, WA 98362-3015, (360) 417 2319. Questions regarding this project may be directed to Ray Bradford (360) 417-2530 or Joe Donisi at (360) 417-2404. The sealed bids must be clearly marked on the outside of the envelope, "BID PROPOSAL – SOUTH 14TH AVE. (CITY OF SEQUIM) PROJECT 10-SEQUIM10". Address bid proposal to: Board of Clallam County Commissioners, 223 E. 4th St., Ste. 4, Port Angeles, WA 98362-3015 or hand-deliver to 223 E. 4th St., Room 150, Port Angeles, Washington. Bid documents delivered to other offices and received late by the Commissioners' Office will not be considered nor will bids received by facsimile or email. Clallam County will determine the lowest responsible bidder in accordance with the terms of Clallam County Code Section 3.12.080 and reserves the right to reject any and all bids and to waive informalities in the process or to accept the bid which in its estimation best serves the interests of Clallam County. Clallam attached contract plans, these contract provisions and the Standard Specifications for the above-described project are hereby APPROVED THIS 27th DAY OF September, 2011. BOARD OF CLALLAM COUNTY COMMISSIONERS Howard V. Doherty, Jr., Chair ATTEST: Trish Holden, CMC, Clerk of the Board Pub: Sept. 30, Oct. 3, 10, 2011
C6
PeninsulaNorthwest
Monday, October 10, 2011
Peninsula Five-Day Forecast Today
TonighT
Tuesday
Wednesday
Yesterday
Thursday
Friday
High 54
Low 45
56/42
56/42
54/44
57/46
Occasional rain.
Cloudy with rain becoming steadier.
Windy with rain.
A couple of showers possible.
Mostly cloudy.
Clouds and sun with a shower possible.
The Peninsula A cold front pushing toward the Pacific Northwest coast will bring plenty of clouds along with occasional rain and cool air to the Peninsula today. Snow levels across the Olympics will be down around 6,000 feet. Rainfall may be fairly light and periodic Neah Bay Port early tonight, but an upper-air disturbance will bring the 54/48 Townsend possibility for some steadier rain later tonight and Port Angeles 55/48 Tuesday. It will be windy Tuesday as well. Wednesday 54/45 will remain mostly cloudy with a couple of showers Sequim possible.
Victoria 56/50
55/46
Forks 55/47
Olympia 58/49
Seattle 55/49
Forecasts and graphics provided by AccuWeather, Inc. © 2011
Spokane 57/46
Marine Forecast
Periods of rain today. Wind from the east at 8-16 knots. Wave heights 2 feet or less. Visibility less than 3 miles at times. Cloudy tonight with a couple of showers followed by a steadier rain. Wind from the west at 7-14 knots. Wave heights 1-3 feet. Visibility less than 2 miles at times. Rain tomorrow. Wind from the west at 10-20 knots. Wave heights 3-6 feet. Visibility less than 3 miles.
LaPush
11:58 a.m. ----Port Angeles 2:44 a.m. 2:15 p.m. Port Townsend 4:29 a.m. 4:00 p.m. Sequim Bay* 3:50 a.m. 3:21 p.m.
Billings 64/49
San Francisco 69/61
Showers T-storms Rain Flurries Snow Ice
Moon Phases New
Tomorrow
wednesday
Ht
Low Tide
Ht
High Tide Ht
Low Tide Ht
High Tide Ht
Low Tide Ht
8.0’ --5.9’ 6.6’ 7.1’ 7.9’ 6.7’ 7.4’
5:44 a.m. 6:17 p.m. 8:18 a.m. 8:54 p.m. 9:32 a.m. 10:08 p.m. 9:25 a.m. 10:01 p.m.
1.2’ 0.5’ 2.6’ 1.1’ 3.4’ 1.4’ 3.2’ 1.3’
12:26 a.m. 12:28 p.m. 3:31 a.m. 2:30 p.m. 5:16 a.m. 4:15 p.m. 4:37 a.m. 3:36 p.m.
6:22 a.m. 6:56 p.m. 8:55 a.m. 9:19 p.m. 10:09 a.m. 10:33 p.m. 10:02 a.m. 10:26 p.m.’ 8.2’ 6.1’ 6.6’ 7.4’ 7.9’ 7.0’ 7.4’
*To correct for Dungeness Bay subtract 15 minutes for high tide, 21 minutes for low tide.
1.4’ 0.2’ 3.1’ 0.6’ 4.0’ 0.8’ 3.8’ 0.8’
7.4’ 8.2’ 6.4’ 6.6’ 7.7’ 7.9’ 7.2’ 7.4’
Oct 19
Oct 26
1.7’ -0.1’ 3.5’ 0.2’ 4.6’ 0.2’ 4.3’ 0.2’
Chicago 75/56
Denver 68/42
First
Nov 2
City Hi Lo W Athens 63 59 r Baghdad 93 62 s Beijing 65 50 c Brussels 66 53 pc Cairo 97 75 s Calgary 51 39 pc Edmonton 52 39 c Hong Kong 81 79 r Jerusalem 91 65 s Johannesburg 81 51 s Kabul 74 46 sh London 70 55 pc Mexico City 70 51 t Montreal 72 51 s Moscow 50 39 sh New Delhi 97 67 s Paris 71 56 pc Rio de Janeiro 81 72 t Rome 66 54 s Stockholm 53 41 r Sydney 69 55 pc Tokyo 78 65 pc Toronto 76 53 s Vancouver 54 50 r Weather (W): prcp-precipitation, s-sunny, pc-partly cloudy, c-cloudy, sh-showers, r-rain, t-thunderstorms, sf-snow flurries, sn-snow, i-ice.
0s
SEQUIM — Washington State University Master Gardener Rita Dinger will close the 2011 season of the Class Act at Woodcock Garden educational series by demonstrating how to plant a terrarium on Saturday. The talk will be held at the Master Gardeners Demonstration Garden, 2711 Woodcock Road, at 10 a.m. Dinger will discuss the origin of terrariums, how to select a container and what types of plants are appropriate for the environment created in the glass garden. According to Dinger, terrariums provide an alternative to sensitive houseplants because once planted, they require minimum care. “You can plant an indoor garden in a bottle, terrarium, fish bowl, apothecary
jar or cider jug,” Dinger said. This is Dinger’s eighth year as a certified Master Gardener. She was recognized as the 2010 Clallam County Master Gardener of the Year and has provided more than 1,500 hours of volunteer work at the local demonstration gardens, plans clinics and in public education. She is the Sequim Plant Clinic manager, the culinary herb garden manager at the Woodcock garden and has taught numerous classes and written newspaper articles on garlic, herbs, planning sustainable vegetable gardens and crop rotation. The Class Act at Woodcock Garden series is sponsored by the Master Gardeners Foundation of Clallam County. The final Sequim-based
Houston 86/69 Miami 87/77 66 44 59 68 83 82 59 64 59 67 78 77 75 62 75 80 56 65 83 68 77 77 62 38 61 86 86 48
Lo W 46 s 35 s 52 r 57 sh 51 pc 60 pc 40 sh 49 pc 37 r 50 pc 57 s 56 s 67 r 39 s 56 pc 53 s 43 r 54 r 64 pc 42 s 57 c 54 s 50 r 25 pc 45 pc 73 pc 69 pc 37 sh
plant clinic for the 2011 season will be held following the presentation, from 11 a.m. to 3 p.m. Trained Master Garden-
n Deer Park Cinema, Port Angeles (360-4527176)
The daily Things to Do calendar, the North Olympic Peninsula’s most comprehensive listing of public events of all kinds updated daily, appears exclusively online at . . .
“Dolphin Tale” (PG) “Dream House” (PG-13) “50/50” (R) “Moneyball” (PG-13) “Real Steel” (PG-13)
Hi 74 79 81 80 87 71 73 83 83 82 73 73 88 88 83 86 61 78 70 78 82 64 84 73 69 71 60 82
Lo W 58 pc 63 s 62 pc 61 s 77 t 56 pc 57 c 53 s 65 pc 64 s 55 pc 53 c 71 t 67 s 60 pc 65 s 54 r 58 pc 52 pc 57 pc 61 s 50 pc 69 pc 62 s 61 pc 49 c 40 pc 60 pc
National Extremes Yesterday (For the 48 contiguous states)
High: 95 at Edinburg, TX
Low: 13 at Wisdom, MT
ers will be on hand to answer questions about gardening issues. For more information, phone 360-417-2279.
MOUNTAIN VIEW HEARING
BETTER HEARING with a human touch
“What’s Your Number” (R)
n The Rose Theatre, Port Townsend (360385-1089)
“The Hedgehog” (NR) “Moneyball” (PG-13)
n Lincoln Theater, Port
Angeles (360-457-7997) “Drive” (R) “Killer Elite” (R)
Shannon, Robert & Gwen
n Uptown Theatre, Port Townsend (360-3853883) “Dolphin Tale” (PG)
W NE TION A OC
L
MOUNTAIN VIEW HEARING AID CENTERS, INC.
Port Angeles 504 E. 8th St., Suite F Mon-Thurs 9-4
Welcome All Ages • New & Medicare Patients
Sequim
(360) 452-1188
195130876
. . ..
Veteran Master Gardener Rita Dinger will teach about making and caring for terrariums at the Master Gardeners Woodcock Demonstration Garden in Sequim at 10 a.m. Saturday.
Now Showing
Things to Do online
New York 82/64 Washington 82/60
Atlanta 68/57
Master Gardener to teach class on building terrarium Peninsula Daily News
Detroit 77/54
Kansas City 74/58
El Paso 77/55
Sunset today ................... 6:36 p.m. Sunrise tomorrow ............ 7:27 a.m. Moonrise today ................ 5:41 p.m. Moonset today ................. 6:11 a.m. Last
Minneapolis 73/57
Los Angeles 80/61
World Cities Today
Yakima Kennewick 59/43 66/50
Today
Seattle 55/49
Sun & Moon
Oct 11
Everett 59/50
Temperatures are today’s highs and tonight’s lows.
Table Location High Tide
Monday, October 10, 2011
-10s -0s
Shown is today’s weather.
Tide
National Forecast
Statistics are for the 24-hour period ending at 5 p.m. yesterday High Low Prcp YTD P. Angeles 59 48 trace 11.23 Forks 58 44 0.49 87.17 Seattle 60 51 0.12 26.47 Sequim 63 51 0.00 11.47 Hoquiam 60 48 0.23 49.89 Victoria 60 44 0.02 23.11 P. Townsend* 59 47 0.00 12.72 *Data from
Full
Port Ludlow 55/47 Bellingham 57/48
Aberdeen 58/52
Peninsula Daily News
625 N. 5th Ave., Suite 3 Mon-Thurs 9-4
(360) 681-4481
Retirement Perfected Active and Involved Senior Community Gracious Living Call us today to schedule your tour and inquire about our affordable housing program.
Katherine Ottaway, MD
We help you clarify your personal health care priorities. Wellness & screening through all of life's stages.
Quimper Family Medicine
2120 Lawrence St., Por t Townsend • 360-385-3826
1A5133573
125109575
1201 Hancock St, Port Townsend
Rachel Swett
Office Manager
Assisted Living programs available.
Left to Right
1st Place Best Assisted Living Clallam Co
Visit our website and online store
“BRING RETIREMENT
Apartments Now Available
Call Today for a Complimentary Lunch & Tour!
TO
LIFE”
A Village Concepts Retirement Community 1430 Park View Lane Port Angeles, WA 98363
360-452-7222 1-888-548-6609
452-4200
1A701372
Thank you Clallam County for voting us the BEST!
195132193
Influenza (the flu) is a contagious respiratory illness caused by influenza viruses. It can cause mild to severe illness and at time can lead to death. Some people, such as older people, young children and people with certain health conditions, are at high risk for serious flu complications. The best way to prevent the flu is by getting vaccinated each year. Jim’s Pharmacy flu clinics are held Mondays and Wednesdays from 10 am to 2 pm through October 19th while supplies last. No appointment is needed. The cost is $30. We can bill Medicare Part B, DSHS, Uniform Medical, as well as most insurance companies. Unlike in the past, do not wait until later in the season to get your flu shot. BUSINESS OWNERS - Let us come to you! It is important for people who work with the public to get vaccinated. We offer flu shots for your employees at your place of business. Please call (360) 452-4200 to set up a flu shot clinic time.
|
https://issuu.com/peninsuladailynews/docs/slifughdgf20111010j
|
CC-MAIN-2017-43
|
refinedweb
| 23,249
| 64.71
|
).
Hi, Alex,
The code below I wrote failed to compile, can you help me?
I wonder why I can not directly access a.m_x inside setValue?
@B can access it's own members which were inherited from @A, but it can't access private/protected members of other @A objects. Write a getter function for @m_x or add @B::setValue as a friend function of @A.
Hi Alex, in the private section you say
"Private inheritance also ensures the derived class must use the public interface of the base class, ensuring encapsulation is upheld."
But that is not true, right? Because in the example, it clearly shows the derived class not using a public interface and accessing the public and protected variables directly. I know for private variables the derived class must use public access methods but in this case, I assume you are referring to private inheritance which is different.
I agree, that's an error. I've removed the incorrect sentence. Thanks for pointing this out!
I personally just remember the rule: "When inheriting, the "safer" specifier wins and members are set accordingly to the winner."
Hi Alex,
I am confused by the phrase "the public" you're always using in this lesson:
For example:
"The public can only access m_public."
Thank you very much.
Hi Joe!
"the public" is everything outside the class that is not a derived class.
so we cn access public n protected member of class privately in derived class though private inheritance?? right??
Hi Akash!
If I understood your questions, you're right.
The best way to figure it out is by testing it yourself.
"With a protected attribute in a base class, derived classes can access that member directly. This means that if you change anything about that protected attribute (the type, what the value means, etc…), you’ll probably need to change both the base class AND all of the derived classes."
I feel like I've gotten a decent grasp of this article, but this line still confuses me a bit. Protected variables are still inherited, right? So changing the base class would mean all its children would inherit the altered protected variable? Or if you mean changing a parent after a child is already instantiated, meaning the child's attribute wouldn't automatically change, the same holds true for private and public members?
The rest seems understandable to me, but this line makes me doubt whether I understand any of it at all, so I would appreciate salvation from this befuddlement! Thanks!
Yes, I meant if you change the protected variable AFTER the inherited classes have been written. I'll make this clearer.
I'm sorry but I still don't quite understand. What is it about protected variables that makes changes to them not cascade down into child classes? How could an update to the base class not directly change child classes, be the change to protected, public or private member?
Edit: I think I just had An epiphany! Because the children can access the base protected members directly, the protected member is, contrary to its name, vulnerable. Code in the children that targets a protected member still affects it, even if this doesn't make sense with the new changes to said protected member. Do I actually get it now or am I still mistaken?
I think you have it. A protected member is only protected from public interference, not from inherited classes.
So, for example, let's say in your base class you had a member named m_x. If you changed that name to m_y, you'd not only break your base class, you'd break all subclasses that directly accessed that member as well.
Or, if m_x was an double, and you changed it to an int. The subclass might still compile, but even if it does, it may no longer behave appropriately (e.g. doing by integer division instead of floating point division).
Wow, this was one hell of a mind-bending read! Thanks for making things crisp and clear, Alex. Great job 🙂
You're welcome. Thanks for visiting!
Hi, may i ask so
Am I right about this thanks.
Hi Garyy!
You're correct. If you don't have an IDE at hand you can use one of the many online c++ compilers to test your code.
After fixing the errors in your code
Line 3: Missing colon
Line 15: Missing semicolon
@main: Missing return statement
This is the error produced by g++:
Hi, Nascardrjver,
Thanks so much for your reply and point out the errors! I will definitely use online c++ compiler to test next time! thanks!
Alex,
How inheritance affects static var's and member func's? Static in base class should be static in derived class (regardless of inheritance), since it has no relation to *this. Thanks.
Access to static members is inherited just like normal members.
I ran one small program(mentioned below) to understand Public access specifier .Could not understand how derived class can access private variable(x) of base class through public api(print()) of base class.Compilation error comes if try to access private variable directly from derived class but its accessible through another derived api print().
As you mentioned in tutorial, private members are inaccessible to derived class even inherited publicly.
And Derived object has its own independant memory space where both base portion(inherited) and derived portion resides.
then how private variable which was inaccesible came to derived object memory space.Kindly clarify.
Not sure I understand the question. A derived class has a base portion and a derived portion, right? All of the members defined in the base class stay in the base portion, and all of the members defined in the derived class stay in the derived portion. A public base member is accessible from the derived portion of the class (even though it's in the base portion), because it is public. A private base member is also in the base portion, but is not accessible from the derived portion because the access specifier forbids it.
Thank you for the clarification that indeed is detailed in this lesson.
As I see it, if we regard all the members of the base class as being owned by the child class, we are actually possibly creating a new access type of members in the child class.
These are the inaccessibles.
They are not private to the child class, bcz if they were they were accessible from within it (they were indeed private in the parent class).
So a class can have possibly members that are one of the ***four*** following access types:
a. inaccessible
b. private
c. protected
d. public
Did I get it right this time?
If yes, the inaccessible seems to be a new "membership access type concept" I overlooked until now.
Thank you again.
Right. I prefer the more accurate viewpoint that members of the base class as still owned by the base class, and understand that the child is simply a third type of "viewer" (the other two being the public, and the base class itself). From that viewpoint, members of the base class are owned by the base class, and private members are inaccessible to both the public and derived classes, as they are private to the base class that owns them.
Regarding:
"That is, our derived class publicly inherits the base class..."
does this mean:
"That is, our derived class publicly inherits the base class meaning it inherits only public members of the base class..."
If correct, should this not be stated explicitly?
When I say, "publicly inherits", I mean like this:
The derived class inherits all of the members, even the private ones, and those members keep their same access levels. This means the private members of the base class are inaccessible to the derived class, even though they are still inherited.
Hello, Alex.
In the following short program I name a variable in Derived class with the same name as the one in the Base class, and the function inside Derived class favors its own class 's variable. How can I access the Base 's variable inside the Derived class without using some public function in Base?
#include "stdafx.h"
#include "iostream"
class Base
{
private:
int m_private;
protected:
int m_protected;
public:
int m_public;
Base (int pri = 0, int pro = 0, int pub = 0):
m_private(pri), m_protected(pro), m_public(pub) {}
void print()
{
std::cout << m_private << " " << m_protected << " " << m_public << "\n";
}
};
class Derived: public Base
{
private:
int m_private;
public:
int m_public;
Derived (int pri = 1, int pub = 1): m_private(pri), m_public(pub) {}
void print() { std::cout << m_private << " " << m_public << "\n";}
};
int main()
{
Base b;
b.print();
Derived d;
d.print();
b.print();
return 0;
}
It prints out:
0 0 0
1 1
0 0 0
I know it is confusing and I should have avoided that but just for the sake of learning, please explain. Thank you very much.
Inside of a Derived member function, you can use the Base:: prefix to access Base's version of the member variable. This only works for members you have access to (protected and public, not private).
I figured it out on the later lessons. Thank you for your time. Fantastic tutorial.
Hey Alex,
How much overlap is there with C++'s inheritance access specifiers and other C languages?
I'm not familiar enough with other C-style languages to authoritatively say. But best guess is a lot, though they may only support a subset of the functionality that's available in C++, or do things in a slightly different way (using a different syntax or keyword).
So did all the C languages independently say that OOP would be pretty nice in C and created their own implementations or did they all break off from a main group?
My knowledge of the history of OOP isn't good enough to answer this question. You might be able to glean some insights from Wikipedia's History subsection of the OOP page.
Hey Alex, can you answer a simple query of mine.
can you tell what the output will be and how it came so,
[code]
#include <iostream>
using namespace std;
int main()
{
int a=10;
cout << a <<endl << ++a <<endl <<a; // 11 11 12
return 0;
}
[code]
No. Using a variable that has side effects applied more than once in a given statement will lead to undefined results (different answers on different compilers/architectures). Don't do it.
there are confusion in my head about 2 things.
1. can you explain more "So when should I use the protected access specifier?" Section, i don't get it. or give example about it. at paragraph one i confuse, what implementetion? what updates are necessary? what and why it is not take forever? and at paragraph two, what additional work? what update?
2. the last sentence of "Private inheritance" section "the derived class has no visible relationship to the base class" what is visible relationship mean?
Thank you
1) Sure. With a protected attribute in a base class, derived classes can access that member directly. This means that if you change anything about that protected attribute (the type, what the value means, etc...), you'll probably need to change both the base class AND all of the derived classes.
2) A square derived class obviously has a visible (obvious) relationship with a shape base class, since they're conceptually related. If square is publicly inherited from shape, the interface (public functions) of square becomes part of the interface of shape, and both are accessible externally. Now consider a Homework class that holds students names and grades in a map. That Homework class might be implemented using a Map class, but that's just an internal detail. In this case, we probably don't want the interface of the Map class to be accessible through Homework. Inheriting privately accomplishes both this, and ensuring that Homework can only access Map through its public interface, ensuring we don't violate encapsulation (assuming that's important in this context).
I've made a few tweaks to the lesson text to try and make these points clearer. Thanks for the feedback.
Do you have a comment reference to a variable slightly wrong here in the section example for Public Inheritance ? :
Yup, but it's fixed now. Thanks for pointing that out.
Is the effect of the inheritance type applied to member variables only or even to the member functions??
I haven't seen that been mentioned anywhere.
The final line of the lesson has the answer:
"As a final note, although in the examples above, we've only shown examples using member variables, these access rules hold true for all members (e.g. member functions and types declared inside the class)."
In section "Public inheritance", in the code example, in the declaration of "class Pub", you wrote a comment:
"// note: private inheritance".
I think you meant "public inheritance".
Yup, definitely meant public. Stupid copy/paste errors. Thanks for pointing that out.
Hi Alex,
Thanks a lot for this fabulous tutorial!!
The tables really clear things out!!
However, I think there's one more caveat about the inheritance type. Instead of just a easier way of restrict the member access of the class all at once, I think it also influence how public/derived class view the fact of inheritance.
Eg:
This doesn't work because the fact that Derived is derived form Base is hidden from the public (since the inheritance is protected).
This is true, but we haven't talked about polymorphism yet. I'll make sure I mention it in those lesson though.
This lesson was really interesting. Thanks for the good work. There was a typo in this sentence: (Private inheritance, paragraph 2), Note that this does not affect "that" way that the derived class accesses members inherited from its parent! "That" should be "the". Can you give me typical cases where private inheritance would be useful? Thanks.
Typo fixed. Thanks for noticing.
Private inheritance is rarely used, and most of the uses for it are advanced C++. For now, it's good enough just to know it exists.
That's awesome tutorial about C++, big thanks
simple & nicely presented the overall view of inheritance access specifier topic..thanks...
Simply the best compilation for inheritance access specifier...
Name (required)
Website
|
http://www.learncpp.com/cpp-tutorial/115-inheritance-and-access-specifiers/comment-page-2/
|
CC-MAIN-2018-43
|
refinedweb
| 2,392
| 64.3
|
Re: calendar how-to's
Expand Messages
- Hi,
Thanks for your answer.
For 1, I did try to do what you suggested but found that it simply
refused to work, namespace or no namespace (I did work around this in
the end). I'm not selecting all the dates because I don't really need
to do it as the jsp behind just handles all that. Just needed the
visual selection (the example you mention helped me a lot).
For 2, after some more digging through this great group (seriously), I
managed to understand what I was doing wrong with the renderers so I
just started again. I ended up with an if-clause in the calendar
select handler that changes the rendering type depending on the tab
and this works fine. The next step will be extending the calendar
class to handle selection, as it seems to be a somewhat better approach.
Will post here when ready.
Thanks again for your answer,
Cheers,
Laura
--- In ydn-javascript@yahoogroups.com, "Satyen Desai" <sdesai@...> wrote:
>
> Hi,
>
> 1). You should just be able to name your inline anonymous function, and
> use it be name...
>
> YAHOO.ex.cal.cal1.selectEvent.subscribe(function(event, args) {...});
>
> becomes:
>
> YAHOO.ex.cal.cal1.selectHandler = function(event, args) {...});
>
YAHOO.ex.cal.cal1.selectEvent.subscribe(YAHOO.ex.cal.cal1.selectHandler)\
> ;
>
> (shortened names, just for readability. If you're doing all this inside
> a function, you don't really need to namespace everything, unless you
> need global access to it)
>
> NOTE: In your code you're not actually selecting all the dates in the
> week. You're just setting the visual presentation. If you really need
> the dates to be selected, the following example can provide some
> pointers.
>
>\
> l
>
> It was created to show how you can use Calendar's domEventMap to attach
> event listeners to row numbers, to select whole rows, but you can reuse
> the week selection logic in your non-row header use case also.
>
> 2) . The problem here probably stems from the fact that you're not
> really selecting the dates in your code (as mentioned above). So
> methods like deselectAll() don't end up clearing out your cells which
> are just "visually" styled as selected.
>
> > cal1.selectEvent.unsubscribeAll();
>
> You probably don't want to call unsubscribeAll(), since this will remove
> any internal handlers the Calendar maybe using (or may use in the
> future) also. Just unsubscribe the handlers you've added (see the API
> docs for CustomEvent).
>
> Hope that helps,
> Satyen
>
Your message has been successfully submitted and would be delivered to recipients shortly.
|
https://groups.yahoo.com/neo/groups/ydn-javascript/conversations/topics/18989?source=1&var=1&l=1
|
CC-MAIN-2017-22
|
refinedweb
| 429
| 62.88
|
Knn handwritten digits recognition – OpenCV 3.4 with python 3 Tutorial 36
In this video you will find an easy explanation of how the KNN algorythm works for handwritten digits recognition.
We use a sample of 2500 digits (250 of each type 0 to 9) to train the algorythm and we have another small sample to test it and see if the Knn algorythm can accurately read handwritten digits.
Source code:
import cv2 import numpy as np digits = cv2.imread("digits.png", cv2.IMREAD_GRAYSCALE) test_digits = cv2.imread("test_digits.png", cv2.IMREAD_GRAYSCALE) rows = np.vsplit(digits, 50) cells = [] for row in rows: row_cells = np.hsplit(row, 50) for cell in row_cells: cell = cell.flatten() cells.append(cell) cells = np.array(cells, dtype=np.float32) k = np.arange(10) cells_labels = np.repeat(k, 250) test_digits = np.vsplit(test_digits, 50) test_cells = [] for d in test_digits: d = d.flatten() test_cells.append(d) test_cells = np.array(test_cells, dtype=np.float32) # KNN knn = cv2.ml.KNearest_create() knn.train(cells, cv2.ml.ROW_SAMPLE, cells_labels) ret, result, neighbours, dist = knn.findNearest(test_cells, k=3) print(result)
Files:
4 Comments
-
- Adnan February 22, 2019 at 4:43 pm
Hi,
When I execute the code I get the following cv2.error:
error: (-215:Assertion failed) test_samples.type() == CV_32F && test_samples.cols == samples.cols in function ‘cv::ml::BruteForceImpl::findNearest’
What can be the reason?
- Dilpreet Singh July 8, 2019 at 8:16 am
This is because the location of 1 or both of your png files are not correct… Please enter the location carefully…
- gonzalo meza June 23, 2019 at 7:13 am
thanks for the example. Please could you please help me to add real time can we add another set like test_digits.png if we want to and how we can
|
https://pysource.com/2018/08/26/knn-handwritten-digits-recognition-opencv-3-4-with-python-3-tutorial-36/
|
CC-MAIN-2019-35
|
refinedweb
| 292
| 61.02
|
- 0shares
- Facebook0
- Twitter0
- Google+0
- Pinterest0
- LinkedIn0
Encapsulation in Java.
Encapsulation is also a concept of wrapping the code and the data together into a single unit.
Advantages of Encapsulation in Java:
Data encapsulation in Java programming language is useful as it provides control on the data. Through encapsulation real model entities are easy to make. It makes the classes easy to use. The code can be reused because of encapsulation.
Simple example of encapsulation in Java:
Consider the following example of encapsulation:
CODE:
package P {
public class Employee {
private String name;
public String get () {
return name;
}
public void set (String name) {
this. name = name;
}
}
package P {
class Testing {
public static void main (String args []) {
Employee z = new Employee ();
- set (“Stuart”);
system. out. println (z. get ());
}
}
OUTPUT:
Stuart
In the above example we used the concept of encapsulation and used the get () and set () methods to get the string name of the employee and set () method is used to set the value of the string type variable that is name. Then we printed the name that was passed to get () method by using the set () method.
|
http://www.tutorialology.com/java/encapsulation-in-java/
|
CC-MAIN-2017-22
|
refinedweb
| 186
| 52.7
|
On Thu, Jun 14, 2012 at 11:50:35PM +0800, Thomas Goirand wrote: > When using Git, it's quite a common practice to only store the debian > branch on Alioth, then have the master branch stored ... upstream. > See for example: > > How common? I've never seen it done that way before. I also can't see the point: if you've merged from the upstream branch the whole history is there anyway. Tracking the upstream commits via branches is not additionally expensive. I mostly see * cloned upstream repos, master corresponds to upstream, additional debian branch, debian tags 'namespaced' (e.g. debian/ prefix) * as above but master corresponds to debian and 'upstream' used to track upstream's master * tarballs imported via git-import-orig, possibly a pristine-tar branch, master corresponds to debian, 'upstream' is one-commit-per-upstream- tarball -- Jon Dowland
|
https://lists.debian.org/debian-devel/2012/06/msg00540.html
|
CC-MAIN-2015-48
|
refinedweb
| 141
| 53.1
|
Write a program that dynamically allocates an array large enough to hold a user defined number of test scores. Once all the scores are entered, the array should be passed to a function that sorts them in ascending order. Another function should be called that calculates the average score. The program should display the sorted list of scores and averages with appropriate headings. Use pointer notation rather than array notation whenever possible.
Here's what I have so far, I need to still throw in something so that it doesn't allow you to input a negative test score.
#include <iostream> #include <iomanip> using namespace std; void selectionSort(double [], double); void showArray(double []); int main() { double *scores, total = 0.0, average; int numtests, count; cout << "How many tests scores need to be averaged? "; cin >> numtests; scores = new double[numtests]; cout << "\nEnter in the test scores below.\n"; for (count = 0; count < numtests; count++) { cout << "Test score " << (count + 1) << ": "; cin >> scores[count]; } for (count = 0; count < numtests; count++) { total += scores[count]; } average = total / numtests; cout << "The sorted scores are\n"; showArray(scores[count]); cout << fixed << showpoint << setprecision(2); cout << "Average Score: " << average << endl; delete [] scores; scores = 0; cin.ignore(); cin.get(); return 0; } void selectionSort(double array[], double size) { int startScan, minIndex, minValue; for (startScan = 0; startScan < (size - 1); startScan++) { minIndex = startScan; minValue = array[startScan]; for(int index = startScan + 1; index < size; index++) { if (array[index] < minValue) { minValue = array[index]; minIndex = index; } } array[minIndex] = array[startScan]; array[startScan] = minValue; } } void showArray(double array[], double size) { for (int count = 0; count < size; count++) cout << array[count] << " "; cout << endl; }
I'm getting an error on line 41 with an error code of C2664. Now, as a disclaimer, I did Frankenstein some code together from a source code library from my textbook and I'm thinking that I didn't keep track of my indexes and such as well as I should have. Any ideas on where I went wrong?
|
http://www.dreamincode.net/forums/topic/108540-sorting-through-a-dynamically-allocated-array/
|
CC-MAIN-2017-30
|
refinedweb
| 326
| 56.69
|
I don't think I've learned how to access all of an array of structs (that have pointers) through a member function. So, I'm trying to output all of the array's struct pointer to data , but I cant seem to figure out how to make the function call. So, how would I go about fixing this problem? thnx
main.cpp
func.hfunc.hCode:#include <iostream> #include "func.h" using namespace std; int main(int argc, char * argv[]) { int n = atoi(argv[1]); utree * forest = new utree[n]; forest.printArray(); // NOT the right call :/ return 0; }
func.cppfunc.cppCode:struct node { int data; node * parent; node(); node ( int, node * ); }; class utree { public: void printArray(int); int find(int); private: node * root; };
Code:#include "func.h" #include <iostream> using namespace std; /*Construtors*/ node::node(){data = -1; parent = NULL;} node::node(int n, node * link){data = n; parent = link;} void utree::printArray(int n) { for(int i = 0; i < n; i++) { cout << this[i].root->data; } }
|
http://cboard.cprogramming.com/cplusplus-programming/99441-array-structs-problem.html
|
CC-MAIN-2016-07
|
refinedweb
| 166
| 71.34
|
felipunkerito 0 Report post Posted September 22 (edited) Hi guys, I was following along a tutorial and wanted to implement the VOP's I got into VEX but for some reason I cant sort this bug out. This is inside an attribute wrangle after pop collision: vector center, newVect, Cd1; if(1==0){ //@P.y = noise(@P); }else{ for(int i = 0; i<chi("Ripples"); i++){ Cd1 = @Cd; vector PTemp = @P; offset = @Time; freq = ch("Frequency"); ampli = ch("Amplitude"); center = @hitpos; dist = distance(PTemp, center); trig = ampli * sin(dist * freq + offset); if(@Cd=={1,0,0}){ newVect = setcomp(PTemp, trig, 1); fVal = getcomp(@Cd, 0); //@P.y = lerp(@P, newVect, fVal); //@P.y = blend; @P.y = lerp(PTemp, trig, fVal); @P.y*=i; } } } and this is what the attribute VOP created in CVRipplesPro.hipEX: // Code produced by: distance1 dist = distance(P1, hitpos); // Code produced by: input2 input21 = 12.699999999999999; // Code produced by: multiply1 product = dist * input21; // Code produced by: sine1 sine = vop_sin(product); // Code produced by: multiply2 product1 = input2 * sine; // Code produced by: vecsetcompon1 newvec = vop_setcomp(P1, product1, 1); // Code produced by: vecgetcompon1 fval = vop_getcomp(Cd1, 0); // Code produced by: mix1 #ifdef __vex blend = lerp(P1, newvec, fval); #else blend = mix(P1, newvec, fval); #endif // Code produced by: geometryvopoutput1 vector _P = blend; vector _v = vector(); vector _force = vector(); vector _Cd = vector(); vector _N = vector(); { // Code produced by: geometryvopoutput1/P P = _P; } } Edited September 22 by felipunkerito Share this post Link to post Share on other sites
|
http://forums.odforce.net/topic/31415-particle-driven-wave-simulation/?tab=comments
|
CC-MAIN-2017-43
|
refinedweb
| 246
| 55.98
|
To create a Twitter App follow the steps below.
Having access to the Twitter API can help you manage your social media accounts, and allow you to mine social media for data. This can be useful for brand promotion if you represent a business or an organization, and it can be enjoyable and entertaining for individual users and hobbyist programmers.
In this article, we will outline the steps necessary for you to create a Twitter application.
We’ll then build a script in Python that uses the Tweepy library to make use of the Twitter API.
Before you begin, ensure you have the following prerequisites in place:
Let’s go through the process of creating a Twitter application and retrieving your API access keys and tokens. These tokens are what will allow you to authenticate any applications you develop that work with Twitter. As mentioned in the prerequisites, you’ll need a valid phone number in order to create applications using Twitter.
Open up your browser and visit then log in using your Twitter account credentials. Once logged in, click the button labeled Create New App.
You will now be redirected to the application creation page.
On this page, you’ll fill out the required fields.
Note: The name that you provide for your app must be unique to your particular app. You cannot use the name as shown here since it already exists.
Read the Twitter Developer Agreement. If you agree to continue at this point, click the checkbox next to the line that reads, Yes, I have read and agree to the Twitter Developer Agreement.
Once you click the Create your Twitter application button at the bottom of the page, you’ll receive a confirmation page.
After successfully creating your application, you will be redirected to your application's Detailspage, which provides you with some general information about your app.Step 2 — Modify Your Application’s Permission Level and Generate Your Access Tokens
From the Details page, let’s navigate over to the Permissions page to ensure that we have the appropriate access level to generate our application keys.
By default, your Twitter app should have Read and Write access. If this is not the case, modify your app to ensure that you have Read and Write access. This will allow your application to post on your behalf.
After updating your application’s permissions to allow posting, click the tab labeled Keys and Access Tokens. This will take you to a page that lists your Consumer Key and Consumer Secret, and also will allow you to generate your Access Token and Access Token Secret. These are necessary to authenticate our client application with Twitter.
Click the button labeled Create my access token under the Access Token heading to generate your Access Token and Access Token Secret.
Now you will now have an Access Token and an Access Token Secret.
On the page you’re redirected to, you'll also see the application’s Access Level, your username as the Owner, and your Owner ID.Step 3 — Install Tweepy
You can use a variety of programming languages and associated packages to make use of the Twitter API. To test that our Twitter app set-up was successful, we’ll be using Python and the Tweepy package to run a script that outputs a string to our Twitter account.
Tweepy is an open-source and easy-to-use library that allows your Python programming projects to access the Twitter API.
In this step, we’ll use pip to install Tweepy.
Make sure you’re in your Python 3 programming environment and create a new directory or change directories as desired to keep your programming files organized. For our example, we’ll use the directory twitter.
Before installing Tweepy, let’s first ensure that pip is up-to-date:
pip install --upgrade pip
Once any updates are completed, we can go on to install Tweepy with pip:
pip install tweepy
With Tweepy installed, we can go on to creating our Python Twitter program.Step 4 — Create a Python Application that Interacts with Twitter
After successfully creating your Twitter application and generating the necessary keys and tokens, you are now ready to create your client application for posting to your timeline.
Create a new Python program file called
helloworld.py with your favorite text editor. We’ll be using nano as an example:
Create a new Python program file called
helloworld.py with your favorite text editor. We’ll be using nano as an example:
(my_env) [email protected]:~twittert$ nano helloworld.py
Now, let’s construct our Python script. First, we’ll need to import the Tweepy library with an import statement:
helloworld.py
import tweepy
Next, we’ll be making variables for each key, secret, and token that we generated. Replace the items in single quotes with your unique strings from the Twitter apps website (and keep the single quotes).
helloworld.py
import tweepy consumer_key = 'your_consumer_key' consumer_secret = 'your_consumer_secret' access_token = 'your_access_token' access_token_secret = 'your_access_token_secret'
We’ll next be creating an OAuthHandler instance into which we’ll pass our consumer token and secret. OAuth — which works over HTTP and authorizes devices, APIs, servers, and applications — is a standard that provides secure and delegated access. We’ll also be setting the access tokens and integrating with the API.
helloworld.py
import tweepy
consumer_key = 'your_consumer_key'
consumer_secret = 'your_consumer_secret'
access_token = 'your_access_token'
access_token_secret = 'your_access_token_secret'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api = tweepy.API(auth)
Finally, at the bottom of our program, let’s have Tweepy update our status. We’ll create a variable called
tweet and pass this variable to the
api.update_status() method. In the method we’ll pass
status=tweet.
helloworld.py
import tweepy Create variables for each key, secret, token
consumer_key = 'your_consumer_key'Set up OAuth and integrate with API
consumer_secret = 'your_consumer_secret'
access_token = 'your_access_token'
access_token_secret = 'your_access_token_secret'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret)Write a tweet to push to our Twitter account
api = tweepy.API(auth)
tweet = 'Hello, world!'
api.update_status(status=tweet)
We can now save the file and run the script:
python helloworld.py
Once you run the program, check your Twitter account.
The status is posted to your account’s timeline and you have successfully configured your Twitter application and authenticated using Tweepy!Conclusion
By following this tutorial, you were able to set up a Twitter application tied to your Twitter username. Once setting up the application and collecting our Consumer Key and Consumer Secret, and generating our Access Token and Access Token Secret, we authenticated a Python 3 application to use it through the open-source Tweepy library.
If you’re not a Python developer, there are many other programming languages and libraries that you can use to make use of the Twitter API. The Twitter Developers website maintains a list of libraries that support the current Twitter API.
Hope to help you ! Originally published on
We
|
https://morioh.com/p/2403e55af3dd
|
CC-MAIN-2020-05
|
refinedweb
| 1,149
| 55.13
|
25 August 2010
By clicking Submit, you accept the Adobe Terms of Use.
A SWC file is an archive file, sometimes also referred to as a class library, for Adobe Flex components and other assets. SWC files contain a SWF file and a catalog.xml file, in addition to properties files and other uncompiled assets, such as CSS files. the contents of the component package and its individual components.
In most cases, the symbols defined in the SWF file that are referenced by the application are embedded in the Flex application at compile-time. This is known as static linking. The application compiler includes only those classes that are used by your application, and dependent classes, in the final SWF file.
You can also dynamically link the contents of SWC files. Dynamic linking is when the entire SWF file is loaded at runtime. To achieve dynamic linking of the SWF file, you must use the SWC file as a Runtime Shared Library (RSL). For more information, see Using Runtime Shared Libraries in the Flex documentation. is hidden from casual view. Also, compiling a component as a SWC file can facilitate namespace allocation.
When you distribute your components to other developers, you can include the following instructions so that they can install and use them immediately.
To import a SWC file, follow these steps:
The component's icon will appear in the Components panel.
To use SWC files in your Flex projects, you have to add them to the project's library path. The SWC files can be located in the project, a Flex library project, runtime.
For more information about working with SWC files, read the section titled Using your Flash project in Flex in Combining animation and ActionScript using Flash Professional CS5 and Flash Builder 4.
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License
|
http://www.adobe.com/devnet/flash/articles/concept_swc.html
|
CC-MAIN-2014-42
|
refinedweb
| 313
| 56.66
|
Learn Android Studio 3
Learn Android Studio 3 is out. You can get it in print or electronic download from the Apress website or from Amazon.
What’s inside
It’s a beginner’s book, it’s for you if you are;
- new to Android programming
- new to Android Studio
- If you’re also new to Java, I’ve included a really really short introduction to the Java language (it’s in the Appendix). The book doesn’t assume you’re a Java expert, but it would be great if you’ve done some Java programming before.
The following sections shows some highlights of what you can learn from the book.
What makes up an application
An Android app isn’t the same as a monolithic desktop app with a single executable file. You’ll learn tthe
public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // (1) // your code here } }
(1) Android prefers to use XML to define the UI. This statement is glue-ing the Activity class to a UI layout defined in XML. This relationship and other concepts such as “inflating” are explained in the book
Intents and Event handling
Android apps are made up of loosely coupled “components”. They’re not just a bunch of objects you can activate by instantation. Android has a mechanism for component activation; and Intents are smacked right in the middle of it. This component activation is deeply ingrained in Android’s architecture. You’ll work with detailed project demos touching on this topic); } }
Implicit Intents
Intents aren’t good only for activating other Activities. There are also implicit Intents. This is one of the gems of the Android platform, implicit intents lets your code use other people’s codes. In the book, you’ll work wih project demos that use implicit Intents.
switch(v.getId()) { case R.id.btnwebaddress: uri = Uri.parse(""); intent = new Intent(Intent.ACTION_VIEW,uri); startActivity(intent); break; case R.id.btnmap: uri = Uri.parse("geo:40.7113399,-74.0263469"); intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); break; case R.id.btnphonenumber: uri = Uri.parse("tel:639285083333"); intent = new Intent(Intent.ACTION_DIAL, uri); startActivity(intent); break; default: Log.i(getClass().getName(), "Cannot resolve button click"); }
Using the AppBar
Learn how to add menus to your application, and also how to handle the events
@Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.main_menu, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { switch(item.getItemId()){ case R.id.menuFile: showMessage("File"); break; case R.id.menuEdit: showMessage("Edit"); break; case R.id.menuHelp: showMessage("Help"); break; case R.id.menuExit: showMessage("Exit"); break; default: showMessage("Default"); } return true; }
Run in the background
By the default all codes run on the UI thread (main thread). There will be times when you need to run some codes in the background thread.
import android.os.AsyncTask; public class Worker extends AsyncTask<TextView, String, Boolean> { // (1) @Override protected Boolean doInBackground(TextView... textViews) { ... } // (2) @Override protected void onProgressUpdate(String... values) { ... } // (3) }
(1) The AsyncTask is parameterized, it’s a generic type so we need to pass arguments to it. These parameters are <Params,Progress, Result>
(2) This is the only method we are obliged to override. Inside this is where we should put the program logic which may take some time to complete
(3) Use this method to communicate progress to the user_2<<
You can get it from the Apress website or from Amazon. Don’t forget to leave a review. Thanks!
|
http://tedhagos.com/posts/learn-android-studio3/
|
CC-MAIN-2020-29
|
refinedweb
| 593
| 50.43
|
Results 1 to 3 of 3
iPhoto Import Issue - Unreadable Files
- Member Since
- Aug 28, 2008
- 1
I am new to Mac. Recently purchased MacBook Pro and imported all of my old photos into iPhoto. After importing, I received the following message:
"50 photos have been found in the iPhoto Library that were not imported."
It then asks me if I would like to import them. The first time this happened, I said yes, and then it listed all of the files and said they were unreadable. The next time I opened iPhoto, I got the same message. This time I said no. I then got the following message:
"The photos have been placed in the folder /Users/username/Pictures/iPhoto Library Recovered Photos."
I cannot seem to delete these unreadable files. Each time I open iPhoto I get the same message. If I continue to answer NO, I get the same message about being placed in Recovered Photos_1,2,3...etc. It keeps adding a new sequential recovered photos file.
Can anyone tell me how to delete these files out of the library so I don't get this same question each time I open iPhoto?
Thanks a bunch for your expertise.
- Member Since
- Dec 02, 2008
- 1
I have the EXACT same issue, even the number of unreadable files is the same, 50.
very annoying to go through this every time i open iphoto.
i had some duplicate files of all my images in other folders - i did not want to do this, but i deleted all of them. still no help, i get the unreadable 50 every time.
any help with this would be much appreciated.
next step would be to backup and delete every photo on my imac, which would be a major pain to do with some 3000+ images.
thanks
update - further googling found a thread on MacRumors forums with a post by Rontheancient with a fix that worked like a charm for me.
I have the exact same problem and just found a solution:
Go to the Pictures folder in your home folder.
Right-click (or Control-Click) "iPhoto Library" and choose "Show Package Contents".
Move whatever is inside the "Import" folder to another place on your Mac, probably your desktop for easy access.
These photos (assuming you want to keep them), are locked and you will need to unlock them via Get Info. Then if you want them in your library, reimport them in. If you dont want them, just Secure Empty Trash it.
Good Luck.
iPhoto error Message Everytime I open! - Mac Forums
thanks very much rontheancient
- Member Since
- Nov 19, 2006
- Location
- York, UK
- 1,263
- Specs:
- iMac: 24" Aluminium, 2.8 GHz, 4Gb RAM. iPad2, iPad mini2, iPhone5s
Whenever I get this, and when I know that the photo is readable by other software, I load the photos into a photo edit program outside of iPhoto and fool the program into thinking you have changed it - by rotating 360 degrees for example - then save it. Invariably, iPhoto will then import it without a problem.Experience teaches you to recognise a mistake when you make it again.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
Managing Files on Camera After iPhoto ImportBy Bytorok in forum Images, Graphic Design, and Digital PhotographyReplies: 5Last Post: 04-21-2013, 02:30 PM
iPhoto unreadable filesBy Gildete Lima in forum Images, Graphic Design, and Digital PhotographyReplies: 2Last Post: 02-25-2013, 06:46 PM
import issue: only showing imovie 08:last import ... unable to locate previous importBy DAIDAI in forum Movies and VideoReplies: 0Last Post: 12-25-2008, 02:03 PM
iPhoto - Automatically name files on importBy cheetahastra in forum Switcher HangoutReplies: 0Last Post: 10-22-2007, 09:14 PM
iPhoto: Unreadable FilesBy Rizzo in forum OS X - Apps and GamesReplies: 1Last Post: 03-01-2007, 07:55 PM
|
http://www.mac-forums.com/os-x-apps-and-games/121512-iphoto-import-issue-unreadable-files.html?s=1adcd47ca91cbbf6820b89b9615cc2b4
|
CC-MAIN-2016-22
|
refinedweb
| 657
| 70.63
|
How do u use that effectivley? plz explain
Ok. Im new to C++. I have finished one book. Cant find good intermidiate book but htats not the problem. I need a step by step good WindowsAPI guide/book/tutorial for C++ andf it has to be free. Ive...
I want to be able to store a string, integer, etc... without having to do something like this to find a certain spot and then read from that spot.
...
char c;
string s;
ifstream...
thx. I post any more problems i have hear
anyone know
How can i compare a string to a character
like this:
if (stringa==charb)
{...}
There will be a few more files as well but i havent started them
Instructions. i havent put any instructions in yet though
This is default map
Instruct.h
This is a realy dum question but why are my Strings and stuff not being used in my intro.h and other classes? It says theres a parce error but i don't see it.
#include <IOSTREAM>
#include...
PLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ.
Send me the source code when your done to ryan_p_w@sbcglobal.net
Im trying to learn to make games but i need to right now learn how to use basic...
I can't find a good winapi tutorial can someone post one?
I've just started programming as well and am trying to learn to mak games to. If Sams teach yourself in 24 days doesn't have compiler then get Sams .... 24 hours instead. it comes with compiler that...
|
https://cboard.cprogramming.com/search.php?s=a0e8432b7bdce1f4ca378f64012af91b&searchid=5966492
|
CC-MAIN-2020-40
|
refinedweb
| 255
| 86.1
|
Last Updated on
The autoregression integrated moving average model or ARIMA model can seem intimidating to beginners.
A good way to pull back the curtain in the method is to to use a trained model to make predictions manually. This demonstrates that ARIMA is a linear regression model at its core.
Making manual predictions with a fit ARIMA models may also be a requirement in your project, meaning that you can save the coefficients from the fit model and use them as configuration in your own code to make predictions without the need for heavy Python libraries in a production environment.
In this tutorial, you will discover how to make manual predictions with a trained ARIMA model in Python.
Specifically, you will learn:
- How to make manual predictions with an autoregressive model.
- How to make manual predictions with a moving average model.
- How to make predictions with an autoregression integrated moving average model.
Discover how to prepare and visualize time series data and develop autoregressive forecasting models in my new book, with 28 step-by-step tutorials, and full python code.
Let’s dive in.
- Updated Apr/2019: Updated the link to dataset.
- Updated Aug/2019: Updated data loading to use new API.
How to Make Manual Predictions for ARIMA Models with Python
Photo by Bernard Spragg. NZ, some rights reserved. into your current working directory with the filename “daily-minimum-temperatures.csv“.
The example below demonstrates how to load the dataset as a Pandas Series and graph the loaded dataset.
Running the example creates a line plot of the time series.
Minimum Daily Temperatures Dataset Plot
Stop learning Time Series Forecasting the slow way!
Take my free 7-day email course and discover how to get started (with sample code).
Click to sign-up and also get a free PDF Ebook version of the course.
Start Your FREE Mini-Course Now!
ARIMA Test Setup
We will use a consistent test harness to fit ARIMA models and evaluate their predictions.
First, the loaded dataset is split into a train and test dataset. The majority of the dataset is used to fit the model and the last 7 observations (one week) are held back as the test dataset to evaluate the fit model.
A walk-forward validation, or rolling forecast, method is used as follows:
- Each time step in the test dataset is iterated.
- Within each iteration, a new ARIMA model is trained on all available historical data.
- The model is used to make a prediction for the next day.
- The prediction is stored and the “real” observation is retrieved from the test set and added to the history for use in the next iteration.
- The performance of the model is summarized at the end by calculating the root mean squared error (RMSE) of all predictions made compared to expected values in the test dataset.
Simple AR, MA, ARMA and ARMA models are developed. They are unoptimized and are used for demonstration purposes. You will surely be able to achieve better performance with a little tuning.
The ARIMA implementation from the statsmodels Python library is used and AR and MA coefficients are extracted from the ARIMAResults object returned from fitting the model.
The ARIMA model supports forecasts via the predict() and the forecast() functions.
Nevertheless, we will make manual predictions in this tutorial using the learned coefficients.
This is useful as it demonstrates that all that is required from a trained ARIMA model is the coefficients.
The coefficients in the statsmodels implementation of the ARIMA model do not use intercept terms. This means we can calculate the output values by taking the dot product of the learned coefficients and lag values (in the case of an AR model) and lag residuals (in the case of an MA model). For example:
The coefficients of a learned ARIMA model can be accessed from aARIMAResults object as follows:
- AR Coefficients: model_fit.arparams
- MA Coefficients: model_fit.maparams
We can use these retrieved coefficients to make predictions using the following manual predict() function.
For reference, you may find the following resources useful:
Let’s look at some simple but specific models and how to make manual predictions with this test setup.
Autoregression Model
The autoregression model, or AR, is a linear regression model on the lag observations.
An AR model with a lag of k can be specified in the ARIMA model as follows:
In this example, we will use a simple AR(1) for demonstration purposes.
Making a prediction requires that we retrieve the AR coefficients from the fit model and use them with the lag of observed values and call the custom predict() function defined above.
The complete example is listed below.
Note that the ARIMA implementation will automatically model a trend in the time series. This adds a constant to the regression equation that we do not need for demonstration purposes. We turn this convenience off by setting the ‘trend’ argument in the fit() function to the value ‘nc‘ for ‘no constant‘.
The fit() function also outputs a lot of verbose messages that we can turn off by setting the ‘disp‘ argument to ‘False‘.
Running the example prints the prediction and expected value each iteration for 7 days. The final RMSE is printed showing an average error of about 1.9 degrees Celsius for this simple model.
Experiment with AR models with different orders, such as 2 or more.
Moving Average Model
The moving average model, or MA, is a linear regression model of the lag residual errors.
An MA model with a lag of k can be specified in the ARIMA model as follows:
In this example, we will use a simple MA(1) for demonstration purposes.
Much like above, making a prediction requires that we retrieve the MA coefficients from the fit model and use them with the lag of residual error values and call the custom predict() function defined above.
The residual errors during training are stored in the ARIMA model under the ‘resid‘ parameter of the ARIMAResults object.
The complete example is listed below.
Running the example prints the predictions and expected values each iteration for 7 days and ends by summarizing the RMSE of all predictions.
The skill of the model is not great and you can use this as an opportunity to explore MA models with other orders and use them to make manual predictions.
You can see how it would be straightforward to keep track of the residual errors manually outside of the ARIMAResults object as new observations are made available. For example:
Next, let’s put the AR and MA models together and see how we can perform manual predictions.
Autoregression Moving Average Model
We have now seen how we can make manual predictions for a fit AR and MA model.
These approaches can be put directly together to make manual predictions for a fuller ARMA model.
In this example, we will fit an ARMA(1,1) model that can be configured in an ARIMA model as ARIMA(1,0,1) with no differencing.
The complete example is listed below.
You can see that the prediction (yhat) is the sum of the dot product of the AR coefficients and lag observations and the MA coefficients and lag residual errors.
Again, running the example prints the predictions and expected values each iteration and the summary RMSE for all predictions made.
We can now add differencing and show how to make predictions for a complete ARIMA model.
Autoregression Integrated Moving Average Model
The I in ARIMA stands for integrated and refers to the differencing performed on the time series observations before predictions are made in the linear regression model.
When making manual predictions, we must perform this differencing of the dataset prior to calling the predict() function. Below is a function that implements differencing of the entire dataset.
A simplification would be to keep track of the observation at the oldest required lag value and use that to calculate the differenced series prior to prediction as needed.
This difference function can be called once for each difference required of the ARIMA model.
In this example, we will use a difference level of 1, and combine it with the ARMA example in the previous section to give us an ARIMA(1,1,1) model.
The complete example is listed below.
You can see that the lag observations are differenced prior to their use in the call to the predict() function with the AR coefficients. The residual errors will also be calculated with regard to these differenced input values.
Running the example prints the prediction and expected value each iteration and summarizes the performance of all predictions made.
Summary
In this tutorial, you discovered how to make manual predictions for an ARIMA model with Python.
Specifically, you learned:
- How to make manual predictions for an AR model.
- How to make manual predictions for an MA model.
- How to make manual predictions for an ARMA and ARIMA model.
Do you have any questions about making manual predictions?
Ask your questions in the comments below and I will do my best to answer.
Hi Jason,
Thanks for this tutorial.
Now the error occure as follow, Please advise me about it.
I think also that the code do not have an error.
—> 23 model_fit = model.fit(trend=’nc’, disp=False)
ValueError: could not convert string to float: ?0.2
thanks
Open the downloaded data file and delete all instances of the “?” character.
It worked fine.
I did not think that it was caused by converting the file to CSV.
Thank you, Jason.
Glad to hear it!
Hi Jason
Really appreciate for this article, I’ve got one question: in this example, why do we use an iterative way to determine the ARIMA parameters, can we fix the model parameters before the loop in test dataset and then doing the validation process?
Thanks a lot for some more insights on it.
I’m not sure what you mean by iterative? Can you please elaborate?
Thanks for the feedback, Jason, what I meant before is:
…
for t in range(len(test)):
model = ARIMA(history, order=(1,1,1))
…
we see that in each loop, we train the model again and get a new set of parameters. Why not train the model just based on the training set and all parameters in the model is fixed, then loop for all test set and validate the error for each of them.
Thanks again for your reply.
You can, but if we have new data (e.g. it is the next month and a new observation is available) then we should use it.
That is what we are simulating here. It is called walk forward validation:
Thanks a lot Jason.
Nice example from that link. I find that there’re plenty of quite useful and interesting information from your posts, I will go through others and post questions (if I have).
Again, thanks for the work, great job. 🙂
Thanks Luca!
Let’s say I have two data points in a week recorded over several years, for example data from Monday and Friday. Would this affect the model? Would this be relevant for the difference function?
It may, it depends on the problem.
I have several ARIMA tutorials read on this site. Some use the difference function some not- like the parameter tunings. When do I need the difference function.
When you have a trend, please read this:
Hi Jason
Since the dataset seems to have strong seasonality, in this case, do we need to first decompose the data by removing the seasonality factor, and then, applying models such as ARIMA?
Thanks
It would be a good idea to seasonally adjust the dataset first:
Hi Jason,
Thanks for all the ARIMA tutorials! I’m preparing to analyze some gait data from a biomechanics lab I worked in last summer and they’re helping me to get to hang of the model.
Consider a neural net model?
Hi Jason,
Imagine a scenario where we are using the fitted ARIMA model i.e. the coefficients on a new dataset (out of sample). Calculating the AR part is easy. Use the previous data of length ‘p’ (history). Whereas for the MA part, one needs the residuals for past ‘q’ values. Without fitting for the new data seen, how are the the residuals calculated for the new data. Do we use the residuals found in the training data? This is useful for for ARIMA models with q>0 (i.e. having MA coefficients).
Good question. The ARIMA model will make these available in “model_fit.resid” I believe.
thanks for post, it is helpful.
But I have question, why the history data need to append test data for each loop:
model = ARIMA(history, order=(1,0,0))
obs = test[t]
history.append(obs)
If I do’t know the test data value, for example just predict 6 month or 1 years days(365 days range) value, how to use the model to predict. Just like machine learning, used the train set to train model, and predict new data.
Because we are evaluating the model using walk-forward validation:
Hey Jason,
Thanks a lot for these ARIMA posts, I know close to nothing about time series and I’m learning this stuff to work on a project to find a cross-correlation matrix. I need to pre-whiten the data and I used your tutorial to fit a model to one of my series. Next I have to apply this model (filter) to another series and I was wondering if you could elaborate on how to do that using predict. I’ve been scouring the internet for some material, and I don’t know what exactly the contents and format of the ‘params’ field is supposed to be.
Thanks a lot!
This might be a good place to start with time series:
I don’t have material on how to whiten a time series, sorry.
Bonjour, est-il possible d’intégrer d’autres variables dans le modèle ARIMA pour faire de la prédiction ?
Je n etrouve pas de réponses concernant cette question.
Yes, it is called exogenous variables.
Sorry, I don’t have an example.
Hi! How can I predct for example 20 reading forward?
mod =ARIMA(X, order=(self.p, self.d, self.q)
res = mod.fit()
res.forecast(20)
Perhaps this post will help:
Hello Jason,
Here in example you said 3650 observations and have taken last 7 days for test set.. I am lil confused about my data set. I have weekly data of 7 weather parameters for 30 years. How can I select the training and test set?
Perhaps use a little trial and error and see how much history is required to fit a skilful model with your specific data.
This post might give you ideas:
I tried both your method to manually predict the series (which I think correct) and statsmodels’ .predict(). Do you have an explanation on why there are not exactly same? statsmodels is not that clear about how they perform predictions. Thanks!
The predict() and the forecast() functions should return the same results.
Learn how to use them here:
I have a question, how do they acf and pacf were obtained here? I have a similar dataset with almost 1100 observations, and based on my acf and pacf, I have a significant lag from 1 to 27 for the acf. I want to know also if there is a limitation for the ARIMA model when we have those high values. Thanks
I used the statsmodels plot functions.
hi,I think there is a big error in the ARIMA model about the difference.
When we use AIRMA(p,d,q), if d not equal to 0, the model has done the difference step.
So the predict result data also has been diffenenced, so we need to restore the data.
But the restored result (no difference) is wrong. The predict error is very big.
In your many ARIMA examples, such as ARIMA(5,1,0), the d = 1, but I didn’t find the restored difference.
If the ARIMA(5,0,0), it doesn’t need to restore the difference.
The difference I mean the parameter d in the ARIMA(p,d,q).
I think maybe the python model ARIMA has little error.
The model will invert the difference (if needed) when a prediction is made.
Hi, Jason, I have a question about the train and validation.
In the four examples, you split the data into train and test part. But in your prediction, you also add the data in test to the history. Is it OK to do in this way? According to my understanding, it is not right to use the data in test set.
Another question is about the prediction. According to the document (), we can predict the future in many steps (not only 1). Why you do not use the steps directly?
Yes, this is called walk forward validation, more here:
I saw the link. It is detailed. I also checked other web pages. It seems that “walk forward validation ” is uncommon in machine learning. If we want to compare the result with other methods. What we should do?
If we use other complex methods and use “walk forward validation”, it will wast a lot of time to train the model.
Thanks.
It is common in time series forecasting problems.
Other methods should use the approach, and if they do not, such as using cross validation, their results are almost certainly invalid.
How can I calculate training error for time series?
Typically we use mean squared error (MSE) or root mean squared error (RMSE).
This is great, thank you! I’ve been looking for a way to manually calculate prediction from parameters because I need to save parameters for forecasting in another context. And I just couldn’t find any documentation that convinced me how to do it… so thanks for this!
I’m happy it helped!
Yes we calculate RMSE but how? What will be the actual and predicted values?
You can use sklearn to calculate RMSE.
Calculate MSE, then take the square root:
Hi Jason,
Firstly, thanks for the tutorial. I have a couple of questions in my mind. Firstly, if I do multi-step ahead forecasting and defining AR and MA terms with some number means that the model looks back that amount out of back steps and do the forecast for the future? If I introduce the whole historical time series to the model, how the model uses that whole historical data to do multi-step ahead forecasting? how the coefficients in the AR and MA terms are updated? I would very thankful If I understand them.
Kind Regards,
Gunay
Perhaps this will help:
Hi Jason,
Thank you for the tutorial! I have a question about settting yhat. What would yhat equal in the (0,0,0), (0, 1, 1), (1,1,0), and (0,1,0) cases and, for those cases, what parameters should we use for the predict function?
Thank you,
Emilio
I’m not sure I follow.
yhat is the prediction from the model.
The order (e.g. (0,1,0)) is the configuration of the model.
Does that help?
So say I have a 0,1,0 Arima model. I need to have a constant term to be able to run it. How should I incorporate the constant term into the predict function? For the 0,1,0 case and other cases as well?
Good question, perhaps check the source code for exactly how the statsmodels implementation incorporates the constant.
Or just use the statsmodels model directly:
Thanks for the article. Can I ask then how to use this model to predict future days? This practice shows prediction for current data.
TQ
Yes, I show how here:
Thanks for writing this. I always enjoy your articles.
How would this work for higher order models like ARIMA(4,1,1)?
Same general idea, although it might be easier to resort to the forecast() or predict() functions:
This is my code:
from statsmodels.tsa.arima_model import ARIMA
from sklearn.metrics import mean_squared_error
train= training_set[‘Close’].values.reshape(-1, 1) #reshaping training values
test = test_set.values.reshape(-1, 1)
history = [x for x in train]
predictions = list()
for t in range(len(test)):
model = ARIMA(history, order=(1,2,1))
model_fit = model.fit(trend=’nc’, disp=False)
ar_coef, ma_coef = model_fit.arparams, model_fit.maparams
resid = model_fit.resid
diff = difference(history)
yhat = history[-1] + predict(ar_coef, diff) + predict(ma_coef, resid)
predictions.append(yhat)
obs = test[t]
history.append(obs)
print(‘>predicted=%.3f, expected=%.3f’ % (yhat, obs))
rmse = sqrt(mean_squared_error(test, predictions))
print(‘Test RMSE: %.3f’ % rmse)
Output:
>predicted=3366.015, expected=3370.000
>predicted=3371.046, expected=3390.000
>predicted=3369.670, expected=3370.000
>predicted=3392.017, expected=3377.800
>predicted=3373.568, expected=3460.000
>predicted=3369.171, expected=3460.000
>predicted=3452.457, expected=3400.000
>predicted=3469.630, expected=3458.100
>predicted=3402.823, expected=3490.000
>predicted=3449.645, expected=3490.000
>predicted=3488.853, expected=3442.200
>predicted=3498.426, expected=3468.300
>predicted=3447.526, expected=3489.000
>predicted=3465.161, expected=3510.000
>predicted=3486.675, expected=3485.000
>predicted=3513.211, expected=3498.900
>predicted=3489.170, expected=3500.000
>predicted=3499.777, expected=3580.000
>predicted=3493.101, expected=3495.200
>predicted=3583.419, expected=3545.500
>predicted=3503.000, expected=3720.000
—————————————————————————
ValueError Traceback (most recent call last)
in
8 for t in range(len(test)):
9 model = ARIMA(history, order=(1,2,1))
—> 10 model_fit = model.fit(trend=’nc’, disp=False)
11 ar_coef, ma_coef = model_fit.arparams, model_fit.maparams
12 resid = model_fit.resid
~/anaconda3/lib/python3.7/site-packages/statsmodels/tsa/arima_model.py in fit(self, start_params, trend, method, transparams, solver, maxiter, full_output, disp, callback, start_ar_lags, **kwargs)
1155 arima_fit.mle_retvals = mlefit.mle_retvals
1156 arima_fit.mle_settings = mlefit.mle_settings
-> 1157
1158 return ARIMAResultsWrapper(arima_fit)
1159
~/anaconda3/lib/python3.7/site-packages/statsmodels/tsa/arima_model.py in fit(self, start_params, trend, method, transparams, solver, maxiter, full_output, disp, callback, start_ar_lags, **kwargs)
944 kwargs.setdefault(‘pgtol’, 1e-8)
945 kwargs.setdefault(‘factr’, 1e2)
–> 946 kwargs.setdefault(‘m’, 12)
947 kwargs.setdefault(‘approx_grad’, True)
948 mlefit = super(ARMA, self).fit(start_params, method=solver,
~/anaconda3/lib/python3.7/site-packages/statsmodels/tsa/arima_model.py in _fit_start_params(self, order, method, start_ar_lags)
560 pgtol=1e-7, factr=1e3,
561 bounds=bounds, iprint=-1)
–> 562 start_params = mlefit[0]
563 if self.transparams:
564 start_params = self._transparams(start_params)
~/anaconda3/lib/python3.7/site-packages/statsmodels/tsa/arima_model.py in _fit_start_params_hr(self, order, start_ar_lags)
546 return start_params
547
–> 548 def _fit_start_params(self, order, method, start_ar_lags=None):
549 if method != ‘css-mle’: # use Hannan-Rissanen to get start params
550 start_params = self._fit_start_params_hr(order, start_ar_lags)
ValueError: The computed initial MA coefficients are not invertible
You should induce invertibility, choose a different model order, or you can
pass your own start_params.
Yes, some configurations will result in an unstable model.
|
https://machinelearningmastery.com/make-manual-predictions-arima-models-python/
|
CC-MAIN-2019-47
|
refinedweb
| 3,827
| 57.37
|
We should probably display "until quit" or something similar in the "Expires" column in the cookie list (in the Privacy pref pane), rather than the current date. Yay, one more string for l10n to worry about.
Note to self: useful link
Created attachment 248769 [details] [diff] [review] code changes Subclasses NSDateFormatter to spit out a custom (localised) string for the epoch. Nib change coming soon.
Proposed strings change for the Localizable.strings file in Privacy: "CookieExpiresOnQuit" = "on quit"; I'm not married to that, though, so if anyone has a better suggestion, feel free. cl
Created attachment 248771 [details] nib file with NSDateFormatter removed from table Here's the nib.
Comment on attachment 248769 [details] [diff] [review] code changes Nice patch! This is a much better way to indicate and display the expiration of session cookies. Also, I think you made a smart decision to use a NSDateFormatter subclass to accomplish this, so review+ from me along with the comments below: + These methods are all declared by the NSFormatter parent class so we're not required to explicitly show them to the compiler again, since it is already aware of the return types and arguments. Also, I think declaring private methods as part of a category for a given class is really only useful when the interface and implementation are split up into separate files. In such a case, you'd typically place the private category declarations inside the implementation file, thus hiding those methods from anyone looking at or #importing the header for your class. It is arguable, though, that even in cases where everything is inside the same file, moving methods into a category still adequately isolates them from the public class methods. [anObject isKindOfClass:[NSDate class]] I'd say this is fine here, but should respondsToSelector: be used here? I'm always a little cautious to use this kind of coupling in such a polymorphic language. Nevertheless, subclasses of NSDate (such as NSCalendarDate) will, IIRC, be fine here. No need to change this, it's more of a question I'm curious about myself. What does everyone recommend? Sorry for the criticisms cl :). Excellent work on the patch otherwise. I'll be glad to see this code checked in.
Does this patch have any bearing on bug 335985, or are you just touching things if they're session cookies? I think we also want "On Quit" (caps) or something.
(In reply to comment #6) > Does this patch have any bearing on bug 335985, or are you just touching things > if they're session cookies? It doesn't have any direct bearing on that bug, but thanks for pointing that out. I may be able to fix that once this lands (since a fix for that bug prior to this landing would be broken by this patch). > I think we also want "On Quit" (caps) or something. Sure. Like I said, whatever. :) cl
Comment on attachment 248769 [details] [diff] [review] code changes >+@interface CookieDateFormatter : NSDateFormatter >+{ >+ // custom formatter for cookies list to handle session cookie expiration sanely >+} >+@end Comment just before the @interface, rather than in the member declaration section (thanks for commenting it!) >+ Yeah, overridden methods shouldn't be redeclared. >+- (BOOL)getObjectValue:(id*)anObject forString:(NSString*)string errorDescription:(NSString**)error >+{ >+ return [super getObjectValue:anObject forString:string errorDescription:error]; >+} >+ >+- (NSAttributedString*)attributedStringForObjectValue:(id)anObject withDefaultAttributes:(NSDictionary*)attributes >+{ >+ return [super attributedStringForObjectValue:anObject withDefaultAttributes:attributes]; >+} Remove these entirely, as they don't do anything; that's the beauty of subclassing. Pink has enough on his plate at the moment, so just respin with those changes and target me for sr.
looks ok to me, i was going to make the exact same comments smorgan did.
Created attachment 249027 [details] [diff] [review] review comments addressed
Comment on attachment 249027 [details] [diff] [review] review comments addressed sr=smorgan
Checked in on trunk and MOZILLA_1_8_BRANCH
I just noticed that the localized string key and not the value is showing up in the prefpane. We can't use NSLocalizedString() here; we need to use -[PreferencePaneBase getLocalizedString:] .
s/showing up in the prefpane/showing up in the table/
What if we put the string in the prefPane's own localizable.string? iirc, that's what we're supposed to do (anyway) for prefPane strings.
(In reply to comment #13) > I just noticed that the localized string key and not the value is showing up in > the prefpane. We can't use NSLocalizedString() here; we need to use > -[PreferencePaneBase getLocalizedString:] . Which we can't use, because CookieDateFormatters don't store their parent prefpane as a member variable, and as they aren't a subclass of PreferencePaneBase, they know nothing about the |getLocalizedString:| method. How do we want to solve this? cl
(In reply to comment #15) > What if we put the string in the prefPane's own localizable.string? iirc, > that's what we're supposed to do (anyway) for prefPane strings. > To be clear, it *is* currently in the prefPane's own localizable.strings (per comment 3). According to cl, it will work properly with the current implementation if put in the app's strings. We can certainly do that, but we should discuss whether that's a tenable long-term solution or not..
(In reply to comment #18) >. That's exactly what PreferencePaneBase's -getLocalizedString: does, though.
What CL said is true; I wasn't paying attention and didn't notice that this was in a formatter subclass. I think that since this class could conceivably be used in places other than the preference pane, the string could go in the app's Localizable.strings.
Checked in smorgan's fix.
Hmm, sorry, I missed that there was still conversation about whether this was necessarily what we wanted. I guess we can always change it later if we want to use it somewhere else in the app.
If it works, I'm for it; I'm still obviously not paying very good attention to the patches in this bug.
(In reply to comment #19) > That's exactly what PreferencePaneBase's -getLocalizedString: does, though. Right, which is what we wanted; we just didn't have any way to call it. (In reply to comment #20) > I think that since this class could conceivably be used in places other than > the preference pane, the string could go in the app's Localizable.strings. Right now it's embedded in the privacy pref pane code; if we ever needed it elsewhere we'd have to move the code anyway, so we could move the string at the same time.
Right. My confusion here is my fault. Carry on.
|
https://bugzilla.mozilla.org/show_bug.cgi?id=330534
|
CC-MAIN-2017-34
|
refinedweb
| 1,098
| 62.58
|
Hi, recently I started a course at University in programming.
The chosen language was Java which I have no experience in.
Though I do have some basic knowledge of C++.
One of the most basic programs we are asked to write is the standard
Hello world!
This is quite easily accomplished in both languages.
I decided I would try and extend myself into not only posting to the I/O stream but reading from it.
Though this seems remarkably more difficult in Java then it is in C++. With some googling however I came up with the following code.
import java.io.*; public class GetUserInput { public static void main (String[] args) { System.out.print("Enter your name and press Enter: "); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String name = null; try { name = br.readLine(); } catch (IOException e) { System.out.println("Error!"); System.exit(1); } System.out.println("Hello, " + name); } }
Now to my problem.
One of the programs which I have learned to write in C++ is a program which reads the stream and wraps what is written in Asterisk
, is pulls the size of the input and then adds as many asterisk as needed to surround the word in a frame., is pulls the size of the input and then adds as many asterisk as needed to surround the word in a frame.
// ask for a person's name, and generate a framed greeting #include <iostream> #include <string> int main() { std::cout << "Please enter your first name: "; std::string name; std::cin >> name; // build the message that we intend to write const std::string greeting = "Hello, " + name + "!"; // build the second and fourth lines of the output const std::string spaces(greeting.size(), ' '); const std::string second = "* " + spaces + " *"; // build the first and fifth lines of the output const std::string first(second.size(), '*'); // write it all std::cout << std::endl; std::cout << first << std::endl; std::cout << second << std::endl; std::cout << "* " << greeting << " *" << std::endl; std::cout << second << std::endl; std::cout << first << std::endl; return 0; }
The program would then run like.
So, is there anyway easier way to mirror the function of std::cout and std::cin in java?
And what function is needed to create new strings then get the size of the string and rather than outputting it as an int. Using that size to post asterisks in a box around the outputted text.
Thanks for any help you can give.
|
https://www.javaprogrammingforums.com/whats-wrong-my-code/7723-hello-name-problem.html
|
CC-MAIN-2019-47
|
refinedweb
| 405
| 72.46
|
- NAME
- SYNOPSIS
- DESCRIPTION
- FUNCTIONS
- AUTHOR
NAME
Bio::GFF3::LowLevel - fast, low-level functions for parsing and formatting GFF3
SYNOPSIS
use Bio::GFF3::LowLevel qw/ gff3_parse_feature /; open my $gff3_fh, 'myfile.gff3' or die; while( <$gff3_fh> ) { next if /^#/; my $feat = gff3_parse_feature( $_ ); }
DESCRIPTION found myself writing these functions over and over again, until I finally got fed up enough to just package them up properly.
These functions do no validation, do not reconstruct feature hierarchies, or anything like that. If you want that, use Bio::FeatureIO.
All of the functions in this module are EXPORT_OK, meaning that you can add their name after using this module to make them available in your namespace.
FUNCTIONS
gff3_parse_feature( $line )
Given a string containing a GFF3 feature line (i.e. not a comment), parses it and returns a hashref of its information, of the form:
{ seq_id => 'chr02', source => 'AUGUSTUS', type => 'transcript', start => '23486', end => '48209', score => '0.02', strand => '+', phase => undef, attributes => { ID => [ 'chr02.g3.t1' ], Parent => [ 'chr02.g3' ], }, }
Note that all values are simple scalars, except for
attributes, which is a hashref as returned by "gff3_parse_attributes" below.
Unescaping is performed according to the GFF3 specification.
gff3_parse_attributes( $attr_string )
Given a GFF3 attribute string, parse it and return a hashref of its data, of the form:
{ 'attribute_name' => [ value, value, ... ], ... }
Always returns a hashref. If the passed attribute string is undefined, or ".", the hashref returned will be empty. Attribute values are always arrayrefs, even if they have only one value.
gff3_parse_directive( $line )
Parse a GFF3 directive/metadata line. Returns a hashref as:
{ directive => 'directive-name', value => 'the contents of the directive' }
Or nothing if the line could not be parsed as a GFF3 directive.
In addition,
sequence-region and
genome-build directives are parsed further.
sequence-region hashrefs have additional
seq_id,
start, and
end keys, and
genome-build hashrefs have additional
source and
buildname keys
gff3_format_feature( \%fields )
Given a hashref of feature information in the same format returned by "gff3_parse_feature" above, constructs a correctly-escaped line of GFF3 encoding that information.
The line ends with a single newline character, a UNIX-style line ending, regardless of the local operating system.
gff3_format_attributes( \%attrs )
Given a hashref of GFF3 attributes in the same format returned by "gff3_parse_attributes" above, returns a correctly formatted and escaped GFF3 attribute string (the 9th column of a GFF3 feature line) encoding those attributes.
For convenience, single-valued attributes can have simple scalars as values in the passed hashref. For example, if a feature has only one
ID attribute (as it should), you can pass
{ ID => 'foo' } instead of
{ ID => ['foo'] }}.
gff3_escape( $string )
Given a string, escapes special characters in that string according to the GFF3 specification.
gff3_unescape( $string )
Unescapes a GFF3-escaped string.
AUTHOR
Robert Buels <rmb32@cornell.edu>
This software is copyright (c) 2012 by Robert Buels.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|
https://metacpan.org/pod/Bio::GFF3::LowLevel
|
CC-MAIN-2019-04
|
refinedweb
| 487
| 55.34
|
Searches for an attribute type in the syntaxes, and returns a copy of the normalized attribute types.
#include "slapi-plugin.h" char * slapi_attr_syntax_normalize( const char *s );
This function takes the following parameter:
Attribute type for which you wish to search.
This function returns the copy of the desired normalized attribute, or a normalized copy of what was passed in.
Use this function to search the syntaxes for an attribute type and return its normalized form. If the attribute type is not defined in the schema, this function returns a copy of the type folded to lower case.
You should free the returned string using slapi_ch_free() .
|
http://docs.oracle.com/cd/E19424-01/820-4810/aaidt/index.html
|
CC-MAIN-2016-50
|
refinedweb
| 105
| 70.94
|
Red Hat Bugzilla – Bug 856194
firstboot has to insist the first user is admin when root account is locked
Last modified: 2012-11-01 16:30:48 EDT
Description of problem:
root user is now disabled by default, unless the user provides a password in the installer. But when firstboot creates a new user, the "Admin user" checkbox is unchecked by default. That means you will end up with a system without root access and without sudo access. You can't install new packages or updates, nothing. It's non-trivial to fix the situation (you have to boot to runlevel 1).
Firstboot has to insist that the first user created is an admin user (in the wheel group), if root account is locked.
Flipping the default state of the checkbox (to checked) helps a bit, but it's not the right solution. Firstboot shouldn't allow us to disable this checkbox until at least one admin user is created.
Version-Release number of selected component (if applicable):
firstboot-18.2-2.fc18.x86_64
F18 Alpha RC2
How reproducible:
always
Steps to Reproduce:
1. install Fedora, don't fill in root password
2. create new user in firstboot, leave all defaults (no admin rights)
3. you can't administer your system
Let's discuss whether this is an Alpha blocker. We have a criterion that is broken if you keep all the defaults and just perform the installation:
" The installed system must be able to download and install updates with yum and the default graphical package manager in all release-blocking desktops "
One could argue then it should not be possible to opt out the Admin User, if no root pw is set. It should be grayed out and always selected. IMHO
I might not attend today's blocker bug meeting. My vote is definite +1 NTH, and a mild +1 blocker. The reasoning is that the default choices now lead up to no root and no admin user, rendering the system barely usable. OTOH this flaw is not critical, the worst thing that can happen is that people will re-install again and create an admin user this time. This is Alpha, such issues are a bit expected.
Discussed at 2012-09-12 blocker review meeting. This was rejected as blocker with the general agreement that Alpha testers should be able to recover from such a situation and/or read the instructions on how to avoid it. It was accepted as NTH, however, and a fixed firstboot build will be available soon.
firstboot-18.3-1.fc18 has been submitted as an update for Fedora 18.
I built a live image with the fixed firstboot. Tested that the checkbox is checked by default, and this works: it does give the user admin privs. Setting VERIFIED.
Package firstboot-18.3-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing firstboot-18.3-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
The previous fix was OK for Alpha (and maybe Beta).
Now proposing as F18 final blocker. Firstboot should ensure the checkbox can't be disabled for the first created user account.
Well, it might want to adjust behaviour depending on whether the root account is accessible or not. Though I'm not entirely sure it can know that without a hint from anaconda, I'm uncertain of the mechanics.
firstboot-18.3-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to comment #9)
> Well, it might want to adjust behaviour depending on whether the root
> account is accessible or not. Though I'm not entirely sure it can know that
> without a hint from anaconda, I'm uncertain of the mechanics.
You are right, if root account is enabled we don't have to insist on another admin user.
Because firstboot already runs with admin privileges, it can easily check using "passwd -S root" whether root account is locked or not and adjust its behavior.
Firstboot now uses libuser to check if root is disabled and wheel group is empty. It then forces the new user to be admin.
The fix went to firstboot-18.4-1..4-1 works as expected, except for a minor flaw - if it enforces an admin user, it actually looks like it prohibits you achieving it. The checkbox is disabled, which is fine, but it is unchecked. Which communicates "your user won't be an admin user and you can do nothing about it".
So please, when in the admin enforcing mode, either make the checkbox completely disappear, or disable it AND uncheck it.
Created attachment 615518 [details]
interface flaw
The checkbox is supposed to be checked and disabled:
if self.admin.userIsLocked(root) and len(wheel_members) == 0:
self.is_admin.set_active(True) # this user will be admin by default
self.is_admin.set_sensitive(False) # and user cannot change this
So there must be something weird going on as the set_sensitive call was obviously executed..
I just did a test install with smoke3, netinst, so it got firstboot 18.4 (checked from a console with rpm -q). This seemed to be completely broken. I didn't set a root password during install, but in firstboot, the box was enabled and was not checked. I decided to leave it unchecked and complete firstboot, to see if it was actually selected but showing as unchecked, but no: the user created was not part of the admin group. So it results in a broken system (no root password, no admin user).
That is weird, it behaves differently from what Kamil saw.
Can you please go to single mode and try the following in python?
import libuser
admin = libuser.admin()
wheel = admin.enumerateUsersByGroup("wheel")
root = admin.lookupUserById(0)
print wheel
print admin.userIsLocked(root)
Thanks
(In reply to comment #19)
I repeated F18 Alpha netinst install, so that I got firstboot-18.4-1.fc18.
> print wheel
[]
> print admin.userIsLocked(root)
1
The checkbox is still disabled and unchecked. But the newly created user is in @wheel.
I installed F18 Beta TC1, without setting root password, and the checkbox is enabled and unchecked by default. And I know why. Because the root account is NOT locked, it has an empty password instead. That is bug 859069, but it applies for Live installations as well.
Kamil: I'm pretty sure, on my test, I could not log in as root with an empty password.
(In reply to comment #22)
> Kamil: I'm pretty sure, on my test, I could not log in as root with an empty
Well, passwd -S root told my "password empty" and admin.userIsLocked(root) returned 0.
But with F18 Beta TC2 Live, the root password is locked again, so we're back in comment #15.
Ff you look at comment #17 then that probably means there is a bug in Gtk.. does #20 still apply? Is the new user in @wheel?
Yes, even though the checkbox is disabled and unchecked, the new user is in @wheel.
Today I installed F18 Beta TC2 Live (x86_64) again, and root password is empty! (and therefore comment 21 applies again). I wonder how is that possible. I used a USB stick created by livecd-iso-to-disk.
I just tested from Beta TC3 DVD. I didn't set a root password.
firstboot showed the checkbox greyed out and un-selected, but the user created was actually an admin user (in the 'wheel' group, can sudo). This is with 18.4.
maybe we should push 18.4 at this point, as we've included it in the last few composes without any obvious car crashes, and I can't reproduce the absolute failure case I had in comment #18 any more...
well, it seems now at least kamil and I are in agreement, when the root account is locked, firstboot looks like it's not creating an admin user but actually is. i dunno if we should wait for that to be fixed before pushing or just push now.
I think the unchecked and disabled checkbox is a bug somewhere else. The code in firstboot is clear here (#17).
We should probably test the Gtk itself as they have had UI bugs before during this release.
gtk3-widget-factory shows the checkbox in all the states, including !sensitive && active. It seems to work here.
The UI bug described here is actually a bug in the Adwaita gtk2 theme which I now fixed upstream [1]. Will build an updated package soon.
[1]
Awesome. So I think we should ignore that cosmetic bug and check that both cases work as intended in 18.4: admin user creation is forced when the root account is locked, and not forced when the root account is not locked. If those two scenarios are good we should push 18.4 stable and close this bug. Sound good?
OK, I just tested every variation of this with TC4 desktop: firstboot 18.4 behaves correctly in each case. If root PW is set during install, the checkbox is active and unchecked by default; both leaving it unchecked and checking it produce the expected behaviour. If root PW is unset during install, the checkbox appears greyed out and unchecked, but we now know that's the adwaita bug, and the behaviour is correct (the user is an admin). So I'm pretty confident we can say this bug is fixed, and file a new one on adwaita to track that issue. Setting VERIFIED, will add +1 karma on the update.
Filed for the adwaita bug.).
Proposing as NTH for Beta. I assumed this would have gone stable long ago, but it didn't. We definitely should have this in for Beta. Going back to 18.3, which does not ensure an admin user is created when root account is locked, would suck.
Discussed at 2012-10-31 NTH review meeting: . Accepted as NTH - with the planned change to enforce root PW in all cases this becomes almost a null issue, but it's still possible that might get backed out, and we've been testing 18.4/18.5 for so long it's probably safer to take it than 18.3 at this point.
Adam, 18.5 already reached the point where I was able to propose it for stable. It should get there any time now.
Update went stable, closing.
|
https://bugzilla.redhat.com/show_bug.cgi?id=856194
|
CC-MAIN-2017-26
|
refinedweb
| 1,779
| 74.49
|
Adobe Flex Tutorial: From Design To Debug Under Five Minutes
If you are new to Amethyst, you may want to watch this short tutorial. This will lead you through a simple project showing you how to design a user interface, edit your code and use the debugger.
For more videos, see The Amethyst Tutorials Page.
Visual Studio and Adobe Flex integration with Amethyst and WebORB
We’ve just uploaded a short video to explain how to link .NET web sites with Flex user interfaces using the integration of WebORB into Amethyst.
Bear in mind that one or two features in the video show new capabilities of the forthcoming release of Amethyst 1.5.
Ruby In Steel 2 - 2nd beta available.
Deploy Flash To Android
One of the new features of Amethyst 1.5 is its built in support for debugging and deploying Android applications.
Release Candidate #1 of Amethyst 1.5 is currently available for download HERE. You will need this build, or a later version, to use the Android visual design, deployment and debugging features. To help you get started, refer to the tutorial in this month’s (May 2011) Flash & Flex Developer’s Magazine available as a free download. The code archive that goes with this series of articles can be downloaded HERE.
For more assistance on Flash for Android, see also the screencast tutorials on mobile development on the Amethyst Tutorials Page.
Amethyst Chief Architect in Flash & Flex Developer’s Magazine
The May 2011 edition of Flash & Flex Developer’s Magazine includes an in-depth interview with Dermot Hogan, the chief architect of the Amethyst IDE for Visual Studio.
In the interview, Dermot explains some of the history and future plans for Amethyst. He explains why, in his opinion, Visual Studio is "the only truly industrial strength IDE" and he describes some of the work that has gone into adding support for mobile development of Flash Platform apps using Amethyst. You can download a free copy of the magazine from..
Create Adobe AIR Android Multi-Screen Applications in Amethyst
Here is a short tutorial explaining how to use Amethyst 1.5 to create Adobe AIR multi-screen applications for Android.
Bear in mind that some of these features require the first public beta (or later) of Amethyst 1.5. At the time of writing, the latest beta of Amethyst 1.3 contains a subset of our Android development tools and a forthcoming beta of Amethyst 1.5, which will be released in a few days, adds the additional features shown in this video.
For more on Android development with Amethyst, refer to recent Blog posts:
Flash for Android in Visual Studio (movie)
Android Development with Amethyst (tutorial for Amethyst 1.3)
Flash for Android in Visual Studio
The latest Amethyst beta includes a first release of tools to support mobile development.
Here’s a short video showing some of the features that will be added in the next beta...
Mobile Flash Apps in Visual Studio
The latest beta of Amethyst includes the first beta of some mobile tools which we have in development.
Programming and debugging apps for mobile devices is something that is likely to become increasingly important for Flash developers. I explained recently how to program, deploy and debug an Android app in Visual Studio using Amethyst.
We also plan to allow developers to target other mobile platforms such as Blackberry and iOS. In the first beta of our mobile development tools, there are quite a lot of different steps (too many!) you have to go through to set all the defaults and configuration options. We want to simplify this and make it much easier to build and deploy for one or multiple mobile platforms. I’ll have more to say about that shortly. In the meantime, here’s a sneak peek at a new wizard that should make it into our next beta release....
Android Development with Amethyst
The latest (beta) release of Amethyst 1.3 includes preliminary support for mobile development on the Android, iOS and Blackberry platforms. Here I’ll guide you through the steps you need to take you create, deploy and debug your first mobile application from Visual Studio to the Android emulator.
Prerequisites and Installation
Before you are ready to start work on Android development there are certain tools and SDKs that you need to install.
The Android SDK
First download the Android SDK for Windows (the .exe installer is recommended):
Run it to install the SDK.
The Java JDK
If the Java JDK cannot be found the Android SDK installer will prompt you to download it. You may be prompted to download the Java SDK even if you already have it installed but it is not on the system path. If this is the case you need to add the JDK to the path.
To do that, open the Windows Control panel, open System and select Advanced System Settings. In the Settings dialog, click Environment Variables. Select PATH and click Edit. This is likely to show a long path in a small edit field. If necessary copy and paste the path into Notepad for editing. You need to make sure that \bin directory of the JDK is appended (after a semicolon) to the end of the path. On my system , I add this to the path:
C:\Program Files\Java\jdk1.6.0_05\bin
Click OK several times to accept all your changes and close down the dialogs. Now try again with the Android installation. A dialog should confirm that it has found your JDK.
Create A Virtual Device
Carry on to the end of the Android SDK setup. At the end you will be prompted to install various packages. Accept the defaults and click Install.
When that’s complete you need to create a Virtual Device. select the ‘Virtual Devices’ option in the Android SDK and AVD Manager (which should already be running at this point but may also be load from the Start menu) . Click New. Enter a name such as Test and select a Target (e.g. Android 2.3.3 API level 10) the click Create AVD. Select the newly created device name and click Start and then Launch. It may take some time to start the Android emulator. When the emulator is ready it will display a start screen (with a background image and, usually, a little green android figure). If you see something else on the emulator, click its ‘Home’ button.
The AIR SDK
You also need to have the latest AIR SDK loaded (e.g. 2.6 or later). This is available here:
Once you’ve unzipped this (I’ll assume you’ve unzipped it to C:\AdobeAIRSDK), you need to install the runtime to your Android device or emulator. Here I am assuming you will be using the software emulator.
From the Windows Start menu, open a Command prompt (enter CMD) in the Start menu’s editable box. Change directory to the AIR Android emulator directory of the AIR SDK. e.g.
cd C:\AdobeAIRSDK\runtimes\air\android\emulator
Add the Android SDK Platform Tools directory to your path (this is a temporary change as you will do this only once). e.g.
set PATH=%PATH%;C:\Program Files\Android\android-sdk\platform-tools
Run the Android debug Bridge (ADB) tool to install Runtime.apk.
e.g.
adb install -r Runtime.apk
After a few moment, you should see ‘Success’ displayed at the command prompt. If not, you must check that you have set the path correctly and you are in the emulator directory which contains Runtime.apk then try again. Once you are successful you can close the command prompt.
Create and Debug an Android app
Now you are ready to create, deploy and debug an Android application. For the sake of simplicity, mine will be a simple ‘Hello world’ program. Bear in mind that the instructions here relate to the preliminary release (the first public beta) of Amethyst’s mobile tools (April, 2011). These will change – in some areas, probably quite significantly – in later releases. We will aim to make deployment and debugging a much simpler experience. But for now, be sure to follow these instructions carefully.
First, if it is not already running, load the Android SDK Manager from the Start menu. Create or select a virtual device (as explained earlier) from the list and click Start and Launch.
Wait until the emulator is loaded and initialized.
Now let’s create a very simple “Hello World” application. For simplicity we’ll do this as an ActionScript mobile application (though Amethyst also supports Flex/AIR mobile applications).
Start a new Project: Select File, New, Project.
Select Mobile, Mobile ActionScript Application.
If necessary, browse to a location and name the project.
Click OK.
Open the main application file (the ActionScript file that is created automatically by Amethyst – for example, in my project this is MobileActionScriptApplication2.as) and add this code to its constructor:
var textField:TextField = new TextField();
textField.text = "Hello, World!";
stage.addChild(textField);
The TextField class needs to be imported. The simplest way to do this is to right-click TextField in the editor and select Organize Imports, Add Import.
This import statement will be automatically added:
import flash.text.TextField;
Place a breakpoint on the final line (stage.addChild(textField)).
Select Project, Properties.
Click the Application tab.
Make sure Project type is ‘AIR’ and Deployment is ‘Android’.
The project will be reloaded in order to apply these changes,.
Select Project, Properties.
Click the Deploy Tab.
Select Android
Browse to the Android SDK path (e.g. C:\Program Files\Android\android-sdk)
Make sure ‘Use emulator’ is checked.
Create a new key store or browse to use an existing one.
Note: A key store is required in order to allow an Android device to load your application.
To create a key store, click Create. Enter a name (e.g. ‘mykey’), a file name for the key store (e.g. ‘keyfile’) and a password (e.g. ‘mypassword’). Click OK.
If you see errors when creating a key store, check that you are using the Flex 4.5 SDK or later (set in the Application properties page) and try again.
The password you are using must be entered into the key store password field. This is done automatically.
Make sure that your Build Configuration is set to both Build and Deploy your application. Select Build, Configuration Manager. Alongside your Project’s name ensure that Build and Deploy are checked. Then click Close.
Also, make sure that the namespace in your xml configuration file is correct (you may receive a deployment error if it is not). This step is only likely to be needed while the Adobe AIR SDK is still in beta. Check this in the application tag of the xml file under the \config folder (in the Solution Explorer). For example, if you are using AIR 2.5 this should take this form:
<application xmlns="">
If you are using AIR 2.6 it should be like this:
<application xmlns="">
Your are now ready to build, deploy and debug your project. This can be done simply by pressing F5 (alternatively you may select each option in turn from the Build and Debug menus). The Android requires its daemon to be running. The first time you attempt to deploy, it may fail to synchronize in which case, just press F5 to try again.
The breakpoint will be hit and you can now use thee debugger.
Press F5 to continue and the program will display “Hello world!” on the Android emulator And you can now carry on debugging using the full range of debugging tools provided by the Amethyst ‘Cylon’ debugger. Here is a slightly more complex example: an Android-based adventure game being debugged in Amethyst...
More Blog Posts...0 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 |...
|
http://www.sapphiresteel.com/Blog?debut_article=30
|
CC-MAIN-2013-20
|
refinedweb
| 1,978
| 66.03
|
A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Have you ever figured this out?
Is there a way of reading the content of a folder like *.* and dump all the filenames in an array?
I tried out "lightmap swapper" from the, I got it working using bakery lightmap groups but I was only able to bake and swap a single texture...
I came across this
It should convert vray to substance materials
Has anyone here got this to work?
I'm trying to use the area-light example, but it seems to block my direct light. Am I doing something wrong?
Thanks
Hi Frank,
I love your product! Sorry but I don't want to scroll through 60+ pages, maybe this has been answered. Maybe we should split up this...
I'm checking out this hdrp project downloaded from here...
Yes to nested prefabs. This is going to be big in unity.
Is there a github for all the (bundled) patches available before the update will be...
I want to know this too, somehow I'm unable to stor the google raycast that stops me from handling other touch input
i get the following error
Assets\GoogleARCore\Examples\HelloAR\Scripts\HelloARController.cs(95,42): error CS0246: The type or namespace name...
i get the ollowing error
Assets\GoogleARCore\Examples\HelloAR\Scripts\HelloARController.cs(95,42): error CS0246: The type or namespace name...
I guess you need special shaders for this to work. (are sshadergraph samples provided) what render pipeline's are supported i guess standard is,...
What would you like to see in the video/executable?
something like a demo we could compare like sponza or even better one of the archvizpro...
Can someone upload a demo video and an executable (something like an archviz pro scene for comparison) please?
Check out our review of the prototype of the Sixense stem wireless tracker
Please also check out our other video's and subscribe to our channel....
Me too,
how did you handle the import from sketchup?
will you be selling such a feature separately?
I can assure you that the pre-production prototypes have not been sent out yet
[MEDIA]
[MEDIA]
[MEDIA]
VisionaiR 3D is a company that develops, builds, rents and sells Virtual Reality systems. It was founded in the year...
Any chance we will get to see an Export2Max plugin?
is there an eta for the new version of skyshop?
|
https://forum.unity.com/search/2630902/
|
CC-MAIN-2021-04
|
refinedweb
| 420
| 75.5
|
PC iMail 2006
Sponsored Links
PC iMail 2006 Ranking & Summary
RankingClick at the star to rank
Ranking LevelBuy now
User Review: 10 (1 times)
File size: 1.61 MB
Platform: Windows 9X/ME/NT/2K/2003/XP/Vista
License: Trial
Price: $29
Downloads: 948
Date added: 2007-03-29
Publisher: ProSoft Apps
PC iMail 2006 description
PC iMail 2006. Communications
PC iMail 2006 Screenshot
PC iMail 2006 Keywords
Bookmark PC iMail 2006
PC iMail 2006 Copyright
WareSeeker.com do not provide cracks, serial numbers etc for PC iMail 2006. Any sharing links from rapidshare.com, yousendit.com or megaupload.com are also prohibited.
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Version History
Transfer songs from an iPod to a Windows base. Free Download
import you data from Outlook Free Download
PC configuration, health, backup/restore and performance maintenance. Free Download
NetMail Merge is similar to mail merge in Word Report Builder - you create a ... Free Download
The SCMLsoftware Mail Merge is a complete mail merge solution that can easily be integrated in your Visual Basic applications: - Print/preview merged document, print labels, print envelope. Free Download
A free tool for manage Email address list files. Free Download
Lenogo iPod to PC Transfer Build 2006. Free Download
Latest Software
Popular Software
- Microsoft Word 2000 Update: Word Mail Merge Vulnerability 10-3-00
- Microsoft Word 97 Update: Word Mail Merge Vulnerability 10-31-00
- Mail Merge Toolkit 2.5.2
- Contacts Clinic for Microsoft Outlook 3.0
- 4TOPS Access to Word Mail Merge XP/03 5.0
- Actual Contacts for Outlook 2.3
- Easy Mail Merge for Outlook 1.1.85
- LBE Contact Deduplicator for MS Outlook 3.1
Favourite Software
- Easy Mail Merge Outlook Add-in 1.1.74
- Mail Merge for Microsoft Access 2003 5.0
- Mail Merge for Microsoft Access 1.0
- LBE Find & Replace for MS Outlook 1.0
- LinkedIn Outlook Toolbar 2.5.1.1606
- Import Multiple Outlook Contacts & Email 7.0
- Excel Import Multiple Outlook Contacts & Emails Software 7.0
- Import vCards to Outlook 1.0
|
http://wareseeker.com/Communications/pc-imail-2006.zip/257212
|
CC-MAIN-2015-32
|
refinedweb
| 350
| 60.61
|
How do I send mail from a Python script?
Use the standard smtplib module.
Here’s a simple example that creates a message body and sends it to one or more recipients. This method will work on any host that supports an SMTP listener.
import smtplib SERVER = "localhost" FROM = "sender@example.com" TO = ["user@example.com"] # must be a list SUBJECT = "Hello!" TEXT = "This message was sent with Python's smtplib." # Prepare actual message message = """\ From: %s To: %s Subject: %s %s """ % (FROM, ", ".join(TO), SUBJECT, TEXT) # Send the mail server = smtplib.SMTP(SERVER) server.sendmail(FROM, TO, message) server.quit()
Note that the TO variable must be a list, and that you have to add the From, To, and Subject headers to the message yourself. The TO argument to the sendmail method is only used to route the message to the right recipients, and doesn’t have to match the headers in the message itself. This can be used to implement Bcc headers; to send a blind copy, add the address to the TO argument, but don’t include it in the To header.
A Unix-only alternative is to use the sendmail program directly. The location of the sendmail program varies between systems; sometimes it is /usr/lib/sendmail, sometime /usr/sbin/sendmail. The sendmail manual page will help you out. Here’s an example:
SENDMAIL = "/usr/sbin/sendmail" # sendmail location FROM = "sender@example.com" TO = ["user@example.com"] SUBJECT = "Hello!" TEXT = "This message was sent via sendmail." # Prepare actual message message = """\ From: %s To: %s Subject: %s %s """ % (FROM, ", ".join(TO), SUBJECT, TEXT) # Send the mail import os p = os.popen("%s -t -i" % SENDMAIL, "w") p.write(message) status = p.close() if status: print "Sendmail exit status", status
The -t option tells sendmail to parse the message, and extract the necessary routing information itself.
|
http://effbot.org/pyfaq/how-do-i-send-mail-from-a-python-script.htm
|
CC-MAIN-2015-35
|
refinedweb
| 308
| 69.18
|
This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.
Hi, I would like to know whether this is a bug or a feature. I have found that the following program that used to compile with gcc 2.95 doesn't compile anymore with gcc 3 (libstdc++ 3). #include <iostream> using namespace std; template <class T> void output(T val) { cout << val; } int main() { output(endl); } The error message I get is: output.cc: In function `int main()': output.cc:11: no matching function for call to `output (<unknown type>)' The same way, "typeid(endl)" doesn't compile either. This behaviour is very annoying because it breaks some template functions. Is there anything that can be done about that? Jean-Marc -- Jean-Marc Valin Universite de Sherbrooke - Genie Electrique valj01@gel.usherb.ca
|
http://gcc.gnu.org/ml/libstdc++/2000-11/msg00387.html
|
crawl-001
|
refinedweb
| 140
| 68.57
|
Experienced users of Visual Basic 6 will find that once they understand key differences between VB6 and VB .NET, it's possible to easily migrate VB6 code to the VB .NET environment.
The Microsoft.VisualBasic compatibility namespace includes elements relevant to VB6 compatibility. If you open a VB6 project in VB .NET, the migration wizard will run. Migrating code from VB6 to VB .NET uses things from the compatibility namespace. For new code, I would suggest you use the new types, idioms, collections, and other features of VB .NET because elements of the Microsoft.VisualBasic compatibility namespace will probably find their way into the circular file soon.
Many elements of VB6 didn't make it into VB .NET. Some aspects of VB6 were replaced and others are no longer supported. To provide you with a comprehensive table of VB6 elements, the elements that were left out of VB .NET are described in a table in Appendix A.Refer to Appendix A for a complete list of features that were revised or removed in VB .NET. (Many are covered in this chapter, but the table in Appendix A will provide you with one location for reference.)
|
https://flylib.com/books/en/1.488.1.44/1/
|
CC-MAIN-2020-34
|
refinedweb
| 195
| 59.4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.