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 |
|---|---|---|---|---|---|
bigtop - the parser/generater for the bigtop langauge
For regnerating pieces of an existing app:
bigtop [options] file.bigtop all
Or, for brand new apps:
bigtop --new AppName 'ascii_art'
Or, to augment an existing app:
bigtop --add app.bigtop 'ascii_art'
Or, to bring a postgres 8 databases into bigtop:
bigtop -n AppName -s Pg8Live 'dbi:Pg:dbname=yourdb' user pass [schema]
See "STYLES" below for how this script handles ASCII art or other extra command line args (and possibly standard in).
To learn more about bigtop, consult Bigtop::Docs::TOC. It has a list of all the documentation along with suggestions of where to start.
This script usually takes a bigtop input file and a list of things to build. The things you can build have the same names as the blocks in the config section of your bigtop file. You may also choose
all which will build all of those things in the order they appear in the config section.
If you are starting a new app from scratch, you can get a jump start with the --new flag (or -n):
bigtop --new AppName table1 table2
If you already have a bigtop file, you can add to it with the --add (or -a):
bigtop --add file.bigtop table3 table4
But, see "STYLES" below for more interesting options than a list of table names.
Both new and add options do an all build when they finish making/updating the bigtop file. If you don't want an immediate all build, try tentmaker with the same flags.
The new option will also try to build a database for the app to use immediately, by invoking sqlite (if it can find it in your path).
Use this if you already have a bigtop source file and want to make a brand new app from it. Perhaps someone gave you a bigtop file, you copied one from the examples directory of the bigtop distribution, or you built one with tentmaker.
This will make an h2xs style path under the current directory for the app described in your bigtop file. It will even copy that bigtop file into the docs directory while it builds whatever you ask for.
Without this option, if the current directory looks like a bad place to build, a fatal error will result and you will have to use this option. A bad place to build is a place where building seems not to have happened before. If any of these are missing, then the directory is bad:
Build.PL Changes t/ lib/
When create is in effect, the following bigtop config options affect the location of the initial build:
the directory under which all building will happen. Defaults to the current directory.
the subdirectory of base_dir where Build.PL and friends will live. Defaults to the h2xs style directory name based on your app's name. If your app section starts:
app App::Name::SubName
then the default app_dir is:
App-Name-SubName
When create is not in effect, these config parameters are ignored WITH a warning.
See "STYLES" below for what
style_info can be. (Hint: it depends on which style you are using.)
Use this option to create a working application from scratch. If you only provide an app name, it will use a minimal bigtop specification. The resulting app will not run (or have any code in it). You must then augment the bigtop file with tentmaker or a text editor and regenerate to get a running app.
If you supply optional table names or provide data for a style, enough additional items will be added to the bigtop file to make a running app (except that you might need to build the database). Some of the extra items will be repeated for each model you request.
In either case, when bigtop finishes, there will be an App-Name subdirectory of the current directory. In it will be all the usual pieces describing an app. The bigtop file will be in the docs directory.
If you have a working sqlite in your path -- and you specified tables or used a style -- -n will also make an sqlite database called app.db in the build directory. As it will tell you, you can change to that directory and start the app immediately.
If you don't have sqlite, a message will explain what to do to start the app. Mostly this boils down to changing into the new build directory, creating a database called app.db, and running app.server with the proper flags for your database engine.
This flag uses the default bigtop file from Bigtop::ScriptHelp (which you can see by examining examples/default.bigtop in the distrubution). If you like, you may override that default. To do so, copy examples/default.bigtop to either bigtopdef in the directory from which you plan to run bigtop .
If you have a ./bigtopdef or ~/.bigtopdef, but don't want to use it for a particular instance, set the BIGTOP_REAL_DEF enivornment variable in your shell.
If you have an existing bigtop file and want to add tables and their controllers to it, use this option like this:
bigtop --add file.bigtop style_info...
See "STYLES" below for how to specify table relationships.
This option reads an existing file.bigtop and adds tables and controllers to it, before doing an all build. (If you don't want an all build, use the same options with tentmaker.)
Any new tables will be created. Whether existing tables are updated depends on you style.
Note that this option may disturb comments and whitespace in your original. It uses Bigtop::Deparser, which cannonicalizes the whitespace. Basically extraneous whitespace is removed (and indenting is regularized). When new lines are removed, subsequent comments drift down in the revised file.
Revision control is always a good idea. It is especially important here. Make sure file.bigtop is commited to your revision control system prior to running bigtop in add mode.
Normally, this script removes all traces of the _Inline directory it used while building your app. Use this option if you want to save a microscopic amount of time on each regeneration or if you have an incurable curiosity.
Note that the directory will only be removed if it is really _Inline in the current directory. If you have a .Inline directory under home directory etc., the script will not affect it.
Defaults to Kickstart. This can be the name of any Bigtop::ScriptHelp::Style:: module. These styles control how your command line args, and standard input, turn into bigtop descriptions. See the docs for you style to see what input is legal and how it is treated.
In addition to the flags that do useful things, there are help flags:
Prints a multi-line usage message showing all the options.
Print advice on how to start your app.server with a Postgres or MySQL database instead of sqlite. This includes instructions on creating and building the database, as well as flags app.server needs in order to reach that database.
This section used to explain ASCII art, which was the original style of command line input. Since then, that code has been factored out. The original style is now called the kickstart style, or more precisely
Bigtop::ScriptHelp::Style::Kickstart and is still the default. See its docs for a description of ASCII art.
You may explicitly choose the original style:
bigtop -n|-a -s Kickstart 'ascii_art'
But, you may omit -s to get Kickstart by default. Further, you can replace Kickstart with any module in the Bigtop::ScriptHelp::Style:: namespace. For example:
bigtop -n|-a -s Pg8Live 'dbi:Pg:dbname=yourdb' user pass [schema]
Again, see the docs for your style to see what command line parameters to use.
Phil Crow <crow.phil@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. | http://search.cpan.org/~philcrow/Bigtop/scripts/bigtop | CC-MAIN-2013-48 | refinedweb | 1,339 | 74.08 |
How do I create an input box with Python?
python popup input box
input box python
tkinter python
python input
python gui input
how to get value from textbox in python
python dialog box multiple inputs
I want to create an on-screen input box that a user can interact with.
The user would see a window with an input field they can click with the mouse. The user could type or erase text in the field, then press OK once they have finished adding text. Lastly, my program would store this text for later use.
How can I create a text box in Python which allows user input?
You could try the Tkinter module:
from tkinter import * master = Tk() e = Entry(master) e.pack() e.focus_set() def callback(): print e.get() # This is the text you may want to use later b = Button(master, text = "OK", width = 10, command = callback) b.pack() mainloop()
Result:
Of course, you may want to read a Tkinter tutorial.
How do I create an input box with Python?, Entry widgets are the basic widgets of Tkinter used to get input, i.e. text strings, The next example shows, how we can elegantly create lots of Entry field in a User Input. Python allows for user input. That means we are able to ask the user for input. The method is a bit different in Python 3.6 than Python 2.7. Python 3.6 uses the input() method. Python 2.7 uses the raw_input() method. The following example asks for the username, and when you entered the username, it gets printed on the screen:
The Tk library actually has a function that does this although it is nominally 'private'. You can use it as follows.
import tkinter as tk root = tk.Tk() root.wm_geometry("800x600") dialog = tk.Toplevel(root) root_name = root.winfo_pathname(root.winfo_id()) dialog_name = dialog.winfo_pathname(dialog.winfo_id()) root.tk.eval('tk::PlaceWindow {0} widget {1}'.format(dialog_name, root_name)) root.mainloop()
This will place your dialog centred over the specified window (in this case the root window). Ref.
In a real life application
Here's a version I made because in real life you'll need to show an InputBox over the top of the Main Window/Form, and typically in a Modal (can't click on other windows) state, and then close it when the user clicks OK:
try: # for Python2 import Tkinter as tk except ImportError: # for Python3 import tkinter as tk class App: def __init__(self): self.HEIGHT = 700 self.WIDTH = 800 root = tk.Tk() root.width = self.WIDTH root.height = self.HEIGHT self.dialogroot = root self.strDialogResult = "" self.canvas = tk.Canvas(root, height=self.HEIGHT, width=self.WIDTH) self.canvas.pack() frame = tk.Frame(root, bg='#42c2f4') frame.place(relx=0.5, rely=0.02, relwidth=0.96, relheight=0.95, anchor='n') # Here is the button call to the InputBox() function buttonInputBox = tk.Button(frame, text="Input Box", bg='#cccccc', font=60, command=lambda: self.InputBox()) buttonInputBox.place(relx=0.05, rely=0.1, relwidth=0.90, relheight=0.8) root.mainloop() def InputBox(self): dialog = tk.Toplevel(self.dialogroot) dialog.width = 600 dialog.height = 100 frame = tk.Frame(dialog, bg='#42c2f4', bd=5) frame.place(relwidth=1, relheight=1) entry = tk.Entry(frame, font=40) entry.place(relwidth=0.65, rely=0.02, relheight=0.96) entry.focus_set() submit = tk.Button(frame, text='OK', font=16, command=lambda: self.DialogResult(entry.get())) submit.place(relx=0.7, rely=0.02, relheight=0.96, relwidth=0.3) root_name = self.dialogroot.winfo_pathname(self.dialogroot.winfo_id()) dialog_name = dialog.winfo_pathname(dialog.winfo_id()) # These two lines show a modal dialog self.dialogroot.tk.eval('tk::PlaceWindow {0} widget {1}'.format(dialog_name, root_name)) self.dialogroot.mainloop() #This line destroys the modal dialog after the user exits/accepts it dialog.destroy() #Print and return the inputbox result print(self.strDialogResult) return self.strDialogResult def DialogResult(self, result): self.strDialogResult = result #This line quits from the MODAL STATE but doesn't close or destroy the modal dialog self.dialogroot.quit() # Launch ... if __name__ == '__main__': app = App()
GUI Programming with Python: Entry Widgets, Creating User Input Dialog With Python GUI Programming First, we are importing the Tkinter module, then we are creating a window in the ROOT object. Python InputBox - 4 examples found. These are the top rated real world Python examples of inputbox.InputBox extracted from open source projects. You can rate examples to help us improve the quality of examples.
The simplest way to do it is to set an input equal to a variable for later use, and then call the variable later in the program.
variable = str(input("Type into the text box."))
Creating User Input Dialog With Python GUI Programming, Most programs today use a dialog box as a way of asking the user to provide some type of input. While Python provides us with two inbuilt functions to read the The input() function: Use the input() function to get Python user input from keyboard; Press the enter key after entering the value. The program waits for user input indefinetly, there is no timeout. The input function returns a string, that you can store in a variable; Terminate with Ctrl-D (Unix) or Ctrl-Z+Return (Windows) Get User Input in Python
Taking input in Python, How to Create Input Fields With TKinter and Python. In this video I'll show you how to create Duration: 10:26 Posted: Jan 16, 2019
Creating Input Fields With TKinter, Hey Guys in this video I showed you how to make box for user input and copy user input into Duration: 9:36 Posted: Feb 18, 2018
Python GUI tutorial 05 : Entry box (user input), Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, PHP, Python, Bootstrap, Java An entry box can be used to get the user’s input. You can specify the position where the entry box would be placed on your Canvas (currently the position is set to 200, 140): entry1 = tk.Entry (root) canvas1.create_window(200, 140, window=entry1)
- Related: Creating a popup message box with an Entry field
- I think he wanted a simple example, like
myText=tkSimpleDialog.askstring("Title","Enter a string:"). This is the most simple solution, however, I never used it.
- @Sasszem Your suggested code errors with
NameError: name 'tkSimpleDialog' is not defined
- You need to import it first, with
import tkSimpleDialog | https://thetopsites.net/article/53719178.shtml | CC-MAIN-2021-25 | refinedweb | 1,078 | 50.23 |
Why I Still Use Vim
And no, it’s not because I can’t figure out how to close it.
I often get asked about why I use Vim as my primary editor, there is no particular reason for this, except that I ended up learning it when I moved over to Linux full time many years ago. I ended up liking it because I could edit my small source files on my quad-core machine without needing to wait forever for the file to open.
Sure Vim isn’t a bad editor, it’s highly extensible, it’s easy to shell out to the, err well shell, its everywhere so when you ssh into some obscure server you can just type vim (or vi) and you’re good to go.
But this isn’t a pitch about Vim being a great editor, that’s a matter of subjective taste. I’ve primarily stuck with it because it’s an extensible editor that doesn’t hog all the resources and kill my machines. Using Atom or Code I experience frequent freezes for several minutes when just typing a single character.
How much memory would you expect an editor needs to open the following C file?
#include <stdio.h>int main() {
printf("Hello, world!\n");
}
Memory Usage
The answer is… crazy.
Code requires a whopping 349 megabytes in order to open a 60 byte file. Atom comes in at 256 megabytes. Where Vim “only” needs 5 megabytes, which is still kind of high, but representative of an average configuration.
I’ve also included Nano to have another text mode editor to compare Vim with, which came out at less than a megabyte.
What about larger files? Opening a 6 megabyte XML file in Vim consumes around 12 megabytes. Nano is pretty much neck-and-neck with Vim. Code needs 392 megabytes, and Atom needs a whopping 845 megabytes.
Startup Time
What about the amount of time necessary to open that same XML file, then move your cursor to the end of it? This tells a similar story. Atom and Code take nearly 20 seconds. Vim takes around 4 seconds. Sublime is surprisingly fast here taking only a mere second.
Doing a search and replace for 100,000 instances of a word in that same XML file yields somewhat surprising results. Nano and Atom failed, taking nearly 10 minutes on average to complete. Atom crashed quite a few times trying to get a result. Code took around 80 seconds. Sublime finished in 6 seconds. And Vim only took 4 seconds.
Conclusion
Learn Vim. It’s worth checking out, which is basically Vim golfing, tips, and tricks made by Drew Neil, who also wrote this awesome book
If not Vim, then maybe Emacs. Or, well, just anything that is not a web browser masquerading as a text editor.
It’s just flat out ridiculous to have an editor consume all the processing power and memory available on a “modern” expensive laptop, when it doesn’t need to do so at all.
The test files used in these benchmarks were taken from this repository, results were averaged between that dataset and my own. | https://medium.com/commitlog/why-i-still-use-vim-67afd76b4db6 | CC-MAIN-2021-21 | refinedweb | 529 | 73.27 |
Hibernate is one of the most widely used ORM tools for building Java applications. It is used in enterprise applications for database operations. So, this article on hibernate interview questions will help you to brush up your knowledge before the interview.
If you are a fresher or an experienced, this is the right platform for you which will help you to start your preparation for the Hibernate job roles.
Let’s begin by taking a look at the most frequently asked questions in Hibernate Interview Questions.
For better understanding, I have divided the rest of the Hibernate Framework Interview Questions into the following…
Collection Framework is one of the most important pillars that support the fundamental concepts of the Java programming language. If you are an aspiring Java Developer, it is very important for you to have a strong knowledge of these core concepts before you appear for an interview. Through the medium of this article, I will share the Top 50 Java Collections Interview Questions and Answers that will definitely help you in clearing your interview with flying colors.
The questions in this article have been divided into the following sections:
Below table contains the major advantages of the Java Collection…
In this article, I have collected the most frequently asked questions which are collected after consulting with top industry experts in the field of design patterns, ASP.NET, and Spring Framework.
In case you came across some other questions during your interviews or have queries that might be helpful for others as well, do share them in the comment section. This MVC Interview question is divided into the following sections:
Let’s begin this MVC interview questions with beginners level questions first.
The below figure represents the same.
MVC is an abbreviation for Model, View, and Controller. The MVC architectural pattern separates an application into three components — Model, View, and Controller.. The controller is the part, which handles the user request. …
Are you a Java programmer looking for a quick guide on Java Concepts? If yes, then you must take Strings into your consideration. This Java String cheat sheet is designed for the Java aspirants who have already embarked on their journey to learn Java. So, let’s quickly get started with this Java String Cheat Sheet.
The string is a sequence of characters. But in Java, a string is an object that represents a sequence of characters. The java.lang.String class is used to create a string object.
String in Java is an object that represents a sequence of char values. …
Java Servlets are the main reason behind the simplicity in developing the High-end Web Application as Web Pages due to which the Java Web Application Technology is on the highest demand in present days. In this article, we will discuss the most frequently asked interview questions based on Java Servlets.
Ans: A Servlet is a Java program that runs on a Web server. It is similar to an applet but is processed on the server rather than a client’s machine. …. This is where destructor in Java comes into the picture. In this article, we will learn about destructors in Java, in the following order:
2. Difference Between Constructor and Destructor
3. Java finalize() Method
4. Example
A destructor is a special method that gets called automatically as soon as the life-cycle of an object is finished. A destructor is called to de-allocate and free memory. The following tasks get executed when a destructor is called. …
The demand for Java is never-ending and many top MNCs are looking for Java Developers. These days, having hands-on experience in java and trying out projects in java would be an added weight to your resume. In this article, we shall try out the top 5 projects that you need to know in 2019.
This particular project is designed to provide a user interface that asks multiple-choice questions and takes inputs from users as the answers and then, finally evaluates all the questions and gives back the output as the individuals result.
package Edureka;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class OnlineTest extends JFrame implements ActionListener {
JLabel l;
JRadioButton jb[] = new JRadioButton[5];
JButton b1, b2;
ButtonGroup bg;
int count = 0, current = 0, x = 1, y = 1, now = 0;
int m[] = new int[10];
OnlineTest(String s) {
super(s);
l = new JLabel();
add(l);
bg = new ButtonGroup();
for (int i = 0; i < 5; i++) {
jb[i] = new JRadioButton();
add(jb[i]);
bg.add(jb[i]);
}
b1 = new JButton("Next");
b2 = new JButton("Bookmark");
b1.addActionListener(this);
b2.addActionListener(this);
add(b1);
add(b2);
set();
l.setBounds(30, 40, 450, 20);
jb[0].setBounds(50, 80, 100, 20);
jb[1].setBounds(50, 110, 100, 20);
jb[2].setBounds(50, 140, 100, 20);
jb[3].setBounds(50, 170, 100, 20);
b1.setBounds(100, 240, 100, 30);
b2.setBounds(270, 240, 100, 30);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setLayout(null);
setLocation(250, 100);
setVisible(true);
setSize(600, 350);
}
public void actionPerformed(ActionEvent e) {
if (e.getSource() == b1) {
if (check())
count = count + 1;
current++;
set();
if (current == 9) {
b1.setEnabled(false);
b2.setText("Result");
}
}
if (e.getActionCommand().equals("Bookmark")) {
JButton bk = new JButton("Bookmark" + x);
bk.setBounds(480, 20 + 30 * x, 100, 30);
add(bk);
bk.addActionListener(this);
m[x] = current;
x++;
current++;
set();
if (current == 9)
b2.setText("Result");
setVisible(false);
setVisible(true);
}
for (int i = 0, y = 1; i < x; i++, y++) {
if (e.getActionCommand().equals("Bookmark" + y)) {
if (check())
count = count + 1;
now = current;
current = m[y];
set();
((JButton) e.getSource()).setEnabled(false);
current = now;
}
}
if (e.getActionCommand().equals("Result")) {
if (check())
count = count + 1;
current++;
JOptionPane.showMessageDialog(this, "correct ans=" + count);
System.exit(0);
}
}
void set() {
jb[4].setSelected(true);
if (current == 0) {
l.setText("Que1: Which one among these is not a primitive datatype?");
jb[0].setText("int");
jb[1].setText("Float");
jb[2].setText("boolean");
jb[3].setText("char");
}
if (current == 1) {
l.setText("Que2: Which class is available to all the class automatically?");
jb[0].setText("Swing");
jb[1].setText("Applet");
jb[2].setText("Object");
jb[3].setText("ActionEvent");
}
if (current == 2) {
l.setText("Que3: Which package is directly available to our class without importing it?");
jb[0].setText("swing");
jb[1].setText("applet");
jb[2].setText("net");
jb[3].setText("lang");
}
if (current == 3) {
l.setText("Que4: String class is defined in which package?");
jb[0].setText("lang");
jb[1].setText("Swing");
jb[2].setText("Applet");
jb[3].setText("awt");
}
if (current == 4) {
l.setText("Que5: Which institute is best for java coaching?"); …
In Java, a class can be defined within another class and such classes are known as nested classes. These classes help you to logically group classes that are only used in one place. This increases the use of encapsulation and creates a more readable and maintainable code. This blog on “Nested Class in Java” will give you a quick to-the-point introduction to nested classes in the Java language. Below are the topics covered in this blog:
The class written within a class is called the nested class while the class that holds the inner class is called the outer class. Below are some points to remember for nested classes in Java…
Technology is constantly going through an evolution and so are the languages that are used to develop them. Java is one of the popular programming languages having n number of applications. Through this article, I will be listing down the top 10 applications of Java.
Let’s begin.
Java is considered as the official programming language for mobile app development. It is compatible with software such as Android Studio and Kotlin. Now you must be wondering why only Java? The reason is that it can run on Java Virtual Machine(JVM), whereas Android uses DVK(Dalvik Virtual Machine) to execute class files. …
One of the most popular frequently asked Java Interview Questions is, “Given an integer x, write a java program to find the square root of it”. There are many ways to solve this problem. In this article, let’s check out different ways to find square and square root in Java.
2. How to Square a Number in Java
3. How to Find Square Root of a Number in Java
Before discussing the square root code in Java, let’s understand the term square root first. …
About | https://medium.com/@swatee.chand?source=post_internal_links---------1---------------------------- | CC-MAIN-2020-50 | refinedweb | 1,398 | 57.37 |
Cheri Hutson says
I tried to answer this with more detail, but there's no room. But it's a good idea for a hub...
I can only answer as a Christian, and can't speak for other "religionists." But for us, God’s “will” revolves around Who He is. In short, God IS Love. We believe that everything He does, everything He is – is steeped in His being Love. But what is love? That’s really the question, because it has everything to do with any understanding of His will. Love creates. It can’t help itself. Where there is love, there is birth, or creativity, or life… love abounds and overflows. It does not hold itself in. So, to keep it simple, let me just say that God created us out of this overflowing Love.
But there’s something else about love that one must understand. Love requires freedom in the sense that one must be able to CHOOSE to love. You’ve heard the saying, “You can’t force someone to fall in love with you.” Very true. Love must be given freely. So for God to create a people in love that He wishes to truly love Him in return (and Christians believe that is His desire), He had to create us with a free will. Otherwise, any “love” we might have for Him couldn’t REALLY be love. It could only be… fear of reprisal, or a robotic sort of thing. It wouldn’t be our choice. It wouldn’t be love. God knew the risk, that there would be those who would not love Him, but His desire for us to love Him in return was worth the risk for Him.
So, is God willing and able? Yes. But, as it is often said in “religious” circles, God is a gentleman. He does not force us to love Him (again, that would defeat the purpose of creating us). If there is evil in the world, it is our doing. God allows it, yes, because we are free, and we take our chances. Why do innocents suffer? Because the “guilty” are exercising their free will to make bad choices, and there is often collateral damage (that's the simplified answer; there's simply not enough room here to expound). But the Good News is that, according to Scriptures, “God works everything to the good for those who love Him.” In short, we believe that there is more to Life than this life, and that's what we have to live for.
I'm all for the freedom to choose, but to choose correctly you need knowledge, yet God denied mankind fruit from the Tree of Knowledge. Surely choosing to freely love God, with knowledge, is better than loving in ignorance.
The Garden of Eden allegory speaks to me of *something* that happened in the early beginnings of Man on earth. That Man "fell" seems clear. Could the fruit of the tree of the knowledge of good and evil refer to dropping into the illusion of duality?
REALLY wish 4 more room to comment! Rog, God never deprived them of Knowledge itself; He gave them minds. But u left off important words: Tree of Knowledge of GOOD & EVIL. They disobeyed God, tasted evil, brought death upon themselves. Their choi
- See all 3 commentsHide extra comments
Gary R. Smith says
Hmmm.
The first thing here is to question the question.
Why do you limit the answers to come from religionists? That would exclude me, though I enjoyed browsing the answers from those who are okay with the label.
Still, it is a provocative question, and as that appears to be its purpose, to provoke answers, I will play along.
Both the question and answers smell to me like they are following the wrong scent. Wrong in the sense of having no ability to come to a useful conclusion. It just provides a platform of fighting for dogma unless one is willing to step outside its ring.
There are so many more questions to consider, if looked at from other than a religionist's perspective.
Who or what is God? If not the omnipotent Person, than perhaps something beyond our capacity to describe, as it is beyond our sensory experience and heavily laden interpretations. Something perhaps that quantum mechanics touches upon, yet also comes up with missing pieces.
I do not label myself religionist, yet that does not mean I am an atheist or agnostic either. I 'believe in God.' It is just that my concept and way of relating towards God does not come from a book or outer teaching. It is something I have learned to trust from my innate knowing and the knowing evolves.
What really are the ideas of good and evil? Do they exist at all outside human thought and emotion?
Is the real reality so far removed from anything we humans have tried to comprehend that we are all just more or less shooting in the dark -- totally immersed in a holographic illusion that is well maintained by human society?
This won't set well with many, I know, and am okay with that.
I lived as an absolute religionist (Christian fundamentalist) for at least 14-15 years. It was useful to give me an inside perspective of the mindset. I totally understand where people are coming from in the answers from religionists, as they would have been my answers during that period of my life. At that time, I had God in a box. But He got out.
Bruce Feierabend says
There have been several good answers and I go along with the notion that others have put forth that the paradox is flawed. It assumes that God being willing and able would result in the absence of evil but that is an over simplification and unjustified.
Looking at it in reverse, since your comments accept free choice then evil is present by what we choose.
That man didn't have enough knowledge to choose and therefore God is to blame for not imparting enough knowledge I don't accept because people choose wrong all the time having full knowledge that their actions are wrong. As for Adam and Eve they were given very clear knowledge as to just a few simple things they were not to do and they chose to act contrary. As to the argument that God kept them from knowledge by forbidding them to eat from the tree, doesn't take into consideration that they walked with God daily in a free relationship that allowed them to receive whatever knowledge they desired straight from God.
In considering the question though, I realized that really all evil comes from the disbelief that God is willing and able. You see when we don't see God as the source of good we are compelled to look elsewhere for it and that's where trouble begins.
Yoleen Lucas says
So that's what it's called - the Epicurean Paradox. I've often asked myself that question, and surely I'm neither the first nor the last to do so.
I have come to the conclusion that God is willing, but not able. I'm also beginning to think Satan is not a created being, but eternal like God. For if God created Lucifer, being All-Knowing, that would make Him the Author of Evil.
I believe there are two major forces in the world; Good and Evil. Both are equal,; whichever one wins out in a situation depends on how many people choose it, and how much strength they have. For example, during World War II, Hitler used "divide and conquer" to ravage Europe. He was overcome by those who knew how to "unite and conquer".
Now there's another paradox. If God created all things and being perfect, all things created must be perfect, God must have created evil.
While there are two forces in the world, I would have to disagree that they are equal. While some choose to deny the power of good, evil does get the upper hand. However, when good is collectively applied, evil takes a second seat. Live by true good.
- See all 2 commentsHide extra comments
taburkett says
You seek an answer based on flawed rhetoric. Therefore, you will never obtain the answer you seek. God does not create evil. Man creates evil through the ability to make a choice. Mankind is made in the form of the King of Kings. God is both willing and able - but chooses to permit man (made in his image) to make the choice. Since it is man that creates the evil, it must be the God loving man that will eliminate it. Those who believe otherwise simply ignore the truth. For there was no evil until the serpent convinced the woman to eat of the forbidden fruit. This act of choosing then led to the rules of engagement for mankind. Since that beginning, every human has been permitted to choose. One that loves God will take the path of righteousness, one that chooses the path of evil does not. Mankind has become weak against the evil in this world, because they have been conditioned to accept evil as a norm, when in fact, it should be eliminated. As explained in Revelations, the Lord God shall reign and all good shall persist while all evil shall not. I personally choose the path that will persist. I pray that many who currently deny - begin to see the light soon.
thomashmartin says
Is a father willing and able to stop a painful but necessary medical treatment on his little son?
Yes, he is, but he knows it is necessary to keep on the treatment, in order to heal him and see him eventually enjoy good health and happiness.
Emile R says
I think, we created the world we exist in. Our interactions create the things we label evil. No one exists in a vacuum. Evil persists simply because we don't take responsibility for our own actions. We transfer blame in our own lives and we view history in whatever manner puts less blame on us and our views. I think God is the ultimate scapegoat. Since I don't think evil exists on a cosmic level, I just don't think the questions asked hold merit. Both sides of the debate assume the same thing. Never stopping to wonder why a God should be expected to step in and solve problems we are perfectly capable of solving.
I can't think of any human action labeled evil which didn't begin at some point where one human could not have made a positive difference in the life of another; thus averting the chain of events which culminated in an action labeled evil.
A good bit of philosophy here.
JThomp42 says
I believe the correct answer is that He is able, but not yet willing. This existence that we live today in the 'times of the Gentiles' is, as Peter writes, a time that God's patience is going to allow for some to come to know and accept His offer of mercy and forgiveness. God's patience has also reigned throughout His work among His people Israel from the time that He called Abram. However, the day will come when God will put all wickedness and evil out of the realm of His people and we read about that in the last two chapters of the Revelation of Jesus.
So, God is clearly willing and able, but the time has not come yet for Him to display His ability again, because the ultimate working out of His great plan of salvation has not yet bourne all of the desired fruit. Remember, He did it once before in the days of Noah!
Excellent answer.
Thank you Larry.
JThomp42 - you are spot on. Acceptance&Faithfulness to God obviates evil that humans employ.
Rev13:18 This calls for wisdom. Let the person who has insight calculate the number of the beast, for it is the number of a man.[e] That number is 666.
Thank you taburkett.
- See all 4 commentsHide extra comments
kess says
You must first define the god to which the paradox is applicable...
The paradox exist so that the ignorant could be excused from their blasphemy in their arrogant accusations, which is merely the defining mark of their own ignorance. | http://hubpages.com/religion-philosophy/answer/223801/can-any-religionist-out-there-answer-the-epicurean-paradoxthis-goes-as-follows- | CC-MAIN-2017-04 | refinedweb | 2,073 | 81.33 |
is there is a way to negate the "if let" in swift?
This looks silly to me:
if let type = json.type {
} else {
XCTFail("There is no type in the root element")
}
enum JSONDataTypes {
case Object
case Array
case Number
case String
}
var type: JSONDataTypes? = nil
Swift 2.0 (Xcode 7) and later have the new
guard statement, which sort of works like an "if not let" -- you can conditionally bind a variable in the remainder of the enclosing scope, keeping the "good path" in your code the least-indented.
guard let type = json.type else { XCTFail("There is no type in the root element") } // do something with `type` here
The catch to this is that the
else clause of a
guard must exit that scope (because otherwise you'd fall into code after that clause, where the guarded variables, like
type above, are unbound). So it has to end with something like
return,
break,
continue or a function that is known to the compiler to never return (i.e. annotated
@noreturn, like
abort()... I don't recall offhand if that includes
XCTFail, but it should (file a bug if it's not).
For details, see Early Exit in The Swift Programming Language.
As for really-old stuff... There's no negated form of if-let in Swift 1.x. But since you're working with XCTest anyway, you can just make testing the optional part of an assertion expression:
XCTAssert(json.type != nil, "There is no type in the root element") | https://codedump.io/share/g2nGFWRzc8cA/1/if-not-let---in-swift | CC-MAIN-2016-50 | refinedweb | 252 | 80.92 |
.
/**
*/
Running Javadoc for simple programs
The easiest way to use javadoc is to use it from Ant.
Alternatively, you can do it from the command line. If you have one or more
.java files in a directory and haven't explicitly defined a package, use the
following command to generate documenation in the sub directory docs,
which javadoc creates if it doesn't exist. This command is run from the
directory containing the source files. Class files in the same directory cause
no problems. javadoc produces quite a number of files -- about 13 files plus one
per class. Click on docs/index.html to see the documentation. This
produces documentation on all private, protected, package,
and public classes and their members (constructors, methods, fields).
javadoc -d docs -private -source 1.4 *.java
The parameters have the following meaning.
-d docs
-private
-source 1.4
assert
*.java
Tags are special values specified with an at-sign, and followed by a value.
RSS feed Java FAQ News | http://javafaq.nu/java-article788.html | CC-MAIN-2018-09 | refinedweb | 165 | 60.82 |
I’m trying to convert a list to a tuple. When i google it I find a lot of a answers like:
l = [4,5,6] tuple(l)
But if I do that I get an error message:
TypeError: ‘tuple’ object is not callable
I’m using python 2.7.3
How can I convert Rpy2 data frame to python list or tuple?
I have a Rpy2 data frame as <class ‘rpy2.robjects.vectors.DataFrame’>. How can I convert it to a Python list or tuple with every row as an element? Thanks!
Python tuple instead of list
I read some tricks about Python and met the following code. I confused that why the code create tuple with two elements in the list insted of list. Why python returns tuple in list instead of list in
Python convert tuple to array [duplicate]
This question already has an answer here: Making a flat list out of list of lists in Python [duplicate] 8 answers How can I convert at 3-Dimensinal tuple into an array a = [] a.append((1,2,4))
Convert a string list to a tuple in Python
I am trying to convert a string such as ‘SUP E P I C’ to a tuple containing all the non-spaced strings. For example, if the input is ‘SUP E P I C’, then the program should return (‘S’, ‘U’, ‘P’, ‘E’,
Fast way to convert array to tuple/list in python?
It seems like the time it takes to convert an array to a tuple scales linearly with the the length of the array. Is there a way to do this more efficient? I need to insert arrays with 5e+6 elements in
Python convert Tuple to Integer
Is there any function that can convert a tuple into an integer? Example: input = (1, 3, 7) output = 137
Convert List of Lists into Tuple
How can I convert a list of lists [[a]] into a tuple ([a], [a])? Example: input: [[1], [2,3,4]] output: ([1], [2,3,4])
Python tuple list
Can You help me to convert Python list: [(1, ‘a’), (2, ‘b’), (2, ‘c’), (3, ‘d’), (3, ‘e’)] so that: (1, ‘a’) is index 0 (2, ‘b’), (2, ‘c’) are both index 1 (3, ‘d’), (3, ‘e’) are both index 2 Simply,
Python convert dictionary into tuple
How do I convert a dictionary into a tuple? Below is my dynamic dictionary. genreOptions = GenreGuideServiceProxy.get_all_genres(); genreDictionary = {}; for genre in genreOptions: genreDictionary[gen
Python convert tuple to string
I have a tuple of characters like such: (‘a’, ‘b’, ‘c’, ‘d’, ‘g’, ‘x’, ‘r’, ‘e’) How do I convert it to a string so that it is like: ‘abcdgxre’
Answers
It should work fine, don’t use tuple, list or other special names as a variable name. It’s probably whats causing your problem.
>>> l = [4,5,6] >>> tuple(l) (4, 5, 6)
Expanding on eumiro’s comment, normally tuple(l) will convert a list l into a tuple:
In [1]: l = [4,5,6] In [2]: tuple Out[2]: <type 'tuple'> In [3]: tuple(l) Out[3]: (4, 5, 6)
However, if you’ve redefined tuple to be a tuple rather than the type tuple:
In [4]: tuple = tuple(l) In [5]: tuple Out[5]: (4, 5, 6)
then you get a TypeError since the tuple itself is not callable:
In [6]: tuple(l) TypeError: 'tuple' object is not callable
You can recover the original definition for tuple by quitting and restarting your interpreter, or (thanks to @glglgl):
In [6]: del tuple In [7]: tuple Out[7]: <type 'tuple'>
You might have done something like this: –
>>> tuple = 45, 34 # You used `tuple` as a variable here >>> tuple (45, 34) >>> l = [4, 5, 6] >>> tuple(l) # Will try to invoke the variable `tuple` rather than tuple type. Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> tuple(l) TypeError: 'tuple' object is not callable >>> >>> del tuple # you can delete object tuple created earlier to make it work >>> tuple(l) (4, 5, 6)
Here’s the problem.. Since you have used a tuple variable to hold a tuple (45, 34) earlier.. So, now tuple is an object of type tuple now..
It is no more a type and hence, it is no more Callable.
Never use any built-in types as your variable name.. You do have any other name to use. Use any arbitrary name for your variable instead..
l = [4,5,6]
to convert list to tuple,
l = tuple(l)
I find many answers up to date and properly answered but will add something new to stack of answers.
In python there are infinite ways to do this, here are some instances
Normal way
>>> l= [1,2,"stackoverflow","pytho"] >>> l [1, 2, 'stackoverflow', 'pytho'] >>> tup = tuple(l) >>> type(tup) >>> tup = tuple(l) >>> type(tup) <type 'tuple'> >>> type(tup) <type 'tuple'> >>> tup (1, 2, 'stackoverflow', 'pytho')
smart way
>>>tuple(item for item in l) (1, 2, 'stackoverflow', 'pytho')
Remember tuple is immutable ,used for storing something valuable. For example password,key or hashes are stored in tuples or dictionaries. If knife is needed why to use sword to cut apples. Use it wisely,will also make your program efficient. | http://w3cgeek.com/python-convert-list-to-tuple.html | CC-MAIN-2019-04 | refinedweb | 871 | 61.9 |
I'm trying to combine two json dictionaries. So far i have a json file(myjfile.json) with the contents
{"cars": 01, "houses": 02, "schools": 03, "stores": 04}
Also i have a dictionary(mydict) in python which look like this:
{"Pens": 1, "Pencils": 2, "Paper": 3}
when i combine the two they are two different dictionaries
with open('myfile.json' , 'a') as f:
json.dump(mydict, f)
Note that the myfile.json, is being written with 'a' and a /n in the code because i want to keep the contents of the file and start a new line each time its being written to.
I want the final result to look like
{"cars": 01, "houses": 02, "schools": 03, "stores": 04, "Pens": 1, "Pencils": 2, "Paper": 3}
IIUC you need to join to dicts into one, you could do it with
update:
a = {"cars": 1, "houses": 2, "schools": 3, "stores": 4} b = {"Pens": 1, "Pencils": 2, "Paper": 3} a.update(b) print(a)
output would looks like:
{'Paper': 3, 'cars': 1, 'Pens': 1, 'stores': 4, 'Pencils': 2, 'schools': 3, 'houses': 2}
To create whole new
dict without touch
a you could do:
out = dict(list(a.items()) + list(b.items())) print(out) {'Paper': 3, 'cars': 1, 'Pens': 1, 'stores': 4, 'Pencils': 2, 'schools': 3, 'houses': 2}
EDIT
For you case you could load your
json with
json.load update it and then save it with
json.dump:
mydict = {"Pens": 1, "Pencils": 2, "Paper": 3} with open('myfile.json' , 'r+') as f: d = json.load(f) d.update(mydict) f.seek(0) json.dump(d, f)
To add onto what Anton said, you can read the json file into a dictionary. Afterwards use
a.update(b) like he has, and overwrite the file.
If you open the file to append, and do json dump like you have it will just create another line with the new json data.
Hope this helps.
Given OP's question has a file with JSON contents this answer might be better:
import json import ast myFile = 'myFile.json' jsonString = lastLineofFile(myfile) d = ast.literal_eval(jsonString) # from file d.update(dict) with open(myFile, 'a') as f: json.dump(d, f)
Also, since this is incremental, the last line of file can be obtained by the following efficient helper function:
# Read the last line of a file. Return 0 if not read in 'timeout' number of seconds def lastLineOfFile(fileName, timeout = 1): elapsed_time = 0 offset = 0 line = '' start_time = time.time() with open(fileName) as f: while True and elapsed_time < timeout: offset -= 1 f.seek(offset, 2) nextline = f.next() if nextline == '\n' and line.strip(): return line else: line = nextline elapsed_time = time.time() - start_time if elapsed_time >= timeout: return None | http://www.dlxedu.com/askdetail/3/da6d94f95dd629851f2e6d1dda6a87de.html | CC-MAIN-2019-35 | refinedweb | 451 | 73.88 |
Pyparsing will process input text until it runs out of matching text for its given parser elements. If it finds an unexpected token or character and there is no matching parsing element, then pyparsing will raise a ParseException. ParseExceptions print out a diagnostic message by default; they also have attributes to help you locate the line number, column, text line, and annotated line of text.
ParseException
If you provide the input string Hello, World? to your parser, you will receive the exception:
Hello, World?
pyparsing.ParseException: Expected "!" (at char 12), (line:1, col:13)
At this point, you can choose to fix the input text or make the grammar more tolerant of other syntax (in this case, supporting question marks as valid sentence terminators).
Consider an application where you need to process chemical formulas, such as NaCl, H2O, or C6H5OH. For this application, the chemical formula grammar will be one or more element symbols, each followed by an optional integer. In BNF-style notation, this is:
integer :: '0'..'9'+
cap :: 'A'..'Z'
lower :: 'a'..'z'
elementSymbol :: cap lower*
elementRef :: elementSymbol [ integer ]
formula :: elementRef+
The pyparsing module handles these concepts with the classes Optional and OneOrMore. The definition of the elementSymbol will use the two-argument constructor Word: the first argument lists the set of valid leading characters, and the second argument gives the set of valid body characters. Using the pyparsing module, a simple version of the grammar is:
Optional
OneOrMore
elementSymbol
Word
caps = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
lowers = caps.lower()
digits = "0123456789"
element = Word( caps, lowers )
elementRef = element + Optional( Word( digits ) )
formula = OneOrMore( elementRef )
elements = formula.parseString( testString )
So far, this program is an adequate tokenizer, processing the following formulas into their appropriate tokens. The default behavior for pyparsing is to return all of the parsed tokens within a single list of matching substrings:
H2O -> ['H', '2', 'O']
C6H5OH -> ['C', '6', 'H', '5', 'O', 'H']
NaCl -> ['Na', 'Cl']
Of course, you want to do some processing with these returned results, beyond simply printing them out as a list. Assume that you want to compute the molecular weight for each given chemical formula. The program somewhere defines a dictionary of chemical symbols and their corresponding atomic weight:
atomicWeight = {
"O" : 15.9994,
"H" : 1.00794,
"Na" : 22.9897,
"Cl" : 35.4527,
"C" : 12.0107,
...
}
Next it would be good to establish a more logical grouping in the parsed chemical symbols and associated quantities, to return a structured set of results. Fortunately, the pyparsing module provides the Group class for just this purpose. By changing the elementRef declaration from:
Group
elementRef
elementRef = element + Optional( Word( digits ) )
to:
elementRef = Group( element + Optional( Word( digits ) ) )
you will now get the results grouped by chemical symbol:
H2O -> [['H', '2'], ['O']]
C6H5OH -> [['C', '6'], ['H', '5'], ['O'], ['H']]
NaCl -> [['Na'], ['Cl']]
The last simplification is to include a default value for the quantity part of elementRef, using the default argument for the constructor of the Optional class:
elementRef = Group( element + Optional( Word( digits ),
default="1" ) )
Now every elementRef will return a pair of values: the element's chemical symbol and the number of atoms of that element, with "1" implied if no quantity is given. Now the test formulas return a very clean list of ordered pairs of element symbols and their respective quantities:
"1"
H2O -> [['H', '2'], ['O', '1']]
C6H5OH -> [['C', '6'], ['H', '5'], ['O', '1'], ['H', '1']]
NaCl -> [['Na', '1'], ['Cl', '1']]
The final step is to compute the atomic weight for each. Add a single line of Python code after the call to parseString:
parseString
wt = sum( [ atomicWeight[elem] * int(qty)
for elem,qty in elements ] )
giving the results:
H2O -> [['H', '2'], ['O', '1']] (18.01528)
C6H5OH -> [['C', '6'], ['H', '5'], ['O', '1'], ['H', '1']]
(94.11124)
NaCl -> [['Na', '1'], ['Cl', '1']] (58.4424)
Listing 2 contains the entire pyparsing program.
Listing 2
from pyparsing import Word, Optional, OneOrMore, Group, ParseException
atomicWeight = {
"O" : 15.9994,
"H" : 1.00794,
"Na" : 22.9897,
"Cl" : 35.4527,
"C" : 12.0107
}
caps = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
lowers = caps.lower()
digits = "0123456789"
element = Word( caps, lowers )
elementRef = Group( element + Optional( Word( digits ), default="1" ) )
formula = OneOrMore( elementRef )
tests = [ "H2O", "C6H5OH", "NaCl" ]
for t in tests:
try:
results = formula.parseString( t )
print t,"->", results,
except ParseException, pe:
print pe
else:
wt = sum( [atomicWeight[elem]*int(qty) for elem,qty in results] )
print "(%.3f)" % wt
========================
H2O -> [['H', '2'], ['O', '1']] (18.015)
C6H5OH -> [['C', '6'], ['H', '5'], ['O', '1'], ['H', '1']] (94.111)
NaCl -> [['Na', '1'], ['Cl', '1']] (58.442)
One of the nice by-products of using a parser is the inherent validation it performs on the input text. Note that in the calculation of the wt variable, there was no need to test that the qty string was all numeric, or to catch ValueError exceptions an invalid argument raised. If qty weren't all numeric, and therefore a valid argument to int(), it would not have passed the parser.
wt
qty
ValueError
int()
Pages: 1, 2, 3, 4, 5
Next Page
Sponsored by:
© 2014, O’Reilly Media, Inc.
(707) 827-7019
(800) 889-8969
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. | http://www.linuxdevcenter.com/pub/a/python/2006/01/26/pyparsing.html?page=3 | CC-MAIN-2014-52 | refinedweb | 856 | 54.32 |
Galaxy Shooter Input System Conversion: Part 1
I started learning game development from Jonathan Weinberger back at the beginning of the summer in 2020. I started on Udemy and then joined GameDevHQ. The Galaxy Shooter game has been with me since the beginning. I frequently revisit it to test out new things. Sometimes I break it, but that too is probably a good learning experience. The game is currently broken for me. I’ll be fixing it but, the enemy's spawning is very messed up. My player gets damaged without anything appearing on screen. This happened when I upgraded my project to Unity 2020. Anyway, I can still show you how to update to the new Input System. Since it really doesn’t need enemies for me to demonstrate.
Installation and Initial Setup
First Install the Input System from the Package Manager.
Restart the Unity Editor once you’ve installed the package. It’ll restart and prompt yout to approve the switch to the new Input System.
Then, in the project window, create an Input Actions Asset. Mine was at the very bottom of the context menu when I right-clicked in the project window.
On your Input Action Asset (IAA), in the inspector, click “Generate C# Class” and then Apply. This will create a script above your IAA.
Button Setup and Assignments
Click on your IAA to open it’s settings menu.
First add an ‘Action Map’ and call it something that makes sense like ‘Gameplay’. Then you’ll want to create an action for each input function like Move, Jump, Shoot, etc…
For the Galaxy Shooter we have the basic Move and Shoot, but also some Auxiliary features like the Thrusters, Powerup Magnet, etc….
On the right, in the Properties, under Action Type choose ‘Value’ and for Control Type choose ‘Vector 2’. I’ll be using a Unity Event to pass in the existing Horizontal and Vertical variables to the new Input method.
For the Move action, we need a 2D Vector Composite Binding. So, select that from the dropdown. Then you’ll want to assign the WSAD keys to the corresponding directions. A quick way to do that is to click the ‘Listen’ button and press the desired key or button.
Now create Actions for all the various abilities the player has like Shoot, Thrusters, and Magnet. For these you can set the Action Type as Button. Then use the Listen feature to assign a key.
The Game Manager features like Pausing the game, starting the next wave and restarting after Game Over will be assigned to a different Action Map but the process is the same.
Connecting The Dots
Now we’ll need to connect all the new stuff to the old stuff, delete some stuff and write new stuff.
While I was doing some experimenting and learning new stuff, I separated some functions of the Player into separate classes. So I have the Player, a Movement script, another for the Auxiliary Controls and another for the actual Auxiliary features. Then another for Power Up Abilities and another for Weapons. I basically wanted to be able to turn off individual features, and like I said, I was experimenting. I also never planned on converting the Input System but figured it would be a good challenge.
This looks like it’ll be complicated, but it’s almost all Action-based. So I will likely just need to replace a few old Input Actions with the corresponding new ones…
To get started with this I am going to create an Input Controller class and attach it to the Game Manager object. This will let me assign and hook it all up in the editor, more or less.
Next, I’ll add a Unity Event to this class that will let me pass in the horizontal and vertical inputs. That starts with adding three namespaces for this script: UnityEngine.Events(for the Event), UnitEngine.InputSystem(for the new Inputs), and System to allow us to use Actions. Then comes the event.
Now I need to get access to the event in the inspector, so we need to use it in the InputController Class. We also need a reference to the Controls class, otherwise this is pointless. The Game Manager will make a new Controls in the Awake method, then we’ll grab the necessary Action Maps in the OnEnable Method.
Will that all set, I can start working on the actual movement controls. The Action created in the Input Settings automatically created what I need in my generated Controls class. All I need to do is use the action.
So, for Move, it’s called OnMove. Within that method I will invoke the Event and will pass in the two float values that make a Vector2. You will need to subscribe the OnMove method to the actions in the Input Settings. An easy way to do that is type the actions out with the method that doesn’t yet exist and then use the IntelliSense to add the method for you. I added a Debug.Log to test this out before I proceed, but I need to hook the Player up to all this first.
Getting the Player to Move, Again…
To get the Player moving again, I am going to add it to the Input Controller Event in the Inspector.
To do that, I need the corresponding method in the Player’s Movement script. As I said before, the original GameDevHQ course did not require you to separate each feature into its own script. That was my experimenting. So with the same signature as the Event and method in the Input Controller class, I created a new OnMoveInput method. I also assigned the global variables for horizontal and vertical to the parameters the method takes in. Then the usual Debug.Log for testing.
Back in Unity, I need to create an event in the GameManager’s inspector, and then drag my Player game object into the available slot. From there I select my Movement script from the list, and then the OnMoveInput method. Now I can test.
Before I can test my new inputs. On big thing needs to be updated to the new system. The EventSystem object in your hierarchy. There will be a button prompting you to switch to the new Input System giving you the results below. The default is fine unless you want to setup gamepad or other controls. Back to the test.
The result I currently want is just a message saying “Player Move Input (0,1)” for up, ( 0,-1) for down and so on. Let’s see what happens…
Okay, that works as expected. Now I need to replace the old movement code with something that works with the new Input.
I’ve commented out my original movement code so you can see what I’m replacing. Rather than the two local variables for Horizontal and Vertical, I’m getting them from the global variables, which get values from the OnMove Event. I then declare a local Vector 2 and pass in those two globals. I’m still using a transform.Translate with direction multiplied by speed and Time.deltaTime. To keep the player within the screen bounds I have those defined in global variables and use Mathf.Clamp on the position. Now we test again.
Now I can delete the commented-out code and move to the next feature, getting the player to Shoot, again… Before I do that I’m going to add the arrow buttons into the move input. No code needs to be changed. I just need to add some bindings to the Move action.
Reactivating the Weapons Systems…
Since I like being able to assign things in the inspector, I’m going to need to add Unity Events for each feature to my Input Controller Class. I can shoot and reload from my Weapons script, so I’ll need separate Events for each, which don’t need any parameters. I’ll then create separate methods for shooting and reloading. Then, I’ll subscribe those methods to the corresponding Actions on the Controls.
Next, I just need to Invoke the Events from each method.
Then, in my Weapons script I need to replace this original way of shooting with something that works with the new Input.
All I had to do was take the if statement and delete the old Input code. Then I just put that into a new method that will be called from the Event.
For the Reload feature, I just need to take the ammo limit calculation, put that in Update. Then I take what’s within the original Input.GetKeyDown if statement and put that into the new OnReloadInput method.
As everyone likes to say, hop back into Unity, and assign the methods to their corresponding Events.
Now, we Test!
Okay, so the inputs work like I want. I’ve got some really weird bugs I can only assume are a result of upgrading the project to Unity 2020. They aren’t affecting the controls though. Anyway… We will just worry about the inputs. I’ll continue this process in the next article. | https://aarongrincewicz.medium.com/galaxy-shooter-input-system-conversion-part-1-5191706d44cf?source=user_profile---------8---------------------------- | CC-MAIN-2022-40 | refinedweb | 1,532 | 74.19 |
Type: Posts; User: rockx
I dont know what seems to be wrong now
#include <iostream>
#include <stdlib.h>
#include <limits>
#include <ctime>
#include <iomanip>
using namespace std;
ok I have redone the code, and it works for one round of game and produces the correct results
#include <iostream>
#include <stdlib.h>
#include <limits>
#include <ctime>
#include <iomanip>
...
What seems to be the problem in my code
#include <stdlib.h>
#include <iostream>
#include <iomanip>
#include <string>
#include <ctime>
using namespace std;
Somebody please help
I am a C++ and a C# fan. I have all the basic Microsoft software's on me . I also possess some HTML (as well as HTML5) knowledge together with CSS (CSS3). I am able to do basic static websites with...... | http://forums.codeguru.com/search.php?s=b5bb8995a583dbf6eeb5bf7609604711&searchid=7002099 | CC-MAIN-2015-22 | refinedweb | 124 | 73.17 |
Ok I just started C++ yesterday. Im somewhat familiar of how it works as I know html, css and a little bit of PHP.
So yesterday all I did was read through all the articles I could find about C++ and I waited until today until really starting to learn. I went through the first begginer tutorial teaching you about variables, input and output(I though it was very well written and clear by the way).
So I decided before I go onto a harder thing I will try making something with that I learned
Know what it does is ask you this quest.
How old are you: and you type in the answer here
Ok so you are: Right here it says a number 8 higher than the one you entered.
Is that how old you are?: Now you should type in no and itl say
O sorry so how old are you?: and you type in your age
O so your _? I must have misread it last time: and thats the end
Now my problem is when it gets to the part where its suppores to say o sorry so how old are you the window just closes down.
I had a few other problems but I fixed them. Also when I compile it it no errors come up. I'v been experimenting for about 30 minutes and can't find a solution.
Heres my code
Code:#include <iostream> using namespace std; int main() { int thisisanumber; cout<<"please enter your age: "; cin>> thisisanumber; cin.ignore(); cout<<"so your: "<<8+thisisanumber <<"\n"; int no; cout<<"is that how old you are?: "; cin>> no; cin.ignore(); cout<<no <<"your not " <<"\n"; int real; cout<<"Sorry I must of misheard you. So what is your real age then?: "; cin>> real; cin.ignore(); cout<<"O , ok so your"<< real <<"\n"; cout<<"Well thanks for spending this time with me even though"<<"\n"; cout<<"I am just a computer programm" <<"\n"; } | https://cboard.cprogramming.com/cplusplus-programming/70604-stops-before-end-code.html | CC-MAIN-2017-26 | refinedweb | 329 | 81.02 |
When.
The movie magazine app
Let’s assume we’ve been commissioned to build a clean prototype for μveez, a new i18n-ized movie magazine app. Our client has asked that we build it as an SPA with the React view framework, since React came highly recommended by her colleagues for performant SPAs. We’ve been asked to build two prototype SPAs, actually: one for the admin panel and one for the front-facing website. The agreed feature list is as follows.
General
- μveez will initially support Arabic, English, and French
Admin
- Film director index with names in supported locales
- Adding a director with translations in supported locales
- Movie index with titles in supported locales
- Adding a movie with translated titles and synopses in supported locales
Front
- Language switching between our supported locales, covering RTL directionality for Arabic
- Home page with featured directors, quote of the day, and featured movies
- Movie index
- Single (show) movie
Learn how to find the best i18n manager and follow our best practices for making your business a global success.Check out the guide
Framework
Note » I’ll assume that you have a basic working knowledge of React and Redux.
Alright, we’ve worked with React before, so we know that we’ll likely want to adopt a Flux architecture. Flux’s uni-directional data flow makes it easy to reason about our app state, and places this state in one DRY store. Redux is a well-supported Flux implementation, so we’ll use that. We’ll also need to handle routing and basic i18n UI. To get going quickly, we can pull in Bootstrap for a CSS framework.
Our entire framework (with versions at time of writing) can, then, look like this.
- React (16.8)
- Redux (4.0)
- React Redux (6.0)
- Redux Thunk (2.3) —for asynchronous redux actions
- React Router DOM (5.0) —for browser routing
- i18next (15.0) —for i18n-ized UI
- Bootstrap (4.3)
- Bootstrap4-rtl (4.0) —for right-to-left CSS layout
- Reactstrap (8.0) —for Bootstrap React components
- Lodash (4.17) —for JavaScript utilities
A Little Organization: Directory Structure
We’ll adopt the common differentiation between React state-aware containers and presentational components. We’ll also want to place our Redux actions and reducers in logical locations. And we may well need a place for our apps’ services. Given that we bootstrap our apps with create-react-app, our directory structure can be this beauty:
/ ├── public/ │ ├── api/ │ ├── img/ │ ├── styles/ │ ├── translations/ │ └── index.html └── src/ ├── actions/ ├── components/ ├── config/ ├── containers/ ├── reducers/ ├── services/ ├── styles/ ├── index.js └── routes.js
We’ll mock our server back-end with JSON files that we place in the
public/api directory, and we’ll explore these files in detail later. For now, let’s get to to building! We’ll start with the admin panel.
Note » If you’re a React / Redux guru and you just want to get to the juicy i18n config, UI, and routing bits, you may want to skip ahead to our building of the front-facing magazine app.
The Admin Panel
Note » You can see a live demo of the admin panel on heroku. You can also find all of the panel’s source code on GitHub.
Scaffolding
Our Store
Let’s setup our Redux store.
/src/index.js
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import App from './components/App' import store from './services/store' ReactDOM.render( <Provider store={store}> <App/> </Provider>, document.getElementById('root') )
If you’ve used React and Redux before, this is pretty standard stuff. We’re simply wrapping our whole app in the Redux store
Provider so that our store is available to any
App subcomponent that needs it. To keep things clean, we’ve housed our store in its own file. Let’s take a quick look at it.
/src/services/store.js
import { createStore, applyMiddleware, compose } from 'redux' import thunk from 'redux-thunk' import reducer from '../reducers' let composeEnhancers = null if (process.env.NODE_ENV === 'development' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) { composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ } else { composeEnhancers = compose } const store = createStore(reducer, composeEnhancers(applyMiddleware(thunk))) export default store
We bring in Redux Thunk as middleware to handle asynchronous Flux actions. The handy Redux Devtools browser extension is tied in to help us debug our state in our development environment. Our
reducers will be explored as we dive into each of our view models. Now let’s get to routing.
Routing
We’ll assume that our admin panel UI can be in English only, so we won’t worry about i18n-ized routes until we get to our front-facing app. For now, we can configure our admin’s routes as per our requirements.
/src/routes.js
import Home from './components/Home' import Movies from './components/Movies' import AddMovie from './containers/AddMovie' import Directors from './components/Directors' const routes = [ { path: "/", exact: true, component: Home }, { path: "/directors", component: Directors }, { path: "/movies", exact: true, component: Movies }, { path: "/movies/new", exact: true, component: AddMovie } ] export default routes
We’ll have a home page, a directors index (which will include a simple Add Director form), and a movies index. The form for adding a movie will be relatively large, so it’s broken out into its component. Again, we’ll get to each of these components, as well as their respective reducers and actions, a bit later. For now, let’s round out our scaffolding by implementing our routing and creating our basic app layout.
/src/components/App.js
import React from 'react' import { Switch, Route, BrowserRouter as Router } from 'react-router-dom' import routes from '../routes' import AppNavbar from '../components/AppNavbar' import AppFooter from '../components/AppFooter' export default () => ( <div style={{paddingTop: "80px"}}> <Router> <div> <AppNavbar /> <div className="container"> <main id="main" role="main"> <Switch> {routes.map((route, index) => ( <Route key={index} path={route.path} exact={route.exact} component={route.component} /> ))} </Switch> </main> </div> <AppFooter /> </div> </Router> </div> )
We spin over our configured routes and render a
Route component for each one. We wrap the majority of our app in the requisite
BrowserRouter component (aliased as
Router), and use Bootstrap’s
.container for layout.
Note » If you’re not familiar with React Router, check out its excellent documentation.
Our
AppNavbar and
AppFooter are pretty much presentational here, so we’ll skip their dissection for brevity. You can check them out in the GitHub repo if you’re curious about how they’re coded.
You may have noticed that our root component is
Home, which means that we’ll render that component when we hit our
/ route.
Home is a simple, stateless functional component. Let’s take a look at it.
/src/components/Home.js
import React from 'react' import { Row, Col, Card, CardHeader, ListGroup, ListGroupItem, } from 'reactstrap' import { Link } from 'react-router-dom' export default () => ( <Row className="justify-content-center"> <Col sm="10" md="7" lg="5" xl="4"> <h2>Welcome!</h2> <Card> <CardHeader tag="h3" className="h4"> Manage </CardHeader> <ListGroup flush> <ListGroupItem> <Link to="/directors">Directors</Link> </ListGroupItem> <ListGroupItem> <Link to="/movies">Movies</Link> </ListGroupItem> </ListGroup> </Card> </Col> </Row> )
We use reactstrap’s Bootstrap components to style, responsively size, and centre our list of
Links. That’s it really.
Here’s a look at our app so far.
Not bad for a prototype. Thank you, Twitter Bootstrap 🙏🏽.
Alright, that’s our admin panel scaffolded. Let’s to get to our model CRUD. We’ll start with directors.
Director CR
UD
We can start with a
Directors component that will contain our
AddDirectors form and
DirectorList index.
Note » As per as our client’s requirements, we’re skipping updating and deleting director functionality. This is a proof of concept prototype after all.
/src/components/Directors.js
import React from 'react' import AddDirector from '../containers/AddDirector' import DirectorList from '../containers/DirectorList' export default () => ( <div> <h2 style={{marginBottom: "20px"}}>Directors</h2> <AddDirector style={{marginBottom: "20px"}}/> <DirectorList /> </div> )
Our
DirectorList will need to load data from our mock API. Let’s take a look at some of this JSON.
/src/public/api/directors.json (excerpt)
[ { "id": 1, "name_ar": "كرستوفر نولان", "name_en": "Christopher Nolan", "name_fr": "Christopher Nolan" }, { "id": 2, "name_ar": "ميشيل جوندري", "name_en": "Michael Gondry", "name_fr": "Michael Gondry" }, // ... ]
This is how we would expect a request like
GET /admin/api/directors to respond. We can consume this “API” and present it in our views. Let’s take a look at how our director list would look like.
A simple
<table> should be good to get us started. We just need to pull in the data from our JSON file and load it into this table, minding our separation of concerns. If you know the ways of Reacty Reduxy Fluxy kung-fu, you know what’s next: a reducer, young grasshopper.
/src/reducers/directors.js
import _ from 'lodash' const INITIAL_STATE = { directors: [], } export default (state = INITIAL_STATE, action) => { let directors = [] switch(action.type) { case 'ADD_DIRECTORS': directors = _.unionBy(action.directors, state.directors, 'id') return { ...state, directors } default: return state } }
Our
ADD_DIRECTORS action will reduce our state to the given list of directors, merging it in with whatever directors are currently loaded. We use the popular utility library, Lodash, and its handy
unionBy function, to help us with the merge.
Next, we’ll need to write a couple of actions that fetch our existing directors and add them to our app state.
/src/actions/index.js
export const fetchDirectors = () => dispatch => ( fetch('/api/directors.json') .then(response => response.json()) .then(directors => dispatch(addDirectors(directors))) .catch(err => console.error(err)) ) export const addDirectors = directors => ({ type: 'ADD_DIRECTORS', directors })
The
fetchDirectors action is asynchronous. The Redux Thunk middleware will notice that we’re returning a function from
fetchDirectors and step in to handle the action. It will also provide the returned function with a
dispatcher to allow us to call other actions.
We use the standard
fetch API to make an async request that asks for our mock JSON. Once we get that JSON, we call our
addDirectors action with the directors we’ve received. Of course, our directors reducer is already setup to handle this action and update our app state.
Note »
fetchis widely supported, but not 100%. Some older browsers do not support the relatively new API. If you want something closer to complete browser coverage, you may want to add a polyfill or use a library like axios for your XHR calls.
We can now build out our view.
/src/containers/DirectorList.js
import { Table } from 'reactstrap' import { connect } from 'react-redux' import React, { Component } from 'react' import { fetchDirectors } from '../actions' class DirectorList extends Component { componentDidMount() { this.props.fetchDirectors() } render() { return ( <Table> <thead className="thead-dark"> <tr> <th>id</th> <th className="text-right" style={{paddingRight: "5rem"}} > Name (Arabic) </th> <th>Name (English)</th> <th>Name (French)</th> </tr> </thead> <tbody> {this.props.directors.map(director => ( <tr key={director.id}> <td>{director.id}</td> <td className="text-right" style={{paddingRight: "5rem", maxWidth: "8rem"}} > {director.name_ar} </td> <td>{director.name_en}</td> <td>{director.name_fr}</td> </tr> ))} </tbody> </Table> ) } } export default connect( state => ({ directors: state.directors.directors }), { fetchDirectors } )(DirectorList)
We simply map
state.directors.directors to a
directors prop in our React
Component, fetch the existing directors when our component has mounted, and render out our
directors as table rows. Bada boom, bada bing.
Let’s get to adding a director in our demo admin app. First, we’ll need some new bits of state.
/src/reducers/directors.js (excerpt)
const INITIAL_STATE = { lastId: 0, directors: [], newDirector: { name_ar: '', name_en: '', name_fr: '', }, } // ...
Since we don’t have a real back-end, we’ll track the
lastId of an added director in browser memory. We’ll also keep track of the entered translations of a
newDirector as the user enters them. We can use this new state to add the new director at the appropriate time.
Let’s actually track our
lastId when we add directors.
/src/reducers/directors.js (excerpt)
// ... case 'ADD_DIRECTORS': directors = _.unionBy(action.directors, state.directors, 'id') lastId = _.maxBy(directors, 'id').id return { ...state, lastId, directors } // ...
Whenever we add directors in bulk, we get the
lastId added to the “back-end” by getting the largest
id in our current set of our directors.
Alright, let’s get to our view for adding directors. While we’re in the directors reducer, let’s add a new action handler for tracking translation user input.
/src/reducers/directors.js (excerpt)
// ... import { defaultOnUndefinedOrNull } from '../services/util' //... case 'SET_NEW_DIRECTOR_NAME': return { ...state, newDirector: { name_ar: defaultOnUndefinedOrNull(action.name_ar, state.newDirector.name_ar), name_en: defaultOnUndefinedOrNull(action.name_en, state.newDirector.name_en), name_fr: defaultOnUndefinedOrNull(action.name_fr, state.newDirector.name_fr), } } // ...
To avoid
undefined and
null values—which will cause React to throw an error when our
AddDirector component is populating its text fields—we default our translations values to current state using the
defaultOnUndefinedOrNull utility function. This function checks if its first parameter is
undefined or
null, and if it is returns the second parameter. Otherwise it simply returns the first parameter.
When the user starts typing her Arabic translation, for example, the English and French translations will cycle through our app state, remaining as
'' (empty strings). When she moves on to writing her English translation, the Arabic translation will be maintained as she entered it.
A
setNewDirector action will be dispatched to track our new director translations state.
/src/actions/index.js (excerpt)
// ... export const setNewDirector = ({ name_ar, name_en, name_fr }) => ({ type: 'SET_NEW_DIRECTOR_NAME', name_ar, name_en, name_fr, }) // ...
Of course, our
AddDirector view will be the sheer epitome of UX design.
Alan Cooper would be proud. Ok, ok. Let’s get to the code.
/src/containers/AddDirector.js
import { connect } from 'react-redux' import React, { Component } from 'react' import { Card, Form, Button, CardBody, CardTitle, } from 'reactstrap' import { setNewDirector } from '../actions' import AddDirectorTranslation from '../components/AddDirectorTranslation' class AddDirector extends Component { _updateTranslation(key, value) { this.props.setNewDirector({ [key]: value }) } render() { return ( <Card style={this.props.style}> <CardBody> <CardTitle>Add Director with Name</CardTitle> <Form inline> <AddDirectorTranslation dir="rtl" name="name_ar" label="Arabic" value={this.props.name_ar} onChange={value => this._updateTranslation("name_ar", value)} /> <AddDirectorTranslation name="name_en" label="English" value={this.props.name_en} onChange={value => this._updateTranslation("name_en", value)} /> <AddDirectorTranslation name="name_fr" label="French" value={this.props.name_fr} onChange={value => this._updateTranslation("name_fr", value)} /> <Button>Add</Button> </Form> </CardBody> </Card> ) } } export default connect( state => { const { name_ar, name_en, name_fr } = state.directors.newDirector return { name_ar, name_en, name_fr } }, { setNewDirector, } )(AddDirector)
Reactstrap’s presentational components are pulled in for styling. We also wire up our
setNewDirector action to be dispatched whenever our
AddDirectorTranslations are changed ie. whenever the user enters text. And, since
AddDirectorTranslation’s internal text input is controlled, we make sure to pass it the relevant part of our
newDirector state. This way we ensure uni-directional data flow. Our state is always the single source of truth about the
newDirector’s translations. This keeps things nice and easy to reason about.
Let’s dive into the
AddDirectorTranslation component just to see what it’s composed of.
/src/components/AddDirectorTranslation.js
import React from 'react' import { FormGroup, Label, Input } from 'reactstrap' export default props => { const dir = props.dir || 'ltr' const { name, label, value, onChange } = props return ( <FormGroup className="mb-2 mr-sm-2 mb-sm-0"> <Label for={name} {label} </Label> <Input dir={dir} id={name} type="text" name={name} value={value} onChange={e => onChange(e.target.value)} /> </FormGroup> ) }
We default our input’s
directionality to left-to-right if none is provided by the developer. We also connect the synthetic
onChange input event to the parent component, calling its provided
onChange, delegating upwards.
AddDirectorTranslation is effectively a presentational component that offers connections into its text input.
Ok, let’s go back to our directors reducer. We’ll update it to include the action handling logic that will add a new director to our state from user input.
/src/reducers/directors.js (excerpt)
// ... case 'ADD_DIRECTOR': lastId = state.lastId + 1 directors = [ ...state.directors, { id: lastId, name_ar: action.name_ar, name_en: action.name_en, name_fr: action.name_fr, } ] return { ...state, lastId, directors, newDirector: { name_ar: '', name_en: '', name_fr: '', }, } // ...
ADD_DIRECTOR is handled by first incrementing our
lastId, since we’re going to be upping the count of the
directors collection in our state. We use this incremented value as the
id of the director we’re adding, and bring in the user-entered name translations of the director while we’re at it. To clear out the text inputs, we make sure to reset the user-entered translation state when we reduce.
Ok, now we’ll need a quick action that we can dispatch to add the new director.
/src/actions/index.js (excerpt)
// ... export const addDirector = ({ name_ar, name_en, name_fr }) => ({ type: 'ADD_DIRECTOR', name_ar, name_en, name_fr, }) // ...
We can now call
addDirector from our view to finish up our add director functionality.
/src/containers/AddDirector.js (excerpt)
// ... import { addDirector, setNewDirector } from '../actions' class AddDirector extends Component { // ... _addDirector() { const { name_ar, name_en, name_fr } = this.props if (name_ar && name_en && name_fr) { this.props.addDirector({ name_ar, name_en, name_fr }) } } render() { return ( <Card style={this.props.style}> <CardBody> <CardTitle>Add Director with Name</CardTitle> <Form inline> <AddDirectorTranslation ... /> {/* ... */} <Button onClick={() => this._addDirector()}>Add</Button> </Form> </CardBody> </Card> ) } } export default connect( state => { // ... }, { addDirector, setNewDirector, } )(AddDirector)
We call
_addDirector() when our Add button is clicked. The function does some rudimentary input validation, making sure all the translations have values, and then dispatches the
addDirector action.
Note » It’s “Michel” Gondry, not “Michael”. The guy’s French for God’s sake.
Of course, in a production app, we would be making an API call when we add a director: something like
POST /admin/api/movies with the translated name params. We’re just demoing here though, so we’ll omit the server call for brevity.
Et voilà! Our add director demo is working 🚀
The movie index and add movie functionality are essentially more complex versions of the
DirectorList and
AddDirector components, respectively. From an i18n / l10n perspective they shed no new light on administrating models, so I won’t go over movie admin here. You can play with movie admin in the demo app, and peruse all of the admin movie code in the GitHub repo.
Explore why app translation can be key to your global business expansion and follow our best practices.Check out the guide
The Front-facing Magazine App
Alright, we show the client our admin panel prototype, and she wonders why there’s no user authentication. We justify that this is just a proof of concept, and that the live app will of course have enforced SSL and best-practice auth. She squints at us, and then asks to see the front-facing, public app. We talk about PM, that we’re showing her what we have as soon as we build it, and that we’ll get to the public app next. She squints harder at us.
Let’s roll up our sleeves and get to cooking our second dish.
Note » You can see a live demo of the front-facing app on heroku. You can also find all of the app’s source code on GitHub.
Scaffolding
The scaffolding for our front-facing app is largely the same as our admin panel; it will have a very similar directory structure and a Redux store. There are, however, some differences regarding i18n and routing. Remember that unlike our admin panel, our front-facing app needs to be be i18n-ized and localized. In fact, a lot of the scaffolding unique to our public app deals with just this i18n and l10n. Let’s take a look.
Configuration
/src/config/i18n.js
export const defaultLocale = "en" export const locales = [ { code: "ar", name: "عربي", dir: "rtl" }, { code: "en", name: "English", dir: "ltr" }, { code: "fr", name: "Français", dir: "ltr" } ]
Configuring our supported locales in one place keeps things DRY and facilitates reuse. We’ll want locale names in their respective languages to use in a language switcher. Since we are supporting Arabic, we’ll also want to know a locale’s directionality when we switch to it.
Routing
/src/routes.js
import React from 'react' import { Redirect } from 'react-router-dom' import Home from './components/Home' import Movies from './containers/Movies' import { defaultLocale } from './config/i18n' import SingleMovie from './containers/SingleMovie' import { localizeRoutes } from './services/i18n/util' const routes = [ { path: "/", exact: true, localize: false, component: () => <Redirect to={`/${defaultLocale}`} /> }, { path: "/movies/:id", component: SingleMovie }, { path: "/movies", component: Movies }, { path: "/", component: Home } ] export default localizeRoutes(routes)
Our locale determination will be based on the current URI. So
/fr/movies will respond with a French version of the movies index, for example. To make sure we always have a locale explicitly selected, we redirect the
/ route to our default locale. In this case it’s English, so
/ will redirect to
/en. React Router makes this quite easy with its
Redirect component.
Notice the
localizeRoutes(routes) call above. We provide the
localizeRoutes function so we don’t have to include our locale parameter when we specify each of our routes. In actuality, however, we want all our routes prefixed by a segment corresponding to the current locale. So
/movies/:id should actually be
/:locale/movies/:id. We can then use this
:locale parameter to determine our app’s current locale. Our
localizeRoutes achieves this parameter prefixing, making use of our special
localize option on our configured routes. Let’s see how this simple mapper works.
/src/services/i18n/util.js (excerpt)
export function localizeRoutes (routes) { return routes.map(route => { // we default to localizing if (route.localize !== false) { return { ...route, path: prefixPath(route.path, ':locale') } } return { ...route } }) }
We’re just prefixing every route passed to us with the
/:locale/ route parameter and returning the prefixed routes. A dedicated l10n component will consume this parameter and use it to set our current locale. We’ll see this in action a bit later.
Note » We use a simple
prefixPathfunction above to separate our concerns. Check out the function in the GitHub repo if you want.
Ok, let’s see how this all comes together. First let’s take a look at our
App container.
/src/containers/App.js
import React from 'react' import { connect } from 'react-redux' import { Route, Switch, BrowserRouter as Router } from 'react-router-dom' import routes from '../routes' import Localizer from './Localizer' import AppNavbar from '../components/AppNavbar' import AppFooter from '../components/AppFooter' const App = props => ( <div style={{paddingTop: "80px"}}> <Router> <Localizer> {props.uiTranslationsLoaded && <div> <AppNavbar /> <div className="container"> <main id="main" role="main"> <Switch> {routes.map((route, index) => ( <Route key={index} path={route.path} exact={route.exact} component={route.component} /> ))} </Switch> </main> </div> <AppFooter /> </div> } </Localizer> </Router> </div> ) export default connect( state => ({ uiTranslationsLoaded: state.l10n.uiTranslationsLoaded }) )(App)
Ok, most of what’s up there looks quite similar to our admin panel. We do have a
Switch, however, which may be new to you, and a custom
Localizer.
The
Switch component makes routing more akin to what we’re used to in server-side frameworks, meaning that it will render the first route it matches. If you remember, we had our
/movies/:id route come before our
/movies route in our config. Our
Switch will make sure that
/movies/:id route catches, and that we don’t fall through to the
/movies route, when we hit
/movies/1/.
Note » Read more about the
Switchcomponent in the React Router documentation.
The Localizer Higher Order Component
The
Localizer container is our own special sauce for setting the current locale based on the active URI. Notice that our
Localizer sits inside the
Router component. This is important, since
Localizer will need the
/:locale route parameter we defined in our routes to do its work.
/src/containers/Localizer.js
import { Component } from 'react' import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import { locales } from '../config/i18n' import { setUiLocale } from '../services/i18n' import { switchHtmlLocale, getLocaleFromPath } from '../services/i18n/util' import { changeLocale, setUiTranslationsLoaded, setUiTranslationsLoading } from '../actions' class Localizer extends Component { constructor(props) { super(props) this.setLocale(getLocaleFromPath(this.props.location.pathname), true) this.props.history.listen(location => { this.setLocale(getLocaleFromPath(location.pathname)) }) } /** * Set the lang and dir attributes in the <html> DOM element, and * initialize our i18n UI library. * * @param {string} newLocale * @param {bool} force */)) } } render() { return this.props.children } } export default withRouter( connect( state => ({ locale: state.l10n.locale }), { changeLocale, setUiTranslationsLoaded, setUiTranslationsLoading, } )(Localizer) )
Ok, this may be a lot to take in. So let’s break it up.
Setting the Locale
When we construct our
Localizer, we call
setLocale to do some locale setup. By default and to be efficient,
setLocale will check to see if our locale has actually changed before doing its work. Since there will be no change on app initialization, we force
setLocale to do its setup via the second, boolean parameter. We then listen for URI changes and call
setLocale whenever we get a newly requested URI.
Note » We’re using a simple utility function called
getLocaleFromPathto extract the locale URI segment from the current locale. Check it out in the GitHub repo.
Alright, let’s take a look at what
setLocale actually)) } }
The function is responsible for a couple of things. It makes sure that our
<html> element is synced correctly with our current locale.
setLocale also lets our UI i18n library know what l10n the library should load, again based on the current locale. The state of UI translation file loading is tracked as our UI i18n library initializes in
setUiLocale. We’ll dive into
switchHtmlLocale and
setUiLocale a bit later. For now, let’s continue working through our
Localizer.
/src/containers/Localizer (excerpt)
render() { return this.props.children }
Since our
Localizer exists solely for setting the current locale, it doesn’t need to render anything. It’s a higher order React component that will wrap other components, and we achieve this wrapping by
rendering out
Localizer’s
children. Now we export our module.
/src/containers/Localizer (excerpt)
export default withRouter( connect( state => ({ locale: state.l10n.locale }), { changeLocale, setUiTranslationsLoaded, setUiTranslationsLoading, } )(Localizer) )
At the bottom of our file, where we normally export a connected component or a plain old React component, we’re doing something a bit different. After we connect a bit of state that tracks our current locale and some locale actions, we wrap everything up in
withRouter. We’ll get to
withRouter in a minute.
First, let’s take a brief look at our locale state. It’s really simple stuff. We have two bits of locale state that we track.
/src/reducer/l10n.js (excerpt)
import { defaultLocale } from '../config/i18n' const INITIAL_STATE = { locale: defaultLocale, uiTranslationsLoaded: false, } export default (state = INITIAL_STATE, action) => { //...
locale is just the current locale code e.g.
"ar" for Arabic. The
uiTranslationsLoaded boolean is used to track whether the UI translation files for the current locale have been loaded successfully. I’ll spare you the rest of the
l10n reducer and its associated actions. They really just set the
locale string and flip the
uiTranslationsLoaded boolean. Nothing fancy at all happening there.
Note » You can check out the l10n reducer and actions in the GitHub repo.
Let’s get back to our
Localizer.
/src/containers/Localizer (excerpt)
export default withRouter( connect( state => ({ locale: state.l10n.locale }), { changeLocale, setUiTranslationsLoaded, setUiTranslationsLoading, } )(Localizer) )
We wrap our normal React Redux
connect call in
withRouter.
withRouter is a higher order component that provides routing information to its children.
If you remember, our
Localizer’s constructor made use of some seemingly magical props.
/src/containers/Localizer (excerpt)
constructor(props) { super(props) this.setLocale(getLocaleFromPath(this.props.location.pathname), true) this.props.history.listen(location => { this.setLocale(getLocaleFromPath(location.pathname)) }) }
It’s the
withRouter call that gives our
Localizer access to the
history prop, which we use to listen for URI changes in our app. It also gives us access to a handy
location prop, which we can use to retrieve the current URI from.
Switching the Document’s Locale
When we set our current locale in the
Localizer, we made a call to
switchHtm)) } }
Let’s step into this function.
/src/services/i18n/util.js (excerpt)
export function switchHtmlLocale (locale, dir, opt = {}) { const html = window.document.documentElement html.lang = locale html.dir = dir if (opt.withRTL) { if (dir === 'rtl') { opt.withRTL.forEach(stylesheetURL => loadAsset(stylesheetURL, 'css')) } else { opt.withRTL.forEach(stylesheetURL => removeAsset(stylesheetURL, 'css')) } } }
We first make sure that our
<html lang="ar" dir="rtl"> reflects the current locale and directionality. Any special stylesheets that are needed when our directionality is right-to-left are loaded, and removed when our directionality is left-to-right. We use this option in our calling code to load Bootstrap RTL styles.
Note » The
loadAssetand
removeAssetfunctions do pretty much what you think they do. You can check them out in the GitHub repo.
UI i18n
Our
Localizer is responsible for initializing our UI i18n library. It does this via a call to
setU)) } }
For UI i18n, we’re using i18next and providing some simple wrappers around it. Let’s peek in.
Note » We’ll be covering the basics of i18next here. We have an article that goes into i18next in much more detail.
/src/services/i18n/index.js
import i18next from 'i18next' import { formatDate } from './util' export const setUiLocale = (locale) => { return fetch(`/translations/${locale}.json`) .then(response => response.json()) .then(loadedResources => ( new Promise((resolve, reject) => { i18next.init({ lng: locale, debug: true, resources: { [locale]: loadedResources }, interpolation: { format: function (value, format, locale) { if (value instanceof Date) { return formatDate(value, format, locale) } return value } } }, (err, t) => { if (err) { reject(err) return } resolve() }) }) )) .catch(err => Promise.reject(err)) } export const t = (key, opt) => i18next.t(key, opt)
The first thing we do is pull in the UI translation file for our given locale. We’re assuming that we’re placing our translation files in
/public/translations/. The JSON for these is pretty straightforward.
/public/translations/fr.json (excerpt)
{ "translation": { "app_name": "μveez", "a_react_demo": "une démo d'i18n React", "directors": "Réalisateurs", "movies": "Films", // ... } }
i18next namespaces its translations under a
translation key by default, so we adhere to that convention. Our translations are just key / value pairs. Done like dinner.
Once our translation file is loaded, we initialize i18next with the file’s JSON. From that point on we can use our
t() wrapper—which you may have noticed above—to return translation values by key from the currently loaded locale file.
In our views…
import { t } from '../services/i18n' // ... {{t('app_name')}} {{t('directed_by', { director: 'Michel Gondry' })}}
We can also interpolate values using i18next. Notice that we’re passing in a map with a
director key in our second call to
t above. Our translation copy can have a placeholder that corresponds to this key.
/public/translations/fr.json (excerpt)
"directed_by": "Réalisé par {{director}}"
The
{{director}} placeholder will be replaced by
"Michel Gondry" before
t outputs the value of
directed_by. i18next really simplifies our UI i18n and l10n.
Formatting Dates
i18next doesn’t support formatting dates itself. It does, however, provide a way for us to inject a date formatting interpolator when we initialize it. Notice that our
interpolation.format function checks to see if the given value is a date, and delegates to
formatDate if it is.
/src/services/i18n/index.js (excerpt)
import i18next from 'i18next' import { formatDate } from './util' // ... i18next.init({ // ... interpolation: { format: function (value, format, locale) { if (value instanceof Date) { return formatDate(value, format, locale) } return value } } } // ...
We’ll jump into our date formatter in a minute. First let’s see how we want to use it.
/public/translations/ar.json (excerpt)
"published_on": "نشر في {{date, year:numeric;month:long}}"
i18next allows to control the parameters we pass to our format interpolator. Given the above, if we were to call
t('published_on', new Date('2018-02')),
interpolation.format would receive
"year:numeric;month:long" as its second parameter.
It’s up to us to handle this format. We could pull in a library like Moment.js for date formatting, but for a proof of concept like this Moment is overkill. Instead, we’ll use the
Intl API built into most modern browsers.
let format = new Intl.DateTimeFormat("en", {year: "numeric", month: "short"}).format let value = new Date('2018-02-12') console.log(format(value)) // → "Feb 2018"
The
Intl.DateTimeFormat constructor accepts a variety of formatting options which are well-documented. We can simply pass these along in our date formats when we write our translation files.
/public/translations/fr.json (excerpt)
"published_on": "Publié le {{date, year:numeric;month:short}}", "published_on_date_only": "{{date, year:numeric;month:long}}"
All we have to do now is take these format strings and convert them to objects that
Intl.DateTimeFormat understands. That’s exactly what our custom date interpolater,
formatDate, does.
/src/services/i18n/util.js (excerpt)
export function formatDate (value, format, locale) { const options = {} format.split(';').forEach(part => { const [key, value] = part.split(':') options[key.trim()] = value.trim() }) try { return new Intl.DateTimeFormat(locale, options).format(value) } catch (err) { console.error(err) } }
We break up the format options along
; then we break each segment up further into its
key and
value, and we use those to build our
options object. After that, we do our
Intl.DateTimeFormat thing, gracefully handling any errors that could be caused by invalid user options.
Ok, that’s it for our scaffolding. Let’s get to our views.
UI: Our React Views
We’ll start with our main app nav.
/src/components/AppNavbar.js
import React, { Component } from 'react' import { Link } from 'react-router-dom' import { Nav, Navbar, NavItem, Collapse, DropdownMenu, NavbarToggler, DropdownToggle, UncontrolledDropdown, } from 'reactstrap' import logo from '../logo.svg' import { t } from '../services/i18n' import { locales } from '../config/i18n' import LocalizedLink from '../containers/LocalizedLink' class AppNavbar extends Component { constructor(props) { super(props) this.state = { isOpen: false } } toggle() { this.setState(prevState => ({ isOpen: !prevState.isOpen })) } render() { return ( <Navbar fixed="top" color="light" light <LocalizedLink to="/" className="navbar-brand"> <img src={logo} — {t('a_react_demo')} </span> <Nav className="mr-auto" navbar> <NavItem> <LocalizedLink to="/movies" className="nav-link"> {t('movies')} </LocalizedLink> </NavItem> </Nav> <Nav className="ml-auto" navbar> <UncontrolledDropdown nav inNavbar> <DropdownToggle nav caret> <span role="img" aria- 🌐 </span> {t('language')} </DropdownToggle> <DropdownMenu right> {locales.map(locale => ( <Link key={locale.code} to={`/${locale.code}`} {locale.name} </Link> ))} </DropdownMenu> </UncontrolledDropdown> </Nav> </Collapse> </Navbar> ) } } export default AppNavbar
Most of the components we’re using here are Bootstrap presentation that Reactstrap provides for us. You’ll notice that we’re using our
t() function instead of hard-coding any UI text. This ensures that the text is i18n-ized and pulled in from the current locale’s translation file.
We’re also pulling in a custom
LocalizedLink along with React Router’s usual
Link component. Take a gander with me.
/src/containers/LocalizedLink.js
import { connect } from 'react-redux' import { Link } from 'react-router-dom' import React, { Component } from 'react' import { prefixPath } from '../services/util' class LocalizedLink extends Component { render() { const { to, locale, className, children } = this.props return ( <Link className={className} to={prefixPath(to, locale)} > {children} </Link> ) } } export default connect( state => ({ locale: state.l10n.locale }) )(LocalizedLink)
Remember that
prefixPath function that we used to prefix our routes with the locale param? Well now we’re using it to prefix the given URI,
to, with the actual current locale. We’re pulling in the current locale from our single source of truth o the subject: our handy dandy Redux state.
The Language Switcher
Back to
AppNavbar. This piece of JSX is of particular interest.
/src/container/AppNav.js (excerpt)
<DropdownMenu right> {locales.map(locale => ( <Link key={locale.code} to={`/${locale.code}`} {locale.name} </Link> ))} </DropdownMenu>
Since our supported locales are stored in one central config, we pull them in with
import { locales } from '../config/i18n near the top of our file. All we have to do then is spin over them and output links to
/ar,
/en, and
/fr. Our routing and
Localizer take care of the rest. Disco.
Now we can build out our
Home component.
Home Sweet Home
/src/components/Home.js
import React from 'react' import Quote from '../containers/Quote' import FeaturedMovies from '../containers/FeaturedMovies' import FeaturedDirectors from '../containers/FeaturedDirectors' export default () => ( <div> <FeaturedDirectors /> <Quote /> <FeaturedMovies /> </div> )
Like good React developers, we componentize our
Home sections and pull them in. Once all is built out, we get this glorious rendering.
Banging prototype, dude 👾. Instead of boring you with building out all of the
Home containers, we’ll deep-dive into one of them so that we can get an idea of a whole vertical.
Note » You can see the rest of the
Homecontainers, along with the rest of the app code, in the GitHub repo.
Featured Movies
We’ll focus on the
FeaturedMovies container. Let’s take a look at our mock API first; we represent it with JSON files tucked away in
/public/api/.
/public/api/en/movies.json (excerpt)
[ { "id": 1, "is_featured": true, "published_on": "2008-07", "title": "The Dark Knight", "synopsis": "When the menace known as the Joker emerges...", "thumbnail_url": "/img/movies/dark_knight_tn.jpg", "image_url": "...", "director": { "id": 1, "name": "Christopher Nolan" } }, { "id": 2, "is_featured": true, // ...
We’d expect our app’s API to return something like this if we made a
GET /en/movies request. To round out our mock API, we have one of these JSON files for each of our supported locales. Now to our movie reducer.
Our movie state is nice and terse.
/src/reducers/movies.js (excerpt)
const INITIAL_STATE = { movies: [], featured: [], } const movies = (state = INITIAL_STATE, action) => { switch(action.type) { case 'ADD_MOVIES': return { ...state, movies: [...action.movies], featured: action.movies.filter(m => m.is_featured) } default: return state } } export default movies
We make sure to keep a
featured subset of our movie collection each time we add new movies. Now, of course, we need something to act on this state.
/src/actions/index.js (excerpt)
export const fetchMovies = () => (dispatch, getState) => { const { locale } = getState().l10n return fetch(`/api/${locale}/movies.json`) .then(response => response.json()) .then(movies => dispatch(addMovies(movies))) .catch(err => console.error(err)) } export const addMovies = movies => ({ type: 'ADD_MOVIES', movies, })
Pretty standard stuff here. Notice, however, that we’re pulling in our current state by using Redux Thunk’s
getState parameter. This allows to figure out the current locale without requiring it from our calling code, so we can pull in the right movie localization. Ok, let’s use this funky fluxy flow in our views.
/src/containers/FeaturedMovies.js
import { connect } from 'react-redux' import { CardDeck } from 'reactstrap' import React, { Component } from 'react' import { t } from '../services/i18n' import { fetchMovies } from '../actions' import FeaturedMovie from '../components/FeaturedMovie' class FeaturedMovies extends Component { componentDidMount() { this.props.fetchMovies() } render() { return ( <div> <h2>{t('featured_movies')}</h2> <CardDeck> {this.props.movies.map(movie => ( <FeaturedMovie key={movie.id} movie={movie} /> ))} </CardDeck> </div> ) } } export default connect( state => ({ movies: state.movies.featured }), { fetchMovies } )(FeaturedMovies)
A
CardDeck is a presentational Bootstrap component that helps lay out a set of
Cards. Luckily, our
FeatureMovie component is wrapped in just such a
Card.
/src/components/FeaturedMovie.js
import React from 'react' import { Card, CardImg, CardBody, CardText, CardTitle, } from 'reactstrap' import { t } from '../services/i18n' import LocalizedLink from '../containers/LocalizedLink' function synopsis (str, length = 250) { const suffix = str.length > length ? '…' : '' return (str.substring(0, length) + suffix).split("\n\n") } export default function ({ movie }) { return ( <Card style={{ marginBottom: "20px" }}> <LocalizedLink to={`/movies/${movie.id}`}> <CardImg top src={movie.thumbnail_url} alt={movie.title} /> </LocalizedLink> <CardBody> <CardTitle> <LocalizedLink to={`/movies/${movie.id}`}> {movie.title} </LocalizedLink> </CardTitle> <CardText className="small text-muted"> {t('directed_by', { director: movie.director.name })} {' | '} {t('published_on_date_only', { date: new Date(movie.published_on) })} </CardText> <CardText tag="div"> {synopsis(movie.synopsis).map((para, i) => ( <p key={i}>{para}</p> ))} </CardText> </CardBody> </Card> ) }
The
synposis helper function truncates a movie synopsis that’s too long for our index view, and returns an array of paragraphs. Other than that, we’re just using our good old
LocalizedLink to render links to the individual movie in the index, and
t()ing up all our text, with interpolation where needed.
The rest of the views are, for our purposes, largely more of the same. So, I’ll let you peer into the GitHub repo yourself to check them out.
When all is said and done, we get something that works a little something like this.
We quickly run to our client to show her our finished front-facing proof of concept, with routing, language switching, i18n-ized UI, and localized content. We think we glean the beginnings of a smile on her face. hope this gets you started on the right foot when building your React SPAs with i18n and l10n, and I hope it was as fun for you to read as it was for me to write. Be sure to check out the code and the live demo of the admin and public apps. Til next time 😊 👍🏽 | https://phrase.com/blog/posts/react-i18n-app/ | CC-MAIN-2021-04 | refinedweb | 6,729 | 50.43 |
this
existential type:
List[List[t] forSome { type t }]..
A
lazy value definition evaluates its right hand
side \(e\) the first time the value is accessed. Example:")) and the clause in Scala.
Assignment Operators
It is now possible to combine operators with assignments.
(23-Nov-2006)
Procedures
A simplified syntax for methods returning
unit has been introduced.
Scala now allows the following shorthands:
def f(params) \(\mbox{for}\)
def f(params): unit
def f(params) { ... } \(\mbox would name the package containing
X.
Relaxation of Private Acess .
Tightened Pattern Match
A typed pattern match with a singleton type
p.type
now tests whether the selector value is reference-equal to. appendix still may. | http://www.scala-lang.org/files/archive/spec/2.11/15-changelog.html | CC-MAIN-2017-47 | refinedweb | 112 | 62.04 |
The interface between FastJet and NumPy
Project description
pyjet allows you to perform jet clustering with FastJet on NumPy arrays. By default pyjet only depends on NumPy and internally uses FastJet’s standalone fjcore release. The interface code is written in Cython that then becomes compiled C++, so it’s fast. Remember that if you use pyjet then you are using FastJet and should cite the papers listed here.
Getting started
pyjet provides the cluster() function that takes a NumPy array as input and returns a ClusterSequence from which you can access the jets:
from pyjet import cluster from pyjet.testdata import get_event vectors = get_event() sequence = cluster(vectors, R=1.0, p=-1) jets = sequence.inclusive_jets() # list of PseudoJets exclusivejets = sequence.exclusive_jets(3) # Find the cluster history when there are 3 jets
The input is given in the form of a structured array in numpy. The first four fields of the input array vectors must be either:
np.dtype([('pT', 'f8'), ('eta', 'f8'), ('phi', 'f8'), ('mass', 'f8')])
or if cluster(..., ep=True):
np.dtype([('E', 'f8'), ('px', 'f8'), ('py', 'f8'), ('pz', 'f8')])
Note that the field names of the input array need not match ‘pT’, ‘eta’, ‘phi’, ‘mass’ etc. pyjet only assumes that the first four fields are those quantities. This array may also have additional fields of any type. Additional fields will then become attributes of the PseudoJet objects.
See the examples to get started:
Standalone Installation
To simply use the built-in FastJet source, from your virtual environment, run:
python -m pip install pyjet
And you’re good to go! If you have a old version of pip (<10), you will need to have Cython and Numpy already installed to build from source - however on most systems, you should get a binary wheel.
Get example.py and run it:
curl -O python example.py jet# pT eta phi mass #constit. 1 983.280 -0.868 2.905 36.457 34 2 901.745 0.221 -0.252 51.850 34 3 67.994 -1.194 -0.200 11.984 32 4 12.465 0.433 0.673 5.461 13 5 6.568 -2.629 1.133 2.099 9 6 6.498 -1.828 -2.248 3.309 6 The 6th jet has the following constituents: PseudoJet(pt=0.096, eta=-2.166, phi=-2.271, mass=0.000) PseudoJet(pt=2.200, eta=-1.747, phi=-1.972, mass=0.140) PseudoJet(pt=1.713, eta=-2.037, phi=-2.469, mass=0.940) PseudoJet(pt=0.263, eta=-1.682, phi=-2.564, mass=0.140) PseudoJet(pt=1.478, eta=-1.738, phi=-2.343, mass=0.940) PseudoJet(pt=0.894, eta=-1.527, phi=-2.250, mass=0.140) Get the constituents as an array (pT, eta, phi, mass): [( 0.09551261, -2.16560157, -2.27109083, 4.89091390e-06) ( 2.19975694, -1.74672746, -1.97178728, 1.39570000e-01) ( 1.71301882, -2.03656511, -2.46861524, 9.39570000e-01) ( 0.26339374, -1.68243005, -2.56397904, 1.39570000e-01) ( 1.47781519, -1.7378898 , -2.34304346, 9.39570000e-01) ( 0.89353864, -1.52729244, -2.24973202, 1.39570000e-01)] or (E, px, py, pz): [( 0.42190436, -0.06155242, -0.07303395, -0.41095089) ( 6.50193926, -0.85863306, -2.02526044, -6.11692764) ( 6.74203628, -1.33952806, -1.06775374, -6.45273802) ( 0.74600384, -0.22066287, -0.1438199 , -0.68386087) ( 4.43164941, -1.0311407 , -1.05862485, -4.07096881) ( 2.15920027, -0.56111108, -0.69538886, -1.96067711)] Reclustering the constituents of the hardest jet with the kt algorithm [PseudoJet(pt=983.280, eta=-0.868, phi=2.905, mass=36.457)] Go back in the clustering sequence to when there were two jets PseudoJet(pt=946.493, eta=-0.870, phi=2.908, mass=20.117) PseudoJet(pt=36.921, eta=-0.800, phi=2.821, mass=4.119) Ask how many jets there are with a given dcut There are 9 jets with a dcut of 0.5 Get the jets with the given dcut 1 PseudoJet(pt=308.478, eta=-0.865, phi=2.908, mass=2.119) 2 PseudoJet(pt=256.731, eta=-0.868, phi=2.906, mass=0.140) 3 PseudoJet(pt=142.326, eta=-0.886, phi=2.912, mass=0.829) 4 PseudoJet(pt=135.971, eta=-0.870, phi=2.910, mass=0.140) 5 PseudoJet(pt=91.084, eta=-0.864, phi=2.899, mass=1.530) 6 PseudoJet(pt=30.970, eta=-0.831, phi=2.822, mass=2.124) 7 PseudoJet(pt=7.123, eta=-0.954, phi=2.939, mass=1.017) 8 PseudoJet(pt=5.951, eta=-0.626, phi=2.818, mass=0.748) 9 PseudoJet(pt=4.829, eta=-0.812, phi=3.037, mass=0.384)
Using an External FastJet Installation
To take advantage of the full FastJet library and optimized O(NlnN) kt and anti-kt algorithms you can first build and install FastJet and then install pyjet with the --external-fastjet flag. Before building FastJet you will need to install CGAL and GMP.
On a Debian-based system (Ubuntu):
sudo apt-get install libcgal-dev libcgal11v5 libgmp-dev libgmp10
On an RPM-based system (Fedora):
sudo dnf install gmp.x86_64 gmp-devel.x86_64 CGAL.x86_64 CGAL-devel.x86_64
On Mac OS:
brew install cgal gmp wget
Then run pyjet’s install-fastjet.sh script:
curl -O chmod +x install-fastjet.sh sudo ./install-fastjet.sh
Now install pyjet like:
python -m pip install numpy Cython python setup.py install --external-fastjet
pyjet will now use the external FastJet installation on your system.
Note on units
The package is indifferent to particular units, which are merely “propagated” through the code. We do recommend that the HEP units be used, as defined in the units module of the hepunits package.
It is worth noting that the azimuthal angle phi is expressed in radians and varies from pi to pi.
Developing
If you want to setup for development:
python3 -m venv .env source .env/bin/activate pip install -e .[dev] pytest
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages. | https://pypi.org/project/pyjet/1.6.0/ | CC-MAIN-2020-16 | refinedweb | 1,030 | 65.73 |
This problem is quite simple, actually question specifically asked about continous maximum sub array sum but you had to take atleast one element in it.
We had taken a flag value and will set it to 1 when we encounter positive value. In this case we would add the element value in sum and would compare with our min value, if the sum value is greater than we will replace the min value.
Now if the flag is set then we add element value in the sum and would compare first that it is greater than 0 and if it is then we would compare with min value and if it is also greater than it, we will replace the min value with sum. If the sum value is not greater than 0 then we will reset the flag and also set sum=0
public class Solution { public int[] maxset(int[] A) { ArrayList<Integer> a = new ArrayList<Integer>(); ArrayList<Integer> b = new ArrayList<Integer>(); long sum = 0,max=0,sum1=0; for(int i=0;i<A.length;i++) { if(A[i]<0) { if((sum1>sum)||(sum1==sum && b.size()>a.size())) { sum = sum1; a.clear(); a.addAll(b); } sum1 = 0; b.clear(); } else { b.add(A[i]); sum1 = sum1 + A[i]; } } if((sum1>sum)||(sum1==sum && b.size()>a.size())) { a.clear(); a.addAll(b); } int c[] = new int[a.size()]; for(int i=0;i<c.length;i++) c[i] = a.get(i); return c; } } | https://discuss.leetcode.com/topic/107778/java-solution | CC-MAIN-2018-05 | refinedweb | 247 | 74.49 |
Draft: Serie ortogonale
Descrizione
Lo strumento
Serie crea una schiera (array) ortogonale (3 assi) o polare utilizzando gli oggetti selezionati.
Questo strumento può essere utilizzato su qualsiasi oggetto che abbia una Part TopoShape, che significa forme 2D create con Draft, ma anche solidi 3D creati con altri ambienti, ad esempio Part, PartDesign o Arch. Può anche creare App Link anziché semplici copie.
- To create polar or circular arrays, use the corresponding
PolarArray and
CircularArray tools.
- To position copies along a path use
PathArray or
PathLinkArray.
- To position copies at specified points use
PointArray or
PointLinkArray.
- To create copies and manually place them use
Move or
Rotate.
- To create exact copies and manually place or scale them, use
Clone or
Std LinkMake.
This command deprecates the previously existing
Array as well as the short lived
LinkArray tools.
Una serie ortogonale da un oggetto solido, l'oggetto al centro
Utilizzo
- Select the object that you wish to duplicate.
- Press the
OrthoArray button. If no object is selected, you will be invited to select one.
- The task panel is launched, where you can select the number of elements in each X, Y, Z direction; and the interval between each created element.
- You can click on the 3D view to set up all the numbers and intervals, and complete the command. Otherwise, just press Enter or the OK button to complete the operation.
Notes
- Each element in the array is an exact clone of the original object, but the entire array is considered a single unit in terms of properties and appearance.
- This command creates the same parametric "Array" object as the one created with the
PolarArray and
CircularArray tools. Therefore, the array can be converted to orthogonal, polar, or circular by changing its DataArray Type property.
Opzioni
These are the options displayed in the task panel.
- Number of elements: the elements in the X, Y, and Z directions. A copy of the original object is always produced, so this number must be at least
1in every direction.
- X intervals: the values of displacement for the copies in the X direction. To create strictly rectangular arrays, the Y and Z values should be zero
(x, 0, 0).
- Y intervals: the values of displacement for the copies in the Y direction. To create strictly rectangular arrays, the X and Z values should be zero
(0, y, 0).
- Z intervals: the values of displacement for the copies in the Z direction. To create strictly rectangular arrays, the X and Y values should be zero
(0, 0, z).
- Reset X, Y, Z: it resets the interval vectors to a rectangular displacement, that is
(x, 0, 0),
(0, y, 0), and
(0, 0, z).
- Fuse: if it is checked, the resulting objects in the array will fuse together if they touch each other. This only works if Link array is unchecked.
- Link array: if it is checked, the resulting array will be a "Link array". This array internally uses App Link objects, so it is more efficient when handling many copies of complex shapes. However, in this case, the objects cannot be fused together.
- Press Esc or the Cancel button to abort the current command.
Note: if a Link array is created, this object cannot be converted to a regular array. And similarly, a regular array cannot be converted to a Link array. Therefore, you must choose the type of array that you want at creation time.
Proprietà
An OrthoArray is derived from a Part Feature (
Part::Feature class), therefore it shares all the latter's properties. In addition to the properties described in Part Feature, the OrthoArray has the following properties in the property editor.
Objects
- DataArray Type (
Enumeration): specifies the type of array to create,
"ortho",
"polar", or
"circular".
- DataAxis Reference (
LinkGlobal): specifies the object and edge that can be used as reference for polar and circular arrays; for example, it can be the edge of a
Wire or a
PartDesign DatumLine. If this property exists, it overrides both DataAxis and DataCenter, for polar and circular arrays.
- DataBase (
Link): specifies the object to duplicate in the array.
- DataFuse (
Bool): it defaults to
false; if it is
true, and the copies intersect with each other, they will be fused together into a single shape. This only works if the initial array was not a "Link array".
Orthogonal array
- DataInterval X (
VectorDistance): a vector specifying the interval between each copy on the X axis.
- DataInterval Y (
VectorDistance): a vector specifying the interval between each copy on the Y axis.
- DataInterval Z (
VectorDistance): a vector specifying the interval between each copy on the Z axis.
- DataNumber X (
Integer): the number of copies on the X direction. The DataBase object counts as one copy; it must be at least
1.
- DataNumber Y (
Integer): the number of copies on the Y direction.
- DataNumber Z (
Integer): the number of copies on the Z direction.
Polar/circular array
- DataAxis (
Vector): the axis direction around which the elements in a polar or circular array are created.
- DataCenter (
VectorDistance): specifies the center point of the polar or circular array. The DataAxis passes through this point. For circular arrays, the DataCenter specifies an offset from the DataPlacement of the DataBase object.
Polar array
- DataAngle (
Angle): specifies the aperture of the circular arc to cover with copies; use 360 to cover an entire circle.
- DataInterval Axis (
VectorDistance): distance and orientation of each copy in DataAxis direction.
- DataNumber Polar (
Integer): number of copies in the polar direction.
Circular array
- DataNumber Circles (
Integer): the number of circular layers to create. The DataBase object counts as one layer; it must be at least
1.
- DataRadial distance (
Distance): the distance between circular layers.
- DataSymmetry (
Integer): a number that indicates the symmetry lines in the circular layers. This number changes the distribution of the objects and making it very large may eliminate the more central layers.
- DataTangential Distance (
Distance): the distance between copies in the same circular layer.
Link arrays
In addition to the previous properties, these properties only appear when the array is created as a Link array.
Objects
- DataCount (
Integer): (read-only) it is the total number of objects in the array including the original object. This property is read-only as the value depends on the other "Number" properties, whether they are orthogonal, polar, or circular.
- DataExpand Array (
Bool): if it is
true, the individual App Link objects will be available to select in the tree view.
Link
- DataScale (
Float): the scale factor of the entire array.
- DataScale List (
VectorList): a list of N-vectors determining the individual scaling factor of each of the N-elements in the array, where N is DataCount.
- DataLink Transform (
Bool): if it is
falseit can override the linked object's placement.
Notes
The "Number" properties, whether for orthogonal, polar, or circular arrays, includes the original object, so this value must, as each copy will be moved a
z distance.
Configuration of individual Link objects
Normally, App Link objects are intended to be exact copies of their DataLinked Object. However, there is a pending feature that will allow configuring individual properties of select App Link copies; this could be useful for Link Arrays. This feature is called a "configuration table".
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The OrthoArray tool can be used in macros and from the Python console by using the following function.
Older call:
array = makeArray(baseobject, xvector, yvector, zvector, xnum, ynum, znum, use_link=False)
New call:
array = make_ortho_array(base_object, v_x=App.Vector(10, 0, 0), v_y=App.Vector(0, 10, 0), v_z=App.Vector(0, 0, 10), n_x=2, n_y=2, n_z=1, use_link=True)
array = make_ortho_array2d(base_object, v_x=App.Vector(10, 0, 0), v_y=App.Vector(0, 10, 0), n_x=2, n_y=2, use_link=True)
- Creates an
"Array"object from the
base_object.
- Instead of a reference to an object,
base_objectcan also be the
Label(string) of an object existing in the current document.
- The vectors
v_x,
v_y, and
v_zdetermine the distance between the base points of each copy, in the X, Y, and Z directions; and
n_x,
n_y, and
n_zare the number of copies in the respective direction.
- If
use_linkis
True, the type of array created will be a Link array, whose elements are App Link instances instead of simple copies.
make_ortho_array2dignores the Z component, so the result is going to be a 2D array in the XY plane.
array = make_rect_array(base_object, d_x=10, d_y=10, d_z=10, n_x=2, n_y=2, n_z=1, use_link=True)
array = make_rect_array2d(base_object, d_x=10, d_y=10, n_x=2, n_y=2, use_link=True)
- The
_rect_variants ignore the off-diagonal components of the
v_x,
v_y, and
v_zvectors, so the arrays will be completely rectangular; the distance between the elements is determined by
d_x,
d_y, and
d_z.
Example:
import FreeCAD as App import Draft doc = App.newDocument() rect = Draft.make_rectangle(1500, 500) v_x = App.Vector(1600, 0, 0) v_y = App.Vector(0, 600, 0) array = Draft.make_ortho_array2d(rect, v_x, v_y, 3, 4) doc.recompute()
Scripting, non-parametric array
When using the
OrthoArray tool, a parametric
"Array" object is created. This can be scripted as described in the previous section.
However, to obtain standalone copies of the base object, the simple
Draft.array function can be used. This will create simple copies, not a new parametric object.
To create a rectangular array, use it like this:
array_list = array(objectslist, xvector, yvector, xnum, ynum) array_list = array(objectslist, xvector, yvector, zvector, xnum, ynum, znum)
- Creates an array from the objects contained in
objectslist, which can be a single object or a list of objects.
- In case of a rectangular array,
xvector,
yvector, and
zvectordetermine the distance between the base points of each copy, in the X, Y, and Z directions; and
xnum,
ynum, and
znumare the number of copies in the respective direction.
array_listis returned with the new copies. It is either a single object or a list of objects, depending on the input
objectslist.
This function internally uses
Draft.move() with
copy=True.
Example:
import FreeCAD as App import Draft doc = App.newDocument() rect = Draft.make_rectangle(1500, 500) v_x = App.Vector(1600, 0, 0) v_y = App.Vector(0, 600, 0) array = Draft.array(rect, v_x, v_y, 3, 4) doc.recompute()
-
- Installazione: Windows, Linux, | https://wiki.freecadweb.org/Draft_OrthoArray/it | CC-MAIN-2021-25 | refinedweb | 1,699 | 56.96 |
How to remove this ? Thanks
Entries Tagged as 'Dll'
I get this error; Exception efopenerror in module resUSB54Gv4_US.dll at 0000DASF…?
July 4th, 2009
Should _wuser32.dll Be On My Computer?
July 3rd, 2009
I got a new laptop for my birthday in April but as of last week it’s running pretty slow. I’m getting some error messages, one of them that _wuser32.dll has a problem with it.
I know that user32.dll is an essential file but I’ve never heard of this "wuser". Is this some […]
ws2_32.dll getaddrinfo?
July 3rd, 2009
My computer tells me the my ws2_32.dll getaddrinfo is missing so I cannot download anything! Does anyone know how to fix it? Please inform me ASAP!
MSSTDFMT.DLL Error Please Help?
July 3rd, 2009
Someone please help me when ever i try to open a progran there would be an error saying i cannot open the program becouse the following msstdfmt.dll has to be installed on my machine.. someone please help me…. I run a Vindows Vista XPS 64 bit computer… Please tell me the exact steps to fix […]
Notification dll pop up window!?
July 3rd, 2009
so my computer is so messed up i dont know why either but this little window pops up with Wirless configuration notification dll has not been registered program will not work correctly. if i close out of it the internet stops working
anyone help ? i need this computer fixed so bad & If anyone […]
Is ~dp1fe.dll screwing up my computer?
July 3rd, 2009
Hi. I keep getting a computer error that talks about ~dp1fe.dll and I don’t know what it means. Is this an error about the file, because the file has an error? Or is it an error because the file isn’t supposed to be there at all?
Anyway I’m wondering what’s up. My […]
Is _trinity.dll slowing down my system?
July 3rd, 2009
My computer keeps slowing down and sometimes crashing every time I try and play Eve Online. I’m getting several error messages and can’t tell what is what. One of the most consistent is _trinity.dll.
I was about to delete _trinity.dll but I can’t tell if that’d be a bad idea? I honestly […]
Is _winvet.dll destroying my computer?
July 3rd, 2009
I bought a Sony VAIO laptop last month from a web developer friend of mine. He knows computers and kept it in great shape, so I felt like I was getting a good deal even though the computer was a little older than I would’ve liked.
Well, in the past two weeks it’s been running […]
Is _usercap.dll wrecking my new laptop?
July 3rd, 2009
I got a Dell laptop a couple of months ago and for the most part it’s been great. Except that a couple of weeks ago it started to slow WAY down after I got some new multi-media software. Now I am back to using Cyberlink Powercinema but it doesn’t work like it did […]
What is ~util32.dll and what is it doing on my computer?
July 3rd, 2009
What is ~util32.dll and what is it doing on my computer? My daughter gave me a laptop for my birthday last March and now it’s running slow as everything… I’m getting several error messages and I got a book about Windows and file structure and I’m going through my process files. Well there […]
What is _wmlibrary.dll error?
July 2nd, 2009 […]
can anyone make a video of how to install YSmenu on an r4 SDHC cause it tells me unsupported dll file?
July 2nd, 2009
<Windows root>\system32\hal.dll ?
July 2nd, 2009
Shortly after I press the Power button on my PC keyboard a message comes up saying that "Windows could not start because the following file is missing or corrupt:
<Windows root>\system32\hal.dll.
Please re-install a copy of the above file."
Now the PC has not reached starting up to the desktop yet, it’s still before that, before the point […]
Computer uxtheme.dll help?
July 2nd, 2009
Okay, so I was trying to make install a theme on my windows vista.
It required you to do the whole uxtheme patcher thing.
I guess I installed the wrong service pack. Now, my computer can’t start up normally.
What do I do? How do I recover it to it’s original state? Please help me. D:
c:\windows\system32\lckfee.dll HELP?
July 2nd, 2009
what do i do to rid of this- thanks
will running the windows xp service pack 2 recovery disk fix my currupted hal.dll file?
July 2nd, 2009
i want to make sure before I buy the disk.
what is ialmdev5.dll?
July 2nd, 2009
what is the blue screen error? i get it when i play the sims 3.
what do i do to fix it?
How do I re-install or repair the file xvidcore.dll for free? I can only find registry cleaners that cost.?
July 2nd, 2009
Why am I getting a file called _wmplayer.dll popping up in my System32 directory?
July 2nd, 2009
I’m getting a file called _wmplayer.dll popping up in my System32 directory. Both of my anti-spyware
programs are singling it out as a possible infection, but they aren’t doing anything about it. Does anybody know
anything about this file and what it might be doing?
From the name, it sounds like it might […]
Suggestion to Correct a Kernel 32 DLL error.?
July 1st, 2009
While playing Bejeweled Twist, the game closed and issued a "Kernel 32 DLL error." This game was installed from a disk and I was not on line. Any suggestions on how to fix it?
how do i install a dll file msvcr8o?
July 1st, 2009
i cant get on messenger without it ? can someone please tell me how … thank u …
Cannot find sffxcomm.dll ?
July 1st, 2009
I dropped my speakers today and now it wont work. When i right properties click on the speakers in the device it says everything is working. Whenever i reboot the computer an error pop up it’s soundtray.exe problem and says that it cannot find sffxcomm.dll file. I try looking all over the internet to find […]
Where Do I Have To Place The (xvid.dll) File In My Machine?
July 1st, 2009
I had some errors with some of the video files in my dell laptop that required me to download/ get an (xvid.dll) file from the internet. And When i did so, a message still appears when i play my videos that says: "Error: xvid.dll is not found!".
So I’m wondering; do i have to place […]
The application or dll c:\windows\system32\samlib.dll is not a valid windows image?
July 1st, 2009
When I turn on my windows xp desktop computer it boots up and then in place of the login screen it says this:
The application or dll c:\windows\system32\samlib.dll is not a valid windows image. please check this against your installation diskette.
Then when I click okay the screen just stays blank. I don’t know how to […]
"Bad Image - c:\progra~1\google\google~1\goec62~1.dll"?
July 1st, 2009
This error keeps occurring every time I open software, even when my computer is logging on. I have removed all Google products as far as i know, and tried reinstalling google desktop, but it still keeps appearing. Any ideas?
thanks
Where can I download the uxtheme.dll for Windows XP Professional SP3?
July 1st, 2009
I would like to get customized themes. The places I’ve looked for the uxtheme.dll for SP3 have been reported to be pretty buggy. I was wondering if there was a patch that wouldn’t be buggy for my laptop.
what does 1\MYWEBS~\bar\1.binM3PLUGN.Dll mean when you turn on your computer?
July 1st, 2009
my computer says that and I have to turn on the virus protection each time I turn on my computer..Someone please help… I really am coputer stupid… lol..
HELP!!I Have dll files that accidently got opened with adobe reader HELP!!?
June 30th, 2009
Whenever I open them they open in adobe reader and it is not compatible they aren’t text files there for a eclipse evolution I’m trying to make it run on vista It was going smooth until I tried to register the dll files with regsvr32 when I accidently clicked Adobe reader when I right clik […]
Hpqddsvc.dll service hang?
June 30th, 2009
How do i disable it?-it runs with svchost.exe
or better fix the problem? ty
WHY I CANT UNINSTALL MESSENGER FILE WHEN IM TRYING TO CORRECT A DLL PROBLEM?
June 30th, 2009
I keep getting a dll. problem so help directs me to uninstall messenger file when i do i get an error box saying i cant delete the file
<Windows root>\system32\hal.dll?
June 29th, 2009
I made a new partition on my hard drive so i can dual boot windows xp with windows 7 , after i installed windows 7 beta i used it but it will expire in a couple of days , when i try to boot windows xp it says ,…<Windows root>\system32\hal.dll what can i do to […]
Sims 3 Razor1911 - d3dx9_31.dll was not found?
June 29th, 2009
alrighty. i downloaded the sims 3, and upon trying to begin the installation i was greeted with the message "This application has failed to start because d3dx9_31.dll was not found. Re-installing the application may fix this problem." So i decided to install that .dll file. Done. But it still has that same message, and i […]
I have a string of DLL problems. How can i solve this?
June 29th, 2009
for example when i log on i will have different types of DLLs like error lexplore etc (its not just 1 type theres several types) and it wil close down my internet page and a fresh page willcome up, sometiems restart my computer or just freeze it. this happens often whenever i go on my […]
Can I get MSVCR71.DLL back in Windows 7 without reinstalling the entire OS?
June 29th, 2009
I have been using Windows 7 for several months, first the beta and now the RC. About a week ago I started getting error messages saying things wouldn't run because MSVCR71.DLL is missing. I did disk checks to make sure there was not a hard drive problem that might be corrupting files. I tried to […]
where do i put k9371937.dll. i was being stupid and accidently deleted Rundll32.exe?
June 29th, 2009
now its asking me for k9371937.dll. be really helpful if someone can give me advice where to put it
how the dll file created in which platform used?
June 29th, 2009
software
Where do I download revenge.dll?
June 29th, 2009
Please answer my question
Windows missing/corrupt file "<swindows root>"/system32/hal.dll. Please HELP! IDK what to do!?
June 29th, 2009
I got this errror when i opened our laptop.
It was workin fine last time I used it. I didn't uprage or change anything.
PLEASE HELP! helpless!
please help me w/ the easiest sollution..im just a middle schooler
and nobody else would help me. no adults or anything
and if i dunt get this fixed i'll be […]
the procedure enrty point CryptStringToBinaryA could not be located in the dynamic link library CRYPT32.dll.?
June 29th, 2009
What does this mean?
why, when windows tries to install a component and it asks for a missing dll, it does not like the one I give?
June 28th, 2009
recently i have been having trouble with my computer - issues with getting on the LAN at work and using Internet explorer which I only ever use when I feel a windows update might resolve something. I noticed that there were some networking components that sounded like they might help and when I tried to […]
how to recover if hal.dll file is missing?
June 28th, 2009
How to delete ahnxsds0.dll (x.bat) I tried every possible thing I can think of?
June 28th, 2009
I got this virus (ahnxsds0.dll) and I tried everything to kill it and it won't go, I used the RemoveOnReboot software, Malwarebytes' Anti-Malware, SUPERAntiSpyware, manually deleting it, tried on safe mode and tried deleting it, I basically checked every google page and none on them helped. I EVEN TRIED REINSTALLING WINDOWS FROM SCRATCH AND AFTER […]
ijl15.dll not found in a maplestory private server.How do I fix it?
June 28th, 2009
When i double click RydahMS(The maplestory private server i play) it says, ijl15.dll not found, reinstalling this application may fix it.
I tried downloading ijl15.dll and putting it in the same folder as rydahms and ive put rydahms in the maplestory folder too
but nothing works
PLZ HELP
How to fix RUN DLL Error on startup?
June 28th, 2009
This is the error thread
path>\ AppData\Roaming\ybdyqq.dll
With a message"The specified module could not be found"
How would I find out what .dll files I am missing?
June 28th, 2009
What can I do to find out the .dll files I am missing? Where do I save them to?
"The application or DLL globalroot\systemroot\system32\SKYNETInnuljxo.dll is not a valid Windows image.?
June 28th, 2009
I get the above message when I click on my Outlook Express desktop icon and when I click on my Counterspy Taskbar icon. When I then press OK, everything starts up ok. This all started after I did an antivirus scan and it deleted some malware. I tried to do system restore, but my pc […]
How do I relocate/fix a system DLL file relocation?
June 28th, 2009
I recently read about fixing a system DLL relocation error message, the one involving the KB925902 secruity update. However, I have Windows XP Service pAck 2 and it says I have a newer SP installed and the KB file cannot be found. So, with a XP Service Pack 2, how can I fix this error? […]
Missing X3DAudio1_6.dll?
June 28th, 2009
I downloaded The ArmA 2 demo and it failed right at the end. I extracted and installed it but it says its missing X3DAudio1_6.dll, I've checked most places on the web for it but I can't find it. I really don't feel like downloading it again so does anyone know where I can find it?
How do I fix the System DLL error?
June 27th, 2009
I recently read a similar question on fixing the System Dll error message from appearing but unfortunately, I do not have secrutity updates KB925902 AND KB928843. I have WIndows Ultimate XP 7, so I dont have the regular/standard XP system. Please help if anyone knows. Thank you
Fake Alert? C:\Windows\System32\ MSIVXuxctdhxibvqthmmlrbcfeuqwbxalcooe.dll?
June 27th, 2009
I am using Avira and the AntiVir Guard pops up and says MSIVXuxctdhxibvqthmmlrbcfeuqwbxalcooe.dll is a trojan. I click delete but it pops up later again. Is this a fake alert?
Oh and it seems to only pop up when i open up my safari. Should i reinstall?
it also pops up when i start my computer
every time i open my laptop it shows me…."cant locate appdata\roaming/fcmadeuc.dll module". please help me.?
June 27th, 2009
dynasty warriors 6 .dll problem?
June 27th, 2009
ok when i went to run it it said cant find .dll do i downloaded the corrected one of now when i start it it gives me that error message that says send error report dont send error report why wont it work!?
Using unexported functions in a dll file? (.Net Assembly .dll)?
June 27th, 2009
Ok I am working on a VBA for excel project. Excel has an add in that "clears the cache" and I need to replicate that function in vba. I used a program called reflector and found the function in the .net assembly called ClearCache(). I tried to import the DLL in my VBA code but […]
Need DLL’s (for Kernel?)?
June 26th, 2009
I'll be honest, I have no idea what my friend did to her computer.
She saved everything on her ipod, and wiped her computer and then reinstalled it. after a day of working fine (with alot of restarts thanks to her virus protection says she) her computer doesn't turn on right or.. something.
she gets […]
My Computar: welcome loggon screen (black) msgina.dll?
June 26th, 2009
ok, am stuck at a black screen when my computer starts, but its just a window that says "windows" at the top and "username" and password" under it..it works but i like the blue screen log on screen better, i went to control panel > user accounts > user accounts > change the way users […]
how can i stop this unobi.dll message?
June 26th, 2009
What is this dll virus, and how do I remove it?
June 25th, 2009
In most cases, people say the dll virus slowed down their computer. In my case, it has made everything (icons, start bar, ect…) way too big a blown up. Please tell me how to fix this problem!
what happens if your .dll doesn’t work on gunz?HELP?
June 25th, 2009
i used mcinject to inject lol.dll to gunz and it said injected succesfuly. But when i pressed the end key in the lobby as it said on the instructions on how to use it, nothing happened. I also typed the hacks but it only said," no chat thingy to paticipate in,". THAT'S NOT WHAT IT […]
windows missing or corrupt file system32 hal.dll problems? help >< idk wut to do!?
June 25th, 2009
i been really depress lately and now my computer is broken and i don't know what to do =[ . system32 hal.dll. when i open the computer it happened to have a black screen and white letters sayin the files or corrupted. system32 hal.dll.
I got a windows xp dell demension 4800 but the thing is […]
MSVCP71.dll is missing?
June 25th, 2009
When I play MapleStory and change to windowed mode, a message pops up saying MSVCP71.dll is missing.
Does anyone know how to fix this problem?
Good, updated hacks that work for Balagunz private server? including bugahaxpro and crash.dll?
June 25th, 2009
So, I want working links for the hacks bugahaxpro and crash.dll for the private server Balagunz. All the links I found (from Google, yes) are broken and/or not working.. Please, help me.
Have anyone heared about atmfm.dll , i have a virus in my System32 folder and i didn't find something about th?
June 25th, 2009
And i scan with a lot of antivirus programs , and nothing .??
What is appdata\roaming\cdsjgs.dll?
June 25th, 2009
Every time i open my laptop as a USER a window will pop up that "….appdata\roaming\cdsjgs.dll" but if i open it as an ADMIN, the notification is not there…
Toshiba Satellite A300??
Why do I keep getting "Error Loading DLL" at my startup?
June 25th, 2009
Hi, I have a Windows Vista Home Edition and when I startup my computer I get an error saying "Error Loading DLL" and sometimes I get it randomly in between while I am working after the computer has already been started. How can I solve this issue? Please help.
Thank you.
Um, I just formmated […]
Lame_enc.dll Downloading Problems.?
June 24th, 2009
I recently downloaded Audacity, and now I'm trying to convert what I cut into an .mp3 format, but it tells me that I must download the lame_enc.dll. When I go to the ACTUAL owners website (), it stops downloading at 20%. I've tried it on Firefox, Google Chrome, Internet Explorer AND Oprah, and it's always […].
I installed it on a Windows Vista computer.
Does any one know how to resolve the problem?
EFOOpenError in module aviWUSB54Gv4.dll at 0000DAIB. Whats wrong here? I don’t even use it :(?
June 24th, 2009
Earlier in the day, I was able to access the Internet just fine. However, after I restarted the computer, I was unable to reconnect with the Internet. At first I recieved a notice that read "Exception EFOOpenError in module aviWUSB54Gv4.dll at 0000DAIB." I used the other computer (not wireless) that had access to the Internet […]
Guitar hero 3 Error 1723 missing required .dll problem?
June 24th, 2009
Ok i had guitar hero 3 and decided i was bored of it so instead on uninstalling it the correct way i just deleted all the files i could find about it.
Now a couple months later i would like to play again and when i go to install the game i get the choice […].
Does any one know how to resolve the problem?
How do I get vcast rhapsody’s DLL to download to finish installation?
June 24th, 2009
running?
um…. when i try to install it it says : error opening file for writing, d3dx9_31.dll : what it mean ?
June 24th, 2009
yahoo messenger…I get the message “the dynamic link library MSVCR80.dll could not be found Help?
June 24th, 2009
It is a second hand computer….and I want to get on-line with it
how do i fix binkw32.dll for free?
June 23rd, 2009
i have redownloaded the file what feels like a million times and when i looked upi ways to fix binkw32.dll it told me i had to pay its not that im cheap its just im not old enough for a credit card and on top of that i lost my job so i cant throw […]
Help with Unicows.dll?
June 23rd, 2009
This file (unicows.dll) somehow got onto my desktop, i may of accidentally moved it there, but i think its causing problems with my pc. Does anyone know which files it is supposed to be put in?
I dont see how that website can help me… i read the stuff in it and im still clueless
DLL error, I think the botnet may be at fault…. How do I fixy?
June 23rd, 2009
Error Loading c:\users\2008br~1\AppData\local\temp\yol…
The specified module could not be found.
WTF is going on here
creating dll's for win aircrack? […]
creating dll's for win aircrack-ng? […]
fallout 3 xlive.dll not valid windows image?
June 23rd, 2009
i just installed fallout 3, but after 3 days of messing with it i still cannot get this retarded game to work. i've done tried everythign i can think of, can anyone help please?
gsf83iujid.dll and an adware problem on my computer.?
June 23rd, 2009
I thought I was downloading an update to a flash player, thats when everything went wrong, the same file name kept coming up gsf83iujid.dll. Now I cannot view my hidden files and folders, and I cannot restore my computer to an earlier time, (I click restore but it doesnt work). And now whenever I […]
help removing iehelper.dll?
June 23rd, 2009
Well, I located the file in my system 32 folder and I tried to delete it, but every time i tried the pop-up would say "cannot delete iehelper: Access is denied. Make sure the disk is not full of write-protected and that the file is not currently in use."
i went to task manager to find […]
gameuxinstallhelper.dll??
June 22nd, 2009
I am trying to install AOE III but when i finish installing a window comes up that says "setup could not find gameuxinstallerhelper.dll. Games explorer integration/removal will not occur." I have Vista Premium..
'An exception occurred while trying to run "NvCpl.dll,NvCplResetToLastMode".?
June 22nd, 2009
I recently purchased a Dell Vostro 2510. i opted for the WinXP downgrade from Vista on this machine. It has a NVidia Geforce 8400M GS card installed in it. Dell support was no help. they told me to update the drivers from their website (which i did). this error persists. […]
I was told I may have a dll file that is infected with a virus. Do you know a free way to get rid of them.?
June 22nd, 2009
My firefox keeps crashing and I was told by live support it may be an infected dll file but I cant figure out how to find it or how to get rid of it. I need something that is free.
Unable to install XP. ntdll.dll hard error. troubleshooted the Harddisk. Harddisk is fine?
June 22nd, 2009
I need to reinstall windows xp because I am getting "send error" report to microsoft whenever I access explorer and other software. I tried several things:
1. Turned on DEP for explorer
2. Run dell diagnostic. The test passed
3. Ran hard driver diagnostic. The test passed.
Decided to reinstall windows xp. But during the course of installation, while […]
Where can I get Crossfire hacks that are undetected with a good Dll Injector that works?
June 22nd, 2009
How to remove Ginastub.dll?
June 22nd, 2009
How do i delete it? PLZ D:
WONT LET ME PUT WELCOME SCREEN!
I lost my instant messenger on my desktop and can not open it it says .dll file msvcr80.dll is missing?
June 22nd, 2009
When restarting my computer I keep getting error not found C:PROGRAM1MYWEBS~\bar\1.bin\M3PLUGIN.DLL what is it?
June 22nd, 2009
Now virus scan doesn't work. how do i fix this. Help! and thanks much!
!!0xc0190036!! 715/89164 (network explorer.dll)?
June 22nd, 2009
I'm also currently hanging at a screen that says:
!!0xc0190036!! 715/89164 (network explorer.dll)
the message blinks, then hangs, then blinks. It's been going on for about a 1/2 hour now.
this happen after i did windows update and restart my laptop (hp pavilion dv4) can someone tell me what causes the problem and how can i fix […]
mfc42.dll file error?
June 22nd, 2009
hp computer os 98 working good but on reboot always show massage file mfc42.dll and wtkernel component missing.
How do I undo a patch to uxtheme.dll?
June 22nd, 2009
I made the mistake of patching my uxtheme.dll so that I could run 3rd party themes on my computer. I also made the mistake of not creating a system restore. I however kept a copy of the uxtheme.dll that I over wrote. I pasted it back into c:\windows\servicepackfiles\i386 with no problem, but […]
question about ialmdd5.dll?
June 22nd, 2009
hey i tried to copy an update for the ialmdd5.dll that i downloaded into my system32 folder and it says i have to close any programs that might be associated with the ialmdd5.dll file.
By the way What does run with it because im completely clueless about it.
run time error372 , failed to load control yacs from yacscom.dll?
June 22nd, 2009
failed to load control yacs from yacscom.dll, this is the problem that iam having for a long time plz help
Every time that I turn my computer on it displays this DLL loading error?? How do I repair this?
June 21st, 2009
Error Loading c:\users\2008br~1\AppData\local\temp\yolssrpy.dll
The specified module could not be found.
WTF is going on here
Bad Image Problem C:\Windows\system32\ODBC32.dll?
June 21st, 2009
whenever i try to open itunes i get an error message saying C:\Windows\system32\ODBC32.dll is either not designed to run on windows or contains an error what do i do?
"error in loading dll"?
June 21st, 2009
OK..this is making me soooo mad, when i try to download the new version of adobe flash player…it says "done, but with errors on the page" at the bottom of the page where it always just says done, and when i double click it to find out whats wrong, it says that there is an […]
what does advap132.dll mean?
June 21st, 2009
when i turn on my computer i get this error # 132 with the message above. my computer freezes up on me, is this code this reason!
Non Private Server MapleStory .dll not found.?
June 21st, 2009
Why is this not working? It is NOT a private Server download so it should be fine right? Wrong. I have downloaded maple too many times and now its saying I dont have the .dll. Which I dont know why cuz I should. Is there a way to fix this? Tell me
what exactly is dll library. and how can i get it for my music downloading sites?
June 21st, 2009
when i complete a download for bearshare or any other music sites. i keep getting the message that my dLL library file is missing. so what can i do
How do I reinstall missing dll on my computer?
June 21st, 2009
I keep getting pop ups telling me to reinstall the missing dll from mcafee and activeshield
No CD-Rom, No access to Windows (due to a missed file -hal.dll-), and no floppy disk.?
June 21st, 2009
I managed to have DOS to work on USB Flash
but then after all of that pain while trying to do that, I found out that I have no access to the HDD at all.. so I couldn`t transfere the file "hal.dll"
its probably an issue of drivers, maybe..
I got the SATA drives, but I got no […]
Regsvr32 and dll files?
June 20th, 2009
How do I register or install Regsvr32 in windows vista 32 bit? I am trying to install these commands in cmd
wuapi.dll
wuaueng.dll
wucltux.dll
wups.dll
wups2.dll
wuwebv.dll
What do you do fix msvcr71.dll file?
June 20th, 2009
I got a new computer game called Horse Camp, and I was sort of excited to play it. I swear, when I started it I thought it would work, but sadly it says "Failed to start application because file msvcr71.dll is not found." I have no idea how to fix this and I want to […]
Dll Register Server Help?
June 20th, 2009
Can some one give me a link and help me how to register it.
Im running on window's vista home premium.
The message says "DllRegisterServer failed"
file hpzip305.dll’on (unknown) is needed?
June 20th, 2009
MSPDB60.DLL could not be registered for my vb program?
June 20th, 2009
For some reason when i installed vb, i tried running it but it says something like MSPDB60.DLL could not be registered. How do I fix this?
Yahoo Instant Messenger install fails to pass Microsoft installer proper parameters. MSVCR80.dll fails. HELP!?
June 20th, 2009
This is a fresh (today) install of Windows 2000 SP4 with all updates in a Sun Virtualbox VM and IE6. On my other machine (lots of other installs) the issue does not occur, possibly because MSVCR80.DLL was installed by another application.
Labtop RUN DLL error help?
June 20th, 2009
i was running avg and after it was done i removed all of the garabage and then i turned off the computer. well the next day i turned it on i had no task bar and no icons. just a error box poping up consintly saying error loading c:\windows\msicl6.dll i […]
Trojan virus trying to delete a dll file?
June 20th, 2009
I ran McAfee and had 38 trojans which were dns changers… McAfee would delete them and then they would come back on restart. I was able to locate them in system registry and delete 36 and they are gone.. but the last two are dll files and when I try to delete it says no […]
RUN DLL computer turns off?? why?
June 20th, 2009
hello, ive been having problems with my computer as soon as i turn it on and i start surfing the internet or as soon as i open another software or program such as mydocuments of photoshop or something like that it turns off….and its very ANNOYING! it had several viruses in the past but i […]
zogovaro.dll cannot be found?
June 20th, 2009
Every time I start my computer, the home screen has a box that appears on it that reads "error: zogovaro.dll cannot be found" How can I stop this?
Why an attention d3d9.dll appear when i try to play HL2 or L4D in my comp? And how to repair it?
June 19th, 2009
I'm so confused… I dont know to repair this problem. This is the sreenshot.
""
And this is my computer specification:
SystemWindows XP 5.1.2600 Service Pack 2, v.2096
CPUAMD Athlon(tm) 64 X2 Dual Core Processor 4600+,
MMX, 3DNow (2 CPUs), 1.87 GB of RAM, ~2.4GHz
DirectXDirectX 9.0b (4.09.0000.0903)
VRAM512.0 MB
Description NVIDIA GeForce 8400 GS
Driver nv4_disp.dll
Device typeD3DDEVTYPE_HAL
VP modeHARDWARE_VERTEXPROCESSING
Texture8192 x 8192
Vertex shaderver 2.0
Pixel […]
Avira AntiVir Personal finds the files "ratvitd.dll" and "jnukdiay.dll" in system32 as trojan horse. Help!?
June 19th, 2009
The Trojan Horses are TR/Crypt.FKM.Gen and TR/Crypt.Morphine.Gen . I am unable neither to clean those trojan horses by Avira AntiVir Personal nor to delete the files "ratvitd.dll" and "jnukdiay.dll" in system32 of WinXP Home SP3 when I restarted the notebook pc in Secure Mod. The DLL files are shown in inProc32 in RegEdit. I need […]
How do I fix this jumidani.dll garbage?
June 19th, 2009
Every time I open a program an error pops up twice and this is what it says.
"The application or DLL C:\system32\jumidani.dll is not a valid windows image. Please check this against your installation diskette."
I've tried multiple malware removal programs and searched the web for an answer but nothing seems to work.
any suggestions toward how i […]
I'm getting a Kernel32.dll error while opening a program.?
June 19th, 2009
Any ideas?
how should i go about if my computer is telling me that the application or DLL C:/windows system 32/msapsspc.?
June 19th, 2009
how should i go about if my computer is telling me that the application or DLL C:/windows system 32/msapsspc.?
June 19th, 2009
winntbbu.dll error during Windows XP installation on EEE PC?
June 19th, 2009
I hooked up a external CD drive to my eepc and started windows xp installation as normal.It got to this "winntbbu.dll" file and then it said that it can't copy it.Can someone please help me it is very urgent.I really love my little eee pc and i wouldn't like to just break down.Please help !
GDI32.dll not found - Vista?
June 19th, 2009
I was getting an error -DLL Initialization failed library winsrv failed. So I reinstalled the recovry disk and conintued to get the error (blue screen) but this time it came up as GDI32.dll was not found reinstalling may fix the problem so it asked me if I wanted the comp to try to repair, […]
GTA Vice City mss32.dll to start the game.?
June 19th, 2009
I download GTA vice city on u torrent and the i mad the folder name 'Crack' and then it told me to download mss32.dll and then it i did it. When i put it in the folder mss32.dll and i triend opening GTA vice city it said this 'The procedure entry point_AIL_set_stream_volume@8 could not be […]
Help where do I get the file AuthorScript.dll for windows XP Professional CD2?
June 19th, 2009
Help where do I get the file AuthorScript.dll for windows XP Professional CD2?
I want to add things back to my windows and it says I need the file AuthorScript.dll on windows XP Professional CD2 is needed. Now it also says i can copy files from somewhere on my comp but i have no idea where. […]
Help where do I get the file AuthorScript.dll for windows XP Professional CD2?
June 19th, 2009
I want to add things back to my windows and it says I need the file AuthorScript.dll on windows XP Professional CD2 is needed. Now it also says i can copy files from somewhere on my comp but i have no idea where. Help please
it says no devices detected. i got to control panel, add […]
what is WINUTIL5.DLL?
June 18th, 2009
there is a file on my computer i can't delete. How can I remove it ? its a file from oracle called: oci.dll?
June 18th, 2009
it says make sure program is not in use, well it is NOT in use already as far as i know
I downloaded halo trial team swap and put the file d3dx9_38.dll in system 32 and say did not find it?
June 18th, 2009
Missing Codec? xvidcore.dll not found error?
June 18th, 2009
Every time I try to play a video, I get this error that states 'xvidcore.dll not found' once I hit OK on it though the video plays just fine. This is a problem because I cannot create playlists to play through without hitting the Ok on this error for every single new file. What is […]
Help where do I get the file AuthorScript.dll for windows XP Professional CD2?
June 18th, 2009
I want to add things back to my windowsand it says I need the file AuthorScript.dll on windows XP Professional CD2 is needed. Now it also says i can copy files from somewhere on my comp but i have no idea where. Help please
What happens if you delete system32.dll?
June 18th, 2009
I know that if you have system32.exe it's a virus, right?
I think .dll is a system file, is it?
What happens if you delete it?
how can i download the dll-msvcr8oo.dll so i can get my yahoo messenger back the way it was?
June 18th, 2009
i want my yahoo messenger back to the old way it was. i didn't have to go through internet explorer then click on messenger then upload twice every time i want to get in there. it tells me the dll file is not there so how do i get it back? i want me […]
How do i eliminate wgalogon.dll that wont delete?
June 18th, 2009
I am trying to get rid of wga notification/install wizard from appearing when I reboot. I eliminated all wga content on my computer, but in Windows/System32 folder when I delete wgalogon.dll, I get a access denied make sure disk is not full & file not in use. I haven't installed the program so why is […]
The system DLL user32.dll was relocated in memory. The application will not?
June 17th, 2009
hi all i need help turned on the computer an had this message apper?
The system DLL user32.dll was relocated in memory. The application will not
run prplerly. The relocation occurred because the DLL
C:\WINDOWS\system32\HHCTRL.OCX occupied the address range reserved for
windows systems DLLs. The vendor supplying the dll should be contacted for a
new DLL.
I dont no what any […]
Error loading tfrhrtqn.dll does anyone have this dll?
June 17th, 2009
i can't seem to find tfrhrtqn.dll anywhere, does anyone know what it's from and where i can find it?
i need to find a free site to download legitlib.dll_cracked.rar?
June 17th, 2009
I just downloaded binkw32.dll. I put it into system32. Now it says it that I didn't install it right. Halp?
June 17th, 2009
I needed binkw32.dll file to play Splinter cell Chaos Theory. Just few minutes ago I downloaded it and put it into my System32 folder. Now it says I didn't install it properly. Why?
My computer’s MPR.dll file is corrupted!?
June 17th, 2009
Yeah I really need some help on this! I use a program called PDAnet on my iPod touch to get Internet. I ran a virus scan yesterday , and now my mpr.dll file is corrupted, missing the file wnetrestoreconnectiona, and I can't startup pdanet now. I'm running xp with service pack two. Please help this […]
the sims 3 won’t start. It say unable to load mscorwk.dll?
June 17th, 2009
Its an old xp computer, but still functionall. It installed nicely, but upon starting the game it just days that! What do I do?
Replacing hal.dll file in Windows Vista?
June 17th, 2009
my vista laptop won't start because the hal.dll file is missing or corrupt. i am currently running off a linux disc and i downloaded a new hal.dll file and replaced it in the system32 folder of my harddrive by accessing it through linux. however, it still isn't working. is this all […]
AVP2 - Unable to load function: FT_Thunk (KERNEL32.dll)?
June 17th, 2009
I need some help with this pc title, I've tried running in win 95 mode with admin access and this error has been happening for a while but i can't seem to find an answer.
what is kwinzy.dll,is it a virus?
June 17th, 2009
My laptop isn’t working… URLMON.DLL and WININET.DLL?
June 17th, 2009
A few days ago, I turn on my laptop only to find about 17 messages pop up that says "This application has failed to start because URLMON.DLL was not found. Re-installing the application may fix this problem." My desktop is fine, except I cannot use any of the applications. I also get […]
Help PLEASE I get an error concerning “msvcrt.dll” what can i do ?
June 17th, 2009
Help PLEASE I get the error "the procedure entry point _except_handler4_common could not be located in the dynamic link library msvcrt.dll" what can i do ?
the procedure entry point getprocessimagefilenameA cannot be located in the dynamic link PSAPI.DLL?
June 17th, 2009
How to solve it? I know rename the additional ones. But how if i deleted it instead of renaming it? I deleted one ZIP file which i downloaded and renamed one which is in another file.
HAL.dll corrupt or missing: NO DISC?
June 16th, 2009
a few days ago my compter (Gateway notebook with Windows Vista and an even newer hard drive) wouldn't start, displaying the "hal.dll is missing or corrupt" message. i have a genuine copy of windows, but no disc (either the laptop didn't come with one or i lost it). i tried copying the hal.dll […]
Has anyone heard of a virus named "H:\WINDOWS\apcsagn.dll" ?
June 16th, 2009
it has a pop up an the notification. The pop up is continous and anoying.
Any download for iTunes missing DLL?
June 16th, 2009
I am trying to update to iTunes 8.2. When I use the Apple updater, there is an error message and when I try to install iTunes it or uninstall it an error message comes up saying there is a missing DLL. Any suggestions where I can get this missing DLL.
what is the right folder for adobelinguistic.dll?
June 16th, 2009
Dll Bad Image Help????????????????????
June 16th, 2009
Ok so whenever i open anything it says something like…
msnmsgr.exe - Bad Image
The application or DLL C:\Program Files\Windows Live\Messenger\PresenceIM.dll is not a valid Windows image. Please check this against your installation diskette.
So i downloaded RegCure..
It came up with the same Bad Image error :s
What should i do!?
June 16th, 2009
go here and tell me how much intrest you have in this
Windows DLL files how to find dependencies?
June 16th, 2009
how to find out what DLLs an exe file is needed to use?
for example: a file with 7 DDL dependency.
how to find out all of them at once?
not to try to run the exe file.
How to fix .dll viruses?
June 15th, 2009
I've had a fine working computer for awhile and i keep it regularly checked up with addaware, spyware, virus scans, and ccleaner to keep it working. Just recently my virus software has been spotting alot of "dangerous threats" like ykfoktod.dll and a ton of other gibberish .dll files. I am also getting viruses from .dll's […]
dll’s for the DATA layer show up in the bin of the presentation layer!?
June 15th, 2009
I have a .NET 3 tier app. The presentation layer references the business layer which references the data layer.All 3 reference another project with classes as well. However, when I compile the solution, the dll's for the DATA layer show up in the bin of the presentation layer! Anyone know how to stop this?
I have an error loading C:\Windows\System 32\jkkIARjK.dll The specific module cannot be found.?
June 15th, 2009
It happens when I start my laptop. I am running Vista home premium.
A small window appears on the screen quite often. It reads ‘xvidcore.dll not found’.?
June 15th, 2009
Does anyone know anything about this? How to add it so the computer can find it?
how to install corefoundation.dll?
June 14th, 2009
DLL fileMSVR80.DLL cannot find?
June 14th, 2009
What language should I use to open a downloaded .dll ?
June 14th, 2009
I have down loaded some driver up dates and such, and some asked me what language to use to open the dll file(?). I chose word, and now want to make sure I am right.
Thanks!!!
have windows 98, lost messenger when trying to update version, can’t get back messenger i had. missing dll?
June 14th, 2009
I have windows 98, while trying to upgrade to yahoo messenger 9.0, I learn that this version will not load to windows 98. So when this download didn't work, it some how messed up my version that I did have (7.0). Now can't get any messenger to load…says I have a missing DLL […]
getting error globalroot\systemroot\system32\UACagcmfliwippmgef.dll how to correct this?
June 14th, 2009
getting this error in windows vista home edition any help out there??
Thank you
Binkw32.dll not found error?
June 14th, 2009
im using a torrent download of Morrowind the Elder Scrolls:III, and i get an error message saying that Binkw32.dll can not be found or somthing, if you know how to fix this please do tell.BTW i dont care if your 'against internet piracy' or any of that bull shit. if your against it great for […]
atitvo3.dll Trojan found by Norton. Won't go away. Please help.?
June 14th, 2009
I have norton antivirus and a message keeps poping up that i have a trojan virus. When I close the message it only pops up again and continues to. I found atitvo3.dll in my system32 file. Should I delete it or is it something else. I'm so confused. Please […]
Creative SB! X-Fi Xtreme Audio - Where is ACMixer.dll!?
June 14th, 2009
Hey,
I've got the Creative SB X-Fi Xtreme Audio. When installing from the disk I get several errors, the main one is Error I-001 - and the install.log says:
[Creative Console Launcher]
GUID={888347B3-AEC5-4BB5-8BAB-781D72A57C73}
[Console Launcher]
Error=I-001 C:\Program Files (x86)\Creative\Sound Blaster X-Fi\Console Launcher\ACMixer.dll not found.
I cannot find an ACMixer.dll anywhere, not on the cd, not on the downloaded installation […]
Where can I download a .dll file?
June 14th, 2009
Im trying to install a program and it says "Error loading dfshim.dll The specified module could not be found",
Where can I download the dfshim.dll file? I've been trying to google it without success.
Im trying to install Forex trader from forex.com as a practice demo program. And when i run the installation it says "Error loading […]
I have a corrupt file on my computer! <Windows root>\system32\hal.dll.?
June 14th, 2009
I have a Gateway desktop computer.
I purchased it in 2005.
Windows XP Home Edition was already installed on my computer,so it didn't come with any recovery or Windows disc.
I purchased my computer from Blue Hippo.(I know,big mistake.) I called Gateway about getting a Windows CD or a recovery disc,but they told me that I had to […]
Ialmrnt5.dll has stopped working…?
June 14th, 2009
I get this ialmrnt5.dll has stopped working error everytime i play the Sims 3. How do i fix it? I've tried going to Gateway.com and downloading a new driver for it but they werent very helpful, and i really dont know what to do anyway…can someone walk me through it?
eBayISAPI.dll normal?
June 14th, 2009
I'm looking at my "my ebay" link in the address bar and it has this in it, the whole thing is:
Is that normal? Just thought I would check it out since I just got a new computer and think I had some problems with spyware or something at first because I hadn't downloaded all the […]
how can i fix a uncdms.dll error?
June 13th, 2009
i get this error (uncdms.dll) each time i boot up my pc how cani fget rid of it or fix the issue?
after opening dll file in notepad what i do?
June 13th, 2009
what will happen if i dont fix dll problem?
June 13th, 2009
ive been having problems with some dll. issues.& i keep asking for help & either the answer doesnt work or i dont understand what people are telling me to do, (im kinda computer stupid). so im wondering what will happen if i just leave it & dont fix the dll. problem?
Pinnacle Studio 10 Installation Error "ODBC32.dll"?
June 13th, 2009
When I try to install Studio 10, I get this error:
"The procedure entry point MpHeapReAlloc could not be located in the dynamic link library ODBC32.dll"
Does anyone have a link to update my drivers for Studio 10? Or just something that could help.
I'm on 32-bit if that helps
And yes, I have tried to reinstall it but […]
Error Number: 0×80040707 Description: Dll function call crashed: ISRT._ WaitOnDialog?
June 13th, 2009
When I install Worms 3D, and insert CD2 this happens -
"Unhandled Exception
Error Number: 0×80040707
Description: Dll function call crashed: ISRT._ WaitOnDialog
Setup will now terminate"
What should I do?
What is & how do I re-install FLTLIB.DLL?
June 13th, 2009
Also I can not log onto my facebook account since getting this new PC, but I can still log on my old PC.
Thank you
Windows explorer encountered a problem AppName explorer.exe AppVer 6029002096 ModName kernel32.dll?
June 13th, 2009
Windows explorer encountered a problem AppName explorer.exe AppVer 6029002096 ModName kernel32.dll how can i fix it?
when i get on the internet this always pops ^ out of no where JSCRIPT.DLL how can i fix it?
June 13th, 2009
Wow.exe - Entry Point Not Found .dll error…help please?
June 13th, 2009
Okay I just downloaded and installed WoW twice now and I'm still getting the same error message :
Wow.exe - Entry Point Not Found - The procedure entry point D3DPERF_SetMarker could not be located in the dynamic link library d3d9.dll
I have tried it all believe me, reinstalled and updated direct x and my video card drivers, […]
panosuba.dll not found?
June 12th, 2009
Hi whenever I started my laptop, I am getting message "panosuba.dll is not found".Like that it is showing two more dll files are not found. I am not a computer geek and I don't know how to solve it…Can you tell me is it any minor problem or indication to system crash. Thank you…
How do you reinstall windows root system32 hal dll file?
June 12th, 2009
when i was trying to do my recovery console
it told me that my windows root system32 hal dll was missing or corrupted .. what do i do ? .. i do not have my xp cd .. please explain easily for me .. i get confused quick .. please and thanks
I was trying to do a recovery console thingy but it says that " windows root>\system32\hal.dll " is missing?
June 12th, 2009
when i try to do a recovery console on my computer it tells me the " windows root>\system32\hal.dll " is missing or currupted .. WHAT SHOULD I DO ??
i do not have an xp cd
How do I remove a .dll file?
June 12th, 2009
I downloaded this CDA to MP3 file converter so I could get songs for a project, and it worked, no spyware or anything, but I used the free version so the files were only half-converted (4 min song was 2 min). So I go to add/remove programs, delete it, and check my program files folder […]
I can no longer boot up windows xp home. receive error msg windows root system32\hal.dll.?
June 12th, 2009
I can no longer boot up my machine. WHen I attempt to, I recieve a message that states <Windows Root>\system32\hal.dll is either missing or corrupt, please re-install this file.
I can not figure out why this happened or how to fix it.
steamui.dll wont find it?
June 12th, 2009
ok so steam is a piece of shit i know that. i downloaded the missing steamUI.dll and it wont see it? and help?
DLL function export limit?
June 12th, 2009
What is the function export limit for DLL files? 65536?
When I start my computer, “DLL INIT DONE”?
June 12th, 2009
I can't even start my other computer up anymore without the Command Prompt box opening up and a bunch of text in it saying random things…at the end of the text it says DLL INIT DONE.
what does that mean? how do i fix it? i'm on my laptop which is working fine, but my desktop […]
dwwin.exe-DLL initialization failed window appears at shut down. Why ?.?
June 12th, 2009
ms Diognostics…
dwwin.exe-DLL initialization failed window appears at shut down. Why ?.?
June 12th, 2009
ms Diognostics… […]
xvidcore.dll and xvid.ax errors?
June 11th, 2009
I'm trying to use a Ulead animator program, but when importing videos, I got an xvidcore.dll error. I tried to install it, but when installing, it said that it cannot be continued. It had to do with an xvid.ax error, and it said to retry, abort or ignore. I retried twice, and still nothing.
Please help? […]
how can i install the ycpfoundation.dll everytime i open my pc theres an error message appearing?
June 11th, 2009
What is the best dll. file opener?
June 11th, 2009
how do i download maplestory wzmss.dll?
June 11th, 2009
VURTUMONDE.DLL help?!?!?!?!?
June 11th, 2009
I ran spybot s&d and it detects it but every time that i run spybot it keeps coming up…. So its not being deleted.. How can i delete this???
Also, does it steal passwords? Like what doea the virus do? Thanks 4 ur time
lost my plants vs zombies bass.dll file how do i retrieve it??
June 11th, 2009
i was playing plants vs zombies on my computer suddenly there was a voltage problem when the next time i opened plants vs zombies it didn't load it gave an error which said bass.dll not found .please answer this question.
I keep getting this error lexplore error in jscript.dll.?
June 11th, 2009
I get this error and then it closes my window. They say its a browser error. How do i fix it?
During Windows setup, 'wininet.dll' cannot be copied.?
June 11th, 2009
My computer just caught a Malware Doctor and after numerous attempts to get rid of it, I had to resort to formatting my computer. While Windows was installing, the part where it's copying the files, it said file 'wininet.dll' cannot be copied. If I skip over this, will it screw up my setup?
*I've also retried […]
what is wdfcoinstaller01005.dll?
June 11th, 2009
I know its by microsoft and I believe it's part of the operating system but it's in my personal folder with music, videos, pictures etc please help what should i do?
system32 hal.dll missing or corrupt?
June 11th, 2009
i got this when i restarted my compuer. i was downloading windows internet explorer 8 and it said i had to restart it. now i get this. im 12 so i dont know much about this. help me out please if you can!
I created a .dll in Fortran, which interfaces with a VB GUI to replace an existing .dll, recompile VB?
June 11th, 2009
Hi,
I have compiled a replacement .dll to be used with an existing VB GUI. The .dll works fine and can be called from a Fortran .exe, but when I replace it in the programs main folder (for GUI), I get 'Cannot find entry point' error. I don't have the original VB source, but […]
What is the setting you can change in VC++ to make the program independent from the MSVCC dll file?
June 11th, 2009
can sumbuddy give send me crysystem.dll file or give me a link help???my farcry is not working?
June 11th, 2009
it for game farcry if u solve this u r the brilliant
VB .net 3.5 How do I load a DLL at Runtime?
June 11th, 2009
All the DLLs that I will load contains a User Control Named "Main". I have to get the User Control. If the explanation/code is long. E-mail it to trinopoty@hotmail.com . Code will be very helpful. […]
When opening Limewire error pops up saying. Entry point _ismbspace not found in Dynamic lib. MSVCR71.dll. HELP?
June 11th, 2009
I need help. When trying to open Limewire the error I typed above occurs. I was wondering if anyone knows why and how to fix it? […]
Needs Help Repairing System32 DLL?
June 10th, 2009
when i start my comp up, it shows this error message.
"error loading C:\Windows\System32\uRIIMCuv.dll"
i have no idea how to fix it, and i dont have my vista cd.
please help
i need d3d9.dll?????????????????
June 10th, 2009
ok i have d3d8.dll and i need d3d9.dll to play cabal can some1 tell me what to do?
SteamUI.dll could not be found in library error?
June 10th, 2009
I first was not able to log onto steam online so i tried to reinstall steam. After that I got an error message saying it could not find the steam.dll file in library. I downloaded this .dll and put it in my stem folder and that was fixed, but now i get an […]
how do i clear an error message concerning msvcr71.dll?
June 10th, 2009
i was trying to uninstall a program i no longer wanted. the unistalled did not finish processing and kicked out an error message ' the procedure entry point_ismacspace could not be located in the dynamic link library'. I found the file on the .dll website; i downloaded the file and tried to unzip it. even […]
o2jam script erorr and o2net.dll cant find?
June 10th, 2009
can you send me a link for o2net.dll with no virus and can you pliss tell me how can i fix that o2jam script erorr
Run.Dll Error Please Help?
June 10th, 2009
Okay, I've started getting a new Run.Dll error on my computer. It says "Error Loading C:\WINDOWS\msedpbd.dll Access is denied." Now this is constantly popping up on average 5 second intervals. I've made sure it was disabled in "Services" and I went to "HKEY_LOCAL_MACHINE> SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ RUN" and THERE WERE NO .DLL PROGRAMS LISTED!!! […]
how can i download uuvug.dll?
June 10th, 2009
How to make a DLL Injector?
June 10th, 2009
Ok, so i have visual studio 2010 (beta). I somehow cannot figure out how to make a DLL Injector. I know some of the languages(c++, c#, f#) etc. And Mostly i know VB. If you can teach me how to make a DLL injector by a you tube video or something id be very happy. […]
Should I restore these .dll files! Please help?
June 10th, 2009
I've been having a problem on my computer with a missing IMM32.dll. When I click on almost anything an error message comes up that says "This application has failed to start because IMM32.dll was not found. Re-installing the application may fix this problem."
In my recycle bin I have 333 things that have .dll things. […]
still having trouble with dll.please help.?
June 10th, 2009
i keep asking & asking about help with a dll. problem, & the last persona that tried to answer has no name or cannot be contacted & i think i did something really wrong.
yahoo asked me to upgrade messenger & 1/2 way through it stopped cause i only have win 98 & it didn't […]
what does unable to load C:/program files/common files/paretologic\uus2\uus2.dll mean?
June 9th, 2009
Question:
what does unable to load C:/program files/common files/paretologic\uus2\uus2.dll mean?
Or what should I do to fix this error message that continuously pops up?
my computer is saying that it cant find a file "btwhidcs.dll"?
June 9th, 2009
How can i find what program the computer is trying to run so that i can delete it and keep the error message from showing again
dll file, Illustrator crack, licensing problem, change date, help?
June 9th, 2009
i have dl'ed a cracked version of illustrator that required me to replace the dll file..
I out the new dll file in the same folder as ill. is in but i cant find the old dll file to replace it with..
I tried to enter the serial and run the program but it said that the […]
What is gtgina.dll? How do i fix it?
June 9th, 2009
Ok, on my 3 year old computer, a windows xp, i tried to switch the way users signed on and off. It said gtgina.dll was the problem. i searched it in my computer files, and it came up with two results:
C:/i386-application extension
C:/WINDOWS/system32-application extension
Can i delete either of these to get rid of gtgina.dll?
How do you add something to System32? (shellstyle.dll)?
June 9th, 2009
I'm in an administrator account, and it won't let me replace shellstyle.dll with something I downloaded from that should make it pretty or something. Just how can I make it so that I have full control of System32?
You can contact me by email at chromesafari@live.com and at the same address for MSN/Live Instant Messenger.
Thanks […]
Do I need to unload DLL?
June 9th, 2009
I need idea about DLL?? Do I need to unload it to free some memory?? Does the unloading effect any program?? BTW I have 1GB of RAM and I am running WinXP. Any idea about this one?? I know how to tweak this DLL but I dunno what can be the effect of this DLL […]
i dontloadedhacks for MPGH CrossFirePublicHack and its runing but it keeps saying “could not inject dll’?
June 9th, 2009
i need an answer it keeps saying it could not inject dll
Hal.dll file missing or corrupt?
June 9th, 2009
Every time I start up my computer, I get an error message that the hal.dll file is missing or corrupt. I'm pretty sure that the reason for this is the boot.ini file. I've been trying find solutions for this online, and have been able to boot up my computer and start windows when […]
.dll was loaded, but the DllRegisterServer entry point was not found. This file cannot be registered.?
June 9th, 2009
Ok, I downloaded 'd3dx9_24.dll' because there is a game that requires it. So now I downloaded it and then i looked up on the internet what to do and it said to use "regsvr32 d3dx9_24.dll " in run… but when I did that… the error message in the title came up. PLEASE help me!!
10 points , MSGINA.DLL?
June 9th, 2009
HI everybody , i have an Acer aspire one which doesn't have a cd/dvd drive on it , when i start my windows xp SP3 home edition , it says ERROR MSGINA.DLL ,replace it , i can't get to the safe mode , the only thing i can control is the bios , and […]
Do you have a DLL to transfer data between VB.NET and MySQL ?
June 9th, 2009
explorer.exe - bad image, SHDOCVW.dll error?
June 9th, 2009
Hello, I have a Dell Laptop running Vista Basic… but everytime i turn it on after i enter my password it gives me the following error:
Explorer.exe - bad image
C:windows\system32\shdocvw.dll is either not designed to run on windows or it contains an error.
I've tried starting up in safe mode and also booting up from repair disk. […]
where can i download multiconvert.dll?
June 8th, 2009
i just installed an mkv converter but i got a multiconvert.dll crash error.how do i sort it out
All my application extension files changed to DLL Files?
June 8th, 2009
I recently attempted to download the Mss32.dll file from filefront in order to fix a problem I was having with KotOR 2. Once the download box popped up it did not originally have the Open with… option checked and I saved the file instead. Once I then tried to open the file I had to […]
why do I get (error load Lib exception #1 True cannot create file C:\Windosws\msnetgd.dll, Access)?
June 8th, 2009
when I click on upload a box comes up that states “explorer has caused an error in Kernel DLL.32. then closes?
June 8th, 2009
When I click ok it closes me out of myspace. I just uploaded pics. a couple weeks ago with no prob.
How Do I Fix This DLL. Error?
June 8th, 2009
I Have Just Formatted my PC And My First Visit Into Windows Has Come Up With This Exact Message Error. C:\Users\~REAPER~\AppData\Roaming\xndawon.dll is not a valid Win32 application. I Am Running Windows Vista Business 64bit Can Anyone Tell ME What To Do To Fix This?
Thanks
what can i do about this ialmdev5.dll blue screen? HELP PLEASE!?
June 8th, 2009
so i bought the sims 3 a few days ago.. and then i had this one problem, where my computer froze up while I was playing and a message came up that said "ialmrnt5 display driver has stopped working" desparate to fix this problem, i did some research on yahoo answers, and followed the […]
IM MAKING A MESS OUT OF TRYING TO RESTORE MY DLL. PROBLEM, CAN ANYONE HELP?
June 8 uni […]
I get this when I start up my computer C:\users\myname\appdata\roaming\oqxjl.dll it says it cannot find this..?
June 8th, 2009
I would like to know how to fix this
what does unable to load C:/program files/common files/paretologic\uus2\uus2.dll mean?
June 8th, 2009
Or what should I do to fix this error message that continuously pops up?
How Do You Fix xndawon.dll Error?
June 8th, 2009
I Have Just Formatted My PC And The First Vist Into Windows Shows An Error xndawon.dll
Anyone Know What I Can Do To Fix It?
Run DLL C:/ProgramData/Yopiruna/yopiruna.dll what is it and how do i get rid of it?
June 8th, 2009
DLL - Computer File Help?
June 8th, 2009
When i Switch on my pc, the following message is appearing:
C:\Windows\system32\iassvcs32.dll is either not designed to run on your computer or has an error.
The message is longer than that but that's basically what it says.
Does anyone know how to fix this problem? Or who i can call?
I have a Packard Bell computer that runs […]
Kitrain.dll Error Access violation at address 00000000. Read of Address 00000000?
June 7th, 2009
I play a Maple Story Private server, and I'm using KiTrain.dll, (Kipe)
I double click on a packet, it gets put into the Send box,
I click send, annnnnnddddddddd
DING
[…]
Windows Xp hal.dll problems :( lots of headaches?
June 7th, 2009
i am having trouble with my acer aspire 5735. I did have windows vista on it but then down - graded it to window professional xp. since then its given me nothing but head aches , everytime i fix it it keeps coming up saying somthing like <windows>\system32\ hal.dll . somthing like that. now when […]
problem of RUNDLL error loading c:\progra~1\my webs~\3.BIN\bin\M3PLUGIN.DLL COULD NOT FOUND .. MESSAGE COMES?
June 7th, 2009
problem of RUNDLL error loading c:\progra~1\my webs~\3.BIN\bin\M3PLUGIN.DLL COULD NOT FOUND .. MESSAGE COMES EVERY TIME I START PC and yahoo, irctc sites can not login, it hangs..pl help
SHELL32.DLL.BAK ISSUES?!?! URGENT, PLEASE HELP!!!?
June 7th, 2009
I downloaded a visual style and renamed my original shell32.dll.bak. I also tried to rename my browseui.dll file but it wouldn't make any changes. Now i can't upload or download anything and i'm afraid that if i log off it won't let me log on again. What do I do?
I downloaded a visual style and […]
Re missing dll \Yahoo\common\YMMAPI.dll?
June 7th, 2009
the desktop icon disappeared and was replaced with a grey folder with a blue stripe when I clicked on this I got the error message….\Yahoo\common\YMMAPI.dll how can I correct this please. Am running Vista Home Basic. I would be grateful for your help. Thank you
is an error with system32\xagpwbh.dll bad. if so how can i fix it?
June 7th, 2009
it pops up on log in of computer.
How can I reference a DLL through code in VB.NET?
June 6th, 2009
Referencing a DLL through code
How do I find the Mss32.dll file in KOTOR2 for Vista?
June 6th, 2009
I've looked in the folders and I don't see ANY file called Mss32.dll. I'm not that great with computers so is it really called something else? Please help.
everytime i try to put a new mss32.dll file into it, it says insert new disc. so what am i doing wrong?
Why do I keep getting a Search Box with YSearchSupport.dll file and uninst iess.exe everytime I log on?
June 6th, 2009
The trendmicro solution is vague and unavailable on their site.
error loading c:/windows/system32/rohbomir.dll?
June 6th, 2009
Helpdll.dll error when run a game?
June 6th, 2009
I have just installed a game and I got a missing helpdll.dll message come up. I went on the internet downloaded the missing dll file no problem and put it in the system 32 folder. Now when I run the game again it comes up with a message:
Helperdll.dll Missing Entry:_MoveandRun@16.
What is this? How can I […]
What are ParetoLogic\UUS2\UUS.dll files?
June 6th, 2009
Box comes up that says "C:\Progam Files\Common Files\ParetoLogic\UUS2\UUS.dll could not be found." What is this file used for?
Error uncdms dll how do i fix it?
June 6th, 2009
hi there just wanted to thank every one for there
many thanx to all
Does anybody know where i can get lame_.dll mp3 for cockos reaper 3.0.1?
June 6th, 2009
Does anybody know where i can get lame_.dll mp3 for cockos reaper 3.0.1?? im trying to find it but i cant i wanna turn my music into an MP3 file insted of WAV
error loading c:\windows\system32\vuxielwl.dll?
June 6th, 2009
when i sign in to windows this error box keeps coming up why? and how do i stop this please? also get another one the same but evavmmvo.dll at the end i havent a clue about why these error boxes are occuring just annoying doesnt seem to affect performance any ideas how to stop them […]
what is the error that comes up stating your system cannot find the aueuivhy.dll?
June 6th, 2009
i already got finalt fantasy and psxe, what are the plugins i need for it? and it says zlib1.dll missing wth?
June 5th, 2009
final fantasy 8 that is
How do I remove PSAPI.Dll after I find it & is it safe to do so? I found 2 of them in my directory. JJ?
June 5th, 2009
windows xp hal dll error ?
June 5th, 2009
I cant start my computer !
I had it running fine last night and turned it off.
I tried to turn it on and it wont turn on
it keeps saying my "<windows root>\system32\hal.dll is corrupt or missing"
How can i fix it ?
I have Windows xp home edition
I have both the Windows xp CD but i dont want […]
How do I remove from my computer Get Process Image File name W dynamick link library PSAPI.DLL?
June 5th, 2009
How can I capture network packets using C++ with winPCAP.dll?
June 5th, 2009
Error uncdms dll how do i fix it?
June 5th, 2009
hi there i have unistalled windows desktop search but im still getting the error ive tryed recovering 3 times and it dosent seem able to sort its self out and im having trouble downloading any programs is there anything i can do to force it to install updates at least as im wonding if theres […]
Voice pc to pc in Messenger stopped working suddenly. APPCRASH fault module MSVCR80.dll. Want a simple fix.?
June 5th, 2009
I've been using Yahoo! Messenger for voice calls since January. Now, quite suddenly, attempt to place a pc to pc call crashes the program. fault module name is MSVCR80.dll. I am moderately savy,but fearful of cleaning up the registry. Found a related problem by other uses, but no answer here:
im gonna buy sims 3 and play over the summer is Vga.dll okay for sims?
June 4th, 2009
——————
System Information
——————
Time of this report: 6/4/2009, 21:23:21
Machine name: TOSHIBA-USER
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 3 (2600.xpsp_sp3_gdr.090206-1234)
Language: English (Regional Setting: English)
System Manufacturer: TOSHIBA
System Model: […]
how do i restore msvcp80 dll file for windows 98 free?
June 4 […]
help!!! shdocvw.dll problem;(?
June 4th, 2009
In my WindowsXP I'm receiving the error message: "Windows Explorer has encountered a problem and needs to close." I have read the Microsoft Knowledge Base Article 256194 on the issue and I'm unable to follow their directions for resolving the issue. I'm a really low-level beginner when it comes to these things.
Here are their […]
a driver is missing from system32, called irdvwuh.dll, where do i find this driver?
June 4th, 2009
I'm on an XP system…and when i open windows, a box pops up…saying this driver is missing, and it is unable to open a module in a sub-system…I don't know what program uses this driver…and I'm afraid it might be a driver for virus i just killed…how do make the computer stop asking for this […]
running vista andl a file called “inscxj.dll” was unable to be found, what is that?
June 4th, 2009
the file that cannot be located apparently is under my roaming folder…
does anyone know what this is c:\windows\32\osfonddnc.dll?
June 3rd, 2009
cant seem to find it in my files, but i keep getting this error when i turn on my puter.
vista pshed.dll error?
June 3rd, 2009
my computer was working fine and then i turned it off and went to bed. in the morning when i turned it on it goes to blue screen that said something alone the lines of, windows couldnt load correctly and all that good stuff. I tired to start in safe mode and that […]
Is a web service a dll for the web?
June 3rd, 2009
how do i apply a theme that gives you a bunch of images and button files and dll’s plus all the mouse cursers?
June 3rd, 2009
i got a Starcraft windows theme but i dont know how to apply it,
can u help me?
now i downloaded the ePSXE, but it tells me that it can't find zlib1.dll. Whats up with that?
June 3rd, 2009
Editing/Decompiling/Something .DLL?
June 2nd, 2009
ok im not sure if the title of my Q is correct but whatever so i downloaded this hack for a game (Crossfire) for PC and its injected into the game now its set to run for only 5min what im looking to do is change the run time for it i have no knowledge […]
Help with replaced USER32.DLL file in windows xp?
June 2nd, 2009
i replaced the original user32.dll with one that was downloaded from the net. now my pc is slow and takes a long time to start up and hangs often…how to replace the original user32.dll file…
i read online that the .dll files should never be downloaded from these sites…
What isC:\PROGAM\MYWEBS1\bar\1.bin\F3SCRCTCR:DLL?
June 2nd, 2009
When I boot up my desktop the message comes up and says it can't find this. What is it? do i need it and how do I get rid of it?
who can help me??application has failed to start because d3dx9_31 dll was not found?
June 2nd, 2009
me open game ,then out this application has failed to start because d3dx9_31 dll was not found.Re-installing this application may fix this problem,
what is d3?
Suggestions for clearing gopapodu.dll error?
June 2nd, 2009
I am getting this error message at startup and while starting every program: "The application or DLL C:\WINNT\system32\gopapodu.dll is not a valid Windows image. Please check this against your installation diskette." I've already run Ad-Aware and Super Anti-Spyware to find and eliminate malware, but still getting message. Not crashing computer, just […]
how to restoredllfile.msvcr80.dll to my computer?
June 2nd, 2009
i change to yahoo messenger web and i don't like and i want to go back to the messenger i had before and i can't get back with out dllfile.msvcr80.dll
error uncdms dll how do i fix it?
June 2nd, 2009
there thank you for all your help ive been having trouble downloading program aswell im confused as the windows is pre-installed but ill give these ago thanx so much your all so helpful
a free program to convert exe dll to stand alone exe?
June 2nd, 2009
whats a free program that i can use to compile/convert exes with dll's to make one stand alone exe
What program do I need to open "Window.dll"?
June 2nd, 2009
Which program do I need to open "window.dll"??
I have tried many extracting programs. Please send me the name of the program-location
what is an error rundll c:\windows\system32\degejba.dll and how do i fix this @ start up of my computer?
June 2nd, 2009
i downloaded a vista theme and ialso download a theme.dll file to replace my older version and i did all the?
June 1st, 2009
work and restarted my system and iwas not able tosee my desktop items and i was access my system through windows task manager how can i restore my desktop?,,,,,plz help me
Error loading C:\Documents and Settings\Volunteer\Local Settings\Application Data\fgntxpc.dll ….?
June 1st, 2009
this pc is not booting properly. after getting this message i blew dust out of the case then it booted up fine. later when i rebooted it would not boot again. i think this is virus-like behavior. what does this sound like to you?
boleh bagi hack,BOT,cheat PW indo dll ?? plisss?
June 1st, 2009
cheat PW dll bagi yah[yg indo]?
i have an error uncdms dll how do i fix it?
June 1st, 2009
hi there
can any one help i have an error on my pc uncdms dll and it apparently corsed by windows desktop search application not working well i looked on microsft website and they addvise unistalling it and re-installing it well i did uninstall it but i now cant re-install it any idears? it would be […]
Does anyone know about the trojan dxref.dll?
May 31st, 2009
It's in my system 32 foler and it keeps popping up
Desktop won't boot, blue screen saying issue with olecli32.dll. Help me get my computer running again!?
May 31st, 2009
I have an eMachine T3302 desktop and everytime it boots it says stop: c0000221 {bad image checksum}
The image olecli32.dll is possibly corrupt. The header checksum does not match the computed checksum.
How do I fix it?
What does error loading c;windows\system32\gjktfm.dll mean?
May 31st, 2009
every time i load my computer it says error loading c;windows\system32\gjktfm.dll and i think this is why i cant open some of my aplications could you please tell me what is the problem and how to solve it thank you!
Please help me find this .dll "ljJDUnop.dll"?
May 31st, 2009
Please dont just give me a link to a site that claims to have all dlls. I have search what must have been all those sites and i couldnt find that dll. I got a vrius a little while ago that deleted it i got rid of the virus but i didnt get the dll […]
Trying to launch World of Warcraft, but “DivxDecoder.dll” was not found. What to do?
May 31st, 2009
This hasn't ever been a problem before while launching WoW except now. I don't remember uninstalling anything, but it might very well be possible that I did. Anything I can do?
How do i fix Bad Image missing .dll file error?
May 31st, 2009
Every time i start my computer and open a program i get a bad image error saying "program name*.exe - Bad Image the application or DLL (devolivi.dll) is not a valid windows image. please check against your installation diskette.
The programs work after i hit "ok" but this is still a big nuisance.
i tried using […]
I deleted wininet.dll?
May 30th, 2009
I have been having trojan virus problems. My anti virus stated that the following file wininet.dll was infected so i deleted it. After i rebooted my PC the computer logs into my account with only a error message explaining that same file i deleted cannot be found and re installing it could fix this. Unfortunately […]
Unable to link to Kernel32.dll?
May 30th, 2009
I am trying to install a computer game and this message shows up every time I click install. I downloaded Kernel32.dll but the message still shows up. How do I get game to download?
I am using Windows Vista Home Premium, if that helps
WPWIN12.dll What in the world kind of error is this?
May 30th, 2009
In trying to open some docs. I am getting this message. . My system tells asks me if I want to fix the problem now. . . yes or no. . I keep hitting YES. . but nothing happens. . .What have I done to some of these docs without knowing it????
i cant run crysis.exe on vista because of a missing dll file to be specific d3dx10_34.dll cant be found?
May 30th, 2009
could anyone help me how to make to crysis run on my vista home premium
RUNDLL error amabituy.dll?
May 30th, 2009 […]
If i add a reference DLL to a C# project, how would i declare a new instance of the class and use its function?
May 29th, 2009
If i add a reference DLL to a C# project, how would i declare a new instance of the class and use its functions?
when I try to open my yahoo messenger I get a error code that says something with dll … I need help !! :(?
May 29th, 2009
and also when I try opening my windows media player it says : operation. low on memory.. any help of what is wrong or if it can be fixed some how please let me know and I will greatly appreciate it
how do i restore dll filemsvcp80 dll on windows 98?
May 29th, 2009
i tried to upgrade messenger & it stopped in the middle of installation & it said dll file msvcr80 not found. i think i restored that now it says dll msvcp80 not found. how can i restore it free?
I found a file called wjqrshce.dll. what is it?
May 29th, 2009
my antivirus found a dll called wjqrshce.dll it couldn't be open it and it wasn't in the windows folder when i searched for it
I Have AMC Brio Computer and when i put some CD inside it said error Loading autorun.dll.Please Help me?
May 29th, 2009
My computer cant read CD's
[…]
Error Bad Image File. I am getting an error like Application or DLL C\WINDOWS|system32\ .dll is not a valid?
May 28th, 2009
image file. plz check with ur installation diskette.
How to get rid of it?
Error Bad Image File. I am getting an error like Application or DLL C\WINDOWS|system32\ .dll is not a valid?
May 28th, 2009
image file. please check with ur installation diskette.
How to get rid of it?
I know its from my USB or something please help!
When I turn on compaq presario, it does not complete the boot process. Error shows file “hal.dll” missing.?
May 28th, 2009
I cannot play Bioshock because it can't find binkw32.dll?
May 27th, 2009
I can play it when I extract Bioshock.exe from WinRAR but when I put it on the desktop it says it doesn't find the binkw32.dll and it's annoying. How do I fix?
how can I add LexCtrls.dll to my computer?
May 27th, 2009
keep getting a box when Im starting up that LexCtrls.dll needs to be installed.
I think I removed it by accident in programs
where to dowload dll repair tool?
May 27th, 2009
dous anyone know where to download a dll repair tool thats not a virus?
PLEASE HELP? i don't know what tvt_gina.dll is?
May 27th, 2009
Ohkay I want to change how my windows looks when i turn it on…
so i went to control panel>user accounts>change the way users log on and off and then an error message pops up saying "a recently installed program has disabled the Windows Screen and Fast User Switching. To restore these features, you must uninstall […]
How Do I Fix a .dll Error?????
May 27th, 2009
I downloaded this application on my comp, and it came with an "application extension" called Iewoh.dll . When i try to run the application, a small window pops up saying "Error launching Iewoh.dll!" I tried downloading these dll fixers from the web, but i need to pay like $35 for it to fix em. Plus, […]
what is "C:\Windows\oziharusaneyulex.dll"?
May 27th, 2009
I searched for the ".dll" file and wasn't able to find it. May this be affecting my computer's proformance?
How do I fix my laptop, error message saying WININET.dll and Urlmon.dll not found?
May 26 […]
generate a DLL from a code by programmatically?
May 26th, 2009
I need to generate a DLL for a project by programmatically(vc#).
I try to start some of my programs and i get (dciman32.dll not found) how do i fix this?
May 26th, 2009
The program i want to run is america's army. It loads but i have nothing on my screen (monitor)
How can I edit a .dll file?
May 26th, 2009
I need to edit server.dll and client.dll for the mod I am making using VALVe's Source SDK. Please help me.
Binkw32.dll Error how to fix?
May 26th, 2009
When I try to run games it gives me this error-Procedure entry point, binkregisterframebuffer@8 could not be located in the dynamic link library binkw32.dll. How do I fix this
Could anyone tell me how to fix Error loading C:\window\system32\seyawidi.dll that comes up on my laptop?
May 26th, 2009
My laptop shuts down right after I start it up and shows this error message
What do I need to do to repair my Ftwmsc32.dll file?
May 26th, 2009
I cannot get into my family tree program
Shell32.dll??????????
May 26th, 2009
I just downloaded Vista icon .dll file!Can I Replace the new icon file to shell32.dll?
Missing d3×9_31.dll, how do I fix this?
May 26th, 2009
I want to try out this new game, but every time I try to start it I get an error message:
"This application has failed to start because d3dx9_31.dll was not found. Re-installing the application may fix this problem."
How do I fix this?
——-
Using Windows Vista SP1 64-bit, if that's helpful
msvcr71.dll is missing?
May 26th, 2009
Hi i have had a couple problems with numerous amounts of my applications where the following message pops up. One application for example is RealPlayer.
This application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix this problem.
How can i fix this problem?
Computer programming question on kernel32.dll?
May 26th, 2009
Hello, this is my first time on yahoo answers, and i only joined so as a last resort. I just bought this old game called "Vanguard Ace" it's a vertical shoot em up game (Malaysia's first arcade game) by Imaginative Illusions, a rare find on the internet (The real version with CD). I installed it […]
the procedure entry point shreggetvaluew could not be located in the dynamic link library SHWAPI.dll?
May 26th, 2009
This showed up when trying to download internet explorer 8…how do i fix this so i can download
Rundll/msiclass.dll Error?
May 25th, 2009 […]
WHEN I TRY TO INSTALL WIN INSTLLER 3.1 IT FAILS AFTER SOMETIME SAYING SYSTEM32\MSI.DLL IS OPEN OR USED BY?
May 25th, 2009
ANOTHER PROGRAMME.WIN INSTLL PARTIALLY INSTALLED. SOME SOFTWARE I DOWNLOAD I.E.VERSION TRACKER OR COOLIRIS SHOW MSI FILE TYPE WHICH DO NOT OPEN
my computer was downloading xul.dll and i stopped it,now i need it?
May 25th, 2009
where is it
Help with Wininet.dll can’t see anything but wallpaper.?
May 25 […]
Missing hal.dll on laptop?
May 25th, 2009
Hello,when I start up my Laptop it says missing hal.dll and it says insert it to get it back or something like that.
So how can i get Hal.Dll
Fallout 3: xlive.dll problem?
May 25th, 2009
Okay, so I just installed Fallout 3, and when I try to run it, it comes up "xlive.dll is not found", then it says after i put xlive.dll in the fallout 3 folder, it says xlive.dll is not a valid 'image'. I've read forums on how to fix it but they all say go to […]
Where to get Morphine.dll and Injec-tor ?
May 25th, 2009
How does System32.dll file go missing?
May 25th, 2009
Ok, yesterday I woke up and turned on my computer to find a message saying
System32.hal.dll (I think that's right) is missing or corrupt please reinstall the file. (paraphrasing)
Well about 5 days before I downloaded a torrent that worked fine, no errors, scanned everything, nothing detected. But I don't see any other reason the file would […]
Computer programming - QT_Thunk - Kernel32.dll?
May 25th, 2009
Ive already asked this question in Computers and Internet > Programming & design, so if it looks familiar you know why. LOL
I really needed a broader range of answers, so please dont be annoyed. =]
Hello, this is my first time on yahoo answers, and i only joined so as a last resort. I just bought […]
My Computer can't locate KERNEL32.dll?
May 25th, 2009
For some reason when i start up my computer i got a blue screen of death saying that it can't locate component, and that the KERNEL32.dll was not found, and reinstalling the application may fix this problem. What is going on?
where can i download Left 4 Dead for free? i had downloaded once but it couldn't find binkw32.dll.?
May 25th, 2009
where can i download Left 4 Dead for free? i had downloaded once but it couldn't find binkw32.dll.
How to create one setup to register DLL files in windows OS.?
May 25th, 2009
i want to create a setup file of DLL and OCX file. Package and Deployment wizard is not perfect for me. Can you tell me how to create one setup file of My VB 6.0 Project. which one is alternative of Package and Deployment wizard. How to protect my vb 6.0 project's exe.
missing common dll file?
May 25th, 2009
i get this error message without a number 4 itsaying
"the procedure entry point?error@priority@logger@pcd@@sa?av1z3@zx could not be located in the dynamic link library
common.dll"
any ideas what this could be amd how to fix it?thanks.
ESPN is asking me to download ietag.dll?
May 24th, 2009
i get these alot from these forum sites i go to is there anything wrong if i download it i haven't downloaded them yet and they pop up on occasions and i just ignore it…so what are they really.
How to fix “Illegal system dll relocation?”?
May 24th, 2009
Well It's not only for that realtek thing, its for some programs on my comp.
It says: The system DLL user32.dll was relocated in the memory. The application will not run properly…….blablabla.
Yea the rest is the same.
And I have Windows XP Home, SP3, so the thingy from Microsoft will not work.
I Re-Installed Windows XP Because it said : <Windows Root>\system32\hal.dll. Now It Still Says The Same Thing.?
May 24th, 2009
So, my computer when I turn it on, Says : <Windows root>\system32\hal.dll Please Re-Install. When I start my computer. I re-installed the computer, and after that process I restarted my computer, like it said to do, and it just says the same thing. Any OTHER thing I can do to fix this?
Windows could no start because : Windows root>\system32\hal.dll is missing. Re-install?
May 24th, 2009
^^^ That is exactly what my computer says to do when I start my computer. I tried going into Safe Mode, but it just says the same thing. Basically, I can't even enter my computer. I have a CD to re-install my computer. But, I have no way of knowing how do this, when I […]
Where is an exact link to download the xul.dll file?
May 24th, 2009
I need this particular file for a particular second life viewer. I've been trying everything i can to download the viewer but no matter what i get xul.dll cannot be found. I purchased registry cleaing programs…downloaded firefox..and still it does not work…i'm not srue what to do. I'm going nuts though over this..about […]
These dll websites don't have the xul.dll file. I'm having the same issue but w/ a second life viewer download?
May 24th, 2009
Anyone know how to actually get this particular file? No dll file website seems to have it or know what it is…i'm going nuts over this…it's driving me crazy.
Why do I get this error message about unobi.dll every time I log in to windows?
May 24th, 2009…
an error problem with clientmanager.dll?
May 23rd, 2009
ok i tried to sign into my yahoo this morning and its telling me (along with a few other apps) that i cant because the clientmanager.dll file is missing or corrupted. i tried to do a re-install of messanger and its still not working.. does anyone know how to fix this problem? or what may […]
what is ordinal 266 not located in dynamic link library mis.dll?
May 23rd, 2009
After I Download The original vista icon,Can I Rename and replace at D:Windows/Syste32/Shell32.dll?
May 23rd, 2009
Please help me what to do????????????????
what is dynamic link library in ordinal 266 msi.dll.?
May 23rd, 2009
ietag.dll keeps trying to get me to load..how do i get rid of the pop up..don’t want to install it?
May 23rd, 2009
Make a win32 dll project?
May 23rd, 2009
Make a Dynamic link Library that exports a function names CircleArea(). This function takes one double (data type) parameter and returns the area of the circle.
Formula to calculate the area of circle is
Area of a circle =3.1415*r*r.
Where can i get Ndui.dll?
May 23rd, 2009
i didnt spell it wrong and its not at dll-files.com! helpme ( :
file missing window root>\system.32\hall.dll and i also get autocheck drive is not avaiable?
May 23rd, 2009
how can i fix them
Where can i get this dll file?
May 23rd, 2009
i was installing my game and it said Ndui.dll couldnt be found. help?
i did!!!!!!
When I start up Operation 7 it says This application has failed to start because xpcom.dll was not found?
May 23rd, 2009
What how do i fix that i already deleted it and download/installed it again! THIS MEANS I CANT PLAY THE GAME!!!! how o i fix this PLEASE HELP!??
and also im not having vista disc with me for now??
tell me whether i will get any help from microsoft windows website??
plz??
how can I re install msvcp71.dll?
May 23rd, 2009
I have a windows Vista and I keep getting a message that says something about msvcp71.dll missing, re-installing this app may help.
How can I get msvcp71.dll again?
my pc keeps giving me errors,like dll/dns errors,NOTHIING loads correct.?
May 23rd, 2009
I keep getting these dll/dnserrors when ever I try to search for anything,yahoo is my Only page that loads,UNTIL I do a search. Then I get dll /dnserrors, Int exp.cannot load the webpage,etc. I've searched for over 2 hours now and every page that says it's a free download,makes you pay AFTER the FREE download. […]
What is this: pcavrcyy.dll?
May 22nd, 2009
pcavrcyy.dll
And can I get some information on Vundo? and removal.
my computer keeps trying to load tekehaha.dll,but it says it cant be found.?
May 22nd, 2009
my computer keeps trying to load tekehaha.dll,but it says it cant be found.
Can someone list for me what dll files are in your maple folder?
May 22nd, 2009
I think i might be missing one of the dll file from the game so i need a list of what dll files i should have so i can download the one thats missing…. thanks
IE7 Closing get Kernel32.dll Error?
May 22nd, 2009
Everytime I close internet explorer I receive the Kernell32.dll error message. I am unable to locate the fix on Microsofts website. I am running Windows XP. Any suggestions?
maplestory error dll for class not found?
May 22nd, 2009
The game was working perfectly fine last night and then this morning its suddenly giving me this error —-> -2147221000 (dll for class not found)
Ive uninstalled completely and reinstalled it and i still get this error, Ive tried everything i can think of, (restarting comp, system restore to a point when the game was working, […]
Autorun.dll error when installing Windows 7? […]
I want dll i.e.gfxshared.dll for game Duke Nukem - Manhattan Project. Anyone knows from where i will get it.?
May 22nd, 2009
Please give me perfect idea. I am looking for it for 3 days but i can't.
Autorun.dll error when installing Windows 7 Build 7127? […]
How to get a code/crack out of a dll file?
May 22nd, 2009
How do you call on a dll in C?
May 22nd, 2009
Let say you write helloWorld.c
#include <stdio.h>
int main()
{
hello();
}
Then you make helloWorld.dll
#include <stdio.h>
hello()
{
printf ("Hello World!\n");
}
How do you get helloWorld.c to call on helloWorld.dll? The technical term is link to it. C! Not C++ not C#.
How do you "copy and overwrite" a patch (.dll file) into the "main directory"?
May 21st, 2009
I downloaded an iPod to PC converter. In the program folder under My Documents it has three files: the program,. a "readme" and a .dll file. The "readme" says to copy and overwrite the .dll file into the main directory of the program… Help! I have Windows XP PC.
Missing .DLL, how do I fix it?
May 21st, 2009
Alright, so I tried to download a make emulator on my Toshiba Satellite M35X-S114 and somehow I erased "mscwrbch.dll," my computer won't run paint, iTunes, Firefox, nothing like that, I can't find it on any DLL finder websites, I was hopeing maybe someone knows how to fix it?
my downloaded 3dsmax2008 won't start. It says "..d3d9.dll was not found."?
May 21st, 2009
already installed in my computer is directx 10 in vista. what should i do with this? help please..
should i install directx 9? will this fix it?
Combat arms d3d9.dll problem! I really want to play! WHERE TO DOWNLoad DIRECTX 9? (LOOKINSIDEPLEASE)?
May 21st, 2009
Before, I reformated my computer, it got the error missing file d3d9.dll or something, I thought it was a virus from my computer, and after I reformated my computer, I got the same thing! no i am NOT running hacks, how to solve this? can i download directx 9 instead of buying a video card?? […]
missing export file advap123.dll how can fix?
May 21st, 2009
i have nfs mw. previously der was no d3dx9_26.dll so i downloaded and copied it to system32. den i did run–?
May 21st, 2009
regsvr32 d3dx9_26.dll…but instead of registering, i get a msg "Loadlibrary("d3dx9_26.dll) failed - the specific module could not be found…my nfs use to work previously but due 2 virus problems i had to re-install xp…plz i need some help about dis…thank-you
Windows XP restarting endlessly, Kernel32.dll not found? need my files?
May 21st, 2009
Stop: c0000135 {unable to locate component} This application has failed to start because kernel32.dll was not found. Reinstalling the application may fix this problem
That is the error message i got on my desktop. I have a new laptop on the way and i would really like to get my files off my old […]
I have a popup on Amazon. res://ieframe.dll How can I get rid of it? I have tried everything I know.?
May 21st, 2009
This popup is only on amazon and pops up everytime I click the mouse. How can I get rid of it?
I am trying to put my comp on fast switching mode but it says that GTGina.dll is not letting it.?
May 21st, 2009
everytime i click on oblivionms-v62.exe they”ll say= Error code:-2147221000(DLL for class not found) can anyon?
May 20th, 2009
ive reinstalled and everything
What is file wmp.dll?
May 20th, 2009
I installed a program(pocket dvd wizard) about a month ago. It worked fine. The other day I deleted a few programs videos from computer and now when I try to use pocket dvd it tells me file wmp.dll is missing. I've tried reinstalling,upgrading, and repairing but nothing works. Is this a system file? anyone know […]
What does this error message mean? Error Loading C:\WINDOWS\omap32.dll, Access is denied?
May 20th, 2009
It keeps coming up on my desktop like every 30 seconds. I dont know what to do its so annoying
what is globalroot\systemroot\system32\uacgvssewlorgdFKlf.dll, it came up as a high risk heuristic virus?
May 20th, 2009
Norton 360 considers this a high risk and has quarentined it but I want to remove it if that is possible. How do I get rid of it.
I have avira antivir and nearly every a minute I am getting 3 or more alerts on C:\WINDOWS\system32\mwsxje.dll?
May 20th, 2009
The alert is saying a virus or unwanted program was found and this is occurring at least 3 times a minute if not more,it's beyond irritating. How do I go about getting rid of this without causing more damage to my computer or rebooting? Please and Thank you.
How do I re-install MSVCP80.dll?
May 20th, 2009
what is winkg32.dll ? when ever i start my laptop loaded with vista i get this on my screen winkg32.dll error?
May 19th, 2009
please help me to get rid of this one?
I do not have a OPP.DLL File?
May 19th, 2009
Is there a totally free OPP.DLL file download Is this a MS Windows DLL or Adobe Acrobat or who supplied the OPP.DLL anyway? I also tried to download Flash player, but it says my windows ME does not Support this download?? Why Thanks for your answers ahead of time
What is a xvidcore.dll error?
May 19th, 2009
its a external harddrive.
Whenever i open my etenal harddrive, the computer show me ' xvidcore.dll not found!' Whai does it means.
iehelper.dll help please?
May 19th, 2009
I've been having virus trouble and finally found iehelper.dll and think it is causing it. Is there any free software that will detect this and remove it without screwing up my computer? Preferably something created by microsoft or another trusted company. Can i remove it manually?
Should i open audiere.dll file with something or just leave it?
May 19th, 2009
because i have rappelz folder and there is a audiere.dll file in there but when i say start game for rappelz it says i dont have it so should i open the file with something or what because this thing is really starting to piss me off!! Or should i unzip a different audiere.dll file […]
I need some more help with my audiere.dll file?
May 19th, 2009
I officially got the audiere.dll file but when i tried to open rappelz and start the game it still sayed i didnt have it but the folder is ziped so could that affect it and if it does affect it how would i unzip the folder? Please help.
for some reason i already have a audiere.dll […]
when I start computer a massage de error WMP54GV4 dll at 000252AI appears onsktop how it can removed from comp?
May 19th, 2009
I need help getting my audiere.dll file for rappelz?
May 19th, 2009
Know i have downloaded Reg cure to repair my PC and i did but it says do u want to register and i say no and it says please wait fixing errors and i have like 1600 something errors and it says complete and it says errors found 1600 something and then it says errors […]
Illegal System DLL Relocation?
May 18th, 2009
I have received this message when I tried to open Microsoft Acess:
"The system DLL user32.dll was relocated in memory. The application will not run properly. The relocation occured because the DLL C:\WINOWS\system32\SHELL32.dll occupied an address range reserved for Windows system DLLs. The vendor supplying the DLL should be contacted for a new DLL."
*I have […]
C:\Program~1\MYWEB~1\\bar\1.bin\M3Plugin.Dll Error What does it mean? Where do I find this file.?
May 18th, 2009
This error comes up when I start my PC. I have no idea what it means.. I hope I am doing this right.
i have a dll file missing and cant find it anywhere on the internet? geBrrspP?
May 18th, 2009
this is the message i get
Error loading C:\Windows\system32\geBrrspP.dll
The specfied module could not be found
Can you intergrate DLL's into your program in C# and use them?
May 18th, 2009
how do I install/reinstall RGL.dll for yahoo messenger installation?
May 18th, 2009
Ny computer crashed. My son got in up and running. I had to reinstall yahoo messenger.I received messege that RGX.dll could not be found. How may I install/reinstall it? TY?
a popup on my computer : Run DLL?
May 17th, 2009
every time i turn on the pc, the window : "Error Run DLL" pops up twice
it says "cant find folder" i just click ok
what the hell does this mean
“Normaliz.dll” kept disappearing? Formatted my computer twice?
May 17th, 2009
Do you think there's an installed software that is destroying my data files? I think Normaliz.dll is part of Internet Explorer, and I don't use it, I use Firefox. As of now, my computer is running fine, but I don't trust it enough because it happened twice already, and I want to get rid of […]
X3DAudio1_4.dll error what should i do?
May 17th, 2009
i got saints row 2, and when i wanted to play it i got this error X3DAudio1_4.dll missing. I heard it has something to do with directx. I have Directx10 so what should i do now? thanks.
kernel32.dll missing on boot?.
kernel32.dll missing?.
i installed left 4 dead but it keeps saying failed to load launcher DLL?how can i play the game?
May 17th, 2009
it keeps saying thta and its not working and i want to play.what can i do?
Windows won’t startup - shell32.dll not found?
May 16th, 2009
I am unable to log on my computer: winlogon.exe, services.exe and lsass.exe don't work becuase shell32.dll was not found. It suggests that I reinstall it.
I have looked online and it suggests I put in the windows recovery disc and repair the shell32.dll file using the recovery file. At the moment I am doing a checkdisc […]
Why do i get a search window when windows starts with YSearchSuggest.dll in it.?
May 16th, 2009
After some part of Yahoo got intalled! Whenever I start my PC I get a explorer search window on my desktop with 1 file in it "YSearchSuggest.dll". I have looked many places to get rid of this. Can anyone definitely tell me how?
Mousehook.dll???? HELP!?
May 16th, 2009
My computer got infected and apparently theres this file called mousehook.dll that Spybot and Viruscan are both trying to delete but can't. Located in: C:/quarantine.
HELP any way to get rid of this virus?
res://ieframe.dll/navcancl on Twitter?
May 16th, 2009
I can't open the links posted on my Twitter page using my computer. The links usually have bit ly or tiny url in them.
My laptop tries to open the link on another page (like a pop-up) and then it displays the error message res://ieframe.dll/navcancl
A friend of mine checked the same links on his computer and […]
Problem: Cocreateinstance for My Yahoo DLL failed.?
May 16th, 2009
I received this message while trying to install Yahoo Messenger after download. I then deleted yahoo messenger box from my yahoo pages and tried again, but it still failed.
Windows Error: RUNDLL Error Loading C:WINDOWS\kbdbdl32.dll Access is denied Any solutions?
May 16th, 2009
This keeping popping up on my friends computer over and over and over and over. Windows Error: RUNDLL Error Loading C:WINDOWS\kbdbdl32.dll Access is denied
Any solutions?…suggestions?????
File shredders and .dll files?
May 16th, 2009
I'm looking for a good file shredder program, one that will even shred .dll files regardless if windows wants it to or not. Been looking for one forever now but no luck ='(
Helpz meh?
When i turn my laptop on it says - CI.dll is missing. Windows failed to laod because the required files missin?
May 15th, 2009
Ive tried booting from recovery disc to do start up repair, booting from LAN, booting from second hard drive which has recovery software installed but nothing happens. This error just constantly appears whatever I do. I can't access safe mode, command prompt or Last Good Configuration… I don't want to reformat so can anybody help?!?
how to repair DR.watson postmortem debugger.dll problem?
May 15th, 2009
this problem starts at the time of start up my computer.I am using Windows xp sp3
The procedure entry point_except_handler4_common could not be located in the dynamic link library msvcrt.dll?
May 15th, 2009
when ever i open winamp.exe and firefox.exe i have this error message prompting. any one plz help me out to resolve this issue
What is the best way to correct a dll file error? I am having a problem with an HP5610 printer,?
May 15th, 2009
can't download driver from HP site.
the procedure entry point_ftol_sse could not be located in the dll library msvcrt.dll. ???? how do i fix this?
May 15th, 2009
running vista 32bit home premium.
How can you verify that a .dll has registered through the command line?
May 15th, 2009
Let's say I run the following through a .bat file:
regsvr32 /s ZZwhatever.dll
regsvr32 /s whatever2.dll
regsvr32 /s zzwhatever3.dll
regsvr32 /s httpreq.dll
pause
Is there something I can put right after registering the .dll's (before pausing) that'll come back and say yes or no, that the .dlls got registered? Or some sort of output from each .dll on their status, […]
odimg.dll not found in my system how can i install it back?
May 15th, 2009
my PC wont show my pictures. An error message”shimgvw.dll Invalid Access to memory location” is displayed.Help?
May 15th, 2009
MSVCP71 and MSVCR71.dll file problems?
May 14th, 2009
I keep getting the message about MSVCP71.dll and MSVCR71.dll missing, and how reinstalling it may fix it. I've tried going to, but it still doesn't help with anything. and I have Vista 64x, so it says that I can't regieter it because it's not the correct version of windows. So far, I've found it […]
I keep getting a message that says your program can’t find JSCVWSDK.DLL. I’d hate to go so another server!!?
May 14th, 2009
This comes up when I go to print a message or go to another site from the program by clicking on it, e.g. an ad.
how to reinstall libiconv-2.dll?
May 14th, 2009
I'm trying to play a VLC file and it says that libiconv-2.dll is missing and to reinstall libiconv-2.dll but I don't know how to do that/where to find it…so some help please
Computer question: Whenever I am about to get on the internet I get 2 .dll warnings and then another?
May 14th, 2009
warning that states " the red highlighted areas are in error. Please pay close attention to their configuration". What do i do? What's going on with my computer? Please advise. Thank you.
I get a popup every minute that reads RUNDLL ; error loading C:\windows\eyifuhel.dll — acess is denied. Help!?
May 13th, 2009 […]
WGAlogon.dll - Why can't i find it ?
May 13th, 2009
Hey y'all,
Excuse the pic i'm on under the ID for my missus. I'm trying to repair a problem my mate is having with his Vista laptop where it's saying his Windows isn't geniune when it is. I think i've stumbled onto the problem whilst trying to fix it - i can't find WGA anywhere. There […]
why can`t I d/L dll files for paint shop pro?
May 13th, 2009
I have a new computer and it doesn`t want to d/l anything
what is application error WMP54GV4 dll at 000252AI?
May 13th, 2009
Score.dll cant delete?
May 13th, 2009
My problem is every time I boot up my pc, I get a error message in saying ( Failed to load SCORE.dll ) I've tried to delete this and found this file in application data. It would delete for the time being, but only to be back after pc is idle for a while. […]
Dll file errors in ms-access, plz give a solution to the problem?
May 13th, 2009
I am using MS-Access 2003, I have prepared a program in the same. now when i tried to run the application on other machine where the same MS-Access 2003 is installed into it. On start of the application when i try to open any form it is showing the following .dll files missing errors.
1.MCL_AAC_D.dll
2.ToControl.dll
3.qp2.dll
4.MCL_AAC_D.dll
5.MCL_AAC_E.dll
plz help […]
How do I fix the m3plugin.dll error on my comp?
May 12th, 2009
How on earth do i fix this?
Where to put external library dll for use with c#?
May 12th, 2009
Hi, I am about to start work on a small project using c# in visual studio 2008. I am wanting to use an external class library for this (SmartIrc4net.dll) but after searching the net for a while now I cant seem to find out where to put the dll.
This is probably something very easy […]
How do you replace Missing Dll system Files or fix broken ones?
May 12th, 2009
ok i think my computor is missing some dll files and i dont know what to do.
bgs 9 1981 Joe Montana?
May 12th, 2009
I am looking for another BGS 9 1981 Topps Joe Montana rookie card besides this one.
do u kno any programmes u can use to open a dll and exe file?
May 12th, 2009
downloaded warrock hack buh it kept saying dll not found.
if u hav hack for me plz can u email me at 29.07.95'live.co.uk
what do i use to run a dll file???? (stupid question eh?)?
May 12th, 2009
try to open a dll file and says it doesnt have the program to run a dll file
grrrr /:(
what does this keep popping up :error loading C:\WINDOWS\etoqovuzito.dll?
May 12th, 2009
it keeps popping up like every couple of minutes it started yesterday.how do i stop it from popping up?
i think it started after i ran my virus scanner.i ran it again today but no virus is on my computer.what do i do and please answer me in simple terms thanks
Where does ASprotect.dll gather it’s time stamp reference!?
May 12th, 2009
Biometric HP Manager is an application I use on a daily basis, the company has gone broke and the program has a 30 day trial period, so far I have managed to decompress and unpack this dll using a variety of programs, but there have been some hic ups, when I recompile it back to […]
how to reinstall connAPI.dll?
May 11th, 2009
whenever iam starting my computer an Error occurs it was asking to reinstall connAPI.dll
Somehow I ended up missing a DLL file when I logged in.. What is the best solution to this problem?
May 11th, 2009
Why is it when i use my fallout 3 some thing pops out that says xlive.dll is not a valid windows image?
May 11th, 2009
pls help me ^^
Where can i download binkw32.dll?
May 11th, 2009
I need to download this to start l4d from Garena.
Please help Binkw32.dll problem!?
May 11th, 2009
Hi i dl Binkw32.dll for the game The Lord Of The Ring Conquest, and i put into the LOTR folder, but when i run it, it says this "The procedure entry point _BlinkRegisterFrameBuggers@8 could not be located in the dynamic link library binkw32.dll." what do i do?? please help!
Where can I find this file rtlgina.dll?
May 11th, 2009
I'm trying to reinstall Windows and it says that I need to get rid of this file … rtlgina.dll … but I cannot find out where it is … is says its a program that blocks me from the original log on screen … please help!!
how do i use basichack.dll on gunz?
May 11th, 2009
i downloaded the basichack.dll now what do i do to us it?
i just got counter strike: source for the computer. But when i try to start it, it says “can’t load steam.dll”?
May 11th, 2009
can i still make it work? please reply.
rundll c:\windows\system32\dmndkd.dll?
May 11th, 2009
i have an error on startup but cant find info anywhere with the n in the dmnd part. (it only has info as a dmdkd not a dmndkd) what is it? as is it a virus? more importantly really is how do i stop it from appearing as an error on startup? […]
My PC got a virus, cleaned it with AVG, now is missing a .dll file. Can it be saved without total reformat?
May 11th, 2009
My IBM Thinkpad R51 got a virus of some sort. I ran AVG and it found two viruses. It automatically cleaned them, and I restarted my computer. It is now saying it is missing a cryptui.dll file. It loads my wallpaper, but will go no further. No thumbnails, no explanation, nothing. It just sits there […]
How do I download sony digital voice editor ver 3.1.03 when I have a missing componenent LZ32.dll?
May 10th, 2009
I don't want to pay for a stupid registry and error cleanup program when I'm not sure it will even fix my problem.
Where does audiere.dll go?
May 10th, 2009
Where does the audiere.dll file go? I've got the Audiere.dll file downloaded because it was missing for something. Thanks in advance!
In what dll file are the defaut bmp and jpg icons for windows kept?
May 10th, 2009
There are dll files with icons in the, which of them contains the icons for "BMP" and "JPG" files? - Windows XP
MSVCR71.Dll error message says it can’t be found when installing game.?
May 10th, 2009
I was downloading a game from a site and as I was installing I got the error that it couldn't find MSVCR71.Dll. The game installed anyway but it's running so slow its causing havoc. I've searched Yahoo answers and tried all the things suggested ie: searching for the file and copying it into […]
Where do you put mss32.dll?
May 10th, 2009
where? i tried Windows/System32 but the .exe file i click on keeps saying:
"This application has failed to start because mss32.dll was not found"
I need help with a binkw32.dll file error on my computer, i have tried everything?
May 10th, 2009
The procedure entry point_BinkcontrolbackroundIO @8 could not be located in the dynamic link library binkw32.dll i get this error message when i try to run the new x men origins wolverine game, at first it said i was missing the binkw32.dll file altogether so i downloaded 1 and now thats what […]
i am missing a run dll?
May 10th, 2009
how can i find a missing dll.
Laptop WlanDll.dll file missing (no internet)?
May 9th, 2009
On my new laptop (a gift from a friend, his old one) my WlanDll.dll file is missing which causes my wireless to not work (so I can't connect to the internet)…
I was wondering… is there a place I can download this dll online?
If so, can you link to it
(Yes, I've googled it but the places […]
Can you replace a Windows system DLL?
May 9th, 2009
My AVG virus protected deleted a windows system dll and whenever I start up my computer I get this this error:
RUNDLL (title)
Error loading C:\WINDOWS\system32\wujhev.dll
This specific module could not be found.
(or something similar)
After clicking OK, this is followed momentarily by *DUNT* (windows sound).
I was wondering if I could have a friend send me that specific file […]
when i try to open mixcraft it says im missing all these dll files please help?
May 9th, 2009
i open it and it says im missing these dll or there not supposed to be running. ive tried to download it again but nothings has changed
please help
how to fix js3250.dll?
May 9th, 2009
Every time I try to launch Mozilla Firefox error msg appear.
"firefox.exe - unable to locate component.Application has failed to start because js3250.dll was not found.Reinstalling the application may fix this problem."
Can someone assist me pls.
ok so i am trying to load viva pinata on to my vista computer error 0×80040702 failure to load dll or sumthing?
May 9th, 2009
and i am not a computer person and cant figure it out i tried looking it up online and cant figure it out and my boyfriend who plays video games cant figure it out so idk please help
I keep getting the error message “mspaint has caused an error in MFC42.DLL.” How do I fix this and run Paint?
May 9th, 2009
Well, how exactly do I fix this?
I keep getting the error message "mspaint has caused an error in MFC42.DLL." How do I fix this and run Paint?
I understand that the solution to this problem may end up with tampering with the registry of the Paint program. I really don't want to resort to that.
I have […]
“dot3gpui32.dll” Error Please Help!?
May 9th, 2009
Ok, today in the morning I had a bit of a fit with my comp; because, this annoying starts popping out of nowhere. My comp had been working just fine the night before, but today it's different… My comp is a pain in the a$$. The error does nothing nor causes any of my programs/browser […]
"this program failed to start because user32.dll could not be found…?
May 9th, 2009
Reisntalling the application may fix this problem." Please help me, that is what get when I turn on my desktop!
how do i get PacketGetReadEvent in my “dynamic link library packet.dll?
May 9th, 2009
im using winPcap and i cant dind n e ware 2 download PGRE
HELP! ksuser.dll error! No audio! Soundcard doesnt Work!?
May 9th, 2009
Please, any help? I need to edit a video for school, but its hard to sync the beats without audio.
how to reinstall m3skin.DLL for 64 bit windows vista?
May 9th, 2009
i keep getting an error message that m3skin.dll needs to be reinstalled, i can't figure this out!!!!HELP!!!!!!
hal.dll is missing or corrupt?
May 8th, 2009
my desktop system having windows xp is generating an error message "<windows root>\system32\hal.dll" is missing or corroupt please install a new copy of the above file.
what is msmbkbkxvcrn.dll? HELP PLEASE?
May 8th, 2009
hi
whenever i try to open something on my computer it says "this application has failed to start because msmbkxvcrn.dll was not found, re-installing the application my help fix this problem."
how can i fix this???
and can i download that missing thing from anywhere???
I need help with .dll?
May 8th, 2009
I've been having issues with my printer/scanner. I have a Hp Officejet 5510 all-in-one machine. When I attempt to scan something I get an error message saying: "This application has failed to start because xmlparse.dll was not found. Re-installing the application may fix this problem." Also when I attempt to press the "SCAN" button directly […]
Trying to find a free xul.dll download but can’t find that exact one…is there another name?
May 8th, 2009
Missing WINDOWS\ovutewot.dll. What is it? Where can I find it?
May 7th, 2009
I downloaded IE 8 and afterward I got the message that I was missing the above. What does it do and how can I get it back?
afmain1.dll behavior?
May 7th, 2009
WkWbl90.dll message. How can I fix this?
May 7th, 2009
I'm trying to open a document but a message pops up stating that this application failed to start because WkWbl90.dll was not found and re-installing this application may help. I don't even know what this is to be able to re-install it, and when I typed in my browser to re-install, all I kept getting […]
what can i do about the d3d6.dll file that i need to reinstal or how do i reinstal it?
May 7th, 2009
How do i reinstall that d3d6.dll file in xp service pack 2?
May 7th, 2009
I use onboard graphics which is 256mb intel
d3drm.dll computer thing HELP?
May 7th, 2009
Ok I have vista and I keep trying to install these games but it says d3drm.dll cannot be found……. ok so I looked up where I could download it and when I do its just an odd file you open it and its all these numbers and junk I expected it to be a program […]
what the meaning of msi.dll?
May 7th, 2009
what means msi.dll
laptop question? does this means a dll file is missing?
May 7th, 2009
okay, well i just got home and i turned my laptop, and when i did my fingerprint to get into my account it said "windows vista service service not available."and it also said "can't load username profile"(or something like that.
i shut it down then turned it on and tried to just type my password and […]
what the meaning of msi.dll?
May 7th, 2009
what means msi.dll
what the meaning of msi.dll?
May 7th, 2009
what means msi.dll
hal.dll error - Corrupted or missing?
May 7th, 2009
OS: Windows XP Pro
Raid0
AMD 3400+
I got the error message when I turned on the computer of Corrupted Or Missing hal.dll file.
This is causing my computer to not go into windows at all.
When I put in my Windows XP CD, it goes through but says it can't find "mass storage" / hard drive. I […]
Error in c:\window\system32\spool\driver\w32×86\3\lxcy time.dll missing entry:Run DLL Enter. How do I fix this?
May 6th, 2009
i am having this problem poping up on my hp when i start up.
Does anyone know how to properly step by step use the loltastic.dll for Gunz?
May 6th, 2009
ive tried everything, ive read it all, but still nothing
Unknown Dynamic Link Library file uijgxvwk.dll?
May 6th, 2009
I have a computer that will give me an error explaining that it is caused by the uijgxvwk.dll. I have done tons of research on this DLL and cannot find anything. Any information on it will help me a lot! Thanks.
What does?
May 6th, 2009
Is this a virus on my computer trying to redirect something?
Error message: MacCore.dll was not found.?
May 6th, 2009
I keep getting this error message when I start up. I am running Vista 64 bit. Any ideas on how to fix?
Maple Private Server - Cant find WzMss.dll files?
May 6th, 2009
so my friend is trying to download my server. but it says it cant find WzMss.dll? i had this problem befor, but someone gave me a link to a download that fixed it right away. the only porblem is, i forgot what the link was e-e any ideas?
ildeleteimages could not be located in the dynamic link library devil.dll?
May 6th, 2009
i downloaded Rappelz. first it said it couldn't find audiere.dll, so i downloaded it.
then it can't find devil.dll, so i downloaded it
now it says something about "ildeleteimages could not be located in the dynamic link library devil.dll"
it probably had problems installing but it took a good 4 hours to get it to where it […]
Can i delete a file named: c:\windows\system32\afnoinkdsfe.dll?
May 6th, 2009
I'm asking because I ran a virus scan and that and many other file names popped up? is it safe to delete this file and the other files that my virus scan said were affected?
How do i know if i need the file or not?
And at the end of the file name i says Trojan […]
How do I retrieve a VB function as an argument in a DLL-function, where the DLL is made in C++?
May 6th, 2009
As the title said, I am trying to run a function in the DLL in VB6 with as argument a function I've put in a module.
I have the following code that doesn't seem to work. C++:
void __stdcall vbFunction(char *strSomething, int func)
{
…
}
VB:
Private Declare Sub vbFunction Lib _
"C:\vbFunctions.dll" _
[…]
I just bought a new cpu game … after I install it I get "d3dx9_.dll" not found … what does this mean?
May 6th, 2009
The game is Civilization 4 … could this be an indication of insufficient ram?
Yes, I mean a PC game
Downloading everything in sight … got a direct x SDK update going now … mistakenly downloaded some add on already … I'm taking your advice to approach this as a direct x issue … lol … I'm […]
wlanapi.dll problems?
May 5th, 2009
not even sure what this .dll thing refers to but the pop ups are annoying! this is what they read:
1) the procedure entry point apsSearchInterface could not be located in the dynamic link library wlanapi.dll
and
2) the procedure entry point apsInitialize could not be located in the dynamic link library wlanapi.dll
how can i resolve these?
what is a C:\WINDOWS\system32\dlaerp\dll error?
May 5th, 2009
Everytime I turn on my computer and all of the information loads, I get an error box that says this could not be found. What is it.
The ordinal 266 could not be located in the dynamic link library msi.dll?
May 5th, 2009
When I go to download MSN, or iTunes I receive this message: "The ordinal 266 could not be located in the dynamic link library msi.dll."
I posted this question a month or so ago, and I was linked to something I downloaded for my computer. It was exactly what I needed. I got a new computer, […]
re-installing uncdms.dll applications?
May 5th, 2009
Windows could not start because te following file is missing or corrupt: <Windows root>\system32\hall.dll.?
May 5th, 2009
Windows could not start because te following file is missing or corrupt: <Windows root>\system32\hall.dll.
Please reinstall a copy of the above file.
Okey! Thanks to everybody. Finally I used to reinstall an operating system. but that missing massage is showing before welcome massage and I have no way to go till my desktop to have installer. Totally […]
Is this COACH purse real or fake?? It looks real to me but just making?
May 5th, 2009
Is this COACH purse real or fake?? It looks real to me but just making sure.?
Here's the link:
Error Loading Run DLL problem…?
May 5th, 2009
This keeps on coming out every time my PC starts…
C:\PROGRA-1\MEDIAC-1\OPENCA-1\OCSETU-1.DLL
i dont know how to fix it or delete it…
Its a Vista..
is that any different…
OPP.DLL Missing from Computer?
May 5th, 2009
I Get a message "Can not find " OPP. DLL " when I try to open Acrobat Reader. Where can I find a free one on the net> to download I tried to download Adobe and Flash player but also can't Message says "System Doesn't support it, I am running Windows ME […] | http://www.seasonsecurity.com/category/dll | crawl-002 | refinedweb | 23,069 | 85.18 |
IRC log of tagmem on 2012-04-02
Timestamps are in UTC.
07:41:17 [RRSAgent]
RRSAgent has joined #tagmem
07:41:17 [RRSAgent]
logging to
07:42:54 [Ashok]
Ashok has joined #tagmem
07:43:59 [timbl]
timbl has joined #tagmem
07:43:59 [robin]
robin has joined #tagmem
07:44:17 [JeniT]
JeniT has joined #tagmem
07:44:34 [Larry]
Larry has joined #tagmem
07:44:44 [jrees]
jrees has joined #tagmem
07:44:45 [ht]
ht has joined #tagmem
07:44:57 [noah]
noah has joined #tagmem
07:45:39 [timbl]
timbl has changed the topic to: INRIA F2F
07:46:02 [JeniT]
trackbot, start telcon
07:46:04 [trackbot]
RRSAgent, make logs public
07:46:06 [trackbot]
Zakim, this will be TAG
07:46:06 [Zakim]
I do not see a conference matching that name scheduled within the next hour, trackbot
07:46:07 [trackbot]
Meeting: Technical Architecture Group Teleconference
07:46:07 [trackbot]
Date: 02 April 2012
07:46:08 [timbl]
timbl has changed the topic to: INRIA F2F
07:46:33 [Larry]
agenda:
07:46:34 [noah]
07:46:55 [Larry]
topic: convene
07:47:05 [Larry]
Noah: agenda review
07:47:25 [Larry]
noah: couple of logistical announcements
07:47:39 [Larry]
DanA will be joining us after lunch
07:47:46 [Larry]
scribe: Larry
07:47:50 [Larry]
scribenic: Larry
07:48:20 [Larry]
noah: (reviewing agenda, visitor schedules)
07:55:47 [Larry]
topic: discussion of TAG priorities and review
07:58:52 [Larry]
zakim, who's here?
07:58:52 [Zakim]
sorry, Larry, I don't know what conference this is
07:58:54 [Zakim]
On IRC I see noah, ht, jrees, Larry, JeniT, robin, timbl, Ashok, RRSAgent, Zakim, plinss, trackbot, Yves
07:59:04 [Larry]
zakim, this is tagmem
07:59:04 [Zakim]
sorry, Larry, I do not see a conference named 'tagmem' in progress or scheduled at this time
07:59:30 [Larry]
topic:
08:00:39 [Larry]
chair: henry
08:01:04 [Larry]
ht: I'll have a go at chairing, see how that goes
08:01:44 [Larry]
ht: plan: 45 minutes, trying to get a state of play review, want to hear what jar thinks we need to know. then spend 11-12 slot seeing if we can identify a way forward
08:02:00 [Larry]
ht: my inclination is to not try to get to the resolution right away
08:03:05 [Larry]
jar: Jeni and I spent two hours yesterday talking about the plan for this session, and came up with an outline for a sequence of events
08:03:36 [Larry]
jar: roughly 5 parts (maybe 6)
08:03:57 [Larry]
jar: part 1: use cases, of which there are 2-3
08:04:03 [Larry]
jar: part 2: two architectures
08:04:12 [Larry]
jar: part 3: categorization of approaches
08:04:32 [Larry]
jar: part 4: visualizing the two roads to go down.... "what would it be like to go in that direction"
08:04:47 [Larry]
part 5: criteria for making decision
08:05:00 [Larry]
part 6: actually making a decision
08:06:43 [Larry]
topic: part 1, use cases
08:07:26 [Larry]
jar: RDF spec from 1997, section 5, Examples
08:07:39 [Larry]
http:/ww.w3.org/TR/WD-rdf-syntax-971002/
08:07:57 [Larry]
"RDF is a foundation for processing metadadta"
08:09:13 [Larry]
jar: this is the first of 2.5 use cases. What's going on here is you're making a database about bibliographic information, using sparkle or some other results
08:09:36 [Larry]
jar: RDF was motivated by PICS whichc was about rating, before powder
08:10:38 [Larry]
ht: (want a sense of how jonathan is using the terminology)
08:10:59 [Larry]
jar: this is the way i see this use case, as formulated, which i translated into a form that makes sense now
08:11:15 [Larry]
jar: "If I do a get, I will get something which has the properties)
08:11:27 [Larry]
jar: second use case:
08:12:05 [Larry]
s/ww.w3/
08:12:06 [Larry]
08:12:14 [noah]
I'm very surprised the assertion in the example is claimed to be about the representation. I had assumed the assertions were about the resource. e.g. If the assertion is "created-on-date", then I assume that's the resource, not the representation that was created. If I really need to talk about representations, then I should find a way to get URI for the (various) representation(s)
08:12:35 [noah]
q+ to ask about assertions about resources vs. assertions about representations
08:12:43 [Larry]
jar points to
08:12:44 [Larry]
<?namespace href="
" as="bib"?> <?namespace href="
">
08:13:40 [Larry]
jar: the RDF:resource id="John_Smith" in the second use, is really about the person
08:14:05 [Larry]
jar: "URI-based structured data"
08:15:01 [Larry]
jar: expand on this: netflix use case, we have actors, films, separate files in some format, in each entity, there might be some application
08:15:29 [Larry]
jar: 3rd case is one i will talk about an demand, the use of a URL from Amazon to talk about a book
08:16:09 [Larry]
ht: press on ...
08:17:02 [Larry]
jar: I've been trying not to make this RDF specific
08:17:29 [Larry]
jar: About "two architectures": where we are now, for whatever we are, people are wanting to use hashless URIs for both use cases
08:17:53 [Larry]
jar: the relationship between the retrieval results
08:19:05 [Larry]
jar: that's my analysis ...? "the other one is description. The content you get back is different ..."
08:19:38 [Larry]
jar: I'm saying a fact about the two ways these fragments are meant to be used
08:20:23 [Larry]
jar: in the one case, the URIs are being used as forming a document web. In the other case, the content you get back is more of a "REST"...
08:20:39 [Larry]
jar: Tim's vision and Roy's vision are different
08:21:18 [Larry]
ht: please be more specific
08:21:45 [Larry]
jar: Roy's latest formulation is "the representation is a record of the state of the resource"
08:21:56 [JeniT]
definition in httpBis:
08:22:20 [Larry]
noah: if a "hashless http refers to me" ?
08:22:34 [Larry]
jar: in Tim's version, people don't have hashless URIs?
08:22:45 [ht]
"Relationship between the representation and the resource is arbitrary and application-dependent" Roy Fielding, as channelled by Jonathan Rees
08:23:16 [Larry]
jar: "If we need to"
08:24:10 [Larry]
jar: i think it might be useful to go over the three definitions of the word 'representation'
08:24:32 [ht]
"The way I interpret Roy, a server could validly return a JPG image of [Noah] with a 200 in return for a GET of a URI alleged to identify Noah"
08:24:56 [ht]
[Above quote from JAR, I think]
08:26:48 [Larry]
larry: *munch* (eating another spoon)
08:28:23 [Larry]
Larry: I think "alleged" is a problem
08:28:45 [Larry]
jar: I've found 15-20 definitions of 'representation', 3 of which are interesting
08:29:10 [Larry]
rep: TBL, 2616? email, the word representation, comes from content negotiation,
08:30:09 [Larry]
"Encoding-format-desensitized methods and means for interchanging electronic document appearances." Patent no., 5,210,824, 1993 May 11 (filed Mar., 1989).
08:31:57 [Larry]
((JAR reviews matrix on board)
08:32:13 [Larry]
Rep #2: REST, by Roy fielding, in thesis, 3 publications, and in HTTPbis
08:32:54 [Larry]
the type of indentified resource is unconstrainted
08:33:59 [Larry]
jar: this is similar to ordinary language use of the word 'representation', "is a picture of noah a representation of noah, yes". Is a picture of jonathan a representation of jonathan
08:34:53 [Larry]
jar: "Definition of Reputation #3" by 'fiat' -- if the URI identifies something and you do a GET and you get some bits, then by definition, the represenation of the resource
08:35:48 [Larry]
q?
08:36:38 [Larry]
q+ to note that I think representation vs. resource is irrlevant
08:36:50 [Ashok]
+
08:36:57 [Ashok]
Q+
08:37:14 [Larry]
Jeni put link to 'representation' from HTTP spec
08:38:14 [Larry]
jar: Yves is correct that Roy is working to correct the terminology to be consistent with Rep #2
08:38:56 [JeniT]
Definition in HTTPbis:
08:39:32 [JeniT]
"A resource representation is information that reflects the state of that resource, as observed at some point in the past (e.g., in a response to GET) or to be desired at some point in the future (e.g., in a PUT request)."
08:39:53 [Larry]
jar: does "Information Resource" belong here. I don't understand, in roy's view, ways that we should not use the term "Information Resource" in this discussion
08:40:37 [ht]
ack noah
08:40:37 [Zakim]
noah, you wanted to ask about assertions about resources vs. assertions about representations
08:41:32 [Larry]
q?
08:42:08 [Larry]
noah: let's say the triple says "was created on"
08:42:30 [Larry]
and it's my thesis, does the assertion apply to the representation or the resource
08:42:56 [Larry]
jar: my theory of resources in sense 1
08:43:13 [Larry]
jar: if you say "if you do a get, you'll come up with something that satisfies the metadata"
08:43:18 [timbl]
q+
08:43:37 [Larry]
jar: it is my belief that there is an operational behavior
08:43:48 [Larry]
jar: the operational behavior is predictive
08:43:54 [ht]
ack larry
08:43:54 [Zakim]
Larry, you wanted to note that I think representation vs. resource is irrlevant
08:44:37 [noah]
LM: I am interested in a view where the distinction between representation is not interesting, therefore the definitions of the terms are unimportant. We don't need the words.
08:44:53 [timbl]
q+ to say that JAR's way of defining 'content of' is very good
08:44:54 [noah]
JAR: Right, we just need to talk about the relationship between the two.
08:45:11 [noah]
LM: No, we don't want to use the words at all, therefore there's no issue of the relationship.
08:45:45 [noah]
LM: I think it's possible to not talk about resources, representations, HTTP status codes, or what happens when you do a GET. I like that story.
08:46:08 [noah]
JAR: Everything I'm talking about is empirical. I'm talking about these two framings, and related them to the use cases.
08:46:17 [noah]
LM: I don't think the use cases are different.
08:46:52 [noah]
JAR: Consider the Flickr use case: you have two things... a description, and what it describes...and they have different properties. Thus, you NEED to say which one you're talking about.
08:46:57 [noah]
LM: No you don't.
08:46:59 [noah]
TBL: Why not.
08:47:27 [noah]
LM: We're having a conversation. In the old days, using English or French. You had languages you both understood, with dictionaries like OED to refer to.
08:47:40 [noah]
LM: We communicate because we use the same language, not the same dictionary.
08:48:31 [noah]
LM: Then we invented the Web, on which we can not only exchange text, we can annotate text, and hyperlink it. We can now say this Moby Dick was written by Melville, and can hyperlink, and can give representaitons e.g. in different natural languages.
08:48:39 [ht]
"This book I read, it's called 'Moby Dick', it was written by Hermann Melville, it has a green cover" LM
08:48:50 [noah]
LM: Then we can reference things like Wikipedia we kind of understand how to share and retrieve.
08:49:22 [noah]
LM: But then we wanted more...to make it more formal with triples... e.g. to formally say things about a book, using URIs to make formal the objects being discussed, who wrote it, etc.
08:49:46 [noah]
LM: That is more precise, yet ambiguity remains. Maybe you can't tell if I'm talking about the book or the Web page about the book.
08:50:07 [noah]
LM: Maybe the triples weren't good enough, in not allowing us to distinguish things we care about.
08:50:29 [noah]
JAR: In 1998, it was very clear in the RDF draft (some mumbling in the room as to whether everyone agrees)
08:51:02 [timbl]
q+
08:51:16 [noah]
LM: We invented RDF, rev'd it, and still have ambiguities, some of which make us uncomfortable. That's just the way it is. We can't, in my view, retrofit now. We have to live with the ambiguities. Specifically, we can't do it by now more precisely stating what a URI means.
08:51:45 [Ashok]
q-
08:51:46 [noah]
HT: Jumping in...Jonathan has said repeatedly that 1998 draft was clear, but I don't think it addresses Larry's concern. I think the example in the spec is clear.
08:51:53 [Larry]
we can't retrofit the definition of what a URI means in order to fix this possible ambiguity in RDF.
08:52:10 [noah]
HT: It's unclear whether the example in the 1998 draft is about Moby Dick or the Web page about MD
08:52:56 [noah]
LM: Even if you think RDF has got metadata...the library of congress has Abraham Lincoln's glasses, the glasses themselves, in the catalog.
08:53:07 [noah]
JAR: The description is in the catalog.
08:53:21 [noah]
LM: Right, but the catalog entry is for the actual glasses.
08:53:59 [Larry]
jar: the RDF draft itself does not resolve this question, in that sense that Larry is right. It is my belief that certain people had this view #1 in mind, that if you do a GET you will get something that has the property
08:54:32 [Larry]
jar: one example is "automatic mashups", you do a query of documents... and you produce something that has one paragraph from each document
08:54:54 [Larry]
jar: second example: text mining, what do you point your database on?
08:55:13 [Larry]
ht: i think you're right, they wanted (Guha and Tim Bray) to do
08:55:34 [ht]
s/to do/to give web docs metadata/
08:55:58 [ht]
ack timbl
08:55:58 [Zakim]
timbl, you wanted to say that JAR's way of defining 'content of' is very good and to
08:56:26 [ht]
q+ timbl to say that JAR's way of defining 'content of' is very good and to
08:56:35 [Larry]
tim: You said RDF had an ambiguity; there is no ambiguity, the triples aren't ambiguous
08:56:54 [ht]
s/You said/You (LM) said/
08:57:15 [Larry]
tim: RDF constrained the ways in which ....
08:57:45 [JeniT]
TimBL: RDF was completely clear: under my view, it's clear what the URIs refer to
08:57:51 [JeniT]
TimBL: which is documents
08:58:32 [JeniT]
TimBL: This constrained how you could use URIs, but it is not ambiguous
08:59:02 [timbl]
The RDF system had no inhereent ambiguity om the trips. It did decide to use URIs and HTTP, and in designing them into the system, it constrained them, so URIs adn HTTP were interpreted in a more cconstrined manner which produced a very nice very clean system, whcih was very useful. But it involved imiteing the way one talks about URIs and HTTP
08:59:09 [timbl]
compared to what was in REST.
08:59:13 [JeniT]
jar: there are applications where you need to know whether the bits are content rather than description
08:59:47 [JeniT]
... for example, showing the first paragraph of all the documents that can be found
09:00:02 [JeniT]
... and it needs to make sure that the paragraphs are content from the documents, not from descriptions of the documents
09:00:26 [JeniT]
ht: if I want the train schedule, to display the numbers, you have to pay attention to the response code...
09:00:36 [JeniT]
... if it comes back as 404 then you know you don't want to display those numbers
09:00:45 [JeniT]
... you need to know whether the bits are the document or about the document
09:01:19 [JeniT]
jar: you need to know whether the bits are the content
09:01:36 [JeniT]
timbl: the concept of a document is crucial
09:01:48 [JeniT]
... it's like the content of a string
09:02:12 [ht]
jar: It's like quote in LISP
09:02:17 [JeniT]
larry: this is a distinction that I think is impossible to make
09:02:30 [ht]
s/quote/'quote'/
09:02:56 [JeniT]
timbl: the URI of the content of Moby Dick and the URI of a review of Moby Dick are different
09:03:35 [JeniT]
larry: can we describe this in terms of communication, asserting things in English, then in markup, then in triples
09:04:23 [JeniT]
noah: maybe we are tripping over what may be distinguished and what's worth distinguishing
09:04:34 [JeniT]
... a document rendered with different backgrounds on different ways
09:04:53 [JeniT]
... these are two artefacts, roughly different representations
09:05:17 [JeniT]
larry: I'm not happy with "I have a document and I give it a URI"
09:05:26 [JeniT]
noah: I minted a URI by leasing a domain name etc etc
09:05:47 [JeniT]
larry: I'm not happy about 'minting' and 'owner'
09:05:59 [JeniT]
noah: two operations were done, two sets of bits came back
09:06:11 [JeniT]
... there were two artefacts, and we can't say they're the same
09:06:18 [JeniT]
... one had a blue background, one not
09:06:26 [JeniT]
... whether we care about that is something else
09:06:37 [JeniT]
... perhaps you're saying we don't care about that
09:07:51 [JeniT]
larry: RDF doesn't let me express things that I want to express
09:08:20 [JeniT]
timbl: I think originally said that the difference between description and content was not one we could make
09:09:06 [Larry]
not one we could make reliably
09:10:17 [JeniT]
ht: clarification of relationship between resource and representation under Roy's view
09:10:31 [JeniT]
jar: it cannot be predicted what the relationship is
09:11:16 [JeniT]
jar: there are applications where the content/description relationship is essential for the application to work
09:11:31 [JeniT]
... you need to be able to identify whether something is content or description
09:11:55 [JeniT]
larry: there may be applications that you want to build, that depend on that distinction, but I do not think you can make that distinction reliably
09:12:13 [JeniT]
ht: there are people who are building these applications, because they assume a uniform answer to the question
09:12:23 [JeniT]
... if they own both ends, they can satisfy the uniform definition
09:12:30 [Larry]
so the applications are unreliable. maybe they're reliable enough for the applications to be useful anyway
09:12:33 [JeniT]
... own the server and the client
09:12:40 [JeniT]
... so there's no possibility of disagreement
09:12:43 [Larry]
the web is unreliable -- we get 404 not found all the time, but the web is sitll useful
09:13:06 [JeniT]
timbl: the RDF folks have built systems where they own both ends, but they include things outside that space, and that's the problem
09:13:23 [Larry]
i think this really leads into persistence, that we want <A> <R> <B> to be mean the same thing for all time, but it's unreliable
09:13:43 [JeniT]
jar: we should be able to ground this in a discussion where there's an application that do want to be able to make that distinction
09:14:04 [JeniT]
larry: we have a system where all URIs are not cool, in 10,000 years they will stop working
09:14:14 [JeniT]
jar: we can scope to something within the next 5 minutes
09:14:23 [JeniT]
... so you're right, but we're willing to make bets
09:14:50 [JeniT]
larry: there are applications that want to make distinctions reliably, and can't, but that doesn't mean they can't be useful
09:15:02 [JeniT]
... the web is not completely reliable, but it's still useful
09:15:16 [JeniT]
... getting the first paragraph of the review of Moby Dick is still useful
09:15:45 [JeniT]
ht: let's move on to 'proposal's
09:15:48 [Larry]
ht: let's spend 15 minutes on the third item of the agenda
09:16:28 [Larry]
jar: supposing that we want to make distinctions, let's look at the proposals
09:17:27 [Larry]
what are the possible sources
09:17:33 [Larry]
s/what/jar: what/
09:18:27 [Larry]
jar: in this case, let's suppose you can determine one bit of information, "content" vs. "description", where can this come from?
09:18:54 [Larry]
jar: (1) it could be in the specification
09:19:12 [Larry]
ht: that's the state we could have been in, if Dan & Tim could have enforced the hash convention
09:19:31 [Larry]
(2) it could be in the status code, headers, content ... it could be in the response
09:20:02 [Larry]
or the information could come from the exchange in http
09:21:03 [Larry]
jar: (3) 3rd source: "the message", the use of the URI, the document in which the URI occurs
09:21:54 [Larry]
(we're not talking about the merits of these)
09:22:08 [Larry]
information could come from any of these places, or a combination of them
09:23:06 [Larry]
ht: this story is situated in a context where you sent me a message that contains a URI
09:23:40 [Larry]
noah: there are other contexts?
09:24:07 [Larry]
ht: we're trying to reduce the uncertanty of a message
09:24:31 [Larry]
noah: "There are situations where i might just find a URI" ?
09:24:55 [Larry]
noah: there might "I just saw a URI?"
09:25:11 [Larry]
q?
09:30:43 [Larry]
jar: categorization of approaches (1), (2) and (3), the architecture i attributed to tim that is very heavy on (1) that does also involve (3) in the language spec ....
09:31:20 [Larry]
jar: ... in the GET + 200 case of (2), 'retrieval', the way that i make this distinction, i'll look at "httpRange-14a" and then I've answered the question
09:31:39 [Larry]
jar: we could have another answer, "httpRange-14b"
09:32:10 [Larry]
jar: Roy believes HTTPbis can't answer this question
09:32:18 [Larry]
jar: "He cares not to discuss this"
09:34:23 [Larry]
jar: New taxonomy of change proposals
09:34:57 [Larry]
"Fixed mode" proposals: 'the answer comes from source (1)"
09:35:28 [Larry]
proposal httpRange-14Strengthened
09:35:43 [Larry]
AlwaysDescription
09:35:51 [Larry]
these are the two fixed answer ones
09:37:06 [Larry]
"Variable Answer" proposal:
09:38:48 [JeniT]
jar: 1. 'no agreement' / 'nuclear' option -- no statement about relationship between resource and representation
09:39:59 [JeniT]
... 2. Mode determined from server response
09:40:25 [JeniT]
... 2a. new header that always answer the question, which has to always be present in order to tell
09:40:36 [JeniT]
... 2b. Mode sometimes implicit
09:40:59 [JeniT]
... 2bi. by default content, header means that it's not content but description (TimBL proposal for Document: header)
09:41:49 [JeniT]
... 2bii. by default description, header/message says it's content
09:42:20 [JeniT]
s/by default description/by default not content/
09:44:05 [JeniT]
... 2c. Mode determined at point of use
09:44:23 [JeniT]
... you can't tell from the HTTP exchange at all
09:44:29 [JeniT]
... only from the use of the URI
09:45:11 [JeniT]
ht: these could fall into two categories in the same way as 2b, different defaults
09:46:13 [JeniT]
2d. Mode determined from the request (eg MGET, Want-Other)
09:46:53 [JeniT]
timbl: I don't see how 2c works
09:47:20 [JeniT]
... how does the server know what to give back?
09:47:59 [JeniT]
jar: the application will interpret whatever response the server provides back in the way indicated by the context in which it got the URI
09:48:37 [JeniT]
ht: handing chair back to noah
09:49:15 [JeniT]
noah: we have some unscheduled time
09:49:20 [ht]
[My 'want-other' proposal about a request header is here:
]
09:49:39 [JeniT]
ht: I would like 1-1.5 hours
09:49:54 [Larry]
topic: how do we schedule more time on this?
09:50:34 [Larry]
larry: would like to minimize the amount of time on this subject
09:52:04 [ht]
The want-other document has a potentially useful input to the role-playing discussion
09:52:07 [Larry]
timbl: this has taken up a huge amount of mailing list... would like to make progress in f2f
09:52:28 [Larry]
jeni: I think we can make some progress at this F2F
09:53:02 [Larry]
ht: I think the "role-playing", the next step wants to be "What life would be like in the major categories" ?
09:53:25 [Larry]
henry put a pointer that has an analysis by cases
09:53:35 [ht]
I.e. an analysis by cases of what happens wrt server vs. client uptake
09:54:35 [Larry]
noah: we'll spend a significant amount of time on this... jeni made the case... we pay a lot to swap in and out
09:56:06 [Larry]
my criteria: (1) persistence... meaning should persist independent of what happens in DNS
09:56:17 [Larry]
(2) URI equivalence ... how to decide on whether URIs are the same
09:56:40 [Larry]
(3) reading on registries, registered values, vs. using URIs in protocols
09:57:31 [Larry]
(4) play without using 'owner', 'mint',...
09:57:51 [Larry]
(5) read on MIME, ...
09:59:49 [JeniT]
larry: A story without talking about owners
09:59:56 [JeniT]
... it should work for all URIs, not just HTTP
10:00:15 [JeniT]
... without a distinction between information resource or non-information resource
10:00:30 [JeniT]
... RDF has to be taken as a context, and there are other languages that might have different answers
10:00:31 [Larry]
(6) doesn't rely on 'resource/representation', 'defining what a resource is or whether two resources are the same',
10:00:50 [JeniT]
... like to talk about persistence, which is part of not talking about HTTP
10:01:01 [JeniT]
... something where there's no timeout
10:01:13 [JeniT]
... something that someone can put in a book
10:01:19 [JeniT]
jar: a story in which timeout is not implicit
10:01:25 [JeniT]
timbl: I suggest that's out of scope
10:01:32 [JeniT]
larry: I'm saying what's important to me
10:01:45 [JeniT]
... it's important that it works in archives
10:02:00 [JeniT]
... I'd like it to talk about equivalence of URIs, but not equivalence of resource
10:02:11 [JeniT]
... we don't have a language for naming resources aside from URIs
10:02:24 [JeniT]
... we can compare code points in URIs
10:02:35 [JeniT]
... but not resources
10:02:50 [JeniT]
... We had some other related findings around URIs and registeries
10:03:09 [JeniT]
jar: what's the criterion that comes from registeries?
10:03:23 [JeniT]
larry: the discussion about URIs is more appropriate around URNs
10:03:27 [JeniT]
... where there is an owner
10:03:43 [JeniT]
... URNs have a story where there are naming things, and documentation and owners
10:03:51 [JeniT]
... but that's the only naming scheme that has that property
10:04:26 [JeniT]
... no one gets to say what HTTP URIs mean other than the implicit meaning
10:04:39 [JeniT]
jar: so the criterion is that it should touch on the relationship to registeries?
10:04:45 [JeniT]
larry: touch on the relationship between these things
10:05:08 [JeniT]
... I laid out a story around talking in English, then markup languages, then triples
10:05:43 [noah]
Whiteboard photos for inclusion in agenda:
10:05:44 [noah]
10:05:48 [JeniT]
... whatever proposal we accept should be cast into why we care about this as a way of enhancing communication
10:06:09 [noah]
Closeup of small print on upper right:
10:06:18 [JeniT]
... with the communication being enhanced, so that it's not just talking about philosophy
10:06:47 [JeniT]
... I'm looking for a use case where adopting a solution helps
10:07:15 [JeniT]
... persistence is the one that's hardest, because no one is talking about it and I think it's important
10:07:32 [JeniT]
noah: I have a couple of evaluation criteria too
10:07:40 [JeniT]
... there are constraints and good practices in our findings
10:07:49 [JeniT]
... eg don't use one URI to identify two different things
10:07:57 [JeniT]
... that interactions in HTTP should be self-describing
10:08:21 [JeniT]
... if we have a solution that involves HTTP interactions, we should make sure they are consistent
10:08:38 [Larry]
"should work for all URIs, not just HTTP ones, should work for
mailto:,
data:, ftp:, file:, ..."
10:08:41 [JeniT]
jar: the criteria for the story is different from criteria for the solution
10:09:02 [JeniT]
noah: apply the criteria at the appropriate point
10:09:10 [JeniT]
ashok: I'm nervous about adding lots of equations
10:09:40 [JeniT]
... work on some criteria and then worry about the others
10:09:57 [JeniT]
ht: I want a solution that we think is going to change behaviour
10:10:00 [noah]
s/in our findings/in Architecture of the WWW and in our findings/
10:10:17 [JeniT]
... there are two outcomes that are plausible
10:10:35 [JeniT]
... one is that we figure out that the current state of play is OK
10:10:42 [JeniT]
... the other is that we adopt a new position
10:10:55 [JeniT]
... if we're going to do that, we had better have a vision about how we get behaviour to change to go there
10:11:09 [JeniT]
... we can't just say what the Right Answer is and then say we're done
10:11:41 [JeniT]
timbl: my criteria is that the specific cases that got us into this discussion should be addressed
10:11:55 [JeniT]
... eg 303s, OGP, Flickr should be addressed specifically
10:12:03 [JeniT]
... add Dublin Core as a use case
10:12:23 [JeniT]
... and an answer where we're confident that if they need to change, we can get them to change
10:12:37 [JeniT]
... it must work for Dublin Core and FOAF and RDFS
10:12:52 [JeniT]
... ie hash-oriented vocabularies must continue to work
10:14:56 [JeniT]
noah: at what point is it worth identifying one or two solutions might be promising, based on intuition
10:15:04 [JeniT]
... we can ask about whether those hold up
10:15:17 [JeniT]
... then at the end we can look at the other proposals
10:17:21 [JeniT]
Topic: Report on Paris IETF Meeting
10:17:28 [JeniT]
10:18:09 [JeniT]
Yves: about HTTP/2.0
10:18:34 [Larry]
10:18:42 [JeniT]
... we had representations about 1. SPDY
10:19:13 [Larry]
10:19:41 [JeniT]
... 2. from Willy Tarreau, whose view came from an intermediary point of view, so included info from Squid
10:19:49 [JeniT]
... 3. Waka from Roy Fielding
10:19:54 [JeniT]
... 4. Microsoft S&M
10:20:08 [JeniT]
s/S&M/S+M
10:20:10 [JeniT]
s/S&M/S+M/
10:20:39 [JeniT]
... the goal now is to get more concrete proposals on the mailing list for evaluation before the next IETF meeting in July in Vancouver
10:20:49 [Larry]
pointers are in mnot's blog
10:20:54 [JeniT]
... either one document to use as a basis, or two to be compared, one which will fail
10:21:03 [JeniT]
... most of the proposals are for multiplexing at the application level
10:21:11 [JeniT]
noah: SPDY is like that?
10:21:14 [JeniT]
yves: yes
10:21:24 [JeniT]
... layer 7
10:21:43 [JeniT]
... the main discussion about SPDY is about the use of TLS or not
10:22:00 [JeniT]
... on the mailing list, though that wasn't so evident in the meeting
10:22:05 [noah]
noah: right, so not e.g. the Google Maps application, but rather the Application layer of the network stack
10:22:27 [JeniT]
... there was one comment about authentication methods
10:22:50 [JeniT]
... the goal would be to completely cover HTTP/1.1 but be able to do extra things
10:23:00 [JeniT]
jar: is there an example of something you would be able to do in the new protocol?
10:23:08 [JeniT]
yves: eg a new method of authentication
10:23:25 [JeniT]
larry: eg Waka includes examples of a single request naming several targets (MGET)
10:23:33 [JeniT]
... that would be a new feature or an optimisation
10:23:50 [JeniT]
... what I was interested in is that SPDY is slower for some sites
10:24:03 [JeniT]
... it requires some optimisation/prioritisation in the client to be used effectively
10:24:17 [JeniT]
... eg high priority for the first part of the document, low for the rest, so you get image headers quickly
10:24:26 [JeniT]
... it's about performance/reliability/security
10:24:34 [JeniT]
... and latency
10:24:40 [JeniT]
... so the features are oriented around that
10:24:59 [JeniT]
... earlier, I sent out a list of IETF meetings of interest, so I can go through that list
10:25:18 [Larry]
APPSAWG – “Applications Area Working Group WG”, and APPAREA (Applications area) Most things of interest to W3C are in the “applications” area The meeting reviews topics of interest, new BOFs, as well as ongoing documents
10:25:58 [JeniT]
... I talked with Thomas and Mark about IETF/W3C dependencies and how to reduce them
10:26:17 [JeniT]
... normative references in W3C specs to IETF specs in progress
10:28:56 [JeniT]
... Apps Area WG meeting
10:29:09 [JeniT]
... Ned Freed's document on updating MIME registration guidelines
10:29:14 [JeniT]
... new draft just out, soon to be last call
10:29:33 [JeniT]
... if we want anything to change about MIME type registration, we need to get it into this document
10:29:45 [JeniT]
yves: we already said something about fragments
10:30:06 [JeniT]
larry: yes, but we should make sure that it's saying what we want it to say
10:30:18 [JeniT]
noah: what are the timing limits?
10:30:22 [JeniT]
larry: I don't know, but soon
10:30:35 [JeniT]
yves: I looked at a recent version, and it looked ok
10:30:49 [JeniT]
noah: it seems like this is something the TAG should look at
10:30:59 [JeniT]
... does anyone else want to sign up to double check?
10:31:17 [JeniT]
ht: I will try to find the time, to see if the mime type to URI conversion is universal and reliable
10:31:33 [JeniT]
... it's IANA that manage the registry
10:31:58 [JeniT]
... you can get something back for some of them but not all of them
10:32:17 [JeniT]
larry: I suggest we schedule a phone conference to review this document
10:32:29 [JeniT]
noah: I need the URI to the document
10:32:44 [Larry]
10:33:33 [ht]
10:33:34 [JeniT]
larry: the media type reg document is the one we need to review
10:33:43 [JeniT]
... there is another one we need to talk about which is deprecating X-
10:33:49 [JeniT]
timbl: is it good?
10:33:55 [JeniT]
ht: yes
10:34:13 [JeniT]
... it does say that using prefixes generally is a mistake, for reasons noah will love
10:34:13 [noah]
ACTION: Noah to schedule (soon) TAG telcon review of
- Due 2012-04-17
10:34:14 [trackbot]
Created ACTION-680 - schedule (soon) TAG telcon review of
[on Noah Mendelsohn - due 2012-04-17].
10:34:26 [JeniT]
larry: it's an interesting document that's worth reading
10:34:34 [Larry]
10:34:53 [JeniT]
... I like this document, but I think TAG members should read it
10:35:37 [ht]
ACTION: Henry S to prepare TAG discussion of
- Due 2012-04-17
10:35:37 [trackbot]
Created ACTION-681 - S to prepare TAG discussion of
[on Henry Thompson - due 2012-04-17].
10:35:38 [JeniT]
noah: should these be reviewed together?
10:35:47 [timbl]
"Deprecating the X- Prefix and Similar Constructs in Application Protocols"
10:35:54 [JeniT]
larry: they are independent, and the X- document may not require TAG discussion, though I recommend reading it
10:36:00 [timbl]
and Similar Constructs
10:36:07 [noah]
LM: Not convinced we need telcon discussion of x-prefix, but TAG should review.
10:36:08 [JeniT]
robin: should this be brought to general attention within W3C?
10:36:16 [noah]
NM: OK, I'll only schedule x-dash if asked.
10:36:17 [JeniT]
... should it be sent to the Chairs list for broader review?
10:36:21 [JeniT]
larry: yes, that would be good
10:36:40 [JeniT]
larry: there's another document which was discussed
10:36:45 [Larry]
10:36:49 [noah]
Who's going to send it to chairs' list? I suggest Larry as he has most context, but could do it if that helps for some reason.
10:36:58 [JeniT]
... being prepared to be accepted by the Apps Area WG
10:37:12 [JeniT]
... talking about the process around getting things into registeries
10:37:24 [JeniT]
... based on the happiana effort
10:37:45 [JeniT]
... that document is even more important for Chairs at W3C
10:37:59 [JeniT]
... that's it for the AppAreaWG meeting
10:38:03 [JeniT]
... on to WebSecWG
10:38:22 [JeniT]
... mainly working on strict transport security & TLS
10:38:32 [JeniT]
... also an issue around the mime sniffing document, which has expired
10:39:08 [JeniT]
... the security problem could be addressed by giving sniff content a different origin
10:39:34 [JeniT]
... if you have overridden the mime type, then you have given it a different origin
10:39:44 [JeniT]
... this would address the cross-origin problems that arise from sniffing
10:39:50 [JeniT]
... and I have not seen counter examples
10:40:03 [JeniT]
... it was discussed and dismissed because "browsers won't do it"
10:40:12 [JeniT]
... but browsers don't do what's being said anyway
10:40:20 [JeniT]
... why not have a different fantasy
10:40:50 [JeniT]
10:40:57 [JeniT]
... the Web Security Handbook talks about sniffing
10:41:21 [JeniT]
... just like we have URIs in different contexts, does sniffing happen differently in different contexts
10:41:41 [JeniT]
... meant to go to URNbis
10:41:47 [JeniT]
... WG revising URN document
10:42:01 [JeniT]
... the TAG has expressed opinions about URNs, and I wish I had gone
10:42:22 [JeniT]
... we should review their documents
10:42:39 [JeniT]
jar: I think Julian has been paying attention to what they're doing
10:43:19 [JeniT]
larry: my opinion has changed about them
10:43:32 [JeniT]
... it may have been a design goal to have something persistent
10:43:48 [JeniT]
... in fact it is not about persistent, but about ownership
10:44:00 [JeniT]
... there's no owner of an HTTP URI, but there is one about URNs
10:44:19 [JeniT]
... Technical Plenary on browser security
10:44:58 [JeniT]
... HTTP 1.1 is reaching closure
10:45:23 [JeniT]
yves: there's currently discussion about folding back documents together, adding a Part 0 so it's easier to find stuff
10:45:30 [JeniT]
... merging Part 1 & Part 3
10:45:36 [JeniT]
... not sure about Part 0
10:45:44 [JeniT]
... currently Part 4-7 are in IETF last call
10:45:54 [JeniT]
... everything else should be in last call from the last draft
10:46:12 [JeniT]
larry: these are core documents, and the TAG should review them
10:46:23 [JeniT]
yves: most particularly Part 1 & Part 3, the others are extensions
10:46:31 [JeniT]
jar: Part 2 is pretty important
10:46:41 [JeniT]
s/Part 1 & Part 3/Part 1 to Part 3/
10:46:52 [JeniT]
yves: wait for next draft for review
10:47:17 [JeniT]
noah: we often say we should review things, but we don't get people's attention to review them
10:48:13 [JeniT]
... perhaps an email that points to particular things
10:48:36 [JeniT]
jar: I could point to the parts I've been paying attention to
10:49:58 [noah]
ACTION: Jonathan to suggest to TAG sections of HTTPbis specification that TAG should review - Due 2012-04-17
10:49:58 [trackbot]
Created ACTION-682 - suggest to TAG sections of HTTPbis specification that TAG should review [on Jonathan Rees - due 2012-04-17].
10:50:19 [jrees_]
jrees_ has joined #tagmem
10:51:29 [JeniT]
yves: Dom should be able to report on RTC web
10:51:29 [jrees_]
Note to minutes editor: Please add link
at end of previous topic (that's the emacs buffer that was projected)
10:51:36 [JeniT]
... it was also about security
10:51:45 [JeniT]
larry: security is what makes most protocol design hard
10:51:54 [JeniT]
... because you can't just optimise for performance and reliability
10:52:01 [JeniT]
... you have to design against hostile players
10:52:48 [JeniT]
ht: what's HyBi doing?
10:52:53 [JeniT]
yves: it's WebSockets
10:52:58 [JeniT]
... not the API, the protocol
10:53:34 [JeniT]
larry: the relationship between IETF and W3C work in many of these areas is that W3C focuses on API in JS on how you invoke it, and IETF on what goes on the wire
10:53:47 [JeniT]
noah: I had missed these were the two sides of the same coin
10:54:02 [JeniT]
larry: I don't know what the status is
10:54:12 [JeniT]
... the TAG should have a review or invite someone to come and talk to us about it
10:54:44 [JeniT]
... where we don't have the impetus to review it ourselves, we should get someone in
10:54:59 [DKA]
DKA has joined #tagmem
10:55:19 [JeniT]
ht: this is close to home because it's getting integrated into HTML
10:55:35 [JeniT]
... we have to be sure this isn't going to change the architecture of browsing over the next 5 years
10:55:43 [JeniT]
larry: I think we should look for someone to come and present to us
10:55:53 [JeniT]
noah: any suggestions about who?
10:56:02 [JeniT]
yves: Thomas is watching this
10:56:39 [JeniT]
larry: we might ask Thomas to recommend someone
10:57:22 [JeniT]
... there was a BOF, where I gave a presentation, to consider the document format of RFCs
10:57:33 [noah]
ACTION: Yves to figure out who might be a good choice to present Hybi (and as appropriate WebSocket protocols) to the TAG
10:57:33 [trackbot]
Created ACTION-683 - Figure out who might be a good choice to present Hybi (and as appropriate WebSocket protocols) to the TAG [on Yves Lafon - due 2012-04-09].
10:57:57 [JeniT]
... the driving use case is documents that need non-ASCII characters
10:58:12 [JeniT]
... to show encoding
10:58:34 [JeniT]
... IETF does allow alternative presentations in PostScript and PDF
10:58:50 [JeniT]
... Martin Durst submitted a document on internationalisation of mailto URIs
10:58:52 [timbl]
timbl has changed the topic to: Rough Code and Running Consensus
10:58:59 [JeniT]
... where the PDF version has examples that are in Unicode
10:59:25 [JeniT]
... running a pre-processor on the XML so that you can have an HTML version with Unicode, and a text version in ASCII
11:01:42 [JeniT]
... the IRI WG
11:01:58 [JeniT]
... again, planning on last calling IRI documents before next IETF meeting
11:02:14 [JeniT]
ht: please could you tell me when the XML Core WG should look at those
11:02:21 [JeniT]
larry: there are four documents:
11:02:31 [JeniT]
... guidelines & process for registering schemes
11:03:01 [JeniT]
... takes 3987 which used to be one document, and split out section on comparison and bi-directional IRIs
11:03:25 [JeniT]
... the comparison document needs work, because it's a security document to avoid spoofing
11:03:30 [JeniT]
... it can't be a ladder
11:03:52 [JeniT]
... my take is IRI everywhere is not the right answer
11:04:01 [JeniT]
... that there are some contexts where you will want URIs
11:05:13 [JeniT]
Adjourn for lunch
11:05:51 [JeniT]
rrsagent, make log public
12:22:07 [JeniT]
JeniT has joined #tagmem
12:24:22 [jrees]
jrees has joined #tagmem
12:24:31 [Ashok]
Ashok has joined #tagmem
12:24:47 [Larry]
Larry has joined #tagmem
12:26:43 [robin]
ScribeNick: robin
12:27:19 [robin]
Topic: Can publication of hyperlinks cause copyright infringment?
12:27:28 [jrees]
s/cause/constitute/
12:27:33 [ht]
12:28:57 [robin]
NM: worth reviewing the goals of this work
12:29:20 [JeniT]
12:29:22 [robin]
[NM reads from the product page]
12:30:07 [robin]
JAR: who wrote that, it's really good?
12:30:11 [robin]
NM: we did it together
12:30:22 [robin]
... we can always change these goals, but we should do so consciously
12:30:51 [JeniT]
12:31:06 [robin]
NM: we claimed PR in 2012-06, that seems tight
12:31:08 [JeniT]
dated version:
12:31:22 [robin]
... DKA, are you avaialble for more work on this?
12:31:31 [robin]
DKA: not in an official capacity, but I will help
12:31:50 [robin]
AM: how do we make sure it is valuable to policymakers
12:32:08 [robin]
NM: I don't know, trying to get us in a mindset where we try to make it useful to them
12:32:19 [robin]
... we can try, and if it fails learn from our errors
12:32:29 [robin]
AM: how about asking them earlier if it helps
12:32:39 [robin]
NM: not sure we want to debate this now
12:32:56 [robin]
LM: I think it would be useful after reviewing the draft to look into administrative next steps
12:33:02 [robin]
... e.g. forming a CG around this
12:33:32 [JeniT]
12:33:33 [robin]
NM: review the draft
12:33:55 [robin]
... aiming for FPWD
12:34:22 [robin]
JT: my aim for this session is to get agreement on publication
12:34:47 [robin]
... what I'd really like to do is focus on points that people feel strongly should prevent it from FPWD
12:34:52 [robin]
... rather than editorials
12:35:02 [DKA]
q?
12:35:14 [DKA]
ack timbl
12:35:14 [Zakim]
timbl, you wanted to say that JAR's way of defining 'content of' is very good and to
12:35:25 [robin]
JT: editorials should be sent by email
12:35:38 [timbl]
timbl has joined #tagmem
12:35:55 [robin]
... is there anything that people want to say fisrt off?
12:36:33 [nmendels]
nmendels has joined #tagmem
12:36:38 [robin]
LM: this is a marvellous piece of hard work, my only concerns are about positioning and how we move forward with this
12:36:41 [robin]
AM: me too
12:36:55 [robin]
LM: no matter how much we polish it, we will get feedback and divergent comments
12:37:03 [robin]
JT: but the only way to get those is to put this out there
12:37:19 [robin]
LM: yes, but I would like to encourage their participation actively
12:37:28 [robin]
... (in SotD)
12:37:42 [robin]
[JT goes through section by section]
12:37:50 [robin]
JT: Abstract
12:37:58 [robin]
TBL: this isn't an abstract at all
12:38:42 [robin]
JAR: matching with goals, does more than set definitions for terms
12:39:12 [robin]
... try to match the abstract with the goals from the product page which were really good
12:39:20 [robin]
LM: the product page could be the abstract
12:39:26 [robin]
NM: extract some of it at least
12:39:43 [DKA]
q?
12:39:44 [robin]
LM: not an academic abstract, treat it like an ad for why people should read it
12:40:13 [robin]
AM: it mentions issues that were raised to the TAG — were they really raised to the TAG?
12:40:20 [robin]
LM: I'd get rid of that
12:40:23 [robin]
JT: OK
12:40:46 [robin]
... we'll rephrase that last §
12:41:00 [robin]
DKA: pull it out, highlight that in introduction
12:41:01 [Larry]
s/get rid of that/get rid of the bit about legal issues/
12:41:16 [robin]
NM: can be very picky, but don't want to drag the group down
12:41:41 [robin]
... but since we're writing for a community of lawyers we should be ruthless about drawing clear distinctions
12:42:09 [robin]
... do people agree that that level of care is required?
12:42:17 [Larry]
I think we should indicate that we need to be ruthless, but not before we publish FPWD
12:42:17 [robin]
... concerned that this could be used in court
12:42:17 [DKA]
q?
12:42:50 [robin]
JAR: there's a tension between explaining words used in our community versus words defined by this document
12:43:04 [Larry]
explain words used in the community, as well as defining specific terms which could be used more precisely
12:43:17 [robin]
... if the goal is former, then entries need citations (though probably good as a FPWD)
12:43:44 [robin]
JAR: different goals: being clear, and explaining usage
12:44:13 [robin]
NM: users versus user agent, not clear
12:44:33 [Larry]
I think we have to do both
12:44:44 [Larry]
q+ to argue for doing both
12:44:46 [robin]
JAR: careful definition of UA in document, different from usage in some places
12:44:59 [robin]
JT: different places that define these things are conflicting
12:45:11 [robin]
JAR: agree, but hard to resolve to tension
12:45:24 [robin]
LM: the document may have to do both
12:46:00 [robin]
... explain how terms are used in the community, and where there are contradictions come up with a new definition and recommend caution in future
12:46:04 [DKA]
q?
12:46:06 [DKA]
ack larry
12:46:06 [Zakim]
Larry, you wanted to argue for doing both
12:46:25 [robin]
NM: usually in the community UA == browser
12:46:37 [robin]
... but here the definition is different because it's anything that accesses web content
12:47:16 [robin]
JT: what I'm taking away is to go through that set of terms, find citations/existing uses, and discuss the multiple existing/confliction terms then make sure the document is consistent
12:47:31 [robin]
NM: be precise where we can be, and if it's inappropriate signal it
12:47:39 [robin]
... UA is an example of this
12:48:02 [robin]
TBL: for the TAG in general, the idea of UA is really important
12:48:15 [robin]
... for me, a UA is a piece of software that represents me
12:48:50 [robin]
... when you put User-Agent, you're representing someone else
12:49:14 [Larry]
unfortunately, "User Agent" is also used for identification of the HTTP client, even when it isn't working on behalf of any particular user.... a spider or web crawler has a "User-Agent" string. It was an error to name this "User Agent" in HTTP
12:49:58 [robin]
LM: the problem is that User-Agent header is used to identify the web client rather than a UA
12:50:20 [robin]
NM: explain the different uses in technical community, and say which one is used here
12:50:55 [robin]
LM: in most cases there isn't a problem, but for legal cases it may matter
12:51:04 [robin]
JT: arguably spiders are acting on behalf of someone
12:51:11 [robin]
LM: but there's no identifiable user
12:51:21 [timbl]
Many subsystems with thin the web, like proxies and archives, are automated and incapable of exercising moral judgement, and requiring them to would be impossibly onerous.
12:51:34 [robin]
JT: moving on to Introduction
12:51:35 [timbl]
^ attemtp to capture the best practuces in a scentence for the abstract
12:51:43 [Larry]
well, or at least for identification of whether there is a single responsible person for whose benefit the agent is operating
12:51:55 [robin]
TBL: Abstract is very good compared to most abstracts out there
12:51:55 [nmendels]
1.0 Introduction:
12:52:42 [nmendels]
I suggest chg/The page itself may cause/logic encoded with the page may cause/
12:53:24 [robin]
NM: reason is, we in the community understand what it means when we say "the page cause a retrieval", but that notion would seem bizarre to people outside
12:53:38 [robin]
... hence the use of "logic", which is easier to explain
12:53:56 [robin]
JAR: the notion of agency is central, because this is legal — who causes something to happen?
12:53:56 [nmendels]
Well, it's really that, in the real world, pages don
12:53:58 [robin]
AM: yes
12:54:02 [nmendels]
don't caus things to happen.
12:54:13 [robin]
... have you looked at the legal interpretation of agency, there's a whole bunch of stuff there
12:54:36 [nmendels]
2nd paragraph.
12:54:37 [robin]
JAR: not sure it's relevant here, might be useful in writing the document, but not necessary to capture it directly
12:54:49 [robin]
... good thing to put on the TODO list, but no need to prevent FPWD
12:54:52 [robin]
AM: yeah
12:54:53 [nmendels]
Suggest chg/Proxy servers and services that combine and repackage data from other sources may also retain copies of this material, due to the user's original request for the page./Proxy servers and services that combine and repackage data from other sources may also retain copies of this material/ (I.e. delete phrase at end)
12:55:06 [nmendels]
Reason: proxy servers wind up holding onto things for lots of reasons.
12:55:09 [robin]
TBL: agency makes my rant stronger about UAs acting on behalf of users
12:55:48 [nmendels]
3rd para:
12:55:49 [nmendels]
Still other services on the web, such as search engines and archives, make copies of content as a matter of course
12:56:21 [robin]
JAR: "intents and conditions...." don't use passive — this is not editorial because agency matter
12:56:25 [nmendels]
Suggest after "matter of course": in part to facilitate the indexing necessary to their operation, and in part to enable presentation of search results"
12:56:53 [nmendels]
Suggest delete: (as it enables the content to be found more easily)
12:56:58 [robin]
DKA: the problem is that if you load these § with contextual clarification then it starts to get quite heavy
12:57:05 [robin]
JAR: use your judgement
12:57:26 [robin]
NM: legal community have an extraordinary capability for this, clarity is important
12:58:52 [robin]
JT: already talked about tightening up terminology — so we can skip over that section
12:59:35 [timbl]
"For instance, one standard set of terms and conditions includes" -- reference?
12:59:46 [robin]
NM: "not taking into account this complexity" — is this a bad thing?
12:59:53 [robin]
JT: yes, this is an example of trouble
13:00:43 [robin]
... with "distribute", the problem is transfer of ownership because there is no transfer
13:00:54 [robin]
NM: would be useful to clarify this below the box
13:01:29 [robin]
HT: the Guardian has this profile thing where they put footnotes
13:01:44 [robin]
... you could use little anchors to highlight or signal problems in the text
13:02:05 [robin]
... this is a great way to show where the problems are, to make people realise that standard boilerplate is full of gotchas
13:02:20 [robin]
NM: might be worth picking the problem apart
13:02:38 [robin]
JT: would you say that throughout the entire background, it would expand it
13:02:49 [robin]
HT: I was thinking mostly about the box examples
13:03:23 [robin]
JAR: might be nice to have a couple sentences after each example to explain what is an example about it
13:03:34 [robin]
LM: can you use a different style for examples?
13:03:56 [robin]
RB: you can use class=example
13:04:20 [robin]
NM: this is fine, we can refine style
13:04:32 [robin]
JT: used blockquote to indicate them
13:05:46 [robin]
TBL: when you quote gsip.com, is it possible to use a copy of their T&C since it may not be stable
13:07:21 [nmendels]
Propose after box on scraping: "Yet, the automated agents on which the Web depends are incapable of reliably understanding such written licenses."
13:07:44 [robin]
JAR: you can't even mention aa.com, so you couldn't cite the source properly
13:08:34 [robin]
NM: § that says "limits placed on use of a website"... suggest that after that, you put [pasted above in IRC]
13:09:00 [robin]
NM: you don't want to fix this, but NLP is not an option
13:09:09 [robin]
s/but NLP/NLP/
13:09:26 [robin]
NM: explain why deep link § is a problem
13:09:34 [robin]
JT: similar to previous comment
13:09:48 [robin]
NM: happy to skip if you feel you've got that for all instances
13:10:53 [robin]
... the SHOULD not be misleading part — something about the different between SHOULD and MUST ought to be clarified
13:11:18 [robin]
JAR: this is legal language
13:11:30 [robin]
NM: right, which may be different from RFC2119
13:11:46 [robin]
JAR: should we include reference to 2119 in terminology?
13:12:08 [robin]
... I don't think it's implied that everything in the box is bad
13:12:21 [robin]
NM: it's fine if it's clear that these are just examples of things we need to talk about
13:13:30 [robin]
... wonder if scope should move up, to establish expectations?
13:14:30 [robin]
JT: Publishing section
13:14:42 [robin]
JT: 3.1 Hosting
13:15:25 [robin]
NM: §1 too strong, trying to say it's not a proxy
13:15:35 [robin]
... but is confusing
13:15:40 [robin]
TBL: what do you mean by that?
13:15:53 [robin]
JT: it's not a copy of something that's being hosted somewhere else
13:16:13 [robin]
... trying to separate out the case where this is the original content
13:16:26 [robin]
NM: if we have a photograph, hosted on her website
13:16:46 [robin]
... I want to copy it (with permission); now we're both hosting it
13:16:52 [robin]
... but with your definition I'm not
13:17:04 [robin]
JT: here we really want to talk about the original, not the copy
13:17:36 [robin]
TBL: I disagree, if you set up software on your server you're serving pre-existing content, not the original but you're still hosting it
13:18:17 [robin]
JAR: delete the notion of "original"
13:18:51 [nmendels]
Section 3.1, suggest:
13:19:34 [robin]
HT: the two cases I am concerned with are those in which jailed infringer is said to "just link" to content
13:19:38 [robin]
JT: he was embedding it
13:19:44 [nmendels]
chg/does not necessarily mean that the organisation that owns and maintains the server has an awareness of that data being present/does not necessarily mean that the organisation that owns and maintains the server has an awareness of the details or intended meaning of that data./
13:19:49 [nmendels]
Reason: surely it's aware of the bits.
13:19:51 [robin]
... but he was not hosting it
13:20:11 [robin]
HT: "just linking" conjures up the notion of clicking, a user action
13:20:31 [robin]
... so we need to be clear that hosting here covers that case
13:21:25 [robin]
NM: my ISP knows what files I've put there
13:21:29 [robin]
HT: no they don't
13:21:39 [robin]
... "know" is not a helpful word
13:21:56 [robin]
... they shouldn't be asked to find out if you have child pornography
13:22:17 [robin]
s/... they shouldn't be asked to find out if you have child pornography/NM: they shouldn't be asked to find out if you have child pornography/
13:22:23 [robin]
HT: they know a whole lot less than that
13:23:31 [robin]
TBL: two types of know 1) is are aware of it as a matter of business, and 2) could find out if they paid someone to do it
13:23:40 [robin]
JT: has "specific" awareness?
13:23:43 [robin]
HT: ok
13:23:55 [Larry]
to what extent does provenance help ?
13:24:39 [robin]
[discussion about Wendy]
13:24:55 [robin]
NM: we should check the awareness issue with her
13:25:17 [jrees]
a to-do (after Dijkstra): check verbs to consider appropriateness of automata or documents being active agents, replace when appropriate with people or organization (e.g. "server being aware" to "server operator being aware")
13:25:31 [robin]
... would like this § to dig deeper into the difference between knowing that data is there and knowing its nature
13:26:00 [robin]
JT: I understand the comments, will rephrase
13:26:11 [robin]
LM: does the work on provenance help here?
13:26:33 [robin]
... were you to record provenance, could you push responsibility back to originator
13:26:38 [robin]
JAR: out of scope
13:26:44 [nmendels]
Noah notes we're run off the end of the parts he's read :-(
13:26:45 [robin]
LM: why is it out of scope?
13:26:53 [robin]
JAR/RB: because the technology is not there
13:27:08 [robin]
LM: but to what extent *could* this be useful? Ask the provenance group?
13:27:24 [robin]
JT: maybe this could go into section 4 since it's about tecniques?
13:27:44 [ht]
"any specific awareness of that data being present, much less of its nature." would do it for me
13:28:00 [robin]
LM: the TAG has more influence over W3C and its groups than web page hosters
13:28:31 [robin]
HT: there's a WG
13:29:27 [robin]
[meta discussion]
13:29:53 [robin]
JT: would like to come out of f2f with plan forward, not just publishing but also potential CG
13:30:59 [robin]
HT: would anyone object to FPWD at this stage, assuming Jeni takes comments into account?
13:31:17 [robin]
LM: so long as the abstract is clearer on next steps I would be fine
13:31:30 [Larry]
my only concern is that the introduction makes it clear that we're open as to next steps
13:31:53 [robin]
JT: let me try to draft something and when we come back on Wednesday we can figure that out
13:31:55 [Larry]
clearer that 'next steps' are open
13:32:18 [robin]
NM: so no one likely objects to FPWD, how much do we need a longer session?
13:32:43 [robin]
[no objection]
13:33:06 [robin]
NM: anything other than actions?
13:33:16 [robin]
AM: yes. the idea here is to influence the legal ecosystem.
13:33:23 [robin]
... publishing it as a finding will not do that
13:33:30 [robin]
... a Rec is not enough either
13:33:39 [robin]
... it's not sufficient
13:33:43 [robin]
JAR: you need publicity
13:33:56 [robin]
AM: need to involve a broader community
13:34:11 [robin]
JAR: won't be hard to sell, if the EFF learns about it it will be pushed
13:34:20 [robin]
HT: we will work to push this in public outlets
13:34:39 [robin]
NM: take an action long term on getting this on policy radar?
13:35:20 [robin]
LM: we need to get to a position that people who have a stake in this game can voice their opinions, concerned about a TAG Rec
13:35:33 [Larry]
i'm concerned that we establish a next step process which actually engaged in discussing the content
13:35:41 [robin]
NM: so you're saying that some of the relevant people might not be comfortable with www-tag?
13:35:45 [robin]
LM/AM: yes
13:36:14 [robin]
NM: we'll talk on Wednesday about next steps
13:36:39 [robin]
LM: want some feedback from relevant community, not sure how politically sensitive this is
13:37:11 [robin]
JT: please email further comments
13:37:27 [robin]
[break]
13:37:43 [robin]
NM: there will be a short session on this on Wednesday
13:41:40 [masinter]
masinter has joined #tagmem
13:41:43 [masinter]
13:44:36 [JeniT]
ScribeNick: JeniT
14:03:48 [JeniT]
noah: welcome to Robin
14:04:37 [JeniT]
Topic: Web Applications: Privacy by Design in APIs for Web Applications
14:05:06 [JeniT]
noah: Product page is no longer a draft:
14:05:11 [DKA]
q+ to ask robin to put the good parts back in
14:05:34 [JeniT]
noah: review of
14:06:31 [JeniT]
robin: the feedback I've got is that the scope should be clarified
14:06:35 [JeniT]
... so I will clarify it here
14:06:48 [JeniT]
... the background is: we started working on Geo API
14:07:18 [JeniT]
... this had privacy impacts
14:07:28 [JeniT]
... in DAP we tried to take into account privacy from day one
14:07:37 [JeniT]
... DAP started to think about how to do privacy in APIs
14:07:46 [JeniT]
... one principle was API minimisation which led to DKA's draft
14:07:53 [JeniT]
... now, that is only used in one API
14:08:00 [JeniT]
... and not used in any other WG
14:08:07 [JeniT]
... because we've moved on to other techniques
14:08:27 [JeniT]
... so API minimisation needs to be set into a broader framework
14:08:34 [JeniT]
... applicable to several groups who are defining APIs
14:08:43 [Ashok]
q+
14:08:47 [nmendels]
ack dka
14:08:47 [Zakim]
DKA, you wanted to ask robin to put the good parts back in
14:08:53 [JeniT]
DKA: that all sounds great
14:09:42 [JeniT]
... *but* I think you've taken out bits that shouldn't have been taken out
14:10:36 [DKA]
14:10:41 [JeniT]
... for instance, the original draft referenced Saltzer & Schroeder
14:11:01 [JeniT]
jar: in academia, this is the seminal classic on the subject
14:11:08 [DKA]
14:11:38 [JeniT]
DKA: I understand why you might not want to bring those things up
14:11:55 [JeniT]
... but I think it's important to do so, to mend the fence between the "privacy nuts" and the "script kiddies"
14:12:15 [JeniT]
... there is really good information in the Dierdre Mulligan document
14:12:21 [JeniT]
... and in the Saltzer document
14:12:33 [JeniT]
... these are architectural principles that could be brought into the modern age
14:12:37 [jrees]
Official but paywalled location of S&S's classic:
14:12:46 [JeniT]
... if the additional techniques that you think could be recommended enhance these
14:12:49 [JeniT]
... then point that out
14:13:07 [JeniT]
... point out that it helps to minimise the data that flows down the line
14:13:19 [JeniT]
... I would like that work, which I think is good, to be brought through
14:13:32 [JeniT]
robin: I hear that the digestion process was too aggressive
14:13:45 [JeniT]
DKA: you know the latest stuff from DAP
14:13:55 [nmendels]
q+ to talk about tradeoffs
14:13:55 [JeniT]
... have the principles been tossed out?
14:14:07 [JeniT]
robin: mostly the document from which they come has not been updated in three years
14:14:12 [JeniT]
... no one has read it in two years
14:14:18 [JeniT]
DKA: did they need to be updated?
14:14:29 [JeniT]
robin: I don't have a problem with the meaning of the principles, but the phrasing is probably off
14:14:40 [JeniT]
... because the discussions have happened in other WGs
14:14:48 [JeniT]
... and whenever the document has been cited, it's been ignored
14:15:00 [DKA]
14:15:09 [JeniT]
... so clearly it's not expressing things in a way that people are able to use it
14:15:23 [JeniT]
... I'm happy to try to revive those principles more actively, but we need to rephrase them
14:15:28 [JeniT]
... and I'm happy to do that
14:15:41 [JeniT]
... I really tried to make this document a how-to manual for people busy writing specs
14:16:03 [JeniT]
... so if I'm writing a spec, what do I need to read to get it right
14:16:08 [JeniT]
... a short, checklist document
14:16:24 [JeniT]
... I could re-organise the document so it serves both ends
14:16:37 [JeniT]
... there's good architectural matter in the documents you cited
14:16:48 [JeniT]
... so I will try to restructure to serve both documents, I think that's doable
14:17:05 [JeniT]
... the fast reading for the spec writers, and then there's the background that can inform further thinking
14:17:18 [nmendels]
ack next
14:17:18 [JeniT]
DKA: yes, and give the reasons for why the techniques work
14:17:33 [JeniT]
ashok: when we started this work, we really wanted to do something in the privacy area
14:17:48 [JeniT]
... DKA found this well-scoped, well-defined area, which he wrote up
14:17:55 [JeniT]
... and we hoped we could close on it quickly
14:18:05 [JeniT]
... what I'm worried about is that the scope has been enlarged
14:18:08 [JeniT]
robin: slightly
14:18:22 [JeniT]
ashok: the parts that you've added are different
14:18:32 [JeniT]
... they seem to be addressing a different problem with different solutions
14:18:56 [JeniT]
... it looks like two ideas in this space, and I'm not sure whether we shouldn't break them up into two things
14:18:56 [timbl]
q+
14:19:00 [DKA]
q+
14:19:06 [DKA]
q-
14:19:07 [JeniT]
jar: or there might be more, two is a funny number
14:19:12 [DKA]
q+ to comment on scope
14:19:21 [JeniT]
ashok: there's lots of issues in privacy, and we couldn't possibly handle them all
14:19:30 [JeniT]
robin: I don't want to boil the privacy ocean
14:19:43 [JeniT]
... this document is scoped to what you can do about privacy inside a User Agent API
14:19:50 [JeniT]
... it's not everything that could possibly do in this area
14:20:09 [JeniT]
... but I think it does scope the problem in a way that is useful and applicable by people who are working in this space
14:20:16 [JeniT]
... and it would be difficult to explain them in isolation
14:20:34 [JeniT]
ashok: so these are two directions that a user agent could take to help protect privacy
14:20:42 [nmendels]
ack next
14:20:43 [Zakim]
nmendels, you wanted to talk about tradeoffs
14:20:44 [JeniT]
robin: not the user agent, but the design of the API to be run within the user agent
14:20:54 [timbl]
q+ to feel that a document of this sort should mention acceptable use tracking, and the concept of accptabl euse for a user aget and fo a community of agents of different parties
14:20:56 [JeniT]
noah: this is good work
14:21:02 [JeniT]
... I think it's coherent in its scope
14:21:22 [JeniT]
... I'm worried about it taking a long time, so focusing on the most important thing is a good idea
14:21:25 [masinter]
q+
14:21:46 [JeniT]
... you were saying that you wanted to do a quick guide for people building these things
14:22:10 [JeniT]
... I think the TAG is at its best when it tries to tell stories that have longevity
14:22:54 [JeniT]
... there are tradeoffs in the designs of the APIs
14:23:22 [JeniT]
... I'd expect to see those tradeoffs set out, for example how testable the API is
14:23:30 [JeniT]
... as it will have a bigger surface area
14:23:35 [masinter]
I don't think this is the right recommendation for "privacy by design". I'm not certain privacy-by-design if only because there isn't even a clear definition of the "privacy" design goal. I think this is consistent, I was worried about API minimization. Note GEOPRIV policy document
in 25th revision
14:23:52 [JeniT]
... also talk about performance
14:24:00 [JeniT]
... numbers of calls on the API
14:24:11 [JeniT]
... draw out the core things
14:24:17 [JeniT]
... to teach people to think deeply
14:24:27 [timbl]
q+ tim0 to discuss the difference between trusted apps an duntrusted apps
14:24:31 [JeniT]
... handy guides are great as well
14:24:44 [JeniT]
... but I'd skew it more towards longevity
14:25:03 [nmendels]
q?
14:25:05 [nmendels]
ack next
14:25:06 [Zakim]
timbl, you wanted to feel that a document of this sort should mention acceptable use tracking, and the concept of accptabl euse for a user aget and fo a community of agents of
14:25:06 [Zakim]
... different parties
14:25:15 [JeniT]
timbl: basically, I think it's a very useful document
14:25:21 [JeniT]
... two separate things that occur to me
14:25:29 [JeniT]
... talking about acceptable use
14:25:41 [JeniT]
... that's what came out of a privacy workshop at MIT
14:26:03 [JeniT]
... about capturing policy
14:26:17 [JeniT]
... if you're a user agent, you don't want to do anything unexpected or damaging
14:26:31 [JeniT]
... if I've decided to share something (eg a calendar entry)
14:26:34 [jrees]
q+ jar to urge disclaimer about sampling of techniques, it's not a comprehensive treatment
14:26:38 [JeniT]
... I select the two people to share it with
14:26:45 [JeniT]
... my app might decide to send them emails
14:27:02 [JeniT]
... it would be more reasonable for it to pop up the email so I can edit it
14:27:11 [JeniT]
... it's different to add the name & address to a mailing list
14:27:29 [JeniT]
... which leads to the idea that sometimes there's an implicit use
14:27:55 [JeniT]
... you haven't captured what you said the data could be used for
14:28:09 [JeniT]
robin: looking at data usage is a fundamental question in privacy
14:28:17 [JeniT]
... but it's hard to put that into API design
14:28:29 [nmendels]
q+ to say we must be willing to say we don't have good answers on, e.g. policy
14:28:35 [JeniT]
... but you'll get pushback from API designers
14:28:47 [JeniT]
... and you'll get a fight, and it won't give progress
14:28:51 [JeniT]
jar: can we learn from that conflict?
14:29:18 [JeniT]
timbl: the related thing is between a trusted and an untrusted app
14:29:21 [masinter]
q?
14:30:01 [JeniT]
... web apps have to have total power, so they become trusted apps
14:30:17 [JeniT]
... with an untrusted app, it's difficult to stop them from using the data for something different
14:30:27 [JeniT]
... but then there's a trusted app talking to an untrusted app
14:30:27 [masinter]
note long discussion about whether SPDY's use of SSL offers a "promise of improved privacy"
14:30:41 [JeniT]
... at that point it might be reasonable to have a negotiation about acceptable use
14:30:57 [JeniT]
... because the trusted app gathers the data to do something specific
14:31:11 [JeniT]
robin: it would make sense, but we don't want to reinvent P3P
14:31:21 [JeniT]
... DAP started looking at rulesets, a simplified version of P3P
14:31:35 [JeniT]
... so a server could say what it wants to do with the data
14:31:45 [JeniT]
... there's only one person in the privacy community who cares
14:31:50 [JeniT]
... and no one in the browser space
14:31:59 [JeniT]
... no one sees how to make that work in the broader sense
14:32:10 [JeniT]
... the solution we've come up with at the moment is user mediation
14:32:24 [JeniT]
... so web intents allow the initiation of communication between a server you trust and another that you don't
14:32:29 [JeniT]
... or vice versa
14:32:42 [JeniT]
... with the user in the middle saying ok about the transfers
14:32:49 [DKA]
q?
14:33:03 [timbl]
q- tim0
14:33:07 [nmendels]
ack next
14:33:08 [Zakim]
DKA, you wanted to comment on scope
14:33:18 [masinter]
main problem is that the design requirements for privacy, accessibility, performance, security from eavesdroppers, etc. can't be evaluated in isololation, so "X by design" in general is problematic
14:33:23 [JeniT]
DKA: I want to comment on scope and support Robin
14:33:55 [JeniT]
... the original idea we had for privacy on the TAG was data minimisation as one targetted document as a series of things we could say
14:34:09 [JeniT]
... I struggled to think about what that set should say
14:34:18 [JeniT]
... your revised title and scope for this document really made sense to me
14:34:31 [JeniT]
... how do you apply the 'privacy by design' idea to API design
14:34:41 [JeniT]
... I have been thinking about this for a while, and this brought that back to me
14:34:45 [JeniT]
... so I support that idea
14:34:57 [masinter]
14:34:57 [JeniT]
... and I think the scope you've chosen is not boil the privacy ocean
14:35:14 [JeniT]
... it's focusing on the API design, rather than all the potential issues that the TAG might hit on privacy
14:35:23 [nmendels]
ack next
14:35:25 [JeniT]
robin: yes, and it stops where the IAB's work on privacy starts
14:35:35 [JeniT]
... the IAB works up to the protocol layer
14:35:42 [JeniT]
... and I hope their work will also address data usage
14:36:08 [JeniT]
larry: I'm really concerned about the TAG taking this on as a work item
14:36:20 [JeniT]
... not because it's not important, but because we're optimising about a moving set of requirements
14:36:50 [JeniT]
... we had a discussion about SPDY's use of SSL and found we didn't really have a common understanding of what privacy meant
14:37:02 [JeniT]
... we're optimising against a goal that is not clearly understood in the industry
14:37:13 [JeniT]
... the GeoPriv policy expression language has been repeatedly revised
14:37:24 [JeniT]
... the subject is controversial enough and has a lot of different perspectives
14:37:44 [JeniT]
... it seems unlikely that the TAG will converge on a finding that will fit with those
14:37:58 [JeniT]
... especially as the IAB is moving about what it covers
14:38:18 [nmendels]
q?
14:38:22 [JeniT]
... we have the area of variability around the tradeoffs
14:38:33 [JeniT]
... and about the definition of privacy and the channels of communication
14:38:47 [JeniT]
... and then there's the boundary between this and other TAG work
14:38:58 [JeniT]
... the boundaries feel very fuzzy to me
14:39:12 [JeniT]
robin: you're worried about us broadening the scope?
14:39:31 [JeniT]
larry: we have a risk of overlapping and saying something contradictory, or leaving a gap between this work and others' work
14:39:50 [JeniT]
... to shallow to the point it's not actionable, or too deep
14:39:55 [JeniT]
yves: what about the risk of saying nothing?
14:40:09 [JeniT]
larry: what's the boundary between the TAG and the privacy interest group etc
14:40:21 [JeniT]
... there are other groups who are strongly chartered to work on this
14:40:37 [masinter]
wonders if we are really ready to negotiate a boundary with IAB
14:40:38 [JeniT]
... maybe we could come up with something that's shorter and more generic to encourage further work
14:40:47 [JeniT]
robin: we should talk about this in the session with Dom tomorrow
14:40:58 [JeniT]
... I did meet up with Christine who is chairing the privacy interest group
14:41:12 [JeniT]
... to discuss whether this is of interest to them, whether they should be doing it, whether the TAG should be doing it
14:41:20 [JeniT]
... I've also been talking about it with the IAB as well
14:41:29 [robin]
14:41:34 [JeniT]
... the reasonable consensus is that the IAB are working at the protocol level
14:41:46 [JeniT]
... and I have the impression that they are happy with this
14:42:03 [JeniT]
noah: isn't there a lot of conceptual stuff that has to be sorted out across these
14:42:14 [JeniT]
robin: yes, so we've spoken about terminology
14:42:21 [JeniT]
... which is still a moving target
14:42:33 [JeniT]
noah: do they include a threat matrix?
14:42:40 [JeniT]
robin: they start with an internet privacy threat model
14:42:52 [JeniT]
noah: that seems important to agree on, what the problem space is
14:43:14 [JeniT]
robin: yes, so their terminology is too much of a moving target to be reused, so that will need to be revisited at intervals
14:43:36 [JeniT]
... as far as the Privacy IG goes, Christine felt that some joint work, either joint review or a joint TF
14:43:57 [JeniT]
... to look at policy and that we could contribute technological view
14:44:22 [JeniT]
larry: I talked to people at the IETF meeting, to the IAB, to Wendy, to Thomas, and they didn't mention any of this
14:44:52 [JeniT]
... for you to have a private discussion, that the others in the IAB and Privacy IG aren't aware of makes me worried
14:45:15 [JeniT]
robin: these discussions happened Thursday and Friday
14:45:37 [JeniT]
larry: we need to arrange discussions with the IAB in order to collaborate with them
14:46:06 [JeniT]
noah: getting colocated with the IAB has proven difficult
14:46:18 [JeniT]
... we couldn't have a TAG meeting at the same time as the IETF meeting
14:46:42 [JeniT]
larry: my concern is about overlapping with other groups
14:46:45 [nmendels]
ack next
14:46:47 [Zakim]
jar, you wanted to urge disclaimer about sampling of techniques, it's not a comprehensive treatment
14:47:23 [JeniT]
jar: there's something that feels incomplete about the draft
14:47:28 [JeniT]
... about how the scope is set
14:47:41 [JeniT]
... if you just look at the title it looks like it's about all privacy issues
14:48:09 [JeniT]
... what you've said today about the scope is really important, and should go into the introduction
14:48:25 [JeniT]
... this is really just a sampling of things that have come up through the WG process
14:48:44 [JeniT]
timbl: you could have a related work section
14:48:51 [JeniT]
jar: there's a lot of interesting stuff in this space
14:49:03 [JeniT]
... you should say that
14:49:11 [JeniT]
noah: say why we chose these bits now
14:49:24 [JeniT]
... and what you should watch out for because we haven't covered it here
14:49:43 [JeniT]
... stuff that hasn't been touched: different threat models, different capabilities
14:50:14 [JeniT]
jar: give space for the reader to realise that this is a sampling of what we know about right now
14:50:30 [JeniT]
... it might end up being complete, but because it's an active area it's unlikely to be
14:50:44 [JeniT]
robin: this is like a BCP more than anything else
14:51:03 [JeniT]
noah: it might just be early
14:51:23 [JeniT]
... a year ago people were talking about minimisation
14:51:32 [JeniT]
timbl: I like 'patterns in API design'
14:51:47 [JeniT]
... and you could mention an anti-pattern, things that you didn't cover
14:51:57 [JeniT]
... you're not saying they're best, that they could work for some people
14:52:16 [JeniT]
robin: the reason I didn't use 'pattern' was that several groups said it would tie it to 'design patterns'
14:52:29 [JeniT]
... which is a little old-fashioned
14:53:51 [JeniT]
... personally 'pattern' would have been something that I would have used, but some people are scared of using that word
14:53:54 [nmendels]
ack next
14:53:55 [Zakim]
nmendels, you wanted to say we must be willing to say we don't have good answers on, e.g. policy
14:53:56 [JeniT]
... I'm happy to try using it
14:54:48 [timbl]
Alexander et al A Pattern Language
14:54:51 [timbl]
1865
14:55:47 [robin]
q?
14:55:58 [DKA]
q?
14:55:59 [JeniT]
noah: talking about policy, and that we don't have good answers
14:56:14 [DKA]
q+
14:56:23 [JeniT]
... there's a risk of telling the piece of the story we understand in isolation
14:56:37 [JeniT]
... and perhaps without policy it doesn't matter
14:57:32 [JeniT]
... need to explain which part of the problem these designs will solve
14:57:36 [timbl]
14:57:41 [JeniT]
... and what issues it doesn't solve
14:57:53 [JeniT]
... if it can do it without talking about policy, I'm happy
14:58:20 [JeniT]
robin: I think that's part of explaining the scoping better
14:58:35 [nmendels]
ack next
14:58:39 [nmendels]
q?
14:58:41 [JeniT]
noah: let's see if we can tell enough of the story with this
15:01:28 [JeniT]
noah: we have another session on this tomorrow to review how this went with Dom
15:01:37 [JeniT]
... and we can go over logistics at that point
15:01:57 [JeniT]
... so let's wrap this up for now and come back on it tomorrow
15:03:29 [timbl_]
timbl_ has joined #tagmem
15:06:05 [JeniT]
Adjourned
15:06:33 [JeniT]
rrsagent, draft minutes
15:06:33 [RRSAgent]
I have made the request to generate
JeniT | http://www.w3.org/2012/04/02-tagmem-irc | CC-MAIN-2013-48 | refinedweb | 15,011 | 64.34 |
In node.js, module is a JavaScript file and it will contain a set of functions to reuse it in node.js applications.
In node.js, each file is treated as separate module and the modules in node.js are same like JavaScript libraries.
In node.js, modules are useful to move the common functionalities to separate .js file to reuse it in applications based on our requirements. In node.js, each module has its own context, so if we create any new module that won’t interfere with other modules in application.
In node.js, we can include or import a module by using
require directive with module name like as shown below.
// importing node.js built-in http module
var http = require('http');
We imported an
http module by using
require directive. Now our application is having an access to HTTP module so we can create a server to listen a request and response on particular port number like as shown below.
// creating server
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.write('Welcome to Tutlane');
res.end();}).listen(4200);
This is how we can include or import a modules in our node.js applications.
In node.js, modules are divided into three primary categories, those are:
By default, the node.js comes with a set of built-in modules and these are useful while implementing an application.
Generally, the built-in or core modules are installed on our machine during the node.js installation and those will load automatically when node.js process starts. To use built-in modules in our node.js application, we need to import it using
require directive like as mentioned above.
Following table lists some of the important built-in / core modules available in node.js.
Following is the example of using a built-in / core
http module in node.js applications. Now, create a file called Helloworld.js and write the code like as shown below.
// importing node.js built-in http module
var http = require('http');
// creating server
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.write('Hello World!');
res.end();
}).listen(4200);
If you observe above code, we imported an
http module by using
require directive to access HTTP module and created a server to listen the request and response on port number 4200.
Here, the above code will tells the computer to write “Hello World” if anyone tries to access your computer on port 4200.
Now, open node.js command prompt and navigate to the folder that contains a Helloworld.js file and initiate it by entering a command like as shown below.
Now your computer will work as server so if anyone tries to access your computer with port 4200, then in return they will get a “Hello world” message like as shown below.
In node.js, the external modules are implemented by node.js community people to solve the lot of common coding problems without rewriting the same code for every application.
Generally, these external modules are published in Node Package Manager (NPM) registry, so to use external modules in our application, first we need to install the external module codebase from NPM locally using
Npm install module_name command.
Once we install the codebase locally from NPM, then we can import it in our application using
require(‘module_name’) function.
Following table lists some of the widely downloaded external / third party modules from NPM in node.js.
In node.js, the built-in and external modules are created by others to fulfill some common functionalities, but it's not limited that we should use only those packages/modules.
In node.js, we can also create our own custom module and use it in our application by just importing it.
Following is the example of creating a module called custommodule to perform an arithmetic operations like addition, multiplication, subtraction and division.
Now, create a file called custommodule.js and write the code like as shown below.
// Creating function for adding two values
exports.Addition = function(val1, val2)
{
return (val1 + val2)
}
// Creating function for subtracting two values
exports.Subtract = function(val1, val2)
{
return (val1 - val2)
}
// Creating function for multiplying two values
exports.Multiplication = function(val1, val2)
{
return (val1 * val2)
}
// Creating function for dividing two values
exports.Division = function(val1, val2)
{
return (val1 / val2)
}
Here, we created our own custom module (custommodule) with different functions and used an
exports keyword to make our properties and methods available outside the module file.
In node.js, we can include or import our custom module same like built-in or external modules by using
require directive with module name like as shown below.
Now, create a file called mathoperations.js and write the code like as shown following to include our custom module (custommodule) in node.js application.
// Import bulit-in and custom modules
var http = require('http');
var cm = require('./custommodule');
//Create server
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/html'});
res.write('Addition: ' + cm.Addition(25,50) + '</br>');
res.write('Subtraction: ' + cm.Subtract(25,50) + '</br>');
res.write('Multiplication: ' + cm.Multiplication(25,50) + '</br>');
res.write('Division: ' + cm.Division(25,50));
res.end();
}).listen(4200, console.log('Server running on port 4200'));
If you observe above example, we used a
./ to locate our custom module (customodule) in
require function, that means the custom module (custommodule.js) exists in the same folder where mathoperations.js file exists.
Now open node.js command prompt, navigate to the folder where the files exists and enter a command like
node mathoperations.js and click enter like as shown below.
Now our computer will work as server, so if anyone tries to access our computer with url, then in return they will get result like as shown below.
This is how we can create and import custom modules in our node.js applications based on requirements. | https://www.tutlane.com/tutorial/nodejs/nodejs-modules | CC-MAIN-2018-47 | refinedweb | 984 | 50.12 |
Hello everyone, I ran into a problem that I described all the methods in the classes in the final test class
MainI ask for the output of the results from the class
Action, but unfortunately it doesn't output anything.
Please help me understand what my mistake is? I myself think that the whole problem is in the Action class, but I didn't find it exactly where.
Thanks in advance!
Here is the code itself:
Test package, class Main
package test; import action.Action; import factory.Factory; public class Main { public static void main (String [] args) { String [] str= new String [1]; Factory.symbols (str); String regex= "\\ b \\ w * (\\ w) \\ 1 \\ w * \\ b"; System.out.println ("1) Use a regular expression to remove all words from the sentence containing two identical consecutive letters"); for (String s: str) { StringBuffer sb= new StringBuffer (s); Action.symbolsMatches (regex, sb); } Factory.tender (str); System.out.println ("2) Calculate the sums of the character codes of tokens in the entered sentence and check if the resulting number series is a non-increasing sequence."); Action.codesSum (); } }
Action Package, Action class
package action; import java.util.regex.Pattern; import java.util.regex.Matcher; public class Action { static public void symbolsMatches (String regex, StringBuffer symbols) { Pattern pattern= Pattern.compile (regex); Matcher matcher= pattern.matcher (symbols); while (matcher.find ()) { System.out.println (symbols.toString (). ReplaceAll (regex, "") + matcher.group ()); } } static public void codesSum () { String tender= ""; String [] words= tender.split (""); int prevSum= -1; for (String word: words) { int sum= 0; for (char ch: word.toCharArray ()) { sum += (int) ch; } if (prevSum!= -1) { if (prevSum < sum) { return; } prevSum= sum; } System.out.println (tender); } } }
Package interface, interface IF
package interfaces; public interface IF { String symbols []= {"Currently there is a restriction on checks for unregistered users" }; String tender []= {"admin coming home"}; }
Factory package, Factory class
package factory; import interfaces.IF; public class Factory implements IF { static public void symbols (String str []) { for (int i= 0; i < symbols.length; i ++) { for (int j= 0; j < str.length; j ++) { str [i]= symbols [i]; } } } static public void tender (String str []) { for (int i= 0; i < tender.length; i ++) { for (int j= 0; j < str.length; j ++) { str [i]= tender [i]; } } } }
@Dmitry yes, I would gladly study what I need, but the educational program is like this, we have an initial study of Java, and we are already pushing regular expressions and a factory ... I will definitely study common truths, but still the code needs to be completed ... Can you please point out my mistakes, just the interface and factory should work, the teacher told me so, and the regular season should work out its own ... I checked on 101regexfallwe2021-11-25 18:39:11
Yes, and I know that this code can be reduced significantly, but for now I am doing what they say. So this is how I can make it work, I just have quarrels from the very study from Main (fallwe2021-11-25 18:39:11
@Dmitry, is it possible that one of the problems is in the Cyrillic alphabet? P.S. There is also such a regular, if, after all, it's about it, (\ w) \ 1, it checks two identical following characters, but in the task I need to completely divide the word, which just can consist of these characters ...fallwe2021-11-25 18:39:11
@ Dmitry is also here \ b \ w * (\ w) \ 1 \ w * \ b, but in the compiler itself this entry displays an error: Invalid escape sequence (only \ b \ t \ n \ f \ r \ " \ '\\).fallwe2021-11-25 18:39 regular expression does not work for you. but if I were you, I would have forgotten about it and tried to study common truths, because I have probably never seen such an incredibly complex code in my life (and I worked with Indians and Africans!). Have you ever heard of the kiss principle? so here you have antikiss. you don't know what an interface is, you don't understand what a factory is. Why do you need a regular season now? study more useful materialДмитрий2021-11-25 18:39:11 | https://www.tutorialfor.com/questions-382099.htm | CC-MAIN-2021-49 | refinedweb | 677 | 64.61 |
A client for the Signal stickers API
Project description
Python client for Signal stickers
A client to interact with the Signal stickers API.
- Fetch sticker packs
- Get images files
- etc.
Note: despite its name, this client does not interacts with
signalstickers.com, so information defined there (tags, etc.) will not be fetched.
This client connects to the Signal sticker API. Please do not flood it.
Installation
pip install --user signalstickers-client
This module requires
cryptography (but it should be installed with the
previous command).
Usage
The
StickerPack object returned by
StickersClient().get_pack(<pack_id>, <pack_key>) exposes the following attributes:
id(string): the pack id. Equals to
pack_id;
key(string): the pack key. Equals to
pack_key;
title(string): the title of the pack;
author(string): the author of the pack;
nb_stickers(int): the number of stickers in the pack;
cover(
Sticker): the cover sticker;
stickers(list): the list of stickers in the pack (which are
Stickerobjects).
A
Sticker object exposes the following attributes:
id(int): the id of the sticker in the pack;
emoji(string): the emoji mapped to this sticker;
image_data(bytes): the webp image of the sticker.
Example usage
import os from signalstickers_client import StickersClient # "Friends of the Internet" by Bits of Freedom pack_id = "4830e258138fca961ab2151d9596755c" pack_key = "87078ee421bad8bf44092ca72166b67ae5397e943452e4300ced9367b7f6a1a1" client = StickersClient() pack = client.get_pack(pack_id, pack_key) print(pack.title) # "Friends of the Internet" print(pack.author) # "Bits of Freedom" print(pack.nb_stickers) # 7 # Saves all stickers in webp format in /tmp/stickersclient # if the directory exists for sticker in pack.stickers: with open( os.path.join("/tmp", "stickersclient", "{}.webp".format(sticker.id)), "wb" ) as sticker_f: sticker_f.write(sticker.image_data)
License
Legal
This is not an official Signal project. This is an independant project.
Signal is a registered trademark in the United States and other countries.
Author
Romain Ricard contact+stickerclient@romainricard.fr
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages. | https://pypi.org/project/signalstickers-client/ | CC-MAIN-2020-16 | refinedweb | 327 | 51.65 |
?
Hey,learning python is really a fun. I have found some of this programming language a way to make most out of the web.
this is simply great programming with humor :D
I would:
[ print(output(x)) for x in xrange(99,1,-1)) ]
[ print(output(x)) for x in xrange(99,1,-1)) ]
DOH, you're right Leszek. I totally forgot I could do that. MEMORY FAIL!
But in a case of fast, heavy drinkers... :)
def output(in_int):
plural = in_int-1 and 's' or ''
return "%d bottle%s of beer on the wall, %d bottle%s of beer." \
"You take one down, pass it around, %d bottles of beer" \
"on the wall." % (in_int, plural, in_int, plural, in_int - 1)
Hey Sean, agf's comments aside, that is a neat little hack that would definitely cut down on the size of the output function. Thanks for sharing it.
Don't use the and / or hack. There is a real conditional expression in Python, introduced in version 2.5, which works even if the "True" result (in your example, 's') evaluates to "False".
's' if in_int - 1 else ''
I didn't know that Python had conditional expressions. I will have to write some code just to check it out. Thanks!
i even don't know about that functionality as i am new to python thanks for that . it really help me a lot.
MMA News
Why? and/or works just fine in this case, and the if/else syntax is ugly and inside-out.
If you made it this far down into the article, hopefully you liked it enough to share it with your friends. Thanks if you do, I appreciate it. | http://scrollingtext.org/99-bottles | CC-MAIN-2014-42 | refinedweb | 280 | 83.86 |
So I'm using the code below to to make a frame with radio buttons and what not. I've pretty much just modeled this after some code in my programming book so it looks weird. =/
I've implemented this into my other code so that it displays when I need to prompt the user for a response, which I originally got via scanner. I want this to update the users response automatically with a preset response based by selection of one of the radio buttons. As you can see I've done this in itemStateChanged method. But my problem is the program won't stop and wait for the user to give a response via selecting a radio button. What kind of options do I have to make it wait for that response? I honestly have no clue what to do? I could say if the response == 0 instead of 1 2 or 3 then pause somehow? but then how would it know to go again?
On a side note, I'm using ItemListener and fonts and ItemEvent that change the text above. Which is completely useless to me for what I'm trying to accomplish.. -.- It was part of the other program I modeled this after.
But I decided to use them since the font is an Item I guess? That works with the stuff mentioned above. Soo.. any hints or samples I could use to pass the response from the radio buttons to the itemStateChanged method correctly? Can I create other kinds of objects like this: loginFont = new Font("Serif", Font.PLAIN, 14); with string or something different? cause fonts is a little ridiculous.
.. I swear I had another question. But it's not coming to me right now..
edit: Oh yes, how can I ensure the frame closes when I'm done with it? What kind of code is there to do this?
Thanks for any help! =)
import java.awt.*; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.*; import javax.swing.*; public class NewLogin extends JFrame { private Font loginFont; private Font registerFont; private Font exitFont; private JTextField textField; private JRadioButton loginButton; private JRadioButton registerButton; private JRadioButton exitButton; private ButtonGroup radioGroup; Login Login = new Login(); public NewLogin() { super("Super Game"); setLayout(new FlowLayout()); // set frame layout textField = new JTextField("Which action would you like to perform?", 30); add(textField); // add textField to Jframe // create radio buttons loginButton = new JRadioButton("Login", false); registerButton = new JRadioButton("Register", false); exitButton = new JRadioButton("Exit", false); add(loginButton); add(registerButton); add(exitButton); // create logical relationship between JRadioButtons radioGroup = new ButtonGroup(); // create button group radioGroup.add(loginButton); radioGroup.add(registerButton); radioGroup.add(exitButton); // create font objects loginFont = new Font("Serif", Font.PLAIN, 14); registerFont = new Font("Serif", Font.BOLD, 14); exitFont = new Font("Serif", Font.ITALIC, 14); // register events for JRadioButtons loginButton.addItemListener(new RadioButtonHandler(loginFont)); registerButton.addItemListener(new RadioButtonHandler(registerFont)); exitButton.addItemListener(new RadioButtonHandler(exitFont)); }// end RadioButtonFrame private class RadioButtonHandler implements ItemListener { private Font font; public RadioButtonHandler(Font f) { font = f; } public void itemStateChanged(ItemEvent event) { textField.setFont(font); if (font == loginFont) { Login.response1 = 1; } else if (font == registerFont) { Login.response1 = 2; } else if (font == exitFont) { Login.response1 = 3; } } }// end RadioButtonHandler }// end NewLogin | http://www.javaprogrammingforums.com/java-theory-questions/9095-newbish-question-s.html | CC-MAIN-2015-40 | refinedweb | 537 | 50.53 |
The function getchar () read and write (display) single character. The function getchar () reads and returns the next character from standard input stream. The standard input is from keyboard. If the function encounters end-of-file character, it returns EOF. Also, if an error occurs in reading, then also the function returns EOF. The prototype of the function is
int getchar (void); /*function type is int and no arguments (void).*/
It may be used as shown below.
char ch ;
ch= getchar();
The function reads single character at a time, however, it may be used to read a string with the help of a loop, i.e., read the string character by character. Since the function has access to single character it is useful in manipulating the characters of a string, i.e., altering a character in a string or for counting all characters or for counting the occurrence of particular character in a string. Illustrates use of getchar ().
#include <stdio.h>
int main(void)
{
int a, b;
char ch;
printf("Choice:\n");
printf("Add, Subtract, Multiply, or Divide?\n");
printf("Enter first letter: ");
ch = getchar();
printf("\n");
printf("Enter a: ");
scanf("%d", &a);
printf("Enter b: ");
scanf("%d", &b);
if(ch=='A') printf("%d", a+b);
if(ch=='S') printf("%d", a-b);
if(ch=='M') printf("%d", a*b);
if(ch=='D' && b!=0) printf("%d", a | http://ecomputernotes.com/c-program/write-a-program-for-getchar-to-read-user-choices | CC-MAIN-2018-05 | refinedweb | 227 | 66.74 |
Download
FREE PDF.
To make use of the XHR to its fullest, we recommend you become familiar with the workings of the HTTP protocol. Using Ajax, you have much more control over HTTP than with classic web app development.
HTTP is a stateless request-response protocol.
Not all Microsoft browsers rely on ActiveX.
IE7 provides a native JavaScript XHR, so we check for that first.
99% of the time, you'll only need GET and POST. Many other verbs are used by WebDAV, Subversion over HTTP, and other niche applications, but not all web servers will understand them.
If you're using the increasingly popular REST approach to web services, the HTTP verb is used to indicate the type of operation being performed. The most commonly used HTTP verbs in REST map onto the CRUD (create, read, update, delete) approach:
Setting the right mime type for your request and response is good manners it's also vital to get the app to behave correctly!
We've assigned a callback handler function to our XHR object. This function will get called several times as the response comes in. Typically, we only want to parse the response once it has fully arrived, i.e. the readyState is complete.
xhr.onreadystatechange=function(){ if (xhr.readyState==4){ if (xhr.status==200){ parseResponse(xhr); }else{ //handle the HTTP error... } }; };
So, what might the parseResponse() method look like? We have a lot of freedom in the types of response we send. Let's look at some of the common ones.
The server can send pre-assembled HTML content, which we just stitch into the web page.
JSON is a simple text-markup that's extremely easy for JavaScript to digest! It doesn't come so naturally to server-side languages, but there are JSON libraries for most servers these days'see. Most Ajax libraries now provide support for JSON.
XML is a more natural fit for most server technologies. XHR supports XML by giving us the responseXML property, but parsing this using the DOM is hard work.
Some browsers also support XPath as a more pleasant way to parse XML. Sarissa and mozXPath.js both provide cross-browser XPath support.
Another approach to Ajax is to generate scripts on the server, and send them to the client to be evaluated. Care should be taken here to define a suitably high-level API on the client against which the generated script is to run, otherwise tight coupling between server and client code can result.
Some Javascript libraries allow mixing of these dialects of Ajax within a single response. The Prototype Ajax.Updater, for example, can accept a response as HTML, into which <script> tags are embedded. The script will be extracted and evaluated, while the rest of the content is embedded into a target DOM element.
Does Ajax only affect the client-side? Certainly not! Particularly if your server is responding with data rather than HTML fragments, you'll want to refactor to some extent.
Dumb client and thick client above are extremes. In between, there is a thinner (but still intelligent) client, that will suffice in many cases. No single model is right for all cases. Try out these rules of thumb:
Toolkits and frameworks will make your life easier in several ways:
However, it's a jungle out there, with many different types of toolkits on the market. Let's divide them into broad families.
Some toolkits are JavaScript-only, others include a back-end system too. Client-side toolkits will give more flexibility, but may require more work on the server-side too.
JavaScript is a flexible language, and some toolkits are geared towards enhancing the language itself in a variety of ways. Others are more concerned with higher-level issues such as simplifying XHR, or providing drop-in widgets such as trees, tables and drag-and-drop.
We haven't time to show you how to make Ajax calls with all of these toolkits, but let's pick two of the most popular: Prototype and jQuery.
JavaScript is a loosely-typed scripting language with support for object-oriented and functional programming styles. Although it looks like Java and C-family languages, it's quite different under the hood. Here are a few survival tips to get you through your first serious encounter with this language:
Before Ajax, the UI was nearly always delivered as declarative HTML, and the Document Object Model, or DOM, was only used in moderation. With Ajax'especially single-page applications' the DOM can play a much bigger role.
Working with the DOM is a two-stage process:
The DOM standard itself gives us a few basic tools to work with. Enterprising JavaScript library developers have built on top of these to provide a much richer set of functionality.
The id attribute is often too specific'adding one to each element we may need to locate becomes tedious, and clutters the markup. Tag names, on the other hand, are not specific enough to be useful in many cases. The most common solution is to use CSS classes to locate elements. We can make these as specific or general as we need.
DOM elements can be assigned to multiple CSS classes. When finding elements using a selector mechanism, you may use the same CSS classes that determine the look of your page, or you may assign separate marker classes, i.e. CSS classes that have no visual effect on the page.
Again, the DOM standard gives us a basic set of tools to work with, and browser vendors have effectively standardized a few more.
Prototype favors the use of innerHTML to modify the DOM. It enhances this with the Insertion namespace, and, more recently, an insert method on the DOM element class itself.
Prototype provides no support for building DOM elements programmatically, but the Scriptaculous library adds a DOMBuilder object to the mix.
jQuery is based around selecting sets of DOM elements, and it provides methods for manipulating sets of DOM elements in bulk. (These can be used on sets of one element too!) The methods here all operate on a set of DOM nodes returned from a selector.
Both jQuery and Prototype (and its sister Scriptaculous) tend towards a style of UI called Unobtrusive Javascript, in which the content of the page is declared as HTML, and subsequently made interactive. Selectors play an important role in this approach, in locating the elements to which to add behavior. There is an alternative approach to developing Ajax UIs, much more akin to desktop application development, in which the DOM elements are created programmatically by javascript components, which the designer then wires together using layouts and containers. Qooxdoo and Ext2 are both examples of this style of UI development.
In an ideal world, choosing the right framework makes development a breeze, but in practice, you'll need to go under the hood from time to time to figure out what's going on. We recommend the following tools to keep your Ajax development on track.
venkata naveen replied on Thu, 2009/11/26 - 4:25am
Jagadeesh Sangem replied on Mon, 2011/09/19 - 3:03am
Junio Mousull replied on Tue, 2013/04/16 - 12:02am
in response to:
Jagadeesh Sangem
The Essential Spring Configuration Cheat Sheet Spring
Sandi Moss replied on Mon, 2013/07/15 - 7:08pm
in response to:
Junio Mousull
I really have enjoyed this great article. This was really very educational and interesting to read. Thomas Sears
Sandy Jefferson replied on Sun, 2013/08/18 - 9:43pm
in response to:
venkata naveen
This was such a great and fun article to read. I have enjoyed reading this so much. This was really great to read.
James Wilson replied on Mon, 2013/09/02 - 11:06am
in response to:
Sandy Jefferson
Great article. I have really enjoyed reading this so much. I have learned so much from this site. This has been very interesting to say the least. head injury compensation
Teraru Tama Teraru replied on Fri, 2013/09/13 - 2:10pm
in response to:
James Wilson
cara menurunkan berat badan
cara mengecilkan lengan
cara mengecilkan perut buncit
Kevin Walker replied on Sat, 2013/10/19 - 10:32pm
in response to:
Teraru Tama Teraru
Welcome. Feel free to talk about whatever you want.
Jogos de Sinuca
Suelynn Warner replied on Tue, 2014/02/25 - 4:08am
in response to:
Kevin Walker
Your blog is very good. It was very well authored and easy to understand. Unlike additional blogs I have read which are really not good. I also found your posts very interesting.
Cory Monteith replied on Thu, 2014/09/18 - 10:15am
in response to:
venkata naveen
What kind of problem are you having ?
Cory Monteith
Jams Jammy replied on Tue, 2014/10/14 - 9:56am
in response to:
venkata naveen
I hope to see great articles here in the future too so keep it up and good luck to all of you! six degree flow review
Jams Jammy replied on Fri, 2014/11/07 - 8:43am
in response to:
Jams Jammy
I am excited to see a printing business still operating and growing, great job. drug rehab Missouri
Jams Jammy replied on Sat, 2014/11/08 - 7:16am
in response to:
Jams Jammy
The time to read on past the first paragraph. You’ve got so much to say, so much to offer. I hope people realize this and look into your page. cell phone spy app
Jams Jammy replied on Wed, 2014/11/12 - 7:19am
in response to:
Jams Jammy
So much to say, so much to offer. I hope people realize this and look into your page. Ungagged | http://refcardz.dzone.com/refcardz/getting-started-ajax?oid=list2232 | CC-MAIN-2014-49 | refinedweb | 1,612 | 63.9 |
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/stab.h>
#include <mach-o/reloc.h>
The object files produced by the assembler and link editor are in Mach-
O (Mach object) file format. The file name a.out is the default output
file name of the assembler as(1) and the link editor ld(1) The format
of the object file however is not 4.3BSD a.out format as the name sug-
gests, but rather Mach-O format. The link editor will make a.out exe-
cutable if the resulting format is an executable type and there were no
errors and no unresolved external references. reloca-
tion entries. seg-
ment and all the segment headers are created and the segments them-
selves are padded out to the segment alignment (typically the target
pagesize). For the object file type produced by an assembler (or by
the link editor for further linking) all the sections are placed in one
segment for compactness.
When the kernel executes a Mach-O file it maps in the object file's
segments, the dynamic link editor (if used) and creates the thread(s)
for execution. Any part of the object file that is not part of a seg-
ment is not mapped in for execution. For executable using the dynamic
link editor the headers and other link edit information is needed to
execute the file. These parts include the relocation entries, the sym-
bol table and the string table. These parts are mapped in with the use
of the link editor's -seglinkedit option which creates a segment that
contains these parts. These parts can be stripped down with the -S
option to ld(1) or various options to strip(1).
as(1), ld(1), nm(1), gdb(1), stab(5), strip(1)
Apple Computer, Inc. October 22, 2001 MACH-O(5) | http://www.syzdek.net/~syzdek/docs/man/.shtml/man5/a.out.5.html | crawl-003 | refinedweb | 312 | 65.73 |
1, Passing 'G'-i FORECAST: 87 Partly cloudy t_:p, Isolated showers 70 in the afternoon PAGE 4A OCTOBER 1, 2007 brch: Packers signal-caller No. 1 in recorbooks /1B '. I IU T R U.:S C 0 U NTY = f =., ... _: ,;: Developer springs request on agency Sweet and costly A Sri Lankan hotel offers a $14,500 dessert, calling it the world's most expensive - gemstone included./Page 8A STATE LEGISLATURE: Budget cuts Public schools, state universi- ties, community colleges, courts, hospitals, nursing homes, prisons, libraries and dozens of other programs are on the chopping block to . varying degrees./Page 3A FALL TV PREMIERES: New season t.,Learrn atbo'ut the rnew sh.ws premiering this weel, on rietwork televiiic.n. Page 9A :,' ARREST IN HOMOSASSA: Arson case An 18-year-old man faces charges of felony arson from an Aug. 30 fire./Page 3A BETWEEN THE LINES: Bucs batter rival Tampa Bay shuts down quarterback David Carr, wide receiver Steve Smith and Panthers to take NFC South lead./Page 1B1 OPINION: Some of you guys are jerks. A.. i ". 12A. WHAT'S N EW? Web redesign The C 3m,: s redesigned Web site launches today. To com- ment, e-mail webadmin@ chronicleonline. com. Please include "New Web site" in the subject line. Readers can also call 563-5655. WEEKEND BATTLES, More deaths U.S. and Iraqi forces killed more than 60 insurgent and militia fighters in intense bat. tIes./Page 14A COMING UP: BRIAN LaPETER/Chronicle The owner of this property at Three Sisters Springs In Crystal River has applied for a permit to withdraw up to 224,000 gallons a day from Lake Lynda, the large body of water in the center of the property. Lake Lynda is connected to Three Sisters Springs. Swiftmud is reviewing the permit. Property owner files permit to pump water daily out of Lake Lynda MIKE WRIGHT mwright@chronicleonline.com / Chronicle In 2001, the regional water regulatory agency issued a company permission to make daily withdraws from Three Sisters Spring to bottle water. That permit sat on a shelf for five years before it expired in July It didn't kill the project, though. In that time, the property changed hands, and the new owner submitted a - new permit application, asking to draw more than twice as much water per day. The Southwest Florida Water Management District is reviewing the application from Three Sisters Holdings LLC. The 2001 permit allowed for average withdraws of 100,000 gallons of water per day from the spring, with a maxi- mum amount of 144,000 gallons per day for the first year. It allowed the Three Sisters Springs Water Co. of Miami Lakes to increase that, taking by 17 per- Flowers' application with the water management agency ... is to take up to 224,000 gallons per day from that lake. cent each year. Principal owner Harry "Hal" Flowers bought the 54-acre property at Three Sisters Spring from Harvey Goodman in 2005 for $10.5 million. Flowers has proposed a residential development of 69 single-family homes and 240 multi-family units on the prop- erty. The Crystal River City Council gave preliminary approval to the plan in May. The property is connected to Three Sisters Spring and surrounds a water body known as Lake Lynda. Flowers' application with the water management agency, known as Swiftmud, is to take up to 224,000 gal- lons per day from that lake, instead of. directly from the spring. A company would transfer that water offsite for bot- tling, Swiftmud spokeswoman Robyn Hanke said. Crystal River officials are monitoring the application, but are not part of the formal review, City Manager Andy Houston said. The Kings Bay Association has taken a keen interest in the application. Its president, Norman Hopkins, has sent several correspondences to Swiftmud officials urging that the permit applica- tion be denied because of potential damage to water quality and impacts on the manatee. Swiftmud is coordinating its review with the Florida Fish and Wildlife Conservation Commission to address manatee issues, Hanke said. She said it might be several months before a decision is reached about whether to approve the permit Local Realtor at home, helping out Keller Williams'Rector gzve regional award BRAD BAUTISTA bbautista@chronicleonline.com Chronicle Sometimes it takes a loss to highlight the importance of giving. Debbie Rector lost her father Rector, a Realtor at Keller Williams in Inverness, was watching well-wishers pay her departed dad their respects for a lifetime of goodwill when she had a revelation: At her funeral, she did- i n't want to be remembered merely . as a successful Realtor i That was six years ago. Since then, she's rededicated her- NSK self to altruism. Her efforts haven't gone unnoticed; in July, she was De bestowed Keller Williams' highest Re honor, the Regional Cultural Icon award. Rector's father died under Hospice care at his home in Massachusetts. She could have come back to Florida and made out a check to the -local hos- pice, but that would have been too easy. She began volunteering with the Hospice of Citrus County in 2001 and has since spent time on the Hospice's board, its finance com- mittee and working on fundraisers, such as wine tasting and the Night ctie of the Heron. The latter Rector not only donates to and solicits for - she always buys a table and donates a case of wine but also decorates for and Please see REALTOR/Page 1OA Lawyer feared dead Cummins never resurfaced from dive in gulf CRUSTY LOFTIS cloftis@chronicleonline.com Chronicle Authorities spent Sunday afternoon and evening search- ing for a well-known Inverness attorney who disappeared during a diving trip in Homosassa. By 10 p.m. Sunday, James Cummins, 40, of Inverness, was still miss- Jim ing, according C s to the U.S. Coast Guard. Authorities received a call about a missing diver at about 2:30 p.n. when two men said that Cummins had Please see ,. .': '.i/Page All Judge's docket, loaded multiple trials in court today TERRY WITT terrywitt@chronicleonline.com Chronicle Circuit Judge Ric Howard will arrive in court Monday facing the prospect of nine felony criminal trials if all the defendants on the docket want a jury to hear their case. The possibility is daunting. If nine trials were ordered, the state attor- ney's office would have no choice but to try each case during the course of a cou- ple of weeks. Multiple jud- ges would be Ric Howard needed. says Saturday Citrus Coun- court always ty has only one an option. felony court judge Howard. The county's population is growing and local law enforce- ment officers are making more arrests. They are presenting more cases for prosecution. Howard's workload is growing. Howard said he has never Please see JUDGE'S/Page 5A The new black One guess about the hot new color for fall don't hold your breath, or you might resemble it/Tuesday Annie's Mailbox ........ 7B Com ics ............ 8B Crossword ............ 7B Editorial .. . . . 12A Entertainment ......... 6B Horoscope ........... 7B Lottery Payouts ........ 6B Movies. ........ 8B Obitu ries . . . . 6A Weird Wire . .. ... 8A Two Sections 6 51111111 I Tens of hundreds expected to pedal in annual bike ride Event Sunday at Rails to Trails i MIKE ARNOLD marnold@chronicleonline.com Chronicle Young or old, near or far, hundreds show up each year to ride in the annual Rails to Trails bike ride. "The Withlacoochee State Trail has been written up a whole bunch in different maga- zines," said ride organizer Al Harnage, who added the trail's layout and scenery combine to draw riders. "It's mostly paved, flat and pretty straight. And, you can see gobs and gobs of 0 WHAT: 13th Annual Rails to Trails Bike Ride. 0 WHEN: 7 a.m. Sunday. WHERE: North Apopka Avenue Trailhead, Inverness. INFO: railstotrailsonline. corn or Suncoast Bicycles Plus Inc., 322 N. Pine Ave., Inverness. I CALL: 726-2251 or 344- 1640. COST: $20. stuff, including all kinds of ani- mals. Someone saw a black bear near Croom about two weeks ago." Last year, 1,513 signed up for the ride and Harnage says they expect 1,600 riders this year based on the amount of entries they have already received. This year's entries include riders from Germany, Hawaii and Key West, while Harnage said at least seven different states will be represented in the ride. '"A lot of people plan their vacations around this ride," Harnage said. Harnage and four others have been planning this ride since March and he said it takes 65 to 70 volunteers the day of the event to coordinate everything. This is the ride's 13th year and Harnage, who has been organizing the event with his wife for the past seven years, Please see PEDAL/Page 5A WALT CARLSON/Chronicle file Two riders on recumbent bikes participate in last year's Rails to Trails bike ride. Organizers expect 1,600 riders to attend this year's event Sunday. /'~, 2A MONDAY~ OcIoBnu 1. 2007 LOCAL CITRUS COUNTY (FL) ~JHRONIGLE Women seek healthier lives KERI LYNN MCHALE kmchale@ chronicleonline.com Chronicle Those blessed with the double X, this one's for you. On Saturday, women from all over the county, the young, the old and those in between, ven- tured from booth to booth through the halls of Withla- coochee Technical Institute in Inverness. There they found health information, pamphlets and prizes, games and give- aways, at the first Citrus County Chamber of Commerce Business Women's Alliance Women's Health and Fitness Expo, presented by Seven Rivers Medical Center. Women showed up in droves, with girlfriends, husbands and children to gain insight into liv- ing longer, healthier and happi- er. During scheduled presenta- tions throughout the expo, vari- ous local doctors offered expert advice about women's health and wellness. From 9 a.m. to 2 p.m., vendors provided services and samples. :Representatives from gyms, nat- ural food stores, cosmetic corpo- rations, vitamin shops, hospi- tals, weight loss centers, mental health clinics, health and rehab centers and doctors' offices, from gynecology to chiroprac- tics, set up tables. There was something for everyone from information about organic food and green products to medications and vaccinations. Some vendors catered to alternative medicine; others featured latest advances in medical technology and the pharmaceutical industry. All areas of health were covered from nutrition to self defense and body image, even financial planning and health insurance. The various people repre- senting the health industry dished many helpful hints for women. Each vendor at each table offered his or her own take on what women should do to maintain healthy lifestyles; their words for women were derived from their areas of expertise. Nutrition comes first, Dee Worden, owner of a home- based business associated the FreeLife Himalayan Goji Juice, said. She passed out samples of an antioxidant, vitamin-filled, berry juice. Across from her table, local representatives of Weight Watchers International Inc. shared their real-life weight loss stories. They NUMBERS TO KNOW "Know your numbers like you,know your dress size" What your numbers should, be to stay healthy, according to Citrus Memorial Health System's Women's Heart Program: Blood Pressure Systolic: Less than 120 P Diastolic: Less than 80 Total Cholesterol P Less than 200 LDL (bad) Cholesterol Less than 100 HDL (good) Cholesterol 0 Less than 50 Triglycerides Less than 150 Fasting Blood Sugar I Less than 100 Body Mass Index (BMI) I Between 18.5 and 25 Waist Size P Less than 35 inches encouraged women to work hard to obtain healthier weights and lifestyles. "Women need to make them- selves a priority and they don't," Sue Burrell, Weight Watchers group leader, said. Meanwhile, Dianne McDonald-Graber, a cardiovas- cular nurse practitioner for Citrus Memorial Health System, said women must be proactive about their health and learn about their family history Being proactive also means scheduling exams, especially gynecology exams, such as annual mammograms and pap tests. "If you're a cancer survivor, have a PET scan once each year, no matter how long it is, whether it's 10 years or 25," PET/CT Services of Florida Marketing Director Jennifer Chapman said. Exams outside of the doctors' offices are just as important Many nurses and doctors emphasized women's need to perform self-breast exams. It's a simple exam that women can perform on their own in the pri- vacy of their own homes, any- time. "You can catch breast cancer early enough to save your life," Seven Rivers Regional Medical Center Supervisor of mammog- raphy and ultrasounds Barbara Guthridge saidl. Other preventative actions suggested by the vendors were reading product labels to avoid chemicals, eating organic foods and taking vitamin and mineral supplements. Being proactive also means financially preparing for the future. Cathy Mejia, independ- ent insurance agent for Perfect Planning LLC, stressed the importance of acquiring long- term health plans and insur- ance policies. Still, physically and finan- cially preparing are only two aspects of healthy living. Being active and following a diet will take you only so far, Dr. David W Powers said. A positive atti- tude toward life is essential, he added. Vendors representing the mental health field agreed with Powers. The Centers Develop- ment Coordinator Meghan Shay encouraged women to alter their definitions of "being healthy" to include mental health. "It's OK to check up on your mental health," Shay said. Mental health is such a big fac- tor in women's overall health, she added. Women balance many re- sponsibilities as prominent people in their work places and the heart of their families. Because they are leaders and caretakers, straddling many worlds at the same time, they often put themselves last "I think women need to take at least 15 minutes for them- WALTER CARLSON/Fpr the Chronicle The Women's Health and Fitness Expo 2007 was Saturday at the Withlachoochee Technical Institute in Inverness. The event was put on by the Citrus County Chamber of Commerce Business Women's Alliance. Christen Haffkoss, left, gives Paula Plaster a massage as Dr. Cheryl McFarland-Bryant, right, of Better Health Chiropractic, describes what Haffkoss is doing. selves every day," said Pamla Bennett Teloh, licensed psy- chotherapist and personal life coach. She recommends women schedule time for them- selves to do something person- ally fulfilling. Debbie Brown, certified Rape Aggression Defense instructor, suggests women take time to enroll in self-defense classes. There they could learn safety, physical defense tech- niques, escape strategies and most importantly, realize their personal power. Women should know what to do in situations instead of panicking, Brown said. Then, they could avoid being overtaken and facing injury or death. Through advice from experts and those in the health indus- try the essential element women must have to live a healthy life was revealed; edu- cation is the key to opening the door to a healthier life. "People judge health based on pain and symptoms," local chiropractor Erik Roach said. "People think they're healthy when they're really not" iS t s.. -.." .- ." .. .-', .... ope.; or ever 'mat, . *. PAINTS Johnson's Paints AARP" MedicareComplete' provided through SecureHorizons is the only Medicare Advantage plan with the AARP name, and you don't have to be a member of AARP to join. It provides you more benefits than Original Medicare including: plans starting with a $0 monthly health plan premium*, Part D coverage for more than 1,400 brand name and generic prescription drugs, and 60,000 plus network pharmacies that accept our Medicare drug plans. Come learn about your Medicare options at a FREE community meeting provided by SecureHorizons health plans. October 3, 10, 17 & 24, 2007 9:30 a.m. Gabby's Restaurant Crystal River Mall Crystal River, FL October 4, 11, 18 & 25, 2007 2:30 p.m. Oyster's Seafood 606 NE U.S. Hwy. 19 Crystal River,; FL October 3, 17 & 24, 2007 10 a.m. Misty River Seafood 4135 S. Suncoast Hwy. Homosassa, FL October 5, 12, 19 & 26, 2007 9:30 a.m. Applebee's 1901 W. Main St. Inverness, FL October 4, 11, 18 & 25, 2007 '9:30 a.m. Applebee's 1901 W. Main St. Inverness, FL October 31, 2007 9:30 a.m. Gabby's Restaurant Crystal River Mall Crystal River, FL October 4, 11, 18 & 25, 2007 2p.m. The Front Porch Restaurant 12039 N. Florida Ave. Dunnellon, FL ~~rr~' MS BRUSHLESS CAR WASH Full Service Car Wash & Self Service Bays Available Detailing Available! er ~r TUESDAY ONLY I 4 LADIES' DAY I 15% OFFI Not Valid W/Any Other Coupons V Expires 10130107 I WEDNESDAY ONLY I I GENTLEMEN'S DAY I Si5 %OFF Not Valid W/Any Other Coupons Expires 10/31/07 '<-?? r ^--- 750 SE US Hwy. 19 Crystal River 79S.WASH BLINDS WE'LL MEET OR BEAT ANY COMPETITORS PRICE* The Savings Are Yours Because The Factory Is Ours! FAST DELIVERY PROFESSIONAL STAFF M00URULFND FACTORY Fs 'iREE ^www 72-how i ililirs corn F FREE "" S InHome Consulting S: Installation LECANTO N TRUEfPS PLAZA 1657 W GUI F TOLAKE Hv, 527-0012 . .. .. . .. . '_,=_ : ,:,., ,:, TOLL FREE 0a? 7j Ol Call SecureHorizons health plans today to reserve your place or receive a FREE information packet. A sales representative will be present with information and applications. For accommodations of .persons with special needs, call SecureHorizons at 1-866-719-7409,TTY/TDD 1-866-832-8671. 8 a.m. 8 p.m. local time, any day of the week Full Line Of Porter Paint Products Computerized Color Matching Family Owned And Operated For 17 Years Easy To Get To/With Great Parking Service With A Smile "Like It Used To Be" Wee 7a&ke P ide I gn Oer Wor ai4 d O tem un Come visit us at 1031 E. Norvell Bryant Hwy. in the Alescis Plaza. Open Mon.- Fri. 7:00 4:00 Sat. 8:00 12:00 726-6230 if m I Claus CouNTY (FL) CHRONICLE 2AMONDAY, OCTOBER 1, 2007 LOCAL 3A M PN VA Y OcToBER t, 2007 www ahrottlcleonfine corn Around rHE STATE Bayport Coast Guard searches for missing boat captain The Coast Guard used heli- 'copters Sunday to search for a boat captain who disappeared from a 46-foot pleasure craft in the Gulf of Mexico. The Coast Guard said Lindsay Forde was reported missing Saturday by vessel owner Michael Swindle about 75 miles west of Bayport. Swindle said he went below deck and, when he went topside again, Forde had disappeared. The Coast Guard said the 48- year-old Forde, of Fort Lauder- dale, was not wearing a life jacket. Conditions in the search area are challenging, with 6-to- 8-foot seas, 25 mph winds and scattered thunderstorms. Tampa Teen hospitalized after kitesurfing accident A 16-year-old boy was in seri- ous condition Sunday after fall- ing 20 to 30 feet while kitesurf- ing on Florida's Gulf Coast. Police said a gust of wind pulled Christopher Bryan Kenny from the water and into power lines. The Clearwater boy was con- scious but disoriented after Saturday's fall. He is being treat- ed at St. Joseph's Hospital in Tampa. Fort Lauderdale Boat captains uneasy after crew disappears The mysterious disappear- ance be- cause evi- dence in what is being investi- gated as a quadruple slaying. The Coast Guard suspended its search Thursday for captain Jake Branam, 27; his wife Kelley Branam, 30; his half brother, Scott Campbell, 30; and Samuel Kairy, 27, all of Miami Beach. Lotto Florida Lotto rolls over; jackpot to be $10 million No ticket matched all six Florida Lotto numbers, produc- ing an estimated $10 million jackpot for the next drawing, lottery offi- W cials said Sunday. A total of 82 tick- ets matched five ,Sly- numbers to win $4,816.50 each; 4,663 tickets matched four numbers for $68.50 each; and 93,716 tickets matched three numbers for $4.50 each. The winning Florida Lotto numbers selected Saturday: 11- 17-26-29-47-48. From wire reports aw - - -. .a *. I -40 - b. - a S - -~ 0~ - - 'No one thinks this - = - - S - big' -- ,"Copyrighted Material Synd iicated Conitennt Available from Commercial News.Providers" - new-clm dlw-40- - - - -.a ~ -- - - - - a.. a - - ~ = - -. - a - a a . m - 0 e - a - -a a- - - - a . -qp w4 wt MNMa -- * - -a.- -- *-- a -- a - - - a ~.- a. * - Dream Society plans -9 vA n- I T" 1 _/ fundraising yard sale Uici U aLvvaI.-Ivliai mL Incident was in Homosassa CRISTY LOFTS, cloftis@chronicleonline.com Chronicle After using jumper cables and boat batteries to create a fire, one Wal-Mart patron faces a criminal charge. Donovan David Coulter, 18, was arrested Wednesday and charged with felony arson by the Citrus County Sheriff's Office. The arrest relates to an inci- dent about a month ago, on Aug. 30 at the Homosassa Wal- Mart. The store on U.S. 19 was evacuated after people smelled an electrical smell and saw smoke. Someone had fash- ioned a jumper cable and bicy- cle accessories to boat batter- ies, which caused a small fire on a display shelf, according to an arrest report. The State Fire Marshall's Office was called to investigate. Deputies went to Coulter's house Wednesday about the incident. Coulter said after he hooked everything up he walked away because nothing happened. On the way to the Citrus County Detention Facility, Coulter told the deputy that he didn't realize he would get caught. As of Sunday after- noon, Coulter was still in jail. The Dream Society, a nonprofit organization assisting those with physical challenges, plans a yard sale to benefit its programs. It will be from 7 a.m. until 2 p.m. Oct. 12 to 14, at 4002 E. Beck St., Inverness. For information, contact the Dream Society at 400-4967 or info@thedreamsociety.org. Fasano announces Legislative contest State Sen. Mike Fasano announces the start of his 14th annual legislative essay contest. Fasano will appoint two high school students to serve for one week each in Tallahassee during the 2008 session of the Florida Legislature as a Page in the Florida Senate. Students between the ages of 15 and 18 in public, private or home school programs are eligible to participate in the contest. Students who wish to enter must submit an essay of at least 100 words answering the question: "With Florida facing reduced rev- enues and sub- sequent reduc- tions in services, what budget pri- orities should the Sen. Mike Fasano R-New Port Richey. legislature look at when balancing the state budget now and in the future?" All entries must be received by Fasano's district office no later than 5 p.m. Friday, Nov. 9, at 8217 Massachusetts Ave., New Port Richey, FL 34653 or via fax (727) 841-4453. To enter or for more information, call Greg Giordano at (727) 848-5885 or (800) 948-5885. PR group's state president to speak Citrus County's Nature Coast Chapter of The Florida Public Relations Association will host state President Suzanne A. Sparling at noon Friday at the Citrus Hill Country Club. Sparling is an accredited public relations professional with more than 15 years experience as a noted speaker. She has extensive knowledge in project management, marketing, media relations, fundraising, writing and event coor- dination for nonprofit organizations.; The Nature Coast Chapter began in 1986 and currently meets the first Friday of each month at The Citrus Hills Country Club. Cost: is $15 for members and $18 for guests. Meetings begin at 11:45 a.m. For information, check. From staff reportW -i N I I l~~j~7 ., 1* A,' '*/ CH RO MNi CLE 11-111KLI! t I - 1-1 M k p L'N A v- 5 IM C"'ITRDISI C OUN I K J T V ^ fti ,ap d1w 40 . . - - - - 8 Cmin.hi BRIEFS CITRUS COUNTY (FL) CHRONICLE '4A MONDAY, OcTOBER 1, 2007 Citrus County Sheriff Domestic battery arrests David Allan Daugherty, 29, Beverly Hills, at 11:42 p.m. Sept. 24 on a domestic battery charge. A 28- year-old woman said Daugherty was trying to take money from her wallet. She also said he hit her in her side with his elbow. Daugherty told a deputy that he wanted his money from the woman and later.ran away to avoid a physical confrontation. No bond. Vera Liukko, 55, Hernando, at 2:01 a.m. Tuesday on a domestic battery charge. Scott Alan Myers, 48, Hernando, was also arrested during the incident on charges of possession of more than 20 grams of marijuana and possession of drug paraphernalia. Myers said he and Liukko were arguing when she got a broom, broke the glass in the front door and then came at him trying to hit him. The man said he grabbed her arms to stop her, but she scratched him. The man also said Liukko hit him in the lip. The deputy noted both of them were intoxicated. While a deputy was interviewing Myers at the house in reference to domestic battery, he saw a pipe commonly used to smoke marijuana on the living room table and marijua- na in an astray by the couch. Myers also had a bag of marijuana in his boxer shorts. Myers bond was $5,500. Liukko was being held with no bond. DUI arrest Shanna K. Swesey, 22, 4531 E. Shorewood Drive, Hernando, at 5:27 a.m. Friday on Citrus County warrant charges of possession of marijuana and driving under the influence with property damage. Bond $2,500. Other arrests Robert Allen Hughes Jr., 35, 8344 S.W. 146th Place, Dunnellon, at 7:48 p.m. Sept. 19 on a battery charge. A 33-year-old man said he and Hughes were arguing when things got physical and Hughes punched him several times and grabbed him, causing him to fall. Hughes told a deputy about the For the RECORD ON THE NET * For more information about arrests made by the Citrus County Sheriff's Office, go to and click on the link to Public Information, then Arrest Reports. fight, "That is what brothers do." No bond. Rose Mary Woods, 49,12466 N. Water Way, Dunnellon, at 3:07 a.m. Sept. 21 on a charge of driving with a suspended/revoked license. Bond $500. Thomas David Grossbauer, 19, 2970 E. Porter St., Inverness, at 12:02 a.m. Tuesday on charges of possession of 20 grams or less of marijuana and possession of drug paraphernalia. A deputy arrived at East Lee Drive and Ogden Street after a complaint of four people with a baby stroller sitting on top of a vehicle blocking the roadway. One of the four was arrested immediate- ly after disposing of a pipe. When the deputy patted, down the other three, Grossbauer told the deputy he had a bag of marijuana and rolling papers. A 2-month-old baby was in the stroller, which the mother, who was there, took into custody. The Department of Children and Families was contacted about the incident. Bond $1,000. Dalan P. Lafave, 18, 4287 S. Markan Terrace, Homosassa, and Josef G. Ridenour, 19, 5784 S. Pinetree Point, Lecanto, Wednesday, on charges of burglary of a business and grand theft. Lafave and Ridenour were found in a swampy area near Nature Coast Motor Sports. Deputies said the two tried to steal two ATVs from the busi- ness. A sheriff deputy's dog search- ing for Ridenour bit him, resulting in the man being taken to Seven Rivers Regional Medical Center for treatment. Sarah Lynn Davis, 18, 8250 W. Vincent Lane, Crystal River, was charged with principal in the first degree to commercial bur- glary and grand theft. She said she drove the two men to Nature Coast, but didn't know what they were up to. Lafave and Ridenour said she did know. Lafave and Ridenour's bond was set at $10,000. Davis's bond was set at $3,000. Wayne L. Washer, 40, 7271 W. Nadal Drive, Crystal River, at 11:30 a.m. Wednesday on a charge of trespassing after a warning. Bond $500. Jennifer Lynn Hinson, 40, 6837 W. Arter St., Crystal River, at 3:10 p.m. Wednesday on a violation of probation charge in reference to. an original charge of felony grand theft. Cocaine was found in her sys- tem during a urine test. No bond. Jerry Warren Arnold, 42, 1075 N. Suncoast Blvd. Lot 31, Crystal River, and Francis Wayne Arnold, 48, 6815 C Rich St., Crystal River, at about 3:10 p.m. Wednesday on charges of burglary of a business, grand theft and criminal mischief. Deputies said the two men took lawn mowers from Citrus Equipment and Repair after cutting a chain link fence. The deputies found the men by following drag marks left on the ground. Two of the mowers were found partially covered by a tarp on Jerry Arnold's property. Bond $6,000 each. Reginal Jamaryl Murphy, 21, 11 Holly Road, Ocala, at 8:56 p.m. Wednesday on a Citrus County war- rant charge for failure to appear in reference to a felony drugs/narcotics charge and driving with a suspend- ed/revoked license. Murphy was also charged with violation of proba- tion in reference to an original pos- session of marijuana charge. No bond. Chad Irving Knott, 26, 2511 Luther Road, Punta Gorda, at 2:50 a.m. Thursday on a charge of pos- session of 20 grams or less of mari- juana and possession of drug para- phernalia. Bond $1,000. Michael W. Petellat II, 40, 14 Schifflera Court, Homosassa, at 7:38 a.m. Thursday on a charge of failing to register as a sexual offend- er. Petellat was supposed to re-reg- ister in August, but said he forgot. Bond $20,000. Joseph Michael Deshazo, 38, 5775 S. Rovan Point, Lecanto, at 12:30 p.m. Thursday on a Citrus County warrant charge of failing to register as a sexual offender. Deshazo was arrested at the Hernando County jail, where he was incarcerated on an unrelated charge. Bond $20,000. Denise Nicole Rowe, 18, 707 Constitution Blvd., Inverness, at 2:39 p.m. Thursday on a Citrus County warrant charges of failure to appear in reference to an original felony charge of organized fraud and violation of probation in refer- ence to an original charge of pos- session of alcohol by a person younger than 21. No bond. David Michael Baker, 28, 8151 W. Miss Maggie Drive, Homosassa, at 11:07 p.m. Thursday on charges of driving without a license, altering a license plate stick- er and having an attached tag not assigned. Bond $450. Amanda Piccola, 18, 915 Furman Terrace, Inverness, at 12:10 a.m. Friday on a charge of posses- sion of 20 grams or less of marijua- na. Bond $500. Anthony P. Rodda, 20, Lake Front Drive, Hernando, at 12:10 a.m. Friday on a charge of posses- sion of 20 grams or less of marijua- na. Bond $500. Ryan Scott Girdvainis, 18, 5756 S. Garfield Way, Homosassa, at 12 p.m. Friday on a charge of bur- glary of a vehicle. Awoman said she found Girdvainis inside her car. Bond $1,000. I Sean Matthew Reedy, 48, 8968 W. Sugar Bush Point, Homosassa, at 3:34 p.m. Friday on charges of trespassing after a warn- ing and carrying a concealed weapon. A Childhood Development Services official said Reedy had been trespassed from the property, but came anyway. When a deputy caught up with Reedy he had a backpack with clothes in it with a knife at the bottom of the pack. Bond $1,000. - - - -- Copyrighted Material "- Syndicated Content Available from Commercial News Providers - _ 4m * ~ d -dip - * * * 0 * 0 0 * 0 0 a- -- ~, - -a ~- * - a - ~ - * * FORGET TO PUBUCIZE? * Submit photos of successful community events to be pub- lished in the Chronicle. Call 563 5660 for details. CITRUS COUNTY WEATHER City H Daytona Bch. 84 Ft. Lauderdale 84 Fort Myers 87 Gainesville 85 Homestead 85 Jacksonville 83 Key West 86 Lakeland 88 Melbourne 84 FLORIDA TEMPERATURES F'cast tstrm tstrm tstrm ptcldy tstrm ptcldy tstrm ptcldy tstrm City Miami Ocala Orlando Pensacola Sarasota Tallahassee Tampa Vero Beach W. Palm Bch. F'cast tstrm ptcldy tstrm sunny ptcldy ptcldy ptcldy tstrm tstrm Northeast winds from 15 to 25 knots with higher gusts. Seas 2 to 4 feet. Bay and inland waters will be quite choppy. Mostly sunny to partly cloudy and windy today. 1- I ne weatner unannel 85 66 - -weatherom THREE DAY OUTLOOK STODAY Exclusive daily forecast by: High: 87 Low: 70 .Windy with sun and clouds. TUESDAY ,, High: 88 Low: 71 Breezy with a 40% chance of showers. WEDNESDAY High: 89 Low: 71 Partly cloudy with a 40% chance of thunderstorms. ALMANAC TEMPERATURE* Sunday Record Normal Mean temp. Departure from mean PRECIPITATION* Sunday Total for the month Total for the year Normal for the year 88/68 94/54 68/87 78 +1 0.00 in. 2.29 in. 36.59 in. 45.35 in. *As of 6 p.m.from Hernando County Airport UV INDEX: 7 0-2 minimal, 3-4 low, 5-6 moder- ate, 7-9 high, 10+ very high -BAROMETRIC PRESSURE Sunday at 3 p.m. 30.12 in. DEW POINT Sunday at 3 p.m. 59 HUMIDITY Sunday at 3 p.m. 40% POLLEN COUNT** Trees were light, grasses were moderate and weeds were absent. **Light only extreme allergic will show symp- toms, moderate most allergic will experience symptoms, heavy all allergic will experience symptoms. AIR QUALITY Sunday was good with pollutants mainly ozone. SOLUNAR TABLES DATE DAY 10/1 MONDAY 10/2 TUESDAY MINOR MAJOR (MORNING) 10:27 4:11 11:33 5:17 MINOR MAJOR (AFTERNOON) 10:58 4:42 -- 5:48 CELESTIAL OUTLOOK ( SUNSET TONIGHT........................7:16 P.M. SUNRISE TOMORROW.....................7:24 A.M. MOONRISE TODAY.....................11:04 P.M. OCT. 2 MOONSET TODAY......................12:53 P.M. 8:34 a/4:39 a 10:45 p/5:53 p 9:19 a/5:17 a -- /6:59 p 6:55 a/2:01 a 9:06 p/3:15 p 7:40 a/2:39 a 10:32 p/4:21 p 4:42 a/1:03 p 6:53 p/-..-- 5:27 a/12:27 a 8:19 p/2:09 p 7:44 a/3:38 a 9:55 p/4:52 p 8:29 a/4:16 a 11:21 p/5:58 p Gulf water temperature 840 Taken at Egmont Key LAKE LEVELS Location Sat. Sun. Full Withlacoochee at Holder 28.79 28.79 35.52 Tsala Apopka-Hernando 34.78 34.78 39.25 Tsala Apopka-Inverness 35.17 35.18 40.60 Tsala Apopka-Floral City 37.38 37.43for any damages arising out of the use of this data. If you have any questions you should contact the Hydrological Data Section at (352) 796-7211. THE NATION - 7 C : y _ Z 1 --......-- --: . .- j Sunday Monday H L Pcp. Fcst H L City Albany 67 45 sunny 74 55 Albuquerque 77 53 tstrm 74 57 Asheville 73 40 sunny 79 48 Atlanta 81 54 sunny 80 61 Atlantic City 77 51 sunny 73 62 Austin 91 72 ptcldy 91 67 Baltimore 78 48 sunny 77 61 Billings 68 35 ptcldy 74 39 Birmingham 82 64 sunny 84 58 Boise 72 42 shwrs 55 41 Boston 63 54 ptcldy 68 56 Buffalo 74 50 ptcldy 76 56 Burlington, VT 66 42 sunny 74 50 Charleston, SC 83 59 sunny 79 69 Charleston, WV 83 43 sunny 81 52 Charlotte 81 51 sunny 80 56 Chicago 83 59 tstrm 70 57 Cincinnati 84 46 .01 ptcldy 76 57 Cleveland 75 51 tstrm 76 59 Columbia, SC 83 47 sunny 82 58 Columbus, OH 80 53 ptcldy 76 56 Concord, N.H. 65 38 sunny 71 49 Dallas 92 73 ptcIdy 93 71 Denver 68 43 .07 ptcldy 80 50 Des Moines 80 60 .16 sunny 74 57 Detroit 75 55 tstrm 70 59 El Paso 90 63 ptcldy 85 67 Evansville, IN 85 52 ptcldy 81 58 Harrisburg 74 47 sunny 76 57 Hartford 71 50 sunny 75 50 Houston 90 74 .76 ptcldy 91 70 Indianapolis 84 54 ptcldy 76 58 Jackson 87 67 sunny 85 62 Las Vegas 80 55 sunny 86 64 Little Rock 89 60 sunny 85 64 Los Angeles 74 59 sunny 74 60 Louisville 85 55 ptcldy 82 60 Memphis 90 67 sunny 86 65 Milwaukee 80 56 shwrs 70 56 Minneapolis 71 621.06 sunny 70 57 Mobile 84 68 sunny 87 65 Montgomery 85 56 sunny 86 58 Nashville 83 55 ptcldy 84 59 KEY TO CONDITIONS: c=cloudy; dr=drizzle; fcfair; h=hazy; pc-partly cloudy; r=raln; rscraln/snow mix; s=sunny; sh-showers; sn=snow; ts=thunderstorms; w=windy. 02007 Weather Central, Madison, Wi. Sunday Monday H L Pcp. Fcst H L New Orleans 85 77 .02 sunny 87 67 New York City 72 56 sunny 73 56 Norfolk 78 65 sunny 74 68 Oklahoma City 88 66 ptcldy 85 65 Omaha 86 63 sunny 76 60 Palm Springs 92 65 sunny 94 64 Philadelphia 77 56 sunny 76 60 Phoenix 98 71 tstrm 85 72 Pittsburgh 75 .44 sunny 79 55 Portland, ME 59 46 ptcldy 63 51 Portland, Ore 55 51 .54 shwrs 61 51 Providence, R.I. 70 51 sunny 72 53 Raleigh 80 48 sunny 81 57 Rapid City 67 47 .01 ptcldy 82 48 Reno 79 35 shwrs 64 38 Rochester, NY 75 47 sunny 78 56 Sacramento 75 42 sunny 73 52 St. Louis 88 60 ptcldy 80 59 St. Ste. Marie 75 57 .02 shwrs 65 54 Salt Lake City 62 36 shwrs 75 40 San Antonio 91 70 ptcldy 90 70 San Diego 75 59 sunny 73 61 San Francisco 72 49 sunny 67 54 Savannah 82 63 sunny 80 68 Seattle 54 501.02 shwrs 59 51 Spokane 52 43 .02 shwrs 58 41 Syracuse 72 44 sunny 75 54 Topeka 85 63 .10 sunny 82 62 Washington 79 55 sunny 79 63 YESTERDAY'S NATIONAL HIGH & LOW HIGH 98 Phoenix, Ariz. LOW 17 Stanley, Idaho WORLD CITIES MONDAY Lisbon CITY H/L/SKY London Acapulco 88/78/ts Madrid Amsterdam 58/47/pc Mexico City Athens 80/63/s Montreal Beijing 75/61/sh Moscow Berlin 66/46/pc Paris Bermuda 86/75/ts Rio Cairo 86/70/s Rome Calgary 54/37/pc Sydney Havana 85/76/ts Tokyo Hong Kong 88/79/ts Toronto Jerusalem 88/68/s Warsaw 79/63/ts 62/44/sh 77/58/ts 75/53/ts 73/45/pc 68/49/pc 69/53/r 77/64/sh 76/55/s 69/44/pc 76/61/ts 75/49/ts 64/43/pc uuii.Anliu i Cannondale Dr ,vI ~~ -lV Mleadow,,crest S..< Blvd "z ]Courthouse To mpkins St. sq re w 41 44 Who's in charge: MARINE OUTLOOK OCT.3 OCT. 11 OCT. 1 F- Nurvell Bryant H%,j,,- - - * o o 4b to CITRus COUNTY (tIL) CHRONicLE JUDGE'S Continued from Page 1A had Saturday court, but he would- n't rule it out if push comes to shove. The more likely possibility today is that one or more of the defendants will offer a plea, elim- inating the need for nine trials. Lanry Allen Keith, who faces nine third-degree felony charges of using the Internet to lure a child, has sent Assistant State Attorney Rich Buxman a letter offering to tender a plea. Buxman has ruled out the pos- sibility of plea bargaining with Keith, who faces a maximum sen- tence of 45 years in state prison if convicted on all nine counts, but Keith could tender an open plea to the court and throw himself at the mercy of Howard, hoping the judge will give him a lighter sen- tence. The fact that nine felony trials are listed on today's trial docket speaks to the rising caseload for Howard and the state prosecutors who handle those felony cases. Howard's felony caseload is approaching 900 and the State Attorney's office has processed 1,200 felony cases through the first nine months of the year "Up until two years ago, it was manageable. Now it's insane," said Assistant State Attorney Paul Norville, who has worked in Citrus County since 1988. He said the state attorney's office in Citrus County is managing its rapidly ris- ing caseload, but take-home work on weekends is almost standard. Weekend work is unpaid. Buxman, who administers the Citrus County office of s ney, said he did get so 'when the state gave hii crimes unit a couple of which added two prosec took some of the worklo main felony prosecutors He now has one prosi juvenile cases, two fc meanors, one special cas cutor, four prosecutors: cases, plus himself Bux dles Internet crime pros Buxman said he hasn' ed what the "breaking point" might be the point at which the caseload would overwhelm his prosecutors - because their job is to handle the cases as best they can, regardless of how many. At some point, Buxman said, if the workload were to become too heavy, as it might result in tI not prosecuting the marginal cases, or per prosecuting a felony little if there was a choice bet and a sexual battery on old child. The sex cr would have a higher pri But Buxman said his not at that point He sa prosecutors work more hours, which is what the; to work, and most, himse ed, take home weekend stay abreast of the caseli Howard isn't asking f4 to split his caseload, bt cerned about the Legisl ting out funds for seni( tate attor- The senior judges can be brought me relief in to relieve his caseload. Howard mI the sex said he uses them only when nec- years ago, essary, but he said it concerns him tutors and that they could be taken off the ad off the payroll. 3. He also is worried that the state ecutor for attorney prosecutors could leave )r misde- for higher salaries elsewhere. ses prose- Buxman said the state attor- for felony ney's office has been asked to cut man han- $650,000 circuit-wide, which is a lecutions. concern. He said 97 percent ofthe t calculat- state attorney's office budget is salaries. If cuts are made, he said the Up until money would have to come from two years employee layoffs or salary reduc- ago, it was tions. Howard has manageable. faced as many as 200 felony crimi- Now it's nal cases on days when he handles insane, motions, pleas, violations of pro- -,-,.. Norville bation and other assistant state attorney about less time-consum- he increase in felony cases, ing matters. He said 154 cases is rhaps not not uncommon. He finds ways to *ring case, deal with the workload, but he ween that sometimes sounds like an auc- a 5-year- tioneer on the bench, asking ques- ime case tions and rattling off facts and fig- ority ures rapid-fire. 3 office is The interesting part today is the id all the uncertainty Neither Buxman, nor than 40 the judge, can predict whether all y are paid nine trials will be ordered, or elfinclud- none. Buxman will prepare for d work to the nine cases as if each were oad. going to trial. br a judge "Most of our time is spent ut is con- preparing for stuffthat never hap- ature cut- pens, but could happen," Buxman or judges. said. MONDAY, OCTOBER 1, 2007 5A PEDAL Continued from Page 1A said it has grown from 650 riders to 1,500. Fifty percent of the riders who participate are 55 to 60 and older Harnage estimates. He said one registered rider is in his 90s. But Harnage added that two Scout troops have registered, includ- ing a troop of 14 from Key Largo. Bicyclists can still sign up for the ride by downloading a copy of the application at railstotrails online.com and mailing it to Rails to Trails of the Withlacoochee, PO. Box 807, Inverness, FL 34451, or by visit- ing Suncoast Bicycles Plus Inc., 322 N. Pine Ave., Inverness. Participants can also register from 7 to 9 a.m. Sunday, the day of the ride. Rails to Trails Of The Withlacoochee is a not-for-profit, charitable organization as quali- fied under section 501 (c) (3) of the Internal Revenue Code. The cost is $20 and a conti- nental breakfast and light lunch are included in the fee. All proceeds go back into the trail for improvements. Harnage said they raised $20,000 last year. The trail is 46 miles long, from Citrus Springs to Dade City. Riders can choose to bike between 14 miles (from the North Apopka Trailhead in Inverness to Floral City and back) and 100 miles (the entire length of the trail and back including an 8-mile loop on the north end). Volunteers will pro- vide maps at the race headquar- ters at the North Apopka Avenue Trailhead. There are five refreshment areas provided along the route. Harnage said the popularity of the ride has had an impact on the local economy. 'All of the local hotels are sold out," Harnage said. "I am having to send riders to the Interstate to get rooms." ww -la k he r. co LcnsdIsre -Lc#RI.2 HURRICANE PROTECTION 'Don't Wait Until It's Too Late" Hurricane Panels Accordion Shutters WinGuard Impact Glass Windows ALL PRODUCTS MEET DADE COUNTY APPROVAL CODES Aluminum, Inc. Hwy. 44, Crystal River 795-9722 1-888-474-2269 ,, 7/ | / / * EFFORTLEsS HURRICANE PROTECTION" MWinGuard 4 IMFACI-SSSTANI WIN)ST L & OOONS PROFESSIONAL INSTALLATION e -.-_:_ - .. .- -.- 1.6a E ," if. ^ '-, ,t9. _ IL ^ I '3. gin EyebrowTnting = Foils \ Waxing Py T. ermsimtml Specialty Acrylic Nails Man' Pedi Perms HEAD% NOW OPEN S563-.1132 e E Nc. -I i t- I P 1921 S. Su -Ost Blvd. SAL i-st HomS3S HAIR & NAILSA N n n"- F i" A f|l I A diner ..nmaking mealtime easier! No More Groceq Shopping! NoMoiwrtie Me ! ,Onl $1per enbe(3 si g) ,Single seing Mio ealo$5 'MnmmS0 Puchse Just East of Terrm Vista on Hwy 486 Heitage Hills Plaxa Pay for your CITRUS COUNT YI The IEZway! Once a month, we will automatically debit your credit card! [ R p-o i-C Le is, m m s P A.: NO MORE V Hassles! It's easy, it's convenient and it's safe! EZ Pay will / Checks! automatically debit your credit card for $6.75 each month. That pays for a FULL YEAR of the Chronicle , and you will never receive another reminder notice Rem hinders! and never have to write another check. V Rem hinders! It'sEZ Just call 563-5655 for details. Copyrighted Material y Syndicated Co ntent Available from Commercial News Providers I S. Obituaries- Rita Bliss, 85 HERNANDO Rita Geraldine Bliss, 85, Hernando, died Saturday, Sept. 29, 2007, in Crystal River. She was born Nov. 7, 1921, in Canton, Ohio, to Leo and Helen Reynolds Burke. She came here from Longmont, Colo., in 1983. She worked on the assem- bly line of a munitions manu- facturing plant during World War II. She enjoyed all types of crafts, could sew anything and was a doll maker. She was a member of North Oak Baptist Church in Citrus Springs where she sang in the choir and taught Sunday school. She married her husband, David W. Bliss, on June 20, 1942. She was preceded in death by her parents; a brother, Denton C. Dodge; and a sister, Marion Grimm. Survivors include her hus- band, David W. Bliss of Hernando; son, David A. "Skip" Bliss of Ocala; daugh- ter, Cheryl A. "Cheri" Welter of Hernando; brother, Ronald E. Dodge of Cedar Rapids, Iowa; sister, Jean F Hughes of Parker, Ariz.; nine grandchil- dren; and seven great-grand- children. Hooper Funeral Homes & Crematory, Beverly Hills chapel. Bryson Lasher, infant HERNANDO Bryson Abram Lasher, infant, Hernando, died Thursday, Sept. 27, 2007, at Citrus Memorial hospital. He was preceded in death by his paternal grandfather, Howard Lasher. Survivors include his par- ents, Matthew and Celina Lasher of Hernando; brother, Brenden Matthew Lasher of Hernando; paternal grand- mother, Brenda Lasher of Ohio; maternal grandfather, John Mayeu of Crystal River; maternal grandmother and step grandfather, Robert and Lorie McCombie of Floral City; paternal great-grandpar- ents, Mary Lou and Wendell Hines and Virginia Johns, all of Ohio; and maternal great- grandparents, Dottie Roberts, Albert Rigor of South Carolina and Juanita Mayeu of New York Chas. E. Davis Funeral Home with Crematory, Inverness Meredith McMullen, 84 FLORAL CITY Meredith Paulette McMullen, 84, Floral City, died Sunday, Sept. 30, 2007, in Floral City. She was born March 23, 1923, in Sallis, Miss., to Redick and Sallie Smith Jenkins. She came here from Durant, Miss., in March 1994. She was a retired book- keeper for a dental practice. She enjoyed her flower gar- den, especially her roses. Mrs. McMullen was a mem- ber of the Floral City United Methodist Church. She was preceded in death by her parents. Survivors include her hus- band, Laurence McMullen of Floral City; son, Ed Paulette of Uppsala, Sweden; daugh- ter, Linda Paulette Allen of Zephyrhills; stepson, Larry McMullen of Tunica, Miss.; six grandchildren; and four great-grandchildren. Those who wish may make memorial donations in Mrs. McMullen's memory to the Hospice of Citrus County, PO. Box 641270, Beverly Hills, FL 34464. Hooper Funeral Homes & Crematory, Inverness chapel. EliLabethl Pellam, 85 DUNNELLON Elizabeth C. Pellam, 85, Dunnellon, died Sunday, Sept. 30, 2007, at home under the care of her family and Hospice of Marion County. She was born July 10, 1922, in Rochester, N.Y. She moved here in 1978 from Rome, N.Y. She was a homemaker and a Jehovah's Witness. She was an avid reader, enjoyed watching television and spent her life in care of her family and enjoyed being at home. She was preceded in death by her husband, Vernon W Pellam, on Jan. 29, 2004. Survivors include her daughter, Kristina E. Hughes of Rainbow Springs; grand- children, Marcus N. Hughes of Otto, N.C., Courtney V Hughes of Rainbow Springs and Brittney L. Hughes of Otto, N.C.; and two great- grandchildren, Zoey of Rainbow Springs and Kaylie of Otto, N.C. Cremation is under the care of Roberts Funeral Home of Dunnellon. Everett Strybing, 87 FLORAL CITY Everett Herman Strybing, 87, Floral City, died Saturday, Sept. 29, 2007, at Citrus Memorial hospital in Inverness. Mr. Strybing was born Feb. 1, 1920, to Henry and Edna (Jones) Strybing in Patchogue, Long Island, N.Y. He moved here in 1974 from Miami. He retired from Air Lift International as an airline pilot and served 15 years in the U.S Marine Corps during World War II and the Korean War. His memberships include the Masonic Lodge No. 133, VFW Post 7122, First United Methodist Church and Methodist Men, all of Floral City. He was also a member of the Retired Officers Association. Survivors include his wife of 63 years, Lucille (Weber) Strybing; daughters, Patricia Guthrie and husband Ned of Floral City, Gail Lombardo and husband Barry of Gainesville, Ga., ,and Joan Kelley and husband Michael of Fountain Hills, Ariz.; three grandchildren; and one great- grandchild. Chas. E. Davis Funeral Home with Crematory, Inverness. Click on- line.com to view archived local obituaries. Funeral NOTICE Rita G. Bliss. The service of remembrance for Rita G. Bliss, 85, Hernando, will be at 2 p.m. Wednesday, Oct. 3, 2007, at the Beverly Hills chapel of Hooper Funeral Homes & Crematory, with the Rev. Stan L. Steward officiating. Interment will be at Oak Ridge Cemetery in Sandwich, Ill. Friends may call from noon to 2 p.m. Wednesday, Oct. 3, 2007, at the Beverly Hills chapel of Hooper Funeral Homes & Crematory. Those who wish may make donations in Mrs. Bliss' mem- ory to the North Oak Baptist Church, 9324 N. Elkham Blvd., Citrus Springs, FL 34433. - w , Nft 41W ft- mm a- qD- a. -ft 4b- a aw 41w a *a dw -a ml a ON -e.-a a m a4= do.- a - dM- -di 41 0 -~ - -9.- a- a ~- - a a-a -- -Ab aowimi in q.- ift 41M .domino -mw 41- .w -mo am a .MD- dong a- --o Ab.oaM40 E apidf - .- -l imm,- .41100 a.- qM al- a.a Q4wfs aiu mm- 04omo Mb4 1 m .~ ~0 o u fmft 41.4 a mo M-a awo i -. o- m-~ -.mm 4w 9'l.- *- - alo - Ovi as, 0 alla lo,-E 41. ..0- allmlll, dl- 4111- a ll 4111 401a - momlo -.41P -alol, allo .al w im-e -l al -a411b -b a Mft * --am *- 4, aa-m, al, b-a dow im, lw olwaM w- .1111w a -moo 40-mo -a. a a ~ -a- a a a a ~ - a. a- - ~ a . -~ a -~ -a a ~- -a. - *. - ch- ma-- - --d-t- -410a-a a. a--a a aa -awu GP a oo -- -a . a low. ---No - a.-oft .daww w w . ~a.- . C48 ab =ft m.dipb - a - Syndicated Content -- - Available from Commercial News Providers" - --w - a .o a an.- a~~~q w .- - -a a. I a a- 4 -- a. - a. .. a. - a. a -- a - a - - -- a-a a- a - a-M - - *~ ~ 0-a - a * a - - - a - - a. - a - - S *- - a- . -0 - - -aa a~ - a. ~ a a -- a -~ * S N o S 4 a a a - - - a a. --a a - - S. -- a -. - C -4. E. Wavia Funeral Home With Crematory Burial Shipping Cremation Member of International Order of the G LDEN For Information and costs, call 726-8323 - *- - a a a ~~ Al. a - a- .-~ 44b 400 1 - -.- - -a a -- a - a -a .- a - GOT A NEWS TIP? M. VACATION TIME! I Better Hearing is 1 u -I Our Business I - i A Hearing Loss Is A Lot More Noticeable --. Than A Hearing Aid. Get jerillyn Clark A Get a Flooring Update Today! Board Certified (2(,,)') a Licensed Hearng Aid Specialist Cash & C W i S lisLs Advanced Family Hearing Aid Center LAMINATE CaSh & CarIheSple 89ep1st "A Unique Approach To Hearing Services" Installed. Moldings & Trim Extra. $599 6-4 W1 i ,- --- InstallediMoldins mEtra Some $l I YOUR*PAPERS T I * LAMINATE FLOORING est * BERBER & PLUSH * 2 YEAR INSTALLATION WAI * AREA RUGS SPECIALISTS N. M -- INC. 9T~ g .Licensed & Insured ;tions may apply Sting al.. s ft installed. IN STOCK ONLY. $1 99 Installed with 6 lb. Pad II Sq.Yd. IRANTY 9- 685 E. Gulf to Lake Hwy., Lecanto (1 Mile West of Lowe's on Hwy. 44) 341-0813 Open Mon-Fri 8 30-5, Sat 9-2 Evenings by app nenti I 6A MONDAY, OCTOBER 1, 2007 CITRUS COUNmI (FL) CHRONICLE 0- dm- a. Q a. -~ 41 - 4. a -.- "Copyrighted Material Citrus County Courier Airport Transportation 726-3931 *M" 0 . - - - - .. . 1b * ^- - - - - qlt F-. &C I I@@& Who will be the next Citrus County 1st Place Winner 52 week subscription to the Chronicle 2nd Place Winner 26 week subscription to the Chronicle 3rd Place Winner 13 week subscription to the Chronicle ;'-A M'IV NO N br Novernbe a deo a p ide Voe 2 Aote' 2 o I i m vi %Al vi n Nit. .fl th a pa eTh -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ t mB^ l Br^^ ^ ^ nIdirl ifAn-- or 51 1 nnds Voting e - -.. Oct. 7, 2007. You can vote as many times as you like! All proceeds go to NIE which helps promote literacy in our local school system. Name I Pet Number C T R U S COU NTY CR C LE- Please Print I # of Votes I Address Phone - U tev ,H) ~a ini i t I? Nono loth the 'si t h mail cher'ck~qtr) Siease ma ll .. li\ctm ./. . Citrus County Chronicle Attn: NIE 1624 N. Meadowcrest Blvd. Crystal River, FL 34429 Make Checks Payable to: NIE/Chronicle ii)i iL - 7046 - MONDAY, OCTOBEI 1, 2007 7A I lb I I A CaRus COUMY(Fl.) CHRONICLE ~YfITPT2 CJJTRUS COUNlY (FL) (jJ.IRONICLE "SA MONIoAY, OcroBIEt 1, 2007 1, _ - - .j do ais an ogpyrigted. Material = SSyndicated Content -- MAW ip O wm- 4m 4w - C - Ava-il eria News Providers" Available from Commercial News Providers - mm -lmmoftop-dap Q- 4 4 1 ER - Wd Amp - low .5 - - -C C C- - * - - a 'C C - C -- C - CS C ~- - - - - S *C - - - C - C C S -C - - Ca - - - -S Ca C- -C C C - C - C * -S C~ C 4w. -dmm C C - C S 4=0-d 40 Affc Majestic, Heirlo 'C MOW AD - 414m-0 -w S C = Cdo=% - C40 don* - now q* C .qw wm Oslo -.400p d -4 )rdable Elegance q loms, Laurel, & Princess Only $499 1, ' Majestic Heirlooms Laurel Princess Ot UP TO $1,200 REBATE -lus 6 months same as cash* *..vhen you purchase any qualifying Trane XLi system between August 30 and October 31. 2007. * Trie re.oluloraor, Trao e CleanEft cis1''1 s he iirsi Cs. ,irci air system thai rerliov es u "p h' 9 198 -- of I.he alierger.s Irom all .:Ihe air al ai I heais or co:ols Ard no.,' Ir-.rC,ogh OcloDer 31 2007 you car. gei a rebaie up lo 11200 w.'her Vou purchase onre Isni' I Ifrie you x.pecied m-ore from your s1slnrr-' Like Two Systems In One... Which Saves You Money! Trane's XLT. is like -o.ing -.'c, systems ir. one O-n mosi ieos 'I runs efficienii, aI io.'/ speed IOr maumrr.urn savings BL'.i .rnen ils eKiremel, hri., ihe ,_nr'l s'.5.cIhes ic Ihe larger compressor 10 pro- Affordable upgrades for your EXISTING entryway in about an hour with an EntryPoint door transformation! Matching Sidelights and Transoms t Schlage locks and hardware Hundreds of design options available through our custom program. Visit our showroom and pick the perfect doorglass for your home! mssshnsu. JOB ENTRYPOINT 'uWYOUR DOOR OUR GLASS Penrry's Custom Gloss & Doors 7 352-726-6125 2780 N. Florida Ave. (Hemando Plaza) a 28429 CfL FL BRI P,6 OUR .ioe e ergre(3l84crniirfcirl 34T1 NIl ERs%~RN T I~~r.: rn ,nri- i nc*?II r nti.~. ni -it Trri rcnln, d ri CURRIERR COOLING & HEATING, INC. ToWEm C ,m>> ( 35-)1 628-4645 1352) 628-7473 1 CAC057N19 -.1=1 111.tfl. 7.11 -" 1 2 11. 11,,,A .. 1A., ~.. d .- p -1 UPNESRHNO ORNONOCNOH Suncoast Eye Center Free Vision & Glaucoma Screening "hursday, October 4 lOAM to 3PM II today to schedule your appointment r (3521795-2526 0 E ye Surgery Institute BEVERLY HILLS LIONS BINGO The Friendliest Bingo in Town! We are o A Labor Day W $ :. *. , Hours: Mon.6:00 P.M. Thurs.12:30 PM. RefrcshmenlL Served ill o Nominal Cost Both Monday and Thursday at 72 Civic Circle Beverly Hills Info 527-2614 C HOMOSASSA LIONS BINGO 10" 1it Monday $15 E er% Month at 6pm Package $20 Pkg. $50 Payout t 5)250 Per Gamne lackpots I Fr t' Coffee & Tra -Non-Smoking Room HOMOSASSA LIONS CLUB HOUSE Rt. 490 Al Becker 563-0870 728988 Citrus American Italian Club Doors Open I, N. 2lackrpo/s 12 NOON V _. A//Paper 726-6155 Sve (0-) P8 4325 S. Little Al Pt. Sunday '- 1 ,O Inverness, FL. 34452 2 PM /N017 S7o70/r7g OUR LADY OF FATIMA CHURCH 550 HWY. U.S. 41 SOUTH, INVERNESS, FL $2050 PAYOUT EACH NIGHT TUESDAY AT NOON & THURSDAY AT 6:30PM $50 PRICES 3 PAYOUTS 2 PACK......................$10 JACKPOTS 3 PACK................$12 s150o-s50 20 REGULAR 4 PACK......................$14 sso* GAMES 5 PACK...................... $15 ('3 PROGRESSIVE GAMES) 8 SPEED SPEED PACK..............$5 ,...Ioanoo GAMES XTRA PACK.................$2 eP"n',aP ".z C C 4m - C - --C - $10 Pkg 221*..HW .19 R STA RVE, L- (5275-52 4-c- m 4 C,- 4 C- aft 4c=lo or Canus (;ouNiy (FL) CHRONICLE TvB"rr WrYin - - :b- F O MONDAY, OCTOBER 1, 2007 9A - f on- - -aftUse - - - ~- o 0 O - e a - - - do 4b @- -- glo : "Co-pyrighted Material S.-- Syndicated Content - - Available from'Commercial News Prov --lo p 0 0 -e .a. -9 MMI. - 410- a. -- S 4m .40 o 49- W A a. ,*0of q 4b 0 0 EOM0 ft4 lw p p dm 1m%- MD qb a a a. om 4b- 40.o - S -~ - a. a * - a.- - 4p dab-- -ow 40. a.4 4b 4D a qb a a - Increase Your Child's C nfldet 0 wt the Positive Energy of * ... ... - Enroll Your Child For 2 FREE Wesis Martial Arts can energize your child to develop a .. positive attitude and be,more confident and-- confidence is the one quality that can help your child face any challenge, stay focused or his or,. her goals, grow as a leader, and be safer in school and on the playground. ' Contact our school today for more information. -"Antonelli Martial Arts & Fitness, LLC / 312 S. Kensington Ave., Lecanto, FL 34461 352.341.0496 ". '- SenseiAntonelli@vahoo.com --- \ r -- -" ....... ..... ... "--- --' jaL.. /4 .w -q 'd- . ~- ~.- ~- - m-.~ ~ - ______ -~ -~ ~~-Q ~ - - - - -,.. - ~- ~ -w - - ~, ~. - iders~.~J -O m-o b- 91m a. a. a.aW *o 0 4D 4 - - -l sb mw so Furniture Repair Furniture Repair & Restoration * Finish Repairs Complete Refinishing * Chair Caning Structural Repairs * Antique Repairs Chair Regluing hrefni ne Refinish Line Is the expert in furniture repair and refinishing. For an estimate, call 352-400-5277 MOVINlG POW 26bISA L I SS(Excluding Clocks) 40% OFF Clocks "Get a Free Gift with $100 purchase before noon." ^Interior Accents, Inc. Crystal Springs Plaza, Hwy. 44 (next to Publix) Crystal River (352) 563-2711 Sb~a i1 wxfC4p~o ,44~iae 7m4M OPEN HOUSE Sat., October 6' 10:00 AM- 4:00 PM FREE LUNCH Consultation With Our Entire Staff |.INA ^3-D Computer Viewing Of Sttfla Your Custom Design ns- At 1-Fla-ic question about vour pool equip. 01or are you getting At o S an upl'rade that 0ou are not fCdimiliar % iih? Sign up at our Opren go open house for Alpine', "-Pool School". We \ Iil ha'e clause here or % ill come to .Nour home OUR SHOWROOM OFFERS: Beauty Week Fall 2007 '. -:il .:,ur :,ur :j, penp'rt inI i *jr LI:'I--rI I deprirr, rt : t.:. , arbi:jl tno -.-.r: e', ar d .-' i, ,.:ij'r- [h e re r., .e a t a r..r, ,:e rne, : lrid ,.:'ur , a: T ,,-rr,, *If you're 55 or older, save an extra 15%, 20% in Fine Jewelry or 10% in our home department, on your purchases for the day. Just show proof of age to any Sales Associate. Normal exclusions apply. See store for details. Also excludes cosmetics & fragrances, small electrics, Red Dot, Earlybirds, Night Owls, Doorbusters, Special Buys, Bonus Buys, Chairman's Choice, non-merchandise departments, maternity, lease departments and Belk gift cards. In fine jewelry excludes watches, Lladro, Lampe Berger, fine jewelry closeouts and special events. Not valid on prior purchases, mail, phone or special orders. Cannot be redeemed for cash, credit or refund, used in combination with any other discount or coupon offer or on belk.com. Valid Tuesday, October 2, 2007 only. CPC1456467 itio Deck Finishes: Variety Of Pavers, Interlocking Tile, Stone Systems (Surfaces/Walls) 100% Acrylic water Features: Cascading Boulders, Sheet Falls, Rain Falls & More outdoor Kitchens Unique Outdoor Furniture Mosaic Tiles Trex Decking :reened Patios/Pool Decks ree-Standing Spas Landscaping 1101 N. Paul Dr. Inverness, FL Hwy. 44 to Independence to Paul Drive. CRI TRS COUNTY (FL) CHRONICI.E ENTERTAINMENT a - a. a a AIRPORT TAXI 746-2929 76e mmmmml o o O O D o Q 0 -.Elda 4momwft IOAVIONA N0, A'.,OBio1,itI.2007 REALTOR Continued from Page 1A cleans tip afllerward. "I try to keep my hands ini everything," she said. She's not exaggerating. Rector also was a team captain for the Relay for Life Cancer Walk for two years in a row. "We didn't do a lot of them, for these walks, they do all sorts of themes we just raised money and walked." The walks were hosted in Dunnellon, where she lives, rather than Inverness, where she works, because she "thought that'd be a good place to do it so it wasn't about real estate." Prior to working at Keller Williams, Rector was employed by RE/MAX. During her 15 years there, she was honored with induction into the company's Platinum Club and Hall of Fame for her real estate achievements. The Platinum Club is open to those who gross more than $250,000 in annual commission, while the Hall of Fame is reserved for those grossing more than $1 million annually. Even then, she spread the wealth, taking $10 from her com- mission on each sale and donating it to the Children's Miracle Network She continued the tradi- tion when she joined Keller Williams in February; $105 from each of Rector's closings goes to charity, with $50 donated to the Hospice of Citrus County and $5 donated to KW Cares, an in-house nonprofit that helps out Realtors in need. The other $50 is invested in a personal project of' Rector's: A scholarship find she plans to award to "a hard-worlking kid that, may not necessarily have the high- est grade-point average, but works hard and ... does things in the community." She received her award at an all-day gathering where likemind- ed Realtors brainstormed how to bring culture to their communi- ties. But when it came time to stand and be recognized, Rector didn't take home a plaque or a tro- phy She wasn't given an engraved paperweight or a company key- chain. , Instead, she got a piece of paper So did the rest of the honorees - at least 100 people, by Rector's count The papers were $50 dona- tions made anonymously to KW Cares in the name of the recipi- ents. While there, she heard of another office's plight: A Realtor had passed away, leaving behind twin daughters who were attend- ing college, but living at home. Conscious of the financial burden being imposed upon the grieving students, Keller Williams associ- ates calculated the amount of money required to pay the mort- gage and utility bills and finance a final year of college. They pooled together to pay it, and afterward helped the girls sell the house. "That's what drew me to make S.,. F4 r u a Results you expect... Service you can trust. U L Professional Hearing Centers 726-4327 "Helping People Hear...With Quality Care" 72 - 211 S. Apopka Avenue 713860 , Knightly Auto Complete Auto Service Foreign & Domestic Stop in to see us, and let my dad Christian Knightly S.f ii- i;R.71XRa' N e.ia.fi:3l:tmima& ,d04% ,-a.RTM-45 AIR I13060 90 SCHEDULED TRANSMISSION CONDITIONING MAINTENANCE S STUNE-UP SI79*..-.,i FLUSH, $ N 5 ,,, SERVICE .95 *: "'. & INSPECTION ,1 ;5 $95 S C 3nnot be corn ica e I n I I'CannoLt rae cor.nneid alh I Canrno be combined wih I S any oln. other: any oter oaes N ny owher ohar | SA I'd I [I C F*I . '.. , d rwes, it's our policy to save you money. Business VanAllen INSURANCE AGENCY 352-637-5191 OR 1-800-988-5191 AUTO HOME BUSINESS LIFE 725058 the move to Keller Williams," Rector said. "It was just about doing the right thing." But Rector has tales of her own. As part of the ceremony, she was asked to write a story detailing why she deserved the nomination - not an easy task for anyone, much less someone as humble as Rector. "Once," she wrote, "I was at a closing table with my sellers and their moving truck was packed and they were ready to hit the road to Tennessee lor their new life. The title company from Tennessee faxed their closing statements ... (and the) seller found out that their closing costs on their purchase were more than they had been told. They both turned white and said they didn't have enough money to close ... they were going to be homeless. I took our title agent out of the room and asked how much money they needed and she said $1,200. I did- n't want to send them on the road River Safaris & Gulf Charters, Inc. 10823 West Yulee Drive Homosassa, FL 34448 352-628-5222 Fax 352-628-0122. Voted Best of the Best for 20071 River Safaris & Gulf Charters is locally owned and operated by Florida natives and Eco-Heritage Guides.e Historically narrated backwater, o rmrp Springs and Gulf of Mexico tours on pontoon boats are available daily at 9am, 11am, 1pm, 3pm & 5pm. and are an exciting way to view the Homosassa backwaters and the Gulf of Mexico. There are five trips to choose from on our six, fourteen and twenty passenger boats. Large groups are always welcome, we offer discounts for ten or more people. Tours for special occasions can be arranged and designed to your requests. Pontoon boats & new 17 ft. Jon boats with 15 HP motors are available for rentals either full or half days seven days a week. Our Gallery and Gift shop displays works from many local and Florida artists. Manatee encounters coming soon. Call us for details. Art Event Dates: Oct. 13 & 14 Nature Coast Fine Art & True Craft Show. Nov. 10 & 11 Homosassa Seafood Festival. Nov. 16 &17 Open House at our Gallery & Surrounding Shops. Call us for boat tour and rental reservations and information at (352) 628-5222, 1-800-758-FISH (3474), visit us personally or check out our website at. Free Alligator Exhibit DOG TRAINING AT YOUR DOOR.coM ALL TRAINING COMPLETED IN 4 HOURS I started training Citrus County dog's in 2002. Nearly 900 dogs have been taught to stay in the yard by my electronic fencing or hand training devices. My techniques are simple and effective. "Before Brian trained our Lab, Tyler II, he was totally unmanageable outside at 89 Ibs. Brunk, IN GROUND FENCING -PERIMETER TRAINING -"COME" WHEN CALLED -"OFF" STOP JUMPING BRIAN TUEL 352-302-6248 Ray's Painting Raymond E. Kaiser has been serving customers on the west coast of Florida for over 30 years providing quality workmanship at a fair price. I meet with you to find out what your needs are and provide a FREE written estimate of the work to be performed with NO OBLIGATION. Customers know up front what work will be done with no fine print . to worry about. i offer low rates on interior painting . whether its one room or the whole house. We offer low rates on pressure washing, starting at $50. I pressure wash , houses, mobile homes, pool decks, pool enclosures and driveways. I offer exterior painting, pool deck . painting, texture spraying, mobile home Ben painting and minor home repairs. Next time you have a need for painting or pressure cleaning, why not call a professional. All painting comes with a written guarantee. Licensed and insured. References are available upon request. To get your FREE estimate call 621-3165. 713309 S championships. We also carry a large selection of prints in our gallery. Also in stock is a selection of signed & numbered prints of Florida artists ex. Charles Rowe, Ben Essenburg & Phil Capen. Call Frame l)esigns at 795-5131 for store hours and information. Tim Tebow Located in Sweetbay Plaza in Crystal River. to Tennessee with no money in their pocket, so I told the title agent to take $2,200 out of my com- mission of $4,300." Good business in good faith. Her good faith was rewarded; each month the family sends her a check for $45 to repay the interest- free loan. More recently, a client came to her office and described his 83- year-old wife's ordeal: A lump had been found on her breast and she was terrified by the CITRIUS COUN'IY (FL) CHRONICLE impending surgery. "I went to the hospital the day of her surgery to check on her," she wrote. "When I arrived at the hos- pital, I found her husband all alone in the waiting room and he looked terrified. I sat with him for 5 1/2 hours waiting and talking about their life together We laughed and cried and he was so thankful that he was not alone. I felt better that night on my way home than I ever did closing my biggest deal." Shelly's K-9 Designs Shelly Mileti owner of Shelly's K-9 Designs got her start from her family. As a little girl she was born into the business. She began her . career at the age of 6, became a professional A.K.C. handler at the age of 12. Since then she has blossomed greatly into a profession that she . greatly loves. Dogs!! Shelly's schooling and education includes I H many merits in complete A.K.C. Purebred and all breed grooming and showing titles.loutdoor. She believes in total quality professional care and that is exactly what you and your pet will receive. GUARANTEED! HOURS: Monday-Friday. Shelly's K-9 Design is owner operated. 4 'i championships. We also carry a large selection of i prints in our gallery. Also in stock is a selection of signed & numbered prints of Florida artists ex. Charles Rowe, Ben Essenburg & Phil Capen. Call Frame Designs at 795-5131 for store hours and information. Tim Tebow Located in Sweetbay Plaza in Crystal River. PLAZA HEALTH FOODS We at Plaza Health would - like to welcome new residents. '" ..' to our community. We hope. " you will stop in the store for ' your health food needs. h A little about us, we are the , oldest Health Food Store (24 , yrs.) operating in Citrus County in the same location, thanks to \ .; our good and loyal customers i 1,V '' ' and we always welcome and I- like meeting new ones. Some people are interested in learning more about Diatomaceous Earth Food Grade. I will be giving more information about D.E. in the near future, so stop by the store and ask about it if you are interested in learning the health benefits of D.E. Happy Halloween! Plaza Health Foods is located at 8022 W. Gulf-to-Lake Hwy., Crystal River, FL 34429 in Pine View Plaza (Directly across from Bay Area Heating & A/C) 352-795-0911 Business Hours: 9:30-5:00 M-F 9:30-2:00 Sat. You'll find it all on the west side. See for yourself '- V To advertise here call your sales representative - 1.352.563.5592 It kOpNICLt E ALL REPAIRS: 12 MONTH OR 12,000 MILE NATIONWIDE WARRANTY il i i i Hwy. 19, Crystal River ( INext to Enterprise Car Rental) --- 563-2811 bESI 1 BUMPER ff Mm- -i ---l 0 0 0 0 0 0 0 0 0 MONDAY, OCTOBER 1, 2007 11A p1 -mbq ha 1 - - "Copyrighted Material Syndicated Content Available from Commercial News Providers" * 0 - * ton ft 4mmoo o dmQ- -a= o - soon 0 G 4 40ID4- t a Q t =00 40eomefo - - 0 - LAWYER Continued from Page 1A not resurfaced from a dive. Cummins was their dive instruc- tor Officials from the Coast Guard Station in Yankeetown, Florida Fish and Wildlife Conservation Commission and the Citrus County Sheriff's Office's dive team, along with a helicopter from Coast Guard Air Station Clearwater searched the Homosassa River for Cummins with no sign of the diver The three men had been cave diving from a 29-foot boat in the Gulf of Mexico just offshore of Homosassa. The two students resurfaced after a dive and wait- ed for Cummins to resurface, according to the Coast Guard. The men waited 15 minutes and called for help. Cummins is reported to have been wearing a black wetsuit with a silver tank Cummins practiced law in Inverness until the Florida Supreme Court suspended Cummins for six months this past June. The suspension came after several complaints about misconduct Days after Cummins was sus- Serving Citrus County for 15 years! visit Our Showroom 1Will heal cImperllors pricing Authoriud Hial & GIlow Dealer & Fire Maigic BBQ * Chimney Sweeps Outdoor BBQ Kitchen Fireplaces * Dryer Vent Cleaning Fireplace Facing Brick Work Stonework * Fireplace Startups Supplies Free Local Estimates Gas Logs Vented or * Parts -Repairs Unvented Electric Fireplaces SAccessorie (352) 795-7976 j (Crystal River Crystal Plaza (Behind Dillon 's Inn) Free fireplace inspection w/dryer vent cleaning! pended, his law office caught fire, which prompted an investi- gation by the State Fire Marshal's Office. At the time, Cummins said he had been receiving threats and believed the fire may have been started by someone he represented in court i All About Baths M -AI-M-AN M Carl' AIRPORT TAXI 35 76-59 0m.me * EMMM- ZI I I * - e * 726-8822 1-800-832-8823 heritage Propane Serving America With Pride $ 1 99 INSTALLATION SPECIAL 1 'Price subject to change without notice. ., ITAONU 201b. Cylinder Filled $10.00 4275 W. Gulf to Lake Hwy. (Hwy. 44), Lecanto, FL* Serving All Of Citrus County Visit Our NEW "PINK HOUSE". SHOWROOM! 2968 W. Gulf to Lake Highway 44, Lecanto, FL 34461 352-746-1998 j_ _ SToU Free877-202-1991 | \0\ \s'sm ||- SSIDGESTOfiE Tircstone WE CARRY SNfTOC.K TIRES TO FIT MOSnfT CARS SUlV's & TRUCfKS -7 AIR CONDITIONING TUNE-UP I Test for system pressure and leaks. I Inspects fan belts, compressor and hoses. SMost Vehicles 95 Refrigerant Extra. E N COMPUTER DIAGNOSTIC Don't Know Why That Service Engine Light Is On? Computer$4 1 9" IScan - 4 WHEEL ALIGNMENT Helps prevent early tire wear with computerized accuracy, plus we inspect I steering/suspension. $ 95 Mosrvehcles. I S @Parts and rear shims Extra needed. 01L CHANGE & FILTER1 22 MostCars Maitenanceincludes PE NNZQIL Refill Of Up To.5 Quarts ~* D ,Of Quaityv IOW-30 OILff J-0t o.iiBPENZi.~ Urology Center of Florida in conjunction with the Cancer Treatment Center is pleased to announce a New Office in Citrus County INSIDE -CC C ,SEARs Free' Hearing Aid Repairs I all makes and models Crystal River Mall I .omo.ner... oy I-n-up 795-1484 Battery Sale S-I4tPaddock Mall, Ocala 237-1665 .8 9 (Limit 2 packs) S ALTMAN'S FAMILY PEST CONTROL I Mowing Edging Trimming Plugging Mulchin, 52 FREE INSPECTION 727952 All Types of Window Treatments Family Owned and Serving the Area Since 1980 6 Insect Spray 3 Granular Fertilizer 3 Liquid Fertilizer 3 Weed Control (1) Granular Pre-Emergent Application (2) Liquid Applications 7-937 r3 FREE ESTIMATE* YOU'LL LOVE OUR FOOD... OR IT'S FREE!! ^ a: ctft'. '2 . 4,It BB 'Ali That's why we give a 100% guarantee for everything on our r. "... Guarantoedl EDEE APPETIZER 'H lEE OR DESERT Buy any lunch or diner entree and two beverages and receive a FREE appetizer or desert Not valid with any other discounts. Limit one coupon per table. No exceptions. HURRY IN!ffer Expires October 13, 2007 FRANKIES GRILL 344-4545 I The Frankie's Grill Difference * Free Anniversary Club * Free Birthday Club * Signature weekly specials * 54 seat banquet facility * Beautiful outdoor patio ST~/ aa'Ife' Call or Stop by Today! Hwy. 41 in Inverness, Just North of KMart To Go!! 344-4545 Cn'Rmus Couzvn' (FL) CHRntIor'.h 9 * ~. - S - 0 I -- m M-W I m mI P 0 I I 0 Call 746-5000 IMMEDIATE APPOINTMENTs AVAILABLE 3406 N. LMTMM HWY. SurrE A BEVERLY HILLS -a FLORIDA 34465 )AAMIkk - 1 D O K A .- - g --------.-.~ ( I I) ~i) "Restore human legs as a means of travel. Pedestrians rely on food for fuel and need no special parking facilities." Lewis Mumford ____~i, CITRUS COUNTY CHRONICLE EDITORIAL BOARD S Gerry Mulligan ..............................publisher I^ k Charlie Brennan ..............................editor Neale Brennan ...... promotions/community affairs Kathie Stewart ...................circulation director -.- M It mv bfr S 4q-d -da. . S. a.. a. 0 - .~ - a. - w - ~- - - - - TIME FOR A NUDGE Commission should alert DOT to U.S. 41 needs Inverness has alerted the state Department of Trans- portation to the need to widen U.S. 41 North. County commissioners should follow suit. At certain times of day, the two-lane stretch of highway between Inverness and Her- THE I1 hando isn't where Four- one would envision U.S. 41i traffic jams. During peak periods of traf- OUR, 0 fic, however, it's a different story It's a p and the situation continues to grow YOUR OPIt worse. chror,ieor The recent widen- Lc',-ror/ ing of the highway south.of the city has eased congestion along that stretch of road and it's important that the need to do the same north of town be made a priority of the DOT. There's concern that if conges- tion on U.S. 41 North continues to build, the county would have to halt issuing permits for devel- opment until the road meets concurrency requirements. We're not at that point yet, but Fumes and paint How come when you go to a doc- tor's office and you've got to sign in, every receptionist around town, they're loaded with cologne and per- fume. They don't realize that some people can't breathe real good and this stuff really knocks them down. And half of them have too much war paint on just to check some- body into a doctor's office. They look like they're going to a ball. I mean why don't these doctors talk to the receptionists and tell them to cut down on this perfume and cologne and wear a little bit less makeup. I'm not going to a beauty contest when I'm SOl going to see my doctor. This is getting sickening lately. On the blink I've read an article in the paper concerning the traffic light not working properly on (U.S.) 19, and CALK they asked for a phone 563 number under the editor's UUU notes. There is no phone number. Why not? Why can't they give advice on whom to contact? And the county does not 'want to fix these problems because the more you sit there, the more you use gas, the more it's sucking our taxpayers' money and putting it into the coun- ty. Think about that one. Editor's note: Apparently, the previ- ous editor's note was cut for produc- tion reasons. The phone number for the county's road maintenance divi- sion is 527-7610. Insurance refused An insurance company has can- celled our insurance. We have tried to get insurance on our own through another company. But all the com- panies tell us that because about six or seven years ago, a young lady went into my garage to take a family car out of the garage and was bitten by a dog that was on a leash in the garage. And because of this, we are not insurable. Also, we have a con- version van, 2003, that was built on a conversion van assembly line. But they tell us that because this conver- sion van, even though it was built on an assembly line, we are not capable I I .' there are numerous new homes and town homes in that area and more to come. Additionally, there are opportunities for com- mercial development there as well as an ever-increasing flow of motorists traveling along the corridor. On the west side SSUE: of the county, the aning widening of U.S. 19 North has been a priority, and rightfully so. At INMION: the county commis- . sion's urging, the priority. DOT recognized the need to upgrade NION: Gc to that stressed high- irne.cor to way. bout toda*ws editoal. Now it's time for right of way along U.S. 41 to be acquired and funds allocated for four-laning work. While encour- agement from Inverness is appropriate, about two-thirds of the Inverness-Hernando stretch is outside city limits. A nudge from the county com- mission might make the differ- ence between the DOT raising the project on the priority list or prolonged gridlock on the north side of town. of getting insurance for the vehicle. What is going on in this state with these insurance companies? I think the governor should be informed of this, and the insurance commission- ers, but I don't have the facilities of being able to do it for them. Predator park I am disgusted and outraged at the thought of a sexual predator mobile home park coming to Citrus County. I appreciate the sheriff standing up and saying he is going to do whatever he can to stop this from happening. And I encourage all the citizens of Citrus County that we need to 111 gang together and be a voice of one standing up in an outcry against this park from happening. We do not want people like this gathered together in one location living togeth- er, preying on our innocent children. We've had enough, Citrus County. 0579 Valet service I'm calling about the Citrus Memorial hospital valet park- ing. I am a middle-aged woman who uses the service on a weekly basis. I'm handicapped. I need assistance with my wheelchair; I need assis- tance in parking my car. These gen- tlemen help me every week, with no cost to me. I have found out this week that they are stopping the service and I am appalled. I have no idea how I'm going to get to and from the hospital. I can get to and from the hospital, but I cannot get in and out of my car with the wheel- chair without assistance. I don't live with anybody and this was a great service to me. I cannot believe that Citrus Memorial hospital is taking this service away from the people who need it the most. Regardless of the money factor, or what their other needs are, this is a service that is truly needed. I am appalled that they are taking it away from the people who need it the most. Going their way This is to the person who says to the rightwing, "Don't take us down with you": You have already been taken down by leftwing thinking. - s-a. 0 a - - 4. 4M- di- .- - O - ~.- Copyrighted Material Syndicated Content S - a.0 p - - - .~. - .. - Available from Commercial News Providers -. a - -. -. a C C a * - -~ a.- - ~0 - a - - -a 4. 40 f S - -a S - - .~. a. - a. 0O * - f "P. ~. I LETTERS / Better for Inverness I applaud Inverness City Manager Frank DiGiovanni for once again being the forward-thinking leader that has made Inverness the envy of other cities. If we do, in fact, reduce the impact fees, Inverness will be the obvious choice for new restaurants, as well as better-quality retail. Housing would benefit through job creation, as well as a renewed confidence in our community. As an independent restaurant own- er, I hear daily from a cross-section of the public that wants the "chain" restaurants and shops. This possible future is something that we at Cinna- mon Sticks embrace as competition forces us all to do a better job for you. Please support Frank's efforts and realize that our community will con- tinue to grow the right way under his leadership. If you fear unbridled growth when the fees are reduced, look at his track record on issues sim- ilar to this. Our city's needs will always be protected, as our manager and council continue to work togeth- Sound bytes The O.J. Simpson article Tuesday's paper wastes our two opposing opinions rega arrest of this infamous indi Police, of course, have theii especially the damning aud everyone has heard. For the opposing point, th "expert" is none other than mer defense counsel on the defense team! Newspaper space is tight, courage everyone who is int any case to get as much info they can from sources far an OPINIONS INVITED a The opinions expressed in Chroni trials are the opinions of the ec board of the newspaper. Viewpoints depicted in political c toons, columns or letters do not sarily represent the opinion of th rial board. *I Groups or individuals are invited express their opinions in a letter editor. 1 Persons wishing to address the e board, which meets weekly, shou Linda Johnson at (352) 563-566 0 All letters must be signed and in pFhone number and hometown, ir letters sent via e-mail. Names an hometowns will be printed; phon bers will not be published or give M We reserve the right to edit letter length, libel, fairness and good ta W Letters must be no longer than 3 words, and writers will be limited three letters per month. 0 SEND LETTERS TO: The Editor, 16 Meadowcrest Blvd., Crystal River, 34429. Or, fax to (352) 563-3281 mail to letters@chronlcleonllne. Any one can cherry-pick info tion and even put untruthful in tion in an article or book The t "The devil is in the details" wa Ron Dillon more important than in our cui Inverness world. "Health care for everyone!" S "Bring our kids home NOW!' in "Fix our failing infrastructure time with "Lower MY taxes!" rding the Please inform, involve and ed vidual. so we can act responsibly. r reasons, Gene Mus lio tape He he the for- The deciders O.J's Currently, there is a debate i] media about how a candidate's so I en- sonal religious beliefs would af terested in decision-making while in office )rmation as Shouldn't we remind those arb' nd wide. public discourse that this is a r to the Editor sentative democracy? We are not electing leaders. We are electing rep- icle edi- resentatives. As our representatives, it does not ar- matter what their personal beliefs neces- happen to be. They must make their he edito- decisions the way we tell them. Not to the way the lobbyists tell them, not to the the way their religion tells them, not the way the corporations tell them, editorial not the way their party advisers tell ld call them. 0.ude a Their responsibility is to make including decisions based on what We The nd People believe is the best for the com- e num- mon good. They must vote on issues n out. s for the way the majority of their con- aste. stituents tell them. 50 That is the question we should be Ito concerned about Can they represent us in good conscience? If they cannot, 624 N. they are unqualified for the position FL 0; or e- as our representative, whatever the com. office or their party or their religion. They must represent our beliefs. They work for us. We are the deciders! rma- iforma- Jo Darling term Lecanto s never rrent Striking out The following message was sent Sept. 26 to Sens. Bill Nelson and Mel Martinez and Rep. Ginny Brown- re!" Waite. We continue to vehemently oppose educate congressional or executive branch pushing us into an attack on Iran! selman Instead, we should rely only on a ernando diplomatic solution using Europe, Russia and contiguous Muslim coun- tries to lead in resolution. The USA should stop its war-mongering and n the improve its world image for a change. per- We've already proven that we can't fect win in Afghanistan and Iraq! Why e. strike out? iters of Frances M. Harbin rn. '12A.,. URA its a - -- -a :~ oulhim - .6 - S-_7 -- - - - -- . - up * - - is p pi IN 0 04mopes 41 % CIIus COUNrY (FL) CHi~oNIc1.I~ NATION/~XJCRLD MONDAY, Oc'IoBEn 1, 2007 13A - em Copyrighted Material I LSyndicated Content le from Commercial News Providers *~~~~~~S __ly nj u **'** *^^^^B^ - m i m -M -4 - -0.0 ^-- ~ ^S^ --M--_ -- - --^ ^^^^^^^^^ ^^_ ^^ OUR WATER ITASTrES f BTTER I ......11- TRODCTR 9.9% AP F6 6 MS Citrus Water Conditioning "Ovr 5 Yar Exerenc" ervngCitusCoutyFr ve* 6 eas S729712 Spring & Summer . Inventory Clearance Sale ',, 50 to 75% OFF n 'A\ 1.' 7 New Fall Fashions Arriving Daily Sizes 2- 16 * .Uniqufomninii Fashigils., *. 338Gl oLk W, Hv,4,Futi q,&vres(5)3400 Cifrus Paint & Decor DECORATING CENTER 724 NW Hwy. 19, Crystal River (352) 795-3613 I'4 S\\ 60th .' e ,cai (352) 873-1300 MS .,n .Fn ci0,.',. ? s at-, , , Reason #18 to join Suncoast. Your signature helps local schools. When you open a Smart Checking account at Suncoast, you do something smart for yourself and have a chance to help local school kids at the same time. That's because we'll donate five cents to schools in your county every time you sign for a purchase with our new Suncoast for Schools Rewards Check Card. ,_ It won't cost you a thing, and you'll also WHO'S E lG I BI.E TO receive all the other benefits you get with free JOIN SUNCOAST? Smart Checking like rewards bonus points, Children alicnding public school free online banking and bill pay, no monthly in Citrus County, employees of schools and many local businesses, fees, no minimum deposit requirements and hospitals, cities and counties and hospi cities and counties and no check charges. That's the kind of service people age 55 and over. Immediate family members canjoin too. and innovation you'll only get with Suncoast. .Where smart people keep their money and help local schools. Visit joinsuncoast.org to learn more about all the great features of Smart Checking or call 800-999-5887 for more information. Credit union membership and credit qualification required. Suncoast Schools Federal Credit Union WHERE SMART PEOPLE KEEP THEIR MONEY. 7210BM A SMART ROOM STARTS WITH A SMART SHOPPER PNORWALK# Additional Savings Now thru October 8, 2007 on all Norwalk & J Raymond Furnishings In Stock or Special Orders ORDER NOW FOR HOLIDAY DELIVERY S~Open Mon.-M.Fri. smart interiors 05 SSat. 10:00-4:00 Financing Available 6 months Same As Cash 97 W. Gulf to Lake Hwy. Lecanto .... 352-527-4406 5141 Mariner Blvd. Spring Hill 352-688-4633 MONDAY, OCTOBER 1, 2007 13A ..M ....... ... Hun -------------- CITRUS COUN*11'(FI.) CHRONICLI, I NAxiOIN/WDRILID AAW MONDAY OCTOBER 1, 2007 CITRUS COUNTY CHRONICLE ma r-' a a*6 a a. ,'-..** / .... ..ap =. ." = "t .... -.. =..- ..0* 4-00 .-m. Wt olIlll w a... 0 -.b *w-- W-a * *=.....iam. .-.-.. *,- S1ia 4b S fl 4.as ,N. Form kill o2 than U0 insurgrtJa flU "Copyrighte Material -a .. ISyndicated Content - Available from Commercial News Providers" ~~~~~~4....+ va w sr v - r . *IE, a*": " k 1 *.. e , em. elmmbaIa i baanm -a llgiV m ii imo* Ma m aa =, &a .i - o IMP db 4w00 ia a am i--i a a P 060 4.P 0 fm - ak&am Ii % I AmA M _pm r am#a Pnso 10 'C- a-mua Min.s a -mpMum g g s m o thu li to -4u O tMo a- ....a... a .. w No amnuss an olam* wamoll A-u4i. q amm ammma% 4* a a a *.~ -a .~ ~ r, : aiI -Ili r+ ,, e aa l 'r- ,0lI ,,Ii ali 4w me *g a ap ega agea qge *o em aal -o 4 0 0s 0IA a W aS wI I -Ia. a0 a.ti a -lul -e II (I ^martu oso2 br I: *. W-.- ft r a .=== , i-- .^.i . ' -at, -0 :. .- ado- qo , NW a al , ^ < e w a a ewhs "m" ation or] ........... --.u i -.,.,, * NFL/2B, 4B * MLB/3B, 5B * Scoreboard/4B * TV Schedule/4B * College Football/5B I Women's World Cup/5B B MONDAY OCTOBER 1, 2007 am- d ,i - S e0 New York PhiUy 1 -- ifil ljS l I%^ v T Ss.............. moo""-qe r avn k-. "as MN k Copy righted Material Scia yrig^ e r7 Syndicated Content - .- -o -4W 4W Rif* me/ wm e Btff l %%aI*,' "I %Vj00 A0%%&%0% % 000 % AvailablefromfCommercial News Providers'i a0t ,I'laNLlO nlM 0Wn n Q it.ww* A a A&41 a ow A -d n -- se S;l% woolt w uonI .AW a AnTktnnri run Ai.n' t th Iwknuimr up icIrn a- i f sM so *- *a a- *_ .= em. .. m.... 0... -. *f : ..n.-> S- 0-*al xd A Gators' offense grounded by Auburn he Gators' youth finally showed Tigers. Florida had just six yards of on Saturday night offense in the first quartet against Auburn. and was held scoreless in There was confusion on the first half for the firsl the offensive line, a mis- time since Nov. 14,1992. communication that led to I figured the Gators an interception and penal- would lose a game this sea. ty flags were flying at the son but who would have worst possible times. guessed it would be Combine that with the because of a lack of toughest defense Florida offense. has seen this season and After taking a couple ol it's no wonder the Gators A F unsuccessful shots down now have one in the loss Alan Festo the field early on, Florida's column. GATOR play calling got extremely The Gators were averag- BITES conservative. Tim Tebow ing almost 520 yards of couldn't find any room ur offense going into the game but were held to only 312 by the Please see FESTO/Page 4E F INT IrrNmALr r 1nn"-rn AT T T rAZt rC UC v% CH L 2B MONDAY, OCTOBInR 1, 2007 NFL BOXES Falcons 26, Texans 16 Houston 7 3 3 3 16 Atlanta 10 10 3 3 26 First Quarter Atl-FG Andersen 28, 8:14. Hou-A.Davis 35 pass from Schaub (K.Brown kick), 5:34. Atl-Jenkins 5 pass from Harrington .(Andersen kick), 1:13. Second Quarter Atl-Jenkins 7 pass from Harrington (Andersen kick), 8:22. Atl-FG Andersen 22, 1:52. Hou-FG K.Brown 42, 0:05. Third Quarter Hou-FG K.Brown 37, 10:13. Atl-FG Andersen 36, 4:00. Fourth Quarter Hou-FG K.Brown 19, 14:52. Atl-FG Andersen 46, 8:16. Hou Atl First downs 18 20 Total Net Yards 398 304 Rushes-yards 22-87 30-90 Passing 311 214 Punt Returns 2-1 1-18 .Kickoff Returns 5-131 3-68 Interceptions Ret. 0-0 0-0 Comp-Att-Int 28-40-0 23-29-0 Sacked-Yards Lost 1-6 2-9 Punts 2-52.5 3-44.0 Fumbles-Lost 3-2 0-0 Penalties-Yards 7-78 2-20 Time of Possession 25:48 34:12 INDIVIDUAL STATISTICS RUSHING-Houston, Dayne 15-62, Schaub 5-19, Cook 2-6. Atlanta, Dunn 18- 62, Norwood 9-29, Pinner 2-0, Harrington 1-(minus 1). PASSING-Houston, Schaub 28-40-0- 317. Atlanta, Harrington 23-29-0-223. RECEIVING-Houston, Walter 6-77, Cook 6-28, Davis 5-117, Daniels 5-69, Dayne 2-12, Leach 2-3, D.Anderson 1-9, Putzier 1-2. Atlanta, Jenkins 6-64, 'Robinson 4-31, Dunn 4-9, White 3-64, Crumpler 3-34, Norwood 2-16, Horn 1-5. MISSED FIELD GOALS-Houston, K.Brown 25 (WL). Atlanta, Andersen 42 (BK). Browns 27, Ravens 13 Baltimore 0 6 0 7 13 Cleveland 14 10 3 0 27 First Quarter Cle-Jurevicius 2 pass from D.Anderson (Dawson kick), 9:46. Cle-Edwards 78 pass from D.Anderson (Dawson kick), 5:46. Second Quarter BaIl-FG Stover 21, 12:45. Cle-FG Dawson 41, 9:17. Cle-J.Lewis 1 run (Dawson kick), 4:52. Bal-FG Stover 29, :52. Third Quarter Cle-FG Dawson 20, 4:12. Fourth Quarter Bal-Sypniewski 4 pass from McNair (Stover kick), 7:14. Bal Cle First downs 26 12 Total Net Yards 418 303 Rushes-yards 20-111 30-99 Passing 307 204 Punt Returns 1-8 0-0 Kickoff Returns 4-94 4-114 Interceptions Ret. 1-20 1-7 Comp-Att-Int 34-53-1 10-18-1 iSacked-Yards Lost 0-0 0-0 Punts 0-00.0 3-42.7 Fumbles-Lost 1-1 1-0 Penalties-Yards 7-41 6-41 Time of Possession 34:29 25:31 INDIVIDUAL STATISTICS RUSHING-Baltimore, McGahee 14- 104, M.Smith 5-5, McNair 1-2. Cleveland, J.Lewis 23-64, J.Wright 2-27, Vickers 1-6, Cribbs 1-2, D.Anderson 3-0. PASSING-Baltimore, McNair 34-53-1- 307. Cleveland, D.Anderson 10-18-1-204. RECEIVING-Baltimore, Mason 10-78, Sypniewski 6-34, D.Williams 5-63, Heap 4- 36, Clayton 3-43, M.Smith 3-19, McGahee 2-32, Wilcox 1-2. Cleveland, Winslow 4-96, Edwards 3-97, Jurevicius 2-10, Heiden 1-1. MISSED FIELD GOALS-Baltimore, Stover 46 (WR), 41 (WR). Raiders 35, Dolphins 17 Oakland 14 0 7 14- 35 Miami 0 7 10 0 17 First Quarter Oak-Porter 7 pass from Culpepper (Janikowski kick), 10:36. Oak-Culpepper 2 run ( Janikowski kick), 2:01. Second Quarter Mia-R.Brown 9 run (Feely kick), 12:40. Third Quarter Mia-FG Feely 29, 6:10. Oak-Culpepper 5 run (Janikowski kick), 4:00. Mia-Peelle 3 pass from Green (Feely kick), 0:08. Fourth Quarter Oak-Porter 27 pass from Culpepper (Janikowski kick), 7:58. Oak-Culpepper 3 run (Janikowski kick), :23. Oak Mia First downs 21 13 Total Net Yards 369 278 Rushes-yards 49-299 20-141 Passing 70 137 Punt Returns 2-9 0-0 Kickoff Returns 4-84 4-79 Interceptions Ret. 2-28 0-0 Comp-Att-Int 5-12-0 14-25-2 Sacked-Yards Lost 1-5 2-21 Punts 3-44.3 4-47.5 Fumbles-Lost 2-1 0-0 Penalties-Yards 2-15 5-34 Time of Possession 35:07 24:53 INDIVIDUAL STATISTICS RUSHING-Oakland, Fargas 22-179, Jordan 15-74, Culpepper 7-28, Griffith 5- 18. Miami, Brown 15-134, Mauia 2-5, Chatman 3-2. PASSING-Oakland, Culpepper 5-12-0- 75. Miami, Green 14-25-2-158. RECEIVING-Oakland, Porter 3-52, Curry 1-16, Jordan 1-7. Miami, Brown 6- 73, Peelle 3-45, Chambers 2-21, M.Booker 1-8, Martin 1-6, Mauia 1-5. Cowboys 35, Rams 7 St. Louis 0 7 0 0 7 Dallas 0 14 21 0 35 Second Quarter Dal-J.Jones 2 run (Folk kick), 7:15. StL-Hall 85 punt return (Wilkins kick), 2:11. Dal-Romo 15 run (Folk kick), :11. Third Quarter Dal-Crayton 59 pass from Romo (Folk kick), 12:41. Dal-Crayton 37 pass from Romo (Folk kick), 9:40. Dal-Witten 17 pass from Romo (Folk kick), 2:22. StL Dal First downs 12 28 Total Net Yards 187 502 Rushes-yards 21-62 33-171 Passing 125 331 Punt Returns 4-111 2-45 .Kickoff Returns 5-151 1-20 Interceptions Ret. 1-31 1-0 Comp-Att-Int 14-30-1 21-33-1 Sacked-Yards Lost 3-18 1-8 Punts 8-55.3 5-51.8 Fumbles-Lost 1-0 1-0 Penalties-Yards 7-50 2-10 Time of Possession 27:11 32:49 INDIVIDUAL STATISTICS RUSHING-St. Louis, Leonard 16-58, Minor 4-6, Bulger 1-(minus 2). Dallas, J.Jones 13-52, Barber 8-50, Thompson 8- 47, Romo 3-24, B.Johnson 1-(minus 2). PASSING-St. Louis, Bulger 11-24-1- 114, Frerotte 3-6-0-29. Dallas, Romo 21- 33-1-339. RECEIVING-St. Louis, Holt 5-52, McMichael 3-24, Bennett 2-20, Bruce 1-24, Minor 1-13, Looker 1-9, Leonard 1-1. Dallas, Crayton 7-184, Witten 6-71, Owens 3-33, Barber 2-22, Fasano 1-14, J.Jones 1-11, Hurd 1-4. aodo a -aiiimn 0 - "Copyrighted Matea ral Syndicated Content Available from Commercial News Providers" a -i ,,ma a -e .a e 'm 40. -.ma-m ..amumn. emaN aGom a b tam... * a m a a alla -aul4w- ao=a a . .a... ...... ftm *b=Glow I,"" a & P Cs........ s t m.f .. *. ... R m 3 Coio) ,teamrofl Rams, 3&-7 pw vp 0l s a ......H agt t Sas..-( a. 4WM aW a aw****mJ1 .- am- . ....... fil% .Now a. dma*: a a ag a 0a .: NFL BOXES Buccaneers 20, Panthers 7 Tampa Bay 14 3 0 3 20 Carolina 0 0 0 7 7 First Quarter TB-Garcia 3 run (Bryant kick), 8:43. TB-Graham 1 run (Bryant kick), 0:48. Second Quarter TB-FG Bryant 25, 6:41. Fourth Quarter TB-FG Bryant 38, 10:21. Car-D.Williams 24 pass from Carr (Kasay kick), 0:23. TB Car First downs 22 13 Total Net Yards 365 236 Rushes-yards 42-189 23-99 Passing 176 137 Punt Returns 5-71 1-3 Kickoff Returns 1-19 4-82 Interceptions Ret. 1-0 0-0 Comp-Att-Int 15-25-0 19-41-1 Sacked-Yards Lost 0-0 3-18 Punts 5-35.2 8-46.4 Fumbles-Lost 2-1 2-1 Penalties-Yards 1-5 7-65 Time of Possession 34:40 25:20 INDIVIDUAL STATISTICS RUSHING-Tampa Bay, Pittman 15-90, Graham 17-48, Williams 6-41, Garcia 4-10. Carolina, Foster 15-64, Carr 5-28, ' D.Williams 2-5, Hoover 1-2. PASSING-Tampa Bay, Garcia 15-25-0- 176. Carolina, Carr 19-41-1-155. RECEIVING-Tampa Bay, Hilliard 7-114, Smith 4-17, Askew 1-17, Clayton 1-13, Graham 1-8, Galloway 1-7. Carolina, Smith 5-32, D.Williams 3-37, Foster 3-17, Hoover 2-17, Carter 2-16, Colbert 2-16, King 1-14, Jarrett 1-6. Bills 17, Jets 14 NYJets 0 0 7 7 14 Buffalo 0 0 7 10 17 Third Quarter Buf-Lynch 10 run (Lindell kick), 6:44. NY-Coles 5 pass from Pennington (Nugent kick), 2:13. Fourth Quarter Buf-FG Lindell 46, 10:49. Buf-Gaines 1 pass from Edwards (Lindell kick), 6:56. NY-Washington 8 run (Nugent kick), 3:02. NYJ Buf First downs 20 19 Total Net Yards 346 304 Rushes-yards 19-60 28-86 Passing 286 218 Punt Returns 2-5 1-12 Kickoff Returns 2-54 3-60 Interceptions Ret. 1-0 2-3 Comp-Att-Int 32-39-2 22-28-1 Sacked-Yards Lost 1-4 2-16 Punts 4-41.5 3-38.7 Fumbles-Lost 0-0 1-1 Penalties-Yards 9-65 6-38 Time of Possession 27:44 32:16 INDIVIDUAL STATISTICS RUSHING-New York, T.Jones 12-35, Washington 4-24, B.Smith 1-2, Pennington 1-1, Cotchery 1-(minus 2). Buffalo, Lynch 23-79, Thomas 2-4, Reed 1-4, Wright 1-0, Edwards 1-(minus 1). PASSING-New York,Pennington 32- 29-2-290. Buffalo, Edwards 22-28-1-234. RECEIVING-New York, Cotchery 8- 106, Coles 8-65, Washington 8-38, Baker 3-24, B.Smith 2-36, T.Jones 2-20, Kowalewski 1-1. Buffalo, Evans 6-72, Reed 4-64, Parrish 4-33, Gaines 4-20, Royal 3-31, Price 1-14. MISSED 'FIELD GOALS-New York, Nugent 37 (WR). Buffalo, None. Cardinals 21, Steelers 14 Pittsburgh 7 0 0 7 14 Arizona 0 0 7 14 21 First Quarter Pit-Holmes 43 r pass from Roethlisberger (Reed kick), :31. Third Quarter Ari-Urban 6 pass from Warner (Rackers kick), 7:24. Fourth Quarter Ari-Breaston 73 punt return (Rackers kick), 14:10. Ari-James 2 run (Rackers kick), 4:14. Pit-Holmes 7 pass from Roethlisberger (Reed kick), 1:49. Pit Ari First downs 17 19 Total Net Yards 282 301 Rushes-yards 26-77 25-86 Passing 205 215 Punt Returns 1-5 4-101 Kickoff Returns 3-66 2-55 Interceptions Ret. 0-0 2-5 Comp-Att-Int 17-32-2 21-35-0 Sacked-Yards Lost 4-39 2-10 Punts 7-51.4 5-39.4 Fumbles-Lost 3-0 3-2 Penalties-Yards 11-72 5-30 Time of Possession 32:12 27:48 INDIVIDUAL STATISTICS RUSHING-Pittsburgh, Parker 19-37, Roethlisberger 4-26, Davenport 2-15, Holmes 1-(minus 1). Arizona, James 21- 77, Leinart 3-9, Warner 1-0. PASSING-Pittsburgh, Roethlisberger 17-32-2-244. Arizona, Leinart 7-14-0-93, Warner 14-21-0-132. RECEIVING-Pittsburgh, Holmes 6-128, Parker 4-29, Miller 3-46, Reid 2-23, Washington 2-18. Arizona, Fitzgerald 11- 123, Urban 5-53, Bry.Johnson 3-37, James 1-7, Smith 1-5. Packers 23, Vikings 16 Green Bay 7 3 3 10 23 Minnesota 0 6 3 7 16 First Quarter GB-Jennings 16 pass from Favre (Crosby kick), 4:56. Second Quarter Min-FG Longwell 44, 5:19. Min-FG Longwell 35, 1:56. GB-FG Crosby 28, :02. Third Quarter GB-FG Crosby 44, 6:04. Min-FG Longwell 48, 3:18. Fourth Quarter GB-FG Crosby 33, 12:44. GB-J.Jones 33 pass from Favre (Crosby kick), 5:46. Min-Rice 15 pass from Holcomb (Longwell kick), 1:55. A-63,779. GB Min First downs 20 20 Total Net Yards 384 382 Rushes-yards 20-46 22-155 Passing 338 227 Punt Returns 4-35 1-1 Kickoff Returns 3-67 4-98 Interceptions Ret. 1-1 0-0 Comp-Att-Int 32-45-0 21-39-1 Sacked-Yards Lost 1-6 4-31 Punts 4-49.0 5-36.2 Fumbles-Lost 4-2 2-1 Penalties-Yards 6-40 7-40 Time of Possession 30:58 29:02 INDIVIDUAL STATISTICS RUSHING-Green Bay, Wynn 10-20, Grant 3-17, Ryan 1-7, Morency 1-2, Favre 4-1, Driver 1-(minus 1). Minnesota, Peterson 12-112, Taylor 8-40, Dugan 1-3, Holcomb 1-0. PASSING-Green Bay, Favre 32-45-0- 344. Minnesota, Holcomb 21-39-1-258. RECEIVING-Green Bay, Driver 7-58, Lee 4-66, J.Jones 4-49, Franks 4-30, Jennings 3-43, Morency 3-33, Martin 2-52, Wynn 2-10, Grant 2-1, Hall 1-2. Minnesota, Rice 6-75, Wade 5-83, Shiancoe 4-38, Williamson 2-23, Dugan 1-13, Taylor 1-11, Richardson 1-9, Peterson 1-6. CiTRus CouNTY (FL) CHRONICLE 1VAirir"r-jAy. V"",irnAl-IL ]LiF-A4GUE 1 CITRI( COl)INT (F.) CnIHONIC:I.: MAJOR LEAGUE BASEBALL MONDAY, OCTOBER 1, 2007 3B x-Boston y-New York Toronto Baltimore Tampa Bay x-Philadelphia New York Atlanta Washington Florida MLB PLAYOFFS DIVISION SERIES American League Wednesday, Oct. 3 Los Angeles (Lackey 19-9) at Boston (Beckett 20-7) Cleveland vs. New York Thursday, Oct. 4 New York (Wang 19-7) at Cleveland (Sabathia 19-7) National League Arizona vs. Chicago Wednesday, Oct. 3 Chicago (Zambrano 18-13) at Arizona (Webb 18-10) Philadelphia vs. Colorado-San Diego winner Wednesday, Oct. 3 Colorado-San Diego winner at Philadelphia AMERICAN LEAGUE Saturday's Games Toronto 5, Tampa Bay 3 L.A. Angels 3, Oakland 2 Boston 6, Minnesota 4 Chicago White Sox 3, Detroit 2 N.Y. Yankees 11, Baltimore 10 Kansas City 4, Cleveland 3 Seattle 5, Texas 1 Sunday's Games Tampa Bay 8, Toronto 5 N.Y. Yankees 10, Baltimore 4 Minnesota 3, Boston 2 Detroit 13, Chicago White Sox 3 Cleveland 4, Kansas City 2 Seattle 4, Texas 2 Oakland 3, L.A. Angels 2 NATIONAL LEAGUE Saturday's Games N.Y. Mets 13, Florida 0 Milwaukee 4, San Diego 3, 11 innings Chicago Cubs 4, Cincinnati 0 Washington 4, Philadelphia 2 Houston 3, Atlanta 2 St. Louis 7, Pittsburgh 3 Colorado 11, Arizona 1 LA. Dodgers 6, San Francisco 5, 10 innings Sunday's Games Florida 8, N.Y. Mets 1 Cincinnati 8, Chicago Cubs 4 St. Louis 6, Pittsburgh 5 Philadelphia 6, Washington 1 Houston 3, Atlanta 0 Milwaukee 11, San Diego 6 Colorado 4, Arizona 3 San Francisco at L.A. Dodgers, 4:10 p.m. Monday's Games San Diego (Peavy 19-6) at Colorado (Fogg 10-9), 7:37 p.m. MLB LEADERS AMERICAN LEAGUE BATTING-MOrdonez, Detroit, .363; ISuzuki, Seattle, .351; Polanco, Detroit, .341; Posada, New York, .338; DOrtiz, Boston, .332; Figgins, Los Angeles, .330; Lowell, Boston, .324; VGuerrero, Los Angeles, .324. RUNS-ARodriguez, New York, 143; BAbreu, New York, 123; Granderson, Detroit, 122; Sizemore, Cleveland, 118; MOrdonez, Detroit, 117; DOrtiz, Boston, 116; Rios, Toronto, 114. RBI-ARodriguez, New York, 156; MOrdonez, Detroit, 139; VGuerrero, Los Angeles, 125; CPena, Tampa Bay, 121; Lowell, Boston, 120; DOrtiz, Boston, 117; VMartinez, Cleveland, 114. HITS-ISuzuki, Seattle, 238; MOrdonez, Detroit, 216; Jeter, New York, 206; MYoung, Texas, 201; Polanco, Detroit, 200; OCabrera, Los Angeles, 192; Markakis, Baltimore, 191; Rios, Toronto, 191; Lowell, Boston, 191. DOUBLES-MOrdonez, Detroit, 54; DOrtiz, Boston, 52; AHill, Toronto, 47; THunter, Minnesota, 45; VGuerrero, Los Angeles, 45; Markakis, Baltimore, 43; Rios, Toronto, 43. TRIPLES-Granderson, Detroit, 23; Iwamura, Tampa Bay,, 46; DOrtiz, Boston, 35; Thome, Chicago, 35; Morneau, Minnesota, 31; Konerko,' Chicago, 31; MOrdonez, Detroit, 28; THunter, Minnesota, 28; Dye, Chicago, 28. STOLEN BASES-Crawford, Tampa Bay, 50; BRoberts, Baltimore, 50; Figgins, Los Angeles, 41; ISuzuki, Seattle, 37; CPatterson, Baltimore, 37; Sizemore, Cleveland, 33; JLugo, Boston, 33. PITCHING (16 Decisions)-Verlander, Detroit, 18-6, .750, 3.66; Beckett, Boston, 20-7, .741, 3.27; Wang, New York, 19-7, .731, 3.70; Sabathia, Cleveland, 19-7, .731, 3.21; Bedard, Baltimore, 13-5, .722, 3.16; KEscobar, Los Angeles, 18-7, .720, 38.40;, 45; Jenks, Chicago, 40; Putz, Seattle, 40; FrRodriguez, Los Angeles, 40; TJones, Detroit, 38; Papelbon, Boston, 37; Nathan, Minnesota, 37. NATIONAL LEAGUE BATTING-Holliday, Colorado, .340; CJones, Atlanta, .337; HaRamirez, Florida, .332; Utley, Philadelphia, .332; Renteria, Atlanta, .332; Pujols, St. Louis, .327; Wright, New York, .325. RUNS-Rollins, Philadelphia, 139; HaRamirez, Florida, 125; Holliday, Colorado, 119; JBReyes, New York, 119; Uggla, Florida, 113; Wright, New York, 113; Fielder, Milwaukee, 109. RBI-Howard, Philadelphia, 136; Holliday, Colorado, 135; Fielder, Milwaukee, 119; MiCabrera, Florida, 119; CaLee, Houston, 119; Hawpe, Colorado, 116; Beltran, New York, 112. HITS-Holliday, Colorado, 214; HaRamirez, Florida, 212; Rollins, Philadelphia, 212; Wright, New York, 196; Pierre, Los Angeles, 196; JBReyes, New York, 191; CaLee, Houston, 190. DOUBLES-Holliday, Colorado, 50; Uggla, Florida, 49; HaRamirez, Florida, 48; Utley, Philadelphia, 48; AdGonzalez, San Diego, 45; Rowand, Philadelphia, 45; KGreene, San Diego, 44. TRIPLES-Rollins, Philadelphia, 20; JBReyes, New York, 12; Johnson, Atlanta, 10; Pence, Houston, 9; CHart, Milwaukee, 9; Amezaga, Florida, 9; OHudson, Arizona, 9; DRoberts, San Francisco, 9. HOME RUNS-Fielder, Milwaukee, 50; Howard, Philadelphia, 47; Dunn, Cincinnati, 40; Holliday, Colorado, 36; Braun, Milwaukee, 34; MiCabrera, Florida, 34; Berkman, Houston, 34. STOLEN BASES-JBReyes, New York, 78; Pierre, Los Angeles, 64; HaRamirez, Florida, 51; Byrnes, Arizona, 50; Rollins, Philadelphia, 41; Victorino, Philadelphia, 37; Wright, New York, 34. PITCHING (16 Decisions)-Penny, Los Angeles, 16-4, ,800, 3.03; Peavy, Sar Diego, 19-6, .760, 2.36; Hamels Philadelphia, 15-5, .750, 3.39; Harang Cincinnati, 16-6, .727, 3.73; Billingsley Los Angeles, 12-5, .706, 3.31; BSheets Milwaukee, 12-5, .706, 3.82; Oswalt Houston, 14-7, .667, 3.18, STRIKEOUTS-Peavy, San Diego, 234 Harang, Cincinnati, 218; Smoltz, Atlanta 197; Webb, Arizona, 194: RHill, Chicago 183; Maine, New York, 180;, 37; BWagner, New York, 34 Weathers, Cincinnati, 33. East Division GB L10 6-4 2 6-4 13 z-6-4 27 4-6 30 3-7 East Division : GB L10 ) z-7-3 3 1 z-4-6 ) 5 z-5-5 16 5-5 3 18 z-6-4 Home 51-30 52-29 49-32 35-46 37-44 Home 47-34 41-40 44-37 40-41 36-45 Away 45-36 42-39 34-47 34-47 29-52 Away 42-39 47-34 40-41 33-48 35-46 x-Cleveland Detroit Minnesota Chicago Kansas City x-Chicago Milwaukee St. Louis Houston Cincinnati Pittsburgh Central Division Pct GB L10 .593 z-6-4 ' .543 8 5-5 \ .488 17 4-6 \ .444 24 6-4 .426 27 3-7 Central Division L Pct GB L10 Str 77 .525 z-6-4 L-1 79 .512 2 z-5-5 W-2 84 .481 7 7-3 W-5 89 .451 12 z-7-3 W-2 90 .444 13 z-3-7 W-1 94 .420 17 2-8 L-4 0 -- .0.0 - 0- - 0- = a- --'0 - ~00- 0 0 - 0- -.- 00. a - - a a a - ~0~~ - Home 52-29 45-36 41-40 38-43 35-46 Home 44-37 51-30 43-38 42-39 39-42 37-44 Away 44-37 43-38 38-43 34-47 34-47 Away 41-40 32-49 35-46 31-50 33-48 31-50 West Division W L Pct GB L10 Str Home Away Intr x-Los Angeles 94 68 .580 z-4-6 L-1 54-27 40-41 14-4 Seattle 88 74 .543 6 z-7-3 W-5 49-32 39-42 9-9 Oakland 76 86 .469 18 2-8 W-1 40-41 36-45 10-8 Texas 75 87 .463 19 5-5 L-3 47-34 28-53 11-7 x-clinched division, y-clinched playoff spot, z-first game was a win x-Arizona Colorado San Diego Los Angeles San Francisco West Division W L Pct GB L10 90 72 .556 z-5-5 89 73 .549 1 z-9-1 89 73 .549 1 4-6 82 79 .509 7% 3-7 70 91 .435 19% 3-7 ~e ~e * 0 0 0 - 0 .0 - -e a a 0 - a 0 a--~ - - 0 dip a- a41b.. S -ow 4m0do dub 0 a am. S4w- .401.% 4w 4w0 -m Str Home L-2 50-31 W-2 50-31 L-2 47-34 W-2 43-37 L-4 39-42 Away 40-41 39-42 42-39 39-42 31-49 40 0 4w- 0 __ - - - a ~-- a- ~ a 0 -~ a- a - - a- 0 ____ QW10 *4w 4 w - - - te am a a a o - "Cop rig htedMaterial 0 - -a ~- 0 a- - a- 0 - 0 0- - . Syndicated Content Available from Commercial News Providers" 0 0 a a - 0 - - .0 0 - a-. a- - oa. 0 0-- a- a 0 - al - - a 0 a- a- qw 4D 4D 4 4D 4D o 0 0 - - a - a - a a- a - -a- 0-- ~0- - ~. ~. - 00 0 0 - a - -- a- = a. .~ a 0 a- - a- - 0 - 0 a - 0~ a- -- a a 0 - -- a- 0 - a-- a - 0 - - 0 ~ - 41M 6 0b 4m-m - a - - a - a- -- a - a - - a-- - a ~ 00 0 ~-a - - -, a-a - 0 - 0 * - 0 D 4 - 0 a a-a - * -- - a- - -- 0- a 0 *~ a - -40 -4M.- o a - - 0 ~0 0 .0 - a- -- 0 -'a- a - 0 - - - * a 0- a - a- a- W - W a a - 0 * *~0 a 0- a- a- 0~ a a a a --a- a -. - -- 0 a- a - a 0 * - a - U - 0 0 ____ - a. a ~- W - 0 -. 0~ a-~ -- a- 0 a a -~ ~ a 0- Q a G- CAP a --MOM 0 --0 411P -,Q 0 --0 ao-90-- .0-M -a a -- low ' Om -~ a- W Qa -O D 040 0 0.1m qtp-- ob .- -ab om a -no-- - 41D -mamp.-"mb mm- 0 0 0-No a- a4 0 40 0 11po 4 - a 0 * 0 0 O a - a a -1 a a 0 a - 0 - * 4 e - * Q O Q .0w ftle 4mm a 4WD MD 0 I I Ll"- CITRUS COUNTY (FL) CHRONICLE C rnf- rf7 A n 4B MONDAY, OCTOBER 1, 2007 FOOTBALL Lions 37, Bears 27 Chicago 0 7 6 14 27 Detroit 3 0 0 34 37 First Quarter Det-FG Hanson 49, 10:05. Second Quarter Chi-Muhammad 15 pass from Griese (Gbuld kick), 4:16. Third Quarter Chi-FG Gould 49, 5:08. Chi-FG Gould 41, :49. Fourth Quarter Det-McDonald 4 pass from Kitna (Hanson kick), .14:56. Pet-Smith 64 interception return (Hanson kick), 13:14. Chi-Hester 97 kickoff return (Gould kick), 12:57. Det-Walters 15 pass from Kitna (Hanson kick), 10:06. Det-Jones 5 run (kick blocked), 3:34. Chi-Clark 1 pass from Griese (Gould kick), :52. bet-FitzSimmons (Hanson kick), :45. A-60,811. 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 41 kickoff return Chi 22 303 22-69 234 5-95 7-219 0-0 34-52-3 6-52 5-44.6 5-0 14-102 30:23 Det 19 310 25-95 215 2-17 5-129 3-69 20-24-0 6-32 5-43.4 4-2 9-59 29:37 INDIVIDUAL STATISTICS RUSHING-Chicago, Benson 15-50, Griese 2-8, Peterson 2-8, Wolfe 3-3. Detroit, Bell 11-46, Jones 10-38, McDonald 1-9, Bradley 1-3, Kitna 2-(minus 1). PASSING-Chicago, Griese 34-52-3- 286. Detroit, Kitna 20-24-0-247. RECEIVING-Chicago, Berrian 8-99, Clark 7-44, Muhammad 5-49, Davis 5-38, Benson 5-24, Peterson 3-29, Hester 1-3. Detroit, Williams 6-53, Furrey 5-91, McDonald 3-31, Walters 2-36, Jones 2-6, McHugh 1-23, Bell 1-7. MISSED FIELD GOALS-Chicago, Gquld 52 (BL). Detroit, Hanson 39 (BL). Colts 38, Broncos 20 Denver 10 3 7 0 20 Indianapolis 0 14 14 10 38 First Quarter Den-FG Elam 35, 11:32. Den-Marshall 7 pass from Cutler (Elam kick), 2:19. Second Quarter Ind-Addai 14 run (Vinatieri kick), 14:23. Den-FG Elam 22, 8:29. Ind-Clark 9 pass from Manning (Vinatieri kick), 3:49. Third Quarter Ind-Manning 1 run (Vinatieri kick), 11:46. fnd-Clark 3 pass from Manning (Vinatieri kick), 8:55. Den-Cutler 2 run (Elam kick), 1:10. Fourth Quarter Ind-Wayne 5 pass from Manning (Vinatieri kick), 10:56. Ind-FG Vinatieri 22, 2:34. Den Ind First downs 22 30 job. ~ a a GW Total Net Yards Rushes-yards Passing Punt Returns Kickoff Returns Interceptions Ret. Comp-Att-lnt Sacked-Yards Lost Punts Fumbles-Lost Penalties-Yards Time of Possession 354 36-223 131 0-0 5-110 0-0 13-21-1 1-0 2-56.0 2-1 4-32 29:12 419 37-226 193 1-2 5-127 0-0 20-27-0 0-0 2-30.0 0-0 2-10 30:48 INDIVIDUAL STATISTICS RUSHING-Denver, Henry 26-131, Young 8-81, Cutler 2-11. Indianapolis, Addai 19-136, Keith 10-80, Lawton 4-13, Manning 4-(minus 3). PASSING-Denver, Cutler 13-21-1-131. Indianapolis, Manning 20-27-0-193. RECEIVING-Denver, Graham 4-35, Marshall 3-23, Stokley 2-20, Young 2-19, Jackson 1-24, Sapp 1-10. Indianapolis, Clark 6-76, Wayne 5-38, Addai 3-10, Fletcher 2-33, Gonzalez 1-19, Harrison 1- 8, Moorehead 1-5, Keith 1-4. Chiefs 30, Chargers 16 Kansas City 0 6 10 14 30 San Diego 10 6 0 0 16 First Quarter SD-FG Kaeding 24, 8:19. SD-Tomlinson 5 run (Kaeding kick), 3:56. Second Quarter KC-FG Rayner 21, 11:10. SD-FG Kaeding 51, 6:55. KC-FG Rayner 25, 1:20. SD-FG Kaeding 38, :00. Third Quarter KC-FG Rayner 41, 5:28. KC-Gonzalez 22 pass from Huard (Rayner kick), 1:50. Fourth Quarter KC-Bowe 51 pass from Huard (Rayner kick), 11:46. KC-Brackenridge (Rayner kick), 7:24. A-65,175. First downs Total Net Yards *Rushes-yards Passing Punt Returns Kickoff Returns Interceptions Ret. Comp-Att-lnt Sacked-Yards Lost Punts Fumbles-Lost Penalties-Yards Time of Possession 50 fumble return KC 17 390 28-126 264 0-0 3-50 2-8 17-29-2 2-20 4-51.0 1-0 4-28 30:05 SD 19 333 24-133 200 3-28 6-161 2-17 21-42-2 1-11 4-38.8 2-2 4-21 29:55 INDIVIDUAL STATISTICS RUSHING-Kansas City, L.Johnson 25- 123, Bennett 1-6, Huard 2-(minus 3). San Diego, Tomlinson 20-132, B.Davis 1-4, Neal 1-(minus 1), Turner 2-(minus 2). PASSING-Kansas City, Huard 17-29-2- 284. San Diego, Rivers 21-42-2-211. RECEIVING-Kansas City, Bowe 8-164, Gonzalez 5-71, L.Johnson 3-25, Wilson 1- 24. San Diego, Gates 6-79, Tomlinson 5- 22, Floyd 3-28, V.Jackson 3-52, Neal 2-8, B.Davis 1-8, Sproles 1-14. MISSED FIELD GOALS-None. Giants 16, Eagles 3 Philadelphia 0 0 0 3 3 N.Y. Giants 0 7 9 0 16 Second Quarter NY-Burress 9 pass from Manning (Tynes kick), 11:09. Third Quarter * a - NY-FG Tynes 29, 2:03. NY-Mitchell 16 fumble return (kick failed), 1:30. Fourth Quarter Phi-FGAkers 53, 12:51. A-78,862. Phi NYG First downs 16 16 Total Net Yards 190 212 Rushes-yards 23-114 27-83 Passing 76 129 Punt Returns 3-20 5-41 Kickoff Returns 4-98 1-32 Interceptions Ret. 1-49 0-0 Comp-Att-Int 15-31-0 14-26-1 Sacked-Yards Lost 12-62 1-6 Punts 8-41.6 6-37.2 Fumbles-Lost 4-1 0-0 Penalties-Yards 15-132 4-27 Time of Possession 30:26 29:34 INDIVIDUAL STATISTICS RUSHING-Philadelphia, Buckhalter 17- 103, Hunt 2-7, McNabb 4-4. New York, Ward 19-80, Droughns 5-8, Manning 3- (minus 5). PASSING-Philadelphia, McNabb 15- 31-0-138. New York, Manning 14-26-1- 135. RECEIVING-Philadelphia, Buckhalter 4-35, Celek 3-31, Brown 3-17, Curtis 2-21, Avant 1-12, Mahe 1-11, Schobel 1-11. New York, Toomer 4-54, Burress 4-24, Ward 3- 26, Shockey 1-17, Hedgecock 1-9, Matthews 1-5. MISSED FIELD GOALS-Philadelphia, Akers 42 (WL). New York, Tynes 34 (WR). Seahawks 23, 49ers 3 Seattle 0 13 7 3 23 San Francisco 0 0 3 0 3 Second Quarter Sea-FG J.Brown 23, 12:55. Sea-Engram 17 pass from Hasselbeck (J.Brown kick), 6:10. Sea-FG J.Brown 31, :57. Third Quarter Sea-Pollard 14 pass from Hasselbeck (J.Brown kick), 12:11. SF-FG Nedney 43, 4:36. Fourth Quarter Sea-FG J.Brown 25, 14:49. A-67,651. 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 17 371 37-93 278 5-42 1-22 2-54 23-32-1 2-3 8-38.3 0-0 3-15 36:10 SF 9 184 19-109 75 6-63 4-92 1-0 12-34-2 6-53 10-54.3 5-1 9-65 23:50 INDIVIDUAL STATISTICS RUSHING-Seattle, Alexander 25-78, Morris 5-13, Weaver 3-6, Wallace 1-(minus 1), Hasselbeck 3-(minus 3). San Francisco, Gore 16-79, Robinson 1-28, Hicks 2-2. PASSING-Seattle, Hasselbeck 23-31- 1-281, Wallace 0-1-0-0. San Francisco; Dilfer 12-33-2-128, A.Smith 0-1-0-0. RECEIVING-Seattle, Branch 7-130, Engram 4-53, Weaver 4-26, Pollard 2-23, Burleson 2-10, Wallace 1-18, Strong 1-12, Alexander 1-5, Morris 1-4. San Francisco, Gore 3-42, D.Jackson 3-38, Battle 3-19, Jacobs 1-14, Hicks 1-8, Walker 1-7. MISSED FIELD GOALS-None. The AP Top 25 col- lege. O - w. a - * ~-a a 0 0 On the AIRWAVES TODAY'S SPORTS AUTO RACING 3 p.m. (ESPN2) NASCAR Nextel Cup LifeLock 400. (Taped) BICYCLING 4 p.m. (VERSUS) Vuelta a Espana. (Taped) BILLIARDS 7:30 p.m. (ESPN2) 2007 WPBA Florida Classic Semifinal. (Taped) 8:30 p.m. (ESPN2) 2007 WPBA Flonda Classic Semifinal. (Taped) 9:30 p.m. (ESPN2) 2007 WPBA Florida Classic Final. (Taped) FOOTBALL 8:30 p.m. (ESPN) New England Patriots at Cincinnati Bengals. RUGBY 6 p.m. (VERSUS) IRB World Cup 2007 South Africa vs. United States. (Taped) Varsity Prep CALENDAR TODAY'S PREP SPORTS BOYS.GOLF 1:30 p.m. Crystal River at Springstead GIRLS GOLF 3:30 p.m. Lecanto, Belleview at West Port SWIMMING 4:30 p.m. Citrus at Zephyrhills VOLLEYBALL 7 p.m. Citrus at Meadowbrook Academy NFL STANDICONFERENGS AMERICAN CONFERENCE New England Buffalo N.Y. Jets Miami Indianapolis Jacksonville Tennessee Houston Pittsburgh Baltimore Cleveland Cincinnati Denver Kansas City Oakland San Diego Dallas Washington N.Y. Giants Philadelphia Tampa Bay Carolina Atlanta New Orleans Green Bay Detroit Chicago Minnesota Seattle Arizona San Francisco St. Louis East L T Pct PF PA 0 01.000 114 35 3 0 .250 41 93 3 0 .250 72 103 4 0 .000 78 119 South L T Pct PF PA 0 01.000 131 74 1 0 .667 46 34 1 0 .667 64 46 2 0 .500 94 80 North L T Pct PF PA 1 0 .750 111 47 2 0 .500 79 90 2 0 .500 109 118 2 0 .333 93 95 West L'T Pct PF PA 2 0 .500 72 95 2 0 .500 56 66 2 0 .500 102 100 3 0 .250 68 102 HomeAway 2-0-0 1-0-0 1-1-00-2-0 1-1-00-2-0 0-2-0 0-2-0 HomeAway 2-0-0 2-0-0 1-1-0 1-0-0 0-1-02-0-0 1-1-01-1-0 HomeAway 2-0-0 1-1-0 2-0-0 0-2-0 2-1-00-1-0 1-0-00-2-0 HomeAway 1-1-01-1-0 1-0-01-2-0 1-1-01-1-0 1-1-00-2-0 NATIONAL CONFERENCE East L T Pct PF PA 0 01.000 151 72 1 0 .667 53 49 2 0 .500 88 100 3 0 .250 84 73 South L T Pct PF PA 1 0 .750 81 44 2 0 .500 82 87 3 0 .250 56 80 3 0 .000 38 103 North L T Pct PF PA 0 01.000 105 66 1 0 .750 114 121 3 0 .250 60 95 3 0 .250 67 59 West L T Pct PF PA 1 0 .750 87 53 2 0 .500 84 80 2 0 .500 56 93 4 0 .000 39 103 HomeAway 2-0-02-0-0 1-1-01-0-0 1-1-01-1-0 1-1-00-2-0 HomeAway 2-0-0 1-1-0 0-2-0 2-0-0 1-1-00-2-0 0-1-00-2-0 HomeAway 2-0-0 2-0-0 2-0-0 1-1-0 1-1-00-2-0 1-1-00-2-0 HomeAway 2-0-01-1-0 2-0-0 0-2-0 1-1-01-1-0 0-2-0 0-2-0 AFC NFC Div 3-0-0 0-0-0 2-0-0 1-3-0 0-0-0 1-1-0 1-3-0 0-0-0 1-2-0 0-2-0 0-2-0 0-1-0 AFC NFC Div 3-0-0 1-0-0 2-0-0 1-1-0 1-0-0 0-1-0 1-1-01-0-0 1-1-0 1-1-0 1-1-0 0-1-0 AFC NFC Div 2-0-0 1-1-0 1-0-0 1-2-0 1-0-0 0-2-0 2-2-0 0-0-0 2-1-0 1-1-00-1-0 1-1-0 AFC NFC Div 2-2-0 0-0-0 1-0-0 1-1-01-1-0 1-0-0 2-1-0 0-1-0 0-1-0 0-2-0 1-1-0 0-1-0 NFC AFC Div 3-0-0 1-0-0 1-0-0 1-1-0 1-0-0 1-1-0 2-2-0 0-0-0 2-1-0 1-3-0 0-0-0 0-2-0 NFC AFC Div 3-1-0 0-0-0 2-0-0 2-1-0 0-1-0 1-1-0 0-2-0 1-1-0 0-1-0 0-1-0 0-2-0 0-1-0 NFC AFC Div 3-0-0 1-0-0 1-0-0 2-1-0 1-0-0 2-0-0 0-2-0 1-1-0 0-1-0 1-2-0 0-1-0 0-2-0 NFC AFC Div 2-1-0 1-0-0 1-1-0 1-1-0 1-1-0 1-1-0 2-1-0 0-1-0 2-1-0 0-4-0 0-0-0 0-1-0 -a-a -dub - w 4w -- - - S - - a - a - a -~ - a. ~ - ~.w -~ .. ~,a.E - ___ a - a ~- a~a. ~ -. a "Copyrighted Material Syndicated Content - L qw= __ __ -low- - -. 0 - a -mS. 41. -- Available from Commercial News Providers" - a. -*.a Sunday's Games Detroit 37, Chicago 27 Dallas 35, St. Louis 7 Oakland 35, Miami 17 Atlanta 26, Houston 16 Buffalo 17, N.Y. Jets 14 Green Bay 23, Minnesota 16 Cleveland 27, Baltimore 13 Seattle 23, San Francisco 3 Tampa Bay 20, Carolina 7 Indianppolis 38, Denver 20 Kansas City 30, San Diego 16 Arizona 21, Pittsburgh 14 N.Y. Giants 16, Philadelphia 3 Open: Washington, Jacksonville, New Orleans, Tennessee Monday's Game New England at Cincinnati, 8:30 p.m.. SHARE YOUR THOUGHTS 0 Follow the instructions on today's Opinion page to send a letter to the edi tot. S Letters must be no longer than 350 words, and writers will be limit- ed to three letters per month - C - - 0-0 - - - a --0 -0 -- a - - C*- a --a - qw- --M _-.9m. . a a -Mm - -e - a. - 0-- - a.- - -b a 0 a a. NM - .lw -a - e a - a a. -a - a. - - a a 0 -a a. a. - - -,m - lp -0 . - a - 0- - a -a FESTO Continued from Page 1B the middle and the passing game that averaged 16 yards per completion didn't even break eight in the opening half. Sure, Florida's receivers can fly in the open field, but Auburn's closing speed was just too great for the Gators to keep throwing three and four- yard passes. It almost seemed like the Gators were too comfortable playing at home. Like the 90,685 fans in attendance wouldn't let them lose, and why would they think any different. The team was riding an 18-' game home win streak and 75 percent of the team had never experienced a loss in the Swamp. "It makes me sick to my stomach," Urban Meyer said of his first home loss at Florida. Still, the game wasn't all bad for Florida. The Gators did manage to come back from a 14-point deficit and showed some character doing it. Freshman Major Wright forced a game-changing fumble and the offense got some things fixed and started to move the ball. "I think our team showed a lot of persevi back, down back to tie th said. The expe doubt be imp son progress opponents ge Florida ha four times sin four games F] in the top Gators just themselves; n ed to lose the an SEC West Last year, was defined b3 a heartbre Auburn; with erance in coming schedule this week, and so 14 and battling many undefeated teams falling hat game," Tebow this past week, Florida has a chance to do it again. rience will no "Look what happened to us )ortant as the sea- last year," senior captain Tony es and the Gators' Joiner said. "We get an oppor- t tougher, tunity next week to go in and s lost to Auburn play a very good team in LSU, ice 1994 and in all the No. 2 (now No. 1) team in lorida was ranked the country, we just have to five. Maybe the come out and we have to prac- got too high on tice well this week and we have maybe they need- to be focused." ir annual game to _______ opponent. Florida's season Alan Festo is a sports writer )y what it did after for the Chronicle. making loss to He can be reached at No. 1 LSU on the afesto@chronicleonline.com "~V Saturday, October 13 9:30 a.m. 4 p.m. Crystal River National Wildlife Refuge (next to Port Paradise Resort) Cherokee Indian blessing ceremony 9:30 a.m. 1502 S.E. Kings Bay Drive, Crystal River FIl 563-2088 Hands on displays ~ exhibits ~ children's activities ~ educational games Sponsored By: Friends of the Chassahowitzka National Wildlife Refuge Complex 98.5 KTK CHR NICLE Sky 97.3 FM 4w a- . - 44. 0 a a -~ - 0~ 'a - ~ - - a a a ~. S b - -do , . qF - W * . w O ql ^ - q 4b -- o o WL CITRUS CoUN'n' (FL) CHRONICLE SPORTS MONDAY, OCTOBER 1, 2007 5B LAem iveFSU Rim*in Avtory -- a - - Sa - - U a -- ~ a. - S a -- ~. * 0 = S " - - ~*. - -~ w f , - - w - e.-..~ a- -~ - w.. *~ e. - - .~ - a - - -a- - -a - ~- - S - 9.- . - 0 S0 q - - * - U * - - 5- - a - -~- _ S S t'$fi'~wthrd yri ~teilw a.'Cpht`a u Syndicated Content- U S59 Available from Commercial News Providers" -- w - U -~ 5- - U ~ b-a.- ~ -. a-.a - -'o 4 . 41b-4a m G- ,-qw am apsh -~ -~a-- .0~a a-- a.- a-41b Mo. ow 4b 40 o . qw qbbw- - -qm em -Maio ft ow - -- C * - U - .5 .. b a - - C - ft - a 0 - - S S. - 55 -- U - - qw f IONA Friends of the Library ---"'FALL BOOK SALE Fundruiser 0ituber 5=9 Citrus County Auditorium US 41 S., Inverness Sale Hours Fri. 5-8 p.m. with $5 donation No admission charge for the following Sat. 8 a.m. 4 p.m. Sun. 1 p.m. 4 p.m. SIM I Mon. 10 a.m. 7p. M. (half price day) W-102", Tue. 10 a.m. 3p. M. ($3 a bag) Great bargains in recycled reading! 90 AMWL I L'Itdvoo, Thousands of best sellers, Westerns, ir, romance, computer, large print, history, VOR crafts, cooking, health & fitness, children's, travel, foreign language, vintage & collectible, etc. (' St Proceeds benefit Friends of Coastal Region, Central Ridge and Lakes Region Libraries and Citrus County Library System. R For book sale information call 746-1334 or 527-8405 0- 0 915-1001 F/M CRN NOTICE OF ESTABLISHMENT OR CHANGE OF A REGULATION AFFECTING THE USE OF LAND An Application for Amendment to the Land Development Code Text has been received by the Citrus County Planning and Development Review Board (PDRB) and forwarded to the Board of County Commissioners (BOCC) September 11. 2007 at 3:00 PM, and a public hearing on October 09. 2007. at 5:01 PM, at the Citrus County Court House, 110 N. Apopka Avenue, Room 100, Inverness, Florida 34450. 719491 p.- ~ - - - S 0 - I. MONDAY, OCTOBFR 1, 2007 58 SPORTS CITRus Coumn, (Fl.) CHRONICLE - 4 dub. .,Iron, 4 [!A Afw Abnow a Aim bp pis# Entertamnm.ent **.,i. -141SDAY OCTOBER 1 2007 CITRUS COUNTY CHRONICLE Florida LOTTERIES F Radda ~ - . Here are the winning numbers selected Sunday in the Florida Lottery: CASH 3 5-7-8 PLAY 4 3-2-3-1 FANTASY 5 9-16-30-34-36 0 -e C 0. m - "Copyrighted Material SATURDAY, SEPTEMBER 29 Cash 3:8-4-4 o Play4:0-9-2-4 Lotto: 11 17 26 29 47 48 6-of-6 No winner 5-of-6 82 $4,816.50 4-of-6 4,663 $68.50 3-of-6 93,716 $4.50 Fantasy 5:5 7 14 15 18 5-of-5 2 winners $140,614.91 4-of-5 480 $94 3-of-5 14,431 $8.50 FRIDAY, SEPTEMBER 28 Cash 3:1 9 0 Play4:1-8-7-4 Fantasy 5:'2 13- 20- 28 29 5-of-5 1 winner $262,376.56 4-of-5 279 $151.50 3-of-5 9,996 $11.50 S" Mega Money: 1 3 6 42 SMega Ball: 1 4-of-4 MB No winner S 4-of-4 4 $2,426 " 3-of-4 MB 88 $241.50 - 3-of-4 1,769 $35.50 2-of-4 MB 2,044 $21.50 -Syndcated Content 'Available from Commercial News Providers" INSIDE THE NUMBERS To verify the accuracy of wninring lottery numbers, players should double-check the numbers printed above with numbers officially posted by the Florida Lottery. On the Web, go to .corn; by telephone, call (850) Today in HISTORY meO e .4 b* S = -. . qw qw M hm a* I OIW m 0 ob 1M 4 41 am 0 o om a. - 9b- - a - &A* .mm S - - S. leas j 9 -- mNO o * * - - - S - S - - . dp - 4w - ow- - .0 411. - 4w q-do0do m - 4 b - 0 * - unnm * dW - M - C W - dW* W a n a - S* , Today is Monday, Oct. 1, the 274th day of 2007. There are 91 days left in the year. Today's Highlight in History: On Oct. 1, 1908, Henry Ford introduced the Model T automobile to the market. On this date: In 1936, Gen. Francisco Franco was proclaimed the head of an insurgent Spanish state. In 1957, the motto "In God We MEM 0Trust" began appearing on U.S. paper currency. In 1964, the Free Speech Movement was launched at the University of California at Berkeley. S- oIn 1971, Walt Disney World S opened in Orlando, Fla. SIn 1987, eight people were killed When an earthquake measuring magnitude 5.9 struck the Los S- t Angeles area. Ten years ago: In Pearl, Miss., 16-year-old Luke Woodham .- .. stabbed his mother to death, then went to school with a rifle and S .. opened fire, killing his former girl- friend and another student and wounding seven others. Five years ago:I raq agreed to a plan for the return of U.N. weapons inspectors for the first 'time in nearly four years, but ignored U.S. demands for access Sto Saddam Hussein's palaces and Other contested sites. S One year ago: The Israeli army completed its withdrawal from muiLebanon, clearing the way for a U.N. peacekeeping force. Today's Birthdays: Actor James Whitmore is 86. Former S- President Jimmy Carter is 83. __ Actor Tom Bosley is 80. Actress- .... singer Julie Andrews is 72. Actress Stella Stevens is 71. Rock musi- cian Jerry Martini (Sly and the Family Stone) is 64. Baseball Hall of Famer Rod Carew is 62. Jazz musician Dave Holland is 61. Actor Stephen Collins is 60. Actor Randy SnQuaid is 57. Actress Yvette Freeman is 50. Singer Youssou N'Dour is 48. Actor Esai Morales is t 45. Actor Christopher Titus is 43. S- "- Actress-model Cindy Margolis is 42. Rock singer-musician Kevin SGriffin (Better Than Ezra) is 39. Singer Keith Duffy is 33. Actress S- Jurnee Smollett is 21. Thought for Today: "Everybody favors free speech in the slack moments when no axes are being ground." Heywood C. S Broun, American journalist (1888- 1939). - S o S a a REMEMBER WHEN * For more local history, visit the Remember When page of ChronicleOnline.com. I ti VO~vt- * - 0 - S = 4 a ~ * a -w- - 1 - a S a S - C -- m s o - * - O * - . - * D qm. qlb o . w . . - *i o - 91, . C','nc is Coc iN'fl' (El.) CIIJorvIcI E ENTERVAINMENT MONDAY, Oc'roBI~m 1, 2007 7B MONDAY EVENING OCTOBER 1, 2007 c: Comcast,Citrus B: Bright House D: Comcast,Dunnellon I: Comcast, Inglis C B D I 6:00 6:30 7:00 7:30 8:00 8:30 9:00 9:30 10:00|10:30 11:00 11:30 LWESH ] 9 News (N) 52 NBC News Entertainme Access Chuck "Chuck Versus the Heroes "Lizards" (N) (In Journeyman "Friendly News Tonight NBC 19 19 19 nt Hollywood Helicopter" 'PG, V' 3352 Stereo) '14, V' [ 2848 Skies" (N) '14' R 3975 2017623 Show LWEDU) BBC World Business The NewsHour With Jim The War "The Ghost Front" (N) (In Stereo) '14' 3[ The War "The Ghost Front" (in Stereo) '14' B9 PBS U 3 3 News 'G' 78 Rpt. Lehrer 9B 1130 7189642 3222642 (W5UFT BBC News Business The NewsHour With Jim The War "The Ghost Front" (N) (In Stereo) '14' 9 The War "The Ghost Front" (In Stereo) '14' [M POS 0 5 5 5 1772 Rpt. Lehrer (N) 17159 8771081 3440178 (W A 8 8 8 8 News (N) NBC News Entertainme Extra (N) Chuck "Chuck Versus the | Heroes "Lizards" (N) (In Journeyman "Friendly News (N) Tonight NBC 8 8 8 8 7710 nt 'PG' B] Helicopter" 'PG, V' 19517 jStereo)'14, V 9 22081 Skies" (N) '14' 9 32468 1331130 Show (WFTV) News (N) ABC WId Jeopardy! Wheel of Dancing With the Stars (In Stereo Live) 'PG' [ The Bachelor(N) (In News (N) Nightline ABC 20 20 20 20 [ 4642 News 'G' EB 5265 Fortune (N) 53975 Stereo) '14' OX65710 9347352 78324420 WTSP 10 10 10 10 News (N) Evening Inside Be a How I Met Big Bang Two and a Engagemen CSI: Miami "Cyber-lebrity" News (N) Late Show CBS 10 10 1 2284 News Edition 'PG' Millionaire Theory Half Men t (N) '14, L,V' c 63352 9345994 T 13 13 News (N) [9 92401 TMZ (N) The Insider Prison Break "Call K-Ville "Bedfellows" (N) News (N) B9 96604 News (N) TMZ'PG' FOX I 13 13 'P 'PG'4420 Waiting" '14, D,L,V' 5 '14, L,V' 9 93517 4589739 B9 4887772 WCJB) News (N) ABC WId Entertainme Inside Dancing With the Stars (In Stereo Live) 'PG' c The Bachelor (N) (In News (N) Nightline ABC 11 11 31772 1News nt Edition 'PG' 62265 Stereo) '14' 9 41772 5704420 65699371 WC m Richard and Lindsay Steve-Kathy Zola Levitt Gregory IPossess the Life Today Manna-Fest The 700 Club 'PG' B9 Pentecostal Revival Hour IND 2 2 2 2 Roberts'G'B 1396028 Presents Dickow'G' 'G' 8728468 'G' 9 5135371 B9 7668888 WFT m .News (N) ABC Wid Wheel of Jeopardy! Dancing With the Stars (In Stereo Live) 'PG' 9 The Bachelor (N) (In News (N) Nightline ABC 11 11 28246 News Fortune (N) (N) 'G' 26401 Stereo) '14' B9 45536 4335555 47328361 [WMOR) Family Guy Family Guy Frasier 'PG' Access Law & Order: Criminal Movie: ** k' "Dead Heat" (2002) Kiefer Reno 9111 Will & Grace IND S 12 12 '14, D,L' '14, L' 15333 92994 Hollywood Intent '14' c 97913 Sutherland, Anthony LaPaqlia. c9 67772 '14' 65826 'PG' ,L 6 6 6 6, Judge Mathis (N) (In Every- Seinfeld 'G' Celebrity Expos6 (N) c9 Control Room Presents Every- Scrubs '14' Seinfeld Sex and the MNTfl 6 6 6 6 Stereo) 'PG' c 3134159 Raymond 9041420 6818401 (N) B 6838265 Raymond 4890197 'PG, D' City '14, S 22WACX121 Faith The 700 Club 'PG' c[ Variety 6604 Love a Child Pastor Jim The Faith R. The Gospel Claud Bowers 70975 TBN 21 21 21 Builders 150352 'PG' 6739 Raley 5246 Show Scarboroug Truth 'G' WTOG] Two and a The King of The Two and a Hates Chris Aliens in Girlfriends The Game The King of According to That '70s That '70s CW J 4 4 4 4 Half Men Queens Simpsons Half Men America (N) '14, L' (N) 84008 Queens Jim 'PG, L' Show 'PG, Show '14, (WYE) TV 20 News Law Talk County Inside Citrus Let's Talk Golf 71975 Eastern Golf Links Classic Golf Cross TV 20 News County FAM I 16 16 16 16 22623 Court 28807 Illustrated Points Court (WOGX TMZ (N) King of the The The Prison Break "Call K-Ville "Bedfellows" (N) News (N) (In Stereo) 9B Seinfeld 'G' Seinfeld FOX 13 13 'PG' c Hill'PG' Simpsons Simpsons Waiting" '14, D,L,V' B '14, L,V 3 57791 67178 45468 'PG, D' (WVEAI m 15 41 15 Noticias 62 Noticiero Yo Amo a Juan Amar sin Limites 829352 Destilando Amor 816888 Cristina Sergio Goyri. Noticias 62 Noticiero UNI 9 15 5 (N) 116265 Univisi6n Querend6n 810604 819975 (N) 180975 Univisi6n (wxpx Doc "All in the Family" (In Designing Mama's Mama's Perfect Who's the IWho's the The Wonder The Wonder Time Life Paid i ( 17 Stereo) 'PG' ] 83517 Women 'PG, IFamily 'PG' Fami 'PG' IStraners Boss? 'G' IBoss? 'G' Years 'G' Years 'PG. Music Pro ram (7T ] 54 48 54 54 Cold CaseFiles'14' int CSI: Miami 'Not Landing" The First 48 14' L The First 48 '14'L The First 48 14' The First 48 Airline exec- 130604 '14, S' 1 444284 420604 440468 443555 utive. '14' [ 844420 i55 64 55 55 Movie: "The Great Raid" (2005, War) Movie: *A "Broken Trail" (2006, Western) Robert Duvall, Thomas Haden Church, Greta Scacchi. A Benjamin Bratt, James Franco. 159826 cowboy and his nephew save five girls rom prostitution. '14, L,V' 1 420275 rjjJ 52 35 52 52 The Crocodile Hunter 'G' Killer Elephants 'PG' B9 Meerkat Meerkat Meerkat Meerkat Animal Precinct 'PG' B9 Meerkat Meerkat 9 9596046 5105130 Manor'G' Manor'G' IManor'G' Manor'PG' 15104401 IManor'G' IManor'PG' BfAV 74 Outrageous |Outrageous Movie: *** "Cliffhanger" (1993, Action) Sylvester Stallone, Movie: * "ClIffhanger" (1993, Action) Sylvester Stallone, S John Lithgow, Michael Rooker. Premiere. 980178 John Lithgow, Michael Rooker. 691772 r 27 61 27 27 Movie: ** "Scorched" Scrubs '14' Scrubs '14' Daily Show Colbert Mind of South Park Scrubs '14, IScrubs '14' Daily Show Colbert ] 54555 94352 13975 Report Mencia '14' 'MA, L' D' 34791 150739 Report (i 98 45 98 98 Faith Hill: Fireflies (In Insider Faith Comedy Comedy Comedy Home Home Dallas Cowboys Cheerleader Cheerleader Stereo) IB 63791 Club 26449 Club 83246 Club 95081 Videos Videos Cheerleaders: Making s s EW 95 65 95 95 One-Hearts Vatican Daily Mass: Our Lady of The Journey Home 'G' Letter and The Holy Abundant Life 'G' The World Over 9274420 the Angels 'G'8074401 8090449 Spirit 'G' Rosary 8073772 FAM 29 52 29 29 8 Simple 8Simple Movie: ** "A League of Their Own" (1992) Tom Hanks. A women's pro- America's Funniest Home The 700 Club 'PG' B9 Rules 'PG' Rules 'PG' fessional baseball league debuts in 1943. 1 966178 Videos 'PG' 954246 587474 30 60 30 30 Movie: * A "Deep Blue Sea" (1999) Thomas Movie: * "X-Men" (2000, Action) Hugh Jackman, Patrick That '70s That '70s "The Edge' Jane, Saffron Burrows. 8099710 Stewart, lan McKellen. 2324468 Show '14, Show '14, (UGTV) 23 57 23 23 Offbeat If Walls House House Designed to Buy Me'G' Color lHidden House Living With House My First America 'G' Could Worth? IHunters 'G' Sell (N) 'G' 18334130 Splash 'G' IPotential (N) Hunters 'G' Ed (N) 'G' Hunters Place 'G' ,iST 51 25 51 51 Hitler and the Occult 'PG' Modern Marvels 'G' B9 Modern Marvels "Acid" Digging for the Truth (N) Cities of the Underworld Lost Worlds "The Vikings" Ii ] 4733352 8089333 (N) 'PG' Z 8098081 'PG' 3 8085517 'PG' 8088604 'PG' 1 9289352 ~Wi 24 38 24 24 Reba 'P, L' Reba 'PG' Still Still Reba 'PG' Reba 'PG' Movie: ***r% "Boys Don't Cry" (1999) Hilary Will & Grace Will & Grace 240420 231772 Standing Standing 510791 539826 Swank, Chlod Sevigny. B9 970284 'PG' 'PG' ~ 28 36 28 28 Zoey 101 Ned's Ned's Drake & SpongeBob Drake & Home Home George George Fresh Fresh 'Y7' 713791 School School Josh 'YT7' Josh 'Y7' Improvemen Improvemen Lopez 'PG' ILopez 'PG' Prince Prince off) 31 59 31 31 Stargate SG-1 "Memento" Star Trek: Enterprise "The Star Trek: Enterprise Star Trek: Enterprise Star Trek: Enterprise Virus Buster Virus Buster 'PG' 9 3535401 Xindi" 1451062 "Anomaly" 1460710 "Extinction" 1457246 "Rajiin" c9 1450333 SiPIKEl )37 43 37 37 Star Trek: Voyager CSI: Crime Scene CSI: Crime Scene Movie: * "U.S. Marshals" (1998, Crime Drama) Tommy Lee Jones. Sam 37'43 .... "Natural LaW"'PG' Investigation 'P, L,V' Investigation 'PG, V Gerard gets caught up in another fugitive case. 625975 1 --..49 23 49 49 Friends 'PG' Every- Every- Every- Friends 'PG' Friends 'PG' Family Guy Family Guy Family Guy Family Guy Sex and the ISex and the 613352 Raymond Raymond Raymond 990913 979420 '14, D,L' cc '14, D,L,S' '14, L' '14, D,L' BB City'14, -City '14, S 53 "Murder, Movie: * "The Narrow Margin" Movie: *** "Gandh "(1982) Ben Kingsley, Candice Bergen. A portrait of Movie: "King of My Sweet" (1952) 65076352 the man who led India to independence. B9 25158710 Kings"67073772 (I 53 34 53 53 How It's How It's MythBusters "Steam Man vs. Wild Man vs. Wild "Scotland" Man vs. Wild Pacific Dirty Jobs Marble quarry. Made 'G' Made 'G' Cannon" 'PG' BB 426888 "Everglades"'PQ L' 'PG'415772 Ocean. (N) 'PC, V '14, L,S' 9 859352 TLC 50 46 50 50 Property Ladder Little People, Big World Surviving Sextuplets and Conjoined Twins: Erin World's Heaviest Man Surviving Sextuplets and Anthony's first flip. 'G' 'G' B9 738401 Twins 'G' 754449 and Jade 'PG' B 767913 'PG' 9 737772 Twins 'G'161975 ) 48 33 48 48 Law & Order "Bronx Law & Order 'Couples" Law & Order "Invaders" Law & Order "Ain't No The Closer "Saving Face" Saving Grace "Bring It Cheer" '14' 471739 '14' 769371 (In Stereo) '14' 745791 Love" '14' 765555 '14, L' 9 768642 on, Earl" 'MA, L,S,V' E (TRAV 9 Bizarre Foods With Bizarre Foods With Bizarre Foods With Bizarre Foods With Anthony Bourdain: No Anthony Bourdain: No ... Andrew Zimmern 'PG' Andrew Zimmern 'PG' Andrew Zimmem 'PG' Andrew Zimmern 'PG' Reservations 'PG, D,L' Reservations 'PQ, D,L' ( ) 32 75 32 32 I Love Lucy I1 Love Lucy Andy Griffith Andy Griffith I Love Lucy I Love Lucy I Love Lucy I1 Love Lucy I Love Lucy 11 Love Lucy M'A*S*H M*A*S*H SG' 9 I' G' 9 'G' 9[ 'G' 9 'G' 9 I'G' 'G' ] I'G' [ 'PG' 'PG' )I"iA 47 32 47 47 Law & Order: Special Law & Order. Criminal Law & Order: Special WWE Monday Night Raw (In Stereo Live) '14' 59 Dr. Steve-O Law & Victims Unit '14' 794826 Intent '14' 9 185230 Victims Unit'14' 385438 4968081 59 Order: SVU W 18 18 18 18 Funniest Funniest America's Funniest Home America's Funniest Home America's Funniest Home WGN News at Nine (N) Scrubs '14' Scrubs '14' Pets Pets Videos 'G' 649178 Videos 'PG' 658826 Videos 'PG' 638062 38 648449 919449 853569 MONDAY EVENING OCTOBER 1, 2007 C: ComcastCitrus B: Bright House D: Comcast4Dunnellon 1: Comcast, Inglis Ic B D I 6:00 6:30 7:00 7:30 8:00 8:30 9:00 9:30 10:00 10:30 11:00 11:30 (01 ) 46 40 46 46A Cory in the Cory in the Hannah Zack & Cody Movie:' "Twitches" (2005, Fantasy) Tia Thaf's So That's So Life With Zack & Cody Hannah ( hH 4 4 4 ou se'G' House'G' Montana 'G' Mowry.'G' 1339284 Raven'G' Raven'Y7' Derek'G' Montana'G' (ALE 39 68 39 39 M*A*S*H M*A*S*H Murder, She Wrote (In Murder, She Wrote (In Movie: **s "Perry Mason: The Case ofthe Glass Murder, She Wrote (In 'PG' 2857807 'PG' 2848159 Stereo) 'G' [ 5138468 Stereo) 'G' 9 5114888 Coffin" (1991, Mystery) 'PG' 3 5117975 Stereo) 'G' 3 7686284 B "Charlie Movie: ** 'The Man" (2005) Samuel Real lime With Bill Maher Curb- Countdown Tell Me You Love Me'MA' D.L. Hughley: and..." L. Jackson. [T 923401 'MA' R 886246 Enthsm 31 809197 Unapologetic 'MA' 9 MA .. Movie *** 'Wedding Crashers"(2005, Comedy) Movie: ***. "Flags of Our Fathers"(2006, War) Movie: *** "Fight Club"(1999) Brad Pitt, Edward Owen Wilson. c 978826 Ryan Phillippe. 9 7313994 Norton. (In Stereo) O9 95684197 M 97 66 97 97 Why Can't 1 Room Sucker Free (In Stereo) MTV Special (In Stereo) MTV Special (In Stereo) MTV Special (In Stereo) MTV Special (In Stereo) Be You'PG, IRaiders'PG 953517 962265 1942401 952888 387456 NGC 71 The Hunt for the Boston The Hunt for Lincoln's Inside the Taliban '14, V 4749159 Inside Saddam's Reign of Inside the Taliban '14, V Strangler 'PG' 1281081 Assassin 'P, V 4752623 Terror 'MA' 4751994 6434178 PEX 62 Movie: "Love Potion No. Movie: *% "Heart of Dixie" (1989) Ally IMovie: ** "Look Who's Talking Too" Movie: ** "Three Men and a Little Lady" (1990) 9"(1992) 31213449 Sheedy. E 76717246 (1990),g039784536 Tom Selleck. 9 1025449 CNBC 43 42 43 43 Mad Money 5436913 On the Money 6985197 Fast Money 6961517 Big Mac: Inside the The Big Idea With Donny Mad Money 7723604 (C 40 29 40 40 Lou Dobbs Tonight BB The Situation Room Out in the Open 185410 Larry King Live 'PG' X Anderson Cooper 360 'PG' 9 320130 769130 480802 868886 CU 25 55 25 25 World's Wildest Police Cops'14, V Cops'14, V Most Daring (N) 'PG, L' Forensic Forensic Dominick Dunne: Power, North LA Forensics Videos 'PG' 9 5421081 2422975 9093888 6989913 Files 'PG' Files'PG' Privilege Mission 1'14' (T 44 37 44 44 Special Report (Live) 9[ The Fox Report With The O'Reilly Factor (Live) Hannity & Colmes (Live) On the Record With Greta The O'Reilly Factor 3560197 Shepard Smith 1[] B 1462178 9 1475642 Van Susteren 9774178 MSNBC 42 41 42 .42 Tucker 3566371 Hardball 3M 1459604 Countdown With Keith MSNBC Live With Dan Predator Raw: The MSNBC Investigates Olbermann 1468352 Abrams 1455888 Unseen Tapes 1458975 9770352 ESPNi 33 27 33 33 SportsCenter: Monday Monday Night Countdown (Live) 0 NFL Football New England Patriots at Cincinnati Bengals. From Paul Brown SportsCente ight Kickoff 512284 257826 Stadium in Cincinnati. (Live ) 3882642 r (EPN2 34 28 34 34 NASCAR College Football Live 5 Billiards: 2007 WPBA Billiards: 2007 WPBA Billiards 2007 WPBA Series of 2007 World Series of NOW 30 4883062 Florida Classic Florida Classic Florida Classic Final. Poker Poker 9421062 F 35 39 35 35 Final Score Best Damn Ship Shape In Focus on Rodeo Wrangler Pro Tour Best Damn Toughman Best Damn Final Score Best Damn Toughman ,'L -- . 50 TV'G' FSN Ariat Playoflfs. Special (N) 285994 50 Special (N) 332401 (GiL 67 Personal Playing Leaming Top 10 The Golf Central Natalie My World The Tum Leaming Personal Golf Central Lessons Lessons Center 9000178 Approach (Live) Gulbis 5417888 1665178 Center Lessons ( -0rr) 36 31 36 36 Inside the Inside the Tailgate Overtime (Live) Tampa Bay Lightning Island Sp Olympics Tailgate Overtime 31474 Future Lightning Sp Lightning Lightning 81933 Preseason Special'07 Hoppers henoms. MU wd he plieM wpeb rue gf,, I) - C a- C - - -C - "Copyrighted M - 0 GP.40100 -- M W G adW 4W480 SPON S -MEM ft -- G m - 0 - qda - -00 w - Qlaam e aGO q-- GNOON -GD 1m --40 - * a i~o aw410 Al--o 4M cw O- o- aG~ OW C 410su 4wson v v Y --41. 4D a 401b.- ~ * -- a '~'- 'a a. - -'a' a' = a - -~ - a ~- ~ -~ a' -a' ~ a'- a a -~ 'a ~ -~ a' '~ -- - -'a-a a' -. a - - S - -'--'a . --a a' -- - - - - ~ - a' a ~-a' - -a' S 'a - -~-' - 'a a -~ - -C a'- a- - QU- I jFz L ~.mE=. gbrn material S-. Syndicated Content S- AvailaB e from Commercial News Pro a - - a , - -a a' - - a * a- 0 - a - om OE qm 4w aam ma, a-M ft am soba -do 4OP a' 'ma' am - aw W - ob o a- a 4b- a - C '~qb 40 4m 4m a- -YvY -A'' * * * a- 0 S S S 0 *C* 0 ask.C 'a - a - - -- a -.N w = 4w 41. NIP ft I .M V;'TM rAJ viders'.. a R- - q*m ft-w MONDAY, 0croBER 1, 2007 7B CITRUS COIINl)'(FL) CHRONICLE ENjrEKVAIINA4JENT Q B B N . Ivi ) I 7 CO ICSCIRS ONTL(L cRN .slw- 0 - .- - z 4w - * a - a - 0 - o . - 4 MD WVo i70 S SbW-. - - wp" -- ft- Walt ~ .' -U * -~ Syndicated Content. S"- M N . : .. M) ,,Available from Commercial News Providers" v a I 91 V4A ** . 0, flmhqh dILl * be - - a~. - 7 Oft) .p- - ~ samp n Da . 0 ~zt. ~ D b 'I Today's MOVIES L SO o*1 E4op~mo q 60bo ei dlw. *0. softGRON -4" 00 AML m r Citrus Cinemas 6 -I Inverness Box Office 637-3377 "The Game Plan" (PG) 1:30 p.m., 4:30 p.m. 7:40 p.m. ". The Kingdom" (R) 1 p.m., 4 p.m., 7:20 p.m. Digital. No passes or super savers. "Resident Evil: Extinction" (R) 1:40 p.m., 4:40 p.m., 7:45 p.m. "The Brave One" (R) 1:10 p.m., 4:10 p.m., 7:15 p.m. "3:10 to Yuma" (R) 1:20 p.m., 4:20 p.m., 7:10 p.m. "Mr. Bean's Holiday" (G) 1:45 p.m., 4:45 p.m., 7:50. Digital. 1 1 s t 4h 0 4 0 .. .0 0 I v. 0..0 0 .0 0 0 0 0 *S..0@0. @0 0 *. e0 0 0.- * * d0P -MOM Times subject to change; call ahead. b.90 'WV.; a sh it M.I p. w0 "i *1 I-'1w4 I l-.. 4%0 ~~9 e e v 1 * IL 0 0 * 0e 0* .00 0 0 0 0 CITRus CouNry (FL) CHRONICLE 88 MONDAY, (3CTOBER 1, 2007 COMICS S qbq * o IP. .qD CoLimorm" ft .4dn Ggmlqpm %.46mb "1100, :16 AN '. bw C TRfk CUN )' (EL) CHIRONICLI Ii 1hronicle [ To place an ad, call 563-5966 Classifieds In Print and Online All The Time Fa: 35) 63 665 TllFre:(88)85-24019 mal:clss(jdschoncl* nin*cm wbs6 e w w 6hrnilenlneco T r I -3- -4'B-uil-ing 0 00.@ . 0 0 Driomasl7@ yahoo.com RENTALFINDER rentalfinder com k---- ,I r$$CASH FOR CARS$$ No Title Needed. SGene(352) 302-2781 $$CASH WE BUY TODAY Cars, Trucks, Vans rt FREE Removal Metal, Junk Vehicles, No title OK 352-476-4392 Andy Tax Deductible Recelpt r $$$$$$ I TOP DOLLAR For Junk Cars $(352) 201-1052 $ $$$ ATTENTION $$$ I WANT YOUR JUNK CARS, TRUCKS, ETC. Tommy 352- 302-1276 CASH PAID No title ok $$ CASH PAID $$ Having Code Enforcement problems w/ Junk vehicles in your yard? (352) 860-2545 $ CASH $ PAID FOR Unwanted Vehicles 352-220-0687 Your Iword first Need a job or a qualified employee? This area's #1 employment source! Classifieds CAT Female 6 mos. old, Long hair (352) 637-1401 COCKER SPANIEL PUPS Fem. 9 mons'. unique markings. Good home only. (352) 476-8106 COMMUNITY SERVICE The Path Shelter is available for people who need to serve their community service. (352) 560-6163 or (352) 746-9084 Leave Message Free Horse Manure In time for fall garden Lecanto/Hernondo area. 352-249-9296 FREE PALM TREES all sizes, you dig. and.fill hole. (352) 341-2484 *FREE REMOVAL OF. ATV's, bikes, cars, jet skis mowers, golf carts. We sell ATV parts 628-2084 Free Removal Scrap Metal, Appl.'s, A/C, Mowers, motors, etc. Brian (352) 302-9480 HORSE 9yr old paint mare, to good home. Cannot be ridden, companion only, 352 795-9647 HORSES 1/4 Horse companion only & Thoroughbred, wil be ridable, needs TLC.(352) 503-3909 LG. ELEPHANT EAR PLANTS You dig 'em! (352) 637-4645 SIAMESE CAT, 10mo old. Lost Southern St. CHIHUAHUA FEMALE V iclnity Burma, Rainbow & Cardinal. (352) 503-3597 or (352) 628-7504 PITBULL Female Bik VIC. West Fox Lane (352) 795-4384 Small Dog red, white tip tale, Hernando (35) A8O-A6.3Y WIL TRUST Humane Society of Inverness offers Low Cost Spay & Neuter Service Starting at $20, Low cost vaccines, Heartworm test, Heartworm treat- ment, Cat Declawing. Call for prices and appt, (352) 726-8801 RENTAL FINDER | rentalflnder cam West Coast Christian School Needs Donations of Compute Working or Not Donations are Tax Deductiblel Please Contact Kathy (352) 795-8099 MR CITRUS COUNTY REALTY ALAN NUSSO 3.9% Listings INVESTORS RESIDENTIAL SALES COMMERCIAL SALES (352) 422-6956 ANUSSO.COM CAT ADOPTIONS e. CHkIpN clE (352) 563-5966 (352) 726-1441 9 3 "Copyrighted Material J Syndicated Content Available from Commercial News Providers" I q 4 U 4 A free report of your home's value llving.net Bost a 1 To Your ebsl te Chronicle Website Directory in print and online. Our search engine will link customers directly to your site. In Print + Online = One Price $51.95 (3 lines of copy for 30 days) Header and Website Address Call Today: (352) 563-5966 --- --m J CAR SALES wheels.com NEWSPAPERS onllne.com REAL ESTATE homefront.com RENTALS rentalflnder.com WHOLESALE SHOPPING shooolng,biz ADMINISTRATIVE ASSISTANT Seeking organized person with strong computer experience for marketing/sales center of major area developer located near Inverness. Must be multi-tasking oriented. Full-time w/benefit package. Fox resume to 352-746-4456 SECRETARY F/T Strong computer & organizational skills necessary. Construction office experience desirable. DFWP/EOE Winkel Construction, Inc. Fax resume: 860-0700 HAIR STYLIST F/T-P/T, immed. openings Call Sue 352-628-0630 r Nail Techncian | Exp. w/acrylics & | S (352) 628-4404 'Weekends Now taking applica- tions, in Hernando for Opening mid Oct. (352) 746-0335 WANTED STYLIST/BARBER For Immediate position. High commission pd. Thur./Frl. 9-5, Sat. 9-2. (352) 201-6017 r ADMISSIONS I COORDINATOR CYPRESS COVE | CARE CENTER I Is looking fors l an energetic I professional to Handle admissions. S Marketing or healthcare exp, is | preferred, People H skills are a must. Competitive Salary H & Benefits are Sto: (352) 795-0490 Thr/Fi 5, at.9-2 COOK Long term care experience preferred, Varied hours. Please apply In person Health Center @ Brentwood 352-746-6600 ext. # 8533 EOE D/V/M/F Drug-free facility EARN AS YOU LEARN CNA Test Prep/CPR Continuing Education 341-2311/ Cell 422-3656 EXP'D MEDICAL RECEPTIONIST/ FRONT DESK F/T position. Computer literate. Benefits. Reply to: P.O. Box 207, Crystal River, FL 34429 F/T Med. Asst. GYN experience required, good benefits, salary based on experience based Please send resume to: PO Box 711, Crystal River, FL 34423 LPN NEEDED Must have strong computer skills for clinical research position. Research experience desirable. Please call (352)563-1865 or email rwood@encore docs.com LPN We are a residential program for 96 high and maximum risk males committed to the Dept. of Juvenile Justice. We are currently looking for an LPN to work 11am-7pm M-F and one weekend a month Competitive pay rate Benefit package Apply in person at: Cypress Creek 2855 W Woodland Ridge Dr. Lecanto, FL 34461 Or fax resume to 352-527-2235 Drug Free Workplace /EEO MEDICAL BILLING SPECIALIST Therapy Management Corporation, a leader In the Rehabilitative Services Industry has full time position for Medical Billing Specialists at our Homosassa location. Qualified candidate will have 1-2+ yrs medical billing exp,, strong data entry and good communication skills. TMC offers competitive compensation and benefits Including medical, dental, life and PTO. FAX RESUMES TO: 352-382-0212 or Apply online @ www. theraovmgmt.com MEDICAL CLERK F/T Detail Oriented Position. Requires excellent data entry, organizational & filing Skills. Prev. Medical Exp preferred. Clerical Exp. Required Fax Resume to 352-746-0720 NURSE RECRUITER Requires a Bachelor's degree (additional coursework in Human Resources Management, Business Administration or Psychology preferred), Ideal candidate must be a Registered Nurse or Licensed Practical Nurse with current FL licensure; and be proficient with computer applications. A minimum of 2 years recruiting experience, preferably in an acute setting required. Please apply online at www cilrusmh.com. CMHS Is an equal opportunity employer RN, LPN, CNA, CMA NEEDED SALL STAR Professional Staffing Services 352-560-6210 S~" T "- RN/LPN i CNA/HHA'S i 1 Interim Health Care 1 l m(352)637311 : lnfo@moblform.com SITE MANAGER P/T, Candlewood/ Knollwood, Inverness, FL FAX RESUME TO: (727)447-5516 jobs@flynn management coam SCHIANO'S IMMED. OPENING Exp. Server. Contact Monica (352) 344-0024 $$ GOT CASH $$ Earn great money by setting appts. for busy local company. Call Steve: 352-628-0187 *" Great "** *Opportunity** Local Company needs Highly Motivated Sales People w/strong Ph Skills. In office .Mon-Fri. 9-5. NO Wknds. On Job Training provided. Career Minded applicants only. Phone weekdays. 10Oa-12p or lp-4p. 1-866-777-1166 or 352-560-0056 SALES/ TELEMARKETING Best Job In Town, Guaranteed salary & commission. Medical, HIGHLY EXP'D SPRAY TECH Apply In Person at: Hernando INSTRUCTORS WANTED HEAVY EQUIP. OPERATOR SCHOOL Located in Lecanto other Instructors, mln. 3 yrs. exp. in c construction required. Training provided. Fax Resume to: 352-628-7686 or e-mail: atsdebble @yahoo.cam NO SATURDAY Light line, Busy Indep. Shop. Must have own tools, 352-464-7033/Nlghts/ Wknds. a MUST 352-527-9013 Delivery Driver/ Sales & Service To our customers In Florida, mechanical ability, some lifting a must. Self motivated work independently, Valid Driv. Lic/good dri. record. Apply in Person Btw. 9-4pm, 5722 W. Grover Cleveland Blvd. Homosassa EXP'D TRIMMERS & LAWN PERSONNEL (352) 228-7472 F/T MAINTENANCE For senior apartment complex. Skilled in electrical, plumbing, HVAC, painting, carpentry, Competitive wage plus 2BR apartment and meals. Call (352) 726-5682 LABORERS Evenings, full or part time, starts at $7.50 an hr. Apply at: SHRIMP LAN DING 12645 W. Fort Island Trail, Crystal River (352) 795-1916 S .1 ... OPPORTUNITIES FOR A NEW CAREER Stanley Steemer Will train, FT, benefits. Must have FL Driver's Auto upholsterer needed for part time work. Must have experience in work- ing with vinyl and leather. Call 352-428-0031. WILL TRAIN Willing to work long hours, for position in well drilling operation & pump repair. Must have clean driving record. Benefits; Apply @ Citrus Well Drilling 2820 E Norvell Bryant Hwy. Hernando SNOW HIRING LOCALLY Large national organization, Avg Pay $20/hr. Over $55K annually. Including full benefits & OT, paid C training, vacation. S F/T & P/T 1-866-515-1762 Nal Techno llo POOL ROUTE HERNANDO Net $84K + year. Will train. Guar- antee accounts $67K full price. 877-766-5757. cam NPRS Inc. Broker NEVER USED SEATS S1 3 hp., extra jets. Light, lounger. Under warranty. New $4,395/Sacrifice $2.295 (352) 287-9266-Yald, convection oven, bisque, glass top, $150/obo. (352) 746-3933 FREEZER 15 Cu Ft. FF Upright, wht $125 REFRIDGE. 18 Cu. Ft. FF wht, $50 REFRIGERATOR , Side by Side 22 cu. Ft. Kenmore. Ice/Water on Door. Bisque color. $100 Fair Cond. (352) 563-2803 SEARS DISHWASHER & Above Range Microwave, both. gd. cond. $50 each. (352) 564-2413 (352) 302-9261 Set of Appliances, white, whirlpool, very clean work well, $300. (352) 746-3410 0O8 (352) 220-0105 WHIRLPOOL DRYER Very good condition, $100 (352) 220-4082 Whirlpool Refrigerator 21 cu.ft. Craftsmen Radial Armsaw, $75; Delta Commerical 10" table saw, $75. (352) 564-2413/302-9261 Sander Rigid, oscillating, edge/belt, spindle sander, $150. (352) 628-335 Woodworking Table Band Saw $30 and Table Drill Press $25. (352) 726-8719 4 x 8 Sheets of COMPUTERS-- Internet ready. Comp. systems. BEDS BEDS .% BEDS The factory outlet store For TOP National Brands Fr.50%/70% off Retail Twin $119 & Full $159 Queen $199/ King $249 Please call 795-6006 BUICK '97, Skylark, Runs Great! " CHERRY OFFICE DESK w/topper, 62"LX23"W $150. (352) 726-9183 CITRUS HOME DECOR @ Wal-Mart Plaza, . Consignment, like new furniture (352) 62T-3326* / 4 a 40 40 'a I " MONDAY, OCTOBER 1, 2007 9B CILASSIFEEIDS lOB MONDAY, oc()TonE 1, 2007 KING BED, Complete QUEENSIZE BED frame, base, foam mat- inflatable. $65, DInel tress, 5 sets of sheets, set w/4 chairs.$75. bedspread. $550. 220-4270 or 726-570 (352) 527-0560 RECLINER/SWIVEL KING SIZE RESONIC ROCKER, Cream col Memory Foam Pillow weather, good con( Top Maltress $125; GLASSTOP Coff w/boxsprings, $350, t bi,. & 2 end Ibis. $7 (352) 795-6241 like new (352) 382-87 KITCHEN SET r RETA FINDER Round glass top table RENTAL FINDER 'with four chairs. wwwchrnicle Asking $300,00. Call L intiier co 400-1331 ROLL-AWAY BED La Z Boy Recliner, Twin size w/cover, $4 $35. WICKER CHAISE Book Case W/CUSHIONS $35 $15. Exc, Cond, (352) 341-5247 (352) 746-0488 La Z Boy Recliner, The Path's Graduate Big man's size Single Mothers, excel cond, Needs your furniture $125 Dining tables, dresse (352) 249-9275 & beds are needed La-Z-Boy Leather Call (352) 746-9084 Reclining Loveseat WOOD FUTON hunter green, full size $125, Wing bc retail $2,100, chairgold. $25. Asking $450.like new 352-220-4270 or (352) 746-2842 726-5708. Leather Recliner Chair, deep blue, excel. cond., 6 mos. old S$750. obo, Must Sell (352)746-7745 *FREE REMOVAL OF ATV's, bikes, cars, jet LIVING ROOM SET mowers, golf carts. V 3pc. American Country sell ATV parts 628-20 Style Sofa, Loveseat & LAWNMOWER Chair. $200 obo '05 Toro (0 Turn RadiL 352-527-3463/249-8004 $1100, PRESSURE LOVESEAT WASHER 2200psi like Both sides recline, new $200 (352) 257-9; Deep teal color, velvet MOWER type material. Comfy, Murray Select Riding clean. 5 yrs. old $125 125 HP, 30" Cut $52 (352) 220-6823 Eve (352) 746-0084 Preowned Mattress Sets MULCH 5-6 Yrd. Load from Twin $30; Full $40 $95 Deliv'd. Citrus C Qn $50; Kg $75. Gravel $75 + Materic 628-0808 352-563-9979/400-01 Rattan Glass top table, ROTOTILLER $25. New, w/new spare tir Full sz. box spring & $350; 25 GAL. YARC mattress TREE, SHRUBS & LAWI $25. SPRAYER $100 (352) 341-5247 (352) 746-7684 RECLINER Sears Craftsman ridir Micro-Fiber, Creme mower, mulching dec Color. Brand New! $135. 12.5 Briggs & Strattoi Must Sell, sacrifice. I/C Gold. $295 Invern. (919) 538-2933 (352) 628-2769 I tie 8. tor d. ee 5, '01 I1 5; es, e. srs 1. ick I skis we 84 Js) e 697 '05 5 ds 0o. als. 50 es. 1N ng ck, n CITRUS COUNTY (FL) CHRONICLE Huge Nag Fern baskel plant, asking $500 (352) 726-7266 leave message HOMOSASSA Estate Sale. Entire contents of home. Including house & garage. (352) 628-4339 PINE RIDGE Big Moving Sale! Fnri 10/5- Sun 10/7 8-5 3515W. Capa Path 37 gal. Aux. FUEL TANK $100 (352) 302-2254 17" SANYO COLOR TV, w/remote. Works great, $25; OVAL DINING ROOM TBL W/Leaf, 4 castor chairs. $25 (352) 232-9516 32' ALUM. LADDER $100 LADDER RACK FOR 6' TRUCKBED $200 352-634-5152 BATHROOM SINK 1 yr. olbid, bone, oval & Chrome Faucet Set. $40/set. BATHROOM MIRROR 145" W X 47"H $45.(352) 382-0619 BURN BARRELS Heavy duty w/ out tops $7.50 EA (352) 344-9752 Carpet Factory Direct Sales Install Repair Laminate, tile, wood Sr. disc. (352) 341-0909 DOG CAGE Large, Very Good Condition, $40obo (352) 637-3488 Electric Fire Place, new in box w/ accessories $550. Running Boards new in box use for Truck, SUV or Van, $375. (352) 465-6558 FREEZER, Upright 1 cu.ft Whirlpool, almond, exc. cond. S125/obo. 2 TWIN BEDS, oak, comp. w/all bedding. Exc. cond. $600/obo. (352) 746-9737 GE CHEST FREEZER, energy saver, 27"WX48L1X34"IH wall accessories. $550 (352) 302-4027 The Spot Family Center Needs Donations For Community Family/Youth Events Land, Storage Racks, Containers, Folding Tables, Event Tents, Bus, Box Truck. Please call: Brian (352) 220-0576 SALON HAIR CUTTING CHAIR $150. (352) 464-1513 or (352) 382-2662 TYPEWRITER IBM Selectric very good cond,$60 (352) 382-1830 vinyl rack, for 12fl flooring, Islan d type, holds 8 rolls, on rollers $125. (352) 341-0787 Wheelchair, lightweight, excel. cond. $150. Ladder, aluminum 32' extension $175. (352) 746-9012 Wood stove $100 Large lift chair $50. (352) 637-1965 Woodburning Fireplace free standing, glass drs, brick liner, $75; 80 Gal. Elec. Hot water heater, 1 yr. old, $75. (352) 564-2413/ 302-9261 BRAUN WHEELCHAIR LIFT Side mounted, fits full sz. van. $750/obo (352) 382-8970 Lv. Mess. HANDICAPPED VAN FOR SALE Handicapped van with Braun llfft,hand controls, six way power seat, fully loaded. wood package with TV,VCR, Ford E250,1993- with under 40,000 miles. Asking $18,000 or best offer... 352-270-3883. LEGEND SCOOTER $425.00. SHARP RIDER $375.00 (352) 628-9625 BUYING US COINS Beating all Written offers. Top $$$ Paid (352) 228-7676 w/ Frame Simons Back Care $125 Vertical Blinds (set of 6) off white Vinyl $150 (352) 637-2788 STOVE w/ self cleaning over $50, Refrldg. w/top Freezer $75 (352) 503-5125 BMI Nautilus Weight Machine 190lbs. great cond. call $50. (352) 489-8348 BOFLEX EXTREME 2 310LB, UPGRADE, leg attachment, $700. 352-302-8529 HOME GYM Weights and Aerobic Conditioning. Wiener Master Trainer, $65. (352) 489-5355 PRO-FORM EXERCISE MACHINE, with all gadgets, like new, exc. cond. Only $300. (352) 382-0022 Tanning Bed Sun Quest Pro 16 SE Wolff System $500. 352-302-2437 GULF CLUB SET AMF Hybrids w/bag used twice, like new, $325. (352) 795-4405 MARLIN 336RC Lever Action, 35 Rem., 4X Weaver Scope, Hard Case, VG Condition, $275.00 (352) 382-3948 Smith & Wesson 357,4 Inch barrel, excel shape, highway patrolman $450. (352) 795-0818 Tennis Racket Stringing Machine, Prince P200, $300; Full Set of Golf Clubs w/Bag & Bag Boy, $75. (352) 746-4063 WE BUY GUNS On site Gun Smithing (352) 726-5238 10' X 5' HEAVY DUTY MTL. FRAME / WD. FLOOR/ VG CONDITION $750 OBO 352-795-6693 Dual axle 16' lawn trailer with 18" sides, like new 2"x10" PT deck, electric brakes, LED lights, frame 8yrs old, excellent condition, $1,600 invested, asking $800., 352-634-4558 6' x 12' single axle trailer $750. (352) 465-2271 HORTON HAULER 2001 7'X 14' 4 NEW TIRES $2600.00 352-634-5152 PACE AMERICAN '04 Journey, 6 x. $900 (352)697-1705 UTILITY TRAILOR 5x7, 2 Steal ramps $350 PORTABLE A/C 10k BTUs $300 352-257-9597 EXERSAUCER Evenflo Exersaucer, rarely used, $40 352-794-3081 BUYING US COINS Beating all Written offers. Top $$$$ Paid (352) 228-7676 -4Wate iCYinf Tony Little Type Life Strider, Cheap (352) 564-4284 USED METAL DETECTOR (352) 447-6281 NOTICE Pets for Sale In the State of Florida per stature 828.29 all dogs or cats offered for sale are required to be at least 8 weeks of age with a health certificate per Florida Statute. "Copyrighted Material Syndicated Content I Available from Commercial News Providers" L qMMOt A/C Tune up w/ Free permanent filter + Trmnile/Pest Control Insp. Lic & Boned Only $44.95 for both. (352) 628-5700 caco36870 L- Lak n ADVERTISE YOUR BUSINESS IN THE SERVICE DIRECTORY TODAY! $$$sssssss$$$sss$$$ Its Less than Pennies per day U per household. $$$SS$$$$$$$$$$$$8 I IF WE DON'T HAVE YOUR BUSINESS CATEGORY. S JUSTASK. I WE CAN GET IT FOR YOU!!! CALL TODAY (352) 563-5966 "DEBRIS HAULING" & Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 All Tractor/Dirt Service Land Clear, Tree Serv.. Bushhog, Driveways & Hauling 302-69 R WRIGHT TREE SERVICE, tree removal, stump grind, trim, Ins.& Lic #0256879 352-341-6827 TREE REMOVAL I Stump grinding, land I Clearing, bushhog. 352-220-5054 A TREE SURGEON Lic. & Ins. Exp'd friendly serve. Lowest rates Free estimate's,352-860-1452 I --- SAll Computer Repair I We come to you. I I 21 yrs. exp. 7 days. S(352)212-1165 L me-m-- J COMPUTER Over 15 Years Expl NEVER Diagnostic Fee! NO Charge if NO Repair! Senior Disc. This Week FREEBIE 1 Gig USB Drive! MICROSOFT CERT. Free Pickup /Delivery! 586-3636 Cooter Computers Inc. Repair, Upgrades, Virus & Malicious software removal (352) 476-8954, RUDY'S PAINTING * Int./Ext., Free Estimates Pressure Wash., Lic./Ins. 24/7, ASSISTANCE FOR SRS Driver, shopping, appts. meals, laundry, respite relief. 352-746-5666 HEAVEN SENT Prvt. rm. of home. 1 on 1 care. CNA & Med. Tech. (352) 621-3337 STAINED GLASS REPAIRS & WINDOW REBUILDS 352-637-6255 glassworks corm -Windows & Doors -Storm Shutters -Board-Up Service -Resident./Commercial CRC 1326431 (352) 746-9613 ACCEPT 1 Child in my home. lots of TLC & exp. Off US 19, Wkee Wach./ Homa. 352-263-1860 vChris Satchell Painting & Wallcoverlng.All work fully coated. 30 yrs. Exp. Exc. Ref. Ins. Lic#001721 352-795-6533/464-1397 EXP. HOUSECLEANER Will work weekends too, Call Monica for more info, 352-795-7905Additions Florida Rooms. 637-A373 DflPS1XO 7' FL RESCREEN 352-563-0104/257-1011 1 panel or comp cage Family owned & oper'd 1 Call does it All! No job too sm.I Remod., Home Repairs, Press. Clean., etc. CRC1326431 (352) 746-9613 ALL AMERICAN HANDYMAN Free Est. Affordable & Reliable Lic.34770 (352)302-8001 Andrew Joehl r AFFORDABLE Handyman. General HAULING CLEANUP, Maintenance/Repairs PROMPT SERVICE FRessure & cleaning. Trash. Trees, Brush. Lawns, gutters. No job Appl. Furn, Consti too smallReiable.Ins Debris & Garages 0256271 352-465-9201 352-697-1126 3rd Generation Service L 1 m [ 1 Fencing, Gen. home r AFFODABLE AFFORDABLE repairs, Int/Ext. Painting, HAULING CLEANUPS, Lawn, Trees, PROMPT SERVICE Landscaping, FREE Est., Trash, Trees; Brush 10% off any job. lic App Furn, Const, 99990257151 & Ins. (352) 1 ebris Garaes 201-0658 Debris & Garages 1 201-0658 352-697-1126 --I --I I i I- n -I I i I AFFORDABLE, m C.J.'S TRUCK/TRAILERS I HAULING CLEANUPS, I Furn apple, trash, brush, PROMPT SERVICE | LOW $M/Professional Trash, Trees. Brush Prompt 7 day service I Appl. Furn, Const. I 726-2264/201-1422 | Debris & Garages l : 352-697-1 126 F W coil:m i ,Yv ,==-n w o a Carpet Factory Direct Sales MInstall Repair FAST! AFFORDABLE! RELIABLEI NEW IN AREA Ask for Jim or Iv. msg. 352-344-5213 217-201-2962 Lic34868 THE IRISH WAY Home or Estate Maint. & Security. Ref. Avail. FULL tLElTRII SERVICE Remodeling, Lighting, Spa, Sheds Lic. & Insur. #2767 (352)257-2276 MALLEY's Elect. Service Resid. & Comm. Ins. & Lic. #ECO001840 Rob @ 352-220-9326 Mel 352-255-4034 "DEBRIS HAULING" & Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 "DEBRIS HAULING" & Misc. Clean-Up, Tree Service & Demos 352.447-3713/232-2898 All of Citrus Hauling/ Moving items delivered, clean ups.Everything from A to Z 628-6790 WE MOVE SHEDS 266-5903 Laminate, tile, wood Sr disc. (352) 341-0909, lnt/Ext. Painting, lawn trees, & landscaping FREE Est,, 10% off any job. lic 99990257151 & Ins. (352) 201-0658 25 Years In County Free Est., Res./Comm. FENCES BY DALLAS Llc. c/urg ,)i _~n999o #1 in Service Hise Roofing New const. reroofs & repairs. 25 yrs. exp. leak spec. #CCC 1327059 (352) 344-2442 RE-ROOFS & REPAIRS Reasonable Rates!! Exp'd, Lic, CCC1327843 Erik (352) 628-2557 John Gordon Roofing Rea Rates Free est. Proudto Serve You. ccc 1325492. 795-7003/800-233-5358. Llc#2579 /Ins. 746-1004 Concrete Slabs, Pavers Remove & Haul Debris Demolit. 352-746-9613 Lic# CRC1326431 Concrete Staining, Garage & Driveway, House pressure washer, Free Est., 20 Yrs. Exp. (352) 422-8888 CONCRETE WORK Sidewalks, Diveways Patios, sobs. AFFORDABLE RELIABLE! Most repairs. Free Est,, Lic #0256374 (352) 257-9508 W. F. GILLESPIE Room Additions, New Home Construction, Baths & Kitchens St. Lic. CRC 1327902 (352) 465-2177 We do it ALLI Big or Sm.I Mosaic Tile & Remodel Marble, porcelain & ceramic. Remodel more 4 less. A TOP SOIL SPECIAL * Screened, no stones, 10 Yards $150; 20 Yards $250 352-302-6436 -. I ALL AROUND TRACTOR Landclearing, Hauling, Site Prep, Driveways. Lic. & Ins. 795-5755 All Tractor/Dirt Service Land Clear, Tree Serv., -- Bushhog, Driveways & Hauling 302-6955 r LANDCLEARING Site prep, Tree Serv., I Dump Truck, Demo 352-220-5054 TRACTOR SERVICE Tree/Debris Removal Driveways/Demolition Line Rock/Fill Dirt Sr. Disc. 352-302-4686 TURTLE ACRES Bushhog, Grading, Stumpgrinding, Removal No job too small. (352) 422-2114' A TROPICAL LAWN Family owned & oper. Satisfaction Guaran. 352-257-9132/257-1930 ANDERSEN'S YARDMAN SERVICES, Mowing, Pres. Washing, Trash Hauling, Low ratesl352-277-6781 Bob's Pro Lawn Care Reliable, Quality work Residential / Comm. Lic./Ins. 352-613-4250 C & R LANDSCAPING Lawn Maintenance clean ups Mulching. We Show Up 352-503-5295, 503-5082 G. Nelson & Son, Lawn Service, mowing, trim- ming, etc, dependable le. & ins. (352)563-2118 Lawn Patrol of Citrus Lawn maint. Sm. Land Clearing. Sign 12 mo. Get 13th Mo Free.I Free est. (352) 464-3343 LAWN SERVICE We do re-sodding and patching. Free Estimate 795-4798. RITTER LAWN CARE Lawn Maint., Press. Clean.,Storm Cleanup Free Est.352-257-6001 Steve's Lawn Service Mowing & Trimming Clean up, Uc. & Ins. (352) 797-3166 POOL BOY SERVICES Total Pool Care Acrylic Decking e 352-464-3967 e POOL LINERS i* 15 Yrs. Exp. A Call for free estimate S (352) 591-3641 v POOL REPAIRS? Comm. & Res., & Leak detection, lic. 2819, 352-503-3778, 302-6060 & 0 RAINDANCER 0 6" Seamless Gutter Best Job Availablell Lic. & Ins. 352-860-0714 ALL EXTERIOR ALUMINUM Quality Price! 6" Seamless Gutters Lic & Ins 621-0881 IL= J I ROOING, 4dvacUe jutc ^e w Bouleric r" Installations by Brian CBC1253853 CCC02544 QB00002180. N ee -y U t ,ta' ,SMUP, & t PLY INC. Family Owned & Operated Since 1967 NEW ROOFS REROOFS REPAIRS FREE ESTIMATES Siding, Sol]it & Fascia, Skirting, ooflovcrs, Carpors. Screen Rooms, Decks, Windows, Doors, Additions (352) 628-5-- 79 (352) 628-7445... (352) 628-5079 (352) 628-7445 -RDVAC S. . : s - Suncoast Exterior Restoration Service Inc. 877-601-5050 352-489-5265 Ideal Carports Custom Build Your Dream Carport Garage Barn RV Cover Any Metal Bldg. -NN hateser )ou need, wevegot you covered" 352-795-6568 7958 K Gulf to Lake HV., (Hwv. 441 Crystal River ) I I l CLASSIFIED &Lawnmower "Cleaning c= Renaor ImHorne/Officel I A LUIU 7 CnRus COUNTY (FL) CHRONICLE AKC Chow Chow pups 8/7/07 Cinnamon, Blue, Cream M/F $550 & $650 Appt,/Iv. msg 637-6655 Beagle Puppies 8 wks. tri colored, Shots/ wormed. $125. cash (352)447-2018 BEAUTIFUL CHOCOLATE LAB PUPS AKC 9wks. Old. Parents on prem- ises. $400. ea, Health cert. (352) 465-6535 BIRD CAGE Large on wheels. 28 X36 X 55" Needs paint. $75. (352) 628-3736 BOXER PUPPIES Purebred, 12 wks., Male & Female Brindles & Fawns, $325 352-344-5712/978-3202 CHIHUAHUA Puppies 10wks, long & short haired, M & Fern. shots $225-$250.: 352-628-3959, 586-0124 Dachshund, 3 mos old, male, black, needs good home. Health cert. $350. (352) 613-5816 GERMAN SHEPHERD PUP Male. (352) 489-7031 Humane Society of Inverness Has a New Vet Who Has Joined Our Team We offer Low Cost Spay & Neuter Starting at $20, Low cost vaccines, Heartworm test, Heartworm treatment, Cat Declawing. Call for prices and appt. (352) 726-8801 JACK Russell AKC Fem. 1 Year all shots, $400 obo (352) 201-0731 Japanese Chin, I yr. old not registered but can be, trade for Mal- tese puppy, female or for sale (352) 564-0387 Loving Maltese Puppy male, 4 months old $400. (352) 382-2523 MINI DACHSHUNDS Reg., Shots, Health Cert., MUST SEE! $400 (352) 563-1479 PARROTLET 10 mos. old female. American Yellow. Breeder. $80 (352) 613-4180 POMERANIAN PUPS Pure bred. 12 wks., male & female. Party color. Reg., papers, Health Cert. & Shots. $400 (352) 628-0469 POMERANIANS Tiny fur ball puppies AKC, 8 wks. 4M.,3F Shots, wormed, $500 -$600. (352) 746-6437 POMERIANS Cute, tiny pups, AKC, Male, Black & white, Female orange/sable Shots, Health Cert. $600 (941) 286-1112 or (352) 465-3785 POODLE Tiny Male CKC, Apricot, 8wks. Health Cert. Shots, adorable. $550 (352) 422-4500 Quality Home Raised Pups Maltese, Yorkie, Chihuahua, poodle, Designer breeds, Pekingese/Chin Cavalier/poo, Yorkie/poo, malte/poo Maltese/shlh tzu 352-347-5086 RAT TERRIERS Male, Female, various ages, colors and sizes. Shots, Health Certs, $250-500 (352) 621-3110 ROTTWEILERS Fern. pups AKC, Health Cert. Shots, Tails & Dew Claws done; Beaut. Big Bik Hds, $700 352-476-2209/726-8751 SCOTTISH TERRIER PUPS Reg. ACA Males & females Small. Ready on 9/30 $500 & $550 (352) 726-0133 SHIH TZU PUPPIES 10 wks, CKC reg. Brwn & wht. Male $450, Female $500. Health Cert. (352) 564-2865 WEST FLORIDA AVIAN SOCIETY 16th Annual BIRDMART Hernoando Fairgrounds Sunday, Oct. 14th 9-4 (352) 212-6879 YORKIES 10wks. Fluffy Pups, Male, Female. Shots, Health Cert. $800 (941) 286-1112 or (352)465-3785 -U FISH AQUARIUM SNEW 55 GALLON With cabinet stand, 2 filters, all accessories. $300/obo. (352) 302-7725 helfer/mol 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 1BR Furn. Carpt Scrn rm. $550: 1BR BEVERLY HILLS Furnished,1 BR, IFull BA Park Model, incl. util. & basic cable, $165. wk. sec. dep (352)465-7233 CITRUS COUNTY 2/1 CH/A, $350-$450 1st, last, sec. No pets (352) 564-0578 CRYSTAL RIVER 2/1 $450; NO PETSI! (352) 563-2293 CRYSTAL RIVER 2/2, nice lot, $700mo No pets. 1st, last & Sec. (352) 697-2432 HERNANDO 1/1 No smoke/pets, $475 + Ist Ist. sec 352-746-6477 HERNANDO 12 X 60 unfurnished, 2/11/V2, lst/Ist/sec. 352-634-2368 HOMOSASSA 2/1 CHA. No pets. $500 (352) 628-4002 HOMOSASSA 2/2 CHA, No pets. $520 + $520 (352) 621-3980 HOMOSASSA Lg 3/1/2, strg bldg, V2ac $750mo (352) 560-3355 HUD HOMES 4 BR $366/mo. 5%down, 20yrs. 8%. For listings 800-366-9783 Ext 5711 INVERNESS 2/1 Furn, nice quiet, no pets, on canal $550/mo Ist/Ist/sec 352-860-2452 INVERNESS 2/2, 14X20 rm. addition 1st, last, sec, 637-3371 INVERNESS 55+ Lakefront park Exciting oppt'y, 1 or 2BR Mobiles for rent. Screen porches, appl., water incl. Fishing piers. Beautiful trees $350/up Leeson's 352-476-4964 5 BDRM HUD $37,500! Only $298/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 3/2 $199/mo HUD Home 5% down 20yrs at 8%opr. For listings call 800-366-9783 Ext 5704 BANK FORECLOSURE 4BR, 46,0002BR $12,000 -F- 'listings 800-366-9783 Ext 5714 HUD HOMES 4 BR $366/mo. 5%down, 20yrs. 8%. For listings 800-366-9783 Ext 5711 INVERNESS 55+ Lakefront park Exciting oppt'y, Ior 2BR Mobiles. Scr. porches, apple water incl. Fishing piers. $7,000-$15,000. Leeson's 352-476-4964 Lake Front OPEN HOUSE 11A 3P, 8618 E. Gospel Is. Rd. Lot 59, Beautiful DW, 2/2, on Lake Front Lot, totally remodeled, scrn. porch, lots of extras, mostly furn., Sr. Park, $50,000. (352) 560-7893 S Sun RENTAL FINDER rentalfindercom --- ---m Jl 3203nnu. Ho me 2003 on .44 Ac. (352) 726-7533 www Reliance-RE.com Reliance Realty 3/2 SW on Two V/ AC Lots. Scrn porch. BY OWNER, $44,500 1592 S Lookout Pt 2 blocks off US19 352-503-4142 3/2 DW Hrdwd Floors New kit & appll's. Cvrd prch, huge Inground scrnd pool 2/2 ac. lot w/frult trees, 1600sf wrkshp. Fenced. $179K. Crawford 352-212-7613 4/2, 2280SF on I /2AC Pool, Trip. wd. HOLDER, Horse Corral, Close to bike/ horse trail. Many upgrds, Scrn in sunrm. $119,000. 352-522-1901 2005 4/2 MFG Home, 2356SF. 2 wooded ac. Many amenlilesi $199,900/reas. offer (727) 457-9567 By Owner, 2 V2 Acres, '2000. DW, 3/2, Homes of Merrit $120,000. obo (352) 621-3974 CRYSTAL RIVER 5/2 Bonus room, FP, wood floors & tile, /2" drywall thruout, 9x42 scmn. country prch. on lac. $115,000 (352) 200-8897 HERNANDO 2/1/V2 2 Lg. 3/1/2 strg bidg, /2ac, fenced. Concrete drv, above grand pool, $69,900. Owner fin. w/15% down (352) 560-3355 c. LAND & HOME 2 Acre Lot with 2085 sq. ft., 3/2 NEW HOME Garage, Concrete driveway & walkways, Carport. Beautiful Must See 10% down No closing cost $848.90/mo WAC Call 352-621-9182 LAND & HOME Move In Nowi! 5 HOMES For Sale from $79,900. to$,149.900 Ist time homebuyers program. Must have no collections or judge- ments, no bade credit. CALL 352-621-9181 NEW JACOBSEN 2008 MODEL 28 X 48, 3,1 2006 DW IN INVERNESS .55+ park. 2/2 strge shed. C/H/A/, Furnished, Incl. all appliances. Like new oond. $75,000 352-344-1002 or 207-732-3743 2007, 3/2, 1,056 SF. Lg. Screen Rm. Decorative Drive-Way Painting.Private Setting. Low Lot Rent. $65,900 (352) 422-2187 3/2 $199/mo HUD Home 5% down 20yrs at 8%apr. For listings call 800-366-9783 Ext 5704 BIG PINE ACRES, 55+ Pool, 2/1/Carport Screened Porch, Shed, 2 ACs, W/D, Sm. Pet OK, $8,800 abo (352) 212-6706 CRYSTAL RIVER VILLAGE Fully furnished, 2/2 dollhouse, must see. Large double carport. REDUCED $75,000. (352) 795-6895 SINGING FORREST 14 X 64, 2/2, furn. like a model home. New lanai, roofover, Fl. rm., carport. $149 Lot rent. $38K (352) 726-2446 STONERIDGE LANDING 2/2/2 DW, New Items: Ceramic Tile, Carpet, 2 decks, Sunporch, Bathrm fixtures, appll's Move In cond. on Lakeside (352) 634-4360 WALDEN WOODS 55+ park, 2yrs, Ln, $89,500 3/1 Tropical Ln, $99,000 Owner Finan.10% Down Or Rent 2/2's @ $600 mo Onr/Agnt 352-382-1000 .RENTAL FINDER . | | Srentalfinder.com Property Management & Investment Group, Inc. Licensed R.E. Broker >- Property & Comm. Assoc. Mgmt. is our only Business - Res.& Vac. Rental Specialists > Condo & Home owner Assoc. Mgmt. Robble Anderson LCAM, Realtor 352-628-5600 info@eroperty managmentgroup com F RENTAL FINDER . | Srentalfindercomn SUGAR LL efficlencles w/fully equip, kitchens. No contracts needed. Next to park/ Kings Bay Starting @ $35 a day for a wk or more. (Includes oall utl. & 3/2/2 Rent-to-Own New Home Citrus Spgs. Low Down, Easy Terms Danny (407) 227-2821 CRYS. RIVER 2/11/2, 838 5th NE Ave. Nice, CH/A $600. INVERNESS 1/1, Water &Trash Incl. $500. mo. 352-726-3849 INVERNESS 2 BR, W & D. Hkup, close to hospital, $525. mo. first Ist, Sec. (352) 212-6002 INVERNESS 2/1 $575mo. $862 sec. Call 9am-6pm 352-341-4379 INVERNESS 2/1 16o Pets, Scrnd. Prch 320 Davidson Ave $525/mo. + $500 dep. 352-860-2026 INVERN INVERNESS, 2nd Fir. Near hospital & dwntn. 2/1 Comp. remod. & spacious, all apple: inc. Prvt. parking & ent, $1,075/mo. I1st/Ist/$500 sec. No smoking/pets. (352) 726-8512 x. 2808 LECANTO 1 Bedroom Apartment 352-613-2989/746-5238 Crystal Palms Apts. 1 & 2 BEDROOM Crystal River. 634-0595 CRYSTAL RIVER Centrally located. Professional Office For Rent. 700 sf. 352-563-2550 Lecanto Tree Tops Plaza, 1661, W. Hwy44 Retail-Office-Storage 1.000 to 1,125 sq. ft. Store front/ Warehouse $800. mo. 954-609-2780 CITRUS HILLS 2/2 Greenbrier I1.mo. 1st, Ist. $500. sec, (352) 746-4611 Sugarmill Woods 2/2, Completely furn. $850. mo., Year Lease $1,600.- seasonal all util. 3 mo. min. 352 746-4611 SUGARMILL WOODS Villa 2/2 on Glf Crs. Very clean, W/D, Unfurn, $795mo. 1st, Ist+sec 352-382-5040 CITRUS SPRINGS New, 2/2, all apple , W/D $650.-$700. (954) 557-6211 CRYSTAL RIVER 2/1 & 3/2 Clean $625- $650/mo, 352-228-0525 INVERNESS 1/1 w/scrnd prch. Remod. Near dwntwn. $550/mo. 274-1594 INVERNESS 2/1, CHA, w/d hu. Grg. Very Lg, lac. Priv. Sptlss $695. 352-422-3217 INVERNESS, Ist Fir. Near hospital & dwntn. Camp. remod,, W/D stack, util, Incl. (except phone & cable) $585/ mo. Ist/Ist/$500 sec. No smoking/pets. (352) 726-8512 x. 2808 2 GREAT LOCATIONS Lg. 2/2/1 Ing. Pool, Lg. 2/1/1. BOTH: Fl. rms. spotless, Lots of xtras, Fum/unt352-302-1370 5 BDRM HUD $37,5001 Only $298/mol CRYS RIVER 3/2/2 Pool, Lease/OTB. $1300 Avail 10/1 352-563-9913 CRYSTAL RIVER Very priv. 3/2. 7 Rivers Golf Crs, area. Please call 352-257-1034 HOMOSASSA 3/2 lac, like new, no flid $625. 352-634-1764 HOMOSASSA Rent to Own, Brand New 3/2/2, $800/mo 3844 S. Swai Terrace (813) 78 -5252 HUD HOMES 4 BR $366/mo. %down, 20yrs. 8%, For listings 800-366-9783 Ext 5711 RENTAL FINDER rentalfindar.com L El Rentals COUNTYWIDEI GREAT AMERICAN REALTY Call:352-422-6129 or see ALL at www choosegar.com SEVERAL HOMES AVAIL From $600- )950/mo Move In nowl 352-601 4582 Sugarm 5 BDRM HUD $37,500! Only $298/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 3/2 $199/mo HUD Home 5% down 20yrs at 8%apr. For Ii tings call 800-366-9783 Ext 5704 BANK FORECLOSURE 4BR, $46,000. 2BR $12,000. For listings 800-366-9783 Ext 5714 CRYSTAL RIVER 2/1.5,Garb.,H20,cable,el ec. $1,1C0/MO. (352) 527-0260 HOMAS. 2/1, MH Util. Incl, Nice clean, quiet park. short/long term. $695 (352) e28-9759 HUD HOM S1i4 BR $366/mo. %down, 20yrs. 8%. For listings 800-366-9783 Ext 5711 INVERNESS 2/1/2/1 Clean, W/D HU, CHA $650; 4/2/2 3500sf NEW, Lawn/grbg incl $1400; (352) 464-4211 LECANTO 3/2/2 Upscale, turn /unfurn on 2'/2 park like Ac's, $1,000 FURN. APT. 2/1 CRYS. RV? $500. (352) 795-2204 SUGARMILL WOODS 2/2/2 +Lanai, cul de sac, turn. lo00 sq.ft, $1,100mo + until. Owner/ agent Short or long term. (727) B04-9772 MOWN=i 2 Great Renti Low Move in. RENT FREE H( 2/1/1 Refurn 3/2/2 Meac 2/2/11/2 SMW 2/2 SMW Cc River Link: 628-1616/801 3/2/2 Rent New Home ( Low Down, E Danny (407) V.- Jfs 3/2/2 BRA homes stc $800/mont homes pet aActlor Mgt-LicRE 386-931-i 866-220 Rental -BETTER T- or RENT T NO CREDIT 352-484 jademlssi BEV. HILL Fam. Rm.2 E. $600/mo 1ST (352) 796 BEVERLD 10 N.Des $650. 8 N.FIIIm. $625. CRYSTAL 9 N.Can $550.r INVER 237 N.Ci $750.I 352-637 BEVERLD 2/1/1, $675. lot, C/AC 352 BEVERLY 2/1/1, Fam. r 32 N. DeSoto 2/1/1, 28 N $600. (352) BEVERLY 2/2/1CG+ LARGE, CH $1,000. dep. BEVERLY 2Br/2Ba/Gar Newer side of clean. New paint l/S+out. $725/mo 352 BEVERLY 3 BR 1/2B, 1< yd., $650 3 BR, 2B, Di mo.+ de 352-795-877( BEVERLN Cozy 2/1 cul-de-sao looking pond (352) 25: CITRUS Pool, 671 Oly 10/31, $1175 r Rewards Last Week )MOSASSA shed $625 ows $725 Villa $795 ndo $795 Realty -488-5184 to-Own itrus Spgs. asy Terms 227-2821 ND NEW rting @ ). Many friendly. Prop Broker .607 or 1146 Springs AN RENT 0 OWN CHECKII 0866 on.com S 1/1/1 Golden St. 'LAST/SEC. -8888 HILLS oto 2/1 no ore 1/1 no RIVER lie 2/1 no MESS oft 2/2 no -2973 HILLS -o. corner Z-422-0058 HILLS m. scrn.por $625/mo. Barbour 249-3228 HILLS fm.rm., \, $675 + 795-1722 HILLS + xtra rm town. Very mle/Fresh SJ Kellner 302-4006 HILLS ;ar., fncd mo. & nn,$700. :oslts, /563-0964 HILLS quiet c:.Over- $625/mo. -9378 HILLS npla 3/2/2 563-4169 CITRUS HILLS/HERN. 3/2/2 home on 1/2 Ac. on CH G,C. Rent to own poss. $850/mo, dep., first & last. Myrlam (352) 613-2644 CITRUS SPRINGS 3/1, $725/mo 2/2/1, $725. mo INVERNESS 2/1/1 CITRUS SPRINGS New 2/2/1,tile firs, spac kit,, din., scrn. porch, $725.mo. 352-465-7563 CRYSTAL RIVER 2/2/1, fam. rm., water, gar. & pest, ncl. $800. + sec. (352) 464-2716 CRYSTAL RIVER 3/2 Clean, $850/mo 352-795-6299/697-1240 CRYSTAL RIVER 4/2/1, 2,400 sf., fncd. yrd. Centrally located off Hwy 44. Avail, Oct. 1 $1,000 mo Call Alan (352) 584-1584 CRYSTAL RIVER Connell Hghts. 3/2/1/V2 Scrn Rm, fncd bkyard. $850+lst, 1st, sec. (352) 302-6025 FLORAL CITY S. 2 OR 3/1, New appl. Real NIcel $750/mo 1 st/last/$600 dep. 352-637-0475/400-1438 Forest Ridge Village 2/2/2 $825.00 Please Call for more info (352) 341-3330 or visit the web at: citrtisvillages rentals.com HIGHLANDS 2/1/1 + scrn. rm. Beaut. Pool/Yd. $825. 464-2825 HOMOSASSA 2/1 CHA, No pets $575. Ist/last/sec 628-4210 HOMOSASSA 2/1 V2 INVERNESS 2/2/1 Highlands, scrn porch, $700/mo (813) 973-7237 INVERNESS 2/2/2 Detached home, Royal Oaks upgrades. Club house/pool/lawn. serv. $850/mo. Incl. Cable & water. Avail 11/5 (949) 633-5633 INVERNESS 2/2/2, Fl. Rm. appli, apple water incl. Fishing piers. Beautiful trees. $350/up Leeson's 352-476-4964 INVERNESS Pool, Spacious 3/2/2, 1 acre. No Pets $1,000. mo. 908-322-6529 INVERNESS Rent/Ls. Option. 2/2/2 Sm. Office/3rd Bed. $800/mo.+ F/L/$500 352-422-3571/464-5640 LECANTO 3/2, remodel, kit., 28 x 18 scrn rm., furn, floating dock, boathouse, no bridges, minutes to Gulf, $850 wk, $2500 month, includes utilities. Call 352-266-1346 CRYSTAL RIVER Condo, Unique 1/1.5 on the water. Furn,, $900. no pets. (352) 302-5972 CRYSTAL RIVER Spacious 2/2 condo. Beautiful waterfront view w/dock. Recently updated, partially furnished, Pool, tennis cts., cable TV. $900/mo (414) 690-6337 HOMOSASSA 10085 Halls River. 2/2 w/pool, lanal, FR, office, dock $1 A,400 mo. (352) 527-9733 HOMOSASSA Riverfront 2/2, Stilt AC, (813) 312-9076 INVERNESS, 3/2 1 acre, dock, clean $850 (352) 586-1505 3/2/2 Rent-to-Own New Home Citrus Spgs. Low Down, Easy Terms Danny (407) 227-2821 FISHING IN FRONT YARD 3/2 ON 10.8 Acresll Detached 14 X 28 office, pool, fncd., pond. $325K Ownr. Finan. (352)621-3135 * October 4 @ 11am cd.*,,ond I Well Maintained Manufact hired Home on (352) 726-7533 One Acre RV Barn, Septic -YoFIvodt.Auctno.-d3 & Private Well EdM*..', Preview@ 10am -*1*.1 CLASSIFIED COMMERCIAL LOANS Prime, Sub-Prime, Hard Money, REHAB, Private. Also, equip, loans. Mark (352) 422-1284 CRYSTAL RIVER 2,300 sf, Zoned GNC. 4/2/1(AC garage), 2 Liv. Areas. Perfect for sm. business/live-In residence: Drs, Real Estate, etc. $1,500 Contact Alan (352) 584-1584 o v o 4b ==.- "m e 4w deo- OCTOBER 1, 2007 118-' r -m- Bev. Hills, Seller Finan. 2 to choose from EZ terms, "0" DP, Starting at $85.K 352-201-0658 INVERNESS 2/2 CONDO $94,000 OR $650/MO + deposit. (352) 461-6973 Rent or Rent to Own Many Good Deals wait for you! Get yours now while $$ are lowlGwen Cridland & Cridland (352) 220-4011 CRYSTAL RIVER $350, Share elec. No smoking/drugs. (352) 634-0708 HOMOSASSA Own entr,.$350,1st dep, Incl. until. (352) 860-1426 INVERNESS Pool, washer/dryer, $125 wk, $100 dep. Refs, (352) 726-7753 S"NDOS, HOUSES" SEAS, MONTHLY Furn & Unfurn. | Heated pool.AII | newil 352-302-1370 C CONDOS, HOUSES SEAS, MONTHLY Furn & Unfurn. Heated pool.AII newil 352-302-1370 L ....- --- J1 RENTAL FINDER rentalfinder com Im A Private Investor, Looking to Buy, Res. or Commercial Properties for CASH 305-542-46%/o Listings INVESTORS RESIDENTIAL SALES COMMERCIAL SALES (352) 422-6956 ANUSSO.COM HERNANDO Office & storage space for rent. (352) 637-1739 3/2 CB House + Duplex Crystal River. Great Shapel $189,900 352-427-5574 FIX ME UPI $72K 4/2 SFH Block Must Sell for CASHI John (352) 228-7523 -t $139,900 W/100% FIN. AVAIL. New const 3/2/2 1344sflia, Kit w/brkfst bar Util. rm.On bike tri, near School. 8115 N Merri- mac Way. Call Gerry Realtor (352)816-0010 2/1 CB, Great Starter or Invest. home. New Carp. fresh paint, New Cabs.New appl.Ready to move in! Must Sell! $79,900 352-613-2855 3/2/2 Rent-to-Own New Home Citrus Spgs. Low Down, Easy Terms Danny (407) 227-2821 3/2/2 CITRUS SPRINGS AREA. New Home under construction. Can move in within 90 days. Pick your own colors. For more info. Call Pastore Custom Bldrs. (352) 684-1500 Uc. # CRC057945 3/2/2 HOME Built 2005. Priv fence, scr porch, upgraded kit. 7955 N. Galena Ave. $155,00 or OBO. 352-302-3103 BEING TRANSFERRED MUST SELL/ apple. 1500sf Up to 4/2.5/2 w/appl. 2700sf. Prices range from $850-$1200 mo 15 In stock just waiting for your Furnishings! Call KEL Homes @ 352-527-0726 today tO mes 3/2/2 POOL HOME 2237 sq.ft living space. Backs to Black Diamond 3186 W Birds Nest Dr. MLS#315839 352-586-1558 CALL NOW! $289,700 3/2/2 POOL HOME Lg. Ma. Bath. $199,999 Equestrian Trails, Golf..... Barbara McKlnnon Fl. Realty & Auction. (352) 628-0968 3/3/2 POOL HOME lac. Shed w/elec. $189,777. Owner/agent Brian Murray, Remax Realty One 352-212-5913 BETTY MORTON 2.8% Commission RealtyIelect (352) 795-1555 MOVING MUST SELL 3.4 Beautiful Acres $149,000 * (352) 746-0348 $99,90011 2/1; 1,100sft. 9 Polk Lease Opt. or Owner Financing Avail. Greg Younger, Coldwell Banker Ist Choice. (352)220-9188 BETTER THAN RENT or RENT TO OWN NO CREDIT CHECKII 352-484-0866 jademission.com ONLY $75,900 1/1/Crprt Lg. Fam. Rm. 5 Donna St BEST VALUE IN BEVERLY HILLSII 352-212-9783 m- 40 3/2/2 CRYSTAL GLEN $179,900 SELLER WILL PAY $5K IN CLOSING COSTSI Ron Egnot 1st Choice Coldwell Bnkr 352-287-9219 4/3/2 POOL HOME Crystal Oaks 2,075sf., Prof. Remodeled! Everything NEWI S. S. apple granite $299,900, 797 -.9A-W534/A9O-679 BONNIE PETERSON Realtor, GRI Your SATISFACTION Is.Mv Future!! (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC NO EXPENSE WAS SPARED on this beautiful 3/2 custom built home, featuring stacked stone in/out, gas FP, gourmet kit, granite & all wood cabinets, 10' ceilings, alarm & sprinkler sys. 2 built-in 220 gal saltwtr fish aquariums. 2 story barn, 2 car detached garage. Too many ex- tras to list! $449,000 Owner/Agent call for appt. 352-302-2300 BY OWNER VILLA 2/1'Y2/1 New Roof 2005, New carpet & Pergo floors. Great amenities. Priced to sell $137,900 (352) 257-1431 BRENTWOOD VILLAGE ,B MOTIVATED! For Sale By Owner. No monthly maint. fees. Comp.194 I (352) 527-4225 MEADOWS G.Course POOL HOME 3/2/2.5 12 X20 S.C. Pool. Many upgrades! Memb. Avail. $264,900 MUST SEE!352-270-3536 TERRA VISTA/HILLSIDE SOUTH 1800sq ft. 3/2/2 10,000sf lot. Brand new Possible Lease/Opfion $279,900. 617-816-1230 ARBOR LAKES 3/2/2 1580 sf., Gated 55+ comm. Reduced $164K Make Offer. Norm Overfield 352-586-8620 Keller Williams Realty Hernando Forest Lake North, Newer 1 Lg. Bedroom 1000 sq. ft., on 1 acre fenced, 12 x 24 shed w/ electric 110 x 220V, very good cond. Reduced $20,000. Must Seel $100,000. (352) 344-5448 SPOTLESS 2 BDRM. 2BA HOME 2 car gar, caged In-ground pool, situated on 2,5 ac, landscaped estate. Fenced for horses & spotted w/ mature oaks, Everything new. If you are looking this is a must seel (VACANT MOVE TO- . DAY) Asking $269K Contact D Crawford for details. (352) 212-7613 0 DOWN TO BUYII $720/mo. + taxes & Insurance. 3/2/2 located in Highlands Large home, very clean Needs nothing. (352) 601-5600 3,500 La, 5,000 Total St 4.8 Ac. Adj. 4,8 Avail. 3/2.5/2.5 Near all amenities, Priced well below appr,@ $399KI (352) 726-0321 2/2 SPILT PLAN 2 Garages, Master suite w/sifting Rm, Recently Renovated. Paint Inside/out. New roof & appliances. Many Extras 279.900 (813) 995-3728 3/2/IGospl Is. $169,900 >1,800 s.f. Fl. Rm., Scr BETTY MORTON LiC. RealI tSTre Agent 20 Years Experience 2.8 % Commission Rat lect R 5,ase I 'era (352) 795-1555 CHARMING 2BR/2BATH HIGHLANDS, corner lot, circular driveway, prequallifled only Must See, $124,900 (352)201-1663 DIVORCED Need To Selll 3/2/2 Updated, shaded tree corner. $125,900 Cheryl Scruggs, Century21 J.W Morton, RE., Inc. (352) 697-2910 Golf & Country Club Area. Beautiful 3/2/2, w/lanai, cath. ceilings, CBS, built 2002. $203,900- 352-726-6075 .- HIGHLANDS 2/1/1I PRICED TO SELL!! Tile floors, CHA, $87,000 Pleasant Grv. School. Franklin Realty 352-464-4211 HIGHLANDS 3/2/2 14205FLA, Non smoking Org. owner, Fireplace, Large bdrms, $145,000 Franklin Realty 352-464-4211 HOME FOR SALE On Your Lot, $110,900. 3/2/1 w/ Laundry Atkinson Construction 352-637-4138 Uc.# CBC059685 HOME FOR SALE On Your Lot, $110,900. 3/2/1 w/ Laundry Atkinson Construction 352-637-4138 LiUc.# CBC059685 LUXURY TRI-LEVEL 3/1.5/1.75 IHW Updated 1,648 sf la $179,900 726-7241 For photos, virtual tour and info go to: www buyowner corn I166S,- MLS313017 2/2/1 NEWLY UPDATED The boater in you will love this location! John Maisel III Exit Realty(352) 302-5351 3/2 on CHURCH LAKE Built '05, 1428 sf. Like New! Near the Trail. Water access $220K Terri Hortman Crossland Realty (352)726-6644 GREAT DEAL 2/2 With screen porch. Reduce to $36,900. Call Sheila Is. ._ Copyrighted Material Syndicated Content .- Available from Commercial News Providers S sawan -a - 0 BONNIE PETERSON Realtor, GRI Your SATISFACTION Is My Fujurell (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC FISHING IN FRONT YARD 3/2 ON 10.8 Acresll Detached 14 X 28 office, pool, fncd., pond. $325K Ownr. Finan. (352)621-3135 '01, Jacobsen Modular * Home 1891 sq. ft., on S/2 Ac. fenced 2, sheds $132K Buyer Pays Closing Cost 352-628-4513 Good Family Home 3/2 SW on Two /2 AC Lots. Scm porch. BY OWNER, $44,500 1592 S Lookout Pt 2 blocks off US19 352-503-4142 3/2/2 CAGED POOL Great Deal in Great Communilyl New Appl. $169,900 Harley Hough, EXIT Realty Leaders 352-400-0051 4/2.5/2 on 2.5 ACRES Hg. 2 Story Cape Cod. Home shows well loved. $299,900 Sharon Levins. Rhema Realty (352) 228-1301 BUY OWNER 2005 4/2 MFG Home, 2356SF, 2 wooded ac. Many amenities. $199,900/reas. offer (7271 A7 95c^7' CITRUS COUNTY (FL) CIRONICI.L CLASSIFIED 12B MONDAY, (OcrTOB1ER 1, 2007 RiUe FISHING IN FRONT YARD 312 ON 10.8 Acresll Detached 14 X 28 office, pool, fncd., pond, $325K Ownr. Finan. (352)621-3135 * FIX ME UPI $72K 4/2 SFH Block Must Sell for CASHI John (352) 228-7523 HUD HOMES 4 BR $366/mo. 5%down, 20yrs. 8%. For listings 800-366-9783 Ext 5711 MR CITRUS COUNTY REALTY ALAN NUSSO 3.9% Listings INVESTORS RESIDENTIAL SALES COMMERCIAL SALES (352) 422-6956 ANUSSO.COM 5 BDRM HUD $37,500! Only $298/mol CUSTOM POOL HOME on 2.09 acres. Beautiful 3/2/2 custom pool home on 2.09 fully irrigated acres. Located in Rolling Hills Subdivision. 3142 sq. ft. paved circular drive. Home security system, built-in 50" TV, gas fireplace in living rm. Must see home.. Please call and leave message @352-572-3079 and we will get right back. Asking $375,000. Way below appraisal. FISHING IN FRONT YARD 3/2 ON 10.8 AcreslI Detached 14 X 28 office, pool, fncd., pond. $325K Ownr. Finan. (352)621-3135 HUD HOMES 4 BR $366/mo. 5%down, 20yrs. 8%. For listings 800-366-9783 Ext 5711 5 BDRM HUD $37,5001 Only $298/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 98450. 5%down, 20yrs. 8%. For listings 800-366-9783 Ext 5711 2/21/2, On water, Make offer Call (352) 560-7251 CITRUS HILLS 2/2 Greenbriar /,1st fir. turn. Near pool. $113,500 $1,000omo. 352-249-3155 CRYSTAL RIVER 2BR, 2BA, conveniently located, amenities $85,900, Agent Owned Call 352-270-3190 INVERNESS Villa 2BR, 2.5 baths, pool. $75,000. 464-0919 *m. .1.|A. -|,. BUY OWNER 3/2/2, Pool Home, approx. 1875 sq. ft., cul-de-sac, location, plus bonus computer room, open floor plan. Built 2003. 14 x 28 Heated Pool w/ ex- panded deck. Asking $242.000, No agents (352) 382-8914 LOST JOB! MUST SELL NEW 4/3/3 + BONUS ROOM, POOL. WOODED LOT. GOURMET KITCHEN, ALL UPGRADES $414,000 OBO 813 967-7192 New A Sugarmill Special Spacious, 2380 liv., 4/2/2, Home, scrn. lanai, priv. lot, many upgrades, BLOWOUTI $209,900. Owner, (386) 569-6777 5 BDRM HUD $37,500! Only $298/mo! 5% dwn. 20yrs. at 8%. For listings 800-366-9783 Ext 9845 $10,000 Cash Back At closing Brand new homes. Only $995. down. Call (352) 694-2900 3/2 $199/mo HUD Home 5% down 20yrs at S8%apr. For listings call 800-366-9783 Ext 5704 3/2/2 on 1.3 ACRES Borders State Park 7102 Smith Ter., HOLDER ForSaleByOwner.com Listing # 21030419 $219.900, 352-465-5233 BANK FORECLOSURE 4BR, $46,000. 2BR $12,000. For listings 800-366-9783 Ext 5714 d,. . BONNIE PETERSON Realtor, GRI Your SATISFACTION Is Mv Future!! (352) 586-6921 or (352)795-9123 Charlotte G Realty & Investments LLC BUYING OR SELLING? Michele Rose REALTOR "Simply Put- I'll Work Harder" 352-212-5097 thorn atlantic,net Craven Realty, Inc. 352-726-1515 Deb Infantine EXIT REALTY LEADERS (352) 302-8046 CRYSTAL SHORES 2/3 den. Dock, boat slip. on 2 lots, porch w/ vinyl windows, overlook gorgeous lagoon min. to gulf, excel. cond. REDUCED 352-795-7593 * FISHING IN FRONT YARD 3/2 ON 10.8 Acresll Detached 14 X 28 office, pool, fncd., pond. $325K Ownr. Finan. (352)621-3135 * LET OUR OFFICE GUIDE YOUI Plantation Realty, Inc, (352) 795-0784 Cell 422-7925 Lisa VanDeboe Broker (R)/Owner See all of the listings in Citrus County at realtyinc.com 1-15 HOUSES WANTED Cash or Terms John (352) 228-7523 Buver.com Im A Private Investor, Looking to Buy, Res. or 352-637-2973 I homesold.com ACREAGE FOR SALE 0.5 2.5 Zoned for MH or home. Priced to sell! By Owner. Ownr fin. avail. Low dwn, flex terms.Se Habla Espanol (800) 466-0460 10 ACRES Close to shopping. Great price of $149,900 Sheila Bensinger at Keller Willams Realty (352) 476-5403 20 ACRES HI & DRY MUST SELL $194,900 Shella Bensinger at Keller Willams Realty (352) 476-5403 42 Acres cleared & fenced, rolling hills, high & dry close to everything $575k 352-302-9140 3/2 SW on Two 'i AC Lots. Scrn porch. BY OWNER, $44,500 1592 S Lookout Pt 2 blocks off US19 352-503-4142 FARMS & WATER FRONT M SL $90 ShlaBnigra N. Carolina Mountains Log Cabin Shell, on 2.26 Acres, Ready to finish, Wooded corner lot, $99,900., 828-652-8700 /2/1 WOODLAND EST. Fixed dock w/gulf access, lyr. old AC, DR, Fm.Rm. Scrn'd Garden lanai. $369,000 (352) 564-0759 Percent Commission Realty Seect (352) 795-1555 BUY NOW Bargains Everywhere! ca Citrus County c= Home I Crossland Realty Inc. Since 1989 (Ic2' 72666AAI FINANCING AVAIL. 1-800-840-4310 letsgolandllc.com SUGARMILL WOODS Oak Village, Balsam St. MUST SELL $39,900 (352) 613-2855 mr', MONROE SALES 9-5 Mon thru Fri PONTOON 2003 G3 LX CRUISE, 20' PONTOON. 03 YAMAHA F50 4-STROKE W/LESS THAN 30 HRS; '03 PER- FORMANCE TLR; NEW 525 HUMMINGBIRD DEPT/FISH FINDER; STEREO; LG BIMINI; CHANGING/POTTY ROOM; ALL CG EQUIP- MENT; LIKE NEWII! CAN EMAIL PICS. COST OVER $20,000 NEW; ASKING $11,900 OBO. (352) 212-5179 lc= Boats r $$ 7 $ $$ $$$ TOP DOLLAR I For Junk Cars $ (352) 201-1052 $ -- --- El r---- E RENTAL FINDER renlalflnder.com S= = = I 4 Mud Tires, 44 x 18.5x 24ft. Proline S10 Pick Up, Race Car (352) 621-3420 All 2007 Century Boat Packages Receive A FREE Trailer Stop In and SAVE! SAVE '07 2001 CENTURY F150 & Trailer, T-Top & many extras 28 292 '07 OUTER BANKS 160 Skiff, 50HP Yamaha & Trailer $13,595 '03 CHAPARRAL 215 SSS Cuddy Mercruser & Trailer, Fast & Clean $23,990 BAYLINER 26', Rendezvous Deck Boat. 140 Suzuki, 4 str. mtr. bath, fresh H20 Syst., top w/rear end., Good tandem trir. $18K (352) 422-4095 CAROLINA SKIFF 2004, 19DLX, 90HP Yamaha 4 stroke Minkotta trolling motor, bimini top, depthfinder, radio, onboard battery charger, rod holders, all in very good cond. $9,500 (352) 344-5006 COMPAC 16 Sailboat, new bottom paint, complete rigg- ing, extras, dinghy, trir. great starter boat, $2,500. (352) 563-1327 (352) 795-0678 DURACRAFT 15' 6hp Yamaha, Low Hours, Wesco Trlr, 2 swvl fishing seats. $1895 352-634-3679/628-5419 00, 352-465-7240 JON BOAT 16' w/30 hp Merc. T/T, Blmlnl, CC,Trlr, Mtr.& Acc, Exc. 4 flats. $4,350 obo (352) 746-4160 LOWE 17' Bass Boat/Trailer 50HP Yamaha engine $6500. (352) 795-9873 Nature Coast Marine New, Used & Brokerage We Pay Cash for Clean Used Boats www BoatSuper CeoterLoQm 352 794-0094 I N ature Coast Marine Sales & Service H Present this Ad for 10% Off on all I Parts & Service | Homosassa H 352-794-0094 = NEW & USED Boat trailers at great prices. Limited supply. Let's make a Deall 352-527-3555 i= Pontoon Boat 18 ft. Crestliner Sport, refurbished In '07, 40HP Honda, live well, GPS, Dep. find. port a pott -_ BIG RV SALE By COMO RV & Truck Sales & Service Everything Goes No reasonable Offer Refused All this at -FOOD RANCH- Hwy. 19, Inglis Fri. Sept 28 to Sun. Oct. 7 or call 352-422-1282 SOUTHWIND '84, 30' Class A, 40K mi., store $25,000. (352) 746-2699 I BUY RV'S Travel Trailers, 5th wheels etc. Call Glenn (352) 302-0778 OPEN ROAD 36', '03, 5thWhIl,islnd kit., 3 slides. No pets/smkng. Used & pulled very little. $21,500 (352) 563-9835 PALOMINO PONY Pop-Up. Sleeps 5,frig., AC, stove for Inside/ outside. Good Cond. $3,000(352)746-0839 TERRY 29 ft., sleeps 6, great cond. inside & out $5,500. (352) 344-9241 352-585-3079 VIKING '86, Pop Up, Hard top, Good Shape. Sleeps 8, AC, Ice Box, range, sink $975 (352) 628-0221 4 CORVETTE ZR-I Style Chrome wheels & tires. 91/2X17" wheels, 275/40 ZR17 Kumho Tires, will fit '88-'96 Covette. $500/ obo. (352) 489-8120 6' ALUMINUM CAP for Toyota Tundra Access Cab SR5 P-Up. $250 (352) 527-3710 CARGO CARRIER Roof-top $75 (352) 382-1193 S-- - r '00, VW Jetta Automatic Sunroof and more. HURRY At Only $5990. | I 1-866-838-4376 r '02, Mazda Millenla Leather Roof Rare and a Steal At $12,999 1-866-838-4376 --- --- " '02, Mercury Grand I Marquis LS ILeather Roof Must See $7,990. Call I Before It's Too Late I 1-866-838-4376 H'03, Hyundai Sonato= Very Low Miles Don't H Hesitate at $6,990. S Call Now H 1-866-838-4376 H L -. -JEl '03,Saturn Vue Sunroof Alloy Wheel H Can Tow Me Only $13,990. H 1-866-838-4376 L .----I-. ACURA MDX '04 Sport w/ navigation, 59K ml, Exc. cond. Garage kept. $24,800 352-746-7402, Iv msg. F ALL SAVE AUTO AFFORDABLE CARS 100+ Clean Dependable Cars FROM $450- DOWN 30 MIN. E-Z CREDIT 1675 US HWY 19 HOMOSASSA 352-563-2003 BUICK 1989 Regal, 100K mi. great shape, $1 500/obo (352) 586-0417 BUICK Century 2001, 4dr. Good cond. Air, Loaded. $2800 (352) 382-2631 mi. $4,700. (352) 795-7876 CADILLAC ELDORADO '00 44,700 miles, 2 Door, Loaded, Garage kept, A-1 Condition. $12,900. 352-586-4134 CHEVY '99, Malibu, low mileage $4,600. obo (352) 746-0283 CHEVY Lumina, '94, 118K ml, 4dr, 2nd owner, Asking $2,500 (352) 628-0029 CHEVY MONTE CARLO 2004. 43330, $18,500.00 Dale Earnhardt Sr Edition 352 249-6825 CUTLASS OLDS 1999 Only 66k miles, One Owner, Excellent Condition, Great Gas Mileage, $5100 -Call 352-344-1646 DODGE '02, Intrepid, Low mi., white, Make offer, Call (352) 560-7251 DODGE 1987 CONQUEST 2.6, turbo, 5spd. runs very good. $1200/obo. (352) 795-8968 DODGE Intrepid '98, V6, AC, CD player. Heat. P/W $1600 352-563-2125 or 352-302-6377 FORD '01 Taurus SES White, A/C 4dr, V6, 41k MI. Exc. Cond. $8800 (352) 341-4805 FORD 2005 Taurus, 21K ml., Like Newl Sunroof, $11,000 Citrus Hills. (352) 746-1321 FORD '93 Taurus GL Station Wagon, Loadedl $3,300 OBO (352) 563-1181 (813)244-3945 489-1433 INFINITY G35 '06 Coupe, 10K ml. Blue/ creme, beautiful & perfect! $30,800 (352)860-1239 LEXUS SC430 2005, Red conv. 29,500mi. Like new! $42,600. Homosassa (702) 306-3929 -MERCEDES 1987,560 SL,126K, White. Both tops, I REDUCED $9 999 g 382-1204 L * -TS-- I- MITSUBISHI 4JO Classic OWL =Vehicle touch with the Nature Coast Our family of newspapers reaches more than 1 70,000 readers in Citrus, Marion, Sumter, Levy, Dixie and Gilchrest counties. * The Visitor * Inverness Pioneer * Sumter County Times * Williston Pioneer Sun-News South Marion Citizen * Riverland News Riverland Shopper * Chiefland Citizen Tri-County Bulletin The best way to reach the growing Nature Coast market is through our award-winning, growing newspapers. C ITRUS COUNT Y 1 624 North Meadowcrest Boulevard Crystal River, FL 34429 (352) 563-6363 V * Citrus County Chronicle * Homosassa Beacon * Crystal River Current CHEVY EL CAMINO '65 $8,500. worked 350, turbo 350 tranny. Needs some finishing touches. 352-489-8633 DODGE 1965 Dart, 440 6pack, 500 HP, auto trans. Tubbed rear, way too much to list, $13,500. Must see! Will trade (603) 860-6660 FORD '64, Galaxy, 4 DR, all original, runs good, $4,500. (352) 344-8401, Cell (352) 476-4496 Your' world first. Every Dena C iiONICI(;.l C !.-- . OLDS AURORA 2001, V-6 Sedan, 48K, Exc. Cond, Leather, Dual Pwr Seats/Wndws/ Drs., Radio/Cass./CD, Chrome Wheels, Pearl White. $10,995 (352) 746-2001 TOYOTA CAMRY LE '96, Exc. Cond./AII pwr., Mntc. Rcds., Grgd. $3,500 (352) 422-5685 AUTO/SWAP/CAR CORRAL SHOW Sumter Co. Fairgrounds Sumter Swap Meets October 7, 1-800-438-8559 FORD '76 F-100 P-Up. 302 V-8, Auto, Pwr. String. All orig. Low mis. $2,500O. (352) 302-5321/John PONTIAC '85 FIERO GT-V-6, Auto, AC, 97K mi., Great Cond. & Starter Collect. $3,900obo352-628-5513 '90, Mirage, cold AC. 49K ml. New tires. A-1 Cond. 40+ MPG $2,500 (352) 344-9141 Your Donation of A Vehicle Supports Single, Homeless Mothers & Is Tax Deductible Donate your vehicle TO THE PATH (Rescue Mission for Men Women & Children) at(352) 527-6500 TRIUMPH '78 Spitfire Many extras call for details $4000 (352) 302-8529 'r 00, Dodge Dakota Club Automatic and Only $5,990. Call Now 1-866-838-4376 '04, Toyota Tacoma Prerunner, V8, SR5 I I Call Now 1-866-838-4376 L.. --; Curius CofurNn' (FL) CHuRONICLECASIIE 'Ai Dakota '96, Std. cab, Topper, 128K, gd. cond. Nice body $2,700/obo (352) 527-4590 DODGE RAM 1500 1996, needs engine, body exc., tires good, will sell for parts $3,000 obo (352) 287-9561 FORD '02 150, 95K mi. Exc. cond. $9,900 See at Affordable Muffler, Inv. (352) 302-6905 FORD '04, HD 4 WD, crew cab, Duramax diesel, 94k mi., $21,000. firm (352) 634-2462 FORD '84 F-350 1 Ton 460 motor, Elderbroch Carb/Manifold, 3" Lift Kit, Runs Great $900 obo 352-563-6626 FORD '90, F250, 4 X 4,302, V8, cold AC, grannylow 4 spd, $2,500. obo (352) 560-7324 aft. 3pm FORD '92, Ranger, $1,250. abo (352) 746-1087 FORD '99. Super Duty V10, 66,177ml., GMC 1992 Sierra, 6 cyl., runs good. $1,500 (352) 726-8299 NISSAN '03, Frontier, 43k mi., stereo, CD, tinted win., tow pkg. alarm, $14,500 (352) 257-1173 NISSAN Frontier XE '04, Ext. Cab, aute, cruise, 1 Owner. Exc. Cond. $9,500 (352) 302-7073 TOYOTA '06 Tacoma 4 Cyl, Auto, 41k, Exc. Cond, 7yr. 100k Wrty $12,900 (352) 697-1200 r '03TSuzuki Garn Vitara Gas Saver SUV Low Miles Only $9,980 HURRY 1-866-838-4376 S 3,Hona CRV EX I AWD and A Sunroof I o* NLY mi., exc. cond. $10,000/obo (352) 637-2582 HYUNDAI '03 Santa Fe V6, Pwr all, sun-roof, 25k Mi. Trlr Leather, Hitch $11,900 (352) 489-1433 JEEP 2004 Wrangler, low miles, 4X 4. Gator logo. $14,500 (352) 795-4920 CHEVY P-UP Not Street Legall '87, 56" Tractor Tires, 454, Runs Great! $5,500 628-4878 Dave Jr. or 352-302-5885 DODGE '98 Ram1500,Ext. Cab, V-8, topper. 100K. 1 owner. Well maint'd. $6,990 (352) 302-5698 FORD 1997, Ranger, 5spd, A/C, 31/10.50 A/T, man- ual hubs, 155K, $3500. (352) 613-4149 FORD BRONCO '94, 4x4 12.000LB Winch, cold AC, new tires, 108Kmi 860Ann C (35 2)47.1540n r'00, Hond Odyssey Loaded and Low Miles Don't Miss This SOne At $8,988. S1-866-838-4376 DODGE '94, Ram 250. AM/FM/CD, V8, runs good, $1,200. (352) 746-9012 DODGE '97, Grand Caravan, 99k mi., new tires, battery, excel. cond. $3,900. (352) 637-9694 DODGE '98 Ram 2500 Jayco Camp Convers. 5.9 Ltr, fully loaded, refdg, mlcrow CHEVROLET Van. runs great, body good, asking $1,000 Call (352) 476-4661 LINCOLN '97, Continental 1 owner, leather, loaded, 109k ml. non smoker, $2,950 firm (352)341-0004 PLYMOUTH '99, Voyager, espresso edition. 3.8, V6, loaded. cold AC 151k ml. 8 pass $2,250, firm 341-0004 HANDICAPPED VAN FOR SALE Handicapped van with Braun lfft DAVIDSON .90 Softtaill,all, 18 mo. left on warr. Low miles. Exc. cond. $16,900 (352) 560-7168 mi. ago. Bike Is in very good cond. 352-628-5422 leave message. HARLEY DAVIDSON SPORTSTER 883 '99, Loaded w/extras, low miles, Mint Cond. $4,500(352) 634-5450 HONDA '98 Shadow 1100. Amer- ican Classic Edition Tourer, New tires, $5,000 Loaded. (352) 344-3898 KAWASAKI 1981, ridden daily, $1000 (352) 400-0310 (352) 270-3571 MOTO GUZZI BREVA 7501E 2004 12,000, $4,900.00 Beauti- ful silver bike, garage kept, touring wind- shield, hard bags, low profile seat. Great Ride, (352) 637-6345 Scooter New 150CC, Road Legal, Call (352) 201-6008 850-242-9343 SUZUKI '04 GSXR 1000. Low miles, fast Fin. Avail. $7,300. Lucky U Cycles (352) 330-0047 SUZUKI '06 M109R. 2700m1. Good or Bad Credit. Fin. Avail. $9,500. Lucky U Cycles (352) 330-0047 SUZUKI 2003 Burgman 400 Scooter, Royal blue, 14,900+ml. $3900 (352) 419-0053 SUZUKI 650cc, 1980. $800/obo (352) 572-7984 SUZUKI '93 1400 Intruder, Ready to Go. $2,000. Lucky U Cycles (352) 330-0047 468-1008 MCRN 2007-CP-633 Estate of Richard H. Basely Notice of Administration PUBLIC NOTICE IN THE CIRCUIT COURT OF CITRUS COUNTY, FLORIDA PROBATE DIVISION CASE NO,: 2007CP633 IN RE: ESTATE OF RICHARD H. BOSELY A/K/A RICHARD HUGHIE BOSELY, Deceased. NOTICE OF ADMINISTRATION The Administration of the Estate of RICHARD H. BOSELY A/K/A RICHARD HUGHIE BOSELY, de- ceased. File Number: 2007CP633. INTERESTED PERSONS ARE NOTIFIED THAT: All persons whom this Notice Is served who have objections that challenge the validity of the Will, the qualifications of the Per- sonal Representative, venue, or jurisdiction of this Court are required to file their objection with this Court. WITHIN THE LATER OF THREE MONTHS AFTER THE DATE OF THE FIRST PUBLICATION OF THIS NO- TICE OR THIRTY DAYS AF- TER THE DATE OF SERVICE OF A COPY OF THIS NO- TICE ON THEM. All tile their claims with this Court. WITHIN THREE MONTHS AFTER THE DATE OF THE FIRST PUBLICATION OF THIS NOTICE. A petition to deter- mine exempt property must be filed on or before the later of the date that is four months after the date of service of a copy of the Notice of Adminis- tration or the date that Is 40 days after the termina- tion of any proceeding In the estate. Whichever first occurs. An election to take elective share must be flied within the earlier of the date that is six months after the date of service of the Notice of Adminis- tration on the spouse or two years from the date of the decedent, ALL CLAIMS, DEMANDS AND OBJECTIONS NOT SO FILED WILL BE FOREVER BARRED. The date of the first publication of this Notice Is October 1,.2007. Personal Representative /s/ Larry Basely 2752 W. Erie Road Temperance, MI 48182 Citrus County Chronicle October 1 and 8, 2007. 469-1008 MCRN 2007-CP-822 Estate of Gloria E. Smith Notice to Creditors PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTYFLORIDA PROBATE DIVISION File No.: 2007-CP-822 Division: Probate IN RE: ESTATE OF GLORIA E. SMITH Deceased. NOTICE TO CREDITORS The administration of the estate of GLORIA E. SMITH, deceased, whose date of death was Feb- ruary 3, 2007, Is pending In the Circuit Court for Citrus County, Florida, Probate Division, the address of which is 110 North Apopka Avenue, Inver- ness, Florida 34450. The names and addresses of the personal representa- tlr MONTHS AFTER THE TIME t OF THE FIRST PUBLICATION OF THIS NOTICE OR 30 DAYS AFTER THE DATE OF SERVICE OF A COPY OF THIS NOTICE ON THEM, All other creditors of the decedent and other persons having claims or demands against decedent's estate must T file their claims with this court WITHIN 3 MONTHS AFTER THE DATE OF THE FIRST PUBLICATION OF THIS NOTICE. ALL CLAIMS NOT FILED t WITHIN THE TIME PERIODS y SET FORTH IN SECTION 1 733.702 OF THE FLORIDA p PROBATE CODE WILL BE T FOREVER BARRED. NOTWITHSTANDING THE TIME PERIODS SET FORTH ABOVE, ANY CLAIM FILED B IWO (2) YEARS OR MORE AFTER THE DECEDENT'S c DATE OF DEATH IS BARRED. The date of first publi- cation of this notice Is October 1,2007. Personal Representative: A /s/ Thomas E. Slaymaker / 2218 Highway 44 West F' Inverness, FL 34453 2' Attorney for Personal Tr Representative: ; /s/ Thomas E. Slaymaker A Esquire A Florlda Bar No. 398535 p Slaymaker and C Nelson, P.A, C 2218 Highway 44 West C Inverness, Florida 34453 Telephone: (352) 726-6129 Fax; (352) 726-0223 Published two (2) times In Citrus County Chronicle, October 1 and 8, 2007. 470-1008 MCRN 2007-CP-824 Estate of Mary Behary Notice to Creditors Summary Admin. PUBLIC NOTICE IN THE CIRCUIT COURT Jo FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION FILE NO, 2007-CP-824 N RE: ESTATE OF tF MARY BEHARY, Br DECEASED, w N NOTICE TO CREDITORS w (Summary Administration) N p, TO ALL PERSONS HAVING CLAIMS OR DEMANDS AGAINST THE ABOVE ES- TATE: You are hereby notified that an Order of Summary Administration has been entered In the Estate of MARY BEHARY. deceased, File Number 2007-CP-824, by the Circuit Court for Citrus County. Florida, Pro- bate Division, the address of which Is 110 North Apopka Avenue, Inver- ness, Florida 34450; that the decedent's date of death was JULY 25, 2007; that the total value of the estate Is $12,000.00 and that the name and ad- dress of those to whom It has been assigned by such order are: JAMIE ESTHER DAFFRON 7865 W. HWY. 40, LOT 101 OCALA, FLORIDA 34482 JAMES STEPHEN BEHARY P.O. BOX 61849 FT. MYERS. FLORIDA 33911 MARLENE KAY KILLINGBECK 42685 JONATHAN PLACE CLINTON TOWNSHIP, MICHIGAN 48038ober 1, 2007. Person Giving Notice: /s/ Jamle Esther Daffron 7865W. Hwy. 40, Lot 101 Ocala, FL 34482 Attorney for Person Giving Notice BRADSHAW & MOUNTJOY, P.A. /s/ Michael Mountoy, Esq. 209 Courthouse Square Inverness. FL 34450 Florida Bar No.: 157310 Telephone: (352) 726-1211 Published two (2) times In Citrus County Chronicle October 1 and 8, 2007. 471-1008 MCRN 2007-CP-827 Estate Dorothy M. Stuart Notice to Creditors (Summary Administration) PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT, IN AND FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION FILE NO. 2007-CP-827 IN RE: ESTATE OF DOROTHY M. STUART, a/k/a DOROTHY MARIE STUART, a/k/a DOROTHY M. CERVENKA STUART, Deceased. NOTICE TO CREDITORS (Summary Administration testate- Florida resIdent) TO ALL PERSONS HAVING CLAIMS OR DEMANDS AGAINST THE ABOVE ES- TATE: You are hereby notified that an Order of Summary Administration has been entered In the estate of DOROTHY M. STUART, a/k/a DOROTHY MARIE STUART, a/k/a DOROTHY M. CERVENKA STUART, de- ceased, File Number 2007-CP-827, by the Cir- cuit Court for Citrus County, Florida, Probate Division, the address of which is 110 North Apopka Avenue Inver- ness, Florida 34450, that the total cash value of the estate Is exempt Homestead property, and that the names and ad- dresses of those to whom t has been assigned by such order are: JACK R. CERVENKA 7 Myra Ave. Lebannon, NH 03766 WILLIAM A. CERVENKA, JR. 662 N. Gillette Ave. Bayport, NY 11705 INDA M. BERGER 3637 Legend Oaks Dr. Amelia, OH 45102 ALL INTERESTED PERSONS ARE NOTIFIED THAT: All creditors of the dece- dent and other persons having claims or de- mands against decedent's estate on whom a copy of this no- ice Is served within three months after the date of he first publication of this oullce must file their claimss with this Court WITHIN THE LATER OF HREE MONTHS AFTER THE DATE OF THE FIRST PUBLI- CATION OF THIS NOTICE OR THIRTY DAYS AFTER THE )ATE OF SERVICE OF A OPY OF THIS NOTICE ON HEM. All other creditors of the decedent and persons having claims or de- mands against the estate f the decedent must file heir claims with this Court WITHIN THREE MONTHS AF- ER THE DATE OF THE FIRST PUBLICATION OF THIS NO- ICE. ALL CLAIMS AND DE- lANDS NOT SO FILED WILL E FOREVER BARRED. The date of the first publi- Eation of this Notice Is october 1,2007. Person Giving Notice: /s/ Jack R. Cervenka 7 Myra Avenue Lebannon, NH 03766 attorney for Person Giving notice: / DANIEL J. SNOW, ESQ. orlda Bar No. 0794820 03 Courthouse Square iverness, Florida 34450 telephone; (352) 726-9111 asclmile: (352) 726-2144 attorneyy for Estate ubilshed two (2) times In citrus County Chronicle, October I and 8, 2007. 475-1008 MCRN 07-CP-221 Estate of James J. Brooksbank Notice to Creditors PUBLIC NOTICE IN THE CIRCUIT COURT FOR CITRUS COUNTY, FLORIDA PROBATE DIVISION File No.: 07-CP-221 Division; Probate I RE: ESTATE OF AMES J. BROOKSBANK, Deceased NOTICE TO CREDITORS The administration of ie estate of James J. rooksbank, deceased, hose date of death was november 24, 2006, and hose Social Security umber Is 476-30-9213. Is ending In the Circuit ourt ALTERober 1. 2007. Personal Representative: Phllip D, Brooksbank P.O. Box 496 Stillwater, MN 55082 Attorney for Personal Representative: Chips T. Parks (#154362) Faegre & Benson LLP 2200 Wells Fargo Center 90 South Seventh Street Minneapolis, MN 55402-3901 Telephone: 612-766-7000 Published two (2) times In Citrus County Chronicle October 1 and 8, 2007. 476-1008. PAMELA NOLAN 7843 E. VERNE CT. FLORAL CITY, FL 34436 UNIT #A-38 Heath Mini-Storage U.S. Hwy, 41 5164 S, Florida Ave. Inverness, FL 34450 Published two (2) times In Citrus County Chronicle October 1 & 8, 2007 477-1008 MCRN Sale of Storage Unit contents PUBLIC NOTICE The personal property of Daniel Savage located at 8000 W. Gulf to Lake Hwy., Crystal River Storage Unit #10 will be sold for past due rent on 10/12/07 at 10:00 A.M. Published two (2) times in Citrus County Chronicle October 1 and 8, 2007, 466-1001 MCRN Value Adjustment Board PUBLIC NOTICE NOTICE IS HEREBY GIVEN that, in compliance with Sec- tions 15, 2007 THROUGH NOVEMBER 2,- house Annex, 210 North Apopka Avenue, Suite 200, In- ; JOYCE VALENTINE, CHAIRMAN 2007 Value Adjustment Board Citrus County, Florida Published one (1) time In the Citrus County Chronicle on October 1,2007. 459-1008 MCRN 2007-CA-4456 Howard E. Hall, II Vs. Owen & Carolyn Hall Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT IN AND FOR CITRUS COUNTY, FLORIDA CASE NO. 2007-CA-4456 HOWARD E. HALL, II, Plaintiff, v. OWEN C. HALL and CAROLYN A. HALL, Defendants. NOTICE OF ACTION TO: CAROLYN A. HALL 4608 W. Costello Lane Homosassa, FL 34446 YOU ARE NOTIFIED that an action for partition of the following described property In Citrus County, Florida: Lots 34 and 35 being more particularly described as follows: W 1/2 of NE 1/4 of SE 1/4 of SW 1/4 LESS the North 25 feet and LESS the South 25 feet AND E 1/2 of NE 1/4 of SE 1/4 of SW 1/4, LESS, North 25 feet and LESS South 25 feet and LESS East 25 feet. In Section 29, Township 19 South, Range 18 East, 17th day of October, 2007, and file the original with the Clerk of this Court either before service on Plaintiffs' attorney or Immediately thereafter; otherwise a default will be entered against you for the relief demanded In the Complaint. DATED this 10th day of September, 2007, BETTY STRIFLER .Clerk of the Court By: /s/ M, A. Michel As Deputy Clerk Published four (4) times In the Citrus County Chronicle, September 17, 24, October 1 and 8, 2007. 464-1001 MCRN 2007-CA-003860 Bank of New York vs. Michael Belin Notice of Action Constructive Service PUBLIC NOTICE IN THE CIRCUIT COURT OF THE 5TH JUDICIAL CIRCUIT. IN AND FOR CITRUS COUNTY FLORIDA GENERAL JURISDICTION DIVISION CASE NO.: 2007-CA-003860 THE BANK OF NEW YORK AS SUCCESSOR IN INTEREST OF JPMORGAN CHASE BANK NATIONAL ASSOCIATION. AS TRUSTEE FOR FIRST NLC TRUST 2005-2. MORTGAGE-BACKED CERTIFICATES, SERIES 2005-2 PLAINTIFF, VS. MICHAEL BELIN, ET AL., DEFENDANTSS. NOTICE OF ACTION CONSTRUCTIVE SERVICE TO: MICHAEL BELIN AND UNKNOWN SPOUSE OF MI- CHAEL BELIN whose residence is unknown if he/she/they be living; and if he/she/they be dead, the unknown defendants who may be spouses, heirs, devisees, grantees, assIgn- ees, Ilen: LOTS 13 14,15 16,17 18 AND 19, BLOCK 12 INVERNESS HIGHLAND, UNIT 8 ACCORDING TO THE MAP OR PLAT THEREOF At RECORDED IN PLAT BOOK 2 PAGES 166 THROUGH 169 INCLUSIVE, OF THE PUBLIC RECORDS OF CITRUS COUNTY, FLORIDA. has been filed against you and you are required to serve a covpy of your written defenses, If any. to it on DAVID J. STERN, ESQ. Plaintiff's attorney, whose address Is 801 S University Drive #500, Plantation, FL 33324 on or before October 24, 0opeti- ton filed herein, WITNESS my hand and the seal of this Court at CIT- RUS County, Florida, this 14th day of September, 2007 BETTY STRIFLER CLERK OF COURTS CLERK OF THE CIRCUIT COURT (COURT SEAL) By: /s/ M.A. Michel Deputy Clerk IN ACCORDANCE WITH THE AMERICANS WITH DISABILI- TIES ACT, persons with disabilities neediln a special ac- commodation should contact COURT ADMINISTRA- TION, at the CITRUS County Courthouse. at 1-800-955- 8771 (TDD) or 1-800-955-8770, via Florida Relay Service. Published two (2) times In the Citrus County Chronicle, September 24 and October 1, 2007. 07-98157 LIT -mo- 467-1001 MCRN Beverly Hills Advisory Council PUBLIC NOTICE PUBLIC NOTICE NOTICE IS HEREBY GIVEN that the Beverly Hills Advisory Council will meet on Monday, October 8, 2007 at 10:00 o'clock A.M. at the Beverly Hills Civic Center, One Civic Circle, Beverly Hills, Florida, 34465, to conduct business of the Beverly Hills con- side, October 1, 2007. 460-1001 MCRN City of Crystal River Public Hearing PUBLIC NOTICE NOTICE IS HEREBY GIVEN by the City Council of the City of Crystal River, Florida that a PUBLIC HEARING will be held for Assessment Areas 103,104,105 and 109 at 7:00 p.m., on Monday, October 8, 2007 in the Council Chambers at City Hall, 123 NW Highway 19. Crystal River, Florida. Please be advised that all persons Inter- ested, the description of each property to be assessed and the amount to be assessed and all other realted items In their entirety, may be Inspected at the office of the City Clerk during regular working hours. Impair- ment on September 24 and October 1, 2007. 472-1008 MCRN 2007-CA-003970 Bank of America, Vs Shaun C. Clifton, et a. Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT IN AND FOR CITRUS COUNTY, FLORIDA CIVIL ACTION CASE NO.: 2007-CA-003970 DIVISION: BANK OF AMERICA, NA,, Plaintiff, vs. SHAUN C. CLIFTON, et al, Defendant(s). NOTICE OF ACTION TO: SHAUN C. CLIFTON LAST KNOWN ADDRESS: 3882 E. GRANT STREET INVERNESS, FL 34452 CURRENT ADDRESS: UNKNOWN TO: LAUREN D. FAULKNER LAST KNOWN ADDRESS 3882 E. GRANT STREET INVERNESS, FL 34452: LOTS 76 THROUGH 79, BLOCK 113, OF INVERNESS HIGH- LANDS UNIT NO. 3, ACCORDING TO PLAT THEREOF RE- CORDED IN PLAT BOOK 2, PAGES 103 THROUGH 108, IN- CLUSIVE OF THE PUBLIC RECORDS OF CITRUS COUNTY, FLORIDA. has been filed against you and you are required to serve a copy of your written defenses within 30 days af- ter the first publication, If any, on Echevarria Codilis & 24th day of September, 2007. Betty Strifler Clerk of the Court (SEAL) By: /s/ M. A, Michel As Deputy Clerk Published two (2) times in the Citrus County Chronicle, October 1 and 8, 2007. F07027882 473-1008 MCRN 2007-CA-003846 Yale Mortgage Corp. Vs. Deeshannon Flester, Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT OF THE 5TH JUDICIAL CIRCUIT IN AND FOR CITRUS COUNTY, FLORIDA GENERAL JURISDICITON DIVISION CASE NO. 2007-CA-003846 YALE MORTGAGE CORPORATION. a Florida corporation. Plaintiff. -vs- DEESHANNON FESTER, an Individual, PAUL FIESTER, an Individual, JOHN DOE #1 a/k/a any and all unknown Tenants In possession of the subject real property, an Individual, and JOHN DOE #2 a/k/a any and all unknown Tenants In possession of the subject real property, an Individual, Defendants, NOTICE OF ACTION TO: DEESHANNON FIESTER 8880 North Basswood Avenue Crystal River. FL 34428 PAUL FIESTER 8880 North Basswood Avenue Crystal River, FL 34428 JOHN DOE #1 a/k/a all unknown Tenants In posesslon of the subject real property 8880 North Basswood Avenue Crystal River, FL 34428 JOHN DOE #2 a/k/a all unknown Tenants In posesslon of the subject real property 8880 North Basswood Avenue Crystal River, FL 34428 YOU ARE NOTIFIED that an action for Foreclosure of Mortgage on the following described property: Lot 5, Block 73, Crystal Manor Unit No. 2, according to the map or plat thereof as recorded in Plat Book 8, Page 112, Public Records of Citrus County, Florida. With an address of: 8880 North Basswood Avenue, Crystal River, FL 34428 has been filed against you and you are required to serve a copy of your written defenses, If any. to It, on Jeffrey C. Roth, Esquire. Roth & Scholl, Attorney for Plaintiff, whose address Is 866 South Dixie Highway, Coral Gables, FL 33146 on or before October 31, 2007, a date which Is within thirty (30) days after the first pub- Ilcation of the Notice In the Citrus County Chronicle and file the original with the Clerk of the Court either before service on Plaintiff's attorney or Immediately thereafter; otherwise a default will be entered against you for the relief demanded in the complaint. WITNESS my hand and seal of this Court this 24 day of September, 2007. BETTY STRIFLER As Clerk of Court (SEAL) By: M.A. Michel Deputy Clerk Published two (2) times In the Citrus County Chronicle. October 1 and 8, 2007, 462-1015 MCRN 2007-CA-4548 Brenda Joy Campbell vs. Capeti- tie74-1008 MCRN 2007-CA-4275 Countrywide Home Loons Inc. Vs. Alfred J. Groebe Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT IN AND FOR CITRUS COUNTY, FLORIDA CASE NO: 2007-CA-4275 COUNTRYWIDE HOME LOANS, INC. D/B/A AMERICA'S WHOLESALE LENDER Plaintiff. vs. ALFRED J. GRAEBE; UNKNOWN SPOUSE OF ALFRED J. GRAEBE; UNKNOWN TENANT I; UNKNOWN TENANT II; CRYSTAL POINTE PROPERTY OWNERS ASSOCIATION, INC., and any unknown heirs, devisees, grantees, creditors, and other unknown persons or unknown spouses claiming by, through and under any of the above-named Defendants, Defendants. NOTICE OF ACTION TO: UNKNOWN TENANT 1 8416 N. CEDAR ELM WAY DUNNELLON, FL 34433 UNKNOWN TENANT II 8416 N. CEDAR ELM WAY DUNNELLON, FL 34433 LAST KNOWN ADDRESS STATED, CURRENT RESIDENCE UNKNOWN And any unknown heirs, devisees, grantees, creditors, and other unknown persons or unknown spouses claim- ing by, through and under the above-named Defendant(s), If deceased or whose last known ad- dresses are unknown. YOU ARE HEREBY NOTIFIED that an action to fore- close Mortgage covering the following real and per- sonal property described as follows, to-wit: Lot 7, Block "B", CRYSTAL POINTE UNIT NO. 1, according to the Map or Plat thereof, recorded in Plaot Book 12, Pages 129 and 130, Inclusive, Public Records of Citrus County, Florida. Together with a 1985 Kaufman, Broadmore, Mobile home, Serial # KBFLSNA543268/KBFLSNBS43268 has been filed against you are required to serve a copy of your written defenses, if any, to It on Anthony Edward LIpinski, Butler & Hosch, P.A., 3185 South Con- proceeding. If hearing Im- paired. (TDD) 1-800-955-8771, or Voice (V) 1-800-955-8770, via Florida Relay Service. Betty Strifler CLERK OF THE CIRCUIT COURT (SEAL) By: /s/ M. A. Michel Deputy Clerk Published two (2) times in the Citrus County Chronicle on October I and 8. 2007 463-1001 MCRN 2007-CA-4023 Clyde Kopp vs. Dennis J. Dalley Notice of Action PUBLIC NOTICE IN THE CIRCUIT COURT OF THE FIFTH JUDICIAL CIRCUIT IN AND FOR CITRUS COUNTY, FLORIDA CASE NO. 2007-CA-4023 CLYDE KOPP, as Trustee of the CLYDE KOPP TRUST AGREEMENT DATED JULY 22, 1996, Plaintiff, v. DENNIS J. DAILEY. TERESA A. DAILEY, LAKELAND BANK, a foreign corporation, and S & W COLE, INC., a Florida corporation d/b/a BRAY'S PEST CONTROL, Defendants. NOTICE OF ACTION TO: DENNIS J. DAILEY 5272 W. Richland Avenue Homosassa, FL 34446 YOU ARE NOTIFIED that an action to foreclose a Mortgage and Note on the following described prop- erty In Citrus County, Florida: Lot 14, LAUREL OAK ESTATES, an unrecorded subdivision lying and being situate In Section 29, Township 19 South, Range 18 East, Citrus County. Florida being more particularly described as follows: Commence at the SW corner of the E 1/2 of the NW 1/4 of the NE 1/4 of Sec- tion 29, Township 19 South. Range 18 East; thence N 88 degrees 58'57" E 657.50 feet to the Point of Beginning; thence continue N 0 degrees 22'57" E 131.47 feet. thence N 88 degrees 58'24" E parallel to sold south line a distance of 165,79 feet, thence S 0 degrees 23'15" W 131.47 feet, thence S 88 degrees 58'24" W parallel to said South line a distance of 165.78 feet to the Point of Beginning. Subject to a 15 foot wide easement along the North and West boundaries thereof for road right-of-way, TOGETHER WITH one 1979 DERO double-wide mobile home, Title Nos. 16861018 and 16861019 and I.D. Nos. 21G7739AD and 21G7739BD located there 24th day of October, 2007, and file the original with the Clerk of this Court either before service on Plaintiffs' attorney or Immediately thereafter; otherwise a default will be entered against you for the relief demanded in the Complaint. DATED this 17th day of September, 2007. BETTY STRIFLER Clerk of the Court By: /s/ M. A. Michel As Deputy Clerk Published two (2) times in the Citrus County Chronicle, September 24, October 1,2007. CLASSIFIES BOMBARDIER '04, Camo 400 4 x 4, auto, only 800 ml.,. CrI'ws COUNTY (FL) CHRONICLE FLORIDA'S FASTEST GROWING MITSUBISHI DEALER 08 LANCER p168 PER MONTH* 07 RAIDER $288 SePER MONTH* S. ,-EE 24 HOUR RECORDED MESSAGE /i.: i AROUT THIS VEHICLE - ~, )00-.'32-1415 EXT. 2801 l11,888 &0"IY= K "'' FREE 24 HOUR RECORDED MESSAGE ABOUT THIS VEHICLE 800-325-1415 EXT. 2807 *12,888 2008 ECLIPSE $288, K 07 SPYDER ~ >~bhh. PF' 24 HOUR RECORDED MESSAGE ABOUTT T'HI VEHICLE J800- 325 1415 EXT. 2802 16,888 ^1A tftf (~ w 2K FREE 24 HOUR RECORDED MESSAGE ABOUT THIS VEHICLE 800-325-1415 EXT. 2803 $21,888 07 OUTLANDER 2688 PER MONTH* i 'I W I 17,388 (I.! 07 GALANT '' FREE 24 HOUR RECORDED MESSAGE f < ABOUT THIS VEHICLE 800-325 1415 EXT. 2805 K 14,888 07 ENDEAVOR $sAA FREE 24 HOUR RECORDED MESSAGE ABOUT THIS VEHICLE 800-o325- 1415 EXI. 2809 $19,888 YOU NEED TO KNOW EXACTLY WHAT YOUR CAR IS WORTH, NO MATTER WHERE YOU PLAN TO BUY! CALL THE INSTANT APPRAISAL LINE... IT'S FREE! 0 800-342- .r008 A CA 2200 SR 200 (352)622-4111 (800)342-3008 0% FINANCING FOR UP TO 72 MONTHS IN LIEU OF ALL REBATES/INCENTIVES. MITSUBISHI 1 -.1 I i I ow 14B MONDAY, O<:Trmilt 1, 2007 SO Viowl W#* , Contact Us | Permissions | Preferences | Technical Aspects | Statistics | Internal | Privacy Policy © 2004 - 2010 University of Florida George A. Smathers Libraries.All rights reserved. Acceptable Use, Copyright, and Disclaimer Statement Last updated October 10, 2010 - - mvs | http://ufdc.ufl.edu/UF00028315/01022 | CC-MAIN-2019-22 | refinedweb | 41,980 | 75.2 |
In the "keeping up with the Jones’" department (Anders Ohlsson and Michael Swindell), I just ran across this Huge B-52 flying scale model. What is really interesting is that it uses real turbine engines! Some folks have just have way too much time (and money) on their [...]
In this rather lengthy entry in Chris Brumme’s weblog, Startup, Shutdown & related matters, he outlines many little-known items related to how the Windows OS handles dynamic loading of DLLs. He also mentions a major potential "gotcha" when executing code in "DLLMain()" (or in Delphi parlance, the unit [...]
So I’ve been trying out Pluck for the past couple of days as my news aggregator and so far I’m quite impressed. It displays the actual web page of the blog article by browsing to the originating site within a browser pane. So this means that even [...]
Hallvard’s Blog
Hallvard has a keen eye for the details. He also is one of the few Delphi customers that succeeds in keeping us on our toes on a regular basis. No chance of getting too complacent with Hallvard looking over our shoulder… Welcome to the blogsphere!
Guardian Unlimited | Online | Inside track
I think Mary got a little mixed up. From the article:
Thorpe’s disclaimer includes the line: "If you actually think that my opinions are a reflection of Borland, then I have a bridge I can sell you."
Now scroll down to the [...]
OK.. I just couldn’t let this one go… I tried.. really I did. Seems Bill is talking up blogging to top CEOs. This will either be great for many companies (especially technology driven companies)… or not. According to Gates:
"Another new phenomenon that connects into this is [...]
I was trolling through the newsgroups while rebuilding Delphi, and happened across a post that was wondering what happened to "Charlotte?" I suppose one could also ask, "what happened to the Delphi /Java byte-code compiler?" I can’t necessarily say that they’re dead, but just dormant. They [...]
There is now a public beta available for immediate download that fixes the "persistent field size mismatch exception" issue introduced by the Delphi 7.1 patch. You can get get more information here.
Share This | Email this page to a friend
I’ve been eyeing this little bit of hardware for a while and so I finally went and got it. I have a lot of videos that I’d recorded on my home PC but I hat sitting at the computer to watch them. I’d rather go to the [...]
Right before Danny left on his trip to Amsterdam, London and the grandparents, I presented a potential solution to the multi-unit namespace issues. Danny was quite excited about the idea. I’ve been discussing it with others internally and so far haven’t been able to shoot too many [...]
Server Response from: blog1.codegear.com | http://blogs.embarcadero.com/abauer/2004/05 | crawl-002 | refinedweb | 486 | 73.17 |
#include <iostream> #include <cmath> // appropriate c++ libraries for functions & constants needed #include <fstream> #include <stdlib.h> using namespace std; const int N = 1000; const double pi = 3.14159265; //constants applied int main() { double num, factor, avg = 1.0; //variables declared and initialised int i; num = N - 1; factor = (N - 1) / N; for(i=2;i<=N;i++) //loop initiated and calculation { avg = avg + factor; factor = factor * (N - i) / N; } cout << "Approximately, the average number of random songs played before a repeat song is " << (sqrt(pi * N / 2.0) - 1.0 / 3.0 + sqrt(pi / (2.0 * N)) / 12.0 - 4.0 / (135.0 * N)) << endl; //output message on the command prompt and tabulated answer to the formula/equation { ofstream out("Z:\mp3.txt"); if(!out) { //output in command DOS being transferred to cout << "Cannot open file.\n"; // to the 'Notepad' programme return 1; } out << "Answer is:" << (sqrt(pi * N / 2.0) - 1.0 / 3.0 + sqrt(pi / (2.0 * N)) / 12.0 - 4.0 / (135.0 * N)) << endl; out.close(); system("Notepad.exe Z:\mp3.txt") ; // ‘Notepad’ programme opens with answer saved to a created ‘mp3’.txt return 0; } }
List the functions used and their parameter lists
List key variables used in each function and their interpretation
doin a few exercises out of a text book of mine, and these two Q's are included, just want a bit of help on them.
would i be right in saying functuions here is only the int main () or is the loop a function as well? | https://www.daniweb.com/programming/software-development/threads/421737/write-up-questions | CC-MAIN-2017-13 | refinedweb | 254 | 65.42 |
I actually just started trying the C++ tutorials on the main site last night, and I'm now completely and utterly engrossed. I don't know why I suddenly decided I wanted to learn a programming language, but anyway, that's not important.
I've hit a snag somewhere, well, it's probably something really simple that I'm too inexperienced to notice. I'm only on lesson 3, loops. But when I try the codes in this lesson, they don't work. I type them, letter for letter, compile and then run, and don't get the expected results, but just 0s trailing down the screen. I mess around a bit, in case I made a mistake, and that doesn't help. I don't know anyone else who knows much about C++, the only person I do know is about 6 miles away and doesn't have a house phone.
I'm actually in the dark with the compiler, too. Nowhere can I find any information on how to use it, so I could be doing something wrong there, too.
Anyway, although you can find the code in the lesson 3 tutorial, I'll just add what I've got down. Maybe someone could spot where I've gone wrong.
According to the tutorial the text should be printed more than once, but as I said, all I get is lots of 0s. If anyone can help, I'd be very greatful.According to the tutorial the text should be printed more than once, but as I said, all I get is lots of 0s. If anyone can help, I'd be very greatful.Code:#include <iostream> using namespace std; int main() { int x; x = 0; do { cout<<"Good morning maddam!\n"; } while ( x != 0 ); cin.get(); } | http://cboard.cprogramming.com/cplusplus-programming/86988-never-programmed-before-got-problem.html | CC-MAIN-2014-35 | refinedweb | 299 | 81.33 |
Hi all. I have a very simple app, but I don't know how to get position of the circles. Here's the code:
from Tkinter import * master = Tk() global w def dotToDot1(event): global w circles = 0 x = event.x y = event.y c1 = w.create_oval(x, y, x+10, y+10) c2 = w.create_oval(x, y, x+10, y+10) l = w.create_line(c1.x, c1.y, c2.x, c2.y) w = Canvas(master, width=200, height=100) w.bind("<Button->", dotToDot1) w.pack() mainloop()
How do I get c1 x, y and c2 x, y?
It always says:
'int' object has no attribute 'x'
Please help! | https://www.daniweb.com/programming/software-development/threads/160554/dot-to-dot | CC-MAIN-2018-43 | refinedweb | 109 | 79.87 |
This chapter describes how to use the XSLT Mapper to create, design, and test data transformations between source schema elements and target schema elements in either Oracle BPEL Process Manager or Oracle Mediator. Samples of creating a data transformation are also provided. Version 1.0 of XSLT is supported.
This chapter includes the following sections:
Section 40.1, "Introduction to the XSLT Mapper"
Section 40.2, "Creating an XSL Map File"
Section 40.3, "Designing Transformation Maps with the XSLT Mapper"
Section 40.4, "Testing the Map"
Section 40.5, "Demonstrating Features of the XSLT Mapper"
For information on invoking the XSLT Mapper from Oracle BPEL Process Manager, see Section 40.2.1, "How to Create an XSL Map File in Oracle BPEL Process Manager." For information on invoking the XSLT Mapper from Oracle Mediator, see Section 40.2.3, "How to Create an XSL Map File in Oracle Mediator."
You use the XSLT Mapper to create the contents of a map file. Figure 40-1 shows the layout of the XSLT Mapper.
Figure 40-1 Layout of the XSLT Mapper
The Source and the Target schemas are represented as trees and the nodes in the trees are represented using a variety of icons. The displayed icon reflects the schema or property of the node. For example:
An XSD attribute is denoted with an icon that is different from an XSD element.
An optional element is represented with an icon that is different from a mandatory element.
A repeating element is represented with an icon that is different from a nonrepeating element, and so on.
The various properties of the element and attribute are displayed in the Property Inspector in the lower right of the XSLT Mapper when the element or attribute is selected (for example, type, cardinality, and so on). The Component Palette in the upper right of Figure 40-1 is the container for all functions provided by the XSLT Mapper. The XSLT Mapper is the actual drawing area for dropping functions and connecting them to source and target nodes.
When an XSLT map is first created, the target tree shows the element and attribute structure of the target XSD. An XSLT map is created by inserting XSLT constructs and XPath expressions into the target tree at appropriate positions. When executed, the XSLT map generates the appropriate elements and attributes in the target XSD.
Editing can be done in design view or source view. When a map is first created, you are in design view. Design view provides a graphical display and enables editing of the map. To see the text representation of the XSLT being created, switch to source view. To switch views, click the Source or Design tabs at the bottom of the XSLT Mapper.
While in design view, the following pages from the Component Palette can be used:
General: Commonly used XPath functions and XSLT constructs.
Advanced: More advanced XPath functions such as database and cross-reference functions.
User Defined: User-defined functions and templates. This page is visible only when the user has templates in their XSL or user-defined external functions defined through the preferences pages.
All Pages: Provides a view of all functions in one page.
My Components: Contains user favorites and recently-used functions. To add a function to your favorites, right-click the function in the Component Palette and select Add to Favorites.
Note:
The following functions are only available with Oracle Mediator, and not Oracle BPEL Process Manager, in the XSLT Mapper.
getComponentInstanceID()
getComponentName()
getCompositeInstanceID()
getCompositeName()
getECID()
getHeader(xpath as string, namespaces as string)
getProperty(propertyName as string)
setCompositeInstanceTitle(titleElement)
setProperty(propertyName as string, value as string)
For Oracle BPEL Process Manager, you can use these functions in an assign activity.
While in source view, the XML and the pages can be used.
The XSLT Mapper provides three separate context sensitive menus:
The source panel
The target panel
The center panel
Right-click each of the three separate panels to see what the context menus look like.
By default, design view shows all defined prefixes for all nodes in the source and target trees. You can elect not to display prefixes by selecting Hide Prefixes from the context menu in the center panel of the design view. After prefixes are hidden, select Show Prefixes to display them again.
It is important to understand how design view representation of the map relates to the generated XSLT in source view. This section provides a brief example.
After creating an initial map, the XSLT Mapper displays a graphical representation of the source and target schemas, as shown in Figure 40-2.
Figure 40-2 Source and Target Schemas
At this point, no target fields are mapped. Switching to source view displays an empty XSLT map. XSLT statements are built graphically in design view, and XSLT text is then generated. For example, design view mapping is shown in Figure 40-3.
Figure 40-3 Design View Mapping
The design view results in the generation of the following XSLT statements in source view:
The OrderDate attribute from the source tree is linked with a line to the InvoiceDate attribute in the target tree in Figure 40-3. This results in a
value-of statement in the XSLT, as shown in Example 40-1.
The First and Last name fields from the source tree in Figure 40-3 are concatenated using an XPath concat function. The result is linked to the Name field in the target tree. This results in the XSLT statement shown in Example 40-2:
Note the inserted XSLT for-each construct in the target tree in Figure 40-3. For each HighPriorityItems/Item element in the source tree, a ShippedItems/Item element is created in the target tree and ProductName and Quantity are copied for each. The XSLT syntax shown in Example 40-3 is generated:
Example 40-3 for-each Construct
<xsl:for-each <Item> <ProductName> <xsl:value-of </ProductName> <Quantity> <xsl:value-of </Quantity> </Item> </xsl:for-each>
The line linking Item in the source tree to the for-each construct in the target tree in Figure 40-3 determines the XPath expression used in the for-each select attribute. In general, XSLT constructs have a select or test attribute that is populated by an XPath statement typically referencing a source tree element.
The XPath expressions in the value-of statements beneath the for-each construct are relative to the XPath referenced in the for-each. In general, the XSLT Mapper creates relative paths within for-each statements.
If you must create an absolute path within a for-each construct, you must do this within source view. When switching back to design view, it is remembered that the path is absolute and the XSLT Mapper does not modify it.
Note:
In Example 40-3, the fields
ProductName and
Quantity are required fields in both the source and target. If these fields are optional in the source and target, it is a good practice to insert an
xsl:if statement around these mappings to test for the existence of the source node. If this is not done, and the source node does not exist in the input document, an empty node is created in the target document. For example, if
ProductName is optional in both the source and target, then map them as follows:
<xsl:if <ProductName> <xsl:value-of </ProductName> </xsl:if>
The entire XSLT map generated for this example is shown in Example 40-4:
Example 40-4 Entire XSLT Map
<xsl:template <tns1:Invoice> <xsl:attribute <xsl:value-of </xsl:attribute> <ShippedTo> <Name> <xsl:value-of </Name> </ShippedTo> <ShippedItems> <xsl:for-each <Item> <ProductName> <xsl:value-of </ProductName> <Quantity> <xsl:value-of </Quantity> </Item> </xsl:for-each> </ShippedItems> </tns1:Invoice> </xsl:template>
Subsequent sections of this chapter describe how to link source and target elements, add XSLT constructs, and create XPath expressions in design view.
A node in the target tree can be linked only once (that is, you cannot have two links connecting a node in the target tree).
An incomplete function and expression does not result in an XPath expression in source view. If you switch from design view to source view with one or more incomplete expressions, the Mapper Messages window displays warning messages.
When you map duplicate elements in the XSLT Mapper, the style sheet becomes invalid and you cannot work in the Design view. The Log window shows the error messages when you map an element with a duplicate name. Example 40-5 provides details.
Example 40-5 Duplicate Name Error Messages
Error: This Node is Already Mapped : "/ns0:rulebase/for-each/ns0:if/ns0:atom/ns0:rel" Error: This Node is Already Mapped : "/ns0:rulebase/for-each/ns0:if/ns0:atom/choice_1/ns0:ind" Error: This Node is Already Mapped : "/ns0:rulebase/for-each/ns0:if/ns0:atom/choice_1/ns0:var"
Duplicate nodes can be created in design view by surrounding each duplicate node with a for-each statement that executes once.
Transformations are performed in an XSL map file in which you map source schema elements to target schema elements. This section describes methods for creating the XSL map file.
Note:
You can also create an XSL map file from an XSL style sheet. Click New > SOA Tier > Transformations > XSL Map From XSL Stylesheet from the File main menu in Oracle JDeveloper.
A transform activity enables you to create a transformation using the XSLT Mapper in Oracle BPEL Process Manager. This tool enables you to map one or more source elements to target elements. For example, you can map incoming source purchase order schema data to outgoing invoice schema data.
To create an XSL map file in Oracle BPEL Process Manager:
From the Component Palette, drag a transform activity into your BPEL process diagram. Figure 40-4 provides an example.
Figure 40-4 Transform Activity
Double-click the transform activity.
The Transform dialog shown in Figure 40-5 appears.
Figure 40-5 Transform Dialog.
In the Mapper File field, specify a map file name or accept the default name. The map file is the file in which you create your mappings using the XSLT Mapper.
Click the Add icon (second icon to the right of the Mapper File field) to create a mapping. If the file exists, click the Edit icon (third icon) to edit the mapping.
The XSLT Mapper appears.
Go to Section 40.1, "Introduction to the XSLT Mapper" for an overview of using the XSLT Mapper.
Note:
If you select a file with a
.xslt extension such as
xform.xslt, it opens the XSLT Mapper to create an XSL file named
xform.xslt.xsl, even though your intension was to use the existing
xform.xslt file. A
.xsl extension is appended to any file that does not have a
.xsl extension, and you must create the mappings in the new file. As a work around, ensure that your files first have an extension of
.xsl. If the XSL file has an extension of
.xslt, then rename it to
.xsl.
The following steps provide a high level overview of how to create an XSL map in Oracle BPEL Process Manager using a
po.xsd file and
invoice.xsd file.
To create an XSL map file from imported source and target schema files in Oracle BPEL Process Manager:
In Oracle JDeveloper, select the application project in which you want to create the new XSL map.
Import the po.xsd and invoice.xsd files into the project (for example, in the Structure window of Oracle JDeveloper, right-click Schemas and select Import Schemas).
Right-click the selected project and select New.
The New Gallery dialog appears.
In the Categories tree, expand SOA Tier and select Transformations.
In the Items list, double-click XSL Map.
The Create XSL Map File dialog appears. This dialog enables you to create an XSL map file that maps a root element of a source schema file or Web Services Description Language (WSDL) file to a root element of a target schema file or WSDL file. Note the following details:
WSDL files that have been added to the project appear under Project WSDL Files.
Schema files that have been added to the project appear under Project Schema Files.
Schema files that are not part of the project can be imported using the Import Schema File facility. Click the Import Schema File icon (first icon to the right and above the list of schema files).
WSDL files that are not part of the project can be imported using the Import WSDL File facility. Click the Import WSDL File icon (second icon to the right and above the list of schema files).
Enter a name for the XSL map file in the File Name field.
Select the root element for the source and target trees. In the example in Figure 40-6, the PurchaseOrder element is selected for the source root element and the Invoice element is selected for the target root element.
Figure 40-6 Expanded Target Section
Click OK.
A new XSL map is created, as shown in Figure 40-7.
Figure 40-7 New XSL Map
Save and close the file now or begin to design your transformation. Information on using the XSLT Mapper is provided in Section 40.1, "Introduction to the XSLT Mapper."
From the Component Palette, drag a transform activity into your BPEL process.
Double-click the transform activity..
To the right of the Mapper File field, click the Search icon (first icon) to browse for the map file name you specified in Step 6.
Click Open.
Click OK.
The XSLT Mapper displays your XSL map file.
Go to Section 40.1, "Introduction to the XSLT Mapper" for an overview of using the XSLT Mapper.
The XSLT Mapper enables you to create an XSL file to transform data from one XML schema to another in Oracle Mediator. After you define an XSL file, you can reuse it in multiple routing rule specifications. This section provides an overview of creating a transformation map XSL file with the XSLT Mapper.
The XSLT Mapper is available from the Application Navigator in Oracle JDeveloper by clicking an XSL file or from the Mediator Editor by clicking the transformation icon, as described in the following steps. You can either create a new transformation map or update an existing one.
To launch the XSLT Mapper from the Mediator Editor and create or update a data transformation XSL file, follow these steps.
To create an XSL map file in the Mediator Editor:
Open the Mediator Editor.
To the left of Routing Rules, click the + icon to open the Routing Rules panel.
The transformation map icon is visible in the routing rules panel.
To the right of the Transform Using field shown in Figure 40-8, click the appropriate transformation map icon to open the Transformation Map dialog.
Figure 40-8 Routing Rules
The appropriate Transformation Map dialog displays with options for selecting an existing transformation map (XSL) file or creating a new map file. For example, if you select the transformation map icon in the Synchronous Reply section, the dialog shown in Figure 40-9 appears.
Figure 40-9 Reply Transformation Map Dialog
If the routing rule includes a synchronous reply or fault, the Reply Transformation Map dialog or Fault Transformation Map dialog contains the Include Request in the Reply Payload option. When you enable this option, you can obtain information from the request message. The request message and the reply and fault message can consist of multiple parts, meaning you can have multiple source schemas. Callback and callback timeout transformations can also consist of multiple parts.
Each message part includes a variable. For a reply transformation, the reply message includes a schema for the main part (the first part encountered) and an in.partname variable for each subsequent part. The include request message includes an initial.partname variable for each part.
For example, assume the main reply part is the out1.HoustonStoreProduct schema and the reply also includes two other parts that are handled as variables, in.HoustonStoreProduct and in.HoustonStoreProduct2. The request message includes three parts that are handled as the variables initial.expense, initial.expense2, and initial.expense3. Figure 40-10 provides an example.
Figure 40-10 Reply Part
Choose one of the following options:
Use Existing Mapper File, and then click the Search icon to browse for an existing XSLT Mapper file (or accept the default value).
Create New Mapper File, and then enter a name for the file (or accept the default value). If the source message in the WSDL file has multiple parts, variables are used for each part, as mentioned in Step 3. When the target of a transformation has multiple parts, multiple transformation files map to these targets. In this case, the mediator's transformation dialog has a separate panel for each target part. For example, here is a request in which the target has three parts:
Figure 40-11 provides an example.
Figure 40-11 Request Transformation Map Dialog
Click OK.
If you chose Create New Mapper File, the XSLT Mapper opens to enable you to correlate source schema elements to target schema elements.
Go to Section 40.1, "Introduction to the XSLT Mapper" for an overview of using the XSLT Mapper.
XSL file errors do not display during a transformation at runtime if you manually remove all existing mapping entries from an XSL file except for the basic format data. Ensure that you always specify mapping entries. For example, assume you perform the following actions:
Create a transformation mapping of input data to output data in the XSLT Mapper.
Design the application to write the output data to a file using the file adapter.
Manually modify the XSL file and remove all mapping entries except the basic format data. For example:
<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet </xsl:stylesheet>
While the file can still be compiled, the XSL mapping is now invalid.
Deploy and create an instance of the SOA composite application.
During instance creation, an exception error occurs when the write operation fails because it did not receive any input. However, no errors are displayed during XSL transformation.
If you import a SOA archive exported from Oracle Enterprise Manager Fusion Middleware Control into Oracle JDeveloper by selecting File > Import > SOA Archive Into SOA Project, you cannot open any XSL map files because the map headers have been removed.
As a work around, perform the following steps:
Select File > New > SOA Tier > Transformations > XSL Map From XSL Stylesheet, and click OK.
The Create XSL Map File From XSL Stylesheet appears.
In the File Name field, enter a new map name (for this example,
Transformation_new
.xsl).
In the XSL Stylesheet to Create From field, enter the name of the map file missing the map headers (for this example,
Transformation_old.xsl).
For the source and target, enter the correct map source and target schema information to use for recovering the map header.
After successful creation of the new map file, delete the old map file (
Transformation_old.xsl).
Rename the new map file with the recovered map header to the old map file name to prevent reference breakage (for this example, rename
Transformation_new.xslt to
Transformation_old.xsl).
If you design a SOA composite application to pass a payload through Oracle Mediator without defining any transformation mapping or assigning any values, Oracle Mediator passes the payload through. However, for the payload to be passed through successfully, the source and target message part names must be the same and of the same type. Otherwise, the target reference may fail to execute with error messages such as
Input
source
like
Null or
Part
not
found..
The following sections describe how to use the XSLT Mapper in Oracle BPEL Process Manager or Oracle Mediator.
You can add additional sources to an existing XSLT map. These sources are defined as global parameters and have schema files defining their structure. Multiple source documents may be required in certain instances depending upon the logic of the map. For instance, to produce an invoice, the map may need access to both a purchase order and a customer data document as input.
XSL has no knowledge of BPEL variables. When you add multiple sources in XSL design time, ensure that you also add these multiple sources in the transform activity of a BPEL process.
To add additional sources:
Right-click the source panel to display the context menu. Figure 40-12 provides details.
Figure 40-12 Context Menu
Select Add Source.
The Add Source dialog shown in Figure 40-13 appears.
Enter a parameter name for the source (the name can also be qualified by a namespace and prefix).
Figure 40-13 Add Source Dialog
In the Source Schema section, click Select to select a schema for the new source.
The Type Chooser dialog appears.
Select or import the appropriate schema or WSDL file for the parameter in the same manner as when creating a new XSLT map. For this example, the Customer element from the sample customer.xsd file is selected.
Click OK.
The schema definition appears in the Source Schema section of the Create Source as Parameter dialog.
Click OK.
The selected schema is imported and the parameter appears in the source panel above the main source. The parameter can be expanded as shown in Figure 40-14 to view the structure of the underlying schema.
Figure 40-14 Expanded Parameter
The parameter can be referenced in XPath expressions by prefacing it with a $. For example, a parameter named CUST appears as $CUST in an XPath expression. Nodes under the parameter can also be referenced (for example, $CUST/customer/Header/customerid).
To copy an attribute or leaf-element in the source to an attribute or leaf-element in the target, drag the source to the target. For example, copy the element PurchaseOrder/ID to Invoice/ID and the attribute PurchaseOrder/OrderDate to Invoice/InvoiceDate, as shown in Figure 40-15.
Figure 40-15 Linking Nodes
Perform the following steps to set a constant value.
To set constant values:
Select a node in the target tree.
Invoke the context menu by right-clicking the mouse.
Select the Set Text menu option.
A menu provides the following selections:
<Empty>: Enables you to create an empty node.
Enter Text: Enables you to enter text.
Select Enter Text.
The Set Text dialog appears.
In the Set Text dialog, enter text (for example, Discount Applied, as shown in Figure 40-16).
Figure 40-16 Set Text Dialog
Click OK to save the text.
A T icon is displayed next to the node that has text associated with it. The beginning of the text that is entered is shown next to the node name.
To modify the text associated with the node, right-click the node and select Edit Text to invoke the Set Text dialog again.
Edit the contents and click OK.
For more information about the fields, see the online Help for the Set Text dialog.
To remove the text associated with the node, right-click the node and select Remove Text.
In addition to the standard XPath 1.0 functions, the XSLT Mapper provides many prebuilt extension functions and can support user-defined functions and named templates. The extension functions are prefixed with oraext or orcl and mimic XPath 2.0 functions.
Perform the following steps to view function definitions and use a function.
To add functions:
From the Component Palette, select a category of functions (for example, String Functions).
Right-click an individual function (for example, lower-case).
Select Help. A dialog with a description of the function appears, as shown in Figure 40-17. You can also click a link at the bottom to access this function's description at the World Wide Web Consortium at.
Figure 40-17 Description of Function
Drag a function from the Component Palette to the center panel of the XSLT Mapper. You can then connect the source parameters from the source tree to the function and the output of the function to a node in the target tree. For the following example, drag the concat function from the String section of the Component Palette to the center panel.
Concatenate PurchaseOrder/ShipTo/Name/First and PurchaseOrder/ShipTo/Name/Last. Place the result in Invoice/ShippedTo/Name by dragging threads from the first and last names and dropping them on the input (left) side on the concat function.
Drag a thread from the ShippedTo name and connect it to the output (right) side on the concat function, as shown in Figure 40-18.
Figure 40-18 Using the Concat Function
To edit the parameters of any function, double-click the function icon to launch the Edit Function dialog. For example, to add a new comma parameter so that the output of the concat function used in the previous example is Last, First, then click Add to add a comma and reorder the parameters to get this output. Figure 40-19 provides details.
Figure 40-19 Editing Function Parameters
For more information about how to add, remove, and reorder function parameters, see the online Help for the Edit Function dialog.
Complex expressions can be built by chaining functions (that is, mapping the output of one function to the input of another). For example, to remove all leading and trailing spaces from the output of the concat function, perform the following steps:
Drag the left-trim and right-trim functions into the border area of the concat function.
Chain them as shown in Figure 40-20 by dragging lines from the output side of one function to the input side of the next function.
Chaining can also be performed by dragging and dropping a function onto a connecting link.
Figure 40-20 Chaining Functions
Some complicated mapping logic cannot be represented or achieved by visual mappings. For these situations, named templates are useful. Named templates enable you to share common mapping logic. You can define the common mapping logic as a named template and then use it as often as you want.
You can define named templates in two ways:
Add the template directly to your XSL map in source view.
Add the template to an external file that you include in your XSL map.
The templates you define appear in the User Defined Named Templates list of the User Defined page in the Component Palette. You can use named templates in almost the same way as you use other functions. The only difference is that you cannot link the output of a named template to a function or another named template; you can only link its output to a target node in the target tree.
To create named templates, you must be familiar with the XSLT language. See any XSLT book or visit the following URL for details about writing named templates:
For more information about including templates defined in external files, see Section 40.3.6.7, "Including External Templates with xsl:include."
You can create and import a user-defined Java function if you have complex functionality that cannot be performed in XSLT or with XPath expressions.
Follow these steps to create and use your own functions. External, user-defined functions can be necessary when logic is too complex to perform within the XSL map.
To import user-defined functions:
Code and build your functions.
The XSLT Mapper extension functions are coded differently than the Oracle BPEL Process Manager extension functions. Two examples are provided in the
SampleExtensionFunctions.java file of the
mapper-107-extension-functions sample scenario. Example 40-6 provides the text for these functions. To download these and other samples, see the Oracle SOA Suite samples.
Each function must be declared as a static function. Input parameters and the returned value must be declared as one of the following types:
java.lang.String
int
float
double
boolean
oracle.xml.parser.v2.XMLNodeList
oracle.xml.parser.v2.XMLDocumentFragment
Example 40-6 XSLT Mapper Extension Functions
// SampleExtensionFunctions.java package oracle.sample; /* This is a sample XSLT Mapper User Defined Extension Functions implementation class. */ public class SampleExtensionFunctions { public static Double toKilograms(Double lb) { return new Double(lb.doubleValue()*0.45359237); } public static String replaceChar(String inputString, String oldChar, String newChar ) { return inputString.replace(oldChar.charAt(0), newChar.charAt(0)); } }
Create an XML extension function configuration file. This file defines the functions and their parameters.
This file must have the name
ext-mapper-xpath-functions-config.xml. See Section B.7, "Creating User-Defined XPath Extension Functions" for more information on the format of this file. The file shown in Example 40-7 represents the functions
toKilograms and
replaceChar as they are coded in Example 40-6.
Example 40-7 XML Extension Function Configuration File
<?xml version="1.0" encoding="UTF-8"?> <soa-xpath-functions <function name="sample:toKilograms"> <className>oracle.sample.SampleExtensionFunctions</className> <return type="number"/> <params> <param name="pounds" type="number"/> </params> <desc>Converts a value in pounds to kilograms</desc> </function> <function name="sample:replaceChar"> <className>oracle.sample.SampleExtensionFunctions</className> <return type="string"/> <params> <param name="inputString" type="string"/> <param name="oldChar" type="string"/> <param name="newChar" type="string"/> </params> <desc>Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar</desc> </function> </soa-xpath-functions>
Some additional rules apply to the definitions of XSLT extension functions:
The functions need a namespace prefix and a namespace. In this sample, they are
sample and pleExtensionFunctions.
The function namespace must start with for extension functions to work with the Oracle XSLT processor.
The last portion of the namespace, in this sample
oracle.sample.SampleExtensionFunctions, must be the fully qualified name of the Java class that implements the extension functions.
The types and their equivalent Java types shown in Table 40-1 can be used for parameter and return values:
Create a JAR file containing both the XML configuration file and the compiled classes. The configuration file must be contained in the
META-INF directory for the JAR file. For the example in this section, the directory structure is as follows with the
oracle and
META-INF directories added to a JAR file:
oracle
sample (contains the class file)
META-INF
ext-mapper-xpath-functions-config.xml
The JAR file must then be registered with Oracle JDeveloper.
Go to Tools > Preferences > SOA.
Click the Add button and navigate to and select your JAR file.
Restart Oracle JDeveloper.
New functions appear in the Component Palette under the User Defined page in the User Defined Extension Functions group.
To make the functions available in the runtime environment, Section B.7.3, "How to Deploy User-Defined Functions to Runtime" for details.
To use an XPath expression in a transformation mapping, select the Advanced page and then the Advanced Function group from the Component Palette and drag xpath-expression from the list into the XSLT Mapper. This is shown in Figure 40-21.
Figure 40-21 Editing XPath Expressions
When you double-click the icon, the Edit XPath Expression dialog appears, as shown in Figure 40-22. You can press Ctrl+Space to invoke the XPath Building Assistant.
Figure 40-22 Edit XPath Expression Dialog
Figure 40-23 shows the XPath Building Assistant.
Figure 40-23 The XPath Building Assistant
For more information about using the XPath Building Assistant, see the online Help for the Edit XPath Expression dialog and Section B.6, "Building XPath Expressions in Oracle JDeveloper."
While mapping complex schemas, it is essential to be able to add XSLT constructs. For instance, you may need to create a node in the target when a particular condition exists; this requires the use of an
xsl:if statement or an
xsl:choose statement. You may also need to loop over a
node-set in the source such as a list of items in a sales order and create nodes in the target XML for each item in the sales order; this requires the use of an
xsl:for-each statement. The XSLT Mapper provides XSLT constructs for performing these and other tasks.
There are two ways to add XSLT constructs such as for-each, if, or choose to the target XSLT tree:
To add XSLT constructs from the Component Palette:
Select the General page and open the XSLT Constructs group. Figure 40-24 provides details.
Figure 40-24 XSLT Constructs Available Through the Component Palette
Drag an XSLT construct from the group onto a node in the target tree. If the XSLT construct can be applied to the node, it is inserted in the target tree. The when and otherwise constructs must be applied to a previously-inserted choose node.
To add XSLT constructs through the context menu on the target tree:
Right-click the element in the target tree where you want to insert an XSLT construct. A context menu is displayed. Figure 40-25 provides details.
Figure 40-25 XSLT Constructs in Available Through the Context Menu
Select Add XSL Node and then the XSLT construct you want to insert.
The XSLT construct is inserted. In most cases, an error icon initially appears next to the construct. This indicates that the construct requires an XPath expression to be defined for it.
In the case of the for-each construct, for example, an XPath expression defines the node set over which the for-each statement loops. In the case of the if construct, the XPath expression defines a boolean expression that is evaluated to determine if the contents of the if construct are executed.
The XPath expression can be created in the same manner as mapping elements and attributes in the target tree. The following methods create an underlying XPath expression in the XSLT. You can perform all of these methods on XSLT constructs in the target tree to set their XPath expressions:
Creating a simple copy by linking nodes
Adding functions
Adding XPath expressions
The following sections describe specific steps for inserting each supported XSLT construct.
In Figure 40-26, HQAccount and BranchAccount are part of a choice in the PurchaseOrder schema; only one of them exists in an actual instance. To illustrate conditional mapping, copy PurchaseOrder/HQAccount/AccountNumber to Invoice/BilledToAccount/AccountNumber, only if it exists.
To use conditional processing with xsl:if:
In the target tree, select Invoice/BilledToAccount/AccountNumber and right-click to invoke the context sensitive menu.
Select Add XSL Node > if and connect PurchaseOrder/HQAccount/AccountNumber to Invoice/BilledToAccount/if.
Connect PurchaseOrder/HQAccount/AccountNumber to Invoice/BilledToAccount/if/AccountNumber.
Figure 40-26 shows the results.
Figure 40-26 Conditional Processing with xsl:if
When mapping an optional source node to an optional target node, it is important to surround the mapping with an
xsl:if statement that tests for the existence of the source node. If this is not done and the source node does not exist in the input document, an empty node is created in the target document. For example, note the mapping shown in Example 40-8:
Example 40-8 Statement Without xsl:If
<ProductName> <xsl:value-of </ProductName>
If the
ProductName field is optional in both the source and target and the element does not exist in the source document, then an empty
ProductName element is created in the target document. To avoid this situation, add an
if statement to test for the existence of the source node before the target node is created, as shown in Example 40-9:
In this same example, you can copy PurchaseOrder/HQAccount/AccountNumber to Invoice/BilledToAccount/AccountNumber, if it exists. Otherwise, copy PurchaseOrder/BranchAccount to Invoice/BilledToAccount/AccountNumber.
To use conditional processing with xsl:choose:
In the target tree, select Invoice/BilledToAccount/AccountNumber and right-click to invoke the context sensitive menu.
Select Add XSL Node > choose from the menu.
Connect PurchaseOrder/HQAccount/AccountNumber to Invoice/BilledToAccount/choose/when to define the condition.
Connect PurchaseOrder/HQAccount/AccountNumber to Invoice/BilledToAccount/choose/when/AccountNumber.
In the target tree, select XSL Add Node > choose and right-click to invoke the context sensitive menu.
Select Add XSL node > otherwise from the menu.
Connect PurchaseOrder/BranchAccount/AccountNumber to Invoice/BilledToAccount/choose/otherwise/AccountNumber.
Figure 40-27 shows the results.
Figure 40-27 Conditional Processing with xsl:choose
The XSLT Mapper enables you to create loops with the xsl:for-each command. For example, copy PurchaseOrder/Items/HighPriorityItems/Item to Invoice/ShippedItems/Item.
To create loops with xsl:for-each:
In the target tree, select Invoice/ShippedItems/Item and right-click to invoke the context sensitive menu.
Select Add XSL Node > for-each and connect PurchaseOrder/Items/HighPriorityItems/Item to Invoice/ShippedItems/for-each to define the iteration.
Connect PurchaseOrder/Items/HighPriorityItems/Item/ProductName to Invoice/ShippedItems/for-each/Item/ProductName.
Connect PurchaseOrder/Items/HighPriorityItems/Item/Quantity to Invoice/ShippedItems/for-each/Item/Quantity.
Connect PurchaseOrder/Items/HighPriorityItems/Item/USPrice to Invoice/ShippedItems/for-each/Item/PriceCharged.
Figure 40-28 shows the results.
Figure 40-28 Creating Loops with xsl:for-each
Notes:
Executing an auto map automatically inserts xsl:for-each. To see the auto map in use, drag PurchaseOrder/Items/LowPriorityItems to Invoice/UnShippedItems; for-each is automatically created.
Ensure that your design does not include infinite loops. These loops result in errors similar to the following displaying during deployment and invocation of your application.
ORAMED-04001: . . . oracle.tip.mediator.service.BaseActionHandler requestProcess SEVERE: failed reference BPELProcess1.bpelprocess1_client operation = process
You can create additional loops by cloning an existing xsl:for-each. For example, copy all LowPriorityItems to ShippedItems, in addition to HighPriorityItems.
To clone xsl:for-each:
Under Invoice/ShippedItems, select for-each.
Right-click and select Add XSL Node > Clone 'for-each'.
This inserts a copy of the for-each node beneath the original for-each.
Drag PurchaseOrder/Items/LowPriorityItems/Item to the copied for-each to define the iteration.
Connect PurchaseOrder/Items/LowPriorityItems/Item/ProductName to Item/ProductName in the copied for-each.
Connect PurchaseOrder/Items/LowPriorityItems/Item/Quantity to Item/Quantity in the copied for-each.
Connect PurchaseOrder/Items/LowPriorityItems/Item/USPrice to Item/PriceCharged in the copied for-each.
The XSLT Mapper enables you to add xsl:sort statements to xsl:for-each commands.
To add an xsl:sort statement:
Right-click a for-each statement in the target tree.
A context menu appears.
Select Add XSL Node > sort. The Sort Edit Dialog is displayed, as shown in Figure 40-29.
Figure 40-29 Sort Edit Dialog
Select options to add to the sort statement as needed. See the online Help for information on options.
Click OK. The sort statement is added following the for-each.
To set the field on which to sort, drag the necessary sort field node in the source tree to the sort node in the target tree. This creates a simple link and sets the XPath expression for the select attribute on the xsl:sort.
To add additional sort statements, right-click the for-each to add another sort or right-click an existing sort node to insert a new sort statement before the selected sort node.
To edit a sort node, double-click the sort node or right-click and select Edit Sort from the context menu. This invokes the Sort Edit Dialog and enables you to change the sort options.
You may need to use the XSLT copy-of construct to copy a node, along with any child nodes, from the source to the target tree. This is typically done when working with anyType or any element nodes. The anyType and any element and attribute nodes cannot be mapped directly. Use copy-of or element and type substitution.
To copy nodes with xsl:copy-of:
Select the node in the target tree to be created by the copy-of command.
Right-click the node and select Add XSL Node > copy-of.
If the node is not an any element node, a dialog appears requesting you to either replace the selected node or replace the children of the selected node.
Select the correct option for your application and click OK.
If you select Replace the selected node with the copy-of, a processing directive is created immediately following the copy-of in the XSL indicating which node is replaced by the copy-of. Without the processing directive in the XSL, the conversion back to design view is interpreted incorrectly. For this reason, do not remove or edit this processing instruction while in source view.
Set the source node for the copy-of by dragging and dropping from the source tree or by creating an XPath expression.
Note:
Always create the copy-of command in design view so that the correct processing directive can be created in the XSLT Mapper to indicate the correct placement of the copy-of command in the target tree.
WARNING:
The XSLT Mapper does not currently validate the mapping of data performed through use of the copy-of command. You must ensure that copy-of is used to correctly map elements to the target tree so that the target XML document contains valid data. You can test the validity by using the test tool.
You can reuse templates that are defined in external XSL files by including them in the current map with an include statement.
To include external templates with xsl:include:
In the target tree, select and right-click the root node.
From the menu, select Add Include File.
A dialog prompts you for the include file name.
Select the file and click OK.
The file is copied to the same project directory as the existing map file. A relative path name is created for it and the include statement instruction is inserted in the target tree.
The include file can only contain named template definitions. These are parsed and available to you in design view of the Component Palette under the User Defined Named Templates category in the User Defined page.
Note:
An
oramds:// shared location cannot be referenced for a user-defined named template include file.
Mapping nonleaf nodes starts the auto map feature. The system automatically tries to link all relevant nodes under the selected source and target. Try the auto map feature by mapping PurchaseOrder/ShipTo/Address to Invoice/ShippedTo/Address. All nodes under Address are automatically mapped, as shown in Figure 40-30.
Figure 40-30 Auto Mapping
The behavior of the auto map can be tuned by altering the settings in Oracle JDeveloper preferences or by right-clicking the XSLT Mapper and selecting Auto Map Preferences. This displays the dialog shown in Figure 40-31.
Figure 40-31 Auto Map Preferences
This dialog enables you to customize your auto mapping as follows:
Invoke the automatic mapping feature, which attempts to automatically link all relevant nodes under the selected source and target. When disabled, you must individually map relevant nodes.
Display and review all potential source-to-target mappings detected by the XSLT Mapper, and then confirm to create them.
Be prompted to customize the auto map preferences before the auto map is invoked.
Select the Basic or Advanced method for automatically mapping source and target nodes. This action enables you to customize how the XSLT Mapper attempts to automatically link all relevant nodes under the selected source and target.
Manage your dictionaries. The XSLT Mapper uses the rules defined in a dictionary when attempting to automatically map source and target elements.
For more information on the fields, see the online Help for the Auto Map Preferences dialog.
Follow these instructions to see potential source mapping candidates for a target node.
To automatically map nodes:
Right-click the target node and select Show Matches.
Click OK in the Auto Map Preferences dialog.
The Auto Map dialog appears, as shown in Figure 40-32.
Figure 40-32 Auto Mapping Candidates
For more information on the fields, see the online Help for the Auto Map dialog.
When the Confirm Auto Map Results checkbox shown in Figure 40-31 is selected, a confirmation dialog appears. If matches are found, the potential source-to-target mappings detected by the XSLT Mapper are displayed, as shown in Figure 40-33. The dialog enables you to filter one or more mappings.
Figure 40-33 Auto Map with Confirmation
For more information about the fields, see the online Help for the Auto Map dialog.
The automatic mapping algorithm depends on existing maps between source and target nodes. When maps exist between source and target nodes before executing automatic mapping, these existing maps are used to define valid synonyms that are used by the algorithm.
For example, assume you have a simple source and target tree, each with two elements called test1 and test2, as shown in Figure 40-34.
Figure 40-34 Source and Target Tree with Two Elements
If no nodes are mapped, the automatic mapping algorithm does not match the names test1 and test2. However, if mapping exists between the test1 and test2 nodes, the algorithm predefines the names test1 and test2 as synonyms for any additional mapping.
In the example in Figure 40-34, if you drag the exampleElement from the source to the target, the automatic mapping algorithm maps the test1 node in the source to the test2 node in the target because your map previously linked those two names. This results in the map shown in Figure 40-35:
Figure 40-35 Results of Dragging exampleElement
You can view a list of target nodes that are currently unmapped to source nodes.
To view unmapped target nodes:
In the XSLT Mapper, right-click in the center panel and select Completion Status.
This dialog provides statistics at the bottom about the number of unmapped target nodes. This dialog enables you to identify and correct any unmapped nodes before you test your transformation mapping logic on the Test XSL Map dialog.
In the list, select a target node. The node is highlighted. A checkmark indicates that the target node is required to be mapped. If not required, the checkbox is empty.
Note:
Nodes are marked as required in the Completion Status dialog based on the XSD definition for a node. It is possible that a node marked as required is not actually required for a specific mapping if a parent node of the required node is optional and is not part of the XSL mapping.
Figure 40-36 provides an example of the Completion Status dialog.
Figure 40-36 Completion Status
A dictionary is an XML file used by automatic mapping. It contains synonyms for field names. For instance, assume that the element QtyOrdered should map to the element Quantity. The element names QtyOrdered and Quantity are then synonyms for one another. If this mapping commonly appears from one map to another, it is a good practice to save these synonyms in a dictionary file. After being saved, they can be reapplied to another map using automatic mapping.
A dictionary can be created from any existing XSL map and can contain all mappings that are not automatically generated by the XSLT Mapper for the existing map.
To generate and use dictionaries:
Create an XSL map that contains specific mappings to reuse in other maps.
Go to Tools > Preferences > XSL Maps > Auto Map and note the current automatic mapping settings.
Note:
Because dictionary entries are dependent upon the current automatic mapping settings, you must make a note of those settings for future use. To later reapply a dictionary mapping, it is best to set the automatic mapping preferences to those that were in effect at the time the dictionary was created. Therefore, it is important to note the automatic mapping settings at the time the dictionary is created.
In the XSLT Mapper, right-click the center panel of the XSLT Mapper and select Generate Dictionary.
This prompts you for the dictionary name and the directory in which to place the dictionary.
Check the Open Dictionary checkbox to view the dictionary after it is created. If the dictionary file is empty, this indicates that no fields were mapped that would not have been mapped with the current automatic mapping settings.
To use the dictionary in another map, load the dictionary by selecting Tools > Preferences > XSL Maps > Auto Map.
Click Add below the Dictionaries list.
Browse for and select the dictionary XML file that was previously created from a similar map.
Click OK.
Before leaving the automatic mapping preferences, modify the mapping settings to match those used when creating the dictionary.
Click OK.
Perform an automatic mapping of whichever portion of the new map corresponds to the saved dictionary mappings.
For more information about automatic mapping, see Section 40.3.7, "How to Automatically Map Nodes."
You cannot create a dictionary for mappings in which functions are used. In these cases, the dictionary XML instructions are missing for the elements that were automatically mapped or which had an XPath function mapping. For example, assume you use string functions to map XSDs during design time. If you right-click the center panel of the XSLT Mapper and select Generate Dictionary, the dictionary is created, but instructions are not created in all places in which the string functions were used during mapping.
You can create a dictionary for simple type mappings.
You can create map parameters and variables. You create map parameters in the source tree and map variables in the target tree.
Note the following issues:
Parameters are created in the source tree, are global, and can be used anywhere in the mappings.
Variables are created in the target tree, and are either global or local. The location in which they are defined in the target tree determines if they are global or local.
Global variables are defined immediately beneath the <target> node and immediately above the actual target schema (for example, POAcknowledge). Right-click the <target> node to create a global variable.
Local variables are defined on a specific node beneath the actual target schema (for example, subnode name on schema POAcknowledge). Local variables can have the same name provided they are in different scopes. Local variables can only be used in their scopes, while global variables can be used anywhere in the mappings.
To create a map parameter:
In the source tree root, right-click and select Add Parameter.
The Add Parameter dialog shown in Figure 40-37 appears.
Specify details for the parameter. For this example, a parameter named
discount with a numeric default value of
0.0 is specified.
Figure 40-37 Add Parameter Dialog
Click OK.
To create a map variable:
In the target tree, right-click the target tree root or any node and select Add Variable.
The Add Variable dialog shown in Figure 40-38 appears.
Specify details.
Since variables appear in the target tree, their XPath expression can be set in the same manner as other XSLT constructs in the target tree after inserting the variable. Therefore, the only required information in this dialog is a name for the variable. To set content for the variable, you must enter it through this dialog. Content is handled differently from the XSLT
select attribute on the variable.
Figure 40-38 Add Variable Dialog
Click OK.
The variable is added to the target tree at the position selected. The variable initially has a warning icon beside it. This indicates that its select XPath statement is undefined. Define the XPath through linking a source node, creating a function, or defining an explicit XPath expression as done for other target elements and XSLT constructs.
You can search source and target nodes. For example, you can search in a source node named invoice for all occurrences of the subnode named price.
To search source and target nodes:
Right-click a source or target node and select Find from the context menu.
The Find Node dialog shown in Figure 40-39 is displayed.
Enter a keyword for which to search.
Specify additional details, as necessary. For example:
Select Search Annotations if you want annotations text to also be searched.
Specify the scope of the search. You can search the entire source or target tree, search starting from a selected position, or search within a selected subtree.
Figure 40-39 Find Node Dialog
The first match found is highlighted, and the Find dialog closes. If no matches are found, a message displays on-screen.
Select the F3 key to find the next match in the direction specified. To search in the opposite direction, select the Shift and F3 keys.
Note:
You cannot search on functions or text values set with the Set Text option.
There are five options for controlling the generation of empty elements in the target XSL:
Do not generate unmapped nodes (default option).
Generate empty nodes for all unmapped target nodes.
Generate empty nodes for all required, unmapped target nodes.
Generate empty nodes for all nillable, unmapped target nodes.
Generate empty nodes for all required or nillable, unmapped target nodes.
Set these options as follows:
At the global level:
Select Tools > Preferences > XSL Maps. The global setting applies only when a map is created.
At the map level:
Select XSL Generation Options from the map context menu. Each map can then be set independently by setting the options at the map level.
Empty elements are then generated for the selected unmapped nodes. If the unmapped node is nillable, it is generated with
xsi:nil="true".
When the XSLT Mapper encounters any elements in the XSLT document that cannot be found in the source or target schema, it cannot process them and displays an
Invalid Source Node Path error. XSL map generation fails. You can create and import a file that directs the XSLT Mapper to ignore and preserve these specific elements during XSLT parsing by selecting Preferences > XSL Maps in the Tools main menu of Oracle JDeveloper.
For example, preprocessing may create elements named
myElement and
myOtherElementWithNS that you want the XSLT Mapper to ignore when it creates the graphical representation of the XSLT document. You create and import a file with these elements to ignore that includes the syntax shown in Example 40-10.
Example 40-10 File with Elements to Ignore
<elements-to-ignore> <element name="myElement"/> <element name="myOtherElementWithNS" namespace="NS"/> </elements-to-ignore>
You must restart Oracle JDeveloper after importing the file.
You can replace the map source or target schema that currently displays in the XSLT Mapper.
To replace a schema in the XSLT Mapper:
In either the source or target panel, right-click and select Replace Schema.
This opens the Type Chooser dialog shown in Figure 40-40, which enables you to select the new source or target schema to use.
Figure 40-40 Replacing a Schema
Select the replacement schema and click OK.
You are then prompted to select to clear expressions in the current map.
Select Yes or No. If expressions are not cleared, you may need to correct the map in source view before entering design view again.
You can substitute elements and types in the source and target trees.
Use element substitution when:
An element is defined as the head of a substitution group in the underlying schema. The element may or may not be abstract. Any element from the substitution group can be substituted for the original element.
An element is defined as an
any element. Any global element defined in the schema can be substituted.
Use type substitution when:
A global type is available in the underlying schema that is derived from the type of an element in the source or target tree. The global type can then be substituted for the original type of the element. Any type derived from an abstract type can be substituted for that abstract type.
An element in the source or target tree is defined to be of the type
anyType. Any global type defined in the schema can then be substituted.
Type substitution is supported by use of the
xsi:type attribute in XML.
To substitute an element or type in the source and target trees:
In the source or target tree, right-click the element for which substitution applies.
From the context menu, select Substitute Element or Type. If this option is disabled, no possible substitutions exist for the element or its type in the underlying schema.
The Substitute Element or Type dialog shown in Figure 40-41 appears.
Figure 40-41 Substitute Element or Type Dialog
Select either Substitute an element or Substitute a type (only one may be available depending upon the underlying schema).
A list of global types or elements that can be substituted displays in the dialog.
Select the type or element to substitute.
Click OK.
The element or type is substituted for the originally selected element. This selection displays differently depending upon whether this is a type or element substitution and this is the source or target tree.
If the element is in the target tree and type substitution is selected:
The xsi:type attribute is added beneath the original element, as shown in Figure 40-42. It is disabled in design view and set to the type value that was selected. An S icon displays to indicate the node was substituted. You can map to any structural elements in the substituted type.
Figure 40-42 If the Element is in the Target Tree and Type Substitution is Selected
If the element is in the source tree and type substitution is selected:
The xsi:type attribute is added beneath the original element, as shown in Figure 40-43. An S icon is displayed to indicate the node was substituted. You can map from any structural elements in the substituted type.
Figure 40-43 If the Element is in the Source Tree and Type Substitution is Selected
If the element is in the target tree and element substitution is selected:
The original element is replaced in the tree with the substituted element, as shown in Figure 40-44. A comment indicates that the original element name was added and an S icon displays to indicate the node was substituted. You may map to any structural elements in the substituted element.
Figure 40-44 If the Element is in the Target Tree and Element Substitution is Selected
If the element is in the source tree and element substitution is selected:
The original element and its possible replacement both display in the source tree under a new node named <Element Substitution>, as shown in Figure 40-45. An S icon displays to indicate that the node was added. This feature enables you to build a map where the source object can contain either the original node or a substituted node. You can map to any structural elements in the substituted element.
Figure 40-45 If the Element is in the Source Tree and Element Substitution is Selected
Note:
Unlike element substitution, only one type substitution at a time can display in the source tree. This does not prevent you from writing a map that allows the source to sometimes have the original type or the substituted type; you can switch to another type at any time. XPath expressions that map to nodes that may not be visible in the source tree at any given time are still retained.
To remove a substituted node, right-click any node with an S icon and select Remove Substitution from the context menu.
To see all possible nodes where substitution is allowed, right-click the source or target tree and select Show Substitution Node Icons.
All nodes where substitution is possible are marked with an * icon, as shown in Figure 40-46.
Figure 40-46 All Possible Substitutions
To hide the icons, right-click and select Hide Substitution Node Icons.
The XSLT Mapper provides a test tool to test the style sheet or map. The test tool can be invoked by selecting the Test menu item, as shown in Figure 40-47.
Figure 40-47 Invoking the Test Dialog
The Test XSL Map dialog shown in Figure 40-48 enables you to test the transformation mapping logic you designed with the XSLT Mapper. The test settings you specify are stored and do not need to be entered again the next time you test. Test settings must be entered again if you close and reopen Oracle JDeveloper.
Figure 40-48 Test XSL Map Dialog
To test the transformation mapping logic:
In the Source XML File field, choose to allow a sample source XML file to be generated for testing or click Browse to specify a different source XML file.
When you click OK, the source XML file is validated. If validation passes, transformation occurs, and the target XML file is created.
If validation fails, no transformation occurs and a message displays on-screen.
Select the Generate Source XML File checkbox to create a sample XML file based on the map source XSD schema.
Select the Show Source XML File checkbox to display the source XML files for the test. The source XML files display in an Oracle JDeveloper XML editor.
If the map has defined parameters, the Parameters With Schema or Parameters Without Schema table can appear.
If the Parameters With Schema table appears, you can specify an input XML file for the parameter using the Browse button. Select the Generate File checkbox to generate a file.
If the Parameters Without Schema table appears, you can specify a value by selecting the Specify Value checkbox and making appropriate edits to the Type and Value columns.
In the Target XML File field, enter a file name or browse for a file name in which to store the resulting XML document from the transformation.
Select the Show Target XML File checkbox to display the target XML file for the test. The target XML file displays in an Oracle JDeveloper XML editor.
If you select to show both the source and target XML, you can customize the layout of your XML editors. Select Enable Auto Layout in the upper right corner and click one of the patterns.
Click OK.
The test results shown in Figure 40-49 appear.
For this example, the source XML and target XML display side-by-side with the XSL map underneath (the default setting). Additional source XML files corresponding to the Parameters With Schema table are displayed as tabs in the same area as the main source file. You can right-click an editor and select Validate XML to validate the source or target XML against the map source or target XSD schema.
Figure 40-49 Test Results
Note:
If the XSL map file contains domain value map (DVM) and cross reference (XREF) XPath functions, it cannot be tested. These functions cannot be executed during design time; they can only be executed during runtime.
You can generate an HTML report with the following information:
XSL map file name, source and target schema file names, their root element names, and their root element namespaces
Target document mappings
Target fields not mapped (including mandatory fields)
Sample transformation map execution
Follow these instructions to generate a report.
In the center panel, right-click and select Generate Report.
The Generate Report dialog appears, as shown in Figure 40-50. If the map has defined parameters, the appropriate parameter tables appear.
Figure 40-50 The Generate Report Dialog
For more information about the fields, see the online Help for the Generate Report dialog.
If you attempt to generate a report and receive an out-of-memory error, increase the heap size of the JVM as follows.
To increase the JVM heap size:
Open the
JDev_Oracle_Home
\jdev\bin\jdev.conf file.
Go to the following section:
# Set the maximum heap to 512M # AddVMOption -Xmx512M
Increase the size of the heap as follows (for example, to
1024):
AddVMOption -Xmx1024M
In addition, you can also unselect the Open Report option on the Generate Report dialog before generating the report.
You can customize sample XML generation by specifying the following parameters. Select Preferences > XSL Maps in the Tools main menu of Oracle JDeveloper to display the Preferences dialog.
Number of repeating elements
Specifies how many occurrences of an element are created if the element has the attribute
maxOccurs set to a value greater than
1. If the specified value is greater than the value of the
maxOccurs attribute for a particular element, the number of occurrences created for that particular element is the
maxOccurs value, not the specified number.
Generate optional elements
If selected, any optional element (its attribute
minOccurs set to a value of
0) is generated the same way as any required element (its attribute
minOccurs set to a value greater than
0).
To avoid the occurrence of recursion in sample XML generation caused by optional elements, specify a maximum depth in the XML document hierarchy tree beyond which no optional elements are generated.
This sample demonstrates the following features of the XSLT mapper:
Element and type substitution
Multiple sources use
New XSL constructs
xsl:sort and
xsl:copy-of
New variable use
In addition to this sample, Oracle provides other transformation samples that are available for download from the Oracle Technology Network (OTN). These samples are described in Table 40-2. To access these samples, see the Oracle SOA Suite samples.
You first create the sample application. When complete, the application matches the one provided in the
WhatsNewApplication directory described in Step 1.
Download sample
mapper-109-whats-new from OTN.
The sample includes the following files and directories:
artifacts/schemas/po.xsd and
Attachment.xsd: source schemas
artifacts/schemas/invoice.xsd and
ReasonCodes.xsd: target schemas
artifacts/application: starting application for this sample
WhatsNewApplication directory: completed sample map
Copy the
artifacts/application folder to a separate work area.
Start Oracle JDeveloper.
Click
WhatsNewApplication.jws in the
artifacts/application folder you copied to a separate area.
If prompted to migrate files, click Yes.
The WhatsNewApplication displays in the Application Navigator.
You now create a new XSLT map with two sources that is invoked from the BPEL process included in the WhatsNewApplication application.
In the Application Navigator, double-click the ProcessPO2Invoice.bpel BPEL process.
From the Oracle Extensions section of the Component Palette, drag a Transform activity below the SetDiscontinuedProducts assign activity.
Double-click the Transform activity.
In the Name field of the General tab, enter
Po2Invoice.
In the Transformation tab, perform the following steps:
Click the Add icon.
From the Source Variable list, select inputVariable.
From the Source Part list, select payload.
This variable contains the purchase order that is input to the BPEL process.
Click OK.
Click the Add icon a second time and select DiscontinuedList from the Source Variable list. The variable is created in the SetDiscontinuedProducts assign activity before the transformation activity.
Click OK.
From the Target Variable list, select outputVariable. This is the invoice that is returned from the BPEL process.
In the Mapper File field, change the name to
xsl/Po2Invoice.
Click the Create Mapping icon to the right of the Mapper Name field to create and open the mapper file.
The XSLT Mapper opens.
From the File menu, select Save All. Your map looks as shown in Figure 40-51. The second source is loaded as a parameter with the name DiscontinuedList:
Figure 40-51 XSLT Mapper File
You now use type and element substitutions to map the purchase order items to the invoice items.
In the target tree, expand the tree so that Invoice/Items/Item is visible. The Item element has an error icon next to it.
Move the mouse over the element to display a tool tip indicating that this element is defined as an abstract type.
To map to the Item element, you must first indicate which type the element takes in the final XML output.
Perform the following steps to indicate which type the element takes:
Right-click the Item element and select Substitute Element or Type.
The Substitute Element or Type dialog appears.
Select ShippedItemType from the list and click OK.
The Item element structure is filled out. The xsi:type attribute sets the type of the Item element in the target XML.
Note:
If you view invoice.xsd, ShippedItemType is derived from the abstract type ItemType, which is the type of the Item element.
Drag PurchaseOrder/Items to Invoice/Items to invoke the automatic mapper to map these nodes. To review automatic mapping functionality, see sample mapper-104-auto-mapping.
When complete, the Item elements in your map now look as shown in Figure 40-52:
Figure 40-52 Item Elements in XSLT Mapper
From the File menu, select Save All to save the map file.
You now use the information in the additional source variable, DiscontinuedList, to eliminate items that have been discontinued. If the product name for an item is in DiscontinuedList, then that item cannot be shipped and is not placed in the final shipped item list.
Add an if statement above the Item node in the target tree by right-clicking the Item node and selecting Add XSL Node > if.
The if statement must test if a discontinued product exists in DiscontinuedList with the name of the current item. The item is added only to the shipped items if it is not in DiscontinuedList. There are many ways to define the test expression for the if statement. One way is described in the following steps.
Define the test expression for the if statement by selecting the following (the method for how variables are set has changed from previous versions of Oracle JDeveloper):
Add a global variable to the target tree by right-clicking the Invoice node and selecting Add Variable.
The Add Variable dialog appears.
In the Local Name field, enter
DelimitedList. In the following steps, this variable is set to a string with a delimited list of discontinued product names.
Click OK.
The variable is added with a warning icon next to it.
To set the value of the variable, drag the create-delimited-string function from the String section of the Component Palette to the center panel.
Drag DiscontinuedList/ProductName to the input side of the create-delimited-string function.
Drag the output side of the create-delimited-string function to the new variable named DelimitedList.
Double-click the create-delimited-string function to open the Edit Function dialog.
In the delimiter field, add the pipe ("
|") character.
Click OK.
The input source is referenced in XPath expressions with $DiscontinuedList. This source is referenced as an input parameter in XPath expressions.
To set the XPath expression for the if statement, drag the contains function from the String section of the Component Palette to the center panel.
Drag the not function from the Logical Functions section of the Component Palette to the shaded area surrounding the contains function you added in Step 3.
Drag a line from the output side of the contains function to the input side of the not function.
Drag a line from the output side of the not function to the if statement.
Double-click the contains function to open the Edit Function dialog.
Enter values for the inputString and searchString, and click OK.
From the File menu, select Save All to save the map file.
The map file now looks as shown in Figure 40-53.
Figure 40-53 Mapper File
You now map a substituted shipping contact element in the source to the ShippedTo element in the target.
Expand the PurchaseOrder/CustomerContacts element in the source to see the Contact element.
This element has an error icon next to it.
Place the mouse over this element to display a tool tip indicating that this element is abstract.
In this situation, you must perform an element substitution to map the element.
Right-click the Contact element in the source tree and select Substitute Element or Type.
The Substitute Element or Type dialog is displayed with a list of elements in the substitution group of the abstract element Contact.
Select ShipToContact and click OK.
This is the element that you expect in the input XML. The structure of the ShipToContact element is now displayed in the source tree.
Expand the ShipToContact/InternationalAddress element in the source tree to show the address fields.
Expand the ShippedTo element in the target tree to show the target address fields.
Note the similarity in field names here, indicating that the automatic mapper can be used.
Drag the InternationalAddress element in the source tree to the ShippedTo element in the target tree and use the automatic mapper to help map the address fields below these elements.
Map any remaining elements not matched by the automatic mapper so that this section of the map is as shown in Figure 40-54:
Figure 40-54 XSLT Mapper
From the File menu, select Save All to save the map file.
Map PurchaseOrder/ID to Invoice/ID.
Expand Invoice/Data to show an any element.
Use the copy-of xsl statement to copy the attachment data from the source to the target any element:
Right-click the Invoice/Data/any element and select Add XSL Node > copy-of.
The copy-of statement is added and the original any element is grayed out. This indicates that it is to be replaced by the nodes selected by the copy-of statement.
To set the copy-of selection, drag the PurchaseOrder/Attachments element in the source tree to the copy-of statement.
Perform the following steps to map the PurchaseOrder/Comment field to the Invoice/Comment field. The Invoice/Comment field is an anyType element.
Right-click the Invoice/Comment field and select Substitute Element or Type.
Select xsd:string from the list of types provided.
Drag the PurchaseOrder/Comment field to the Invoice/Comment field to map the fields.
Add an XSL sort statement to the for-each statement:
Right-click the for-each statement in the target tree and select Add XSL Node > sort.
The Sort Edit dialog appears.
Select sort according to data-type Number.
Select sort order Descending.
Click OK. The sort node is added to the target tree.
Drag PurchaseOrder/Items/Item/Price from the source tree to the sort node in the target tree.
This sets the field on which to sort.
From the File menu, select Save All to save the map file. The map now looks as shown in Figure 40-55:
Figure 40-55 XLST Mapper
An XSL map can be tested independently from the BPEL process in Oracle JDeveloper using the XSLT Mapper. XML files can be input for each source input to the map.
Right-click the center panel and select Test.
The Test XSL Map dialog appears after a warning dialog. The warning indicates that you can test the map by creating your own sample input XML. The sample XML generator cannot generate sample data for the source tree substitutions.
A sample input XML file is provided: artifacts/xml/POInput.xml.
Follow these steps to select the sample input file for testing:
Uncheck the Generate Source XML File checkbox.
Click the Browse button for the Source XML File field.
Navigate to select the artifacts/xml/POInput.xml file.
A second sample file has been created with discontinued item data. This file is artifacts/xml/DiscontinuedItems.xml.
Follow these steps to use this file as the second source input.
Uncheck the Generate File checkbox to the left of the DiscontinuedList parameter name in the Parameters With Schema section of the dialog.
Click Browse for the DiscontinuedList parameter and select the artifacts/xml/DiscontinuedItems.xml file.
Click OK on the Test XSL Mapper dialog to run the test.
A PO2Invoice-Target.xml file is generated by the execution of the map. Note the use of xsi:type attributes, the Attachments node created by the copy-of statement, and the ordering of items caused by the sort statement in the PO2Invoice-Target.xml file. | http://docs.oracle.com/cd/E25178_01/dev.1111/e10224/bp_xslt_mpr.htm | CC-MAIN-2014-23 | refinedweb | 12,607 | 55.64 |
Constructors in C# :
Broadly speaking, it is a method in the class which gets executed when its object is created. Usually we put the initialization code in the constructor. Writing a constructor in the class is pretty simple, have a look at the following sample : public class mySampleClass{public mySampleClass(){// This is the constructor method.}// rest of the class members goes here.} When the object of this class is instantiated this constructor will be executed. Something like this :mySampleClass obj = new mySampleClass()// At this time the code in the constructor will // be executedConstructor Overloading :
C# supports overloading of constructors, that means we can have constructors with different set of parameters. So our class can be like this :
public
mySampleClass obj =
Calling Constructor from another Constructor:
You can always make the call to one constructor from within the other. Say for example : public class mySampleClass{public mySampleClass(): this(10){// This is the no parameter constructor method.// First Constructor}public mySampleClass(int Age) {// This is the constructor with one parameter.// Second Constructor}} Very first of all let us see what is this syntax :
Here this refers to same class, so when we say this(10), we actually mean execute the public mySampleClass(int Age) method.The above way of calling the method is called initializer. We can have at the most one initializer in this way in the method.
Another thing which we must know is the execution sequence i.e., which method will be executed when. Here if I instantiate the object as
mySampleClass obj = new mySampleClass()Then the code of public mySampleClass(int Age) will be executed before the code of mySampleClass(). So practically the definition of the method : public mySampleClass(): this(10){// This is the no parameter constructor method.// First Constructor} is equivalent to :public mySampleClass(){mySampleClass(10) // This is the no parameter constructor method.// First Constructor} Note that only this and base (we will see it further) keywords are allowed in initializers, other method calls will raise the error.
This is sometimes called Constructor chaining.
Behavior of Constructors in Inheritance :
Let us first create the inherited class.
myDerivedClass obj =
Note: If we do not provide initializer referring to the base class constructor then it executes the no parameter constructor of the base class.
Note one thing here : We are not making any explicit call to the constructor of base class neither by initializer nor by the base() keyword, but it is still executing. This is the normal behavior of the constructor.
If I create the object of the Derived class as myDerivedClass obj = new myDerivedClass(15)
Then the sequence of execution will be 1. public myBaseClass(int Age) method.2. and then public myDerivedClass(int Age) method.
Here the new keyword base has come into picture. This refers to the base class of the current class. So, here it refers to the myBaseClass. And base(10) refers to the call to myBaseClass(int Age) method.
Also note the usage of Age variable in the syntax : public myDerivedClass(int Age):base(Age).
Understanding it is left to the reader. :public class myClass{static myClass(){// Initialization code goes here.// Can only access static members here.}// Other class methods goes here}
Notes for Static Constructors :1. There can be only one static constructor in the class.2. The static constructor should be without parameters. 3. It can only access the static members of the class.4., No one, to methods definition, which you cannot do with Static Constructors, so you can have at the most one static constructor in the class.
Now, one question raises here, can we have the two constructors as method are different. One is at the time of loading the assembly and one is at the time of object creation.
FAQs Regd. Constructors :1. Is the Constructor mandatory for the class ?Yes, It is mandatory to have the constructor in the class and that too should be accessible for the object i.e., it should have a proper access modifier. Say for example we have the private constructor in the class then it is of no use as it cannot be accessed by the object, so practically it is no available for the object. In such conditions it will raise an error.
2. What if I do not write the constructor ?In such case the compiler will try to supply the no parameter constructor for your class behind the scene. Compiler will attempt this only if you do not write the constructor for the class. If you provide any constructor ( with or without parameters), then compiler will not make any such attempt.
3. What if I have the constructor public myDerivedClass() but not the public myBaseClass() ? It will raise an error. If either the no parameter constructor is absent or it is in-accessible ( say it is private ), it will raise an error. You will have to take the precaution here.
4. Can we access static members from the non-static ( normal ) constructors ?Yes, We can. There is no such restriction on non-static constructors. But there is one on static constructors that it can access only static members.
©2014
C# Corner. All contents are copyright of their authors. | http://www.c-sharpcorner.com/UploadFile/neerajsaluja/ConstructorsInCSharp11152005233222PM/ConstructorsInCSharp.aspx | CC-MAIN-2014-49 | refinedweb | 862 | 65.83 |
Suppose there are 2N persons. A company wants to organize one interview. The cost for flying the i-th person to city A is costs[i][0], and the cost for flying the i-th person to city B is costs[i][1]. We have to find the minimum cost to fly every person to a city, such that N people arrive in every city. So if the given list is [[10, 20], [30, 200], [400, 50], [30, 20]] The output will be 110. So we will send the person P1 to city A with cost 10, Second person to city A with cost 30, third and fourth person to city B with cost 50 and 20 respectively.
To solve this, we will follow these steps −
Let us see the following implementation to get better understanding −
#include <bits/stdc++.h> using namespace std; class Solution { public: static bool cmp(vector <int> a, vector <int> b){ return abs(a[0] - a[1]) > abs(b[0] - b[1]); } int twoCitySchedCost(vector<vector<int>>& costs) { int n = costs.size(); int a = n/2; int b = n/2; sort(costs.begin(), costs.end(), cmp); int ans = 0; for(int i = 0; i < n; i++){ if(b == 0 || (costs[i][0] <= costs[i][1] && a > 0)){ a--; //cout << a << " " << costs[i][0] << endl; ans += costs[i][0]; } else { //cout << costs[i][1] << endl; b--; ans += costs[i][1]; } } return ans; } }; main(){ Solution ob; vector<vector<int>> c = {{10,20},{30,200},{400,50},{30,20}}; cout << ob.twoCitySchedCost(c); }
[[10,20],[30,200],[400,50],[30,20]]
110 | https://www.tutorialspoint.com/two-city-scheduling-in-cplusplus | CC-MAIN-2020-45 | refinedweb | 263 | 69.31 |
You can learn about Python Variable Scope Programs with Outputs helped you to understand the language better.
Python Programming – Scope and Module
Variables are reserved memory locations to store values. When you assign a variable with = to an instance, you are binding or mapping the variable to that instance. Python keeps track of all these map-pings with namespaces. Roughly speaking, name spaces are just containers for mapping names to objects, i.e., these are containers for mapping names of variables to objects. You can think of them as dictionaries, containing name: object mappings, where the dictionary keys represent the names and the dictionary values the object itself. Such a ” name-to-object” mapping allows you to access an object by the name that you have assigned to it. For example, if we make a simple string assignment via a_string = “Hello”, you created a reference to the “Hello” object, and hereafter you can access via its variable name a_string.
Also, you have multiple independent namespaces in Python, and names can be reused for different namespaces with unique objects. Namespaces also have different levels of hierarchy called “scope”. The “scope” in Python defines the “hierarchy level” in which you search namespaces for certain “name- to-object” mappings. A scope represents the textual area of a Python program where a namespace is directly accessible.
- Python Programming – Dictionaries
- Python Programming – Standard Data Types
- Python Programming – Creation, Initialization and Accessing The Elements In A Dictionary
Scope of objects and names
The scope of a variable determines the portion of the program where you can access a particular identi¬fier. There are two basic scopes of variables in Python:
- Local scope
- Global scope
Variables that are defined inside a function body have a local scope. In other words, it is local to that function and those defined outside have a global scope. This means that local variables can be accessed only inside the function in which they are declared, If you then try to access the variable x outside the function, it will give NameError.
- A local scope refers to the local objects available in the current function.
Example
Demo of local scope.
Global variables can be accessed throughout the program body by all functions. When you call a function, the variables declared inside it are brought into scope.
Let us discuss the global scope of a variable in brief:
(a) The global names are variables assigned at the top level of the enclosing module file. It means that it is visible everywhere within the program.
(b) The global names must be declared only if they are assigned within a function.
(c) Global variables must be referenced within a function without being declared.
- A global scope refers to the objects available through the code execution since their inception.
Example
Demo of global scope.
Example
Demo of local and global variables.
Here, you just defined the variable name total twice. So, how does Python know which namespace it has to search if you want to print the value of the variable total? This is where Python’s LEGB-rule comes into play. The order for name resolution (for names inside a function) is local, enclosing function for nested def, global, and then the built-in namespaces (i.e., LEGB).
However, if you assign a new value to a name, a local name is created, which hides the global name. The global statement is necessary if you are changing the reference to an object (e.g. with an assignment).
In Example 4, to modify the contents of the array, the global statement is not needed because you are only modifying the object. Whereas in Example 5, you are modifying the reference to the variable, global is needed, otherwise, a local variable will be created inside the function.
If you want to print out the dictionary mapping of the global and local variables, you can use the functions global ( ) and local ( ).
Example
Demo of local variable.
Example
Demo of global variable.
The global keyword
In Python global keyword is used to a globally defined variable instead of locally defining them. This is useful when you want to change the value of a variable through a function. To use it, simply type global followed by the variable name, as shown in Figures 12.6 and 12.7.
Example
Demo of the global keyword.
Example
Demo of global keyword
In Finger 12.7, using the global keyword, the x in inside( ) will refer to the global variable. That one will be changed, but not the one in outside( ), because you are only referring to the global x. The nonlocal keyword is useful in nested functions. It causes the variable to refer to the previously bound variable in the closest enclosing scope. In other words, it will prevent the variable from trying to bind locally first, and force it to go a level ‘higher up’. (See Figure 12.8).
Example
Demo of nonlocal keyword.
Example
Demo of nonlocal keyword
In Figure 12.9, using the nonlocal keyword, x in the inside( ) function should actually refer to the x defined in the outside() function, which is one level higher. So, x in both inside( ) and outside( ) is defined as “k”, because it could be accessed by inside( ).
Module Basics
A Python module is a file containing Python codes including statements, variables, functions, and classes. It shall be saved with a file extension of “.py”. The module name is the filename, i.e., a module shall be saved as “<module_name>.py”.
A module in Python is just a file containing Python definitions and statements.
Advantages of Python modules are:
- The module allows you to logically organize your Python codes.
- Groping related code into a module makes the code easier to understand and use.
- Similar types of attributes can be categorized and placed in a single module.
- The module provides a facility for the reusability of codes.
Module files as Namespaces
Namespaces are just containers for mapping names to objects. You know that everything in Python literals, lists, dictionaries, functions, classes, etc., is an object. Also, namespaces can exist independently from each other, and that they are structured in a certain hierarchy. The name references create or change local names by default. The global declarations are used to design assigned names to an enclosing module’s scope. In Python programming, all function names assigned inside a def statement are locals by default whereas the functions written in Python can use global but they must be declared as global.
- A namespace is a naming system used to make sure that names are unique to avoid naming conflicts.
Reloading Modules
As you know that, a module is loaded once despite the number of times it is imported into the Python source file. If you want to reload the already imported module to re-execute the top-level code, Python provides you the reload ( ) function. This is useful if you have edited the module source file 5. using an external editor and want to try out the new version without leaving the Python interpreter. The syntax to use the reload ( ) function is as below: reload(<module-name>) | https://pythonarray.com/python-programming-scope-and-module/ | CC-MAIN-2022-40 | refinedweb | 1,190 | 64.71 |
#include <hallo.h> * Raphael Hertzog [Fri, Feb 21 2003, 12:48:11AM]: > Ok, I'm tired, I'm sure I could have find dozen of other questions like > those five ... but I'll let other people continue with questions like > that if they like it. Okay, let me ask some other questions... 6. Many people complaint that the pool is too bloated, priorities too generic, too many packages to pick the right one from the list... [ ] making some packages be more "important" to others is bad and will make create some kind of "elite" and "second class" packages [ ] we need a way to priorize the packages, review them, set keywords on the package (desktop/edu/demudi/...) and setting the appropriate priority for the target user group [ ] the problem exists but I hope someone will fix it after my DPLship [ ] there is no problem, the current system is just right 7. There are lots of backport series for Woody environment because people do not want to wait two years for a simple update, eg. when their software is not supported by ancient versions in Woody... [ ] there are no problems with Woody! [ ] we should try to legalize such efforts and create a semi-automatic system, similar to Raphaels former "Debian-Working" concept [ ] those are not the users we want [ ] such people should shut up and wait "a bit" Gruss/Regards, Eduard. -- Ich gehe davon aus, daß Adressen nur dann sinnvoll sind, wenn Adressen eingetragen sind. -- Oliver Zendel | http://lists.debian.org/debian-vote/2003/02/msg00079.html | CC-MAIN-2013-48 | refinedweb | 245 | 66.78 |
This walkthrough demonstrates how to import a .NET assembly, and automatically generate Excel add-in functions for its methods and properties, by adding XLL export attributes to the .NET code.
You can find a copy of all the code used in this walkthrough
in the
Walkthroughs/NetWrapAttr folder in your
XLL+ installation, along with a demonstration spreadsheet,
NetWrapAttr.xls.
Please note that this walkthrough is not available under XLL+ for Visual Studio .NET. XLL+ interacts with .NET using C++/CLI, which is only available under Visual Studio 2005 and above.
Please note that if you are using Visual Studio 2005, you must have Service Pack 1 installed in order to build a valid XLL.
If the add-in fails to load into Excel at run-time, please see the technical note .NET requirements.
In order to build
MyLib.dll, you need the C# project system
to be installed on your computer.
From the File menu, select New and then Project to open the New Project dialog.
Select the XLL+ 7 Excel Add-in project template from the list of Visual C++ Projects, and enter NetWrapAttr in the Name box. Under Location, enter an appropriate directory in which to create the project.
Put a tick next to "Create directory for solution", and click OK.
In the "Application Settings" page of the XLL+ AppWizard, put a tick against Common Language Runtime Support (/clr).
Click Finish to create the new add-in project.
For more information about creating projects, see Creating an add-in project in the XLL+ User Guide.
Now create a new C# project and add it to the solution.
In the Visual Studio Solution Explorer window, right-click the solution node and select Add/New Project....
Select the Visual C# project type in the tree on the left-hand side, and select Class Library in the list on the right. (In Visual Studio 2017, select Class Library (.NET Framework).)
Enter
MyLib for the project Name,
and accept the default Location. Press OK.
Open the project properties of MyLib, and, in the Build page, towards the bottom of the page, put a tick against XML documentation file.
If you are using Visual Studio 2015 or above, then select the Application
page of the project properties, and set the Target framework
to be
.NET Framework 4. This will make the .NET project compatible with
the XLL+ C++ project.
Alternatively, you can change the C++ project to use .NET Framework 4.5 or above as its
target framework.
Close the project in Visual Studio, or unload it, and directly edit the project file
NetWrapAttr.vcxproj.
Locate the element
<PropertyGroup Label="Globals">
and insert the desired target framework, e.g.:
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
See How to: Modify the Target Framework and Platform Toolset
for details.
Open
Class1.cs and replace all the code with the
code below.
using System; using System.ComponentModel; namespace MyLib { /// <summary> /// Contains static calls to test parameter & return types /// </summary> public static class TestClass { /// <summary> /// returns the concatenation of the arguments. /// </summary> /// <param name="a">is a string</param> /// <param name="b">is a number</param> /// <param name="c">is an integer</param> /// <param name="d">is a boolean</param> /// <returns></returns> public static string T1(string a, double b, int c, bool d) { return String.Format("a={0};b={1};c={2};d={3}", a, b, c, d); } /// <summary> /// returns an array of strings which are concatenations /// of the arguments. /// </summary> /// <param name="a">is a vector of strings</param> /// <param name="b">is a vector of numbers. It must be the same length as a.</param> /// <param name="c">is a vector of integers. It must be the same length as a.</param> /// <param name="d">is a vector of booleans. It must be the same length as a.</param> public static string[] T2(string[] a, double[] b, int[] c, bool[] d) { if (a.Length != b.Length) throw new ArgumentException(String.Format("Expected {0} items for b", a.Length)); if (a.Length != c.Length) throw new ArgumentException(String.Format("Expected {0} items for c", a.Length)); if (a.Length != d.Length) throw new ArgumentException(String.Format("Expected {0} items for d", a.Length)); string[] res = new string[a.Length]; for (int i = 0; i < res.Length; i++) res[i] = T1(a[i], b[i], c[i], d[i]); return res; } /// <summary> /// is a test function which adds two integers. /// </summary> /// <param name="a">is the first integer.</param> /// <param name="b">is the second integer.</param> /// <returns></returns> public static int T3(int a, int b) { return a + b; } /// <summary> /// This function will not be exported, because it is not marked /// with a XllFunction attribute. /// </summary> /// <param name="a">is an argument</param> /// <param name="b">is an argument</param> /// <returns>the sum of the inputs</returns> public static int DontExportMe(int a, int b) { return a + b; } /// <summary> /// Returns the type of an argument of unknown type /// </summary> /// <param name="arg">A value of any type</param> /// <returns>The value and type of the input</returns> public static string VarTypeScalar(object arg) { return String.Format("{0} ({1})", arg, arg == null ? "none" : arg.GetType().Name); } /// <summary> /// Returns the types of a vector of values of unknown type /// </summary> /// <param name="arg">is a vector of values of unknown type</param> /// <returns>a vector containing the values and types of the inputs</returns> public static string[] VarTypeVector(object[] arg) { string[] res = new string[arg.Length]; for (int i = 0; i < arg.Length; i++) res[i] = VarTypeScalar(arg[i]); return res; } /// <summary> /// Returns the types of a matrix of values of unknown type /// </summary> /// <param name="arg">is a matrix of values of unknown type</param> /// <returns>a matrix containing the values and types of the inputs</returns> public static string[,] VarTypeMatrix(object[,] arg) { string[,] res = new string[arg.GetLength(0), arg.GetLength(1)]; for (int i = 0; i < arg.GetLength(0); i++) for (int j = 0; j < arg.GetLength(1); j++) res[i, j] = VarTypeScalar(arg[i, j]); return res; } /// <summary> /// Returns a result of variable type /// </summary> /// <param name="type">indicates the type of value to return</param> /// <returns>a value of variable type</returns> public static object VarRet(int type) { switch (type) { case 0: return "A string"; case 1: return true; case 2: return (double)123.456; } throw new ArgumentException("type must be 0, 1 or 2", "type"); } /// <summary> /// A public enumeration /// </summary> public enum Periods { Monthly = 12, Quarterly = 4, SemiAnnual = 2, Annual = 1 } /// <summary> /// Calculates the discount factor for a given period and interest rate /// </summary> /// <param name="rate">is the interest rate</param> /// <param name="period">is a time period</param> /// <returns></returns> public static double DiscountFactor(double rate, Periods period) { return Math.Exp((-1.0 / ((double)(int)period)) * rate); } } }
To add attributes to the .NET assembly, follow these steps:
Select the MyLib project in the Solution Explorer, and add a reference to the XLL+ runtime library.
Right-click MyLib and click on "Add Reference...".
Select the "Browse" page and navigate to the
bin
sub-directory of your XLL+ installation folder, typically
[Program Files]\Planatech\XllPlus\7.0\VS8.0\bin.
Psl.XL7.XnReflect.Runtime.dll and press OK.
In
Class1.cs, add the following line to the list of
using statements:
using System; using System.ComponentModel; using XllPlus;
Add a
XllClassExport attribute to the class:
[XllClassExport(Category=XlCategory.UserDefined, Prefix="Test.")] public class TestClass { ...
This attribute will control the category and prefix of all exported methods of the class. Unless otherwise specified, exported functions will be named Test.Function (where Function represents the method name) and will appear in the "User Defined" category in the Excel Formula Wizard.
Add an
XllFunction attribute to the method
TestClass.T1:
[XllFunction] public static string T1(string a, double b, int c, bool d) { return String.Format("a={0};b={1};c={2};d={3}", a, b, c, d); }
This attribute will cause the function to be exported, as an Excel
add-in function named
Test.T1.
Add an
XllFunction attribute, with parameters, to the method
TestClass.T2:
[XllFunction("TestArrays", Prefix="")] public static string[] T2(string[] a, double[] b, int[] c, bool[] d) { ... }
This attribute will cause the function to be exported as an Excel
add-in function named
TestArrays, with no prefix.
Add an
XllFunction attribute to the method
TestClass.T3:
[XllFunction] public static int T3(int a, int b) { return a + b; }
This attribute will cause the function to be exported as an Excel
add-in function named
TestClass.T3.
Add
XllArgument attributes to the arguments of
TestClass.T3:
[XllFunction] public static int T3( [XllArgument("First", Flags=XlArgumentFlags.Optional, DefaultValue="100")] int a, [XllArgument("Second", Flags=XlArgumentFlags.Optional, DefaultValue="-99")] int b) { return a + b; }
These attributes will change the names of the arguments a and b to First and Second respectively. They also provide default values for each argument which will be used if the argument is omitted.
Note that no attribute is specified for the method
TestClass.DontExportMe.
Consequently, the function is not exported to Excel.
Add
XllFunction attributes to the methods
TestClass.VarTypeScalar,
TestClass.VarTypeVector and
TestClass.VarTypeMatrix:
[XllFunction] public static string VarTypeScalar(object arg) { return String.Format("{0} ({1})", arg, arg == null ? "none" : arg.GetType().Name); } [XllFunction] public static string[] VarTypeVector(object[] arg) { ... } [XllFunction] public static string[,] VarTypeMatrix(object[,] arg) { ... }
The attribute will cause each of these methods to be exported to Excel.
The arguments of each method are
object types, and these are treated
specially by the code importer; they can contain one or more values of any Excel value type:
string, number, boolean or empty.
Each cell value will be converted to a value of the appropriate type
(System.String, System.Double, System.Boolean or null)
before the .NET method is invoked.
Add an
XllFunction attribute to the method
TestClass.VarRet:
[XllFunction] public static object VarRet(int type) { ... }
This attribute will cause the function to be exported as an Excel
add-in function named
TestClass.VarRet.
Add an
XllArgument attribute to the type argument of
TestClass.VarRet:
[XllFunction] public static object VarRet( [XllArgument(Flags=XlArgumentFlags.ShowValueListInFormulaWizard, ValueList="0,String;1,Boolean;2,Number")] int type) { ... }
This attribute will add a value list for the argument. The value list will appear in a drop-down list when the function appears in the Excel Formula Wizard:
Add an
XllFunction attribute to the method
TestClass.DiscountFactor:
[XllFunction] public static double DiscountFactor(double rate, Periods period) { return Math.Exp((-1.0 / ((double)(int)period)) * rate); }
This attribute will cause the function to be exported as an Excel
add-in function named
TestClass.DiscountFactor.
Add an
XllArgument attribute to the period argument of
TestClass.DiscountFactor:
[XllFunction] public static double DiscountFactor(double rate, [XllArgument(Flags = XlArgumentFlags.ShowValueListInFormulaWizard)] Periods period) { return Math.Exp((-1.0 / ((double)(int)period)) * rate); }
This attribute will add a value list for the argument. The value list will appear in a drop-down
list when the function appears in the Excel Formula Wizard.
Because
Periods is an
Enum type, there is no need to specify the value list:
it is generated automatically by the assembly importer.
Before we can import the .NET assembly into the XLL+ project, we must create a reference to it.
In Solution Explorer, find the node for the project NetWrapAttr and right-click it. Select Properties.
In the Project Properties window, select the node "Common Properties/References", and click the "Add New Reference..." button.
In Visual Studio 2015 or 2017, right-click the the "References" node beneath the project node and click "Add Reference...".
You may have to wait a long time for the "Add Reference" window to appear.
In the "Add Reference" window, select the tab "Projects", select "MyLib" in the list, and press OK.
In the Project Properties window, click OK to save your changes.
You should now build the solution (Shift+Ctrl+B), and make sure that both projects built successfully. Make sure that the build is set to "Win32", "x86" or "x64"; avoid "Mixed Platforms". Also, if necessary, use the Build/Configuration Manager... command to open the solution configuration window, and ensure that both projects have a tick in the "Build" column.
Note that on Visual Studio 2015 and 2017, where there is no "Common Properties/References" node in the Project Properties, you should instead use the Solution Explorer window: select the "References" node under the project node, and right-click it, then select the "Add Reference..." command.
In these steps you will set up a link between the two projects. Once it is done, the build process will include an extra step, which inspects the .NET assembly and generates wrapper add-in functions for all the exported methods and properties. Whenever the .NET assembly is changed, this code will be regenerated during the next build.
Open the main source file of the add-in project,
NetWrapAttr.cpp.
Activate the XLL Add-ins tool window (View/Other Windows/XLL Add-ins).
Click on Import Assemblies... in the Tools menu.
In the list of assemblies, put a check against
MyLib.
Click OK to save your changes and return to Visual Studio.
If you inspect the add-in project in Solution Explorer, you will see
that two new files have been added. In the folder "NetWrap/Imported files"
are
MyLib.import.xml and
MyLib_Wrappers.cpp.
MyLib.import.xml contains instructions for importing the
.NET assembly. When it is built, the XLL+ reflection tool, XNREFLECT.EXE,
is run, which generates the C++ code for the XLL add-in functions,
and write it to
MyLib_Wrappers.cpp.
Build the project.
If you are working with a 64-bit version of Excel, then be sure to select
the 64-bit platform
x64 before you build.
You will observe a new step in the build process,
when
MyLib_Wrappers.cpp is generated.
Inspect
MyLib_Wrappers.cpp. Each of the functions
is simply a wrapper for a .NET method, and contains code to
validate inputs, translate them to CLR data forms, invoke the .NET method
and finally convert the result to Excel data form.
If any method throws an exception, it will be caught and
reported back to Excel.
Use F5 to run and debug the add-in. Place break-points in the C# code, and you will see that the debugger seamlessly steps between the C++ and C# modules.
See Importing .NET assemblies in the User Guide for more details.
Importing a .NET Assembly | Samples and Walkthroughs | https://planatechsolutions.com/xllplus7-online/howto_import_attrs.htm | CC-MAIN-2021-43 | refinedweb | 2,396 | 58.28 |
Generating reports in SAP NetWeaver with FastReport (tutorial)- Part 1
“Fast Report Inc” is a world – known company producing very fast and scalable reporting components for different platforms. Two years ago “Fast Report” presented a solution for SAP NetWeaver AS ABAP based systems. The solution includes components for ABAP stack, SAP GUI for Windows and a dedicated server for report generation.
In three parts of my blog I will demonstrate and examine the main development steps according to different scenarios. a Data source.
To be able to create a new report it is needed to use SAP Query for report data source.
Run transaction SQ02 and switch the namespace to local. It is worth using a local namespace as it does not require transport requests and it is possible to build queries directly in the production system.
Create new Infoset ZZDEMO_STOCK and choose the table SNWD_STOCK as a basis table.
Add tables and join them as it is shown in the picture below
Press on “Infoset” button. On the overview screen add (drag and drop) data fields to a new result field group.
Save and generate infoset.
Run the transaction SQ03 and create a new user group “ZZDEMO_FR – Reports “. Assign infoset ZZDEMO_STOCK to the user group.
Save the user group.
Preparing a template
Now, let us study the solution presented by Fast Report! Turn on the transaction ZFR_COCKPIT. On the left panel select node Local->Reports-ZZDEMO_STOCK and then press the button “Call query” to turn on Infoset Query.
Mark the fields relevant to selection screen and report data source. Save the query with the name “Stock01- Stock overview”.
After the saving a new query will appear in the “tree”. Now, click on it and press “add report” on the right. On the bottom of the screen there are report parameters. Set a running type as “Run on frontend” and save the data.
After saving report parameters press the “Edit” button and then “Designer”. Selection screen with report parameters will appear. Execute the report and a Fast Report designer will be opened.
Adjust the report options:
Menu: Report->Options->General->Double pass.
Menu: File->Page setup->Columns->Count->2.
Configure bands:
Menu: Report->Configure bands.
Configure (add\remove) bands as presented on the screenshot
Press the report elements:
Choose “text element” from the Element toolbar and place it on the Report title band. Double click on it and put the and put the following text: “Page [Page] of [TotalPages]”.
User and Developer manual for designer can be found here:
There is a picture of the final template below:
Press the “Preview” button to view the results (in designer mode source data is restricted up to 100 rows).
Save the report (for this, press the “SAP” button) and leave the designer.
Now press “Run report” to run the report and to see the results.
Sometimes “preview” can be opened in background. In this case use “Alt+Tab” to switch between windows.
RUN
To use this report as a standalone (without ZFR_COCKPIT), it is needed to create a separate transaction for it.
Run the transaction SE93. Then, enter any transaction code you want (for example, ZZDEMO_STOCK), add short text and choose “Transaction with parameters” as a start object.
On the next screen put “ZFR_RUN” as transaction code. Then, check “skip initial screen” and in “Default values” table add field “p_rep” and value <your report ID>.
Save the data.
Now, you are able to run a report directly by calling the transaction ZZDEMO_STOCK. | https://blogs.sap.com/2017/02/23/generating-reports-in-sap-netweaver-with-fastreport-tutorial-part-1/ | CC-MAIN-2021-39 | refinedweb | 580 | 66.84 |
<<
raptorstrikeMembers
Content count987
Joined
Last visited
Community Reputation181 Neutral
About raptorstrike
- RankAdvanced Member
raptorstrike posted a topic in General and Gameplay ProgrammingIn my attempt to develop a generic contracting syntax for C++ I have created some HEAVILY templateted classes. Just when everything seemed in order VS throws up the following error upon compilation c:\c++\contracts\contract.h(185) : error C2664: 'Operator<A,TYPE_A,Op,B,TYPE_B>::Evaluate' : cannot convert parameter 1 from 'int *' to 'int *' with [ A=int *, TYPE_A=Pointer, Op=NE, B=int, TYPE_B=Solid ] This doesn't really seem like something that can be solved but I'm open for any input. XP SP 2 VS 2008 Pro. Thanks for your time =) [Edited by - raptorstrike on December 13, 2008 2:02:28 AM]
raptorstrike replied to yboris's topic in For Beginnershmmm well make sure that the namespace file doesn't include any of the files including it (cyclical inclusion). Here is a minimal example which compiles just fine working on the same principal main.cpp #include <iostream> #include "bar.h" #include "global_namespace.h" //yes I know its there twice #include "global_namespace.h" using namespace std; int main() { bar test; Foo::_cy = 40; Foo::_cz = 20; cout << Foo::_cx << endl; cout << Foo::_cy << endl; cout << Foo::_cz << endl; system("pause"); } global_namespace.h #ifndef NAMESPACE_FOO #define NAMESPACE_FOO namespace Foo { float _cx = 0; float _cy = 1; float _cz = 100; } #endif bar.h #include "global_namespace.h" class bar { public: bar() { Foo::_cx = 100;} };
raptorstrike replied to yboris's topic in For Beginnersyou need to access these variables through the namespace so if your namespace is sharevariables you should access _cx as sharevariables::_cx making sure of course that you include the namespace header. Hope that helps [smile]
raptorstrike replied to SnipeCleric's topic in General and Gameplay ProgrammingBased on what you have posted you have the following (I added the brackets) glPushMatrix(); { glEnable(GL_TEXTURE_2D); textureplanet(); glTranslatef(0,0,zax); glutSolidSphere(3,20,20); } glPushMatrix(); //should be POP This is likely the cause of your problem. [smile] EDIT: Welcome to the Forums by the way
raptorstrike replied to Psyk60's topic in Math and PhysicsAssuming you have acceleration as a vector quantity on way to cap the acceleration, if your vector's magnitude was greater than the maximum allowed, would be to normalize the vector and scale it by some max value M. Gravity could then be added in later on so that it would not be effected by the cap. Hope I was able to help (and understood the question correctly) [smile] EDIT: If the acceleration was on a per axis basis you could either cap the acceleration in a certain direction (no cap on the -Y direction) or could still use the magnitude method by converting these values to a vector
raptorstrike replied to raptorstrike's topic in General and Gameplay Programmingyes I agree that any such optimization on the operator level has generally been spotted and taken care of either during the compilation process or because of the way the internal representation is set up so no I was not really expecting to gain much from this particular change it was more of a curiosity. Thank you though to all who responded you have been most helpful.
raptorstrike replied to raptorstrike's topic in General and Gameplay Programmingwell thats a heck of a way to answer a question (with another question, thank you all the same [smile]) but I see what your saying, the not operator ruins that trade off but with the similar case posted below (a ^ b) or a != b the question is still valid.
raptorstrike posted a topic in General and Gameplay ProgrammingMy dilemma is with the inner loop of an iterative function which must be as fast as possible, limited by my knowledge of assembly I have resolved to do what I can with the bitwise operators. The basic question is: Is (!(a ^ b)) Faster than (a == b) the result is the same for integers (with the limited tests I have ran so far). The difference is small no doubt but, at this point out of curiosity, I want to find out which offers the greatest speed. Thanks for your time [smile] Edit: Like wise for (a ^ b) and (a != b) [Edited by - raptorstrike on November 13, 2007 10:19:05 PM]
raptorstrike replied to kingpinzs's topic in For BeginnersYeah what your after is a boolean variable and the easiest way to make it flip flop is to assign it to what it is not so bool X = true; X = !X; // X = false X = !X; // X = true ect... hope that helps
- last try
raptorstrike posted a topic in General and Gameplay Programmingrecently I have taken up perl and as a project for myself I have decided to write a script that translates XML files into C++ class files (I find myself writing XML file loaders way too often) The script is progressing fairly well (it successfully generates a header file for the class) but before I move onto the source code of loading each item I wanted to ask how nested items in the XML file should be handled. Right now the nested node is simply listed as a nested class but I was wondering weather I should instead create a separate header header file and just give the class an appropriate member variable to represent the nested object. EX: class A { public: A(){}; class B { public: B(){}; }; }; as opposed to #include <B.h> class A { public: A(){}; std::vector< B > v_B; }; NOTE that the vector is there because child nodes do not have any name in XML so they would all be put anonymously in a vector for later use. thanks for your time [smile]
- Bump, anyone?
raptorstrike posted a topic in For BeginnersRecently Ive decided to switch from whatever old version I was using to LuaPlus 5, but, after setting up the library (hopefully correctly), when I went to run the program I got the following error LDR: LdrpWalkImportDescriptor() failed to probe c:\projects\dlls\LuaPlus_1100.dll for its manifest, ntstatus 0xc0150002 Debugger:: An unhandled non-continuable exception was thrown during process load So Im not quite sure how to continue, I looked up similar errors with less than helpful results so I finally decided to come here. If anyone knows what might resolve this error or even what would be causing it (the dll is in the correct directory, same as exe) any input would be appreciated. NOTE: I am using the simple release version of LuaPlus with '05 Express (not the managed or debug versions). [smile]
raptorstrike posted a topic in For BeginnersWell recently I've made the switch to VC++ '05 Express because it tends to have better debugging and exception generating capabilities than Dev-Cpp and I needed something a little more powerful for my current project. Everything goes well with the transition except one thing, when the compiler parses the gl.h file in the Platform SDK it generates hundreds of errors all referencing keywords which should have been previously but apparently were not, here is a quick example c:\program files\microsoft platform sdk for windows server 2003 r2\include\gl\gl.h(1171) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft platform sdk for windows server 2003 r2\include\gl\gl.h(1172) : error C2144: syntax error : 'void' should be preceded by ';' c:\program files\microsoft platform sdk for windows server 2003 r2\include\gl\gl.h(1172) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft platform sdk for windows server 2003 r2\include\gl\gl.h(1172) : error C2086: 'int WINGDIAPI' : redefinition c:\program files\microsoft platform sdk for windows server 2003 r2\include\gl\gl.h(1152) : see declaration of 'WINGDIAPI' those errors point to this line WINGDIAPI void APIENTRY glColor3d (GLdouble red, GLdouble green, GLdouble blue); Considering how widely used these files are I figure that it must be something that I am doing wrong so if anyone has run into a similar problem and knows whats going on I would appreciate any help NOTE: I am including the Windows header before the gl header Microsoft Visual C++ 2005 C++/Open GL Windows XP thanks for your time [smile]
raptorstrike replied to comfortablynumb84's topic in For BeginnersIf you have an array of type OBJECT as a member than OBJECT MUST have a constructor that takes no parameters so that initialization can be done before entering the body of the constructor. Once in the constructor you are free to change those objects any way you like but the objects have to be initialized using a bland, no parameters, constructor. One way to get around this would be to use an array of pointers and to dynamically allocate all of the objects from within a constructor body using any available OBJECT constructor but then you have to remember to clean up after the array. Hope this helped [smile] | https://www.gamedev.net/profile/62713-raptorstrike/?tab=smrep | CC-MAIN-2017-30 | refinedweb | 1,506 | 51.41 |
Changing OS X Settings for Profiles bound to clients results in Managed Client changes (mcxread shows them) and inserts the info into Managed Client in this order:
- User
- Computer
- Computer Group
- Everyone
- User Group
The data in the managed client attributes is replaced completely and not per-key.
Installing profiles from the command line provides more information as to what is going on behind the scenes. Having said this, in some cases I can get a Provisioning Profile Validation: failed to read CMS (-25257) error when attempting to install the same profile a second time. In other cases it just fails if I try to run verbosely (in those cases it doesn’t ever install at all). For example, if I run a user group profile twice, the command completes. You should be able to use -CP or L to validate whether it ran and to validate whether it was already run. Keeping a good naming convention on the ProfileIdentifier should keep from too many weird conflicts and you can always read MCX to see if it got pushed out, since it’s all just MCX anyway.
Troubleshooting conflicts can be a bit tricky. The -v operator should return an exit code that indicates that there is overlapping namespace in the Organization but can cause a null return (in fact -v fails with some combinations outright when it shouldn’t). The “profiles -L” command does show that the profile is installed, so you could check that before running, escaping out the generated ID and .alacarte. Running with a -C shows the profiles for the computer, -P for everyone (btw, running profiles -CPL returns inconsistent results so I’ve been scripting them to run separately). Installing profiles from the command line seems to usually require a log out and log in in order to see the changes. killall dock or killall finder don’t result in the changes, unless they’re coming from MDM, at which point they are instant. Installing profiles from the GUI usually means instant changes though.
The above information includes installing profiles. When you have policies being overlaid from Exchange, the most restrictive settings will win and be read granularly. For example, if you have a passcode minimum in a profile and a complexity requirement in Exchange then both would be applied to clients. | http://krypted.com/tag/managed-client/ | CC-MAIN-2014-49 | refinedweb | 387 | 57.2 |
Polling is the default mode when a peripheral is opened. Not all peripherals
provide a method to return to polled mode once it has been exited.
Polled writes will only return after all the bytes have been
written to the peripheral, unless an error occurs.
Polled reads will only return after the requested number of
bytes have been read from the peripheral, unless an error occurs.
/* FreeRTO+IO includes. */
#include "FreeRTOS_IO.h"
void vAFunction( void )
{
/* The Peripheral_Descriptor_t type is the FreeRTOS+IO equivalent of a descriptor. */
Peripheral_Descriptor_t xOpenedPort;
BaseType_t xBytesTransferred;
/* )
{
/* xOpenedPort now contains a valid descriptor that can be used with
other FreeRTOS+IO API functions.
Peripherals default to using Polled mode for both reads and writes, so
the following FreeRTOS_write() call will write 10 bytes from the
ucBuffer array to the SPI2 peripheral. The ucBuffer declaration is not
shown, and assumed to be outside of this example function. */
xBytesTransferred = FreeRTOS_write( xOpenedPort, ucBuffer, 10 );
/* As polled mode is being used, xBytesTransferred should be 10, unless
an error occurred. */
configASSERT( xBytesTransferred == 10 );
/* The transfer mode has not been changed, so the following read will
also use polled mode. It will read 10 bytes into ucBuffer. */
xBytesTransferred = FreeRTOS_read( xOpenedPort, ucBuffer, 10 );
/* Again, as polled mode is used, the call to FreeRTOS_read() will have
returned all of the 10 requested bytes unless an error occurred. */
configASSERT( xBytesTransferred == 10 );
}
else
{
/* The port was not opened successfully. */
}
} | http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_IO/Polled_Transfer_Mode.shtml | CC-MAIN-2015-40 | refinedweb | 232 | 62.17 |
Data Triggers and Usage in XAML
Posted by codingsense on November 25, 2009
Hi,
DataTrigger represents a trigger that applies property values or performs actions when the bound data meets a specified condition.
In this sample we will explore how this property can be utilized on how we need it to behave. In this sample I will concentrate on Style Triggers and apply them on the datagrid, in similar fashion it can be applied to any of the container control.
Till now I have been using Data Triggers in many of the places in my project. Combining all the solutions I have made a sample in which i will be describing all the types of usages of Data Triggers.
Let us imagine a collection of Fathers which hold FirstName of fathers. Each father has a kids collection where all his kids names are stored.
The collection are displayed in a datagrid and the rows are displayed using a Listview and a gridview.
<my:DataGrid············ <my:DataGrid.RowDetailsTemplate>················ <DataTemplate>···················· <ListView Name="Kids" ItemsSource="{Binding Kids}">························ <ListView.View>···························· <GridView>································ <GridViewColumn Header="Kids" DisplayMemberBinding="{Binding Name}"/>···························· </GridView>························ </ListView.View>···················· </ListView>················ </DataTemplate>············ </my:DataGrid.RowDetailsTemplate>············ <my:DataGrid.Columns>················ <my:DataGridTextColumn············ </my:DataGrid.Columns>········ </my:DataGrid>
Now lets create some scenarios in our project in the format the details are to be displayed
Scenario1: Make the families background red where there are no kids
Scenario 2: Hide the families where the name of the father is less than 8 chars
Scenario 3: Make the font bold where the fathers name is greater than 8 chars and there are 2 kids
Download Source Code – 423Kb
Make the families background red where there are no kids
Binding is very flexible in WPF you can easily bind to any of the properties available in the class. Like in this scenario we need to check if the kids count in the family is 0. For this we need to declare a style and bind our RowStyle of the grid to the defined style. Lets work on it.
Lets declare a style and name it as CheckKids and check for the kids.count condition for 0.
········ <Style x:············ <Style.Triggers>················ <DataTrigger Binding="{Binding Kids.Count}" Value="0">···················· <Setter Property="Background" Value="Red"/>················ </DataTrigger>············ </Style.Triggers>········ </Style>
In the collection Mr.Ramiayaa has no kids so background of his row is made red.
Hide the families where the name of the father is less than 8 chars
Now comes the challange how will you check fatherName < 8 in XAML. Pretty tricky right. Here is a simple method to be followed. What if we have another property in our class which returns true or false by checking the fathername.length. It will help us to acheive our goal.
Lets Declare a property in Father class and name it as IsLengthLessThanEight, which will return if the father name is less than 8 char or not. It will look like
public bool IsLengthLessThanEight { get { return (FirstName.Length < 8); } }
By this we can be very sure that we can write our own properties and bind it to make anything possible.
Now lets declare the style and name it FatherNameLessEightChar and bind it to our declared property IsLengthLessThanEight
and check the desired condition.
········ <Style x:············ <Style.Triggers>················ <DataTrigger Binding="{Binding IsLengthLessThanEight}" Value="True">···················· <Setter Property="Visibility" Value="Hidden"/>················ </DataTrigger>············ </Style.Triggers>········ </Style>
In the collection we have only one father who has the name less than 8 that is Mr.Rocky that name is to be hidden.
Make the font bold where the fathers name is greater than 8 chars and there are 2 kids
Here comes the next challange how will we check more than one condition in XAML. Is it possible or should we declare another property and check 2 conditions in our class. For this we have MultiDataTrigger which will help us to check multiple conditions in XAML and set property accordingly. Cool.
Lets declare a style and name it CheckNameAndKidsCount and use the MultiDataTrigger.
<Style x:············ <Style.Triggers>················ <MultiDataTrigger>···················· <MultiDataTrigger.Conditions>························ <Condition Binding="{Binding IsLengthLessThanEight}" Value="False"/>························ <Condition Binding="{Binding Kids.Count}" Value="2"/>···················· </MultiDataTrigger.Conditions>···················· <Setter Property="FontWeight" Value="Bold"/>················ </MultiDataTrigger>············ </Style.Triggers>········ </Style>
Here we check both the conditions i.e First we check if father name is greater than 8 char with the help of the IsLengthLessThanEight that we have defined and next condition we check if the kids count is 2 or not. If both the conditions are satisfied then the font of the family is made bold.
In our collection we have Mr.Balasubramanyam whose name is greater than 8 char and has 2 childrens so his row should be made bold.
Wow all the scenarios have completed and we have got the desired output for all of them. Thanks to DataTrigger for simplifying the life. In this similar fashion we can declare style trigger and data trigger to make various styles depending on the data that is bound.
References :
Cheers
Naveen Prabhu
| http://codingsense.wordpress.com/2009/11/25/data-triggers-and-usage-in-xaml/ | CC-MAIN-2013-20 | refinedweb | 826 | 65.32 |
Opened 10 months ago
Last modified 10 months ago
The bug appears in the child admin interface view, when you use multi table inheritance.
A ForeignKey selectbox shows the output of __unicode__() from the parent object for select values instead of the PK.
Example:
<option value="Foo">Foo</option>
instead of
<option value="6">Foo</option>
We fixed it with the following code in django.forms.models.ModelChoiceIterator:
def choice(self, obj):
if self.field.to_field_name:
try:
key = getattr(obj, self.field.to_field_name).pk
except AttributeError:
key = getattr(obj, self.field.to_field_name)
else:
key = obj.pk
return (key, self.field.label_from_instance(obj))
I haven't verified the bug, but it looks like a real bug. I'm not sure if the fix is correct in case of a OneToOneField? with a to_field different from the pk.
(In [8957]) Fixed #8841 -- Fixed a case of ForeignKeys? to models constructed with
inheritance.
This patch is uglier than it needs to be (see comment in patch) to ensure no
accidental bug is introduced just before 1.0. We'll clean it up later.
By Edgewall Software. | http://code.djangoproject.com/ticket/8841 | crawl-002 | refinedweb | 183 | 61.53 |
Creating a modern web-based application requires more today than it did just a few short years ago. Today, developers are tasked with creating rich, interactive UIs that take advantage of all the techniques in the Ajax toolbox. When these approaches were first introduced, many pundits insisted you needed to be a rocket scientist to pull it off, and while not trivial today, high-quality frameworks have helped the cause. This article looks at how popular libraries like Dojo and the Yahoo! UI Library (YUI) have simplified the life of today's JavaScript developers, why you should use a library in the first place, and how to choose among libraries. It also provides some specific examples from Dojo and YUI, as well.
Why should I use a library?
Back in the paleolithic web era known as the late 1990s, those of us doing client-side development had things pretty rough. Our monitors had lower resolution than today's hippest smart phones; the browser wars were in full swing, giving us a variety of incompatible behaviors; and our toolbox was only slightly better than that guy who insisted on using punch cards. And we walked to work uphill in the snow both ways. Getting JavaScript to work properly across browsers was a Herculean task, and on one early project, I ran into so many issues the manager laid down the "thou shalt use only the bare minimum JavaScript required to make the application work" decree. I do not miss those days.
Things have settled down considerably. But browser issues are still around today (Windows® Internet Explorer® 6, I'm looking in your direction.) In addition to a much-improved toolbox, today you can take advantage of a veritable plethora of libraries to ease the burden of developing cross-browser front-end code. In fact, you face a paradox of choice in your effort to select just the right framework to make your life easier—but that sure beats long nights debugging that intermittent issue with browser X on the Y operating system! Today, you should look to a library to create a baseline for your coding efforts—a virtual machine of sorts sitting between the various browser implementations and the code you're trying to write.
In addition to smoothing out browser differences, toolkits give you additional leverage in your day-to-day coding efforts. Some libraries are minimalists, doing one thing and only one thing, while others are all-encompassing kitchen sink-sized toolkits that seek to rectify shortcomings in all things web. Though each library is different, there are several common themes. Most provide:
- A wrapper around the
XMLHttpRequest(XHR) object
- Cross-browser CSS selectors
- Simplified event handling
- Various animations, effects, and widgets
- Sundry utility functions
How do you pick one library over another? The only wrong answer is coding everything by hand—not using any library. Picking a library can be difficult, but it's nothing compared to trying to do everything yourself. Before you panic and think you have to choose just one library, know that most them work fine together (within reason), and sometimes mixing and matching is the best option. Regardless, here are some things to consider when picking a library:
-.
Before making a final decision, be sure to spend some time playing with the finalists. Some libraries have a certain flavor—for instance, Prototype brings a strong dose of Ruby to JavaScript programming. If you think Ruby is the language to end all languages, this is a feature. But if reading Ruby makes your eyes burn, Prototype might not be the best choice. Reading code and following tutorials is fine, but until you actually try to solve some of your pain points in a given library, it's hard to know which one is right for you.
Why YUI.
YUI and Dojo are actually quite similar. Both offer a strong core of utilities and helper functions, and each has an excellent collection of widgets and components. In addition to the old standbys like calendars, trees, and menus, each has a charting option. You'll find a strong, vibrant community answering questions, fixing bugs, and adding new functions in both camps. They feature excellent websites with example code, references, getting started guides, and—if you prefer the feel of paper—each has books covering these impressive libraries.
The JavaScript language lacks namespaces or packages, something Dojo and YUI overcome in how their code is named and packaged. With YUI, the code lives under YAHOO plus some combination of "package" names. For example, YUI's event utility would look something like this:
YAHOO.util.Event.addListener
Dojo follows a similar approach, though its implementation is simpler. You access the core using dojo as the top-level wrapper, while the widgets are found under dijit.
Though similar, these two libraries are not identical copies of one another. Dojo allows you to use its widgets either declaratively or programmatically. In other words, you can configure your widgets with special attributes in your mark-up, or you can use standard JavaScript code—and you are always free to mix and match. Dojo has a rather helpful dependency manager; when you require a given module, Dojo makes sure you have everything you need. It also makes sure dependencies are loaded once and only once.
Ajax the easy way
Although the XHR object itself isn't very complicated, there is just enough nuance to doing it right that you'll soon come to appreciate the abstraction layer found in virtually all of today's Ajax libraries. Dojo and YUI are no exceptions, and each provides a simple-to-use wrapper. You'll find common themes when working with XHR using a library. At a minimum, the wrappers will:
- Provide the URl of the resource to call
- Provide a way to pass parameters
- Offer a method of specifying the HTTP method (
get, post) to make the call
- Include a callback technique to handle the result of the call
YUI and Ajax
YUI stashes its XHR wrapper in the Connection Manager. The API is straightforward: You call a singleton method and get back a connection object. A typical call might look something like Listing 1.
Listing 1. A sample YUI Ajax call
var url = "/fooApp/validate"; var msg_div = document.getElementById("messages"); var callback = { success: function(o) { msg_div.innerHTML = o.responseText}, failure: function(o) { console.debug("An error occurred: ", o);} }; function validate() { var form = document.getElementById("pim"); YAHOO.util.Connect.setForm(form); var transaction = YAHOO.util.Connect.asyncRequest("GET", url, callback); }
This may look a bit verbose compared to other libraries, but I've spread things
out a bit in the name of readability. You could always put the callback
functions and the URL directly into the call to
Connect.asyncRequest. As you can see, you retrieve
certain elements—here, a
<div> that
will house the message back from the server—as well as the form that
contains the data you want to send to the server. Calling the
setForm method on the Connection Manager
gathers form values and packages them appropriately based on the type of call
you're making (in this case, a
GET request.) The
asynchronous call to the server will be triggered when the validate method is
called.
Dojo and Ajax
Dojo's approach is similar to, though somewhat less verbose than, YUI's. Dojo's XHR
wrapper lives in Dojo Base, and it exposes methods for the major HTTP verbs
(
post, get, put, delete). One way to call it can be found in Listing 2.
Listing 2. A sample Dojo Ajax call
var xhrParms = { url: "/fooApp/validate", load: function(response){ dojo.byId("messages").innerHTML = response; }, error: function(data){ console.debug("An error occurred: ", data); }, timeout: 2000, form: "pim" }; function validate() { dojo.xhrGet(xhrParms); }
Again, I've chosen to spread the code a bit to improve its readability, but you
could place the parameters directly into the call to
dojo.xhrGet
if you prefer. As you can see, this example is similar to YUI's, with some
interesting differences. First, you may have noticed the distinct lack of
document.getElementById calls. Getting an element
by ID is something that's often done and, well, it's easy to mistype something with
more than 20 characters in it! Many libraries provide a shortcut of one form or
another, and Dojo gives you
dojo.byId. Though not
quite as spartan as Prototype's
$, it's still a huge
improvement. Once again, your call to the server will be invoked when the
validate method is called.
The power of CSS selectors
CSS selectors are a powerful tool in the web developer's toolbox, but as with JavaScript itself, browser support isn't universal. Luckily, today's libraries step into the void, giving us the full power of CSS selectors.
YUI and CSS selectors
YUI gives you the full power of CSS version 3 selectors with its
Selector utility. Essentially, you create a "query"
on a particular CSS selector, and you get back a collection of elements that
match that criterion. For example, see Listing 3.
Listing 3. CSS selectors with YUI
YAHOO.util.Event.onDOMReady(bindEvents); function bindEvents() { var headers = YAHOO.util.Selector.query('.header'); YAHOO.util.Event.on(headers, 'click', toggleSection); }
In this case, you're looking for any elements that have the header style, and
you then apply an event listener to each element returned (more on that in
the next section). As you can see, this is a compact and powerful way to
retrieve elements. In this code, the
toggleSection
method will be called whenever someone clicks an element with the header style.
Dojo and CSS selectors
Dojo has an equally powerful selector mechanism at its disposal. It also calls its implementation query and, as before, you give it a CSS selector and it gives you a collection (see Listing 4).
Listing 4. CSS selectors with Dojo
dojo.addOnLoad(bindEvents); function bindEvents() { dojo.query('.header').forEach( function(header) { dojo.connect(header, "click", toggleSection); }); }
You're given every element with the header style, and you then iterate over
that collection with the
forEach method,
applying an event listener to each element.
Event handling
In the era of unobtrusive JavaScript, event handling is
especially common. Alas, today's browsers aren't always up to the task, but library
designers have taken it upon themselves to simplify our lives once again. In the
previous section, you saw two ways of binding to the click event: YUI's
Event and Dojo's
connect.
In both cases, you're asking to be notified when an event occurs so that you can
take some action—in these examples, toggling a section (that is, hiding it
if visible or making it visible if it's hidden). You could have added event handlers
directly to your mark-up, but using an abstraction as you see here is much cleaner,
as it separates your business logic from your presentation, making for cleaner
mark-up and easier-to-understand code.
You can't attach an event to an element until the element is loaded—but how do you know when that happens? Dojo and YUI give you some helper methods for just this occasion! In YUI's case, you have:
YAHOO.util.Event.onDOMReady()
while Dojo gives you:
dojo.addOnLoad()
In either case, you can leverage these helpers to make sure your events attach when the document is ready. There are other ways of accomplishing this task, but few are as easy to understand as these.
Widgets: windows, date pickers, and more
The palette of the modern web design is pretty barren: You've got text boxes, text areas, buttons . . . and, well, not much else. Once again, when the browser lets you down, the library designer picks you up. Today, you have nearly everything available in a rich desktop application: You have date pickers, menus, trees, sliders, windows, and more. It's a veritable cornucopia! Let's take a look at a date picker in YUI and Dojo.
YUI's date picker
YUI provides a very rich set of controls and widgets that you can use to make
your applications pop. Entering dates by hand can be error prone, and most
users have come to expect some kind of control. YUI has a great date picker
that is in the
Calendar component (see Listing 5).
Listing 5. A date picker in YUI
var cal = new YAHOO.widget.Calendar("cal", "cal1Container", {navigator:true}); var bday = document.getElementById("bday"); YAHOO.util.Event.addListener(bday, "focus", renderCal); function handleSelect(type,args,obj) { var dates = args[0]; var date = dates[0]; var year = date[0], month = date[1], day = date[2]; bday.value = month + "/" + day + "/" + year; cal.hide(); } function renderCal() { cal.selectEvent.subscribe(handleSelect, cal, true); cal.render(); cal.show(); }
There's a fair amount going on here, but much of it you've seen before. You're
creating a calendar widget with your call to
YAHOO.widget.Calendar,
and you set up a listener on the birthday field, which causes the
calendar to appear when it receives focus. The
handleSelect
puts the value the user selects into the birthday field. This is just
the tip of the iceberg, though. The YUI calendar is very configurable, and it
also supports internationalization.
Dojo's date picker
Dojo also has a wealth of outstanding widgets—widgets that are designed to be accessible and support internationalization. In this case, take a look at Dojo's declarative programming style; instead of handcrafting several lines of JavaScript code, you can simply add:
dojoType="dijit.form.DateTextBox"
to the field you'd like to turn into a date picker. By adding the two lines from Listing 6, you've got yourself a calendar with almost no effort!
Listing 6. A date picker in Dojo
dojo.require("dojo.parser"); dojo.require("dijit.form.DateTextBox");
Getting help
Whichever library you prefer, at some point you'll need some help. YUI and Dojo each feature extensive online documentation from full-on tutorials to detailed, step-by-step examples. Each also has many books should you choose to have a physical artifact to paw through, and both have vibrant communities that are eager to answer questions. The best place to start is their respective websites (see Resources for links).
Conclusion
This article covered a lot of ground in a short space, and frankly, it only scratched the surface of what these two outstanding libraries have to offer. If you're not currently using something, I hope I've convinced you to try Dojo or YUI. Each has a passionate and well-deserved following, so play around and see how they can help you deliver a better experience to your users.
Resources
Learn
- Ajax: Tools of the trade: Discover more tools for JavaScript developers.
- "Developing widgets with Dojo 1.x" (developerWorks, April 2009): Learn the basics of developing HTML widgets using the Dojo JavaScript toolkit.
- "Create reusable and redistributable components with Dojo and Ajax" (developerWorks, June 2008): Use Dojo and Ajax to develop reusable components that can easily be integrated with core applications.
- "Weaving a better web page" (developerWorks, June 2009): Take a look at two frameworks for web page construction: Blueprint and the Yahoo! User Interface (YUI) Grid.
XMLHttpRequest: Learn more about the XHR object.
- Behavioral Separation: Learn more about the benefits of separating content, style, and behavior in web design and programming.
- YUI Library: Learn more about the Yahoo! UI Library.
- Dojo: Learn more about the Dojo Toolkit.
- developerWorks Web development zone: The Web development zone is packed with tools and information for web 2.0 development.
- IBM technical events and webcasts: Stay current with developerWorks' Technical events and webcasts.
Get products and technologies
-. | http://www.ibm.com/developerworks/web/library/wa-aj-smackdown/index.html | CC-MAIN-2014-42 | refinedweb | 2,611 | 54.83 |
The following is a detailed tutorial on how to detect and fix data races with the Thread Analyzer. The tutorial is divided into the following sections:
2.1 Tutorial Source Files
2.3 Understanding the Experiment Results
2.4 Diagnosing the Cause of a Data Race
This tutorial relies on two programs, both of which contain data races:
The first program finds prime numbers. It is written with C and is parallelized with OpenMP directives. The source file is called omp_prime.c.
The second program also finds prime number and is also written with C. However, it is parallelized with POSIX threads instead of OpenMP directives. The source file is called pthr_prime.c.
1 #include <stdio.h> 2 #include <math.h> 3 #include <omp.h> 4 5 #define THREADS 4 6 #define N 3000 7 8 int primes[N]; 9 int pflag[N]; 10 } 27 28 int main(int argn, char **argv) 29 { 30 int i; 31 int total = 0; 32 33 #ifdef _OPENMP 34 omp_set_num_threads(THREADS); 35 omp_set_dynamic(0); 36 #endif 37 38 for (i = 0; i < N; i++) { 39 pflag[i] = 1; 40 } 41 42 #pragma omp parallel for 43 for (i = 2; i < N; i++) { 44 if ( is_prime(i) ) { 45 primes[total] = i; 46 total++; 47 } 48 } 49 printf("Number of prime numbers between 2 and %d: %d\n", 50 N, total); 51 for (i = 0; i < total; i++) { 52 printf("%d\n", primes[i]); 53 } 54 55 return 0; 56 }
1 #include <stdio.h> 2 #include <math.h> 3 #include <pthread.h> 4 5 #define THREADS 4 6 #define N 3000 7 8 int primes[N]; 9 int pflag[N]; 10 int total = 0; 11 12 int is_prime(int v) 13 { 14 int i; 15 int bound = floor(sqrt ((double)v)) + 1; 16 17 for (i = 2; i < bound; i++) { 18 /* No need to check against known composites */ 19 if (!pflag[i]) 20 continue; 21 if (v % i == 0) { 22 pflag[v] = 0; 23 return 0; 24 } 25 } 26 return (v > 1); 27 } 28 29 void *work(void *arg) 30 { 31 int start; 32 int end; 33 int i; 34 35 start = (N/THREADS) * (*(int *)arg) ; 36 end = start + N/THREADS; 37 for (i = start; i < end; i++) { 38 if ( is_prime(i) ) { 39 primes[total] = i; 40 total++; 41 } 42 } 43 return NULL; 44 } 45 46 int main(int argn, char **argv) 47 { 48 int i; 49 pthread_t tids[THREADS-1]; 50 51 for (i = 0; i < N; i++) { 52 pflag[i] = 1; 53 } 54 55 for (i = 0; i < THREADS-1; i++) { 56 pthread_create(&tids[i], NULL, work, (void *)&i); 57 } 58 59 i = THREADS-1; 60 work((void *)&i); 61 62 printf("Number of prime numbers between 2 and %d: %d\n", 63 N, total); 64 for (i = 0; i < total; i++) { 65 printf("%d\n", primes[i]); 66 } 67 68 return 0; 69 }
As noted in the2.1.1 Complete Listing of omp_prime.c, the order of memory accesses is non-deterministic when code contains a race condition and the computation gives different results from run to run. Each execution of omp_prime.c produces incorrect and inconsistent results because of the data races in the code. An example of the output is shown below:
% cc -xopenmp=noopt omp_prime.c -lm % a.out | sort -n 0 0 0 0 0 0 0 Number of prime numbers between 2 and 3000: 336 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 ... 2971 2999 % a.out | sort -n 0 0 0 0 0 0 0 0 0 Number of prime numbers between 2 and 3000: 325 3 5 7 13 17 19 23 29 31 41 43 47 61 67 71 73 79 83 89 101 ... 2971 2999
Similarly, as a result of data-races in pthr_prime.c, different runs of the program may produce incorrect and inconsistent results as shown below.
% cc pthr_prime.c -lm -mt % a.out | sort -n Number of prime numbers between 2 and 3000: 304 751 757 761 769 773 787 797 809 811 821 823 827 829 839 853 857 859 863 877 881 ... 2999 2999 % a.out | sort -n Number of prime numbers between 2 and 3000: 314 751 757 761 769 773 787 797 809 811 821 823 827 839 853 859 877 881 883 907 911 ... 2999 2999
The Thread Analyzer follows the same "collect-analyze" model that the Sun Studio Performance Analyzer uses. There are three steps involved in using the Thread Analyzer:
2.2.1 Instrument the Source Code
2.2.2 Create a Data-Race Detection Experiment
2.2.3 Examine the Data-Race Detection Experiment
In order to enable data-race detection in a program, the source files must first be compiled with a special compiler option. This special option for the C, C++, and Fortran languages is: -xinstrument=datarace
Add the -xinstrument=datarace compiler option to the existing set of options you use to compile your program. You can apply the option to only the source files that you suspect to have data-races.
Be sure to specify -g when you compile your program. Do not specify a high level of optimization when compiling your program for race detection. Compile an OpenMP program with -xopenmp=noopt. The information reported, such as line numbers and callstacks, may be incorrect when a high optimization level is used.
The following are example commands for instrumenting the source code:
cc -xinstrument=datarace -g -mt pthr_prime.c
cc -xinstrument=datarace -g -xopenmp=noopt omp_prime.c
Use the collect command with the -r onflag to run the program and create a data-race-detection experiment during the execution of the process. For OpenMP programs, make sure that the number of threads used is larger than one. The following is an example command that creates a data-race experiment:
collect -r race./a.out
To increase the likelihood of detecting data-races, it is recommended that you create several data-race-detection experiments using collect with the -r race flag. Use a different number of threads and different input data in the different experiments.
You can examine a data-race-detection experiment with the Thread Analyzer, the Performance Analyzer, or the er_print utility. Both the Thread Analyzer and the Performance Analyzer present a GUI interface; the former presents a simplified set of default tabs, but is otherwise identical to the Performance Analyzer.
The Thread Analyzer GUI has a menu bar, a tool bar, and a split pane that contains tabs for the various displays. On the left-hand pane, the following three tabs are shown by default:
The Races tab shows a list of data-races detected in the program. This tab is selected by default.
The Dual Source tab shows the two source locations corresponding to the two accesses of a selected data-race. The source line where a data-race access occurred is highlighted.
The Experiments tab shows the load objects in the experiment, and lists error and warning messages.
On the right-hand pane of the Thread Analyzer display, the following two tabs are shown:
The Summary tab shows summary information about a data-race access selected from the Races tab.
The Race Details tab shows detailed information about a data-race trace selected from the Races tab.
The er_print utility, on the other hand, presents a command-line interface. The following subcommands are useful for examining races with the er_print utility:
-races: This reports any data races revealed in the experiment.
-rdetail race_id: This displays detailed information about the data-race with the specified race_id. If the specified race_id is "all", then detailed information about all data-races will be displayed.
-header: This displays descriptive information about the experiment, and reports any errors or warnings.
Refer to the collect.1, tha.1, analyzer.1, and er_print.1 man pages for more information.
This section shows how to use both the er_print command line and the Thread Analyzer GUI to display the following information about each detected data-race:
The unique ID of the data-race.
The virtual address,
Vaddr, associated
with the data-race. If there is more than one virtual address, then the label
Multiple Addresses is displayed in parentheses .
The memory accesses to the virtual address,
Vaddr by
two different threads. The type of the access (read or write) is shown, as
well as the function, offset, and line number in the source code where the
access occurred.
The total number of traces associated with the data-race. Each trace refers to the pair of thread callstacks at the time the two data-race accesses occurred. If you are using the GUI, the two callstacks will be displayed in the Race Details tab when an individual trace is selected. If you are using the er_print utility, the two callstacks will be displayed by the rdetail command.
% cc -xopenmp=noopt omp_prime.c -lm -xinstrument=datarace % collect -r race a.out | sort -n 0 0 0 0 0 0 0 0 0 0 ... 0 0 Creating experiment database test.1.er ... Number of prime numbers between 2 and 3000: 429 2 3 5 7 11 13 17 19 23 29 31 37 41 47 53 59 61 67 71 73 ... 2971 2999 % er_print test.1.er (er_print) races Total Races: 4 Experiment: test.1.er Race #1, Vaddr: 0xffbfeec4 Access 1: Read, main -- MP doall from line 42 [_$d1A42.main] + 0x00000060, line 45 in "omp_prime.c" Access 2: Write, main -- MP doall from line 42 [_$d1A42.main] + 0x0000008C, line 46 in "omp_prime.c" Total Traces: 2 Race #2, Vaddr: 0xffbfeec4 Access 1: Write, main -- MP doall from line 42 [_$d1A42.main] + 0x0000008C, line 46 in "omp_prime.c" Access 2: Write, main -- MP doall from line 42 [_$d1A42.main] + 0x0000008C, line 46 in "omp_prime.c" Total Traces: 1 Race #3, Vaddr: (Multiple Addresses) Access 1: Write, main -- MP doall from line 42 [_$d1A42.main] + 0x0000007C, line 45 in "omp_prime.c" Access 2: Write, main -- MP doall from line 42 [_$d1A42.main] + 0x0000007C, line 45 in "omp_prime.c" Total Traces: 1 Race #4, Vaddr: 0x21418 Access 1: Read, is_prime + 0x00000074, line 18 in "omp_prime.c" Access 2: Write, is_prime + 0x00000114, line 21 in "omp_prime.c" Total Traces: 1 (er_print)
The following screen-shot shows the races that were detected in omp_primes.c as displayed by the Thread Analyzer GUI. The command to invoke the GUI and load the experiment data is tha test.1.er.
There are four data-races in omp_primes.c:
Race number one: A data-race between a read from total on line 45 and a write to total on line 46.
Race number two: A data-race between a write to total on line 46 and another write to total on the same line.
Race number three: A data-race between a write to
primes[] on line 45 and another write to
primes[] on
the same line.
Race number four: A data-race between a read from
pflag[] on line 18 and a write to
pflag[] on
line 21.
% cc pthr_prime.c -lm -mt -xinstrument=datarace . % collect -r on a.out | sort -n Creating experiment database test.2.er ... of type "nfs", which may distort the measured performance. 0 0 0 0 0 0 0 0 0 0 ... 0 0 Creating experiment database test.2.er ... Number of prime numbers between 2 and 3000: 328 751 757 761 773 797 809 811 821 823 827 829 839 853 857 859 877 881 883 887 907 ... 2999 2999 % er_print test.2.er (er_print) races Total Races: 6 Experiment: test.2.er Race #1, Vaddr: 0x218d0 Access 1: Write, work + 0x00000154, line 40 in "pthr_prime.c" Access 2: Write, work + 0x00000154, line 40 in "pthr_prime.c" Total Traces: 3 Race #2, Vaddr: 0x218d0 Access 1: Read, work + 0x000000CC, line 39 in "pthr_prime.c" Access 2: Write, work + 0x00000154, line 40 in "pthr_prime.c" Total Traces: 3 Race #3, Vaddr: 0xffbfeec4 Access 1: Write, main + 0x00000204, line 55 in "pthr_prime.c" Access 2: Read, work + 0x00000024, line 35 in "pthr_prime.c" Total Traces: 2 Race #4, Vaddr: (Multiple Addresses) Access 1: Write, work + 0x00000108, line 39 in "pthr_prime.c" Access 2: Write, work + 0x00000108, line 39 in "pthr_prime.c" Total Traces: 1 Race #5, Vaddr: 0x23bfc Access 1: Write, is_prime + 0x00000210, line 22 in "pthr_prime.c" Access 2: Write, is_prime + 0x00000210, line 22 in "pthr_prime.c" Total Traces: 1 Race #6, Vaddr: 0x247bc Access 1: Write, work + 0x00000108, line 39 in "pthr_prime.c" Access 2: Read, main + 0x00000394, line 65 in "pthr_prime.c" Total Traces: 1 (er_print)
The following screen-shot shows the races detected in pthr_primes.c as displayed by the Thread Analyzer GUI. The command to invoke the GUI and load the experiment data is tha test.2.er.
There are six data-races in pthr_prime.c:
Race number one: A data-race between a write to total on line 40 and another write to total on the same line.
Race number two: A data-race between a read from total on line 39 and a write to total on line 40.
Race number three: A data-race between a write to i on line 55 and a read from i on line 35.
Race number four: A data-race between a write to
primes[] on line 39 and another write to
primes[] the
same line.
Race number five: A data-race between a write to
pflag[] on line 22 and another write to
pflag[] on
the same line
Race number six: A data-race between a write to
primes[] on line 39 and a read from
primes[] on
line 65.
One advantage of the GUI is that it allows you to see, side by side, the two source locations associated with a data-race. For example, select race number six for pthr_prime.c in the Races tab and then click on the Dual Source tab. You will see the following:
The first access for race number six (line 39) is shown in the top Race Source pane, while the second access for that data-race is shown in the bottom pane. Source lines 39 and 65, where the data-race accesses occurred, are highlighted. The default metric (Exclusive Race Accesses metric) is shown to the left of each source line. This metric gives a count of the number of times a data-race access was reported on that line.
This section provides a basic strategy to diagnosing the cause of data races.
A false positive data-race is a data-race that is reported by the Thread Analyzer, but has actually not occurred. The Thread Analyzer tries to reduce the number of false positives reported. However, there are cases where the tool is not able to do a precise job and may report false positive data-races.
You can ignore a false-positive data-race because it is not a genuine data-race and, therefore, does not affect the behavior of the program.
See 2.5 False Positives for some examples of false positive data-races. For information on how to remove false positive data-races from the report, see A.1 The Thread-Analyzer's User-APIs.
A benign data-race is an intentional data-race whose existence does not affect the correctness of the program.
Some multi-threaded applications intentionally use code that may cause data-races. Since the data-races are there by design, no fix is required. In some cases, however, it is quite tricky to get such codes to run correctly. These data-races should be reviewed carefully.
See 2.5 False Positives for more detailed information about benign races.
The Thread Analyzer can help find data-races in the program, but it cannot automatically find bugs in the program nor suggest ways to fix the data-races found. A data-race may have been introduced by a bug. It is important to find and fix the bug. Merely removing the data-race is not the right approach, and could make further debugging even more difficult. Fix the bug, not the data-race.
Here's how to fix the bug in omp_prime.c. See 2.1.1 Complete Listing of omp_prime.c for a complete file listing.
Move lines 45 and 46 into a critical section in order to remove the data-race between the read from total on line 45 and the write to total on line 46. The critical section protects the two lines and prevents the data-race. Here is the corrected code:
42 #pragma omp parallel for . 43 for (i = 2; i < N; i++) { 44 if ( is_prime(i) ) { #pragma omp critical { 45 primes[total] = i; 46 total++; } 47 } 48 }
Note that the addition of a single critical section also fixes two other
data races in omp_prime.c. It fixes the data-race on
prime[] at line 45, as well as the data-race on total at
line 46. The fourth data-race, between a read from
pflag[] from
line 18 and a write to
pflag[] from line 21, is actually
a benign race because it does not lead to incorrect results. It is not essential
to fix benign data-races.
You could also move lines 45 and 46 into a critical section as follows, but this change fails to correct the program:
42 #pragma omp parallel for . 43 for (i = 2; i < N; i++) { 44 if ( is_prime(i) ) { #pragma omp critical { 45 primes[total] = i; } #pragma omp critical { 46 total++; } 47 } 48 }
The critical sections around lines 45 and 46 get rid of the data-race
because the threads are not using any exclusive locks to control their accesses
to total. The critical section around line 46 ensures that
the computed value of total is correct. However, the program
is still incorrect. Two threads may update the same element of
primes[] using the same value of total. Moreover,
some elements in
primes[] may not be assigned a value
at all.
Here's how to fix the bug in pthr_prime.c. See 2.1.2 Complete Listing of pthr_prime.c for a complete file listing.
Use a single mutex to remove the data-race in pthr_prime.c between
the read from total on line 39 and the write to total on line 40. This addition also fixes two other data races in pthr_prime.c: the data-race on
prime[] at
line 39, as well as the data-race on total at line 40.
The data-race between the write to i on line 55 and
the read from i on line 35 and the data-race on
pflag[] on line 22, reveal a problem in the shared-access to the variable i by different threads. The initial thread in pthr_prime.c creates
the child threads in a loop (source lines 55-57), and dispatches them to work
on the function work(). The loop index i is
passed to work() by address. Since all threads access the
same memory location for i, the value of i for
each thread will not remain unique, but will change as the initial thread
increments the loop index. As different threads use the same value of i,
the data-races occur.
One way to fix the problem is to pass i to work() by value. This ensures that each thread has its own private copy
of i with a unique value. To remove the data-race on
primes[] between the write access on line 39 and the read access
on line 65, we can protect line 65 with the same mutex lock as the one used
above for lines 39 and 40. However, this is not the correct fix. The real
problem is that the main thread may report the result (lines 50 through 53)
while the child threads are still updating total and
primes[] in function work(). Using mutex locks
does not provide the proper ordering synchronization between the threads.
One correct fix is to let the main thread wait for all child threads to join
it before printing out the results.
Here is the corrected version of pthr_prime.c:
1 #include <stdio.h> 2 #include <math.h> 3 #include <pthread.h> 4 5 #define THREADS 4 6 #define N 3000 7 8 int primes[N]; 9 int pflag[N]; 10 int total = 0; 11 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; 12 13 int is_prime(int v) 14 { 15 int i; 16 int bound = floor(sqrt(v)) + 1; 17 18 for (i = 2; i < bound; i++) { 19 /* no need to check against known composites */ 20 if (!pflag[i]) 21 continue; 22 if (v % i == 0) { 23 pflag[v] = 0; 24 return 0; 25 } 26 } 27 return (v > 1); 28 } 29 30 void *work(void *arg) 31 { 32 int start; 33 int end; 34 int i; 35 36 start = (N/THREADS) * ((int)arg) ; 37 end = start + N/THREADS; 38 for (i = start; i < end; i++) { 39 if ( is_prime(i) ) { 40 pthread_mutex_lock(&mutex); 41 primes[total] = i; 42 total++; 43 pthread_mutex_unlock(&mutex); 44 } 45 } 46 return NULL; 47 } 48 49 int main(int argn, char **argv) 50 { 51 int i; 52 pthread_t tids[THREADS-1]; 53 54 for (i = 0; i < N; i++) { 55 pflag[i] = 1; 56 } 57 58 for (i = 0; i < THREADS-1; i++) { 59 pthread_create(&tids[i], NULL, work, (void *)i); 60 } 61 62 i = THREADS-1; 63 work((void *)i); 64 65 for (i = 0; i < THREADS-1; i++) { 66 pthread_join(tids[i], NULL); 67 } 68 69 printf("Number of prime numbers between 2 and %d: %d\n", 70 N, total); 71 for (i = 0; i < total; i++) { 72 printf("%d\n", primes[i]); 73 } 74 }
Occasionally, the Thread Analyzer may report data-races that have not actually occurred in the program. These are called false positives. In most cases, false positives are caused by 2.5.1 User-Defined Synchronizations or 2.5.2 Memory That is Recycled by Different Threads.
The Thread Analyzer can recognize most standard synchronization APIs and constructs provided by OpenMP, POSIX threads, and Solaris threads. However, the tool cannot recognize user-defined synchronizations, and may report false data-races if your code contains such synchronizations. For example, the tool cannot recognize implementation of locks using CAS instructions, post and wait operations using busy-waits, etc. Here is a typical example of a class of false positives where the program employs a common way of using POSIX thread condition variables:
/* Initially ready_flag is 0 */ /* Thread 1: Producer */ 100 data = ... 101 pthread_mutex_lock (&mutex); 102 ready_flag = 1; 103 pthread_cond_signal (&cond); 104 pthread_mutex_unlock (&mutex); ... /* Thread 2: Consumer */ 200 pthread_mutex_lock (&mutex); 201 while (!ready_flag) { 202 pthread_cond_wait (&cond, &mutex); 203 } 204 pthread_mutex_unlock (&mutex); 205 ... = data;
The pthread_cond_wait() call is usually made within a loop that tests the predicate to protect against program errors and spurious wake-ups. The test and set of the predicate is often protected by a mutex lock. In the above code, Thread 1 produces the value for the variable data at line 100, sets the value of ready_flag to one at line 102 to indicate that the data has been produced, and then calls pthread_cond_signal() to wake up the consumer thread, Thread 2. Thread 2 tests the predicate (!ready_flag) in a loop. When it finds that the flag is set, it consumes the data at line 205.
The write of ready_flag at line 102 and read of ready_flag at line 201 are protected by the same mutex lock, so there is no data-race between the two accesses and the tool recognizes that correctly.
The write of data at line 100 and the read of data at line 205 are not protected by mutex locks. However, in the program logic, the read at line 205 always happens after the write at line 100 because of the flag variable ready_flag. Consequently, there is no data-race between these two accesses to data. However, the tool reports that there is a data-race between the two accesses if the call to pthread_cond_wait() (line 202) is actually not called at run time. If line 102 is executed before line 201 is ever executed, then when line 201 is executed, the loop entry test fails and line 202 is skipped. The tool monitors pthread_cond_signal() calls and pthread_cond_wait() calls and can pair them to derive synchronization. When the pthread_cond_wait() at line 202 is not called, the tool does not know that the write at line 100 is always executed before the read at line 205. Therefore, it considers them as executed concurrently and reports a data-race between them.
In order to avoid reporting this kind of false positive data-race, the Thread Analyzer provides a set of APIs that can be used to notify the tool when user-defined synchronizations are performed. See A.1 The Thread-Analyzer's User-APIs for more information.
Some memory management routines recycle memory that is freed by one thread for use by another thread. The Thread Analyzer is sometimes not able to recognize that the life span of the same memory location used by different threads do not overlap. When this happens, the tool may report a false positive data-race. The following example illustrates this kind of false positive.
/*----------*/ /*----------*/ /* Thread 1 */ /* Thread 2 */ /*----------*/ /*----------*/ ptr1 = mymalloc(sizeof(data_t)); ptr1->data = ... ... myfree(ptr1); ptr2 = mymalloc(sizeof(data_t)); ptr2->data = ... ... myfree(ptr2);
Thread 1 and Thread 2 execute concurrently. Each thread allocates a chunk of memory that is used as its private memory. The routine mymalloc() may supply the memory freed by a previous call tomyfree(). If Thread 2 calls mymalloc() before Thread 1 calls myfree(), then ptr1 and ptr2 get different values and there is no data-race between the two threads. However, if Thread 2 calls mymalloc() after Thread 1 calls myfree(), then ptr1 and ptr2 may have the same value. There is no data-race because Thread 1 no longer accesses that memory. However, if the tool does not know mymalloc() is recycling memory, it reports a data-race between the write of ptr1 data and the write of ptr2 data. This kind of false positive often happens in C++ applications when the C++ runtime library recycles memory for temporary variables. It also often happens in user applications that implement their own memory management routines. Currently, the Thread Analyzer is able to recognize memory allocation and free operations performed with the standard malloc(), calloc(), and realloc() interfaces.
Some multi-threaded applications intentionally allow data-races in order to get better performance. A benign data-race is an intentional data-race whose existence does not affect the correctness of the program. The following examples demonstrate benign data races.
In addition to benign data-races, a large class of applications allow data-races because they rely on lock-free and wait-free algorithms which are difficult to design correctly. The Thread Analyzer can help determine the locations of data-races in these applications.
The threads in the following file, omp_prime.c check whether an integer is a prime number by executing the function is_prime(). }
The Thread Analyzer reports that there is a data-race between the write
to
pflag[] on line 21 and the read of
pflag[] on line 18. However, this data-race is benign as it does not
affect the correctness of the final result. At line 18, a thread checks whether
or not
pflag[i], for a given value of i is
equal to zero. If
pflag[i] is equal to zero, that
means that i is a known composite number (in other words, i is known to be non-prime). Consequently, there is no need to check
whether v is divisible by i; we only
need to check whether or not v is divisible by some prime
number. Therefore, if
pflag[i] is equal to zero,
the thread continues to the next value of i. If
pflag[i] is not equal to zero and v is divisible by i, the thread assigns zero to
pflag[v] to
indicate that v is not a prime number.
It does not matter, from a correctness point of view, if multiple threads
check the same
pflag[] element and write to it concurrently.
The initial value of a
pflag[] element is one. When
the threads update that element, they assign it the value zero. That is, the
threads store zero in the same bit in the same byte of memory for that element.
On current architectures, it is safe to assume that those stores are atomic.
This means that, when that element is read by a thread, the value read is
either one or zero. If a thread checks a given
pflag[] element
(line 18) before it has been assigned the value zero, it then executes lines
20-23. If, in the meantime, another thread assigns zero to that same
pflag[] element (line 21), the final result is not changed. Essentially,
this means that the first thread executed lines 20-23 unnecessarily.
A group of threads call check_bad_array() concurrently to check whether any element of array data_array is corrupt. Each thread checks a different section of the array. If a thread finds that an element is corrupt, it sets the value of a global shared variable is_bad to true.
20 volatile int is_bad = 0; ... 100 /* 101 * Each thread checks its assigned portion of data_array, and sets 102 * the global flag is_bad to 1 once it finds a bad data element. 103 */ 104 void check_bad_array(volatile data_t *data_array, unsigned int thread_id) 105 { 106 int i; 107 for (i=my_start(thread_id); i<my_end(thread_id); i++) { 108 if (is_bad) 109 return; 110 else { 111 if (is_bad_element(data_array[i])) { 112 is_bad = 1; 113 return; 114 } 115 } 116 } 117 }
There is a data-race between the read of is_bad on line 108 and the write to is_bad on line 112. However, the data-race does not affect the correctness of the final result.
The initial value of is_bad is zero. When the threads update is_bad, they assign it the value one. That is, the threads store one in the same bit in the same byte of memory for is_bad. On current architectures, it is safe to assume that those stores are atomic. Therefore, when is_bad is read by a thread, the value read will either be zero or one. If a thread checks is_bad (line 108) before it has been assigned the value one, then it continues executing the for loop. If, in the meantime, another thread has assigned the value one to is_bad (line 112), that does not change the final result. It just means that the thread executed the for loop longer than necessary.
A singleton ensures that only one object of a certain type exists throughout the program. Double-checked locking is a common, efficient way to initialize a singleton in multi-threaded applications. The following code illustrates such an implementation.
100 class Singleton { 101 public: 102 static Singleton* instance(); 103 ... 104 private: 105 static Singleton* ptr_instance; 106 }; ... 200 Singleton* Singleton::ptr_instance = 0; ... 300 Singleton* Singleton::instance() { 301 Singleton *tmp = ptr_instance; 302 memory_barrier(); 303 if (tmp == NULL) { 304 Lock(); 305 if (ptr_instance == NULL) { 306 tmp = new Singleton; 307 memory_barrier(); 308 ptr_instance = tmp; 309 } 310 Unlock(); 311 } 312 return tmp; 313 }
The read of ptr_instance (line 301) is intentionally not protected by a lock. This makes the check to determine whether or not the singleton has already been instantiated in a multi-threaded environment efficient. Notice that there is a data-race on variable ptr_instance between the read on line 301 and the write on line 308, but the program works correctly. However, writing a correct program that allows data-races is a difficult task. For example, in the above double-checked-locking code, the calls to memory_barrier() at lines 302 and 307 are used to ensure that the singleton and ptr_instance are set, and read, in the proper order. Consequently, all threads read them consistently. This programming technique will not work if the memory barriers are not used. | http://docs.oracle.com/cd/E19205-01/820-0619/gdvwv/index.html | CC-MAIN-2017-04 | refinedweb | 5,329 | 71.55 |
Back in February and last week, I touched upon using ViewState[propertyName] to maintain state in ASP.NET Forms. When it comes to using ViewState, I find myself writing very repetitive code.
The following example isn't too bad:
1: protected string Composition
2: {
3: get { return ViewState["Composition"] as string; }
4: set { ViewState["Composition"] = value; }
5: }
However when you start dealing with value types, it gets more painful:
1: protected int Level
3: get
4: {
5: object x = ViewState["Level"];
6: if (x == null)
7: {
8: return 0;
9: }
10: else
11: {
12: return (int)x;
13: }
14: }
15: set { ViewState["Level"] = value; }
16: }
Even the above can be simplified though to this:
3: get { return (int?)ViewState["Level"] ?? 0; }
4: set { ViewState["Level"] = value; }
However, let's add value caching, and "on changed" code:
1: private bool _gotLevel = false;
2: private int _cachedLevel = 0;
3: protected int Level
4: {
5: get
6: {
7: if (!_gotLevel)
8: {
9: _cachedLevel = (int?)ViewState["Level"] ?? _cachedLevel;
10: _gotLevel = true;
11: }
12: return _cachedLevel;
13: }
14: set
15: {
16: int prevValue = Level;
17: ViewState["Level"] = _cachedLevel = value;
18: _gotLevel = true;
19: if (prevValue != Level)
20: {
21: //
22: // Do something clever
23: //
24: }
25: }
26: }
Repeat this a few times, and you start looking for something simpler!
What I would like to have is something like this: (This does not work)
1: StatefulHelper<int> _Level = new StatefulHelper<int>( ViewState, "Level", new StatefulHelper<int>.ChangedEvent(OnChanged));
2: protected int Level
3: {
4: get { return _Level.Get(); }
5: set { _Level.Set(value); }
6: }
There are two fundamental problems to realizing the above -
The following however is valid C#:
1: StatefulHelper<int> _Level = new StatefulHelper<int>("Level");
4: get { return _Level.Get(ViewState); }
5: set { _Level.Set(ViewState, new StatefulHelper<int>.ChangedEvent(OnChanged), value); }
With C# 3, the lambda operator is better still:
5: set { _Level.Set(ViewState, x => OnChanged(x), value); }
Now extend this further to address a "call some code if never previously initialized" scenario:
StatefulHelper<int> _Level = new StatefulHelper<int>("Level");
protected int Level
{
get { return _Level.Get(ViewState, () => OnInit()); }
set { _Level.Set(ViewState, x => OnChanged(x), value); }
}
Is still more readable and maintainable. Note that so far, I've not written one line of implementation of StatefulHelper. I'm more concerned with how I'm going to use the new class than I am about how the class is implemented. To demonstrate this, here is code I had to write for StatefulHelper to ensure I could compile the above examples:
1: public class StatefulHelper<T>
2: {
3: public delegate void ChangedEvent(T v);
4: public delegate T InitializeEvent();
5:
6: public StatefulHelper(string key)
7: {
8: }
9:
10: public T Get(StateBag bag)
11: {
12: return default(T);
13: }
14:
15: public T Get(StateBag bag, InitializeEvent init)
16: {
17: return default(T);
18: }
19:
20: public void Set(StateBag bag, T v)
21: {
22: }
23:
24: public void Set(StateBag bag, ChangedEvent changed, T v)
25: {
27: }
Why did I write my use cases first? I've found that in general, concentrating on the use case first results in more efficient code. In the cases that didn't work, I could have spent a lot of wasted time writing the code for the StatefulHelper class. Now we know how we plan to use this new class, we can go back to filling out the implementation of StatefulHelper. I've added some additional use cases too:
1: /// <summary>
2: /// Abstract out most common ViewState activities for
3: /// a single property.
4: /// </summary>
5: public class StatefulHelper<T>
6: {
7: public delegate void ChangedEvent(T v);
8: public delegate T InitializeEvent();
9: private bool _GotValue = false;
10: private T _CachedValue = default(T);
11: private T _DefaultValue = default(T);
12: private string _Key;
13:
14: /// <summary>
15: /// Construct instance of StatefulHelper
16: /// specifying a StateBag key.
17: /// StateBag cannot be passed in at this
18: /// time.
19: /// </summary>
20: /// <param name="key"></param>
21: public StatefulHelper(string key)
22: {
23: _Key = key;
24: }
25:
26: /// <summary>
27: /// Alternative Constructor to specify
28: /// default value.
29: /// </summary>
30: /// <param name="key"></param>
31: public StatefulHelper(string key, T defaultValue)
32: {
33: _Key = key;
34: _DefaultValue = defaultValue;
35: }
36:
37: /// <summary>
38: /// Trivial get case. This is just a
39: /// wrapper around a common accessor.
40: /// </summary>
41: /// <param name="bag">Control's ViewState</param>
42: /// <returns>Fetched or default value</returns>
43: public T Get(StateBag bag)
44: {
45: return Get(bag, null);
46: }
47:
48: /// <summary>
49: /// Generic get case. If bag[key] is null
50: /// (typically signifying value does not exist)
51: /// then init() is called to perform any logic
52: /// to retrieve an initial value.
53: /// </summary>
54: /// <param name="bag">Control's ViewState</param>
55: /// <param name="initEvent">Initializing delegate</param>
56: /// <returns>Fetched or default value</returns>
57: public T Get(StateBag bag, InitializeEvent initEvent)
58: {
59: if (!_GotValue)
60: {
61: object x = bag[_Key];
62: if (x != null)
63: {
64: // Value exists
65: _CachedValue = (T)x;
66: }
67: else if (initEvent != null)
68: {
69: // Call initializer
70: _CachedValue = initEvent();
71: }
72: else
73: {
74: // Use constant
75: _CachedValue = _DefaultValue;
76: }
77: _GotValue = true;
78: }
79: return _CachedValue;
80: }
81:
82: /// <summary>
83: /// Trivial set case.
84: /// </summary>
85: /// <param name="bag">Control's ViewState</param>
86: /// <param name="value">Value to assign</param>
87: public void Set(StateBag bag, T value)
88: {
89: bag[_Key] = value;
90: _CachedValue = value;
91: _GotValue = true;
92: }
93:
94: /// <summary>
95: /// Generic set case with changedEvent callback.
96: /// </summary>
97: /// <param name="bag">Control's ViewState</param>
98: /// <param name="changedEvent">Callback if value has changed</param>
99: /// <param name="value">Value to assign</param>
100: public void Set(StateBag bag, ChangedEvent changedEvent, T value)
101: {
102: // Retrieve copy of existing value
103: object x = bag[_Key];
104: // Box new value
105: object y = value;
106: // Perform trivial set
107: Set(bag, value);
108: // Degenerate case if null passed as delegate
109: if (changedEvent == null)
110: {
111: return;
112: }
113: // perform callback if needed
114: if (x != null && y != null)
115: {
116: //
117: // Both contain non-null values
118: // If they are not equal, they are not the same
119: //
120: if(!Object.Equals(x, y))
121: {
122: changedEvent(value);
123: }
124: }
125: else if (x != null || y != null)
126: {
127: //
128: // If either is non-null, then they are not the same
129: //
130: changedEvent(value);
131: }
132: //
133: // Both null case, they are the same
134: //
135: }
136: }
Finally an example of use is below:
1: StatefulHelper<DateTime> _Date = new StatefulHelper<DateTime>("Date", DateTime.UtcNow);
2: public DateTime Date
4: get { return _Date.Get(ViewState); }
5: set { _Date.Set(ViewState, value); }
7:
8: StatefulHelper<string> _Text = new StatefulHelper<string>("Text");
9: public string Text
10: {
11: get { return _Text.Get(ViewState, () => Date.ToString()); }
12: set { _Text.Set(ViewState, value); }
These examples all make use of the ViewState StateBag object. There is another technique for saving and restoring View State that does not use the ViewState StateBox. I'll go into that in the next blog.
-! | http://it.toolbox.com/blogs/codesharp/viewstate-writing-more-code-to-write-less-code-26414 | crawl-002 | refinedweb | 1,183 | 57.3 |
1 /* -*- tab-width: 4; -*-2 3 This software is OSI Certified Open Source Software.4 OSI Certified is a certification mark of the Open Source Initiative.5 6 The license (Mozilla version 1.0) can be read at the MMBase site.7 See 9 */10 11 package org.mmbase.applications.community.modules;12 13 import java.util.Date ;14 15 /**16 * Creates a timestamp value out of two integer values.17 * Supposedly needed because the Informix setup had no configuration18 * for long values (in which the timestamps are expressed), which19 * means they need be store as two integers instead.20 * @deprecated Do not use this class. Store timestamps as Long or Date instead.21 *22 * @author Dirk-Jan Hoekstra23 * @author Pierre van Rooden24 * @version $Id: TimeStamp.java,v 1.8 2005/01/30 16:46:35 nico Exp $25 */26 27 public class TimeStamp extends Date 28 {29 30 /**31 * the 16 least significant bits of the timestamp value32 */33 private int low = 0;34 /**35 * the 16 most significant bits of the timestamp value36 */37 private int high = 0;38 39 /**40 * Creates a TimeStamp based on the current time.41 */42 public TimeStamp()43 { /* POST: Creates a TimeStamp with the current time.44 */ 45 this(System.currentTimeMillis());46 }47 48 /**49 * Creates a TimeStamp based on a specified time.50 * @param time the time in milliseconds since 1/1/197051 */52 public TimeStamp(long time)53 {54 setTime(time);55 low = (int)(time & 0xFFFFFFFFL); 56 high = (int)(time >>> 32);57 }58 59 /**60 * Creates a TimeStamp based on a specified time.61 * @param low the 16 least significant bits of a time value (a long62 * representing milliseconds since 1/1/197063 * @param high the 16 most significant bits of the time value64 */65 public TimeStamp(Integer low, Integer high)66 {67 this(); // Create this with currenttime68 if ((low!=null) && (high!=null))69 setTimeLowHigh(low.intValue(), high.intValue());70 }71 72 public TimeStamp(int low, int high)73 {74 setTimeLowHigh(low, high);75 }76 77 /**78 * Creates a TimeStamp based on a specified time.79 * @param low the 16 least significant bits of a time value (a long80 * representing milliseconds since 1/1/197081 * @param high the 16 most significant bits of the time value82 */83 private void setTimeLowHigh(int low, int high) 84 { /* PRE: Low has to contain the 16 least significant bits and high the 16 most significant bits of a long value.85 * The long value is interpeted as the milliseconds passed since January 1, 1970, 00:00:00 GMT.\86 * POST: Take the two int values together and merge them into a long value.87 */88 89 long highlong = high;90 highlong <<= 32;91 long time;92 if (low<0) { // sign bit is up93 long lowlong = low;94 lowlong &= 0xFFFFFFFFL;95 time = highlong + lowlong;96 }97 else {98 time = highlong + low;99 }100 setTime(time);101 }102 103 /**104 * Retrieve the 16 least significant bits of a time value (a long105 * representing milliseconds since 1/1/1970.106 */107 public int lowIntegerValue()108 {109 return low;110 }111 112 /**113 * Retrieve the 16 most significant bits of a time value (a long114 * representing milliseconds since 1/1/1970.115 */116 public int highIntegerValue()117 { 118 return high;119 }120 }121
Java API By Example, From Geeks To Geeks. | Our Blog | Conditions of Use | About Us_ | | http://kickjava.com/src/org/mmbase/applications/community/modules/TimeStamp.java.htm | CC-MAIN-2017-04 | refinedweb | 560 | 60.65 |
An integer is a whole number, a number with no fractional or decimal portion.
Java defines four integer types: byte, short, int, and long.
All of these are signed, positive and negative values.
Java does not support unsigned, positive-only integers.
The width and ranges of these integer types vary widely, as shown in this table:
The most commonly used integer type is int. This type uses 4 bytes to store an integer value that can range from about negative 2 billion to positive 2 billion.
long is a 64-bit integer that can hold numbers ranging from about negative 9,000 trillion to positive 9,000 trillion.
In some cases, you may not need integers as large as the standard int type provides. For those cases, Java provides two smaller integer types: byte and short.
The short type represents a two-byte integer, which can hold numbers from -32,768 to +32,767, and the byte type defines a single-byte integer that can range from -128 to +127.
We should stick to int and long most of the time. Also, use long only when you know that you're dealing with numbers too large for int.
In Java, the size of integer data types is specified by the language and is the same regardless of what computer a program runs on.
Java allows you to promote an integer type to a larger integer type. Java allows the following, for example:
int xInt; long yLong; xInt = 32; yLong = xInt;
Here you can assign the value of the xInt variable to the *yLong variable because yLong is larger than xInt. Java does not allow the converse, however:
int xInt; long yLong; yLong = 32; xInt = yLong;
The value of the yLong variable cannot be assigned to the xInt because xInt is smaller than yLong.
Because this assignment may result in a loss of data, Java doesn't allow it.
If you need to assign a long to an int variable, you must use explicit casting.
You can include underscores to make longer numbers easier to read.
Thus, the following statements both assign the same value to the variables xLong1 and xLong2:
long xLong1 = 12345678; long xLong2 = 12_345_678;
The smallest integer type use of the byte keyword. For example, the following declares two byte variables called b and c:
byte b, c;
short is a signed 16-bit type.
It has a range.
The variables of type int are commonly employed to control loops and to index arrays.
When byte and short values are used in an expression, they are promoted to int when the expression is evaluated.
Therefore, int is often the best choice when an integer is needed.
long is a signed 64-bit type and is useful for those occasions where an int type is not large enough to hold the desired value.
For example, here is a program that computes the number of miles that light will travel in a specified number of days:
// Compute distance light travels using long variables. public class Main { public static void main(String args[]) { int lightspeed; long days;/*from w w w . d e m o 2 s. c o m*/ long seconds; long distance; // approximate speed of light in miles per second lightspeed = 186000; days = 10000; //000000000 miles.
Clearly, the result could not have been held in an int variable.PreviousNext | https://www.demo2s.com/java/java-integer-types.html | CC-MAIN-2021-39 | refinedweb | 560 | 70.53 |
How to call an api with nodemcu from this wesite:http: (//davidayala.eu/current-time/)? Answered
The website above offers free Timezone APIs. I have been trying to request the API with my esp8266 NodeMCU, but still, i get no response. Can anyone please demonstrate to me with a code sample how it's supposed to be done? I will be posting my code soon.
The following is my code (In arduino IDE) for my NodeMCU
#include <ESP8266WiFi.h>
String result;
char host[]="script.google.com";
WiFiClient client;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
WiFi.begin("Faiz", "hautepackard");
while(WiFi.status() != WL_CONNECTED){
Serial.print(".");
delay(500);
}
Serial.println("Connected!");
Serial.println(WiFi.localIP());
}
void loop() {
Time();
delay(3000);
}
String url = "/macros/s/AKfycbyd5AcbAnWi2Yn0xhFRbyzS4qMq1VucMVgVvhul5XqS9HkAyJY/exec";
void Time(){
if (client.connect(host, 443)) { //starts client connection, checks for connection
client.print(String("GET ") + url + " HTTP/1.1\r\n" +
"Host: " + host + "\r\n" +
"Connection: close\r\n\r\n");
Serial.println("Server is accessible");
} else {
Serial.println("connection failed"); //error message if no client connect
Serial.println();
}
result = "";
while (client.available()) { //connected or data available
char c = client.read(); //gets byte from ethernet buffer
result = result+c;
}
Serial.println(result);
client.stop(); //stop client
Serial.println("end of function");
}
And this is what i get in the Serial monitor:
........Connected!
Server is accessible
end of function
Am i going wrong anywhere in the code? Please help this burning question.
Discussions
You need to make the actual API call, according to the site you quote its.
[api base url]?tz=Europe/Madrid or whereever. You then need to read back the returned string, I guess with something like client.readln.
Where did you find the code you're quoting that you are using on your arduino ?
I have included in the code a way to read the available string. If you look deeply into the code you will find this:
while (client.available()) { //connected or data available
char c = client.read(); //gets byte from ethernet buffer
result = result+c;
}
So, as long as data is available in the client buffer, the while loop will store it in a string. Also, this code works fine with other APIs, except this one. So, i am absolutely perplexed about where i am going wrong.
If i use Google ARC, and call the URL it gives me the required data. So that clearly indicates that I am going wrong somewhere. Any suggestions?
I saw that, but what happens if there is NO result at the instant it starts to execute the while ? It drops through, loops round, and sends another call to the API.
I tried altering my code so that there is a small delay to wait until the data is read from the Client buffer. But still, the problem seems to persist. What do I do?
How much delay ? Can you wait until there is a reply, and let it lock the processor up if one doesn't arrive ?
You probably need to wait UNTIL there is data available too.
while (!client.available) {} //Dangerous, since if client is never available, this won't end.
Better
int incer=0;
while (!client.available) | (incer<1000) {incer++}
You have server access. Now call the time function and print the result.
I didn't quite get you, what is the time function? Can you type that bit of code and point it out to me?
I typed this code to get the available data after making sure the server is available, please check whether it's right or wrong.
client.print(String("GET ") + url + " HTTP/1.1\r\n" +
"Host: " + host + "\r\n" +
"Connection: close\r\n\r\n");
+1
2+ | http://www.instructables.com/topics/How-to-call-an-api-with-nodemcu-from-this-wesiteht/ | CC-MAIN-2018-30 | refinedweb | 619 | 69.48 |
Firstly, please allow me to say sorry to my unexpected update to one of my blog entry in the last weekend. This caused an very old blog entry re-posted to the planet again.
Because I am planning to start new round of posts in the community, so I do a little tweaking to the blog. I do a update to that blog entry in that several readers asked the status of my SEED project[1] in its release-following period. Unfortunately I must say it has been dead for many reasons.
After the SEED project M0, I have done a more deep investigation and reflection to the current languages on JVM. Like Scala, Kotlin(Ceylon, althoug I've forgot it, but not including the Groovy and Xtend), the basic conclusion is that the complexity much outweights the advantages of the language after the advanced features coming right before your eyes. Some adopters likes to keep to use a subset of the language to keep a good taste. But, if we only limits us to a subset, why we choose this language?
For example, recently, our Xtender Sebastian addressed an exception checking codes in Xtend v.s. Java 8[2]. His favorate Xtend codes like this:
"
import static extension Throwables.*
val uri = [| new URI(requestURI) ].onException [
new IllegalArgumentException(it)
]
"
This codes, IMHO, just uncovers one big problem(or fault) which is much popular in the current mainstreaming JVM languages: that is, "Symbol Hell".
Who knows what " [| new URI(requestURI) ]" stands for when one man meets these codes firstly? In some language, the operator could be mostly arbitrarily customized(to encourage the flow controlling). The result is that, you would regularly sees the in “clever” coders 's DSL library or framework:
~[...] ... ^ ... -|| ... <- -="-" ...="..."> ...->
Are this codes happy to see by us?... I am afraid that, it is not the right direction that for the future of language...
Now, back to the topic of this post:)
Recently, IDEA 12 re-introduce a darkula theme[3], which makes our community a little nervous. The chronon boy posted one solution in the planet[3].
Recently, I start to migrate to the Eclipse 4.3 from old 3.8 platform. As I point out in my preious post[1] , the biggest problem to Eclipse Juno is that, the UI is ugly. The color is not harmony with native platform. The default Sash separation is too large. The worst thing is that, we always hate the round-corner tab[4]!
Not it is the time to eat our dog food!
In the weekend, I hack a simplest dark theme implemenation for the community: eclipse.themes.darker[5], which is based the style schema of eclipse-color-theme[6].
As you can see, the dark theme still has some not-dark elements in fact. Some of these is from the limitation of the SWT, like the button background color. But the css style engine still leaves the contribution space for us. After a little more work, I got this:
Yes, it is darker than that of the dark:)
The big fun is that, the codes are minimized by using Eclipse4 platform technologies like dependency injection[7]. It proves that again, the concise codes and advanced features could be achieved by contributing or extending with the external form(like library, framework). New language is not necessary just for this kind of purpose.
"Java Is Dead, Long Live Java!"
[1]
[2]
[3]
[4]
[5]
[6]
[7]
2 comments:
Hi, thanks for the reference to [2]. Please note that my 'favorite' Xtend code would be new URI(requestURI) which will already take care of the checked exception. The other example does only illustrate that you could use the other pattern, too..
Best regards,
Sebastian).
like for "literal for a lambda expression without any arguments",
It can be design to [| .. ]. as you pointing out.
It can be design to ()->... . as you seen in Java 8(()=>..in Scala).
Or something like ->..., #->,...
Personally, I think, ()->... is more common-accepted for all the crowds althougt it may be more lengthy than others.!). | http://jmj-eclipse.blogspot.com/2012/12/eclipse-darker-theme-and-sorry-to.html | CC-MAIN-2014-10 | refinedweb | 676 | 74.49 |
The objective of this post is to explain how to use the filter function with lists in MicroPython. filter function with lists in MicroPython.
The filter function receives as input a function and an iterable (in our case, a list) and applies the function to each element, moving to the output only the elements to which the passed function returns true.
So, it’s our responsibility to define the condition or conditions that result in true or false given an input, inside the passed function. In our simple example, our function will return true if a number is greater than 5 or false otherwise. So, given an initial list with multiple integers, we should end up with a list with just integers greater than 5.
A concept that is very useful for the filter function is the use of lambda or anonymous functions, which leads to a much more compact syntax. You can check more about lambdas on MicroPython on this previous post. You can also read more about lists and their methods here.
The tests shown here were performed on both the ESP8266 and the ESP32. The tests on the ESP32 were done using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The figures shown through this tutorial were taken from the tests on the ESP8266. All the tests were conducted on uPyCraft, a MicroPython IDE. You can learn more about the IDE in this previous post.
If you prefer you can check the video version at my Youtube Channel.
Using lambdas
As stated before, lambdas play well with this type of functions and thus we will use them for this section. But first of all, we will declare our list of integers, to which we will apply the filter operation.
testList = [1,2,3,4,5,6,7,8,9,10]
Now we simply call the filter function, passing as input both the lambda function that implements the filtering condition and the list.
Taking into account the lambda syntax explained in the previous post, the code shown bellow corresponds to the lambda we need. Note that we have an input argument, which will be the current element of the list at each step, and after the “:” the expression that checks if the value is greater than the threshold of 5. You can use other threshold if you want.
lambda x: x>5
Note that the expression x>5 will result in a Boolean value (True or False), so we don’t need to use an IF. You can confirm it by sending the following commands on the MicroPython command line, which should return False and True, respectively.
3>5 7>5
The full filter function command can be seen bellow. Note that we are storing the output just to check that the output value is no longer a list but rather an object of class filter.
filteredResult = filter(lambda x: x>5 , testList) print (type(filteredResult))
We can simply convert it back to a list using the list function and passing as input the returned object. Note that we could have done this transformation in the same line we called the filter function, making this a one liner.
finalList = list(filteredResult) print(finalList)
You can check the expected result bellow, at figure 1. As can be seen, only the elements of the initial list that fulfill the filtering function condition are in the final result. At the beginning it is also included the example that shows the > operator doesn’t need an IF to give a Boolean result.
Figure 1 – Applying the filter function to a list using a lambda.
If we wanted to implement this operation resorting to a traditional loop, a possible solution is shown bellow. We simply iterate the whole list and if the current element fulfills the condition, we put it on the result. Although it works the same, the syntax is much more verbose and less elegant.
Note that in IF conditions, such as the one we have inside the loop, we don’t need to compare a Boolean value with True. Since the output of the lambda is already a Boolean, we don’t need to do if filterLambda(element) == True, we can simply do if filterLambda(element).
testList = [1,2,3,4,5,6,7,8,9,10] finalList = [] filterLambda = lambda x: x>5 for element in testList: if filterLambda(element): finalList.append(element) print (finalList)
As can be seen in figure 2, the final result is the same as the one with the filter function approach.
Figure 2 – Alternative implementation to achieve the same results of the filter function.
Using named functions
For completion, we will also check how we can use the filter function with a named function, rather that with a lambda.
So we first define a function called isGreater, which receives as input the value that we want to check. If it is greater than 5, we return true, otherwise false. Again, we don’t need the IF in the comparison.
def isGreater(x): return x>5
Now we simply call the filter function but instead of passing the lambda as first argument, we pass our named function.
testList = [1,2,3,4,5,6,7,8,9,10] filteredList = list(filter(isGreater,testList)) print(filteredList)
As shown in figure 3, this returns the same result as before.
Figure 3 – Applying filter function to list with named function as input.
2 Replies to “ESP32 / ESP8266 MicroPython: Applying filter function to lists” | https://techtutorialsx.com/2017/08/20/esp32-esp8266-micropython-applying-filter-function-to-lists/ | CC-MAIN-2020-34 | refinedweb | 919 | 61.36 |
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:> > > It doesn't seem to work on my x86 laptop. The screen goes black when> > > the framebuffer is enabled early in the boot sequence. The machine> > > boots normally anyway and I can log in from the network or log in> > > blindly at the console. I can then start the X server which appears to> > > work correctly, but switching back to a console still gives me a black> > > screen. Running "setfont" doesn't fix it. Here is what dmesg reports> > > when running 2.6.3-rc3:> > > > Did it ever work ? (I need to know if it's a regression or some problem> > that was already there in the first place). (Hrm... looking at the end> > of your mail, it indeed seem to be a regression with this version)> > BTW. This is the reason I left the "old" driver in, you can still> build it if the new ones goes wrong. Yes, you can still build the old driver, but it doesn't work unlessyou also apply this patch:--- linux/drivers/video/fbmem.c.old 2004-02-15 11:47:26.000000000 +0100+++ linux/drivers/video/fbmem.c 2004-02-15 11:43:42.000000000 +0100@@ -222,6 +222,9 @@ #ifdef CONFIG_FB_RADEON { "radeonfb", radeonfb_init, radeonfb_setup }, #endif+#ifdef CONFIG_FB_RADEON_OLD+ { "radeonfb_old", radeonfb_init, radeonfb_setup },+#endif #ifdef CONFIG_FB_CONTROL { "controlfb", control_init, control_setup }, #endif-- | http://lkml.org/lkml/2004/2/15/37 | CC-MAIN-2018-13 | refinedweb | 223 | 76.32 |
mknod - make a directory, a special file, or a regular file
[XSI]
#include <sys/stat.h>#include <sys/stat.h>
int mknod(const char *path, mode_t mode, dev_t dev);
The mknod() function shall create a new file named by the pathname to which the argument path points.
The file type for path is OR'ed OR'ed file's group ID to the group ID of the parent directory. Implementations may, but need not, provide an implementation-defined way to initialize the file's:
- pathname exceeds {PATH_MAX} or a pathname component is longer than {NAME_MAX}.
- [ENOENT]
- A component of the path prefix specified by path does not name an existing directory or path is an empty string.
- [ENOSPC]
- The directory that would contain the new file cannot be extended or the file system is out of file allocation resources.
- [ENOTDIR]
- A component of the path prefix is not a directory.
- [EPERM]
- The invoking process does not have appropriate privileges and the file type is not FIFO-special.
- [EROFS]
- The directory in which the file is to be created is located on a read-only file system.
The mknod() function may fail if:
- [ELOOP]
- More than {SYMLOOP_MAX} symbolic links were encountered during resolution of the path argument.
- [ENAMETOOLONG]
- Pathname resolution of a symbolic link produced an intermediate result whose length exceeds {PATH_MAX}.
Creating a FIFO Special File. | http://pubs.opengroup.org/onlinepubs/009695399/functions/mknod.html | CC-MAIN-2013-20 | refinedweb | 226 | 53.41 |
Results 1 to 13 of 13
- Join Date
- May 2002
- Location
- Hayward, CA
- 1,476
- Thanks
- 1
- Thanked 24 Times in 22 Posts
XSLT to emulate DOM Node.cloneNode(true)?
I've been thinking about how nice the cloneNode() method of the Document Object Model is, and the fact that SVG has the <use /> element which essentially does the same thing.
So I'm thinking it's high time I asked how to create a similar effect in XSLT. (XML documents typically aren't scripted, according to one person who disagrees with me...)
That way, I can just have an element:
<html:pHello World</html:p>
<jsl:clone xlink:
And the XSLT processor would output:
<html:pHello World</html:p>
<html:p>Hello World</html:p>
Ideas, anyone?"The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
... You could probably take a substr(1) from that xlink:href attribute, and match it against an attribute selector...
I might post something a little later to that effect.
<xsl:template
<xsl:copy-of
</xsl:template>
This is completely ignoring namespaces. To be honest, I don't think I recall how XPath deals with namespaces.... someone with some knowledge want to clear it up?
Conversation between Alex and I over this (useless parts edited out) in case anyone is interested (some interesting stuff if you want to read through the poorly copied text from the IRC chat):
..........
jasonkarldavis I don't know if XPath respects namespaces when matching attributes and tags or not
jasonkarldavis but the code itself it surprisingly simple
jasonkarldavis I thought it was gonna be way more complicated
WeirdAl well I was primarily concerned about matching by ID
jasonkarldavis but XPath has the nice id() function.... :)
jasonkarldavis which I didn't know about until 3 minutes ago
WeirdAl I figured it'd be simple
WeirdAl I just don't mess with XSLT ;)
jasonkarldavis I figure it is something worth knowing well... so I try to spend time with it now and then to keep fresh
WeirdAl :) -- well, as I said, it's somthing I figured you'd be the one to nail
WeirdAl goes to pull up XPath 1.0
WeirdAl -- I thought you'd use XPointer though
jasonkarldavis why?
jasonkarldavis XPointer is just like anchors for XML...
jasonkarldavis you can't actually grab content with it
WeirdAl
WeirdAl :) I can't exactly tell the diff
jasonkarldavis picture XPointer as a replacement for <a name="myanchor">
WeirdAl
jasonkarldavis recommends /XML in a Nutshell/ by O'Reilly
jasonkarldavis best reference I've ever gotten
.........
jasonkarldavis but XML In a Nutshell is *nice*
jasonkarldavis hehe
WeirdAl anyway check out that link I just gave you and tell me if it helps
jasonkarldavis that's not *quite* what I was looking for
WeirdAl try the expanded-names link
jasonkarldavis namespace nodes are one of the things Mozilla's Transformiix doesn't support
WeirdAl :(
WeirdAl section 4.1 of the same doc, what about that?
jasonkarldavis that expanded names thing is what I wanted I think
jasonkarldavis :)
WeirdAl if Moz supports it...
WeirdAl when in doubt, go get the spec
WeirdAl oh, and can you please make sure that the copy itself doesn't have any id attributes?
WeirdAl -- or better yet, lets me set a new id attribute?
WeirdAl in the original element
WeirdAl for the top element being copied?
WeirdAl -- that would be a killer XSLT app
jasonkarldavis umm
jasonkarldavis hmm
WeirdAl :) too much to swallow?
jasonkarldavis :: thinking ::
jasonkarldavis <xsl:attribute/> would be beautiful... but copied node isn't the "context node"
WeirdAl ?
jasonkarldavis yeah... I'm trying to think of how to access the copied fragment tree
WeirdAl -- maybe a *second* XSLT stylesheet
WeirdAl -- applied after the first!
jasonkarldavis does XSLT operate on itself? Like, once it figures out how to insert content, does it do it all at once?
jasonkarldavis or does it do it in order?
WeirdAl *shrug* I dunno
jasonkarldavis if it is in order... then you could just find the first-child of //clone
WeirdAl -- but that could be a text node or null
jasonkarldavis well, first element node
jasonkarldavis (and only)
WeirdAl :)
WeirdAl -- would it be guaranteed to be the intended node?
jasonkarldavis you can't select document fragments until XPointer works... therefore you are guarenteed that the <xsl:copy-of is an element node
jasonkarldavis besides, id() in this case only can return a single element node
WeirdAl -- in theory
jasonkarldavis as only elements can have id's
WeirdAl ah, but then we run into docs with two elems sharing the same id
jasonkarldavis which are invalid HTML/XHTML, but still well-formed XML....
jasonkarldavis id() can take multiple arguments
jasonkarldavis and will return a node-set of all matching nodes
WeirdAl -- hence why I'm trying to make sure we keep cloned id's out
jasonkarldavis or if multiple elements have the same id(), it returns a node-et of them
WeirdAl XSLT 1.0, Section 5.7: Modes allow an element to be processed multiple times, each time producing a different result.
jasonkarldavis does this reprocessing also pick up on previously inserted XSLT-generated templates?
WeirdAl read it
WeirdAl seems to
jasonkarldavis well then, create another template after this one
WeirdAl not me :)
jasonkarldavis is this my project now? ;) :D
jasonkarldavis j/k
WeirdAl -- I'm trying to figure out if XSLT lets us remove things instead of just creating them
jasonkarldavis I can "reset" the id attribute
WeirdAl :) that'd be cool -- if you reset them all to "" for the copy
jasonkarldavis <xsl:template
jasonkarldavis <xsl:attribute
WeirdAl ?
jasonkarldavis </xsl:template>
WeirdAl hm
jasonkarldavis the content of <attribute/> is the new attribute value
jasonkarldavis in this case, I don't put anything in
WeirdAl ahhhhhhhhh
jasonkarldavis ? :)
WeirdAl that makes life interesting -- especially if you use a conditional to determine if it's the element actually being cloned
WeirdAl -- I think
jasonkarldavis well, we are assuming that the only children of <clone/> are what we put there via XSLT
jasonkarldavis which we become sure of it just a single element
WeirdAl which for the moment they would be
jasonkarldavis unless we have multiple same id;'s
WeirdAl uh oh... :)
jasonkarldavis which probably implies we are inserting content at a sibling level as a child of <clone/>?
WeirdAl hm -- yeah, that would be the safe bet
jasonkarldavis instead of only having firstChild, we have childNodes
WeirdAl oh, wait
jasonkarldavis which then makes:
jasonkarldavis match="//clone/*[position() = 1]"
jasonkarldavis become:
WeirdAl -- what I don't get is why we can't just replace <jsl:clone />
jasonkarldavis match="//clone/*"
jasonkarldavis simply replace the node?
WeirdAl exactly
WeirdAl that's safer imho
jasonkarldavis it would be easier to keep everything as children of it
jasonkarldavis plus, this way is more in line with the SVG spec
jasonkarldavis which you mentioned
WeirdAl -- does use create childnodes?
jasonkarldavis <use/> basically inserts almost anonymous content
jasonkarldavis the DOM only sees <use/>, but you can access its content through a property
WeirdAl heh, I'm rusty on the SVG DOM :)
jasonkarldavis UseElement.hasChildNodes() should be false
(Because Alex is a naughty moderator. :p - jkd )
Last edited by jkd; 10-22-2002 at 05:18 AM.
Some food for thought:
Code:
<xsl:template <xsl:for-each <xsl:copy-of </xsl:for-each> </xsl:template> <xsl:template <xsl:attribute </xsl:template>
I am still unsure of whether or not the second template will do anything though, but I intend to start testing it sometime later today...
Here is what I'm using:
Code:
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet <xsl:template <clone> <xsl:for-each <xsl:copy-of </xsl:for-each> </clone> </xsl:template> <xsl:template <xsl:attribute </xsl:template> <xsl:template <xsl:copy-of </xsl:template> </xsl:stylesheet>
Code:
<?xml version="1.0"?> <?xml-stylesheet <head> <title>XSLT clone test</title> </head> <body> <div id="reuse">cloned content?</div> <clone xlink: <hr/> <clone xlink: </body> </html>
I think something is conceptually wrong with our approach... I don't know how to voice it clearly, but we need to:
1. Copy the entire document
2. While copying, replace <clone/> with <clone><!-- inserted content --></clone>
But to copy a document and maintain its original structure, while also looking for <clone/>, we are basically going to need to implement a DOM2 Traversal TreeWalker in XSLT?
- Join Date
- May 2002
- Location
- Hayward, CA
- 1,476
- Thanks
- 1
- Thanked 24 Times in 22 Posts
I don't think Mozilla supports what we're looking for directly. There was a FAQ I read which showed how to copy all elements but one, and it didn't work in Mozilla. Looks like I'll have to use DOM."The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
- Join Date
- May 2002
- Location
- Hayward, CA
- 1,476
- Thanks
- 1
- Thanked 24 Times in 22 Posts
<xsl:template<xsl:copy><xsl:apply-templates</xsl:copy></xsl:template><xsl:template
This is courtesy of Jonas Sicking, mozilla.org volunteer.
For removing a node.
Resurrecting dead threads is fun, particularly if a partial solution has been found.
Last edited by Alex Vincent; 12-15-2002 at 03:34 AM."The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
Ok, so this removes a node... call me narrow, but I'm trying to wrap my head around how it will help us out...
- Join Date
- May 2002
- Location
- Hayward, CA
- 1,476
- Thanks
- 1
- Thanked 24 Times in 22 Posts
Well, if we can insert an XSLT element that will copy the targeted node as a child of the second template element, we should be in business."The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
June 30, 2001
author, Verbosio prototype XML Editor
author, JavaScript Developer's Dictionary
So I'm an awful thread digger, but I recently needed this capability and finally solved the problem:
identity.xml:
Code:
<?xml version="1.0"?> <stylesheet version="1.0" xmlns=""> <template match="node()|@*"> <copy><apply-templates</copy> </template> </stylesheet>
Code:
<stylesheet version="1.0" xmlns="" xmlns: <import href="identity.xml"/> <output method="xml" indent="yes" omit- <template match="jkd:clone"> <apply-templates </template> <template match="*" mode="clone"> <copy><apply-templates</copy> </template> </stylesheet>
Code:
<?xml version="1.0"?> <?xml-stylesheet <head> <title>XSLT clone test</title> </head> <body> <div id="reuse">cloned content?</div> <jkd:clone xlink: <hr/> <jkd:clone xlink: </body> </html>
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" ""> <?xml-stylesheet <head> <title>XSLT clone test</title> </head> <body> <div id="reuse">cloned content?</div> <div>cloned content?</div> <hr/> <div>cloned content?</div> </body> </html>
- Join Date
- Oct 2003
- Location
- London, UK
- 411
- Thanks
- 0
- Thanked 1 Time in 1 Post | http://www.codingforums.com/xml/8430-xslt-emulate-dom-node-clonenode-true.html | CC-MAIN-2015-48 | refinedweb | 1,869 | 59.64 |
#include <Local_Tokens.h>
Inheritance diagram for ACE_Tokens:
Not a public interface. Currently, I don't see a reason for providing an abstract interface at this level of the library. As of yet, no one uses <ACE_Tokens> derivatives through this abstract interface except for <ACE_Token_Manager>. It only uses the statistical methods which are shared by all Tokens. For that reason, it still makes since to have a common base class. However, acquire, renew, and release do not need to have matching interfaces throughout all Tokens. To add a new type of token (e.g. semaphore), this class must be subtyped to define the new semantics. See <ACE_Token_Manager> for details. | http://www.theaceorb.com/1.4a/doxygen/ace/classACE__Tokens.html | CC-MAIN-2017-51 | refinedweb | 108 | 51.14 |
GXT 3 Gray Theme - forgot to theme Mask window.
The com.sencha.gxt.core.client.dom.Mask message window has a blue border even when using the Gray theme.
The Gray theme is implemented as it was in 2.x - some highlights are still done with blue, as making everything gray gets rather drab.
Here's an example with the mask as blue in GXT 2
- navigate to
- set the theme to gray in the upper right
- click the load button and watch the mask
The same blue colors can be seen in the Gray theme in a few other cases - grid row selection, some field styles (focus, for example), the Slider thumb icon, etc.
Pluggable Appearance problem
I should have been more specific with my problem report...
The problem isn't so much that the mask window is blue in the gray theme...
The problem is that the Mask window can not be configured with a custom theme since the Mask class itself references the MaskStyle interface which is a member of the MaskDefaultAppearance. This makes it impossible to plug in an alternative MaskAppearance implementation using deferred binding:
Mask -> MessageTemplates -> MaskDefaultAppearance.MaskStyle
Ah, thanks for the clarification.
The Mask class is defined in the com.sencha.gxt.core.Core module, which is at a higher level than themes even exist - this module doesn't even have support for Component. Several appearances are still defined there, but mostly for basic wiring kinds of stuff - Layer and Mask, as well as the somewhat ambiguous CommonStyles.
As of 3.0.3 anyway, the latest release, the MaskAppearance can be bound in your module. The private Mask constructor GWT.create's a MaskAppearance, which will then follow those rebind rules. Here is the built-in rule:
Code:
<replace-with <when-type-is </replace-with>
Requires duplication of GXT code
Thanks Colin,
Your recommendation does work but requires duplication of a large chunk of GXT code when simply creating a new color theme.
It would be great if the default mask appearance could be refactored so that the code could be re-used by other themes where only the css and image resources are being changed.
Please see the attached code that shows how this might be achieved.
Regards,
Nick
I'm confused - isn't the
Code:
MaskDefaultAppearance(MessageTemplates template, MaskResources resources)
My version of GrayMaskAppearance:
Code:
public class GrayMaskAppearance extends MaskDefaultAppearance { public GrayMaskAppearance() { super(GWT.<MessageTemplates>create(MessageTemplates.class), GWT.<GrayMaskResources>create(GrayMaskResources.class)); } }
Code:
public interface GrayMaskResources extends MaskResources { @ImageOptions(repeatStyle = RepeatStyle.Horizontal) ImageResource boxBackground(); @Source("GrayMask.css") MaskStyle css(); }
Sidenote: in this case it is okay (just one mask impl for the whole page) but in other cases your re-use of MaskStyle might bite you - usually you want to extend that interface so it has a new name - that will inform the CssResource generating code that you actually want different generated css class names. Otherwise one FooWidget with AppearanceX and another with AppearanceY will actually end up sharing CSS after all
3.0.3 contains the enhancement I was looking for.
I probably should have mentioned that I'm still using GXT 3.0.2
It looks like you introduced that new constructor in 3.0.3.
That's exactly what I was looking for!
Thanks!
Nick
Yep, that was a quirk that was pointed out to us shortly after 3.0.2 - not really sure how we missed it... But as part of 3.0.3 I think we got several confused rebindable appearances worked out, including this one. | https://www.sencha.com/forum/showthread.php?251557-GXT-3-Gray-Theme-forgot-to-theme-Mask-window.&s=f7266ba706ee823de7316fa171a7948d&p=921352 | CC-MAIN-2016-07 | refinedweb | 590 | 63.49 |
in cint it seems that abs and fabs are different function
root [6] abs(1.2234234)
(const int)1
root [7] fabs(1.2234234)
(const double)1.22342339999999994e+00
but this is not the behaviour of c++
in cint it seems that abs and fabs are different function
root [6] abs(1.2234234)
(const int)1
root [7] fabs(1.2234234)
(const double)1.22342339999999994e+00
but this is not the behaviour of c++
root [0] abs(1.2234234)
(const int)1
root [1] #include
root [2] abs(1.2234234)
(double)1.22342339999999994e+00
[quote=“Pepe Le Pew”]root [0] abs(1.2234234)
(const int)1
root [1] #include
root [2] abs(1.2234234)
(double)1.22342339999999994e+00[/quote]
Ok, but why it is not the default ?
man 3 abs
man 3 fabs
[quote=“Pepe Le Pew”]man 3 abs
man 3 fabs[/quote]
I dont’ understand. The point is that c++ abs is different from cint abs
Try simply this: [code]#if 1 /* 0 or 1 /
#include <stdlib.h> // for “abs”
#include <math.h> // for “fabs”
#else / 0 or 1 /
#include // for “std::abs” and “std::fabs”
#endif / 0 or 1 */
#include
using namespace std;
int main() {
cout << abs(1.123) << endl;
cout << fabs(1.123) << endl;
}[/code] and/or this: [code]#include <stdlib.h> // for “abs”
#include <math.h> // for “fabs”
#include // for “std::abs” and “std::fabs”
#include
int main() {
std::cout << abs(1.123) << std::endl;
std::cout << std::abs(1.123) << std::endl;
std::cout << fabs(1.123) << std::endl;
std::cout << std::fabs(1.123) << std::endl;
}[/code]
ok, but the point is: if cint is an interpreter of c++ why the default behaviour of cint is different than c++? Is it not more correct to have the same things behaving in the same way (without including anything)?
You should have got it by now that there’s no “default c++ behaviour” what concerns functions. You can define your own “abs” function which will do something completely different than the cmath’s “std::abs” and/or the stdlib’s “abs”, and that will be perfectly fine what concerns the “c++ standard”. Moreover, you will get the “std::abs” only if you "#include ", otherwise the compiler will exit with an error saying that “‘abs’ is not a member of ‘std’”. Likewise, if you do not “#include <stdlib.h>”, you will get an error saying that “‘abs’ was not declared in this scope”.
you are right. I dont know why on codepad (codepad.org/bzNr6Cxe) it works also without including the . In fact on my pc with gcc it doesn’t.
So now the question is: why cint knows abs? Probably because it automatically includes <stdlib.h>. So why don’t include automatically instead of <stdlib.h>?
CINT is an interpreter for C and C++ code (it actually started as a C interpreter, C++ support was added later). What you propose would severely break its C compatibility (and there would be no way to recover it).
So, if you want to use a particular function, make sure you #include an appropriate file (with this function’s prototype) in advance. No exceptions to this rule. | https://root-forum.cern.ch/t/fabs-and-abs/14556 | CC-MAIN-2022-27 | refinedweb | 528 | 77.13 |
Prime numbers
From HaskellWiki
In mathematics, a prime number (or a prime) is a natural number which has exactly two distinct natural number divisors: 1 and itself. The smallest prime is thus 2.
1 Prime Number Resources
- than Filtering To Keep the Prime Numbers In
2.1.1 The Classic Turner's (up to.
2.1.2 Postponed Filters Sieve
Here each filter's creation is postponed until the very moment it's needed. Turner's sieve exhibits near O(n2) behavior (n referring to the number of primes produced), this one exhibits near O(n1.5) behavior, with an orders-of-magnitude speedup.
2.1.3.1.4) 3 where notDivsBy d n = n `mod` d /= 0 sieve ds (p:ps) x = foldr (filter . notDivsBy) [x+2,x+4..p*p-2] ds ++ sieve (p:ds) ps (p*p)
This one explicitly maintains the list of primes needed for testing each odds span between successive primes squares, which it explicitly generates. But it tests with nested
filters, which it repeatedly recreates.
2.1 calculates only the bare essentials and makes no extra recalculations:
primes :: [Integer] primes = 2: 3: sieve 0 (tail primes) 3 sieve k (p:ps) x = [n | n <- [x+2,x+4..p*p-2], and [n`rem`p/=0 | p <- fs]] -- or: all ((>0).(n`rem`)) fs ++ sieve (k+1) ps (p.2 Getting the Composite Numbers.
2.2.1:
import Data.List.Ordered (minus) euler xs@(p:xt) = p : euler (xt `minus` map (p*) xs) primes = euler [2..]
This code is extremely inefficient, running at about O(n2.4) complexity, and should be regarded a specification only. It works very hard trying to avoid double hits on multiples, which are relatively few and cheap to deal with in the first place. Turner's sieve could also be seen as its rendition, substituting the built-in
filter for
minus - computationally different but producing the same results.
But the situation can be (xs,i) = xs ++ fromSpan (map (+ i) xs,i) {- === concat $ iterate (map (+ i)) xs [n..] === fromSpan ([n],1)) -} eulerS () = iterate eulerStep ([2],1) eulerStep (xs@(p:_), i) = ( (tail . concat . take p . iterate (map (+ i))) xs `minus` map (p*) xs, p*i ) {- > mapM_ print $ take 4 $ eulerS () ([2],1) ([3],2) ([5,7],6) ([7,11,13,17,19,23,29,31],30) -}
This is where the notion of wheel comes from, naturally and elegantly. For each wheel) complexity, for
n primes produced.
2.2
This is similar to Euler's sieve, in that it removes multiples of each prime in advance, but will generate some of the multiples more than once, like e.g.
3*15 and
5*9, unlike the true Euler's sieve which won't generate the latter.
2.2.2.1 Merged Multiples Removal Sieve
The left-associating
(...((xs-a)-b)-...) above buries the initial numbers supply
xs (here,
[5,7..] list) deeper and deeper on the left, with time. But it is the same as
(xs-(a+b+...)), and so we can just remove from it the infinite primes multiples lists (all united into one without duplicates), each starting at its seeding prime's square (arriving at what is essentially equivalent to the Richard Bird's code from Melissa O'Neill's article). This way we needn't explicitly jump to a prime's square because it's where its multiples start anyway:
import Data.List.Ordered (minus,union) primes :: [Integer] primes = 2: primes' where primes' = 3: [5,7..] `minus` foldr union' [] [(q,tail [q,q+2*p..]) | p<-primes', let q=p*p] union' (q,qs) xs = q : union qs xs of structure is imposed by type asymmetry of our
(union' :: a -> b -> b) function, forcing us into the
1+(1+(1+(1+...))) pattern,
+ standing for
union' .
That is what the Implicit Heap section below improves on, which is essentially equivalent to using a tree-producing
tfold instead of a standard linear
foldr, in the following:
2.2.2.2 Treefold Merged Multiples Removal
primes :: [Integer] primes = 2: primes' where primes' = 3:5:7:11:13:17: [19,21..] `minus` (fst.tfold unionSP) [([q],tail [q,q+2*p..]) | p<-primes', let q=p*p] unionSP (a:as,bs) v = (a:x,y) where (x,y)=unionSP (as,bs) v unionSP u@([],b:bs) v@(c:cs,ds) = case compare b c of LT -> (b:x,y) where (x,y)=unionSP ([],bs) v EQ -> (b:x,y) where (x,y)=unionSP ([],bs) (cs,ds) GT -> (c:x,y) where (x,y)=unionSP u (cs,ds) unionSP ([],bs) ([],ds) = ([] ,union bs ds) tfold f xs = go (pairs xs) where go (a:b:c:ys) = f a (f b c) `f` go (pairs ys) pairs (a:b:ys) = f a b : pairs ys
The fold used here creates a
(2+(2+2))+( (4+(4+4))+( (8+(8+8))+( ... ))) structure, better adjusted for primes multiples production than
1+(2+(4+(8+...))), used by the "Implicit Heap" code, giving it additional 10% speedup.
unionS
unionSPoperation form a monoid, and we could declare a
unionSPits
tfoldits seen in Euler's Sieve and described below in Prime Wheels section) :
2.2.2.3 Treefold Merged Multiples, with Wheel
The odds-only feed is exactly what
fromSpan([3],2) produces. Using a larger wheel means all the multiples of the starting few primes, and not just of
2, will be automatically excluded in advance. Coupled with the
People-style, more "flat" and "local" data type (from Implicit Heap section below) which is conceptually the same as split list pair but provides for more immediate access to its first element, it leads to:
{-# OPTIONS_GHC -O2 -fno-cse #-} data A a = A a (A a) | B [a] -- direct encoding for Split List primes :: [Integer] primes = 2:3:5:7:primes' where primes' = roll 11 wheel `minus` tfold add [A [p*p] (B [p*q | q<-rollFrom p]) | p<-primes_] primes_ = h ++ t `minus` tfold add [A [p*p] (B [p*q | q<-rollFrom p]) | p<-primes_] where (h,t) = splitAt 6 (roll 11) rollFrom n = go wheelNums wheel where m = (n-11) `mod` 210 go (x:xs) (w:ws) | x==m = roll (n+w) ws | True = go xs ws wheelNums = roll 0 wheel roll = scan add (A x xs) v = A x (add xs v) add u@(B(x:xs)) v@(A y ys) = case compare x y of LT -> A x (add (B xs) v) EQ -> A x (add (B xs) ys) GT -> A y (add u ys) add (B xs) (B ys) = B (union xs ys) minus a@(x:xs) b@(A y ys) = case compare x y of LT -> x : minus xs b EQ -> minus xs ys GT -> minus a ys
The double primes feed is introduced here to save memory as per Melissa O'Neill's code, and is dependent on no expression sharing being performed by a compiler. This code runs at comparable speed on Ideone.com as immutable arrays version, yet is near constant and very low in its memory use (low MBs for first few million primes).
2.2.3 Multiples Removal on Generated Spans, or Sieve of Eratosthenes
Postponed multiples removal, with work done segment-wise, on the spans of numbers between the successive primes squares, becomes
import Data.List.Ordered (minus,union) primes :: [Integer] primes = 2: 3: sieve [] (tail primes) 3 where sieve fs (p:ps) x = [x+2,x+4..q-2] `minus` foldl union [] mults ++ sieve fs' ps q where q = p*p mults = [[y+s,y+2*s..q] | (s,y) <- fs] fs' = (2*p,q) : zip (map fst fs) (map last. These composites are independently generated so some will be generated multiple times..3 Using Immutable Arrays
2.3.1 Generating Segments of Primes
The removal of multiples on each segment of odds in the Sieve of Eratosthenes can be done by actually marking them in an array, instead of manipulating the ordered lists:
primes :: [Integer] primes = 2: 3: sieve [] (tail primes) 3 where sieve fs (p:ps) x = [i | i <- [x+2,x+4..q-2], a ! i] ++ sieve fs' ps q where q = p*p mults = [[y+s,y+2*s..q] | (s,y) <- fs] fs' = (2*p,q) : zip (map fst fs) (map last mults) a = accumArray (\ b c -> False) True (x+2,q-2) [(i,()) | ms <- mults, i <- ms]
The above code can be further streamlined and made more than twice faster by working with odds only, represented as their offsets in segment arrays:
primes :: [Integer] primes = 2: 3: sieve [] (tail primes) 3 where sieve fs (p:ps) x = [i*2 + x | (i,e) <- assocs a, e] ++ sieve fs' ps (p*p) where q = (p*p-x)`div`2 fs' = (p,0) : [(s, rem (y-q) s) | (s,y) <- fs] a = accumArray (\ b c -> False) True (1,q-1) [(i,()) | (s,y) <- fs, i <- [y+s,y+s+s..q]]
Apparently, arrays are fast. The above is the fastest code of all presented so far. When run on Ideone.com it is somewhat faster than wheeled treefold in producing first few million primes, but is very much unacceptable in its memory consumption which grows faster than O(n), quickly getting into tens and hundreds of MBs.
2.
2.4 Using Mutable Arrays
Using mutable arrays is the fastest but not the most memory efficient way to calculate prime numbers in Haskell.
2.4.1 Using ST Array
This method implements the Sieve of Eratosthenes, similar to how you might do it in C, modified to work on odds only. It is fast, but about linear in memory consumption, allocating one whole array for the sequence produced. let m = (n-1)`div`2 a <- newArray (1,m) True :: ST s (STUArray s Int Bool) let sr = floor . (sqrt::Double->Double) . fromIntegral $ n+1 forM_ [1..sr`div`2] $ \i -> do let ii = 2*i*(i+1) -- == ((2*i+1)^2-1)`div`2 si <- readArray a i when si $ forM_ [ii,ii+i+i+1..m] $ \j -> writeArray a j False return a primesToN :: Int -> [Int] primesToN n = 2:[i*2+1 | (i,e) <- assocs . primesToNA $n, e]
2 above, or the functional pearl titled Lazy wheel sieves and spirals of primes for more.
2
See Testing primality.. | http://www.haskell.org/haskellwiki/index.php?title=Prime_numbers&oldid=36858 | CC-MAIN-2014-35 | refinedweb | 1,706 | 67.99 |
Red Hat Insights Blog
Latest Posts
Managing the Insights API
How to extend Insights capabilities by using the API
OK, APIs are cool, why? Because an API (acronym for Application Programming Interface), is a software intermediary that allows two applications to talk to each other, or in other words, a set of subroutine definitions, protocols, and tools for building application software. In short, an API is a way a vendor gives you to extend his product capabilities to your needs. So, yes, it IS cool.
But, is Insights also cool?
Pretty much, yes!
Other than the cool features (such as system configuration assessment and prescriptive remediate of issues before they become problems, tailored solutions to problems applicable only to your systems) Red Hat Insights already provides you with, it also allows you to extend its capabilities by using its RESTful API, with a programming language of your choice.
By default all Insights API resources are represented in
application/jsonformat. In addition, it is possible to export reports, inventory and maintenance plans as
text/csv.
What is Red Hat Insights?
Haven't heard of Red Hat Insights yet? Well, it's time to fix that! Get familiar with Insights in this post today!
First of all, you need to choose a programming language to communicate with the API. I am using Python for its simplicity and popularity.
Important note:
These are example scripts and commands. Ensure you review these scripts carefully before use, and replace any variables, user names, passwords, and other information to suit your own deployment.
Accessing Red Hat Insights API in Python
The following script connects to the Red Hat Insights API and defines the variables to connect to your Red Hat Insights account:
import json import sys try: import requests except ImportError: print("Please install the python-requests module.") sys.exit(-1) #URL to Insights URL = "" #URL for the API to your deployed insights account ACCOUNT_API = "%s/v1/account/" % URL SYS_API = "%s/v1/groups" % URL #Default credentials to login to your Insights Account, please change USERNAME = "changeme" PASSWORD = "changeme" SSL_VERIFY = True POST_HEADERS = {'content-type': 'application/json'}
Please note, that in order to work, this script requires the requests and json modules to be installed separately in your Python environment.
Now it is time to get our hands dirty by calling the API to retrieve some information from our account.
Retrieving data using the API and Python
In this example I am using API v1, as this is the version you will find on the official documentation site however, we are currently on v3. Most of the resources did not change between v1 and v3, and in the particular case of this example, it will run fine in all of the versions.
So, first we need to authenticate with Red Hat Insights, I will use
HTTPSand my account credentials, for that I need to connect to the API using
SYS_APIvariable and the type of query we are going to do (variable payload), as the API tells us to.
Note: I am getting systems information from “
/groups” which is odd, but the idea behind it is to be able to get the information about systems by its groups, as an example just for learning purposes. If you just want to get system information, you’d better use “
/system” (from the API)
I only need to call the API with the URL I want to query (
SYS_APIvariable in this case) and include systems (
payloadvariable).
After I retrieve all the information relative to systems on my account (in
JSONformat) I call a function to print it in a nice way.
def main(): """ Main routine that creates or re-uses an organization and life cycle environments. If life cycle environments already exist, exit out. """ payload = {'include': 'systems'} insights_request = InsightsRequest(SYS_API, payload) cute_output(insights_request)
To print the
JSONdata, I store it on an Python list object (
json_report) and then, simply walk through it, displaying the info in different lines and tabulated, so it is easier to read.
Fields to be printed are a personal choice, since the object has many more than the ones in this example, in fact, it has all the information related to systems (architecture, OS version, account number, updated date, and a very long etcetera).
def cute_output(insights_request): """ Prints desired values of the object in a nicer form :param insights_request: :return: """ json_report = insights_request.get_insights() if not json_report: print('Error ocurred, unable to print!!!') else: for groups in json_report: print('GROUP: ' + groups['display_name']) for systems in groups['systems']: print('\n\t\t Host name: ' + systems['hostname']) print('\n\t\t Product: ' + systems['product']) print('\n\t\t Type: ' + systems['type']) print('\n\t\t Registered at Insights: ' + systems['created_at']) print('\n\t\t Last checked at Insights: ' + systems['last_check_in'] + '\n\n')
To retrieve data, initialize the class with a default URL (as the API has to be always queried using an URL that changes with the different options to be queried) and then when the query is done by calling
get_insights()method, I simply pass the credentials, method (
HTTPor
HTTPS) and additional data, when needed.
Finally, I review the
HTTPresponse, and if it’s ok, I return the
JSONobject, so I can print it with the method above.
class InsightsRequest: def __init__(self, location, data=None): """ Class constructor :param location: :param data: """ self.location = location self.data = data def get_insights(self): """ Performs a GET using the passed URL location """ r = requests.get( self.location, auth=(USERNAME, PASSWORD), verify=SSL_VERIFY, params=self.data) if self._check_http_response(r): return r.json() else: return None
As you can see, querying Red Hat Insights API is quite easy using (in this case) Python and also very flexible; it allows you to extend the capabilities of the product to adapt it to your specific needs.
This is a basic example of how to query and retrieve information using the Insights API, but you can also create and delete objects using your Red Hat Insights account by using the API.
NOTE: I want to thank Roberto Bergantiños (Software Maintenance Engineer at Red Hat) for co-authoring this post.Posted: 2019-01-30T12:20:50+00:00
How to configure Satellite 6.4 to execute Insights' remediation playbooks
Configuring Satellite 6.4 for Insights' remediation playbook execution
As explained in my previous post, in Satellite 6.4 Insights integration has gone deeper than ever. With this new release, now Insights remediation playbooks can be executed from within the Satellite Web interface.
In this post, we are going to cover how Satellite 6.4 has to be configured in order to do so.
Basically, we simply need to allow Foreman to execute commands remotely.
This plugin enables Foreman to run arbitrary commands on hosts using different providers. Initially only an SSH provider is supported but we plan to add more.
Communication goes through the smart proxy so Foreman does not have to have direct access to the target host and can scale to control many hosts. A command can be customized similarly to provisioning templates or partition tables. A number of templates are included for running basic commands, installing packages, etc.
This plugin is installed in Satellite 6.4 by default.
Satellite server configuration
Next you have to setup ssh keys. By default smart proxy loads the key from
/usr/share/foreman-proxy/.ssh/id_rsa_foreman_proxy. To customize it you can edit the configuration in
/etc/foreman-proxy/settings.d/remote_execution_ssh.yml. Without customization you need to create new ssh key and distribute it to target hosts. The key must not use a passphrase.
In this post, we are not going to customize it, and use the default location, but just be aware of the options you have.
[root@sat]# cat /etc/foreman-proxy/settings.d/remote_execution_ssh.yml --- :enabled: https :ssh_identity_key_file: /var/lib/foreman-proxy/ssh/id_rsa_foreman_proxy :local_working_dir: /var/tmp :remote_working_dir: /var/tmp :kerberos_auth: false # Whether to run remote execution jobs asynchronously :async_ssh: false
Please note these are NOT root's ssh keys, but specific to foreman-proxy.
To generate a key, run the following commands on the host where Smart Proxy runs:
[root@sat ~]# mkdir ~foreman-proxy/.ssh [root@sat ~]# chown foreman-proxy ~foreman-proxy/.ssh [root@sat ~]# sudo -u foreman-proxy ssh-keygen -f ~foreman-proxy/.ssh/id_rsa_foreman_proxy -N ''
When using SELinux, make sure the directory and the files have correct labels of
ssh_home_t. If not, restore the context:
[root@sat ~]# restorecon -RvF ~foreman-proxy/.ssh
Don’t forget to restart Foreman, Smart Proxy and Foreman tasks, so plugins are reloaded:
[root@sat ~]# service httpd restart [root@sat ~]# service foreman-tasks restart [root@sat ~]# service foreman-proxy restart
Finally, you have to refresh the Smart Proxy features in the Foreman.
[root@sat ~]# systemctl restart smart_proxy_dynflow_core
NOTE: There's a known bug affecting systems using directory information services, such as IdM. Basically, when executing ssh, it's executing
/usr/bin/sss_ssh_knownhostsproxyand this does not work with users that do not have a TTY (like the case of
foreman-proxy). The workaround to solve this its commenting the following lines in
/etc/ssh/ssh_config:
#ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h #IFIER
Remote Hosts Configuration
The remote hosts need to be configured to accept the private key that the smart proxy is using. Root is used as the default user for accessing remote hosts via SSH. You may set the
remote_execution_ssh_userglobal setting to change the default. If you would like to override at the host group, host, or other level, you may use parameters to do so. Set a parameter called
remote_execution_ssh_user.
The ssh keys for the smart proxies are available as a host parameter (
remote_execution_ssh_keys). This allows you to manage the authorized keys with your configuration management platform of choice, or through a provisioning template.
[root@sat ~]# ssh-copy-id -i /var/lib/foreman-proxy/ssh/id_rsa_foreman_proxy.pub root@icX.example.com
NOTE: This step has to be repeated for all the client machines you want Insights to operate.
And that’s all that you need to do, happy remediating!Posted: 2018-11-20T16:36:03+00:00
Running Insights remediation playbooks within Satellite 6.4
What’s all the fuss about Satellite 6.4?
Haven’t you heard the news? Satellite 6.4 gives you the ability to remediate your systems with Insights by executing remediation playbooks directly from the UI. How awesome is that?!
Let’s walk through the steps…
Insights Remediation within Satellite
In this blog, we’re going to identify and resolve issues with Insights, but this time from the Satellite UI (6.4 required), using Satellite 6.4’s new Ansible capabilities.
The first steps are the same as when using Insights in the Customer Portal, which you can read about in previous posts. In fact, the look and feel of the web-based app are exactly the same in the Satellite UI.
From the dashboard, you are able to identify the issues affecting your infrastructure at a glance, then jump to individual systems from the hyperlinks. Even the Insights menu is visible in the Satellite main menu.
Identifying actions
Like in the customer portal, you can see a list of actions along with the likelihood, impact, total risk, systems affected and whether there is an Ansible playbook solution for each of them.
And again, as in Customer Portal, clicking on an issue gives us a description, solution, assessment of total risk and risk of change, and impacted systems.
Actions available are create a plan / playbook or extend an existing one. This capability was already available on Satellite 6.3.
After you choose one of the actions, the plan builder pops up, just like in the customer portal.
Notice that it’s the exact look and feel for a better experience (coherence).
Creating the Plan
Remediating your systems
Here is where all the fun comes!!!
When you save your playbook, you’ll see the same summary as in the Customer Portal. But now, there’s no download button, just a drop down menu in which we can choose between downloading, customizing, or running the playbook directly from Satellite UI---with no need to have an ansible server configured!!
If you click on “Customize Playbook Run,” you can define parameters for when to run the playbook.
When you run the playbook, a visual circle graph lets you know the status of the remediation. The Overview tab shows details about the playbook and the Hosts tab shows greater detail about the remediation on each host.
All from the Satellite 6.4 UI!!!
Yes; it’s as awesome as it sounds. With the click of a button, you can remediate issues on your systems right from the Satellite UI! So sit back and enjoy your safe day with a coffee!Posted: 2018-10-17T10:30:01+00:00
Insights guidelines for deployment at scale
Insights usage varies from customer to customer so there is no real "one size fits all" template. However it is worth highlighting some of the features Red Hat has in place to assist with large sized deployments.
This is not intended to be a best-practices guide, just some things to consider.
Deployment
I typically emphasize how easy it is to deploy insights - with it's minimal steps, due to being SaaS; however, for an even easier deployment of Insights on a large scale, Insights has scripts available in Puppet, Chef and Ansible to use along with our getting started guide. If a customer happens to be also managing these systems via a version of Satellite with Insights integration, mass registration of Insights is built in (via the bootstrap script provided with Satellite).
Proxy
A proxy is not required to be used for Insights, but typically the systems of customers with larger scale deployments are already set up to communicate with Red Hat via a proxy, rather than being individually connected (or in disconnected environments).
Insights also supports this infrastructure model via proxy support as an option within our client, so there are no changes that you (as the customer) need to make with how your systems communicate with our servers.
If you are using a version of Satellite with Insights integration, it can be used as the proxy.
Frequency
By default, Insights sends information once a day. e find that this default frequency fits the needs of most accounts.
However, one may have concerns about the impact, at scale, of all these clients checking in and transmitting a payload on your network. To help with this, we have implemented a default, feature to make the Insights client automatically stagger its check-in time; so rather than all checking in at once, they'll check in individually or random groups. All out of the box!
And if you want to take it a step further and have full control of your own schedule, the Insights client can be customized via cron (when using RHEL 6) or via systemd (when using RHEL 7.5+).
Grouping
Another capability we put in place is "grouping". Grouping allows you to plan remediation based on your Company’s criteria (purpose, localization, etc), giving you greater control of your infrastructure.
We find the most common usage of groups are by:
Environment (Prod / Dev / QA / Stage / etc)
For people or business groups (Amaya's systems / Insights team)
Business critical systems (Hadoop / Oracle / Etc)
Geographic localization (EMEA / NA / LATAM / APAC)
Most of these are formed by customers around their workflow. However, some may already have a grouping method in place in other tooling like Satellite or Tower, which they replicate.
If you are looking to mass group your systems, especially at a large scale, I recommend using the --group functionality in the Insights client upon registration, which allows for quick management and organization of these systems, although you can still do it manually via the UI afterwards. And of course, you can automate this with the methods mentioned before (Ansible, Chef, Puppet).
Remediation
Setting up the systems is one thing to consider at scale, but once Insights is setup and detecting all those problems now on 1000+ systems, how do you take action at scale?
A few recommendations in this regards would be:
Posted: 2018-09-07T15:04:56+00:00
Use Ansible remediation with Insights-generated playbooks to coordinate a fix for one or multiple issues impacting your infrastructure.
Use Planner to help coordinate planned remediations for actions and systems.
Use groupings for the systems you care about the most, this will chunk up the actions
Address by severity - Insights applies one of 4 severity (risk) levels to all actions to help you focus on the most important ones.
Attack the low hanging fruit - Insights also provides a "Risk of Change" rating for actions depending on the impact of the change on the environment. Remediating actions with the lowest Risk of Change generally won't require any downtime or coordination.
Plans!Posted: 2018-07-23T09:46:03+00:00
Insights 103
Back in the Hood!!
After a crazy and exciting week of innovations in San Francisco, here I am again to tell you a bit more on how to customize Red Hat Insights to your needs!
To blacklist or not to blacklist, that is the question
As explained in my previous post Red Hat Insights 102, you can control the data Red Hat Insights sends to Red Hat servers, how data is sent, and when it is sent. But deviating from the default has its drawbacks too.
We want to provide our customers with the necessary options and controls to the data that Insights collects. However, with each modification to the default payload sent to Red Hat, you may adversely change the level of analysis Insights provides about your environment. Since Insights collects what is minimally needed for analysis. Each removal of data from the collection payload can impact our rules capabilities to detect the issue within your infrastructure.
NOTE:
Before we continue, I want to add a few words about the differences in commands required for RHEL 6 vs. RHEL 7 systems. This will affect many of the commands shared below. The name of the Red Hat Insights client has changed for RHEL 7.5+ but has not yet done so for RHEL 6.
For RHEL 7.5+ users, the name of the client (and all commands and locations that use the name of the client) is
insights-client. For older RHEL users, the name and other changes will come to RHEL 6 with the release of RHEL 6.10. For now though, RHEL 6 users should continue to use the legacy client name:
redhat-access-insights.
Blacklisting information, or how to deny access to certain data
Red Hat Insights collects metadata about the runtime configuration of a system (approximately 1% of what would be collected via sosreport during a support case) but this data can be customized, anonymized, blacklisted and obfuscated in the way that you need.
You can decide to exclude entire files, specific commands, specific patterns, and specific keywords from the data that is sent to Red Hat. To enable these exclusions, you simply need to create a file called
/etc/redhat-access-insights/remove.conf(or
/etc/insights-client/remove.confif you are already using RHEL 7.5) and specify this file in the
remove_fileline of
/etc/redhat-access-insights/redhat-access-insights.conf(or
/etc/insights-client/insights-client.confif you are already using RHEL 7.5), as in the following example:
[remove] files=/etc/cluster/cluster.conf,/etc/hosts commands=/bin/dmesg patterns=password,username keywords=super$ecret,ultra$ecret
Let's dig into the directives from the example above.
files: A comma-separated list of files to be excluded. Each element in the list of files must be the absolute path to the file. To ensure exclusion, file names listed here must match exactly what is shown in the collection rules.
commands: A comma-separated list of commands that should not be executed and whose output should not be sent. To ensure exclusion, command names listed here must match exactly what is shown in the collection rules.
patterns: A comma-separated list of patterns that should not be sent.
keywords: A comma-separated list of keywords that should not be sent. Matching keywords will be replaced with the literal keyword. For this option to take effect, the
obfuscateoption must be set to
Truein the
/etc/redhat-access-insights/redhat-access-insights.conffile.
Important!
Patterns affect entire lines so any line that includes a matching pattern will not be sent.
As explained in my previous blog post, you can validate data to be sent with the
redhat-access-insights --no-uploadcommand.
Let's get our hands dirty!
Let's take a look at what's collected and sent to Red Hat by the Red Hat Insights client using the default configuration.
To see what’s collected, without actually taking the action of collecting the data, we simply execute the agent with the
--no-uploadoption as follows:
[root@gherkin ~]# redhat-access-insights --no-upload Starting to collect Insights data See Insights data in /var/tmp/oLUbKq/insights-gherkin-20180521110933.tar.gz
To inspect what's being collected, we simply have to unzip the generated tar.gz file and dig into it, through commands and files:
[root@gherkin ~]# tar xvfz /var/tmp/oLUbKq/insights-gherkin-20180521110933.tar.gz [root@gherkin ~]# cd ./insights-gherkin-20180521110933/
We can see the hostname being collected:
[root@gherkin insights-gherkin-20180521110933]# cat insights_commands/hostname gherkin
NIC information is also collected:
[root@gherkin insights-gherkin-20180521110933]# cat insights_commands/ethtool_eno1 Settings for eno (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes
Kernel version information, architecture, and OS version is collected too:
[root@gherkin insights-gherkin-20180521110933]# cat insights_commands/uname_-a Linux gherkin 3.10.0-693.11.1.el7.x86_64 #1 SMP Fri Oct 27 05:39:05 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux [root@gherkin insights-gherkin-20180521110933]# cat insights_commands/uptime 11:09:39 up 53 days, 10:27, 3 users, load average: 0.40, 1.24, 0.90
Filesystems currently mounted on our machine:
[root@gherkin insights-gherkin-20180521110933]# cat insights_commands/mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,size=16323324k,nr_inodes=4080831,mode=755) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) [...]
Insights also collects the hostnames and IPs our system knows about (these are my home LAN's machines):
[root@gherkin insights-gherkin-20180521110933]# cat etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 # Máquinas virtuales residentes en gherkin 192.168.100.250 ansible-tower ansible-tower.tortilla.org 192.168.100.189 ansible-node1 ansible-node1.tortilla.org 192.168.100.199 icg1 icg1.example.com 192.168.100.202 icg2 icg2.example.com 192.168.100.147 icg3 icg3.example.com 192.168.100.194 icg4 icg4.example.com
But what if I don't want to send all that data to Red Hat? Well, let's configure our host so it won't send the previous data.
First of all, we need to configure
/etc/redhat-access-insights/redhat-access-insights.confto tell the Insights agent where the
remove.conffile to be used is located:
[root@gherkin ~]# vi /etc/redhat-access-insights/redhat-access-insights.conf [redhat-access-insights] remove_file=/etc/redhat-access-insights/remove.conf
Since we don't want to send our own machine name or IP to Red Hat, in the very same file, we need to specify to obfuscate them as follows:
# Obfuscate IP addresses obfuscate=True # Obfuscate hostname obfuscate_hostname=True
Another thing Red Hat Insights collects is the sshd configuration, for example, the access type:
[root@gherkin insights-gherkin-20180521110933]# cd etc/ssh/ [root@gherkin ssh]# grep -E '[P|p]assword' * #PermitEmptyPasswords no # the setting of "PermitRootLogin without-password".
Now it's the time to tune the
remove.conffile to our needs:
[root@gherkin ~]# vi /etc/redhat-access-insights/remove.conf [remove] files=/etc/hosts,/proc/cpuinfo commands=/bin/dmesg,/bin/mount,/bin/mount,/bin/uname -a,/sbin/ethtool,/usr/bin/uptime patterns=password,username
In this way, all the previous information won't be collected and sent. To verify it, we just need to re run the agent with
--no-uploadoption, and see its results:
[root@gherkin ~]# redhat-access-insights --no-upload WARNING: Excluding data from files Starting to collect Insights data WARNING: Skipping command /bin/dmesg WARNING: Skipping command /sbin/ethtool WARNING: Skipping command /bin/mount WARNING: Skipping command /bin/uname -a WARNING: Skipping command /usr/bin/uptime WARNING: Skipping file /proc/cpuinfo WARNING: Skipping file /etc/hosts See Insights data in /var/tmp/eJ9LoU/soscleaner-3125813513575232.tar.gz
By executing the agent, you can see the list of commands that will be skipped, as specified in the remove.conf file).
In addition, we'll inspect each of the previous commands and files from the
tar.gzfile:
[root@gherkin soscleaner-3125813513575232]# cat insights_commands/hostname host0 [root@gherkin soscleaner-3125813513575232]# cat proc/cpuinfo cat: proc/cpuinfo: No such file or directory [root@gherkin soscleaner-3125813513575232]# cat etc/hosts cat: etc/hosts: No such file or directory [root@gherkin soscleaner-3125813513575232]# cat insights_commands/ethtool_eno1 cat: insights_commands/ethtool_eno1: No such file or directory [root@gherkin soscleaner-3125813513575232]# cat insights_commands/mount cat: insights_commands/mount: No such file or directory [root@gherkin soscleaner-3125813513575232]# cat insights_commands/uptime cat: insights_commands/uptime: No such file or directory
And finally, let's verify how patterns also work with the example of the sshd configuration:
[root@gherkin soscleaner-3125813513575232]# cd etc/ssh/ [root@gherkin ssh]# ls sshd_config [root@gherkin ~]# grep -E '[P|p]assword' sshd_config
Wrapping up
Red Hat Insights has been designed to ensure that minimal, specific data is collected.
We encourage customers to check what is collected with the
--no-uploadoption prior to making modifications.
Find out more
If you want to know about the patterns and files and commands Insights collects data from as well as the the whole list of files and commands that are used to collect data from, you can take a look at this document.Posted: 2018-05-29T19:35:47+00:00
Red Hat Management & Automation with Insights at Red Hat Summit San Francisco 2018!
Hi again everyone, I'm Will Nix, Technical Evangelist for Red Hat Management & Automation and I'm headed into my 7th year here at Red Hat. I'm really excited for everyone to join us this year at Red Hat Summit 2018 in San Francisco's Moscone center.
For the past several years I've presented at Summit, and again this year I'll be presenting in several sessions, labs, and workshops. Check out a really brief description below and join me! Sign up for the events in your Red Hat Summit app, and don't forget to give us feedback on how the sessions went!
Check out a list of all sessions where we'll be spreading the proactive systems management goodness here::
Session: Smarter infrastructure management with Red Hat Satellite & Red Hat Insights on Tuesday, May 8 at 10:30 AM - 11:15 AM Learn how to integrate Satellite and Insights systems managment with prescriptive analytics to prevent unplanned downtime and enable secure deployments in your clouds and datacenters. Session: Operations risk remediation in highly secure infrastructures on Tuesday, May 8 at 11:45 AM - 12:30 PM For customers who are operating in connected highly secure environments and want to take advantage of Red Hat's prescriptive analytics and systems management service, Red Hat Insights. Mini-session: Monitor and automate infrastructure risk remediation in 15 minutes or less on Tuesday, May 8 at 3:55 PM - 4:15 PM A quick 15 minute session on the fastest way to begin monitoring risk in your Red Hat infrastructure. Lab: Implementing proactive security and compliance automation on Wednesday, May 9 at 10:00 AM - 12:00 PM Replay: Implementing proactive security and compliance automation on Wednesday, May 9 at 1:00 PM - 3:00 PM Join us in this lab to see how to use various Red Hat management and platform technologies to automate security in your environments. Lab: Integrated management with Red Hat technologies on Thursday, May 10 at 10:45 AM - 12:45 PM Choose your own adventure with each of Red Hat's Management technologies in this integrated lab, highlighting Red Hat CloudForms, Red Hat Ansible Tower, Red Hat Insights, and Red Hat Satellite. BYOD Workshop: Red Hat Satellite and Red Hat Insights test drive on Thursday, May 10 at 1:45 PM - 3:45 PM Bring your own laptop and login to a virtual lab environment where you can test drive Red Hat's latest Satellite 6 to quickly learn how to do content management and prescriptive analytics.
One more thing! Drop by the Red Hat Management and Automation booth to check out demo's of Red Hat Ansible Automation technology, Satellite, CloudForms, and Insights. Let us know how we can help you better manage your mission critical environments.
Thanks, and see you there!
-WillPosted: 2018-05-01T15:21:09+00:00
Insights 102
Before we begin...
Before we begin with how to configure Red Hat Insights to be tailored to your needs (in terms of controlling what is sent to Red Hat servers and how it is sent) let me please remind you of the very basics of Red Hat Insights…
Can I control what Red Hat Insights is doing behind the curtains?
Absolutely!
Red Hat Insights collects metadata about the runtime configuration of a system. The data collected is 1% of what would be collected via sosreport during a support case. The data collected is a subset of an sosreport, so if a sosreport has been approved for usage, Insights data collection should also be acceptable.
The Red Hat Insights tool allows customers to review the data being collected by use of a
--no-uploadparameter. This runs the Insights client & collection, but does not transmit it to Red Hat for analysis. This collection is stored locally in a temporary directory where it can be inspected.
# ls -lh /var/tmp/TAFHhW/insights-amaya-insights2-20180129165816.tar.gz -rw-r--r--. 1 root root 138K Jan 29 16:58 /var/tmp/TAFHhW/insights-amaya-insights2-20180129165816.tar.gz # ls -lh /var/tmp/sosreport-amaya-insights2-20180129165924.tar.xz -rw-------. 1 root root 12M Jan 29 16:59 /var/tmp/sosreport-amaya-insights2-20180129165924.tar.xz
That data is sent to Red Hat’s servers over SSL and compared to our Support Knowledge Database, looking for matches, and results sent back to customer, in the form of actions, where they are displayed.
Insights on Red Hat Insights
Red Hat Insights requires Python-2.6.6-64 or later, being its main configuration file:
/etc/redhat-access-insights/redhat-access-insights.conf
Red Hat Insights registration will auto-detect how the system is registered for software updates and can auto-configure the client based on that information. For auto-configuration, CERT is the default authmethod. Otherwise, authmethod can be set to BASIC, requiring a username and password for the target Insights server (Customer Portal or Satellite).
Red Hat Insights uses Satellite server as a Proxy to send diagnostic data to the Customer Portal so requires a connected environment.
Log files
The log file can be found at
/var/log/redhat-access-insights/redhat-access-insights.log. The logs rotate each time data is successfully collected, to
.log.1,.2,.n,so be aware that if an upload has occurred since the case was opened, relevant logs might now be in a different file.
The log file records the process of collecting data and uploading that data to the Insights server.
I still want to control more of it
Well, you can!
Insights can be configured by the customer to further restrict what's collected / sent, and optionally to obfuscate hostname and / or IP addresses from reports if desired. Customers can always look at the source code directly from the rpm - everything is made available for their perusal.
All data is trimmed down to the minimal necessary facts before being uploaded and encrypted both in transit and at rest. The customer may also choose to alter the name chosen to represent the system in the UI (eg,
apache01.prodinstead of a fully qualified domain name).
Customers can opt-out of sending any data they wish to the service via a configuration blacklist. The service will continue to function, and only health checks which depend on that specific piece of data will be impacted.
The Insights client will enable customers to ignore any specific file, keyword or pattern, making data redaction easy to use.
The data collected is sent over a secure TLS / https connection. It's encrypted at rest on Red Hat's systems using LUKS encryption, and is kept only until the next report is received, which by default is 24 hours. If another report doesn't arrive in the scan interval period, the data on file (encrypted) is kept for a maximum of 2 weeks and then deleted from our systems.
The Red Hat Insights client also provides an easy parameter to obfuscate hostname and IP information. The actual hostname and IP information is replaced with consistent obfuscated names sufficient for rule analysis.
How is data collected?
As new Insights rules are identified, there may be a need for additional metadata collection for analysis and detection. The list of System Information collected by Red Hat Insights is updated on an as-needed basis. The Red Hat Insights client, upon running, pings Red Hat to determine if any additional metadata is needed for rules which have been introduced since the last run. For example, if a new malware check is added, Insights may need to inspect new data sources to determine if a system is impacted.
This automatic check is enabled by default to ensure customers get all new rules and proactive alerts for their system. This ping to Red Hat can be disabled and manually updated via rpm version; however, this may cause customers to miss out on new health checks which depend on new information.
When Red Hat updates the collection rules, the rules are GPG signed by the redhat-tools GPG key. The Insights client will immediately abort if this signature cannot be verified. This file is also manually inspected carefully before each update is released.
Some examples
These are some of the files Red Hat Insights collects and sends to be processed:
/etc/redhat-release /proc/meminfo /var/log/messages
Do not worry! we do not collect the entire messages file, but rather the lines that match a potential rule (i.e. page allocation failure).
Or some of the commands we run:
Commands:
/bin/rpm -qa /bin/uname -a /usr/sbin/dmidecode
If you want to know the whole list of commands run and data collected you can take a look at this document.
As said, main configuration file is
/etc/redhat-access-insights/redhat-access-insights.conf, and it’s a very usual ini type of file with # delimited comments, let’s take a brief look at it:
[root@server ~]# cat /etc/redhat-access-insights/redhat-access-insights.conf # Example options in this file are the defaults # Change log level, valid options DEBUG, INFO, WARNING, ERROR, CRITICAL. Default DEBUG #loglevel=DEBUG # Log each line executed #trace=False # Attempt to auto configure with Satellite server #auto_config=True # Change authentication method, valid options BASIC, CERT. Default BASIC #authmethod=BASIC # username to use when authmethod is BASIC #username= # password to use when authmethod is BASIC #password= [...]
To obfuscate your IP addresses, simply add the line:
obfuscate=True
Or to obfuscate hostnames, simply add the line:
obfuscate_hostname=True Blacklist
And addding items to the blacklist is as simple as using
/etc/redhat-access-insights/remove.conf
Wrapping up...
We know you are concerned about the security of your data, yet there are times when it needs to be shared to provide the best capabilities for optimization and management. For this reason I wanted to let you know that the team here at Red Hat understands, and has worked hard to provide you with powerful tools that keep your data safe.
Wanna know more?? Find more info here.Posted: 2018-02-19T17:58:15+00:00
InsightsPosted: 2018-02-08T15:10:40+00:00
January 2018 service release: A new year, a new look... and webhooks!
Happy New Year! One way to get this new year started off right is to get started preventing some of the problems and downtime you may have experienced over the holidays. Using Insights can help future proof your infrastructure with integrated Ansible automation and a report on which systems you still need to patch for vulnerabilities like Meltdown and Spectre. Click here to see if you have systems that are missing the latest patches for these critical vulnerabilities.
Latest release
We're pleased to announce the latest service release of Red Hat Insights.
Read below for more information or check out the new features and let us know your thoughts by using the "Provide Feedback" button from within the Insights UI in the top right.
For more information about the latest Insights release, refer to our Red Hat Insights Release Notes.
Newest features:
User Interface Layout
In an effort to ease workflow and visibility throughout the Insights application we are shifting to a full screen application mode. This both frees up valuable screen space to more efficiently bring you the latest information on critical threats to your infrastructure, and gives us some more room to continue to add features that you request. Remember, keep the feedback coming, there's a provide feedback button at the top of the user interface.
Webhooks for integration
Insights has now enabled our Webhook integration for custom alerts and notifications. Many of the Incident Management and response services that are used today allow for Webhook consumption which allows for Insights notifications in the tools and workflows you already use. For more information on getting Webhooks configured, please visit Understanding Red Hat Insights - Webhook Integration.
Our engineers, for internal demo purposes, integrated Insights Webhooks functionality with the Slack messaging service. This example allowed for our teams to be notified in chat immediately when new critical issues had been identified on our registered hosts with Insights. For those interested our example code for this integration is online at:
Please note, this is example code and is not officially supported by Red Hat.
CI/CD workflow examples
We previously added support for Jenkins and CI/CD workflow integration and now we have published some quick start example code. This code is available at and we will have additional related materials coming soon right here on our blog.
Please note, this is example code and is not officially supported by Red Hat.
Newest rules widget
And to wrap up what's new in this service release, we've added a new widget to the UI with the latest rule additions to the Insights service. Since rules are constantly being added to Red Hat Insights on a regular basis you can now stay up to date with the latest additions on the Overview page. Additional filtering controls around when a rule was added have also been added to our rules page.
Thanks for your feedback and helping continue to improve the Insights service. Have a great new year!
WillPosted: 2018-01-10T00:11:44+00:00 | https://access.redhat.com/blogs/insights | CC-MAIN-2019-18 | refinedweb | 6,597 | 52.39 |
Details
- Type:
Bug
- Status:
Resolved
- Priority:
Major
- Resolution: Fixed
- Affects Version/s: JRuby 1.7.0.pre1
- Fix Version/s: JRuby 1.7.0.pre2
- Component/s: None
- Labels:None
- Number of attachments :
Description
Yielding no values to a block with |(a, b)| throws Java::JavaLang::ArrayIndexOutOfBoundsException.
This is tested in rubyspec/language/block_spec:
Assume there's a method z:
def z yield end
and it is called:
@y.z {|(a, b)| [a, b]}
where @y is an instance with the z method. In MRI, this returns [nil, nil]. In jruby, it throws a Java exception.
Appears to be working fine now. Marking as fixed in pre2. | http://jira.codehaus.org/browse/JRUBY-6124 | CC-MAIN-2014-15 | refinedweb | 107 | 69.68 |
can use this module with the following in your
~/.xmonad/xmonad.hs:
import XMonad import XMonad.Hooks.DynamicLog
If you just want a quick-and-dirty status bar with zero effort, try
the
xmobar or
dzen functions:
main = xmonad =<< xmobar myConfig myConfig = defaultConfig { ... }
There is also
statusBar if you'd like to use another status bar, or would
like to use different formatting options. The
xmobar,
dzen, and
statusBar functions are preferred over the other options listed below, as
they take care of all the necessary plumbing -- no shell scripting required!
Alternatively, you can choose among several default status bar formats
(
dynamicLog)) { ... }
The intent is that the above config file should provide a nice status bar with minimal effort.
If you wish to customize the status bar format at all, you'll have to
use the
statusBar function instead.
The binding uses the XMonad.Hooks.ManageDocks module to automatically handle screen placement for dzen, and enables 'mod-b' for toggling the menu bar.. Useful to remove ppHidden color from ppUrgent field. For example:
, ppHidden = xmobarColor "gray20" "" . wrap "<" ">" , ppUrgent = xmobarColor "dark orange" "" . xmobarStrip
Arguments
Use dzen escape codes to output a string with given foreground and background colors.
dzenEscape :: String -> StringSource
Escape any dzen metacharacters.
dzenStrip :: String -> StringSource
Strip dzen formatting or commands. Useful to remove ppHidden formatting in ppUrgent field. For example:
, ppHidden = dzenColor "gray20" "" . wrap "(" ")" , ppUrgent = dzenColor "dark orange" "" . dzenStrip | http://hackage.haskell.org/package/xmonad-contrib-0.9.1/docs/XMonad-Hooks-DynamicLog.html | CC-MAIN-2016-40 | refinedweb | 231 | 51.24 |
28 June 2012 12:51 [Source: ICIS news]
SINGAPORE (ICIS)--JX Nippon Oil & Energy Corp has delayed the restart of its 200,000 tonne/year benzene unit in Chiba following a scheduled turnaround due to technical issues, a source at the Japanese aromatics major said on Thursday.
The plant was initially expected to restart production by the end of June, but this has been delayed to 10 July, the source added.
Due to the prolonged shutdown, the producer has slightly less benzene supply at present, he said.
Meanwhile, the company was on track to resume production at its 90,000 tonne/year benzene unit in ?xml:namespace>
The producer also restarted production at the 120,000 tonne/year Oita-based benzene facility from 15 June and was currently running the unit at 100%, he said.
The Oita-based plant was also shut from 15 May for scheduled maintenance.
JX Nippon Oil is the largest benzene | http://www.icis.com/Articles/2012/06/28/9573668/japans-jx-nippon-oil-delays-chita-benzene-restart-on-tech-issues.html | CC-MAIN-2014-52 | refinedweb | 155 | 59.03 |
I've run into a very illusive problem using a singleton in one of my programs. It appears that the singleton is being "destroyed." When it is referenced, a null reference exception is generated. To validate that this is actually what was going on, I temporarily changed the code so I could create individual instances of the class. When I did that, there was never a null reference exception.
Even more strange, this does not happen on all computers. The problem first became apparently when the software was installed on a client's note book. This particular machine is working on vista, thought our DEV machines are on vista we are not able to have this problem. And I see the same problem occuring in all Windows 7 machines. Initially, it had all the security features enabled and some virus protection. I disabled all of that, but the problem still persisted.
Does anyone have any ideas on what might be causing this? The code is posted below. Thanks for the assistance everyone.
using System;using System.IO;using trs.meta;
namespace trs.meta{ /// <summary> /// Singleton class that provides a facility to create /// (highly probable) globally unique row values. /// </summary>
MSDN Magazine February 2003)
Given, a viewmodel referred to in a UserControl reource like this:
<UserControl.Resources>
<local:MainVM x:</local:MainVM>
</UserControl.Resources>
Everything works great with respect to finding resources etc.
Now the usercontrol has bindings like this:
<DataGrid
DataContext="{Binding Sour
Hi"?
Thanks..
I have a WCf service library.
public class classA
{
object obj;
public void methodA(value)
obj = value;
}
public object MethodB()
return obj;
I have not set any attributes on the ServiceBehavior, so by default it is PerSession and Concurrency is set to Single.
When I call methodA and set the value for obj, and later call MethodB I always get null. I wish to propogate the value of obj throughout the service, and I cannot use Singleton.
How to retrieve obj from MethodB when methodA sets it?
Furthermore, I created a test function
public int Test()
{
test += 1; // where test is declared as int test =0;
return test;
}
But every time I call i get 1. Shouldn't a per session instancemode increment the value???.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend | http://www.dotnetspark.com/links/65749-singleton-being-destroyed.aspx | CC-MAIN-2017-43 | refinedweb | 385 | 58.48 |
I am just starting to get into python and I am utterly confused as to how object creation works. I am trying to create user interface with GTK. Here is an example of the problem I am having:
from gi.repository import Gtk
def button_clicked(self, button):
self.button_label = button.get_label()
if self.button_label == "Login":
window.quit()
window2.start()
class LoginWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title="AMOK Cloud")
self.connect("delete-event", Gtk.main_quit)
self.set_position(position = Gtk.WindowPosition.CENTER)
# Button
self.loginbutton = Gtk.Button(label="Login")
self.loginbutton.connect("clicked", button_clicked(self, self.loginbutton))
self.add(self.loginbutton)
self.show_all()
Gtk.main()
def quit(self):
self.close()
Gtk.main_quit()
class MainWindow(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title="AMOK Cloud")
self.connect("delete-event", Gtk.main_quit)
self.set_position(position=Gtk.WindowPosition.CENTER)
def start(self):
self.show_all()
Gtk.main()
window = LoginWindow()
window2 = MainWindow()
It is because you are starting the main loop (
Gtk.main()) inside of
LoginWindow.__init__(). That means that the
window = LoginWindow() line doesn't finish executing until after the login window is closed. You should take
Gtk.main() outside of the
__init__ method, and move it to the last line in the file. As mentioned by PM 2Ring in the comments, you don't need to call
Gtk.main() twice. Take it out completely in
MainWindow.start() because the one now added to the last line in the file takes care of that. Also mentioned by PM,
connect() calls a function when an event happens. When you give it
button_clicked(...), that function is called and you are actually telling
connect() to call whatever is returned,
None. If you want special arguments, use a
lambda, but you aren't even changing anything (those are the default arguments anyway), so you can simply do this:
self.connect("clicked", button_clicked)
I would also suggest that instead of making
button_clicked a separate function, make it a static method of the class. You do that by placing it inside the class, but with
@staticmethod just above the
def line. That way, it makes sense for it to take the
self argument, but you don't need two parameters to account for the same window. | https://codedump.io/share/fivPFPCkpVLT/1/python-gtk-3-window-is-not-defined-class-instancing-confusion | CC-MAIN-2016-50 | refinedweb | 371 | 53.17 |
Manage Function Metadata TOML Files
Each Function must provide a
project.toml TOML file that contains metadata for your Function, such as a description for the Function. This file should be located in your
<project root>/functions/<function name> directory.
The
generate:function command (or
SFDX: Create Function from VS Code) will automatically create a template
project.toml file in the appropriate directory with some basic information.
The schema for the fields in
project.toml follows the schema for the Cloud Native Buildpacks project descriptor, but extended with a Salesforce-specific section and fields. Sections from the Cloud Native Buildpacks project descriptor are namespaced using "_" in place of "project", so
[project] becomes
[_],
project.licenses becomes
_.licenses,
metadata becomes
_.metadata, etc.
For Functions, the following tables and fields are relevant:
The following is an example
project.toml for a Function:
For details on the general TOML file format, see toml.io | https://developer.salesforce.com/docs/platform/functions/guide/toml | CC-MAIN-2022-33 | refinedweb | 154 | 51.04 |
Library Interfaces and Headers
- data returned by stat system call
#include <sys/types.h> #include <sys/stat.h>
The system calls stat(), lstat() and fstat() return data in a stat structure, which is defined in <stat.h>.
The constants used in the st_mode field are also defined in this file:
The following macros are for POSIX conformance (see standards(5)):
The following symbolic constants are defined as distinct integer values outside of the range [0, 999 999 999], for use with the futimens() and utimensat() functions:
#define UTIME_NOW use the current time @define UTIME_OMIT no time change
See attributes(5) for descriptions of the following attributes:
futimens(2), stat(2), types.h(3HEAD), attributes(5), standards(5) | http://docs.oracle.com/cd/E26505_01/html/816-5173/stat.h-3head.html | CC-MAIN-2016-22 | refinedweb | 117 | 50.36 |
Jason, I apologize that I don't have much time to participate in this discussion, but I will try to summarize my thoughts. * I don't think that changing IPython's line/cell magic syntax is on table right now. * I think the syntax you are proposing has a leaky abstraction that will come back to bite you: By having the syntax 1/2 python and 1/2 unrestricted strings, you are going to be continually forced to make decisions about which things go where: Why not this: %timeit() -n1 -r1 myfunction() * I also think your proposed syntax completely misses the point of magics - namely to allow non-python syntax for quick and easy interactive usage. If you are not doing that with magics, then why not just use pure python and regular functions/classes with no "%" at all. * I agree with the namespace pollution thoughts that Fernando mentioned. Cheers, Brian On Sat, Feb 16, 2013 at 5:52 PM, Jason Grout <jason-sage at creativetrax.com> wrote: > On 2/16/13 7:35 PM, Thomas Kluyver wrote: >> On 17 February 2013 01:26, Jason Grout <jason-sage at > > _______________________________________________ > IPython-dev mailing list > IPython-dev at scipy.org > -- Brian E. Granger Cal Poly State University, San Luis Obispo bgranger at calpoly.edu and ellisonbg at gmail.com | https://mail.python.org/pipermail/ipython-dev/2013-February/010052.html | CC-MAIN-2022-33 | refinedweb | 218 | 68.4 |
20 August 2004 17:25 [Source: ICIS news]
LONDON (CNI)--Aricom, a new London-based titanium dioxide (TiO2) group with its sights on the Russian and Chinese markets, said Friday that it will decide before the end of the year which of two locations will be used to build its first TiO2 production plant.
A site near the town of Tynda in the far eastern corner of Russia or a site in eastern Siberia are being considered as locations for a 50 000 tonne/year plant, Tom Swithenbank, Aricom’s British chief executive, told CNI. Swithenbank said it was planned to begin production by 2008.
The German engineering company Ferrostaal Agi has carried out the feasibility study on the proposed new plant. And Sachtleben, also from Germany, is providing technical advice.
Aricom, spun out of Peter Hambro Mining in 2003, has access to Russia’s Kuranakh titanium ore deposit in the Amur region through its 74% ownership of Olekminsky Rudnik (Olekma), which owns the mining licence.
Aricom released it first interim financial results on Thursday after listing on the Alternative Investment Market (Aim) of the London Stock Exchange in December last year.
The group said it had raised $7.7m (Euro6.2m) through the issue of ordinary shares during the period from its incorporation on 12 September 2003 until 30 June 2004. It made a loss of $1.97m for the period which equates to a loss per ordinary share of $0.03. However, it has in excess of $6m available funding, it said.
On 31 December last year, the group acquired 100% of Russian Titan Company (RTC) based in Cyprus and, through RTC, acquired 100% of Chemelt, a trading and distribution company for TiO2 based in Moscow and 74% of Olekminsky Rudnik.
Aricom's $1.97m loss in the period to 30 June was made on a turnover of $1.48m. The figures include Chemelt from the date of acquisition.
?xml:namespace>
Swithenbank said: “The first half year following the admission of the company to Aim has been a period of rapid progress for the company. During this time, we have evaluated a number of options for the future direction of the group and are confident that our strategy will deliver a major advancement of Aricom’s TiO2 | http://www.icis.com/Articles/2004/08/20/606965/aricom-to-decide-this-year-on-new-tio2-plant-in-russia.html | CC-MAIN-2014-52 | refinedweb | 379 | 58.21 |
> As regards the prefix versus attribute debate, I would
> prefer to use a prefix.
>
> (1) <script language="javax:javascript">
> print("Hello world\n");
> </script>
>
> (2) <script language="javascript" manager="javax">
> print("Hello world\n");
> </script>
>
> (1) is I think nicer.
The reason I don't like (1) is that it makes it look like an XML
namespace prefix, while it's not. This is main point of my objection.
It's kinda similar to my push to not use the ${NAME} syntax in
<macrodef>, but the different @{NAME} one. I really would like us to
avoid *overloading* the meaning of notations in Ant build files, which
are XML as of now, and thus should strive to respect as much as
possible XML's tenets.
Here are alternative notations, for example:
javascript@javax ==> too email like
javax/javascript
javascript[javax]
javax+javascript
etc...
Actually, I kinda like the javax+javascript one. As I've written a few
times, as the _talker_ rather than the _doer_, I wouldn't -1 the
javax:javascript, if others feel it's the best one, but I think it's a
bit confusing and misleading in an XML file. --DD
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org | http://mail-archives.apache.org/mod_mbox/ant-dev/200611.mbox/%3C255d8d690611301406g63e4f391k27d489a52a92faee@mail.gmail.com%3E | CC-MAIN-2015-48 | refinedweb | 213 | 63.19 |
Dynamically detecting features with API contracts (10 by 10)
Brent Rector, a principal program manager on Windows helped write this post.
The Universal Windows Platform (UWP) allows you to write your app once and target multiple device families, while also taking advantage of new APIs introduced on later versions of the OS as well as using unique APIs only present on certain device families. Apps that adapt their behavior for different devices or OS versions are called apps are called “adaptive apps”. There are three possible adaptive dimensions for most apps:
- Responsive user interface
- Version adaptive
- Platform adaptive
Last week we went through how responsive design can help tailor your app to the screen size. This week, we’ll focus on the remaining two adaptive dimensions.
Most adaptive apps will likely be version adaptive. For example, you may want your app to use some newer APIs that are only present on devices running different versions the UWP, while continuing to support customers who haven’t upgraded yet.
Some adaptive apps will want to be platform adaptive. Again, your app may be built for all device families, but you may want to use some mobile-specific APIs when it’s running on a mobile device. And similarly for other device families, such as IoT, HoloLens, Xbox, etc.
While this article will describe the ways in which your app can become version or platform adaptive, with Windows 10, 85% of UWP APIs are fully accessible to any app, independent of where it runs. This Universal Windows API set makes up 96.2% of the APIs used by the top 1000 apps. You can take advantage of the specialized APIs on each device to further tailor your app.
Detect features, not OS or devices
The fundamental idea behind adaptive apps is that your app checks for the functionality (or feature) it needs, and only uses it when available. The traditional way of doing this is by checking the OS version and then use those API. With Windows 10, your app can check at runtime, whether a class, method, property, event or API contract is supported by the current operating system. If so, the app can then call the appropriate API. The ApiInformation class located in the Windows.Foundation.Metadata namespace contains several static methods (like IsApiContractPresent, IsEventPresent, and IsMethodPresent) which are used to query for APIs. Here’s an example:
using Windows.Foundation.Metadata; if(ApiInformation.IsTypePresent("Windows.Media.Playlists.Playlist")) { await myAwesomePlaylist.SaveAsAsync( ... ); }
This code
- makes a runtime check for the presence of the Playlist class, then
- statically references and calls the SaveAsAsync method on the class.
Note the ease of checking for the presence of a type on the current operating system using the IsTypePresent API. Formerly, such a check might have required LoadLibrary, GetProcAddress, QueryInterface, Reflection, use of the ‘dynamic’ keyword, and others, depending on language and framework.
Also note the static reference when making the method call. When using Reflection and/or ‘dynamic’, you lose static compile-time diagnostics that would, for example, inform you if you misspelled the method name.
Detecting with API contracts
So what’s an API contract? At describes the variety of API contracts available. You’ll see that most of them represent a set of functionally related APIs.
But the grouping into an API contract also provides you, the developer, some additional guarantees. The most important one is that when a platform implements *any* API in an API contract, we require that platform to implement *every* API in that API contract. In other words, an API contract is an atomic unit, and testing for support of that API contract is equivalent to testing that each and every API in the set is supported.
What does this mean for your app?
It allows your app to test whether the running OS supports a particular API contract and, after determining it does, call any of the APIs in that API contract without checking each one:
if (ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract"), 1, 0) { // All APIs in the UniversalApiContract version 1.0 are available for use }
Right now this is a slightly silly check. All devices that run Windows 10 support version 1.0 of the UniversalApiContract. But with the next major update of Windows 10, we may introduce additional APIs, creating a version 2.0 of the UniversalApiContract and adding those new universal APIs to it. An app that wants to run on all devices, but also wants to use new APIs introduced in version 2.0 when available, could use the following code:
if (ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract"), 2, 0) { // This device supports all APIs in UniversalApiContract version 2.0 }
Of course, if your app only needed to call one single method from version 2.0, it could simply check for the method using IsMethodPresent. Use whichever approach you find the easiest.
There are other API contracts besides the UniversalApiContract. Most of them represent a feature/set of APIs not universally present on all Windows 10 platforms (else we’d add the APIs to the UniversalAPIContract). Instead, the APIs in such API contracts are present on one or more device families, but not all of them. As mentioned previously, you no longer need to check for a particular type of device, then infer the support for an API from the device family. Simply check for the set of APIs your app wants to use.
I can now rewrite my original example to check for the presence of the Windows.Media.Playlists.PlaylistsContract instead of just checking for the present of the Playlist class:
if(ApiInformation.IsApiContractPresent("Windows.Media.Playlists.PlaylistsContract"), 1, 0) { // Now I can use all PlayList APIs }
Any time your app needs to call an API that isn’t present across all device families, you need to add a reference to the appropriate Extension SDK that defines the API. In Visual Studio 2015, go to the Add Reference dialog and open Extensions tabs. Today you can find the three most important extensions there: () tells me what API contract the class is in. But what Extension SDK(s) define(s) it?
As it turns out, the Playlist class is (currently) only available on Desktop devices, not Mobile, Xbox, and other device families. (Though that could change in a future release!) So you need to add a reference to the Desktop Extension SDK before any of the prior code compiles.
Lucian Wischik created a tool that analyzes your code and when your code calls into a platform-specific API, the analyzer verifies that you’ve done an adaptivity check around it — if you haven’t then it reports a warning. It also provides a handy “quick-fix” to insert the correct check, by pressing Ctrl+Dot or clicking on the lightbulb. See for more details. It can also be installed via NuGet if you search for it.
Let’s wrap up by looking at some more complete examples of adaptive coding for Windows 10. First,); }
The example below verifies that this a safe call before executing code with the API. This will prevent runtime crashes. (The PlatformSpecific analyzer will catch issues like this in your code.)); //); } }
We are now verifying that the optional API is actually supported on this device before calling the appropriate method. Note that you’ll likely want to take this example further and never even display the UI that calls the CreatePlaylist method if your app detects that playlist functionality isn’t available on the device.
Here is another example. We’ll assume our app wants to take advantage of a Mobile device’s dedicated camera button. If I directly referenced the HardwareButtons object for the CameraPressed event while on a desktop without checking that HardwareButtons is present, my app would crash.
// Note: Cache the value instead of querying it more than once. bool isHardwareButtonsAPIPresent = Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons"); if (isHardwareButtonsAPIPresent) { Windows.Phone.UI.Input.HardwareButtons.CameraPressed += HardwareButtons_CameraPressed; }
Want to learn more? Brent Rector has a great talk on API Contracts from Build 2015. And MVA has a topic on “A Developer’s Guide to Windows 10” on adaptive code that covers this topic in more detail.
Wrapping up
With week 6 of our Windows 10 by 10 development series wrapped up, we hope you try the DVLUP Quiz challenge Adaptive APIs and earn XP and points for the API contracts. Next week, we’ll continue with app to app communication talking about how you can have your app talk to another app.
For now, head on over to DVLUP for Reach us on Twitter via @WindowsDev and #Win10x10 in the meantime, telling us how you plan to use API contracts!
Quick references:
- Build 2015 API Contracts Session
-
-
-
-
Updated September 15, 2015 11:25 am
Join the conversation
This all is useless because of a silly bug in .Net Native toolchain which prevents you from development using both Desktop and Mobile extensions simultaneously:
And it looks like MS doesn’t hurry to fix this ASAP.
This was fixed with Visual Studio Tools for Universal Windows Apps (v1.1) released on 16 September 2015.
I like the direction taken with the API contracts and look forward to explore them with some universal apps for desktop and some of the new devices (as soon as I can afford them).
I know the current version of Xbox One doesn’t support picking folders. I mean
var picker = new Windows.Storage.Pickers.FolderPicker();
var pfolder = await picker.PickSingleFolderAsync();
but I can’t find a way to detect it properly. So far I can disable this feature (which is my intention) checking if the app is running on Xbox, but if in a future the feature is implemented my app won’t work due to my workaround.
How should I use these adaptive api’s for my scenario?
Regards,
Alvaro.
There is one problem that I encountered by following the post. I was dynamically detecting for UniversalApiContract v4. However, when the code was running on .NET 4.5 classic desktop app (manifested for Windows 10 Runtime), there was an exception about “Windows Runtime-type XXXXX is not found”.
Turned out that the when inlining the contract-specific call in the IF that checks for contract presence, then it will throw exception.
So, the following is WRONG:
public void DoContractSpecificStuff()
{
if(ApiInformation.IsApiContractPresent(“Windows.Foundation.UniversalApiContract”, 4))
{
GattCharacteristicsResult gatt = … Do some v4 stuff with GattCharacteristicsResult
}
else
{ /* Do <v4 stuff*/ }
}
It needs to be coded in the following way instead:
public void DoContractSpecificStuff()
{
if(ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 4))
{
DoContractV4Call();
}
else
{ /* Do <v4 stuff*/ }
}
public void DoContractV4Call()
{
GattCharacteristicsResult using code goes here
}
I think I understood why .NET was trying to load the GattCharactersiticsResult class even though the IF condition was not satisfied. The problematic code was actually placed in an ASYNC method. Due to that, the compiler was turning the async method into that tricky async nested class needed to do the dirty job of the await. By doing so it was transforming the code in such a way, that GattCharactersiticsResult field was getting loaded on method call, despite the fact that execution path was not hitting the specific GattCharactersiticsResult field at all. | https://blogs.windows.com/buildingapps/2015/09/15/dynamically-detecting-features-with-api-contracts-10-by-10/ | CC-MAIN-2017-51 | refinedweb | 1,864 | 54.52 |
I'm trying outject a value to use with a h:selectBooleanCheckbox
In my Stateful bean I have...
@Out(required=false) private Boolean myBooleanFlag; @Factory public Boolean getMyBooleanFlag() { //init method is normally right here return myBooleanFlag; }
and my select looks like...
<h:selectBooleanCheckbox<h:outputText> Same as Previous</h:outputText>
The factory method triggers just fine, but the value is never set on a change. So basically I can init it, but I cannot seem to change the value. I'm in the same conversation. I'm stumped - perhaps I'm just overlooking something.
The value didn't seem to work at all as a
boolean vs.
Boolean. It also did not work if the factory name was isMyBooleanFlag - it had to be getMyBooleanFlag.
I'm not sure where to look next. What am I doing wrong here?
A value binding (read
the value attribute of a jsf component) needs a property with a getter and setter like this:
@Name("myBean") public class MyBean implements Serializable { private Boolean myFlag; public Boolean getMyFlag() { if(myFlag == null) { // init } return myFlag; } public void setMyFlag(Boolean myFlag) { this.myFlag = myFlag; }
<h:selectBooleanCheckbox value="#{myBean.myFlag}" ... | https://developer.jboss.org/thread/182182 | CC-MAIN-2018-39 | refinedweb | 191 | 57.06 |
Important: Please read the Qt Code of Conduct -
QTBUG-54180 havn't been resolved in 5.9
In QTBUG-54180 described a bug about "QPainter drawText() combined with setFont() very slow". The Link is.
I think this bug havn't been resolved. If somebody can call the bug reporter Chris, please ask him the solution with this bug for me.
I use VS2015 and Qt5.9.0. When use QPainter drawText() combined with setFont(), I found it very slow at the first time after the widget new. The function of drawText() costs 300ms. Besides, I delete the widget, then new another one, and drawText() with setFont(). It costs longer and longer time.
To resolve this problem. I test Qt5.9.6, Qt5.9.7, Qt5.9.0, Qt5.6.2, Qt5.6.3 and Qt5.6.0. But no one can do it as better as MFC.
Qt5.6 is better then Qt5.9.
Who can help me? Thanks very much!
- aha_1980 Lifetime Qt Champion last edited by
The fix for QTBUG-54180 is contained in 5.9 and all upward versions. So I think your problem is something else.
Can you show us your code?
This post is deleted!
just an example code.
//// widget.h/////////////////////////
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QFont>
#include <QPen>
#include <QPaintEvent>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = nullptr);
~Widget();
private:
QString m_s1;
QString m_s2;
QString m_s3;
QString m_s4;
QFont m_Font; QPen m_Pen;
private:
Ui::Widget *ui;
protected:
void resizeEvent(QResizeEvent* event);
virtual void paintEvent(QPaintEvent* event);
};
#endif // WIDGET_H
///////////////////widget.cpp///////////////////////
#include "widget.h"
#include "ui_widget.h"
#include <QtFontDatabaseSupport/QtFontDatabaseSupport>
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
QString fontFile = "C:/Windows/Fonts/msyh.ttf";
int fontID = QFontDatabase::addApplicationFont(fontFile);
QString msyh = QFontDatabase::applicationFontFamilies(fontID).at(0);
m_Font = QFont(msyh);
m_Pen.setColor(QColor(255,0,0));
m_s1 = "test1";
m_s2 = "test2";
m_s3 = "test3";
m_s4 = "test4";
}
Widget::~Widget()
{
delete ui;
}
void Widget::resizeEvent(QResizeEvent* event)
{
QWidget::resizeEvent(event);
QRect rc = this->rect();
int iFontSize = rc.width() * 0.01 + 10;
m_Font.setPixelSize(iFontSize);
update();
}
void Widget::paintEvent(QPaintEvent* event)
{
QPainter painter(this);
painter.setPen(m_Pen);
painter.setFont(m_Font);
QRect painterRect = painter.window();
QTime t1;
t1.start();
painter.drawText(painterRect, Qt::AlignLeft | Qt::AlignVCenter, m_s1);
painter.drawText(painterRect, Qt::AlignRight | Qt::AlignVCenter, m_s2);
painter.drawText(painterRect, Qt::AlignBottom | Qt::AlignHCenter, m_s3);
painter.drawText(painterRect, Qt::AlignTop | Qt::AlignHCenter, m_s4);
qDebug() << t1.elapsed();
}
////////////////////main.cpp//////////////////////////////////////////
#include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.show();
return a.exec();
}
please help me
- dheerendra Qt Champions 2017 last edited by
Fact is that it is slow. You have following options.
- If the text what you are drawing is static(remains same always), then you can draw the text on the Pixmap and draw the pixmap in paintEvent(..). This way it will be one time performance issue.
- Using the GraphicsView & drawing the text may improve the performance
- If the bug fixed, you need to have that patch. It should work for you.
- JKSH Moderators last edited by
@Henry-Li said in QTBUG-54180 havn't been resolved in 5.9:
please help me
Please submit a report to.
In your report, include your test code and benchmarks (How fast was it in Qt 5.6? How fast was it in Qt 5.11?)
Note: The Qt developers will be more likely to investigate if you show that Qt 5.11 is slower than Qt 5.6.
@dheerendra Thanks very much. I will try the options. They are very helpful I thought.
@JKSH Yes, I want to report it. But for now, I have to do my work first. And mybe later, I will submit the porblem with more test code.
- dheerendra Qt Champions 2017 last edited by dheerendra
What I have noticed is that drawText(..) for the first time is slow. After that it is very fast. As work-around, you can try like follows. Add one dummy method drawMe() like this. Call this method once before you call show() method. So now drawText(..) inside paintEvent(..) will be fast. It hardly takes anytime. So performance issue is only at startup. After that it is nothing/negligible.
void MyWidget::drawMe() { pix = QPixmap(400,400); QPainter painter(&pix); QTime t1; t1.start(); QRect r2(100,100,100,100); painter.drawText(r2, Qt::AlignRight, "pthinks.com"); qDebug() << Q_FUNC_INFO << "Time Taken to Draw " << t1.elapsed(); } // === main.cpp ====== MyWidget w; w.drawMe(); w.show();
@dheerendra
Thank you. Your solution is good. But don't resolved my problem absolutely. My project is complicated and high-performance request. I still hope Qt itself can do it better.
Thank you again.
- aha_1980 Lifetime Qt Champion last edited by
Hi @Henry-L,
as said before, please comment at the bugreport if you want an improvement.
The discussion here will be forgotten in a couple of days. | https://forum.qt.io/topic/97276/qtbug-54180-havn-t-been-resolved-in-5-9/12 | CC-MAIN-2021-04 | refinedweb | 817 | 71.51 |
'ling)]]>
W.
Structured data on the web got a boost this week, with Google's announcement of Rich Snippets and Rich Snippets in Custom Search. Structured data at such a large scale raises at least three issues:
Google's documentation shows support for both microformats and RDFa. It follows the hReview microformat syntax with small vocabulary changes (name vs fn). Support for RDFa syntax, in theory, means support for vocabularies that anyone makes; but in practice, Google is starting with a clean slate: data-vocabulary.org. That's a place to start, though it doesn't provide synergy with anyone who has uses FOAF or Dublin Core or the like to share their data.
The policy questions are perhaps the most difficult. Structured data is a pointy instrument; if anyone can say anything about anything, surely the system will be gamed and defrauded. Google's rollout is one step at a time, starting with some trusted sites and an application process to get your site added. The O'Reilly interview with Guha and Hansson is an interesting look at where they hope to go after this first step; if you're curious about how this fits in to HTML standards, see Sam Ruby's microdata.
While issues remain--there are syntactic i's to dot and t's to cross and even larger policy issues to work out--between Google's rollout and Yahoo's searchmonkey and the UK Central Office of Information rollout, it seems that the industry is ready to take on the challenges of using structured data in search engines.
I had a pretty small data interchange problem the other day: I just wanted to archive some play lists that I had compiled using various music player daemon (mpd) clients. The mpd server stores playlists as simple m3u files, i.e. line-oriented files with a path to the media file on each line. But that's too fragile for archive and interchange purposes. I had a similar problem a while back with iTunes playlists. In that episode, I chose hAudio, an HTML dialect in progress in the microformats community, as my target.
Unfortunately, hAudio changed out from under me between when I started and when I finished. So this time, a simple search found the music ontology and I tried it with RDFa, which lets you use any RDF vocabulary in HTML*. I'm mostly pleased with the results:
-
The album names come before the track names because I didn't read enough of the the RDFa primer when I was coding; RDFa includes @rev as well as @rel for reversing subject/object order. See an advogato episode on m3uin.py for details about the code.
The Music Ontology was developed by a handful of people who staked out a claim in URI space (...) and happily took comments from as big a review community as they could manage, but they had no obligation to get a really global consensus. The microformats process is intended to reach a global consensus so that staking out a claim in URI space is superfluous; it works well given certain initial conditions about how common the problem is and availability of pre-web designs to draw from. Perhaps playlists (and media syndication, as hAudio seems to be expanding in scope to hMedia) will eventually reach these conditions, but the music ontology already meets my needs, since I'm the sort who doesn't mind declaring my data vocabulary with URIs.
My view of Web architecture is shaped by episodes such as this one. While giga-scale deployment is always impressive and definitely something we should design for, small scale deployment is just as important. The Web spread, initially, not because of global phenomena such as Wikipedia and Facebook but because you didn't need your manager's permission to try it out; you didn't even need a domain name; you could just run it on your LAN or even on just one machine with no server at all.
In an Oct 2008 tech plenary session on web architecture, Henri Sivonen said:
I see the Web as the public Web that people can access. The resources you can navigate publicly. I define Web as the information space accessible to the public via a browser.
If a mobile operator operates behind walls, this is not part of the Web.
I can't say that I agree with that perspective. I'm no great fan of walled gardens either, but freedom means freedom to do things we don't like as well as freedom to do things we do like. And architecture and policy should have a sort of church-and-state separation between them.
Plus, data interchange happens not just at planetary scale, but also within mobile devices, across devices, and across communities and enterprises of all shapes and sizes.
I've gone a little outside the scope of current standards; RDFa has only been specified for use in modular XHTML, with the application/xhtml+xml media type, so far.
See also:
I?]]>.
I could use some help getting my head around security for Web Applications and mashups.
The first time someone told me W3C should be working on specs help the browser prevent sensitive data from leaking out of enterprises, I didn't get it. "Use the browser as part of the trusted computing base? Are you kidding?" was my response. I didn't see the bigger picture. Crockford explains in an April 2008 item:
... there are multiple interests involved in a web application. We have here the interests of the user, of the site, and of the advertiser. If we have a mashup, there can be many more interests.
Most of my study of security protocols concentrated on whether a request from party A should be granted by party B. You know, Alice and Bob. Using BAN logic to analyze the Kerberos protocols was very interesting.
I also enjoyed studying capability security and the E system, which is a fascinating model of secure multi-party communication (not to mention lockless concurrency), though it seems an impossibly high bar to reach, given the worse-is-better tendency in software deployment, and it seemed to me that capabilities are a poor match for the way linking and access control work in the Web:
The Web provides several mechanisms to control access to resources; these mechanisms do not rely on hiding or suppressing URIs for those resources.:
This same sort of wrong-end-of-the-network thinking can be seen today in the HTML 5 working group's crazy XHR access control language.
Access Control for Cross-Site Requests is a mouthful, and "Access Control" is too generic, which leads to "W3C Access Control". Didn't we already go through this with "W3C XML Schema"? Generic names are awkward. I think I'll call it WACL... yeah... rhymes with spackle... let's see if it sticks. Anyway...
Crockford's comment cites his proposal and argues...
JSONRequest does not allow the server to abdicate its responsibility of deciding if the data should be delivered to the browser. Therefore, no policy language is needed. JSONRequest requires explicit authorization. Cookies and other tokens of ambient authority are neither sent nor delivered.
I'm not sure I understand that. I'm glad to learn there's more to the difference between XMLHttpRequest and JSONRequest than just <pointy-brackets> vs {curly-braces}, but I'd like to understand better how "ambient authority" relates to the interests of users, sites, advertisers, and the like.
In response, the FAQ in the WACL spec says:
JSONRequest has been considered by the Web Applications Working Group and the group has concluded that it does not meet the documented requirements. E.g., requests originating from the JSONRequest API cannot include credentials and JSONRequest is format specific.
Including credentials seems more like a solution than a requirement; can someone help me understand how it relates to the multiple interests involved in a web application?]]>
The
I don't particularly care for the rel="profile" design, but one should choose ones battles and I'm not inclined to choose this one. I'm content for the market to choose.]]>.
There are in principle three possible approachs to the spelling question:]).
ariaprefix and may not (i.e. in some browsers) correctly set the
namespaceURIproperty even when targetting an XML DOM.
[aria\:...]selectors.
If you should have questions or need further information, please feel free to contact me as well. I will be presenting the activity proposal during the Web Conference next week, on Thursday afternoon.]]>
You?
What does a version identifier convey?.
Is having some sort of version identifier always a good idea?.
Are namespaces a good way to identify language versions?.
Conclusions. Working drafts covering Terminology, Strategies, and Versioning of XML Languages are available for review. New drafts.
Links to Dave Orchard's Blog Postings on Versioning
No!
This issue was raised briefly on the TAG telcon of 11 October 2007, but I think we dismissed it too quickly.
The basic WebArch story about URIs, resources and representations makes sense to people because they can see the relationship between information resource ('the Oaxaca weather report') and representation (<html><title>Today's weather for Oaxaca</title>. . . ). When many web pages make extensive use of Javascript to compute the html that determines what you see on the screen, this relationship is weakened. It's not just human beings doing .]]> | http://www.w3.org/QA/tag_feed | crawl-002 | refinedweb | 1,572 | 62.07 |
IPersistFolder3::InitializeEx method
Initializes a folder and specifies its location in the namespace. If the folder is a shortcut, this method also specifies the location of the target folder.
Syntax
Parameters
- pbc [in]
A pointer to an IBindCtx object that provides the bind context. This parameter can be NULL.
- pidlRoot [in]
Type: LPCITEMIDLIST
A pointer to a fully qualified PIDL that specifies the absolute location of a folder or folder shortcut. The calling application is responsible for allocating and freeing this PIDL.
- ppfti [in]
Type: const PERSIST_FOLDER_TARGET_INFO*
A pointer to a PERSIST_FOLDER_TARGET_INFO structure that specifies the location of the target folder and its attributes.
If ppfti points to a valid structure, pidlRoot represents a folder shortcut.
If ppfti is set to NULL, pidlRoot represents a normal folder. In that case, InitializeEx should behave as if Initialize had been called.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This function is an extended version of IPersistFolder::Initialize. It allows the Shell to initialize folder shortcuts as well as normal folders.
Requirements | http://msdn.microsoft.com/en-us/library/windows/desktop/bb775336(v=vs.85).aspx | CC-MAIN-2014-42 | refinedweb | 181 | 50.02 |
(It's a blog.)
Oh, god. I still have a bunch of rant left in me. So here we go, Internet: yet another angry rant to add to the pile.
Sometimes, in the course of one’s life, one is left with a one-off task. In this case, I needed to call a binary a whole lot of times, and do something with the output each time. The details aren’t important; I just needed to write a wrapper script for this binary, do a modest amount of processing on it, and then output the result to a file. This is a pretty common task, one to which the command line in general and *nix in particular is well-suited.
Now, for various reasons, I prefer not to do this via shell scripts. I don’t have a hard and fast rule for when or why. Unless you routinely write shell scripts (I don’t), you’ll inevitably spend a bunch of time looking stuff up that you looked up, oh, six months ago. Or at least I do. I don’t enjoy it, so if I can’t do it with a few commands, maybe one loop or so, then I prefer to use a scripting language. I have the advantage of better/clearer failure modes and simpler syntax and I feel like I’m learning something more powerful and more widely applicable in the process.
One of my “favorite” things to forget and look up again is the difference between
[[ ]] and
[ ] in tests. Another one is how you loop over a file or output from a command (
while read line; do bar --baz $line; done <foo and
foo | while read line; do bar $line; done, respectively).
If you have no trouble remembering this stuff or you write scripts often enough, I suppose this is moot. There was a time when I was scripting enough that I didn’t have to look all this stuff up every time, but that time is past. YMMV and all that.
Anyway, the point is that I probably could’ve done this with something like this (which is simplified somewhat):
I’m sure I have a bajillion bugs in there. For example, I am not at all confident about the outer
for loop syntax. And while it was easy to write, I’m not doing anything with command line args, doing any error handling, or anything like that. (On the other other hand, I uh underestimated how easy this was. That’s partially why I’m convinced there are bugs in there.)
I still don’t know how to write idiomatic (typo: idiotmatic) Ruby, so this is going to be very rough. Still, it feels natural to me, minus one or two hitches:
I’m not confident about the outer loop once again, and I’m not sure the call to match() will do what I want, let alone whether it’s elegant. Still, I feel pretty good about it. I love Ruby’s pattern of passing in blocks.
Fortunately or unfortunately, I had to use Python. And don’t get me wrong: I love Python. It is through Python that I learned to love scripting languages. Processing a file line by line was, I think, the real epiphany. And list comprehensions are wonderfully expressive.
But man alive is it awful for this sort of thing. I’m not even going to bother writing it out in Python. I’ll just excerpt, from the 2.7 subprocess docs. Here’s what they say should replace backticks
output = \mycmd myarg``:
Mind you, this is if you did
from subprocess import *. Generally I don’t, which means it ends up looking like this:
Yes, once you have it written, sequestered in its own function that you never touch again, it’s not so bad. However, this is firmly in the category of something I will not be able to (and have not been able to) remember months later.
It is also not discoverable in the sense that it’s highly particular—
stdout=PIPE? Really? Compare and contrast opening a file (
for line in open('somefile'): print foo(line) or
[foo(line) for line in open('somefile')) with this monster. Even my Ruby example could have used backticks if I hadn’t remembered the
%x syntax. The best I can say about
subprocess is that it’s a) better than
Popen in Python 2.4 (or whatever), and b) it’s easier to search the web for than
%x.
The kicker of course is that rest of the Python script was very easy to write! However, since calling the binary was changing some external state, though, I had to make sure it was doing the right thing. In the end building and testing the call to
subprocess.Popen() took longer than the rest of the script. In an otherwise elegant, no-bullshit, batteries included language, the
subprocess module is a terrible blemish. It doesn’t look any better in Python 3.0, either, unfortunately.
Even more unfortunately, this is ultimately why it would be my preference to use either Ruby or shell. Ruby seems to work well for a variety of tasks, from writing a full-fledged webapp to some grungy text manipulation. You don’t have to compromise because it’s quite easy to use it for Python-y things as well as Perl-y things. It’s just a shame that Python seems to treat this case with a bizarre kind of fussiness incongruent with the rest of the language and standard library.
Pingback: Incredible Vehicle · Productivity() | http://incrediblevehicle.com/2011/08/31/python-python-python/ | CC-MAIN-2017-22 | refinedweb | 934 | 80.82 |
Will mostly be plotting time Vs value(time) but in certain
> cases will need plots of other data, and therefore have to
> look at the worst case scenario. Not exactly sure what you
> mean by "continuous" since all are descrete data
> points. The data may not be smooth (could have misbehaving
> sensors giving garbage) and jump all over the place.
Bad terminology: for x I meant sorted (monotonic) and for y the ideal
cases is smooth and not varying too rapidly. Try the lod feature and
see if it works for you.
Perhaps it would be better to extend the LOD functionality, so that
you control the extent of subsampling. Eg, suppose you have 100,000 x
data points but only 1000 pixels of display. Then for every data 100
points you could set the decimation factor, perhaps as a percentage.
More generally, we could implement a LOD base class users could supply
their own derived instances to subsample the data how they see fit,
eg, min and max over the 100 points, and so on. By reshaping the
points into a 1000x100 matrix, this could be done in Numeric
efficiently.
>> econdly, the standard gdmodule will iterate over the x, y
>> values in a python loop in gd.py. This is slow for lines with
>> lots of points. I have a patched gdmodule that I can send you
>> (provide platform info) that moves this step to the extension
>> module. Potentially a very big win.
> Yes, that would be great! System info:
Here is the link
You must also upgrade gd to 2.0.22 (alas 2.0.21 is obsolete!) since I
needed the latest version to get this sucker ported to win32.
>> Another possibility: change backends. The GTK backend is
>> significantly faster than GD. If you want to work off line
>> (ie, draw to image only and not display to screen ) and are on
>> a linux box, you can do this with GTK and Xvfb. I'll give you
>> instructions if interested. In the next release of matplotlib,
>> there will be a libart paint backend (cross platform) that may
>> be faster than GD. I'm working on an Agg backend that should
>> be considerably faster than all the other backends since it
>> does everything in extension code -- we'll see
> Yes I am only planning to work offline. Want to be able to
> pipe the output images to stdout. I am looking for the
> fastest solution possible.
I don't know how to write a GTK pixbuf to stdout. I inquired on the
pygtk mailing list, so perhaps we'll learn something soon. To use GTK
in Xvfb, make sure you have Xvfb (X virtual frame buffer) installed
(/usr/X11R6/bin/Xvfb). There is probably an RPM, but I don't
remember.
You then need to start it with something like
XVFB_HOME=/usr/X11R6
$XVFB_HOME/bin/Xvfb :1 -co $XVFB_HOME/lib/X11/rgb -fp $XVFB_HOME/lib/X11/fonts/misc/,$XVFB_HOME/lib/X11/fonts/Speedo/,$XVFB_HOME/lib/X11/fonts/Type1/,$XVFB_HOME/lib/X11/fonts/75dpi/,$XVFB_HOME/lib/X11/fonts/100dpi/ &
And connect your display to it
setenv DISPLAY :1
Now you can use gtk as follows
from matplotlib.matlab import *
from matplotlib.backends.backend_gtk import show_xvfb
def f(t):
s1 = cos(2*pi*t)
e1 = exp(-t)
return multiply(s1,e1)
t1 = arange(0.0, 5.0, 0.1)
t2 = arange(0.0, 5.0, 0.02)
t3 = arange(0.0, 2.0, 0.01)
subplot(211)
plot(t1, f(t1), 'bo', t2, f(t2), 'k')
title('A tale of 2 subplots')
ylabel('Damped oscillation')
subplot(212)
plot(t3, cos(2*pi*t3), 'r--')
xlabel('time (s)')
ylabel('Undamped')
savefig('subplot_demo')
show_xvfb() # not show! | https://discourse.matplotlib.org/t/large-data-sets-and-performance/287 | CC-MAIN-2019-51 | refinedweb | 614 | 73.78 |
Is there a way to know if the Windows machine I'm working on is virtual or physical? (I'm connecting with RDP to the machine. If it's a virtual machine it is working and handled by VMWare).
- 2see also - stackoverflow.com/questions/779723/… – warren Feb 3 '10 at 13:51
If it's Windows, just have a look at the hardware screens. It'll have a billion and five VMWare-branded virtual devices.
- +1 for not assuming it's Linux like I did – Matt Simmons Feb 3 '10 at 14:21
- 3Looking at drivers is also works for linux. lsmod would probably return the information that you need. – Seamus Connor Feb 3 '10 at 17:01
- 3Correction: A billion and six. – Get-HomeByFiveOClock Jun 19 '14 at 13:50
In the CMD window type:
SYSTEMINFO
You will find a line with the following text (or similar):
System Manufacturer: VMware, Inc. System Model: VMware Virtual Platform
- 3If Hyper V is used you get: System Manufacturer: Microsoft Corporation System Model: Virtual Machine – Gayan Dasanayake Mar 24 '17 at 10:24
If it's handled by VMware, it isn't too difficult at the present moment. This could change in the future.
# dmidecode -s system-manufacturer VMware, Inc.
In Linux you can also use "virt-what". "virt-what - detect if we are running in a virtual machine".
On Windows, from CMD:
Systeminfo | findstr /i model
returns something like:
System Model: VMware Virtual Platform [01]: Intel64 Family 6 Model 26 Stepping 5 GenuineInt
On Linux, run this:
$ dmesg |grep -i hypervisor Hypervisor detected: KVM
- 4for linux you type
dmesg |grep DMIVirtual Machines: [root@myhost ~]# dmesg |grep DMI<br> Physical: [root@backdev1 – user215983 Apr 10 '14 at 17:00
- this worked for me.
dmidecodereturned
permission denied !. – Alok Mishra Nov 19 '18 at 8:58
If you are in Windows, as castrocra says, you can run the
systeminfo command from inside a cmd shell, then look for the "BIOS Version".
These are probably real machines:
BIOS Version: Dell Inc. A03, 06/12/2010 BIOS Version: Phoenix Technologies, LTD MS7254 1.08, 08/03/2007
This, on the other hand, is almost certainly a virtual machine:
BIOS Version: VMware, Inc. VMW71.00V.0.B64.1201040214, 04/01/2012
- 1Modern hypervisors can supply arbitrary strings here, making this a not very reliable check. – Michael Hampton♦ Jul 4 '14 at 18:03
- 2
- VMWare with
Phoenix Technologies LTD 6.00, 9/17/2015– Ravi Parekh Dec 18 '17 at 12:41
It has been answered, but FWIW you can do this in powershell:
gwmi -q "select * from win32_computersystem"
The "Manufacturer" will be "Microsoft Corporation" and the "Model" will be "Virtual Machine" if it's a virtual machine, or it should display regular manufacturer details if not, e.g. "Dell Inc." and "PowerEdge R210 II" respectively.
- Funny. My Windows VM says the Manufacturer and Model are both "Bochs". – Michael Hampton♦ Aug 22 '14 at 2:07
- 1
- @MichaelHampton Are you using VMs? Which platform - HyperV, VMWare or something else? Seems like the VM is probably being run in a Bochs emulator or something like that. – Richard Hauer Oct 31 '15 at 4:42
You could try the "Host Detection" program.
One (relatively) simple way to detect key virtualization information is via WMI / WBEM. You can use the root\CIM2 namespace and access the Baseboard class (full of interesting BIOS information) to get a description of the "physical" system. This class often includes information about the motherboard and chassis - manufacture, model, serial number, other.
Run the following command from a command prompt or PowerShell session:
wmic baseboard get manufacturer, product, Serialnumber, version
Even simpler - wmic /node: bios get serialnumber
Anything that returns a Dell-style serial number is physical.
It will also return "VMware-42 22 26 a8 dd 6e e3 b3-2e 03 fc 2c 92 ae 2e 89", if it's a virtual machine.
I had the same question and found that there are a lot of processes running with "VM" in the name, for example VMWareTray.exe
nbtstat -a The outcome will tell you as VMs have a speecific prefix which is 00-50-56-XX-XX-XX. There is also another prefix it uses but I can not remember at the top of my head but I recall Vcenter uses 00-50-56-XX-XX-XX so this ios the one I check only.
I think this is the best way, personally.
- 3
- or clones it from existing hardware in a P-V situation – Rowan Hawkins Sep 18 '17 at 22:23 | https://serverfault.com/questions/109154/how-do-i-know-if-im-working-on-a-virtual-machine-or-not/109157 | CC-MAIN-2019-39 | refinedweb | 757 | 62.38 |
Build Tools
Kantharos IDE
Rapid PHP Deployment in Windows85 weekly downloads:
WhiteSnake Editor
WhiteSnake is professional script editor for many script languages1 weekly downloads
TFS Extra Build
A set of libraries and tools to enhance the build process for Team Foundation Server
DOTNETARX
DOTNETARX helps the .net programmers write the ObjectARX programs more easily!!1 weekly downloads
Systin
Systin stands for System Testing in .Net. This is a port of the popular Systir program. Systin will allow for an abstraction of Test Case specification and Test Case automation execution
Better
.Net extension methods, attributes and tools to make you more productive. Write less code, write less bugs
CCNetConfig
CCNetConfig is a Graphical tool to create and maintain the CCNet configuration file for CruiseControl.NET. CCNetConfig allows you to create CruiseControl.NET configuration file by adding a new projects and setting properties.0 weekly downloads
Freeform II
Freeform II is a visual GUI editor for Liberty BASIC0
PHP++
PHP++ is a new programming language with a syntax similar to PHP, but it's completly rewritten in C++ and comes with a lot of new features like namespaces and a own, easy extendable object oriented framework | http://sourceforge.net/directory/development/build/os:mswin_server2003/ | CC-MAIN-2013-48 | refinedweb | 194 | 52.29 |
On 30/07/2014 at 02:05, xxxxxxxx wrote:
I add a Doodle Object and then want to set the Bitmap (see "Load Bitmap").
So, I use Doodle Object[c4d.DOODLEOBJECT_IMAGE] to set the image.
But then I get "Error: __setitem__ expected c4d.BaseList2D, not c4d.bitmaps.BaseBitmap".
Or am I mixing up an input field with a button?
Or is there another way to do it?
I do not want to use c4d.CallButton(doodleObj, c4d.DOODLEOBJECT_LOAD_BITMAP), because I want to load the bitmap automatically without any user input.
import c4d from c4d import gui, plugins, bitmaps #Welcome to the world of Python def main() : c4d.CallCommand(1022215) # Add Doodle Frame doodleObj = doc.SearchObject("Doodle Object") orig = bitmaps.BaseBitmap() path = "C:\doodle example.jpg" if orig.InitWith(path)[0] != c4d.IMAGERESULT_OK: gui.MessageDialog("Cannot load image \"" + path + "\".") return #bitmaps.ShowBitmap(orig) doodleObj[c4d.DOODLEOBJECT_IMAGE] = orig #Error: __setitem__ expected c4d.BaseList2D, not c4d.bitmaps.BaseBitmap c4d.EventAdd() if __name__=='__main__': main()
On 31/07/2014 at 10:53, xxxxxxxx wrote:
doodleObj[c4d.DOODLEOBJECT_IMAGE] takes a doodleImageObject object. Not a bitmap.
But unless it's been changed recently (which I doubt). We don't have access to that in the C++ or Python SDK's.
The only way to draw things on the screen like that is with a plugin using the Draw() method.
-ScottA
On 01/08/2014 at 00:58, xxxxxxxx wrote:
Thanks. Draw() sounds like a good option.
Can I display image files using Draw and can I then set transparency of that image?
-Pim
On 01/08/2014 at 08:51, xxxxxxxx wrote:
I'm not sure about transparency. I've never tried it. But we can use Alphas.
We have to set them up as copies of the images. And the code gets kind of long just to display a couple of images with Alpha's on them. But just displaying images without Alpha's is fairly simple.
Their is also the Blit() method. Which is another image drawing method.
That one might work better for image transparencies. But I'm not sure.
I have a Python example on my plugin site called "DrawImageTagR13++" that draws images to the screen.
But I didn't set up the Alpha code in it. I do most of my image drawing stuff in C++ and I basically just did a quick and dirty port of my C++ version. Without the Alpha code.
There might be a discussion about it in the Python forum archives though. If I remember correctly. I think I had trouble with the Alphas. And there might be some code posted by Yannick about them.
I seem to recall that he helped me with them.
-ScottA
.
On 03/08/2014 at 12:38, xxxxxxxx wrote:
Thanks, I love your example.
On 06/08/2014 at 01:43, xxxxxxxx wrote:
Originally posted by xxxxxxxx
.
I did some investigation and indeed you set the alpha channel value and not the transparency.
You set the alpha using the code below, but is that needed if the image contains an alpha?
Setting the alpha value did not seem to change the displayed image?
for y in xrange(height) : for x in xrange(width) : r,g,b = bmp1.GetPixel(x, y) bmp1.SetAlphaPixel(self.alpha, x, y, r) #using 0 or 255 does not change anything?
I also tried using bd.SetTransparency(-255), but as mentioned on this forum in other posts, transparency is not handled well.
On 06/08/2014 at 08:19, xxxxxxxx wrote:
My Bad.
I guess it turns out that if you are displaying an image that has an Alpha channel. Then you don't have to do that whole copy and for() looping stuff.
When I started this drawing stuff in C++ I wanted to use the TextAt option that lets us display words on the screen. And that one does need to have the Alpha created with code like in my example. And I just assumed that images worked the same way.
I've never attempted a fading effect. But alpha's probably won't work for that type of effect.
If I get a change to investigate it. I'll let you know if I find a solution.
-ScottA
On 06/08/2014 at 17:13, xxxxxxxx wrote:
OK. I spent some time trying out the various bitmap and clipmap functions.
And it looks like the transparency can be set using a new clipmap that get's the data from your source image.
There's a strange bug in it though. For some reason once it hits 50% the image goes full transparent.
I'm not sure it's this is bug. Or I'm trying to make it do something it wasn't designed to do.
Here is the entire code for a tag plugin. Minus the other files (.res, .str, .etc)
#This is an example of changing an image's pixel and alpha values #We can use a new bitmap instance to change the color & alpha values separately #Or...We can use a new clipmap to set the alpha value for the entire image #In either case. We must create a new bitmap or clipmap because we can't change the source image without physically saving it #Use the proper DrawTexture() function at the end of the Draw() method. Depending on which method you're using import c4d,os from c4d import plugins, bitmaps, documents PLUGIN_ID = 1000003 #TESTING ID# Only!!! #This variable sets the amount of transparency #NOTE: for some reason if I go below 51 the image goes full transparent...BUG?? transAmount = 51 class DrawImage(plugins.TagData) : bm1 = bitmaps.BaseBitmap() #The source image newbm = bitmaps.BaseBitmap() #A new empty bitmap image we will construct from scratch using the source image data newcm = c4d.bitmaps.GeClipMap() #A new empty clipmap image we will construct from scratch using the source image data def Init(self, tag) :) #Init the new clipMap using the source image dimensions self.newcm.Init(width,height,32) return True def Draw(self, tag, op, bd, bh) : doc = documents.GetActiveDocument() bd.SetMatrix_Screen() ##### This is a little trick to fix the Z depth bug ##### bd.DrawLine2D(c4d.Vector(0, 0, 0), c4d.Vector(0, 0, 0)) #Draw a line with a zero length<---This is our dummy object bd.SetDepth(True) #This fixes drawing problems when using 2D functions ################################# #Get the source image's dimensions width = self.bm1.GetBh() height = self.bm1.GetBw() #Get the alpha channel for both the original image bm1AlphaChannel = self.bm1.GetInternalChannel() #Create an alpha channel for new bitmap image (it doesn't have one when we create one from scratch) newbmAlphaChannel = self.newbm.GetInternalChannel() #Get at the RGBA channels of the bitmap copy newbmAlphaChannel = self.newbm.AddChannel(True, False) #Add a channel and assign it to a variable so we can use it later on #Get the color & alpha values from the bm1 bitmap #And copy the values to the newbm bitmap for y in xrange(height) : for x in xrange(width) : #Copy the colors and alpha values to the new bitmap image r,g,b = self.bm1.GetPixel(x, y) alpha = self.bm1.GetAlphaPixel(bm1AlphaChannel, x, y) self.newbm.SetPixel(x,y, r,g,b) self.newbm.SetAlphaPixel(newbmAlphaChannel, x, y, alpha) #Change the colors and alpha values to the new bitmap image self.newbm.SetPixel(x,y, r+0,g+0,b+0) self.newbm.SetAlphaPixel(newbmAlphaChannel, x, y, transAmount) #Use the new clipMap SetPixelRGBA() function to set the transparency for the image self.newcm.BeginDraw() self.newcm.SetPixelRGBA(x,y, r,g,b, transAmount) self.newcm.EndDraw() #Use these to move the image around in scene editor window xpos = 20 #The X screen location of the left upper corner of the image ypos = 50 #The Y screen location of the left upper corner of the image #Set the actual vector positions for the four point plane object that holds the bitmap padr = [ (c4d.Vector(xpos,ypos,0)), #upper left corner (c4d.Vector(xpos+width,ypos,0)), #upper right corner (c4d.Vector(xpos+width,ypos+height,0)), #lower right corner (c4d.Vector(xpos,ypos+height,0)) #lower left corner ] cadr = [(c4d.Vector(1,1,1)),(c4d.Vector(1,1,1)),(c4d.Vector(1,1,1)),(c4d.Vector(1,1,1))] #Array with color vectors vnadr = [(c4d.Vector(0,0,1)),(c4d.Vector(0,0,1)),(c4d.Vector(0,0,1)),(c4d.Vector(0,0,1))] #Array with normals of vertices uvadr = [(c4d.Vector(0,0,0)),(c4d.Vector(1,0,0)),(c4d.Vector(1,1,0)),(c4d.Vector(0,1,0))] #Array with texture UVs #Use this version to draw the new image with the changed color & alpha values individually #bd.DrawTexture(self.newbm,padr,cadr,vnadr,uvadr,4,c4d.DRAW_ALPHA_FROM_IMAGE,c4d.DRAW_TEXTUREFLAGS_0) #Use this version to set the transparency value for the entire image nb = self.newcm.GetBitmap() bd.DrawTexture(nb,padr,cadr,vnadr,uvadr,4,c4d.DRAW_ALPHA_FROM_IMAGE,c4d.DRAW_TEXTUREFLAGS_0) return True if __name__ == "__main__": path, file = os.path.split(__file__) bmp = bitmaps.BaseBitmap() bmp.InitWith(os.path.join(path, "res", "icon.tif")) plugins.RegisterTagPlugin(id = PLUGIN_ID, str = "drawimg", g = DrawImage, description = "drawimg", icon = bmp, info = c4d.TAG_EXPRESSION|c4d.TAG_VISIBLE)
-ScottA
On 07/08/2014 at 02:55, xxxxxxxx wrote:
Again thanks for the answer and the example.
I implemented it and started testing.
- to remove issues with resource naming, etc. I change the RegisterTagPlugin call.
I made description empty (description = "").
#plugins.RegisterTagPlugin(id = PLUGIN_ID, str = "drawimg", g = DrawImage, description = "drawimg", icon = bmp, info = c4d.TAG_EXPRESSION|c4d.TAG_VISIBLE) plugins.RegisterTagPlugin(id = PLUGIN_ID, str = "drawimg", description = "", g = DrawImage, icon = bmp, info = c4d.TAG_EXPRESSION|c4d.TAG_VISIBLE)
- I got an error when the tag code was "runned" again.
It is a tag, so it is run very often.
I now only create a new alpha when there is none.
#Create an alpha channel for new bitmap image (it doesn't have one when we create one from scratch) newbmAlphaChannel = self.newbm.GetInternalChannel() #Get at the RGBA channels of the bitmap copy if (newbmAlphaChannel == None) : newbmAlphaChannel = self.newbm.AddChannel(True, False) #Add a channel and assign it to a variable so we can use it later on
- again, because it is a tag, it is running often.
So when using a large image file (e.g. 400x400), the system gets very slow.
I tried to test whether the image was already drawn, but I did not succeed.
It looks like the image must be redrawn on every loop?
- I also did some testing using the depth of the image file.
In your case it is always 32.
Using below code did not seem to do it, further study is required.
It could be that bits is not the same as depth.
bits = self.bm1.GetBt() self.newbm = c4d.bitmaps.BaseBitmap() #self.newbm.Init(width,height,32) self.newbm.Init(width,height,bits)
- and like you said, transparency does not seem to be seamless.
Have a look at the doodle option.
If things are better in c++, let's switch over to c++.
-Pim
On 07/08/2014 at 07:31, xxxxxxxx wrote:
It shouldn't matter that it's a tag. The Draw() method is designed to draw continuously.
But if it's running slow then that probably means that I've got some code in the wrong place.
The only time I've seen Draw() slow C4D down is when something is being created(initialized) in it.
So I've probably got something in the Draw() method that shouldn't be in there.
Like I said. This is just a wild guess on my part.
I've never tried to fade a drawn image like this. So the slowness and not able to set the transparency below 51 problem is probably something I'm doing incorrectly.
The Doodle object is unfortunately not an option. Because we have no access to it.
Not even in C++.
Here's an example of me putting the code in the Draw() method that will probably slow it down.
In my code example. Take the newbmAlphaChannel = self.newbm.AddChannel(True, False) code out of the Draw() method and put it in the Init() method.
Like this:
def Init(self, tag) : #This variable sets the amount of transparency #NOTE: for some reason if I go below 51 the image goes full transparent...BUG?? tag[10001] = 255) newbmAlphaChannel = self.newbm.AddChannel(True, False) #Init the new clipMap using the source image dimensions self.newcm.Init(width,height,32) return True
As you can see. It's very easy to put the wrong things in the Draw() method. Which will slow down C4D.
Putting things in the Init() method so that they only get called once usually solves any slowness problems.
-ScottA
*Edit:
The nested for() loops are what really slows the code down the most when using bigger images.
Moving that code to the Init() is still slow when the scene is changed.
Unfortunately. I don't know any other way to do this. This is the way Matthias and Yannick showed me how to do it. But clearly it's a resource hog with large images.
Maybe someone else knows a better way?
On 07/08/2014 at 14:17, xxxxxxxx wrote:
Ok, so draw() draws continuously. Sound logic to me when you think about it.
I will try your suggestion and get back.
PS Thanks a lot for your website with all the great examples.
Especially the pyposelibrary!
*Edit.
No noticeable changes.
An image of 32x32 is ok, but an image of 256x256 makes it very very slow. | https://plugincafe.maxon.net/topic/8055/10470_loading-a-doodle-bitmap | CC-MAIN-2020-40 | refinedweb | 2,257 | 68.87 |
So i want to make a histogram from the pixelvalues of an image and it just takes forever.
my histogram function is the following:
def histogram(pixelcount): ''' displays the histogram of the current image ''' fig=go.Figure() fig.add_trace(go.Histogram(x=pixelcount, xbins=dict(size=5))) return fig
The input is a list created this way:
imgy=Image.open(img, 'r') pix_val=list(imgy.getdata()) #i dont care about 0 values pix_count=[x for sets in pix_val for x in sets if x>0]
and creating the histogram takes several minutes.
I do not understand why. Am i passing the data wrong, or is there a faster way to make a histogram?
Sure the list is approx. 1.8 mio elements long, but the whole operation
imgy=Image.open(img, 'r') pix_val=list(imgy.getdata()) pix_count=[x for sets in pix_val for x in sets if x>0] for i in pix_val_flat: if i in pixel_dict.keys(): pixel_dict[i]+=1 else: pixel_dict.update({i:1})
takes approximately a second, while creating the histogram takes several minutes. | https://community.plotly.com/t/how-to-make-a-histogram/26773 | CC-MAIN-2022-21 | refinedweb | 177 | 51.85 |
[hackers] [sbase] Refactor spongec3c5eb87830c96d24b1a78bfc357cacdb3059e4
Author: FRIGN <dev_AT_frign.de>
Date: Sun Feb 8 22:17:21 2015 +0100
Refactor sponge(1) code and manpage
and mark it as finished in README.
diff --git a/README b/README
index f6a8e0a..e9c0d02 100644
--- a/README
+++ b/README
_AT_@ -61,7 +61,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
=* sleep yes none
sort no -m, -o, -d, -f, -i
=* split yes none
-= sponge non-posix none
+=* sponge non-posix none
strings no -a, -n, -t
=* sync non-posix none
= tail no -c, -f
diff --git a/sponge.1 b/sponge.1
index ee2e56b..66bb7fe 100644
--- a/sponge.1
+++ b/sponge.1
_AT_@ -1,4 +1,4 @@
-.Dd January 30, 2015
+.Dd February 8, 2015
.Dt SPONGE 1
.Os sbase
.Sh NAME
_AT_@ -14,7 +14,6 @@ reads stdin completely, then writes the saved contents to
This makes it possible to easily create pipes which read from and write to
the same file.
.Pp
-If the given
+If
.Ar file
-is a symbolic link, it writes to the links destination
-instead.
+is a symbolic link, it writes to its destination instead.
diff --git a/sponge.c b/sponge.c
index d24de03..ee21c27 100644
--- a/sponge.c
+++ b/sponge.c
_AT_@ -1,6 +1,5 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
-#include <stdlib.h>
#include "text.h"
#include "util.h"
Received on
Sun Feb 08 2015 - 22:22:47 CET
This message
: [
Message body
]
Next message
:
git_AT_suckless.org: "[hackers] [sbase] Refactor tar(1) manpage || FRIGN"
Previous message
:
git_AT_suckless.org: "[hackers] [sbase] Add arg.h-handling to sync(1) and unlink(1) || FRIGN"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
This archive was generated by
hypermail 2.3.0
: Sun Feb 08 2015 - 22:24:12 CET | http://lists.suckless.org/hackers/1502/5967.html | CC-MAIN-2019-30 | refinedweb | 306 | 78.65 |
An hour ago, J. Ian Johnson wrote: > Okay, stamourv made your response make sense. I added parameterize > ([current-namespace (make-base-namespace)]) inside the thunk, [...]
If you're going down that road (which makes sense, of course), then it would probably be much easier to just use the full sandbox. There's a long laundry list of things to deal with to get good isolation, and the sandbox is basically a convenience tool for that list. (IIRC, the gui stuff had a bunch of subtle points, like taking care of the eventspace etc.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: Maze is Life! _________________________ Racket Developers list: | https://www.mail-archive.com/dev@racket-lang.org/msg09844.html | CC-MAIN-2021-17 | refinedweb | 110 | 75.1 |
Python Identifiers – Learn to name variables in Python
In this TechVidvan’s Python article, we are going to learn about identifiers in Python.
They are the basic building blocks of Python and we use them everywhere while writing programs.
So, it’s important to understand everything about them.
We will see the rules to define identifiers, and all the best practices to follow while defining Python identifiers.
Let’s start with the definition of identifiers.
Keeping you updated with latest technology trends, Join TechVidvan on Telegram
What is Python Identifier?
“An identifier is a name given to an entity”.
In very simple words, an identifier is a user-defined name to represent the basic building blocks of Python.
It can be a variable, a function, a class, a module, or any other object.
Naming Rules for Identifiers
Now you know what exactly identifiers are. So, how do we use them?
We can’t use anything, there are some certain rules to keep in mind that we must follow while naming identifiers.
1. The Python identifier is made with a combination of lowercase or uppercase letters, digits or an underscore.
These are the valid characters.
- Lowercase letters (a to z)
- Uppercase letters (A to Z)
- Digits (0 to 9)
- Underscore (_)
Examples of a valid identifier:
- num1
- FLAG
- get_user_name
- userDetails
- _1234
2. An identifier cannot start with a digit.
If we create an identifier that starts with a digit then we will get a syntax error.
Example:
3. We also cannot use special symbols in the identifiers name.
Symbols like ( !, @, #, $, %, . ) are invalid.
Example:
4. A keyword cannot be used as an identifier.
In Python, keywords are the reserved names that are built-in in Python.
They have a special meaning and we cannot use them as identifier names.
If you want to see the list of all the keywords, then in your Python shell, type “help()” and then type “keywords” to get the list of all Python keywords.
5. The length of the identifiers can be as long as you want.
Of course, it can not be greater than the available memory, however, the PEP-8 standards rule suggests not to exceed 79 characters in a line.
Testing the Validity of Python Identifiers
Python has some helper functions that are useful when you are not sure whether a string is a keyword or a valid identifier.
1. To check whether a string is a keyword or not, we have a keyword module.
Code:
import keyword print( keyword.iskeyword(“var”) ) print( keyword.iskeyword(“False”) ) print( keyword.iskeyword(“continue”) ) print( keyword.iskeyword(“count”) )
Output:
True
True
False
2. The str.isidentifier() function is used to check the validity of an identifier.
Code:
print( “name”.isidentifier() ) print( “#today”.isidentifier() ) print( “_12hello”.isidentifier() ) print( “8cellos”.isidentifier() )
Output:
False
True
False
Best Practices for Python Identifiers
Following the naming conventions are mandatory for everyone.
But that’s not it!
The Python community has made a few more guidelines that are not compulsory but it is advised to follow some practices that are better for everyone in understanding things.
Let’s see what these guidelines are.
1. Class names should start with a capital letter and all the other identifiers should start with a lowercase letter.
2. Begin private identifiers with an underscore (_). Note, this is not needed to make the variable private. It is only for the ease of the programmer to easily distinguish between private variables and public variables.
3. Use double underscores (__) around the names of magic methods and don’t use them anywhere else. Python built-in magic methods already use this notation. For example: __init__ , __len__ .
4. Double underscores are used only when you are dealing with mangling in Python.
5. Always prefer using names longer than one character. index=1 is better than i=1
6. To combine words in an identifier, you should use underscore(_). For example: get_user_details.
7. Use camel case for naming the variables. For example: fullName, getAddress, testModeOn, etc.
Reserved Classes of Python Identifiers
Some classes in Python have special meanings and to identify them, we use patterns of leading and trailing underscores.
1. Single leading underscore (_*)
This identifier is used to store the result of the last evaluation in the interactive interpreter.
These results are stored in the __builtin__ module.
These are private variables and they are not imported by “from module import *”
2. Double leading and trailing underscores (__*__)
Only the system-defined names use this notation.
They are defined by the interpreter and its implementations.
It is not recommended to define additional names using this convention.
3. Leading double underscores (__*)
Class-private name mangling: These category names are used within the context of a class definition.
They are re-written to use a mangled form and avoid name clashes between private variables of base and derived classes.
Summary
This is all about the Python identifiers.
To sum everything up, we understood how the basic building blocks, Python identifiers, are named.
We discussed the rules to define an identifier and all the best practices that every good Python programmer follows.
Also, we discussed the reserved classes in Python Identifiers. | https://techvidvan.com/tutorials/python-identifiers/ | CC-MAIN-2021-17 | refinedweb | 860 | 67.35 |
for the moment, everything is found in MARC::MIR namespace, this will change. Also t/* is empty (this is clearly the next step) the scripts that uses MARC::MIR are yet working.
I dealt with lot of MARC records in the past (mainly from/to iso2709 files) and was really annoyed by the existing libraries. A MARC record is a very simple structure. every library i saw missed this point by wrapping records into painfull OO approach, this make the MARC manipulation anoying and slow. Perl is awesome for manipulate datastructures: i wanted those power and simplicity back!
A MIR record is an array containing a leader and the MIR field_collection
[ $leader, [@fields] ]
A MIR field_collection is a collection of either data field or control field.
A MIR control field is a tag and a value.
[ '001', '1231313145' ]
A MIR data field is a tag, a MIR subfield_collection and an optionnal MIR indicator. The MIR indicator is a 2 char string or a 2 elements array. so all those MIR field_collection are valid.
[ $tag, [@subfield] ] [ $tag, [@subfield], " " ] [ $tag, [@subfield], [' ',' '] ]
a MIR subfield_collection is a list of pairs tag/value.
This is an example of a complete MIR record:
[ "Header" => [ [ '001' => '2344564564' ] # this is the ID , [ '856' , [ [ q => "jpeg" ] , [ z => "cover from original version" ] , [ u => "" ] ] ] ] ]
to make things more readable and less error prone, we also add a DSL. Every keywords of this DSL works the same way. FIXME : explain.
also, iso2709_records_of is an helper that stream the records of an ISO2709 formatted file.
the perfect boilerplate
use autodie; use Modern::Perl; use Perlude; use MARC::MIR;
print all the ids of the records (assuming the id is in 001, the common case)
now { say record_id from_iso2709 } iso2709_records_of "biblio.marc";
or
marawk { say $ID } "biblio.marc";
remove every 9.. fields
now { $_ = from_iso2709; with_fields { @$_ = grep { (tag) !~ /^9/ } @$_ }; print to_iso2709; } iso2709_records_of "biblio.marc";
every 856$q must be jpeg
now { $_ = from_iso2709; map_fields { tag eq '856' and map_subfields { (tag) eq 'z' and with_value { $_ = 'jpeg' } } } with_fields { @$_ = grep_fields { (tag) !~ /^9/ } @$_ }; } iso2709_records_of "biblio.marc";
or
marawk { map_values { $_ = 'jpeg' } [qw< 856 z >] } "biblio.marc"
collect every 856$z by id
use Modern::Perl; use YAML; use MARC::MIR; my %seen; marawk { map_values { push @{ $seen{$ID} }, $_ } [qw< 856 z >] } "data/*.RAW"; say YAML::Dump \%seen; | http://search.cpan.org/~marcc/marc-mir-0.2/lib/MARC/MIR/Tutorial.pod | CC-MAIN-2016-30 | refinedweb | 385 | 73.47 |
BroDynamics Interface and Advanced use¶
Main window¶
1. Simulate button¶
Main button! Click to start siumlation on selected objects. This is a context-sensitive button. Depending on current selected Tab below, it will use different simulation modes. To indicate that it's mode is changing, when you change the tab between Points, Chains and RBD, the color of this button also changes.
2. New Animation Layer¶
If checked it will automatically generate a new animation layer and all simulated keyframes will go there. Should allow to improve iteration speed a lot, no need to remove keyframes or wait for undo command to finish, just disable current simulaion layer and run simulation again. It also preserves your existing keyframes, allows to compare different simulation results or stack simulations on top of each other.
3. Do Not Refresh¶
Use this to disable viewport refresh during simulation. It can increase simulation speed in many cases.
4. Status Bar¶
The status bar. By default it shows current version of the script. Also watch it for hints, when you roll over some part of the UI.
5. Simulaiton mode¶
Dropdown to select current simulation mode: Point, Simple Chain, Chain or RBD.
For more information on how to use each mode refer to respective parts of Documentation
Colliders and Forces window¶
This is the window where you can specify collision and force objects for Chain simulation mode.
1. Object lists¶
In this list you can see and select objects for deletion. Objects from this list will be turned into nCloth passive colliders, and objects will collide with them during simulation. Objects colored with red means that they might not be turned into nCloth colliders correctly, and recommended to be deleted from the list. But it is not required.
Forces list contains forces which will be applied to nhair.
2. Add button¶
Adds selected objects to the list.
3. Remove button¶
Removes selected objects from the list.
Batch simulation¶
Batch simulation¶
Here you can automate simulation of multiple objects and object chains. BroDynamics can remember all the settings for each chain, and store it in the scene. So next time you need to simulate all those 20 jiggly things, you can just click Simulate all, and BroDynamics will go through all of those objects and simulate them for you. Data is stored in BroDynamcis_Data node, which you can move between scenes and use as a Batch preset. When you use Batch simulation it will use saved properties, ignoring whatever is set in your current window.
Simulation list¶
This is the list of object sets.
Name - here you will see the name of the first object from the chain.
Data - here you can see raw JSON data, which contains: name, list of objects, simulation properties and settings.
Each item has a name, which you can replace, and which is just used for display purposes. And a JSON data, containing settings and objects for simulation. Each item will be simulated one by one, one after another.
Working with namespaces and limitations (New in 2.0.8)¶
Support of namespaces was added in 2.0.8. Workflow changed in 2.0.10 and further refined in 2.0.11
Here's how it works.
When you Add something - object names will be stored without any namespaces. Current namespace will be stored to per-item namespace dropdown.
When you Simulate or Select from Batch list it will use the namespace you have selected in the "Namespace" dropdown, appending it to all simulation objects.
Per-item namespace dropdown works as an override for the main Namespace dropdown.
Node dropdown (New in 2.0.8)¶
This dropdown menu allows you to select a node to work with.
Namespace dropdown (New in 2.0.10)¶
This dropdown allows you to select namespace to work with. This namespace can be overriden by namespace item's namespace selection.
Add button¶
Selected objects will be added to the list with settings from UI as a single Item.
Remove button¶
Selected element(s) will be removed from the list.
Replace button¶
Selected element will be replaced. Objects will be replaced with selected, and settings will be replaced with current UI settings.
Rename button¶
Rename selected item(s). Numbers will be added automatically. Note that renaming window may appear behind this window, so you might want to move it to the side. Sorry for this.
Get button¶
Settings from current first selected Item will be applied to the UI.
Set button¶
Settings in the Item(s) will be replaced with current UI settings.
Select button¶
Settings in the Item(s) will be replaced with current UI settings.
Select Add button¶
Append objects to viewport selection from selected Items.
Simulate all button¶
Start simulation. If something is selected in the list - only selected Items will be simulated. If nothing is selected - everything will be simulated. | https://docs.brotools.tech/BroDynamics/interface.html | CC-MAIN-2021-43 | refinedweb | 805 | 67.35 |
Display Multiple Images in jscrollpane using Java Jpanel
Display Multiple Images in jscrollpane using Java Jpanel Browse and Display multiple images in vertical view of java jscrollpane using jpanel
Display Image in Java
Display
Image in Java
This example takes an image from the system and displays it on a frame
using ImageIO class. User enters the name of the image using
Display image
Display image How to Pass image from html to jsp and display that image using jsp
Here is an example that pass an image path from the html page to jsp page and display it.
1)page.html:
<%@ page language="java
html parsing in java and display in swing
html parsing in java and display in swing dear rose indians I am working on a swing application (Content Management System). In which i have to show HMTL pages in swing window forms to display html contents i am using
Using Java Swing |
Noise Image in Graphics in Java Swing |
Event..., Paste |
Convert Image Formats |
Display Image in Java... using Swing |
Chess Application In Java Swing
Jboss 3.0 Tutorial Section
10
Image Selection - Swing AWT
static void main(String args[]){
System.out.println("Display image on new...Image Selection Hi,
I need to provide the image selection facility... click on any item, the image of that item should be selected as done in windows
how to set image in button using swing? - Swing AWT
how to set image in button using swing? how to set the image in button using swing? Hi friend,
import java.awt.*;
import...://
Thanks
java image display - Java Beginners
java image display How to display images in the folder dynamically with out using database using java and jsp Hi friend,
Code to help in solving the problem
var galleryarray=new Array
J2me image display - Java Beginners
J2me image display How can i display a jpeg image in j2me Hi Friend,
Please visit the following links:...
Thanks
java swing (jtable)
java swing (jtable) hii..how to get values of a particular record in jtable from ms access database using java swing in netbeans..?? please help..its urgent..
Here is an example that retrieves the particular record
Image using Java coding
Image using Java coding Hai,
Display image in pdf file using Java coding through Xsl file.. Please help me.. xsl file generate the pdf file
Java Swing Tutorials
feature of Java
Swing. You have been using the System.in for inputting...
Image in Java
This example takes an image from the system and displays... motion using
Java. To move an image, we have used the Listener interface
java swing
java swing add two integer variables and display the sum of them using java swing
Java Program - Swing AWT
Java Program Write a Program that display JFileChooser that open a JPG Image and After Loading it Saves that Image using JFileChooser Hi...(list,new FileDropTargetListener());
cp.add(new JScrollPane(list
java swing - Swing AWT
java swing how to add image in JPanel in Swing? Hi Friend...:
Thanks... DisplayImage extends JPanel{
private BufferedImage image;
public
Display image on JSP page using XML
display a image on JSP page by using XML.
This example will examine how to parse and expose XML
information using the JAXP with a JSP page. This tutorial...
Display image on JSP page using XML
image display - Java Beginners
image display i need to display all the images from the folder and i dont want give the image path.dynamically it should display. please help Hi friend,
Code to help in solving the problem
var
image display - Java Beginners
image display Please, can you post a sample? I don't know how to use the fileupload api.
And what do I have to do to save uploaded files to a database? Hi friend,
Retrive Image with jsp
java swing - Java Beginners
java swing How to upload the image in using java swings.
ex- we... can brows the image from the computer. plz help soon.........
thanx. ... DropTarget(list,new FileDropTargetListener());
cp.add(new JScrollPane(list
java - Swing AWT
for upload image in JAVA SWING.... Hi Friend,
Try the following code... project.In that, i want to upload any .jpg,.gif,.png format image from system & display it either on panel or frame.But in my project,i have to image using JFileChooser
Displaying the same image in a JPanel and using scroll - HELP - Java Beginners
Displaying the same image in a JPanel and using scroll - HELP I hope someone can help me out here. I want to display an image in a JPanel which contain a Scroll, so using the scroll I want to see the first image displayed
What is Java Swing?
What is Java Swing?
Here, you will know about the Java swing. The Java
Swing provides... and GUIs components. All Java Swing classes imports form the import
image display in jsp - Java Beginners
image display in jsp i uploaded the image and how can i print that image in next jsp page.... Hi friend,
read for more information,
Move Image in Java Swing
How to Move Image in Java Swing
In this section, you will learn how to move an image using mouse. For this purpose, we have specified an image and using the MediaTracker class, the image is tracked by the method addImage(). The Graphics
Display Image using Toolkit.getImage()
Display Image using Toolkit.getImage()
This section illustrates you how to display the specified image using
Toolkit.getImage() method.
To display the image, put an image
Display Logo on login form using swing
Display Logo on login form using swing
In this tutorial, you will learn how to display a logo in login form using
swing components. Here is an example where... file from the system and using setIcon()
method, the image as a logo will get
Java Code - Swing AWT
Java Code How to Display a Save Dialog Box using JFileChooser and Save the loaded Image from Panel in any Location. Hi Friend,
Try...) {
System.out.println("Image could not be read");
System.exit(1
How To Display MS Access Table into Swing JTable - Java Beginners
How To Display MS Access Table into Swing JTable How to Display... = table.getColumnModel().getColumn(i);
col.setMaxWidth(250);
}
JScrollPane scrollPane = new JScrollPane( table );
p.add( scrollPane );
JFrame f=new JFrame();
f.add(p
how to display image from byte arry - Java Magazine
how to display image from byte arry Hi..
How to display a image using byte array[] object , which have the image data in binary format.
If it can be resolved , itz very helpful for me.
Regards
Rajesh
Java swing - Java Beginners
Java swing how to set the background picture for a panel in java swing .i m using Netbeans IDE. Hi Friend,
Try the following code... BufferedImage image;
private JPanel panel = new JPanel(new GridLayout(4,2
Java Image Watermarking
using java swing.
Here is the code:
import java.io.*;
import java.awt....Java Image Watermarking
A watermarking is a technique that allows..., video, or image signals and documents. It may be visible, hidden
How to Hide Button using Java Swing
or provide online example reference.
Regards,
hi,
In java Programming application how to hide the buttons using Java Swing. Please Visit...How to Hide Button using Java Swing Hi,
I just begin to learn java
execution of image example program - Java Beginners
execution of image example program sir. The example for the demo of image display in java,AwtImage.java,after the execution I can see only the frame used, but not the image to be displayed over it, even after selecting
Jsp Image Display
Jsp Image Display Hi,i need to display image in a Box like in profile photo,when i click on the browse button,file gets open and the selected image... on the browser.
1)page.jsp:
<%@ page language="java" %>
<HTML>
<HEAD>
java swing
java swing view the book details using swing
image displaying in java
image displaying in java how to display an image by using load image button in applet viewer
Java Swing DatePicker
Java Swing DatePicker
In this section, you will learn how to display date picker using java swing. The date picker lets the user select the Date through an easy interface that pops up with a Calendar. The user can navigate through
Import object in Excel using java swing
Import object in Excel using java swing Hi sir,
I want to make a swing application where I can import a object by clicking a button. I am using...;browse (this browse path I want to give inside the swing code)
Tick 'display as icon
Java Swing Set And Get Values
Java Swing Set And Get Values
In this tutorial we will learn about how to set and get values using setter
and getter methods. This example explains you how to use setter and getter method in Java Swing.
Example
Here I am giving
display image using jsp
display image using jsp display image using jsp and phonegap on emulator of eclipse
Here is a simple jsp code that displays an image on browser.
<%@ page import="java.io.*" %>
<%@page contentType="image/gif
Swing Applet Example in java
Java - Swing Applet Example in java
Introduction
In this section we will show you about using swing in an applet. In this example,
you will see that how resources of swing
Browse an image
Browse an image hi................
i want to browse an image from the folder and display in form of my project.....
can u tell me how to do this?????
i am using java swing.........
import java.sql.*;
import
Java Swing : JButton Example
Java Swing : JButton Example
In this section we will discuss how to create button by using JButton in
swing framework.
JButton :
JButton Class extends.... For that you can attach
an ActionListener by using
addActionListener() method
Java Code - Swing AWT
Java Code Write a Program using Swings to Display JFileChooser that Display the Naem of Selected File and Also opens that File
Uploading image using jsp
Uploading image using jsp how to upload image using jsp. Already i... that image file ...
I want know that solution using by u...
Thanks,
P.S.N.
Here is a jsp code that upload image and display it on the browser.
1
creation of table using a Java swing
creation of table using a Java swing how to create a table dynamically in Java swing
java swings - Swing AWT
.... write the code for bar charts using java swings. Hi friend,
I am...java swings I am doing a project for my company. I need a to show
java swing.
java swing. Hi
How SetBounds is used in java programs.The values in the setBounds refer to what?
ie for example setBounds(30,30,30,30) and in that the four 30's refer to what
swing - Java Beginners
for setting background image using swing.... Hi Friend,
Try...swing i tried many programs in swing to set a background image...
{
private BufferedImage image;
private JPanel panel = new JPanel
how to display one image on jsp through java
how to display one image on jsp through java Hi,
I wanted to display one image on my jsp file like social networking sites. But the scenario is that the image file is not inside the project folder. That is inside the C
scrolling a drawing..... - Swing AWT
information. a drawing..... I am using a canvas along with other... the canvas scrollable.
I placed the canvas over JScrollPane but its not working, can
Image Icon Using Canvas Example
Image Icon Using Canvas Example
This example is used to create the Image on different location using Canvas
class. In this example to create the image we are using
java swing in netbeans
java swing in netbeans how can create sub menu in java swing using...[]) {
JFrame frame = new JFrame("MenuSample Example... backwardMenuItem = new JMenuItem("Java");
newmenu.add(backwardMenuItem
Java Swings problem - Swing AWT
Java Swings problem Sir, I am facing a problem in JSplitPane. I want... component. Now, I want this divider to display only half... pane. For example, if the split pane is of dimension (0,0,100, 400), then divider
Java swing
Java swing when i enter the time into the textbox and activities into the textarea the datas saved into the database.the java swing code... JTextArea area=new JTextArea(5,20);
JScrollPane pane=new JScrollPane
java - Swing AWT
java hello..sir.....plzzzzzzz help me to display selected image... JFrame("Display image");
Panel panel = new DisplayImage... {
BufferedImage image;
public DisplayImage() {
try
Display message automatically using Java Swing
Display message automatically using Java Swing
Here we are going to display message automatically after regular interval of
time. For this, we have..., it will display the specified message automatically.
Here is the code
Java swing
to the database using java swing...Java swing I create one table. That table contains task ID and Task Name. When I click the task ID one more table will be open and that table
Need Help with Java-SWING progrmming - Swing AWT
://
Thanks...Need Help with Java-SWING progrmming Hi sir,
I am a beginner in java-swing programming. I want to know how we can use the print option
Using swing - Java Beginners
Using swing How can one use inheritance and polymophism while developing GUI of this question.
Develop an application that allows a student to open an account. The account may be a savings account or a current account
Java Swing dependent JList
Java Swing dependent JList
In this section, you will learn how to create a dependent list using java
swing
In the given code, we have created three lists...(" ");
final JList list1 = new JList(db);
JScrollPane pane1 = new
Conversion from color to Gray Image - Java Beginners
://
Thanks... to java. and i haven't try this so far
How to convert the color image to gray scale image in java?
could u plz help me out to start the process
java - Swing AWT
java hi can u say how to create a database for images in oracle and store and retrive images using histogram of that image plz help me its too urgent
how to create menubar and the below background color/image in java swing
how to create menubar and the below background color/image in java swing how to create menubar and the below background color/image in java swing
java-swings - Swing AWT
://
Thanks.
Amardeep...java-swings How to move JLabel using Mouse?
Here the problem is i... at runtime by moving labels using mouse.
Plz tell me the correct way to solve
Java Swing
Java Swing Write an applet program to transfer the content...++");
model.addElement("Java");
model.addElement("Perl");
model.addElement... JTextField text=new JTextField(20);
JScrollPane pane = new JScrollPane(list
java swing
java swing what is code for dislay image on java swinginternalframe form MYSQL DB pls send
Here is a code that displays an image... = new JFrame("Show Image");
frame.setDefaultCloseOperation(JFrame.EXIT
Image Processing Java
Image Processing Java Using This Code I Compressed A JPEG Image...://...);
}
/*
* This method just create a JFrame to display the image. Closing the window
Java swing
Java swing how to create simple addition program using java swing?
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
class SumOfNumbers extends JFrame
{
SumOfNumbers(){
JLabel lab1=new
java swing
java swing what is code for diplay on java swing internal frame form MYSQL DB pls send
Here is a code of creating form... Image");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE
Progress Bar in Java Swing
Progress Bar in Java Swing
... in java swing. This section shows you how the progress bar starts and stops
with the timer. Through the given example you can understand how the progress
bar
SWING
SWING A JAVA CODE OF MOVING TRAIN IN SWING
How to create Multiple Frames using Java Swing
Multiple Frames in Java Swing
In this section, you will learn how to create multiple frames. Java Swing provides the utility to show frame within another... display a JFrame-like window within another window. It provides many
Line Drawing - Swing AWT
) {
System.out.println("Line draw example using java Swing");
JFrame frame = new... using java Swing
import javax.swing.*;
import java.awt.Color;
import...Line Drawing How to Draw Line using Java Swings in Graph chart
java swing
java swing iam using my project text box, label , combobox and that the same time i want menubar and popmenu. plz give me code for this. i want immediately plz send me that code
highlight words in an image using java
want to highlight name in the image using java/jsp/javascript.please help me...highlight words in an image using java Hai all,In my application left side image is there and right side an application contains textboxes like
jsf image problem - Java Server Faces Questions
bean i want to display that image contained in that object to the jsf page.This image is not physically stored in the local disk.I tried out by using the jsf...jsf image problem Dear Sir
My doubt is about displAying
Java Swing : JLabel Example
In this tutorial, you will learn how to create a label in java swing
Java Swing Open Browser
Java Swing Open Browser
Java provides different methods to develop useful applications. In this section, you will learn how to create an example that will open the specified url on the browser using java swing. This example will really
Swing - Applet
information on swing visit to : Hello,
I am creating a swing gui applet, which is trying to output all the numbers between a given number and add them up. For example
SplitPane in Java Swing
Learn SplitPane in Java Swing
In this section, you will learn how to create split pane using java swing. For this, we have used JSplitPane class... is the code Splitpane in Java Swing:
import java.awt.*;
import
Upload image
Upload image Hai i beginner of Java ME i want code to capture QR Code image and send to the server and display value in Mobile Screen i want code in Java ME .java extension..
Regards
senthil
To capture an image
display
display please tell me how to display the content from database.. if we click on any image using servlets/jsp...please
how to create a header in jtable using java swing
how to create a header in jtable using java swing how to create a header in jtable using java swing
d
How to delete records from jtabel - Swing AWT
);
}
}
------------------------------
read for more information, to delete records from jtabel hello
I am using jtabel to diaplay recorda of file using abstruct data model. i used vector in model
Create a Scroll Pane Container in Java
adding the
JScrollPane component of Java Swing. Following is the screen shot... to create a scroll
pane container in Java Swing. When you simply create a Text Area... Create a Scroll Pane Container in Java
Example - Tiny Window
Java NotesExample - Tiny Window
The example discussed here is used to create tiny window in swing.
The TinyWindow.java - Creates a very small window... machine.
We have also given the screen shot of the example program
Java - Swing AWT
Java write a swing program to display the contents of a database in a JTable
swing
swing Write a java swing program to delete a selected record from a table
Java - Swing AWT
Java Hi friend,read for more information,
Image Icon Using Canvas Example
Image Icon Using Canvas Example
This example is used to create the Image on different location using Canvas
class. In this example to create the image we are using
create , edit MS WORD like document file using Java Swing - Swing AWT
?
I am using Java SWING.
Plz. email your answer...create , edit MS WORD like document file using Java Swing In my... area;
JScrollPane pane;
JButton b1;
File file = new File("C:/New.doc
Ask Questions?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions. | http://www.roseindia.net/tutorialhelp/comment/87413 | CC-MAIN-2013-20 | refinedweb | 3,352 | 62.58 |
nit
// header1.h
// depends on contents of header2.h for compilation
#include "header2.h"
// source.c
// depends on contents of header1.h for compilation
#include "header1.h"
Daniel Pfeffer wrote:I admit that my method could cause a file to be included multiple times.
speedbump99 wrote: circular references in which one include is depending on another include file. These errors can be hard to find especially with a large project.
C++
C
#include <stdbool.h> // C standard unit needed for bool and true/false
#include <stdint.h> // C standard unit needed for uint8_t, uint32_t, etc
#include <stdarg.h> // C standard unit needed for variadic type and functions
#include <string.h> // C standard unit needed for strlen
#include <windows.h> // Windows standard header needed for HWND on calls
void MyUnitFunction (HWND window);
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/Messages/5591489/Re-Cplusplus-Typedefs.aspx | CC-MAIN-2020-40 | refinedweb | 161 | 60.51 |
Planescape: Torment
FAQ/Walkthrough by SMetzler
Updated: 08/07/01 | Search Guide | Bookmark Guide
Steve's Guide to Planescape: Torment ==================================== (A Planescape: Torment walkthrough) Last updated: 7th August, 2001 Introduction ============ Planescape: Torment is a brilliant fantasy computer role-playing game set in the Advanced Dungeons and Dragons™ Planescape multiverse. You take on the role of The Nameless One, a formidable being - yet unaware of who you are, and how you happened to awake on a cold metal slab in a surreal mortuary... shades of Gene Wolfe!. If more precision is needed, then positions on a clock face are used, like: 10 o'clock. Tips ==== Before you even think about starting to play, download and apply the latest patch, which at the time of writing was the version 1.1 patch (). This patch fixed numerous bugs, and also gets rid of the problem where the game slows down terribly after about an hour's play. The Nameless One (TNO hereafter), begins life as a Fighter. Later on, just by conversing with various NPCs, TNO can change roles to be a Thief or a Mage. While the idea of switching back and forth throughout the game to overcome various obstacles that suit tackling by a particular class of character seems a clever one, this course of action is probably best avoided. You see, experience points (XP) accrue only for the present class. If you keep switching between classes, you'll dilute the XP across the board, and will never obtain real proficiency in anything. So, it's best to choose your preferred role early on in the game and stick with it! Balance, balance, this game is all about balance. When creating your character at the beginning of the game, it's probably best to load up your primary stat just a little bit. For instance, Strength (STR) for a Fighter. But... I wouldn't recommend going above 15 on any stat. As far as TNO is concerned, all stats are important! Intelligence (INT) gives you more conversation choices, and it will be easier to talk your way around things rather than having to fight all the time. TNO has lost his memory, and a high Wisdom (WIS) helps him to regain more memories. Dexterity (DEX) is useful for thieving skills, but is also important as it lowers your Armor Class (AC), making you harder to hit in battle, and so forth. The first time I played, I wanted TNO to be a Mage, so I set INT to 15. Of course, I had to skimp elsewhere, and only wound up with a Constitution (CON) of 11. I suffered the consequences of this decision for nearly the entire game, being easier to knock off than a fat guppy in a tank full of piranhas :-( Each time your character goes up a level, you get to spend 1 point on one of these characteristics, so you can eventually rectify mistakes; however, it is better in the long run to start off with a balanced character, and gradually build up all the stats. Talk to every character that exhibits a blue circle when you place your cursor over them, especially the zombie workers and skeletons in the Mortuary. This is the primary way by which you discover things, get quests, etc. It's probably a good idea to turn off the Party AI. You'll have better control of your party members in battle then. For example, with the AI turned on, any Priests in your party will be constantly wading right into the thick of things to heal someone who only just got a scratch, thereby placing themselves in great peril. Also, the space bar is your best friend in battle! With it, you can pause at any time, issue commands for all your party members, swap items, use healing aids, etc. Then just hit the space bar again when you're ready to resume. It's the next best thing to turn-based combat :-) During battle, I always micro-manage my party. Before you even engage the enemy, hit the space bar straight away. Then, assign each of your Fighters to attack a specific creature. To do this, click on the party member you want to use, then hold down the shift key and click on the creature you want them to attack. Repeat for each Fighter. You might also at this time organise each Mage to fire off their first spell at a specific target. Then, hit the space bar again to let the battle commence. When you kill any creature, hit the space bar right away and immediately re-assign your now idle Fighter to go beat up on something else! This way, you make sure your resources are always efficiently employed. Whenever you notice any of your party members getting low on health, hit the space bar quickly, and get them healed (you can keep all your healing charms of a similar type grouped together, and just pass these groups of charms around from party member to party member as the need arises)! Of course, it goes without saying that you should keep your Fighters up front, and your Mages pretty far behind so they can keep firing off spells without fear of being attacked. Another warning about dilution of XP. Remember that you split any XP gained amongst all the members of your party. While having a bigger party is more fun, it definitely makes the going tougher, as characters will gain new levels at a much slower rate. Whenever a new person joins your party, engage them in conversation at the earliest opportunity, and grill them about everything. You learn a lot of new things this way, and sometimes acquire valuable items. After a tough battle, if you've a Priest in your party, get all the party members healed as much as you can with the Priest's remaining healing spells... then you can rest. Using this technique, you'll need to spend much less time resting in order to get your party fully healed, and the Priest will regain all the healing spells after the first 8 hour's rest! Note that when you or your party members use Thief skills to steal something, you can't subsequently sell it to anyone because all the merchants will know it's stolen goods. So, don't bother to steal anything you're not going to use. The best way to identify items is with Charms of Infinite Recall. Just wait till you have at least a half dozen items that need to be identified (doing only 1 or 2 at a time is a waste), and make sure they're all in a single party member's inventory. Then, put one (or more. Only one will be used) of these Charms in an empty Quick Item slot of that party member, return to the game world, right-click and select the Charm(s). You'll note the person becoming infused with light. When you return to that person's inventory, all the items are now identified! You can also equip each of your Mages with an Identify scroll, but then only one item per day/per Mage can be identified. Much more tedious. You can buy or find these Charms all over the place, so what the heck. An easy way to move across a large area that you've already seen: select all party members, then open up the map. Click once to get a yellow square around the section you wish to travel to. Then, double-click on the square and you'll be back in the game world, positioned right at the place you want to wind up. Just hold down the shift key, click once more on the ground here (or a doorway), and your party will run straight over to where you clicked. Some thoughts concerning Wisdom I could never figure out how, according to the manual and the in-game help, increased WIS got you more experience points, because you always get the same XP for completing a given quest regardless of your WIS. Well, I finally did find out by playing a portion of the game through with a high WIS (to the detriment of several other stats, of course), and the way WIS plays its part in gaining XP is this: whenever your party splits XP, you get the same as everyone else plus an additional bonus according to your WIS. There is roughly a 20% bonus for you at WIS of 20, and a whopping 35% at a WIS of 25! Unfortunately, this Guide was written before I had twigged the nuances of Wisdom, and I played all the way through the game (twice!) with just slightly above average WIS. What a high WIS ultimately does for you is ensure that you attain new levels at a much faster rate than your companions, thus making it much easier to complete quests and do battle, as TNO will have higher stats all around. Anyway, in retrospect, I would recommend that if you need to have any stat as your 'secondary' stat, then it should be WIS! Well, that's probably enough of the up front stuff. Time to wade right in... The Mortuary ============ 2nd floor Morte, the indefatigable skull, is hovering near you when you stir back to life on the mortuary slab. There's some writing on your back. Hmm. So, we need to find this guy Pharod, and your journal. Get the Scalpel and some Bandages from the tables in the northern part of the room, arm yourself with the Scalpel, then attack the southern-most zombie in the room. Take the key off him, then proceed through the door in the NW corner. You could kill the other 2 zombies, but they're only worth 65 XP each. Note that the key disappears from your inventory when you go through the door. This is the game's way of telling you that you won't be needing it any longer. Get used to losing items like this, because it happens a lot, and you don't want to be wasting time looking for items that you think you have lost, but you haven't! The next room holds 3 zombies, and little else of interest for the moment. So just head through the next door. This is more interesting. Pick up the Fist Irons, the Receiving Room Logbook, and some jink (er, Coppers) from the tables here. Note that the last page is missing from the Logbook. I suspect that has something to do with you. Talk to zombie worker #1201 here. You notice something in his mouth and cut it out with your Scalpel, for 250 XP. Use the Note, and fold the corners in this order: upper right, lower right, upper left, upper right again (marks corresponding to the number of this zombie). The Note dissolves, and you are left holding a Triangle Earring, which you can't identify yet (it's actually a 'Rule-of-Three Earring', as you'll later discover), but solving this puzzle nets you another 250 XP. Also, chat with the scribe Dhall in the south end of this room. You have been here many times before. It seems as if Dhall might have ripped the last page out of the Logbook, so that the Dustmen would not discover who or what you are and have you cremated! From now on, whenever a Dustman approaches you and asks you what you are doing in the Mortuary, you can just mention Dhall's name to get rid of them. Again, proceeding clockwise, the next room doesn't have much of anything noteworthy in it, except a Receiving Log Page that you get from zombie #1664 there, which has an entry numbered 16539 that looks suspiciously like TNO/you! Reading more, it looks like we'll have to locate this Copper Earring, and also zombie #79, who might give us a clue on how to interpret the markings on the Earring. Things start to get even more interesting in the next room (let's say at 2 o'clock on the Mortuary - 2nd floor map). If you accidentally topple over zombie #985, you get a new weapon. Also, speak to the Dustwoman Ei-Vene to get Quest 3 below, the first one you can immediately carry out :-) 3rd floor The Finger Bone that activates the secret portal (see Quest 4 below) is located in a locked container on the 3rd floor, in the room at the 12 o'clock position. It doubles as a Bone Charm - but of course, don't use yet, or you won't be able to activate the portal! Skeleton #863, in the room at 10 o'clock, has a Parchment attached to him. The note on the Parchment alludes to there being a Prybar somewhere on this floor. Indeed, there's one on a table in the room at 6 o'clock on this floor. The stairwell on the west side of this floor is locked. The key to open this door is located on a shelf on the SE part of the stairwell wall. Indeed, once you have this Mortuary Sanctum Key in your possession, all the remaining locked doors in the Mortuary will be open to you! The room to the south contains 3 zombies. Examine zombie #79, and you'll be able to open that Ancient Copper Earring you've been carrying around (250 XP). Zombie #42 is wandering continuously in a big circle around the central part of the 3rd floor. If you've recalled the memory of him (see Quest 3), and you cross your arms, he'll put his arms at his side. You can then reach inside him and pull out the package that's stitched into him (250 XP). Inside it are 2 Clot Charms, some Rags, and a Green Steel Knife! Looks like TNO knew he might be coming back here again. 1st floor There are 4 Giant Skeletons in the central room of this floor. They are much too difficult for you and Morte to take on at this stage in the game, but... there is another way. If you get the Tome of Bone and Ash off zombie #932 in the room to the SE, it will give you the knowledge necessary to dissect the Giant Skeletons! First, you have to examine each Skeleton's armor, then you have to compare the runes on it to the runes in the Tome. Then you have to remove the wards in the correct order. Worth 800 XP per Giant Skeleton, plus 3 of the Skeletons leave behind a Rune of Lesser Warding (invokes "Armor") and one has a Rune of Greater Warding (invokes "Shield"), though all of these are only usable by Mages. Also in this room, on the wall to the north, is a Crescent Hatchet. The Skeletons don't seem to mind if you take it. Near the exit from the Mortuary, in the room to the SW, speak to Soego. He will open the gate for you for 500 XP (you can exit here instead of using the portal. You still come out at roughly the same place). Alternatively, you can snap the neck of one of the other Dustmen here, and take the key off their corpse, but this is bad for your karma, especially if you're attempting to keep your alignment leaning towards the Good side. Converse with the spirit of Deionarra, in the room to the NW. She... once meant a lot to you. You should get 1000 XP for recalling a memory of how you can raise the dead (plus, it now becomes one of your Special Abilities). You also get 500 XP for her telling you about the exit portal, even though you might have already heard it from Vaxis. After speaking to her, if you've got the Bone Charm in your inventory, you may use the portal that opens up when you approach one of the openings in the northern part of this room! Quests ------ 1. Find "Pharod". This... might take a little while. Let's not spoil things just yet. 2. Find your missing journal. Ditto. 3. Fetch Embalming Fluid and Needle for Ei-Vene - Embalming Room Key, +1 HP, and 750 XP. There are 2 jars of Embalming Fluid in the room at 4 o'clock on this floor. Also in this room is a locked container. You can bash it open with your newly found club. Inside is that (Ancient) Copper Earring mentioned in the Receiving Log Page. Take the stairs up to the 3rd floor here (on the shelf at the top of the stairs is a Charcoal Charm). Then, go inside the room to the north and head for the shelf on the wall to the NW. There is a Needle and Thread there. Remember, when the Dustmen accost you, say you are looking for someone (Dhall). Once you have secured the Needle and Thread, return to Ei-Vene. Before you get her attention this time, notice the motion of her hands. You recall your first memory, about stitching something inside zombie #42, and get 250 XP. Then give her the Embalming Fluid, Needle and Thread (250 XP), and hold still while she stitches you up. You get a permanent +1 to your HP for this. Finally ask her for the Embalming Room Key (250 XP). Now you may complete Quest 4. 4. Fetch Embalming Key for Vaxis - Location of portal and 500 XP. Zombie #821 in the room to the south of where Ei-Vene is located... is actually not a zombie at all. Rather, his name is Vaxis, and he's disguised as a zombie. If you complete Quest 3, Ei-Vene will give you the Embalming Room Key. Once you give this Key to Vaxis, he'll offer to disguise you as a zombie too. For this, you'll need to give him some Embalming Fluid, Needle and Thread. You get 500 XP for doing this, but I'm not sure it's worth it. For one, you blow the disguise if you forget you have it on and try to run or arm a weapon. And secondly, you already have a way to get by the Dustmen, using Dhall's name. However, 500 XP early on in the game is not something to scoff at. Your call. More importantly, Vaxis tells you about a secret portal located in the NW room on the 1st floor. You need to find a Finger Bone on the 3rd floor to activate the portal... The Hive - Northeast region =========================== If you exited the Mortuary via the portal, then you wind up in a small tomb. There's a Note from someone named Penn. He apparently hired Vaxis to see what was going on inside the Mortuary. Also, 30 Coppers with the Note. Handy. Head south from the tomb, and enter the small house to the east there. This is Angyar's house, the subject of Quest 1 below. If you exited the Mortuary by the front door instead, then you can make your way to the tomb by just heading south once you exit the Mortuary grounds. The tomb is set into a wall to the east. Collect the stuff from the tomb, then make your way to Angyar's house as above. Pretend to be dead for Pox, just outside the Mortuary front gate, for 500 XP. You can learn to converse with a Dabus for 500 XP. You'll probably bump into Annah in your travels. She's a wee lassie with a mean Scottish accent and attitude to spare. Hmm. I wonder if you can get her to join your party somehow... The Hive at night is not a nice place to be. You'll want to be finding a place to bed down, else be prepared to fight a lot of thugs. One of the entrances to the Alley of Dangerous Angles is located in the SW corner of this region. See section on the Alley below. Quests ------ 1. Free Angyar from his Dead Contract and return it to him and his wife - 750 XP, and a free place to rest from now on! Talk to Wife-of-Angyar, not Angyar himself! You'll get this quest which may be solved by locating Gravesend in the Gathering Dust bar (she gives you some confusing directions, it's actually due west of Angyar's place). Once you locate Mortai Gravesend, there are 3 ways you can obtain the Contract: a) Shame him into just giving you the Contract back, by convincing him that it's morally wrong to hold such a Contract. This is the cleanest way. b) Have him fetch the Contract and kill him for it, but this is the extremely messy way. Everyone in the bar will attack you. c) Have him fetch the Contract and steal it from him. Obviously, either you or someone in your party must be a Thief in order to make this option possible. Once you've obtained the Contract by whatever means, return it to Wife-of-Angyar. She'll ask you to show him the Contract, but not tell him how you got it back. Tear up the Contract right there in front of him, and he and the wife are eternally grateful to you (a place to rest for free from now on). 2. Look into the matter of the mausoleum's walking dead - 1000 XP plus 200 Coppers. Talk to Norochj in the Gathering Dust bar. He'll tell you about a mausoleum to the north that is accessible via a portal. Sure enough, when you approach the entrance to the building just north of the Dustman Monument, a portal materialises. When you step through it, a spirit appears immediately you are inside. See Quest 8 for further details. 3. Find the "source" of Pharod's bodies for Emoric - 2500 XP and 300 coppers. Talk to Emoric in the Gathering Dust bar, and convince him that you want to join the Dustmen faction. You'll get this quest when you bring up the topic of Pharod (of course, you'll have to find Pharod in order to complete this quest). Also, you'll get Quest 4. 4. Talk to Norochj for Emoric, and do what Norochj asks of you - Quest 6. Norochj gives you Quest 5. When you have completed it, return to Emorich again, and you will get Quest 6. 5. Speak to Awaiting Death on behalf of Emoric - 500 XP and Quest 7. You can kill yourself for the benefit of Awaiting-Death. You get 250 XP for this, and he gets a fresh outlook on life. When you report back to Emoric, you get an additional 250 XP. 6. Speak to Sere on behalf of Emoric - 1000 XP and Quest 12. Soothe Sere the Skeptic concerning her misplaced faith for 500 XP. When you report back to Emoric, you get an additional 500 XP. 7. Track down a thief disguised as a Dustman - 1500 XP and 200 Coppers. The person you seek is named Ash-Mantle, and is hanging about in the SW region of the Hive. Speak with him, but don't accuse him of being a thief outright or you'll scare him off. As you make to leave, you'll notice him trying to pick your pocket. Allow him to do so, observing his technique (750 of the above XP). Then, try to grab his hand. Once you've scared him off, you can return to Norochj and claim your reward. 8. Defeat the intruder in the Mausoleum for the Guardian Spirit - 1000 XP. Once inside the mausoleum, if you assure the Guardian Spirit that you are there to help, he'll let you pass. Now, you can explore the entire mausoleum, killing all the undead that attack you, or you can head right for the centre of the action. To do this, make an immediate right, and just keep heading south. First, a word of caution: if it's early on in the game, it's best to let Morte fight all the battles. He's got a much lower AC than you. Just give him all the Bandages and Clot Charms, stand back, and let him have a go! Anyway, keep heading south and west and you'll reach a part of the path that's guarded by a Giant Skeleton. Once past the Giant Skeleton, you enter a room that contains an evil necromancer (really, is there any other kind?) and his skeleton henchmen. Just sic Morte on him. Once he's dead, all his skeletons immediately collapse into harmless piles of bones and the struggle is over. There's a good haul of scrolls here, a Magus Guard, and a magical Bone Dagger... and be sure to read Strahan's Diary for a laugh! The Guardian Spirit rewards you with some XP as soon as you leave the slain Strahan's chamber, but be sure to return to Norochj to collect your reward for completing Quest 2. 9. Find a way to help Ingress - 750 Xp and Ingress' teeth! Ingress is wandering around just to the NW of the Dustman Monument. She's a distraught woman, having come through a portal over 30 years ago, and not being able to find the portal to take her back. She's even afraid to walk through any doorway or arch lest she be accidentally teleported! You need to seek out the fellow named Candrian in the Smoldering Corpse bar, SE region of the Hive. He offers to help Ingress, and also gives you a Negative Token (to ward off the undead). Go speak to Ingress again, and then return to Candrian once more to collect your reward. 10. Find Craddock for Baen the Sender - 500 XP plus 45 coppers. Baen the Sender is wandering around just to the north of the Gathering Dust bar. He asks you to find this man Craddock... somewhere in the Hive. Craddock is located in the marketplace, SW region of the Hive. 11. Help Sev'Tai get her revenge - 250 XP and Copper Earring. Sev'Tai, a Tiefling woman, is standing inside the Dustman Monument. Her 3 sisters were murdered by a Chaosmen gang who call themselves "Starved Dogs Barking". This gang hangs out in the SE region of the Hive. Just kill 3 of them, and return to Sev'Tai. Note: in order to join the Chaosmen faction, you need to speak (bark?) with Barking-Wilder, who hangs around outside the Smoldering Corpse bar, on the east side of it. You have to be of Chaotic alignment in order to pull this off, so don't even bother trying if you're playing a goody two-shoes type. 12. Find Soego for Emoric - 2500 XP and invitation to join the Dustmen faction. You must complete Quest 6 first. As your final quest on the way to becoming an initiate of the Dustman faction, Emoric wll ask you to locate Soego, whom you first met in the Mortuary. Once you've completed this quest (I can't tell you how just yet), Emoric will invite you to join their faction. Hmm. I think some of the other factions provide greater benefits when you join. But if you always wanted to be a Dusty... The Hive - Northwest region =========================== Arlo's flophouse is located just to the west of the gate leading to the NE region. You can kip here for the night for only 5 Coppers. Quests ------ 1. Deliver box to Ku'atraa - 250 XP and Quest 2. A young man by the name of Mar is standing just to the south of Arlo's flophouse. He'll give you a box, tell you not to open it, and to deliver it to a man in the SE part of the Hive. Of course, if you do open the box... out comes a hideous fiend. You can kill the fiend, and he leaves behind a Blood Dagger. It's a good weapon, but unfortunately it's also cursed. Once you arm yourself with it, you go berserk in battle and lose all control of your character. In order to get rid of it, you need to find someone who can cast Remove Curse (like, Mebbeth in Ragpicker's Square). Anyway, what you should do to complete the quest is first locate Ku'atraa in the warehouse, SE region of the Hive. He'll have nothing to do with the box, runs screaming from the warehouse, but suggests that you take the box to "Brasken" in the SW region of the Hive. 2. Deliver box to Brasken - 250 XP and Quest 3. Ku'atraa asks you to deliver the box to Brasken, whose house is located on the western edge of the SW region of the Hive. The door to his place is more like a portcullis (bars). When you deliver the box to him, he tells you a bit more about the history of the box, then suggests you take it to Shilandra. I feel a Fed-Ex coming on... 3. Deliver box to Shilandra - 250 XP and Quest 4. Shilandra's place is located in the far NE corner of the NE region of the Hive. She then sends you to the burnt-out cathedral in the Alley of Dangerous Angles. 4. Go to cathedral located at the center of the Hive - 1000 XP. Finally... Aola in the burnt-out cathedral (east side of Alley of Dangerous Angles, search carefully, in the middle of the burnt-out out building, for the entrance to the cathedral) will vanquish the fiend in Morodor's box! If you feel like living dangerously, you can ask Aola to make you a disciple of 'Aoskar'. If you choose to become a disciple, you incur the wrath of the Lady of Pain... immediately you leave the Alley, the Lady appears and sends you into the Player's Maze (see section on this below). You can return Moridor's box to Aola after you escape from the Maze... that is, if you escape from the Maze :-) Anyway, once you've got rid of the box, you get Quest 5. 5. Talk to Mar about the box - 1250 XP and 500 coppers, plus Hollow Axe! Finally, things come full circle with this seemingly interminable Moridor's box quest! Mar has moved from his original position to the south of Arlo's flophouse, and is now hiding in the stone arbour to the NW of the flophouse. Let him try to explain the situation to you, then gracefully accept all the goodies he hands over. 6. Find Nestor's fork - 500 XP and Obsidian Earring. Nestor is the distressed guy inside Arlo's flophouse. Looks like he needs his fork to go through a portal, and someone has taken it from him. That someone is a big, dumb berk by the name o' One-Ear, who is hanging out just to the NW of Arlo's Flophouse. 7. Retrieve Porphiron's necklace - 1000 XP plus weapons training. Porphiron is standing just to the north of Arlo's flophouse. The thieves that took his necklace are to be found just to the west of the Smoldering Corpse bar in the SE region of the Hive. After you get the necklace back, Porphiron will train you in all weapon categories (amount of proficiency attainable subject to the level you have attained as a Fighter). The Hive - Southwest region =========================== Another entrance to the Alley of Dangerous Angles is in the NE part of this region. See section on the Alley below. The Office of Vermin and Disease Control is the large building roughly in the centre of this region. If you talk to Phineas T. Lort inside, he'll eventually bore you to death (good place to rest for free). If you can pickpocket Phineas, his key opens the locked cellar door. There's a Wererat in the cellar. Watch it, they're only susceptible to magical weapons! The locked chest down there contains, amongst other things, a Charm of Infinite Recall (allows you to identify magical items). Quests ------ 1. Find Jhelai for Craddock - 750 XP and 30 coppers. Once you find Craddock for Baen the Sender (see The Hive - NE region, Quest 10), in the marketplace here, Craddock asks you to find Jhelai. The man is located just south of the Smoldering Corpse bar, in the SE region. You get 250 XP just for finding Jhelai, but he won't go back to work for Craddock. Return to Craddock, and offer to fill in for Jhelai. 2. Remove Reekwind's "curse of stench" - 5000 XP, and some interesting tales penned into your journal. Phew! Reekwind is standing just NE of the marketplace here. If you pay him 3 coppers and listen to his story, you'll get this quest. Looks like you can just get a Mage to cast 'Remove Curse' on the poor bugger, but the solution to this quest is far more complicated than that, and it's far away from here that you'll find it! 3. Find a tombstone for the Crier of Es-Annon - 1000 XP. The Crier is wandering around on the west side of this region. Engage him in conversation, then mention that a tombstone might serve all the Criers' needs better than the present method of remembering their lost city. Go to the Dustman Monument in the NE region of the Hive, and tell Death-of-Names that you want to bury a name... Es-Annon, of course (500 XP for this). Then return to the Crier and tell him what you've accomplished. The Hive - Southeast region =========================== Mourns-for-Trees is... mourning for the trees in the northern part of this region. 500 XP for offering to mourn along with him. If you can get at least 2 more of your party to agree to mourn for the trees, it's another 500 XP. In the Smoldering Corpse bar, talk to 'O', and add +1 to Wisdom! Also, you can get Dak'kon to join your party for 1000 XP... and perhaps Ignus too, if you can find the means :-) Talk to Barkus, the owner. For 500 coppers (300 with decent CHR), Barkus will give you your old eye back. You recall some memories with this eye, plus gain some weapon proficiencies and 1000 XP. Dak'kon can teach you much, but you have to become a Mage first. He can transform you into one. Then, tell him you want to learn the Way of Zerthimon. He opens up the first Circle on his circular stone artefact. Curiously, in order to use/read it, you have to access it in his inventory. I'll tell you, that one had me stumped for a while! Anyway, there are 6 Circles to read on the Unbroken Circle of Zerthimon. They require progressive levels of Wisdom in order to comprehend what you are reading (by the way, Fell's tattoo parlour, mentioned just below, is a great source for tattoos to increase your WIS :-) Here's what you get upon completing each Circle to Dak'kon's satisfaction: 1st Circle (requires WIS 12) - 300 XP 2nd Circle (requires WIS 13) - 600 XP and 'Scripture of Steel' spell 3rd Circle (requires WIS 14) - 900 XP and 'Submerge the Will' spell 4th Circle (requires WIS 15) - 1500 XP and 'Vilquar's Eye' spell 5th Circle (requires WIS 16) - 3000 XP and 'Power of One' spell 6th Circle (requires WIS 18) - 5000 XP and 2 x 'Balance in All Things' spell (one for Dak'kon!) You're probably familiar with all of them bar the last one. That's because Dak'kon never mastered the 6th Circle himself (you beat him too it)! Balance in All Things is fairly handy. When struck by an opponent and you take damage, the same amount of damage is meted out to all foes in a 10 ft. radius. Well, you'd think there'd be no more Circles after that, but you'd be wrong! Examine the Unbroken Circle again, and you should be able to unlock the 7th Circle for 3000 XP more. Then, you get 2 copies of the spell Missile of Patience, for another 5000 XP. Gee, I think you're milking this for all it's worth. I didn't stick around as a Mage for long enough to determine what Missile of Patience gets you... but I did up my WIS by one more to 19 in order to see if I could take the Unbroken Circle any further. Indeed, you can unlock the 8th Circle for 6000 XP. Once you learn the 8th Circle, you get 10000 XP for yourself and Dak'kon, another 10000 XP split amongst your party, plus 2 Scrolls of Zerthimon's Focus (chances for a Critical Attack are raised for 5 seconds per level of the caster)! Not only that, but Dak'kon gets a permanent boost to the following stats: +1 STR, + 2 DEX, and +2 CON :-) Well, that's about as far as you can take the Unbroken Circle of Zerthimon, but it hasn't been a bad journey, has it? Fell's tattoo parlour, on the east side of this region, is an absolute boon to your stats, but it's gonna cost ya! All the good tattoos - ones that raise your primary stats by 2 - cost 1200 coppers each. You only have room to wear 3 tattoos on your person, so choose wisely. Note: when you return here later with a special item, have one of your party members translate for you. Fell will recall tattoos that he had long since forgotten how to execute, and they will then be available for you to purchase. Another note: you can, and should return to Fell's often. Depending on what you've experienced so far in the game, Fell will usually have a few new tattoos for sale that are based on these particular experiences. Remember also to pick up a few tattoos for your companions. It's worth it. Quests ------ 1. Resolve a bar tab - 1000 XP. At the east side of the Smoldering Corpse bar, the woman Mochai is masquerading as a Dustman (seems like a popular pre-occupation). For 100 coppers, you can settle her tab with Barkus, the owner. The Hive - Alley of Dangerous Angles ==================================== Though it grates on you, it's probably best to pay the 10 coppers to grant yourself safe passage, else you'll just wind up fighting the entire way through the Alley, and will only be able to get Quest 4 below. Periodically, some members of the 2 gangs will have a go at each other. Let them at it. Easier for you to just pick up the pieces afterwards! Quests ------ 1. Krystall wants Rotten William dead - 1500 XP, no more toll for Alley, Quest 3. Krystall is the leader of the Razor Angels. She's standing in the NW corner of the Alley. Rotten William hangs out in the SE corner. If you take Rotten William out for Krystall, you of course won't be able to get Quest 2. Rotten William has 300 coppers on him, so this fact might influence your decision! 2. Rotten William wants Krystall dead - 1500 XP, plus request to deal with Blackrose. Rotten William is the leader of the Darkalley Shivs. He's standing in the SE corner of the Alley. Krystall is located in the NW corner. If you take Krystall out for Rotten William, you of course won't be able to get Quest 1. 3. Krystall wants Blackrose dead - 1500 XP and 700 coppers. Blackrose is located in the burnt-out building just east of where Krystall hangs out. He questions you about your alignment. If you say you stand for good, he'll ask you to kill Rotten William (1500 XP). If you've already killed Rotten William, Blackrose will ask you to kill Krystall, to restore "balance" to the Alley. Anyway, all these quests are kinda circular! If you kill any 2 of them, you'll net 3000 XP, plus varying amounts of copper. 4. Rauk needs you to fetch 3 rings from his tent - Scrolls (Armor, Fist of Iron, Identify!), Ring of the Traveler, Green Steel Dagger. The intellectually challenged Rauk, along with 5 Mages-in-Training, are located in the burnt-out building in the very south of the Alley. He's forgotten to bring rings for the Mages, so they can't train. You're looking for a Bronze, a Silver, and a Gold Ring. Strictly speaking, they're not all in Rauk's tent; rather, you can get the Bronze one off most any dead gang member, the Silver is in Rotten William's tent under some slats near the stove, and the Gold is hidden in a bed in Krystall's tent. When you return the Rings to Rauk, the mages use them to conjure... a killer lim-lim?! It slaughters all the mages, leaving you to round up the spoils. Whatever you do, don't kick the lim-lim. It will then attack you, is very difficult to defeat, and only nets you 130 XP for killing it! Also, it's Rauk's new-found 'friend', and he'll attack you if you hurt the lim-lim. Go figure. Player's Maze ============= In the NE part of the maze, you'll find a pile of bones near an abandoned campfire. The ashes of the campfire contain a Journal, and a Sledgehammer that turns out to be a valuable enchanted weapon (Brimstone Hammer). The journal, left by yourself in a previous incarnation, contains a clue about how to get the hell out of here: "maybe I should go through one, THEN walk back to the same portal without..." (let me finish the sentence) "going through any other portal". Right. Go through the portal at 4 o'clock on the map, then head back to that same portal without going through any other portal. When you go through this portal the second time, you wind up at the portal at 7 o'clock. Exit the maze through this portal (you actually have no other choice once you get here). The Hive - Ragpicker's Square ============================= You get here from the NW region of the Hive. Just to the north of where you enter, a hideous creature named Marrow-Friend is lurking there in an alley. Allow him to take a bite of you(!) in exchange for the finger bone hanging from his neck. Once you have it, bite off your own finger, and replace it with this finger bone. A ring drops off the finger, and you can now choose to wear Mempa's Biting Ring. The item is cursed, but it never seems to do TNO any harm, and it adds +2 to his Armor Class! Just to the west of where Marrow-Friend hangs out, there's a door into a house. Once you open the door, a portal appears. If you go inside the house via the portal... there's no apparent way out. Wait a while until a character named Vlask appears with 2 henchmen. You can either pay him 100 coppers for a glass bead that activates the exit portal, or kill them for it. Old Mebbeth's place is the big round house in the south part of the Square (the midwife's hut on your map). She'll heal you and your party members for free, and you can rest here. She's also got a lot of nice things for sale, including a handy Scroll of Remove Curse, and a Divine Censer. Ratbone is standing outside Sharegrave's kip, in the SE of the Square. He'll train you as a Thief for 50 coppers. Also, go on inside and talk to Sharegrave. He'll tell you where Pharod is holed up and gives you Quest 1 below. Quests ------ 1. Find out where Pharod's corpses are coming from for the man in Ragpicker's Square - 750 XP and 100 coppers. If you follow the walkway all the way around to the north of the Square, you'll come to an archway that's blocked by rubbish. If you have some Junk on you, you can thrust it into the archway and activate a portal here! This portal leads through another portal, and finally to a door that takes you underground - and so begins your quest to locate Pharod... see section on Trash Warrens next. 2. Find Amarysse for Nodd - 750 XP. Nodd is standing just outside of Old Mebbeth's place. Amarysse is the harlot dressed in blue just SE of the entrance to the Smoldering Corpse bar in the SE region of the Hive. She entrusts 100 coppers into your care, to be taken back to Nodd. 3. Find a spell ruby for Jarym - 500 XP plus 200 coppers. Jarym's tent is just south of Mebbeth's place. He's looking for a good quality ruby in order that he might complete a spell he's working on. Hey, didn't Moridor's box, the one that Mar gave you, have a ruby in it? If Aola banished the fiend for you, he has the ruby, and you can buy it back off him for 300 coppers (200 with high CHR). Jarym gives you back 200 coppers when you deliver the ruby, so it's not as bad as it seems. 4. Learn the ways of the Art from Mebbeth. During the course of your conversation with Mebbeth, ask her if she's a witch. Usually, a question like this would be presumed to cause offence. Hmph. But Mebbeth is keen to teach you if you agree to run some errands for her first. See Quest 5 to get started. 5. Find the herbs that Mebbeth needs - 500 XP and Quest 6. Go to the marketplace in the SW region of the Hive, and seek out the merchant who sells seeds. He won't know what to do with the seed that Mebbeth gave you, but Mourn-for-Trees in the SE region does! See Quest 6. 6. Find a gardener who has Mebbeth's herbs - 1500 XP and Quest 7. Talk to Mourns-for-Trees in the SE region of the Hive. Then just will the seed to grow, and it'll sprout barbs that wrap around your wrist (500 XP). When you return, Mebbeth gets you to will the barbs from your wrist, and then make them into a frame (a Sadistic one, I should imagine) for another 1000 XP. 7. Get Mebbeth's wash from Giscorl - 1000 XP and Quest 8. Another trip back to the marketplace... Giscorl is the merchant in red. 500 XP for picking up the wash from him, and another 500 for bringing it back to Mebbeth. 8. Get ink for Mebbeth from Kossah-Jai - 1000 XP and Quest 9. Kossah-Jai is the portly woman in the marketplace, SW region of the Hive. She doesn't have what you're looking for, but she thinks that Meir'am down the road might... 9. Find Meir'am, get the ink for Mebbeth - Quest 10. Meir'am is standing on the east side of the Office of Vermin and Disease Control, SW region of the Hive. She has one of these peculiar fish that Kossah-Jai mentioned, but now you need to find a bowl or cup to hold the ink. Argh! If you go back to the marketplace again, you can get a Battered Tankard off the woman in red just to the east of Giscorl. Bring it back to Meir'am, and she'll squeeze the ink out of the fish. 10. Deliver ink to Mebbeth - 7000 XP and you become a Mage. Once you've completed all the quests for Mebbeth, you get 2000 XP for committing to be a Mage, plus another 5000 XP after you listen to all her instructions. You also get the following spells: Chromatic Orb, Blood Bridge, Identify - plus a pair of Amber Earrings that add +2 to AC! The Trash Warrens ================= You get here using the Junk-activated portal in Ragpicker's Square. Immediately you arrive, a collector accosts you. With high CHR (I had 16 at the time), you can talk your way by the collectors and thugs at the entrance; else, you'll have to fight them. On the east side of the Trash Warrens is a group of hostile Buried Villagers guarding a portal. The portal leads to a room containing a crate, guarded by a group of cranium rats that are casting spells at you (remember, Phineas T. Lort told you they were dangerous in packs?) There's a pretty good haul in the crate, so it's worth at least sending Morte over to pilfer the contents: 300+ coppers, Scroll of Magic Missiles, Prickly Club (good weapon for Thieves!), Silver Frame (turns out to be a Sadistic Frame that invokes "Pain Mirror"), some Cranium Rat Tails, and a Cranium Rat Charm. In the SE part of the Warrens, you can talk to Bish. The entrance to the Buried Village is through the trapdoor behind him, and he should let you pass. You net 1200 XP for talking your way through. Buried Village ============== Marta the Seamstress' house is located on the west side of the Buried Village. Have her take out your (ugh!) intestines, and you'll get a Twisted Ring for the experience. It adds +1 to Armor Class. You can buy the Teeth of the Viper here for Morte, a pretty nice set of enchanted snappers. I was never able to get much out of Ojo, even with a CHR of 16. He knows Gris is dead (see Weeping Stone Catacombs), but that's about it. Quint's Shop is located in the north of the Village. Unlike a lot of other merchants, Quint will buy almost anything from you. Good prices too (he paid me 320 coppers for a Bone Dagger). Quests ------ 1. Recover Ku'u Yin's number from Radine - 2500 XP and Number of Ku'u Yin. Ku'u Yin is standing right in front of Ojo's house. Radine is skulking about to the SW of there. A few trips back and forth between the pair of them will net you the Number (give Radine 30 coppers to ease the pain of losing the number), and Ku'u Yin lets you have his number anyway. It's a wearable tattoo that protects you from chaotic creatures. 2. Find and return Uhir's 'lucky knife' - 5000 XP. Uhir is wandering around in the eastern part of the Buried Village. His knife... you will encounter further along in your travels. 3. Get bronze sphere for Pharod - 15000 XP... and a surprise addition to your party! Pharod's hide-out is located in the NE part of the Buried Village. Finally, you get the chance to speak with your old 'mentor'. Fetch the bronze sphere. Ah, such an innocent sounding little quest :-) Go to the SE part of the Buried Village. A man named Barr will let you into the Weeping Stone Catacombs, once you mention that Pharod has sent you. 4. Get Quint's Poison Charm from the body of Gris - 7500 XP. If you ask Quint about himself, he'll offer you this quest. See section on Gris in Weeping Stone Catacombs for info on how to complete it. Weeping Stone Catacombs ======================= In the area just to the south and east of where you enter, there are 2 ghouls to defeat. Then, go through the door to the NE there, ('To the Shattered Crypt' on your map), and be prepared to be assaulted by a pack of lesser vargouilles. In the NE of this room, in a pile of bones, lies an extremely valuable weapon - the Punch Daggers of Moorin! (not to mention 500+ coppers in a crate nearby) In the NW of this same area, there's an entrance to the Crypt of the Embraced. There are some real tough ghouls in here, the toughest one worth 1200 XP. If you have the Special Ability 'Stories-Bones-Tell' (see Dead Nations), you can talk to Gris in the coffin, and he'll tell you about his stash near Ojo's place in the Buried Village. It's supposedly to "the right of Ojo's kip as you face the front door", but I wasn't able to find anything there... unless he means that pile of crates behind Ojo's place. There's a lone crate set into the ground behind the pile that has a Tarnished Silver Bracelet and a Silver Earring in it... but you could get those even before speaking with Gris. Better though, if you've been to see Quint in the Buried Village and he gave you Quest 4, you'll be able to find the Necklace of Hollow Teeth. It's actually just to the south of Marta's shack, near the window with the bent bars. When identified, it turns out to cure you if you've been poisoned. I didn't plan on being poisoned anytime in the near future, so I just took it right back to Quint and got the reward. Funny though... he supposedly hands you a heavy bag of coins in return, yet nothing appeared in my inventory or was added to my total of coppers. A bug, I suspect. In the NW part of the Catacombs, just before the entrance to the Dismembered Crypt, there's a tomb that contains a 'Claw'. Once identified, this turns out to be a Shamanic Rod. It invokes the spell "Magic Missiles". In the Dismembered Crypt you find... surprise, surprise... a Severed Arm! When you get a chance later on, take it to Fell's tattoo studio. Have Dak'kon translate for you this time, and ask Fell about the tattoos on this Severed Arm. If you press Dak'kon really hard on this topic, you'll learn about TNO's 4 previous travelling companions. Keep pressing until you get 750 XP, and Dak'kon agrees to talk to you further about this subject only when outside the earshot of Fell. So, go outside and ask Dak'kon about your travels. You should then get the topic about the tattoos on the arm. You learn that one of your previous companions was a blind archer by the name of Xachariah. If you now travel to the 1st floor of the Mortuary (tell them you're there to visit Deionarra to gain entry), you'll find zombie worker #331 all the way to the east on this floor. It's none other than Xachariah! Grill him about everything, and he'll eventually tell you about an object you left inside him for later collection. Initial probing reveals only his liver, but a subsequent probe finds his heart, which is worth a permanent +1 to DEX, and +1 to AC vs. Missile Attacks. The entrance to the Mosaic Crypt is in the NW part of the Catacombs. Careful not to step on any of the grates set into the floor of the crypt, or you'll be zapped by some powerful magic. The sarcophagus here contains an Enchanted Hammer, plus 212 coppers. In the middle of the Catacombs, there's a stairway infested by a pack of cranium rats. At the bottom of the stairway, hidden in a container, is a Smiling Bottle. This Bottle invokes the spell "Elysium's Tears". Quests ------ 1. Find the Decanter of Endless Water - 5000 XP. Glyve, the face in stone, is located in the passageway leading to the Mosaic Crypt, on the west side of the Catacombs. He'll ask you to find this Decanter, in the Drowned Nations, deep within the Catacombs. Once you've returned the Decanter to Glyve, he'll tell you to seek out a woman named Nemelle in a place called the Clerk's (or, Upper) Ward... 2. Kill vargouilles to prevent the corpse of Chad from becoming a vargouille himself - 3750 XP plus location of Decanter of Endless Water. Chad, or what's left of him, is lying just outside the entrance to the Dead Nations, on the west side of the Catacombs. You need 'Stories-Bones-Tell' in order to be able to speak to him (see Dead Nations). To fulfil his request, head back down the passageway, turn left, then head north and kill the 3 vargouilles there. In return, he'll tell you the whereabouts of the Decanter. Of course, you probably already have it at this stage in the proceedings. Dead Nations ============ The entrance to the Dead Nations is on the west side of the Catacombs. Oops. Looks like you're going to be here a while. Resistance is futile. Once you submit to them, you're taken to Soego's room (so, you finally found him)! You can rest there. There are 3 ways you can leave the Dead Nations: 1. Kill yourself. You and your party wind up back at the entrance to the Catacombs. 2. Perform quests for Hargrimm (see Quests 1 and 2 below). 3. Get an audience with the Silent King. See section on Stale Mary below. Stale Mary is located in a room on the west side of the Dead Nations. From her, you can gain the Special Ability called 'Stories-Bones-Tell' (3750 XP), whereby you can speak to all manner of dead and undead, including zombies, ghouls, and even the bones of the dead that are scattered throughout the Catacombs. If your CHR is high enough (mine was 16), Mary will get you in to see the Silent King (another 3750 XP)! Walk into the alcove to the north of her, and a portal appears. I offered to take the place of the Silent King... but this brought an end to the game (you sit in darkness and silence forever?) Anyway, if you promise not to tell anyone the truth about the Silent King, Hargrimm will agree to let you take your leave of the Dead Nations, and you get 7500 XP for this. There is a Puzzled Skeleton in the centre of the Dead Nations. He's been posed a riddle that he can't solve by a Riddling Skeleton (whose location is not fixed). If you have an INT of at least 16, you'll be able to trade riddles with the Riddling Skeleton until you stump him, for 6250 XP. Any less INT, and the Riddling Skeleton will best you before you get the answer to the riddle out of him, but you still get some XP for solving a few riddles. The Knifed Ghoul in the south end of the Dead Nations has Uhir's Knife (see Buried Village, Quest 2). Just give him some Cranium Rat Tails in exchange for the Knife (600 XP). Quests ------ 1. Seek out and slay any cranium rats in the Dead Nations - 3750 XP and Quest 2. Speak with Hargrimm, and ask him if there are any tasks you could perform that would convince him of your loyalty, in order that you may be allowed to leave this place. He'll ask you to kill any cranium rats you might encounter. Indeed, there are some at the end of the hallway just to the south of the chapel. 2. Give Hargrimm a reason to remove Soego from the Dead Nations - 5750 XP plus permission to leave the Dead Nations. You need to perform Quest 1 to get this quest. Then... there is a Doubtful Skeleton hanging about just outside the room where Stale Mary is located, on the west side of the Dead Nations. Speak to this skeleton, then return to Soego and tell him there is a skeleton who is thinking about embracing the True Death. Soego leaves his quarters to go speak to this skeleton, and it is then that you are provided with the opportunity to secretly read Soego's journal (2000 XP), which is hidden in his bed in the north part of his quarters. Turns out he's a wererat, sent by the Many-as-One (cranium rats) to spy on the Dead Nations! Talk to Hargrimm afterwards, and he goes to speak with Soego... be sure to take Soego's Skull after the fact, it might come in handy later. Then go talk to Hargrimm once more (3750 XP). If this quest was your ticket out of the Dead Nations (i.e., you didn't see the Silent King), Hargrimm agrees to petition the Silent King on your behalf, and you get an additional 7500 XP. 3. Find the Nameless Zombie her name - 5000 XP. You need to have the Special Ability 'Stories-Bones-Tell' (see Stale Mary) before you can get this quest. Then, speak to the Nameless Zombie, near where the Puzzled Skeleton is. She'll ask you to locate her tomb, in the Drowned Nations... but you can convince her that this isn't necessary, and just make up a name for her on the spot. Drowned Nations =============== One entrance to the Drowned Nations is in the SW part of the Dead Nations. The other is in the SW end of the Warrens of Thought (though I never managed to open this particular locked door). In a room just to the east of the entrance to the Drowned Nations, there's a trocopotaca standing over a body. The body has an Abyssal Pipe on it, which invokes the powerful spell "Cloudkill". Just south of this room is another room with some of the same beasties inside. There's a chest here with 371 coppers in it. In a room on the east side of the Drowned Nations, down a set of stairs, there's an alcove to the north that has the Decanter of Endless Water lying inside. Be prepared to fight for it! Return the Decanter to Glyve to complete Weeping Stone Catacombs Quest 1. In the south part of the Drowned Nations, there's a chest containing 3 Charms of Infinite Recall. Much more useful than the "Identify" spell when you have multiple items to identify. In the far SE part of the Dead Nations, on a body, is the Bronze Sphere for which Pharod sent you into the Catacombs! Also here is a Sealed Passageway, that leads to... a tomb. You must enter alone, so make sure you have plenty of room in your inventory first, as there are a few worthwhile items inside. Tomb Head into the room to the south, avoiding the large symbol set into the floor (note that if you step into the centre of the large symbol, you get zapped. Hmm). You get teleported to a room to the west. Get Tomb Key1 from the sarcophagus, and be sure to pick up the Abyssal Pipe from the body just south of there. Notice that if you try to exit this room, you just get teleported right back into it. So, stand in the centre of the symbol (killing yourself), and you wind up back at the entrance! This time, when you head south, you wind up in a room to the east. Get Tomb Key2 from the sarcophagus there, stand in the centre of the symbol... and this time when you walk south you wind up in the room to the south. Pick up Tomb Key3 from the sarcophagus there, and kill yourself once again. Finally, with this key, the next time you attempt to venture into the room at the centre... you get to stay there. Now examine all the wall panels, pushing in each one in turn. By the way, this is your journal, so you've just completed The Mortuary, Quest 2! TNO was relying on the fact that he could kill himself repeatedly in order to move from room to room - a feat no one else could possibly accomplish - to protect his journal from the rest of the multiverse. Once you've pushed in all 8 wall panels, you can open the sarcophagus in the centre of the room, revealing... Tomb Key4. Now head south again one more time. You wind up in a small room in the SE part of the tomb. The sarcophagus here contains: Knot Charm, Charm of Infinite Recall, Scroll of Ax of Torment, Tear of Salieru-Dei (an artefact that grants permanent +1 to CON, but only if your alignment is Lawful Good, which it's probably not :-), and an Enchanted Battle Axe. A portal here opens up, allowing you to exit the tomb and rejoin your companions. The Warrens of Thought ====================== The entrance to the Warrens of Thought is on the east side of the Weeping Stone Catacombs, guarded by 2 wererats. Careful, these creatures will only succumb to magical weapons or spells. Once inside, things will run a little differently depending on if you've visited the Dead Nations or not. If you have, you can bluff your way past Mantuok and get an audience with Many-as-One (2000 XP). If you haven't, then you'll probably get teleported to a room where you are held prisoner. No fear though, the room is loaded with useful weapons (Baatezu Mace for you Club fans), and you can talk the guard into letting you out. But then you have to fight your way through to the room where Many-as-One hang(s?) out. Just keep heading north and east. Once you've spoken to Many-as-One (you get Quest 1 below), you no longer have to fight the wererats, and are free to explore the Warrens of Thought at your leisure. In the room furthest north, in a barrel in the (dark!) NW corner, there's a bottle of Murk, which allows you to cast "Blacksphere". In a room to the south, near where you get locked up, there's a Scroll of Ball Lightning sitting on a shelf. In the far SW of the Warrens of Thought is the door that leads to the Drowned Nations, but I never managed to find out how to open it. I couldn't find a key, and couldn't bash it open even with STR 20 :-( Quests ------ 1. Discover the weaknesses of the Silent King for Many-as-One - 9500 XP. You get this quest when you first speak to Many-as-One. If you subsequently tell Many-as-One the truth about the Silent King, you'll get 7500 XP, plus 2000 more XP when Many-as-One helps you to recall some memories; however, once you do this, you have outlived the extent of your usefulness, are no longer welcome in the Warrens of Thought, and will have to fight your way back out. Tenement of Thugs ================= Once Annah has joined your party, you can enter the Tenement of Thugs, because she tells you the trick for getting by the supposedly 'painted on' door. The Tenement is in the SE region of the Hive, being the large building to the north of the Smoldering Corpse bar. Interlude: Pharod's Vault Once you enter the Tenement of Thugs, you'll witness a cut scene where Pharod is beset upon by a horde of... shadows. OK, the poor blighter's dead now, so you can go pilfer his hidden stash. Though strictly speaking, Pharod's Vault is not within the confines of the Tenement of Thugs, I've chosen to document it here as it's as good a place as any. Anyway, as you surmised, his Crutch is the portal key. Take it (and the Bronze Sphere of course, you can sense it's important somehow!) and when you approach the archway to the NW of his 'throne', sure enough a portal appears. Now, you have to search all the bookshelves on all the levels of his stash meticulously, and this is a list of the important stuff you should find there: Scroll of Magic Missile, Scroll of Chromatic Orb, Blood Fly Charm, Scroll of Swarm Curse, Blood Charm, Stinger Earring (+2 to AC!), Angle-less Eye (+1 to AC for missile attacks? Hmm). By the way, Pharod's Crutch is a useful enchanted Club weapon, so you might want to keep it if you're so inclined. Meanwhile... back at the Tenement... If TNO dies here, you wind up in a room with a locked door. Just have Annah use her Thief skills to open it. Quests ------ 1. Find key and sneak out of Tenement - 1000 XP plus Adder's Tear. Speak to Sybil, the woman standing just outside the large room filled with crazed thugs on the ground floor. She'll tell you about a key you'll need to open the door to the alley, and that it's supposedly hidden on one of the thugs somewhere upstairs. She'll also allude to the fact that you can sneak past the thugs if you enter the room via another door to the SE of here. Anyway, all the way up on the 3rd floor, there's a mage at the end of a long corridor. Open the door to this corridor, wait for the 3 thugs to come out of the corridor, then kill them. The mage won't have seen you yet. Then have Annah sneak in the shadows, get behind him, and backstab him. One less crazed mage, and he has the Tenement key on him! The room next to where the mage was standing has a cart with 4 Clot Charms and 170+ coppers in it. Once you have the key, give it to Annah, then head back to the ground floor, and find the door on the east side of the room with all the thugs in it. Have Annah stealth her way through the entire room, being careful to keep in the shadows (if you have some Dirty Rat Charms, these boost Stealth skill by 10%). The door to the alley is all the way at the south end of the room. Once she makes it through the door, you're all out, and Sybil meets up with you in the alley. By the way, you don't have to stealth your through the room in order to get out - you can simply make a mad dash for it or fight all the way to the door - but using stealth for a change is a lot more fun! Alley of Lingering Sighs ======================== The only way to get here is through the Tenement of Thugs. Enter the Small Dwelling to the south of the Tenement, and recover the Hammer from the dead Dabus there. Also, make sure you determined how the dabus died, either by using Stories-Bones-Tell, or by simply examining the corpse. Then, head east, through the large gate, and down the stairs. Speak to the... entity there, and you'll get Quest 1. Quests ------ 1. Get rid of dabus in the Alley of Lingering Sighs - 11500 XP and Quest 2. You can kill the dabus that's hammering away in the Alley, but it's bad for your karma, among other things (like, it pisses off the Lady of Pain, and you don't want to do that... again). A better way is to tell him about his fallen colleague in the Small Dwelling. He'll go to investigate, and shut himself inside. 2. Undo repairs the dabus made to the Alley - 16250 XP and passage to the Lower Ward. I sure hope that you're still carrying that Iron Prybar around with you. If not, it's going to mean heading back into the Tenement of Thugs (there's one in a cart on the ground floor, right at the bottom of the stairs that lead to the 2nd floor). Anyway, there are 2 spots on the wall in the Alley that exhibit a question mark when you place your cursor over them. One is to the NW of the gate at the top of the stairs, the other is just to the west of the Small Dwelling. Make sure you have your Hammer and Iron Prybar in inventory, then examine each of these spots, and make the necessary adjustments. Lower Ward ========== The only way to get here is through the Alley of Lingering Sighs. However, once here, you can head back into the Alley of Lingering Sighs, then use the World Map to get back to any place in the Hive. As soon as you enter the Lower Ward for the first time, Morte is kidnapped by 2 wererats. Sigh. I suppose you'll have to go looking for the poor bugger now... OK, I guess I have to tell you where Morte is, since this is a Guide. Well, you see that place on the very south of the Lower Ward map marked 'A Wrecked House'? Yup. Go in there, and when you take the stairs down, you find Morte sitting on a shelf amongst a load of his friends. Then, the mage Lothar appears, and wants you to find a skull to replace Morte with (see Quest 2). He thinks you might find such a skull in a tomb in the Drowned Nations. If you get the dialogue choice to say you've been there and it's empty, you'll get 30000 XP for this! Korur, standing just to the SW of the entrance to the Ward, will train you in weapons. Lenny, standing just to the south of the siege tower, will train you as a Thief. Giltspur is standing amongst a crowd of punters just outside the market. He'll give you Quest 4 if you ask him about work. Also, he's got a Stinger Earring on him. Quite expensive, but also quite easy for the likes of Annah to nick! It's +2 to AC, so not a bad thing to have. Speak to Xanthia, the snotty woman in blue standing just to the east of Sebastion the Mage. She'll reveal that just to settle a small grudge whereby a thokola spilt some drink on her dress, she's set him up to kill an abishai, though she knows it isn't possible without magic weapons. Talk to Thorp, the head of the 3 thokola who are standing there to the SE of Xanthia. You get 6000 XP for warning them, they give you 600 coppers in return for the favour, plus you get another 2000 XP when you return to Xanthia and tell her what's transpired. She's pissed off at you, but no great loss. In the indoor market next to where Giltspur is standing, there are 3 merchants with lots of useful items for sale (Note: a Thief will be able to steal most of these. Can't resell them in that case, but if they're useful to you, who cares?) Most notable of these is a Displacer Ring, sold by Aalek, that adds +2 to AC. The Pawn Shop in the SW holds little of interest... except for the Shards of Fate, a curious Fist weapon. If you can get Miccah and Brokah (the husband and wife who own the place) to argue, which isn't difficult, Morte learns some new taunts. Near the entrance to the Great Foundry, there is a woman named An'azi, a githzerai, one of Dak'kon's people. She is suffering greatly, and begs to be put out of her misery. You can ask Dak'kon to do this, but you only get 10 XP. Therefore, I suspect it's one of those accursed alignment tests... but I'm not sure in which direction it takes you - Lawful or Chaotic, Good or Bad? :-( Quests ------ 1. Kill Grosuk the abishai for Sebastion - 4000 XP and permanent +2 to CHR (Sebastion fixes up your scars)! Sebastion is the mage standing on the drawbridge just to the east of the entrance to the Lower Ward. He'll train you to be a Mage, but you'll have to complete this quest for him first. Sebastion tells you there's a contract he can't fulfil, and wants you to kill the party (Grosuk) he made the contract with. Grosuk the abishai is indeed standing just to the east of the siege tower. Speaking to him reveals that Sebastion promised to tell him how to get into the siege tower. Now, you can play this 2 ways: a) Kill Grosuk (8000 XP)! You also get a reward from Sebastion, but this solution doesn't do wonders for your 'lawful good' reputation, if you happen to be leaning that way. b) Tell Grosuk that Sebastion can't fulfil his end of the contract. Grosuk promptly stomps over to Sebastion, polishes him off, and all you get out of it is a Heart Charm. I thought that an extremly extremely clever thing to do would be to get into the siege tower prior to speaking with Grosuk, and then I'd be able to tell him how to get in, thus circumventing Sebastion. Tried this and... no dice. The moral dilemma concerning the 2 choices above is central to the quest's theme. 2. Find a skull of great value - 15000 XP plus Morte gains the Special Ability 'Skull Mob', and Quest 3. If you've got Soego's skull with you (see Dead Nations), then you're all set. Another option is the skull of Mantuok, the nasty wererat you (possibly) met in the Warrens of Thought. He's to be found through the trapdoor under the divan in Lothar's room, near a bridge with some of his buddies. You can kill him in battle, or you can just give him a piece of Poisoned Cheese that you buy from Giltspur. When Mantuok asks what you're doing down there, tell him you're on a mission for Lothar. Then, when he challenges your intentions further, you should get a dialogue option to offer him the cheese. You get 5000 XP if you manage to off Mantuok with this ingenious 'have-a-piece-of-poisoned-cheese-won't-you' technique! In any event, Mantuok's carrying around the Grimoire of Pestilential Thought - a neat thing to have if you're a Mage leaning toward the dark side... so it's worth either wasting him or picking his pocket for it. Once it's in your possession, this book will talk to you! If you spill a drop of blood on it for openers, you'll learn the spell 'Blindness'. The next time you talk to it, you'll get Quest 11. 3. Find the night hag Ravel Puzzlewell. This is another one of those quests that might take a while... 4. Take a handbill to Scofflaw Penn at the Print Shop to be printed - 6000 XP and Quest 5. Penn's Print Shop is located in the NE of the Lower Ward. After you deliver the handbill, if you mention the note you found in the Mortuary, you can then ask Penn if you can join his group... but he won't entertain you - not yet, anyway. Just be sure that you don't piss him off so much that he locks you out of his shop, because you might require his services later on! 5. Take a message to Keldor of Durian at the foundry - 6000 XP, entry to the Great Foundry, and Quest 10. Giltspur gives you this quest after you deliver the handbill and report back to him. This is your ticket into the Great Foundry! It's in the northern part of the Lower Ward. Just talk to one of the guards behind the gate there, and he'll let you in once you have the message from Giltspur on you. Keldor is to be found through the door to the NE marked 'To the Godsman Hall', immediately you enter the Foundry. Then, go up the steps and through the next door. Keldor will give you Foundry Quest 1 (see section on The Great Foundry below). 6. Karina needs a friend - 4000 XP. Karina is the woman in red garb standing in the middle of the indoor market. Just getting this quest nets you 2000 XP, and then speaking to Corvus, the guard by the entrance north of there, finishes the quest off for the remainder of the XP. 7. Find Trist's loan documents - 15000 XP, 1000 coppers, and (possibly) Quest 8. Trist is one of the people standing on the platform in the north part of the Lower Ward. Speak with her, and you learn that she's being sold into slavery to recoup monies from a loan she supposedly didn't pay. Hmm. Further probing reveals that the loan document was most probably stolen, so go talk to Byron Pikit first. He's standing just outside the marketplace. You get 1000 XP for delving a little deeper into the mystery, but you won't get too much further with Pikit. So, go speak to Lenny next, who's standing just to the south of the siege tower. If you pretend that Pikit sent you, Lenny spills the beans. You get 2000 XP for this, plus another 4000 XP if Lenny tells you about the 'bonus' that's stored in the Warehouse along with the loan document (you might need high CHR to get this option). So, head to the Warehouse in the north of the Lower Ward next. In the Warehouse, speak to the floating head there (Vault of the Ninth World). You should at least be able to secure Trist's Loan Document, and also a Scroll of Evidence if Lenny confided in you. While you're here, you might be able to secure a Bag of Coins, if you can guess the amount that's in the Bag on the first attempt. Anyway, Take the Loan Document to Declan, who's the auctioneer standing on the platform with Trist. He'll agree to release Trist, and you get 4000 XP. Talk to Trist afterwards, and she gives you 1000 coppers, plus you get 4000 more XP! 8. Get evidence that Byron Pikit is a criminal - 2000 XP. If you secured the Scroll of Evidence from the Warehouse (see Quest 7), then you can try showing it to one of the Harmonium Officers standing on the auction block. For some reason, they won't even give you the time of day, however... if you completed Quest 6, Corvus in the marketplace is now your friend, and you can get Pikit arrested by giving the Scroll of Evidence to Corvus. 9. Release Dimtree from his zombie condition - 8000 XP. Talk to Hamrys in the Coffin Maker's Shop, SE corner of the Lower Ward. Though he's a wealth of information, especially concerning the factions... he's also an interminable bore. Then talk to Dimtree. Seems the poor chap was put here by Sebastion to keep Hamrys occupied - in other words, to keep him from inflicting his boredom upon the rest of Sigil. Anyway, Dimtree has had enough and wants out. Go talk to Sebastion the Mage again. He looks through a spell book, and says he can't help you directly; however, you can surreptitiously read the required spell over his shoulder for 4000 XP. Then, return and speak the words you learned to Dimtree, and the deed is done. 10. Take the handbill to Barkus at the Smoldering Corpse - 8000 XP and 200 coppers. You get this quest when you return to Giltspur after completing Quest 5. Just take the handbill to Barkus, and return to Giltspur. Easy money. 11. Sell a companion into slavery - Scroll of Adder's Kiss. After you give the Grimoire a drop of your blood, this is the quest you get. Hmm. The book tells you to seek out Vrischika in the Clerk's Ward (see below). She'll buy a slave. This is not looking good... 12. Kill a companion for an additional power - Scroll of Power Word, Kill. After you complete Quest 11, the Grimoire will give you this final quest. Of course, being the Nameless One (now 'Dark One'?), you can probably resurrect whoever you bump off about 30 seconds later... but it's just not the same afterwards, is it? Hard going here. As you can imagine, this is negative Karma all the way. After this, the Grimoire becomes silent. The Great Foundry ================= You get here from the Lower Ward, as a result of Quest 5 there (Note: you can also gain entry to the Foundry via an item you obtain in the Clerk's Ward, Quest 10... but that happens much later on. Don't peek ahead if you wish not to spoil things too much). If you speak to Saros in the Godsman Hall (see Quest 3 below), and ask him about his sister, he'll tell you that she has a special talent. When you then speak to Sarossa, who is usually standing in the circular room at the entrance to the Godsman hall, only then will you get the dialogue choice to ask her about this talent. If you can convince her that you believe in the Godsmen philosophy (usually, you have to join the Godsmen to be able to convince her), then she'll agree to 'change' you. You gain a permanent +1 to WIS. Nihl Xander is standing at the end of the passageway off the east side of the Godsman Hall, leading up to Sandoz's room. He recognises you, from a stone bust that someone had carved! If you agree to help him construct this 'Dreambuilder', you'll get Quests 5 and 6 below. Quests ------ 1. Forge an item - 8000 XP and a new weapon of your choosing. When you mention to Keldor in the Foundry that you might like to join the Godsmen, you get this quest, and also Quest 2. Head back out into the Foundry proper, and seek out the woman who is walking around there, Alissa Tield. Tell her you want to forge an item, and she'll tell you that you need: protection from the flames, tongs, hammer, and a piece of iron ore. Go see Nadilin in the clerk's office (room just to the east of where you entered the Foundry). And he'll sell you the Leather Apron, Forge Hammer, and Tongs. He mistakenly quotes 50 coppers as the price, when it's actually 40. You can pick him up on this if you're a miserly bastard, or pay him the 50 for a little push towards Lawful Good. Nadilin says you can only get iron ore from someone named Thildon, so head back out into the forge and look for him. Thildon reluctantly parts with a piece of ore. Now, find the one empty smelting pot, and left-click on it (not exactly the intuitive way, I thought). You can forge a Stiletto, a Sledgehammer, or an Axe. Not bad weapons, actually. When you're done, report back to Keldor, and he'll give you Quest 3. 2. Join the Godsmen - 8000 XP, access to Godsmen artefacts, and to the room containing the 'secret' project. You must complete Quests 1, 3, and 4. Then you get access to some very useful weapons and scrolls. You'll be able to take on Quest 9 now, and also have Sarossa 'change' you. 3. Solve the murder of Avildon the smith - 10000 XP and Quest 4. Back to Alissa, and she'll fill you in a bit on this murder Keldor wants you to solve. Now, you can finger any of the 3 suspects to complete the quest, but I believe this is the 'right' way: Speak to Thildon, and he'll suggest you interrogate Saros. Saros is Sandoz's son (Sarossa's brother). You can find him skulking about in the hall where Keldor is. He presents you with an awl that he says Thildon dropped on the night of the murder. Back to Thildon then, and he insists that Saros stole the awl from him and planted it as evidence. Saros... admits doing this, but still insists that Thildon is guilty, and that he only did this to make sure that Thildon would get convicted of the murder. Sigh. Thildon next fingers Saros and Bedai-Lihn (remember, the 3rd suspect?) as Anarchists. Back to Saros again, and he still insists that Thildon is the guilty one. Finally, when you return to Thildon this time, you can threaten him with having to take an oath (along with Saros) in front of Keldor to determine who's guilty. He finally backs down, and you can either have him arrested, or allow him to flee, depending on your Lawful/Chaotic tendencies. 4. Prevent Sandoz from killing himself - 12000 XP, and you may join the Godsmen. You must complete Quest 3 first, then Keldor will give you this final quest to become a Godsman. Head to the east side of the Godsman Hall, through the door, up the passageway and the stairs. You should be able to talk Sandoz out of his suicide by speaking to him through the closed door to his room. 5. Help complete the Dreambuilder in the Great Foundry - Portents of things to come... You need to have the Dream Key, a result of completing Quest 8, in your possession. Then go to that small door in the NW of the Foundry, the one you've always been wondering what lies beyond, and dream. 6. Fetch a vial of skin and blood. You need to venture into the Clerk's Ward to secure this item. See Clerk's Ward, Quest 1. When you return with the vial from the Apothecary, you get Quest 7. 7. Fetch a birdcage festooned with razorblades - Quest 8. If there was ever a compelling reason to get into the siege tower, this is it! Talk to Lazlo in the Marketplace. Ask him about this ward. He'll tell you of some strange comings and goings, and it is from this that you deduce how to get into the siege tower! Now go to the drawbridge to the east of the siege tower, and a portal will open up. Go through it (only if you don't want to, of course :-) Once inside the siege tower, speak to Coaxmetal the golem. Interesting. Coaxmetal will provide you with some nice weapons, namely: Punch Daggers of Shar, Brimstone Hammer, and Spiked Gauntlets of Ogre Power. You can't steal these, so purchase wisely! Also, more importantly, he'll forge the Blade of the Immortal for you... something that you can supposedly kill yourself with, but only if used in the right place. Hmm. Oh, and don't forget to ask him for the birdcage :-) 8. Bring a coffin pillow to Xander - 16000 XP and Dream Key. Easy one. Go talk to Hamrys in the Coffin Maker's Shop again, and ask him about a pillow. Then listen to his long dissertation about coffin making, and feel free to threaten him with bodily harm once your patience is exhausted. He sends you to the Warehouse. Just tell the Vault that you're here to claim something, and you've got your Dream Pillow. In return for the pillow, Xander gives you a key to get into the room where the Dreambuilder is housed. 9. Sabotage the Godsmen's machine for Bedai-Lihn - 8000 XP and Quest 10. Bedai-Lihn is an Anarchist, but you need to have undertaken Quest 3 in order to find this out. You also need to join the Godsmen, or you won't be able to complete this quest. Once you're a Godsman, take the north stairway from the circular room at the entrance to the Godsman Hall, and speak to Bedai-Lihn at the end of the walkway overlooking the Godsman Hall. Tell her you're not happy about being a Godsman any longer. She'll confide in you, and ask you to destroy the weapon that's being built for the baatezu. Speak to Keldor again, and ask him about the secret project. He'll give you a Godsman Token, which grants you access to the room at the north end of the Foundry. If you talk to one of the guards near the large doors, and show him the Token that Keldor gave you, he'll let you inside. Talk to Kel'lera, the githzerai woman who is heading the project (you'll get a lot more out of her if you have Dak'kon with you). It appears that they've been contracted by the baatezu to build a weapon that spews forth a great stream of fire. After you've got the skinny on the weapon, ask her about... ahem... 'weak spots' (I can't believe you get away with this). Then left-click on the rear of the machine where the question mark appears when you put your cursor over it, and you'll be allowed to sabotage it! Beware that in addition to blowing up the machine, you've just blown any chances at being a Lawful Good type :-) 10. Kill Sandoz, the Godsman factotum - 8000 XP and Quest 11. Just march upstairs and take out Sandoz and his 2 guards. 11. Smuggle Bedai-Lihn from the Foundry - 8000 XP, and Scofflaw Penn will now talk to you. You need to find her a complete set of smith's gear, and some rags. First, I thought I could just give her my smithy stuff, and I had some rags hanging about, but this doesn't work. There's also a Hammer, Tongs, and rags in a crate at the north end of the secret room, but these are of no use either. What you must do, in fact, is head back to Nadilin the clerk, and he'll sell you a Godsman Disguise for 60 coppers! Once you've completed this quest, you wind up outside the Warehouse. If you're still dead set on being an Anarchist, you can now talk to Scofflaw Penn in the Print Shop. See Quest 12. 12. Join the Anarchists - 16000 XP and access to their stash at the Warehouse. When you speak with Penn this time, you get the dialogue option to repeat the phrase that Bedai-Lihn gave you: "The city must burn." If you agree with Penn's doctrines, he'll assign you a task to kill Qui-Sai in the Civic Festhall. Qui-Sai is what appears to be a stone statue in a room in the north part of the Civic Festhall, which is located in the NE part of the Upper Ward (also known as the Clerk's Ward. To get to the Clerk's Ward, take the eastern exit from the Lower Ward). Now, you're better off waiting a while before you do anything rash here, because you'll be OK inside the Festhall after you kill Qui-Sai (no one there seems to realise what you've done), but once you step outside, every Harmonium Officer in the Clerk's Ward is going to be chasing after your sorry ass - making it difficult to go about your business at a leisurely pace. But then... you are an Anarchist, right? :-) Talk to Penn afterwards, and he'll send you off to see Leena and Conall in the Warehouse, which doubles as their safehouse. Frankly, their stuff at the Warehouse isn't top notch (the most notable being Scroll of Cloudkill, and a few earrings that double as spells). However, they do have cells of followers scattered around the place, so maybe there are some with real weapons like the other factions make available? (Note: indeed, Ebb Creakknees, located in the Smoldering Corpse bar, is another Anarchist. However, I never tried speaking to him when I was an Anarchist, so I don't know for certain whether you can get any decent gear from him) Clerk's Ward (a.k.a. Upper Ward) ================================ A lot to do here! You can start by seeking out the woman called Nemelle who Glyve, in the Catacombs, told you would know the command word that activates the Decanter of Endless Water. Sure enough, Nemelle is standing right there at the outdoor bar in the SW part of the Ward. Not only will she give you the command word for the Decanter, but you'll also get Quest 2 when you ask if she's looking for someone. Anyway, now that you have the command word, you can head back to the Smoldering Corpse bar and put out Ignus! He'll join your party then :-) Vrischika's Curiosity Shop, in the south part of this Ward, is a veritable treasure-trove of useful (and not so useful) items. You'll need many of her exotic items to complete quests. Of the non-exotic items, the best haul here is the Hammer of Comminution. It'll set you back upwards of 12000 coppers, so... it's best to have Annah steal it! Just have her use Dirty Rat Charms until her Pick Pockets skill is at least 110%, then she should be able to nick the Hammer within 10 attempts. Also worthy of buying or stealing: Teeth of the Fire Drake (possibly the best weapon for Morte!), Heart of the Fosterer (but you need to be of Chaotic alignment to use it), Tear of Salieru-Dei (for Lawful Good types), and a Divine Censer, used to raise the dead. The Brothel of Slating [sic, should be 'Slaking'] Intellectual Lusts is located in the centre of this ward. Talk to Fall-From-Grace, the succubus madam, and if you agree to speak with all 10 of her girls, she'll agree to join your party (see Quest 3 below). You can trade tales with Yves the Tale-Chaser (located in room at 5 o'clock on the map) for 500 XP a go. If you enter the room at the 12 o'clock position in the Brothel, and move your cursor over the left-hand wall panel, a secret door is revealed. Downstairs is an area that contains a sensory stone for each student of the Brothel (and a tenth stone with the name scratched off). Speaking with the caretaker reveals that the stones can only be accessed by the students, each one being tuned to the girl whose name is carved on the base. I never figured out how to access these stones. Grace didn't even have anything to say about them. If you buy the 'metallic cube figurine' (Modron Cube) from Vrischika, then seek out the Modrons in the central courtyard of the Brothel of Slaking Intellectual Lusts, you'll learn how to manipulate the Cube in such a way as to be transported directly to the Modron Maze (see section below). You can buy a 'tattered rag doll' from Vrischika as well, that turns out to be a Lady of Pain Rag Doll (by the way, if Fall-From-Grace has joined your party, she's got a very high Lore skill and can identify quite a few items without need of spell or scroll). Anyway, talk to the doll. Keep selecting dialogue choices until you feel a tingling sensation and the doll... changes. Then the next time you take any exit from the Clerk's Ward, the Lady of Pain will appear and send you to the Player's Maze. If it's the first time you've been there, see the 'Player's Maze' section above to learn how to extricate yourself. If it's the second time, then you're a deader anyway :-) Jolmi, the woman dressed in green just inside the entrance to the Civic Festhall, will offer you 1000 coppers (2000 if your CHR is high enough) for allowing her to kill you. Man, these Sensates are jaded :-) Seek out Jumble Murdersense, a small stout man wandering around the Civic Festhall. Get him to put a curse of hiccups on you. Then speak to Salabesh the Onyx, self-proclaimed Master of Curses, who is holding court just outside the Festhall. Shame him into giving you the phrase that puts a counterspell on Jumble! You get 10000 XP for this, plus you can now get Jumble to remove the Curse of Stench he put on Reekwind for another 1000 XP (see the Hive - SW region, Quest 2 :-) Qui-Sai is what at first appears to be a statue in the northern-most room of the Civic Festhall. You can persuade him to train you in weapons, but you need to refute his argument that he shouldn't train you first! See Quest 15 below. In the Galleria, one of the exhibits is a stone statue. If you examine the cracks in the statue, you'll note that a piece can be broken off... but you need an ordinary hammer to accomplish this feat... which you probably aren't bothering to carry around anymore. No worries. Just nick back to the Great Foundry and buy another set of forge gear from the clerk. The Forge-Hammer does the trick nicely, extracting a Mad Splinter from the statue (4000 XP), which turns out to be one of the better Edged weapons in the game (though it's fragile). Then, head on over to Vrischika's place again and purchase the Gorgon Salve. When you apply it to the statue (another 4000 XP), Morte learns some new taunts. The statue's curse has the side affect of killing TNO, but that's hardly anything to worry about, is it? On becoming a Sensate Normally, you can't become a member of one faction if you're a already a member of another, unless you renounce the first one. However, because there are things you need to accomplish in the private sensorium of the Civic Festhall - which is accessible only to Sensates - in order to complete the game, the designers have thoughtfully provided a 'back door'. Go speak to Aelwyn again after completing Quest 2, and she'll remind you that you were once a Sensate in a previous incarnation! Armed with this knowledge, Splinter will allow you to visit the private sensorium. You won't have access to all the things a full-fledged Sensate is entitled to, but it does the job. Once you've gained entry to the private sensorium by whatever means, seek out Quell (Splinter tells you he knows something of Ravel Puzzlewell). While you're there, make sure you experience 'Longing' from the stone in the room to the north. Deionarra gives you the keywords necessary to retrieve a legacy left with her father, the advocate. Also be sure to access the stone in the south room, called 'The Messenger'. You meet Ravel, and she tells you that to find her you need: a door, a key, and to unlock the key. The door is in a "place of steel and forges". Must be the Great Foundry. Quell is obviously the person in the Festhall who holds the key, but he won't help you until you find... an exquisite chocolate for him! Head for Vrischika's once more, and purchase the Chocolate Quasit. Quell then opens up a bit (8000 XP and you get Quest 12), and reluctantly tells you that a piece of Ravel is the key to the door you seek (you can also buy magical chocolates from Quell, the most useful of which is a Stinky Chocolate that invokes 'Cloudkill' for only 350 coppers). You can't get a piece of Ravel herself, but how about one of her offspring? See Quest 9. As for unlocking the key... see Quest 12. You may also visit 'your' room now. It's at the far eastern side of the Festhall. Just ask the nice lady clerk for the key... there are quite a few spells and charms on the shelves, not to mention a Scroll of Fire and Ice plus a mysterious Dodecahedron in a locked cupboard. You can fiddle with the Dodecahedron until it opens up. It looks to be one of your well guarded journals, and deciphering the language in it is the subject of Quest 10 below. Actually, about the only extra thing you get by joining the Sensates is the special ability of Sensory Touch. Fall-From-Grace (see Quest 3), being a Sensate, also possesses this ability. A little experimentation reveals that it works something like a Mage's spell - you can only use it once, then you must rest before you can use it again. However, I never found it to be particularly useful! When invoked, it seems to transfer up to about 10 HP from the caster to the target. There are easier ways to move HP around. UnderSigil ...is a big, bad place. It exists for only one purpose, and that is: to gain XP! You get there by taking stairs downwards from either of the entrances, at the north or the SW of the Ward. Before you go down there, be sure to rest up and have plenty of healing aids at hand. Near the north entrance, the main menace is Larval Worms. These will make mincemeat of your party in no time. They're worth 8000 XP each though. If you want to max the XP, it's best to kill each one individually, but you can wuss out and slaughter a whole group at once with Cloudkill (you only get 8000 XP for the whole group this way though). Near the SW entrance, you'll encounter mostly Trelons, also quite nasty. These are easier to kill though, and Grace's Call Lightning spell is especially effective. I thought there'd be loads of treasure down there, but the only thing of any real value is a pair of Manacles, that when identified are found to invoke Chain Lightning Storm. Quests ------ 1. Split Pestle and Kilnn - 6000 XP and 10 Clot Charms. The Apothecary is the large building in the centre of the Clerk's Ward. Speak to the dual personality Pestle-Kilnn behind the counter. If you're here as a result of The Great Foundry Quest 5, you'll get the dialogue option to ask for the vial that Nihl Xander sent you for. Additionally, you can split Pestle-Kilnn by venturing into Vrischika's Curiosity Shop just south of here and procuring the Elixer of Horrific Separation for a mere 200 coppers. Afterwards, speak to Pestle and he'll create 10 Clot Charms from a drop of your own blood. 2. Find Aelwyn for Nemelle - 8000 XP and permanent +3 to HP. Aelwyn is to be found at the other outdoor bar, on the east side of this ward. She asks you to return to Nemelle and tell her that she's here. 3. Speak to the ten students in the Brothel - 20000 XP and Grace will join your party.Ask Fall-From-Grace if she would like to travel with you. After much persuasion, she'll accept the offer, but only if you agree to speak to her 10 students. Of course, this leads to not a few quests, beginning with Quest 4 below. Once you've spoken to 9 of the students, you'll get a dialogue option to ask the girls who the 10th student is. None of them can tell you. Of course, when you then speak to Grace... you realise that the 10th student is none other than yourself! (if your INT is not high enough, you'll get the dialogue option to say that Luis the armoire is the 10th student) Fall-From-Grace is the only NPC of the Priest class. Her Call Lightning spell is deadly, and she's also the only one who can throw healing spells. Her Lore skill is very high, so be sure to speak to her regarding anything you're curious about on the Planes. 4. Spice up Juliette's love life - 20000 XP. Juliette is the woman in green, whose room is located at the 8 o'clock position in the brothel. I agreed to get some fake love letters from Scofflaw Penn (Print Shop in Lower Ward) and deliver them to her lover Montague in the Civic Festhall. He's the man dressed in red in one of the northern rooms of the Festhall (if you've managed to piss off Penn and can't get into his Print Shop anymore, you can get a Love Letter from the locked dresser in Yves' room in the Brothel, located at 5 o'clock on the map). You get 5000 XP for presenting Montague with the fake Love Letter, plus another 5000 XP when you suggest he tries a spot of turnabout on Juliette. Return to Juliette for the remainder of the XP. 5. Find and return Vivian's 'personal scent' - 25000 XP and permanent +1 to CHR. Vivian's chambers are at 11 o'clock in the Brothel, but she can often be found just wandering around the place. It seems someone has absconded with her scent. Hmm. But you need to be given Quest 6 as well before you can take any action. When you eventually do present the Veil to her, she'll use her skills to lessen TNO's formaldehyde stench, thus permanently improving his/your Charisma! 6. Find and return Marissa's Crimson Veil - 25000 XP. This quest is related to Quest 5. Marissa's Veil has also gone missing. Once you've got both these quests in your journal, talk to Nenny Nine-Eyes (usually in room at 9 o'clock on the map). As a side quest, you can rack up 5000 XP just for teaching Nenny how to be 'bad'. Anyway, Nenny will implicate both Marissa and Kimasxi Adder-Tongue. Go speak to them both (Kimasxi's room is at 4 o'clock, and she can teach Morte some new taunts). After you've spoken to Marissa and Kimaxsi, speak to Nenny again one more time. Then she'll tell you that she once saw a man sneaking around the place. He disappeared, yet she never saw anyone leave the premises. Uh huh. Now it's time to pay a visit to Luis the talking armoire(!), located in the room next to Juliette's. Whether or not you've spoken to him before, you'll get a dialogue choice to accuse him of the thefts based on what Nenny just told you. You can then wangle the Veil off him. Marissa's Veil also holds Vivian's personal scent, so complete Quest 5 before returning the Veil to Marissa. 7. Return to Dolora the 'keys to her heart' - 30000 XP. Merriman is the rotund little guy who continuously wanders around the central corridor of the Civic Festhall. He (literally!) holds the keys to Dolora's heart. You can pickpocket him to get them, or take them by force... but completing Quest 8 for him will net you a whole lot more XP, not to mention satisfaction :-) Once you've returned the Keys to Dolora, you can ask her about Ecco, the silent prostitute, who's the subject of Quest 9. 8. Find a way to erase Merriman's memory - 12000 XP and Dolora's Keys. Time to take in some culture. Pay a visit to the Art and Curio Galleria, next to the Advocate's home. Have a look at the display directly in front of you as you enter (Dark Birds of Ocanthus). Then, go speak to Yvana the caretaker and query her about this exhibit (while you're at it, if you've already spoken to Yves the Tale-Chaser in the Brothel, you can re-unite mother and daughter for a karma boost). Anyway, looks like one of the Dark Bird ice shards will be just the thing to make Merriman forget, only you need a way to stop the shard from melting once you've removed it from the display. If you spoke with the drunken mage at the outdoor bar, you'll have learned that his magical mug could keep anything very cold... but you couldn't get the mug off him. There are 2 ways to obtain this mug: either head over to Vrischika's Curiosity Shop to buy one (it's the rune covered Ale-Stein), or talk to the woman named Death-of-Desire, located in the room to the west of yours in the Festhall. She can make you lose your desire for anything, and you can now impart this information to the Drunken Mage at the bar who will give you his Frosty Mug in return (as he doesn't need it any longer). Anyway, once you have obtained this Mug by whatever means, take it back to the Galleria, and you can now capture one of the Dark Birds in it. Finally, present the Mug to Merriman, and you walk away with Dolora's Keys safely in hand. 9. Help Ecco regain the ability to speak - 30000 XP... and an interesting piece of info regarding Kesai-Serris! You need to complete Quest 8 first (Dolora tells you how Ecco lost her voice), before you can get this quest. Then, 'speak' with Ecco and agree to help her. OK, it's off to Vrischika's once more. Get the Fiend's Tongue (and the Deva's Tears. Just saved you another trip :-) Of course, the Fiend's Tongue restores her speech, but at a terrible cost. However, the Deva's Tears soon soothe the savage tongue. When you now ask Ecco about Ravel Puzzlewell, she presents you with the astonishing revelation that Kesai-Serris, one of the other students in the Brothel, is actually Ravel's daughter! When confronted with this fact, Kesai vehemently denies it. Go speak to Juliette then, who's a friend of Kesai's. She tells you that Kimasxi and Kesai are half-sisters. Kimasxi then tells you to confront Kesai again, and have her contact their father... in a spiritual sense. Kesai does this, and finally comes to the realisation that she is Ravel's daughter. This information is vital to your completing the quest to find Ravel... you might now want to seek out Quell, in the Civic Festhall, but you need to become a Sensate in order to do this (see section 'On becoming a Sensate' above). 10. Learn the language of the dodecahedron puzzle box - 22000 XP and you can read the journal. Once you have the Dodecahedron in your possession (see section 'On becoming a Sensate' above), visit Finam the linguist's house in the south of the Ward. You learn that his father was murdered (if Finam won't talk to you, you may have to retrieve his lost book for him first. It's in the Brothel of Slaking Intellectual Lusts, in the room where Luis the armoire is). Use Storie-Bones-Tell on the urn, and you converse with Finam's dead father and recall the language of the Uyo, which is also the language of the writing in the Dodecahedron (if you don't have Stories-Bones-Tell in your bag of tricks, you'll have to pursue the alternate route of finding Finam's book). You also recall that it was you who murdered the poor sap, so that no one else could learn this language. Seems that TNO is always apologising for one transgression or another that he committed in a previous incarnation :-) Reading the Dodecahedron also turns up the number of a legacy, '51-AA'. When you claim this legacy from Iannis (8000 XP), who is astounded because the legacy is so old, you receive: a Kaleidoscopic Eye, a Stone Gullet, and a Godsman Receipt. Take the Godsman Receipt to the clerk in the Foundry, and... one instant Unfolding Portal to Ravel's maze coming up (not to mention 40000 XP)! If you have the Handerchief with Kesai-Serris' blood on it (see Quest 12), you can now travel to meet Ravel. Like the man says, be sure to stock up on supplies first... see section on Ravel's Maze below. 11. Retrieve Malmaner's costume from Goncalves - 8000 XP and Quest 13. Malmaner is standing outside the Tailor's Shop on the north side of the Ward. Just go inside and talk to Goncalves the tailor. He'll sell you a Dustman costume for 30 coppers, but warns you that a lot of folk are already going to a party as Dustmen. When you return to Malmaner and tell him this, he'll pay you back the 30 coppers and ask you to fetch a different costume. 12. Find the portal key to Ravel's maze - 40000 XP. You must first establish that Kesai-Serris is Ravel's daughter (see Quest 9). Then you have to speak to Quell, in the Civic Festhall private sensoriums (see section 'On becoming a Sensate' above), and learn that the portal key to Ravel's maze is a piece of Ravel. Kesai is the next best thing. Just obtain a handkerchief from one of the rooms in the Brothel, and Kesai will... donate some blood, thus 'unlocking' the key! 13. Obtain a second costume for Malmaner - 6000 XP. You need to complete Quest 11 first. This time you fetch a Godsman costume for the git. By the way, there are some fantastic garments to be gained for both Annah and Grace by trading with Goncalves the tailor! 14. Obtain permission for Iannis to use Deionarra's sensory stone - 8000 XP. Once you've accessed Deionarra's sensory stone in the Civic Festhall private sensoriums (see section 'On becoming a Sensate' above), you can return to Deionarra's father, Iannis the advocate, and claim your legacy, which is: a letter from Deionarra, a Healing Scroll, and a ring. Then, you can promise to obtain permission for Iannis to visit Deionarra's stone. Just go to Splinter in the Festhall, and ask his permission. 15. Rebuke Qui-Sai's arguments for training as a thief rather than a warrior - 250 XP and Quest 16. Qui-Sai (or to be more accurate, your journal) suggests that you go looking for the Thief trainer in the Festhall. If you question one of the Thieves-in-Training in the Festhall's middle training room, you'll find out that the trainer's name is Eli Havelock, and that he's wandering the streets somewhere in this Ward. Sure enough, he's to be found standing just to the east of the entrance to the Brothel. He'll provide you with the info necessary to refute Qui-Sai's argument for training as a Thief. When you return to Qui-Sai, he suggests you might want to be a Mage instead! See Quest 16. 16. Rebuke Qui-Sai's arguments for training as a mage rather than a warrior - 10000 XP and Qui-Sai will train you as a warrior. Seek out Lady Thorncombe, the jaded resident Mage trainer, in the public sensoriums. She provides you with the info you need to refute Qui'Sai's second argument. Modron Maze =========== You get here by manipulating the Modron Cube. See Clerk's Ward above. Just work your way through the Maze until you come to the room full of Modrons. Talk to the only Modron there who will converse with you (the engineer). If you offer to take over the operation of the Maze, you'll get the opportunity to create a dungeon and choose the difficulty setting. Set it to 'hard', and prepare for a real challenge! Each High Threat Construct that you manage to kill nets you 4000 XP. Since you've got to kill quite a few of them (20 - 30), I was able to pull Morte, Annah, and Dak'kon up a level or more in the course of these battles. Keep fighting until you get to the room where Nordom hangs out. He'll join your party for a whopping 36000 XP, and he's pretty handy in a fight. Those arrows and curious attachments you've been picking up as you fought your way through the Maze are usable only by Nordom. Note: at first, it doesn't seem that Nordom is very handy in battle. Creatures close so fast on you in Torment that ranged weapons seem of little use. But once you know how to employ him properly, you'll find him to be indispensable! Here's how you do it: suppose a group of Larval Worms, Trelons, or whatever are rushing at your party. All you do is send the likes of Dak'kon, Annah, and any other Fighters up to meet them and keep them occupied. Then select Nordom (with his default arrows so he doesn't waste any of the good ones, please) and click on one of the creatures who are busy fending off your Fighter. Nordom will just sit 10 feet back and fire arrows into them at a ferocious rate. This technique really works, even on the toughest of creatures! Nordom hardly ever takes a scratch, and deals out tons of damage in return. By the way, save those Whistling Bolts of Doom for the closing parts of the game. You'll need them :-) To exit the Maze, all you have to do is find a Portal Lens on one of the dead constructs. You can use it to return to anywhere you've previously visited in the Hive or the Wards. Ravel's Maze ============ You get here by completing Clerk's Ward Quests 10 and 12. Ravel is to be found wandering around in the left-centre of her maze. You get 90000 XP just for finding her. Be nice to her, and don't let this rather long conversation terminate prematurely, because there's a lot you can learn from Ravel (and besides, the game will end prematurely if you exit the conversation before you obtain Quest 1 below - worth 180000 XP just in the obtaining)! During the course of your conversation (if you choose the correct conversation path), Ravel will transform herself into the forms of Ei-Vene, Mebbeth, and Marta. You gain various items/stat boosts for this. You can also get a lock of her hair for another 90000 XP, though I never managed to find a use for it. Unfortunately, no matter how much you flatter - or even... kiss (ugh!) Ravel (for which you gain an interesting tattoo or so later on at Fell's place :-), you're consigned to fighting her once the conversation ends. You should kill Ravel no matter what (if only to pilfer her body for all the goodies afterwards and for the 32000 XP it nets you), but you have the choice of whether or not to stick around and try to beat up on all the Shadows that materialise - or to run like hell! To exit the maze, take the portal at the NE part of the maze. You emerge near a portal at the SW. Ignore that one, and proceed around the western edge of the maze until you see a portal to the NW. Take that one, and then the next portal you arrive at takes you out of the maze. Quests ------ 1. Find the angel Ravel spoke of. Ravel tells you of a Deva who holds the key to your fate. This is another one that might take a while to figure out... Curst ===== Curst is comprised of two parts: Outer (where you arrive from Ravel's Maze), and Inner. On the east side of Outer Curst, there are two Harmonium guards trying to beat some info out of a poor citizen. I beat up the guards, but the poor sod I was trying to help just ran away and I never got to speak to him. Hidden in a pile of hay behind where they were standing is a Displacer Ring, +2 to AC! Quests ------ 1. Assemble the Key. This is a single quest comprised of 5 sub-quests. To start things rolling, talk to Tainted Barse, the proprietor of the Traitor's Gate tavern. His daughter has been kidnapped by slavers. He sends you to see Marquez, the Harmonium officer standing just SW of Barse. 2. Rescue Barse's Daughter - 65000 XP. Marquez tells you that Barse's daughter is being held on the east side of Inner Curst. To get there, take the exit in the far NW of Outer Curst. Sure enough, Jasilya, Barse's daughter, is being held by 6 rogue Harmonium officers there. Talk to Skatch, their leader. You have no option but to fight them; however, choose your words carefully before the fight, or they'll kill her. Make sure you speak to Jasilya afterwards. Just to the south of where Jasilya was being held, there are some thugs standing around amidst a bunch of crates. One of the locked crates contains: Dustman Embalming Charm (Greater), Serpent Ring, Ring of the Traveler. Report back to Marquez to get Quest 3. Marquez will now train you in weapons if you so desire. 3. Mediate the Family Dispute - 131250 XP. Marquez sends you to see Kitla, who's standing over by the... hanging shark thingy. Kitla wants you to settle a dispute over legacies between Crumplepunch and Kester. Crumplepunch the smith's place is just to the west of the Traitor's Gate tavern. Kester the distiller's place is located in Inner Curst, just to the left as you pass through the gate. You can settle this one of 3 ways, in decreasing order of desirability: a) Settle the dispute. I talked to the smith first, and got his legacy. Then, Kester attempts to double-cross his brother when you go speak to him next. So, I simply told Kester that I had decided in favour of the smith. This approach seems to produce the most satisfactory outcome, and you net a whopping 131250 XP for it! Best to keep the smith on your side anyway, as he has great weapons for sale: Assasin's Knuckles, "Foolsmiter", Blind Terror... and for Nordom especially: Jagged Bolts, Zephyr Bolts, and the infamous Bolts of Whistling Doom. b) Talk them both into giving you their legacies, then hand the legacies over to Kitla (most XP at 150000, but not really good for the karma). c) Kill them and take the legacies. Only for the chaotic at heart. When you return to Kitla, she sends you to Nabat for the next part of the Key. See Quest 4. She'll also train you as a Mage. Oh, and she'll hand you a Scroll of Abyssal Fury too :-) 4. Defend the Dump Caretaker - 43750 XP. Nabat is standing near the wall, a bit to the south of Kitla. He wants you to help out Kyse, the dump caretaker, because a gang of thugs are after his stash of coins. The dump is just to the SW of the tavern. Kyse sends you to talk with Wernet, who's located just through the gates of Inner Curst and a bit to the SW. Wernet resents your butting in on his little scheme, and won't even talk to you. When you return to Kyse to give him the news, a set piece occurs whereby Wernet and his thugs show up and attack Kyse. Try not to let the old sod get killed, will you? :-) Once you've dispatched Werner and co., return to Nabat in the tavern. Nabat will now train you as a Thief. He sends you to Dallan for the next part of the Key. See Quest 5. 5. Deal with an Official Dispute - 287500 XP. Dallan is standing in a room just to the SE of where Jasilya hangs out, on the east side of the tavern. He asks you to settle a dispute between two politicians. The gith called An'izius you need to see first is located near the gate to Carceri, which is in the far NW of Inner Curst. He wants you to frame his opponent, Siabha, by telling the Captain of the Guards that Siabha tried to hire you to kill him. Hmm. Go speak to Siabha next. She's standing in front of a building to the east of there. She will pay you double whatever An'izius is paying! Finally, go see the Guard Captain, who's standing just north of the gate back to Outer Curst. Just tell him that both An'izius and Siabha are corrupt, for 200000 XP. You get the rest of the XP when you report back to Dallan, who finds this a satisfactory outcome. He sends you to Dona Quisho for the final part of the Key. See Quest 6. 6. Free Dona Quisho's fiend - 191250 XP. Hey, you get weird requests in fantasy RPG's all the time... but this one takes the biscuit. Dona Quisho is the plump woman standing near Kitla. She wants you to free a fiend that is being held in the grain silo. Right. Anyway, the grain silo is just to the north of the tavern. Once inside, head up the ladder, walk towards the pentagram (you get 60000 XP for this), and examine the scroll that Dona gave you when the dialogue choice appears. You summons Agril-Shanak. Have a chat with the fiend, and then you can decide whether or not to release him. I suspect choosing not to release Agril-Shanak keeps you more on the Lawful Good side of things. Anyway, no matter which way you choose, you get the same XP (131250) and 1500 coppers upon returning to Dona Quisho... and the final part of the Key! As Dona suggests, talk to Barse again. Now... before you have Barse send you on your way, you need to be aware of two things: a) Barse is going to send you to the same place (Curst Underground) you can get to by taking the steps downwards in the middle of Kyse's dump! So, all that rigamarole over getting the Key was for XP alone :-) b) Once you go down there, you can't get back up, so make sure you've done everything you want to do in Curst, and that you have also stocked up on provisions and rested. Barse pays pretty good prices for things (there's a Gold Ingot in a locked crate in the Warehouse, Inner Curst, that Barse will fork out 4000 coppers for!), and you can buy an unlimited amount of Blood Charms and Clot Charms from him. Curst Underground ================= You arrive here from Curst either via the steps downwards in Kyse's dump, or through Barse's secret passage. To the NE, there is a room full of Lemures and a room full of Nupperibos. You can kill them, but you don't get much XP... don't really know why they're there. Also to the NE is another new type of creature, a cornugon named Tek'elach. He'll tell you that it's possible for Curst to slide into Carceri, and that it's also possible to save it after this happens. Hmm. In the NW corner, there is a hermit who will let you rest there. You'll be coming back here a lot. From the hermit's place, head SW for your next challenge. Quests ------ 1. Kill the gehreleth for Voorsha - negative Lawful Good points? Do you care? Vorsha is a bootlegger hanging about in the south of Curst Underground. Careful, there are a lot of booby traps in his lair. He'll ask you to kill a gehreleth (to the NW of here). The gehreleth is going to eat you anyway, so what the hell? Again, having dealings with a bootlegger ain't going to do wonders for your Lawful Good rep... but I had given up at this stage. I've had Annah steal well over 20 valuable items for starters :-) Anyway, once you've killed the gehreleth and returned to Voorsha, it turns out that Voorsha never intended to carry out his part of the bargain (to split his bootlegging profits with you), because he didn't think you'd be able to kill the gehreleth. He attacks you, but goes down real easy. There's a lot of pretty good stuff in a crate and a cart... but you can take that even when Voorsha is still alive. Prison ====== You arrive here from Curst Underground. Just take the exit SW of the hermit. Mostly Curst Guards to work your way through here. Try to tempt one or two at a time to break away from the pack, rather than taking on a half dozen or so at once. Quests ------ 1. Free the deva - 393750 XP and a new party member! Trias, the deva who Ravel told you to seek out, is being held in a room in the south part of the Prison. He needs you to find his sword, and whispers the combination of the room where it's locked up into your ear. This room is in the SW part of the Prison, and is heavily guarded (of course). Just before the entrance to this guarded area, amongst a bunch of barrels over to the west, is a barrel containing: 500 coppers, Adder's Tear, and a Scroll of Greater Embalming. Once inside the locked outer door (using the phrase Trias gave you), start to work your way down the outer circular corridor. Be sure to get the Finger Bone Key off one of the guards you kill. In the third (innermost) circular corridor, you'll meet Siabha and An'izius again, if you did the right thing in Curst and got them both locked up that is. Of course, neither of them will speak to you. Also in this corridor, you'll find a Reminder Note on one of the guards you've killed. It alludes to there being a trigger plate somewhere in here that opens up the last door to the "inner sanctum". Sure enough, when you step into one of the circular patterns on the floor about halfway up the corridor... you get 87500 XP. It's also trapped, so you're gonna lose some HP doing this. Funny, but I was able to open the innermost door without stepping on this plate first. Hmm. Perhaps during the scuffle in the corridor, someone else had already stepped on it? Anyway, once you get to the inner sanctum, there are no more guards. Just a fat bloke named Cassius. Only he's a lot meaner than he looks. You get a choice of defeating him using either: strength, wits, or speed. Obviously, you'll choose accordingly depending on whether you're a Fighter, Mage, or Thief. Once you've defeated Cassius, you get a really impressive weapon: "Celestial Fire". If you're of Lawful Good alignment, you can at least use it to fight your way back out of the Prison, but then you have to hand it straight back to Trias in order to complete this quest :-( Once you return to Trias, and agree to break his chains, he is free and you lose "Celestial Fire". However, you do get some things as compensation. Trias tells you of the next person to seek - Fhjull Forked-Tongue - and that this person is bound by Trias to help you. Also, Trias gives you one of the links from his broken chains (though it doesn't actually appear in your inventory), which activates a portal near that locked door in the NE corner of the Prison, and it's your ticket out of this miserable place... but not so fast! The first time I played, I just activated the portal and stepped through immediately. I thereby missed one of the better PC's in the game - Vhailor. He's standing there beyond the portal in the next room, and you can get him to join your party. Just walk right past the portal, try to engage him in conversation, and examine his Helm. Vhailor is a spectral entity, the spirit of an ex-MercyKiller. Very strong and very tough. Once you're finished here, step through the portal and you wind up in... The Outlands ============ You arrive here from the Curst Underground Prison, through the portal that Trias told you about. Fight your way south through some creatures you haven't seen yet, and you come upon an extremely large skeleton (by the way, I noticed at this point that Nordom can detect portals, even when they're not open yet! Very useful indeed). There's a doorway in the skull. Speak with Fhjull Forked-Tongue, and ask him about your immortality. He'll tell you of a place called the Fortress or Regrets. He doesn't know how to get there, but he suspects the Pillar of Skulls, located in Baator, might be able to help you in this regard (350000 XP for learning all this)! The portal to Baator is located in the large creature's hand (another 100000 XP). Meanwhile, you can rest here, and since Fhjull is bound by Trias to help you in every way... you can also get tons of supplies off him for free. Man, does he hate parting with the stuff :-) Though you'll have to wait a while before they can be employed, perhaps the most useful of Fhjull's items are brain parasites called 'kassegs'. When used, they boost your INT by 3 points for a few hours. Very handy for Mages in the very latter stages of the game... anyway, when you're all stocked up and rested, go back outside and step through the portal near the creature's left hand... Quests ------ 1. Return to Curst and speak to Trias - 375000 XP. You get this quest when you return to the Outlands from Baator (see end of Baator section below). Fhjull tells you about another portal located at the arse end of the skeleton that takes you back to Curst... Baator ====== You arrive here from the Outlands, via the portal near the immense skeleton's hand. Just work your way to the SE, past a cornugon and several green abishai (8000 XP apiece). There's an exit in the SE that leads to the Pillar of Skulls. Best leave Morte behind while you talk to the Pillar. He doesn't need to be with you and it complicates things. Alright then. You only need to ask the Pillar about two things: how to find the Fortress of Regrets, and how to get out of this place. Before the Pillar will answer each question, it demands something in return. Keep asking for alternatives until you find something you are comfortable parting with :-) The Pillar knows the key to the portal leading to the Fortress of Regrets (to feel regret, of course!), but it does not know the whereabouts of the portal. It turns out that Trias does know about the portal (a previous incarnation of yours told him), so he has betrayed you by not telling you earlier when you freed him. The Pillar tells you that the exit from Baator is located in the far SW. You have to find a piece of obsidian and eat it... then a portal opens up which takes you back to the Outlands. Curst Gone ========== You arrive here from the Outlands by taking the portal near the large skeleton's arse end. Curst is indeed gone. Talk to the Gate Heads (there is a portal there). It appears as if Trias is responsible for causing Curst to slide into Carceri. There are a few locked containers to the east here. You'll find a Corpse Fly Charm and a Cockroach Charm in them. Not much else here... except the biggest, baddest sucker you're going to meet in the whole game! Over to the west is the fiend from Moridor's box (that is, if you didn't release him the first time, when he was a more benign fiend). You need weapons that are at least Enchanted +2 to inflict any reasonable damage on him (Siphon Knuckles are good here). I lost 2 party members before I managed to defeat him, but this is worth 500000 XP! You also get what is arguably the most valuable artefact in the game off his body: the Aegis of Torment. After that, nothing to do now but head through the portal to... Carceri ======= Trias has this place in pandemonium! Immediately you enter, speak to Kyse the dump caretaker, who's standing just to the west of the two men near the cart. He'll explain that in order to defeat Trias, you'll first have to perform some good deeds to redress the imbalance towards chaos that Trias has created. He also hands you a scroll containing an awesome spell: Scroll of Meteor Storm Bombardment. Now, you have to act quickly before the place becomes overrun with gehreleths and trelons. Worse yet, if you go into the Distillery or the Barracks to rest, the buggers re-spawn and you can never wipe the whole lot of them out. So, you should try to do all the following in one go, before things get out of hand! Right. Good deeds it is then. First order of business is to sort out the two men near the cart. Speak to Tovus, who's trapped there, and offer to pull him out. As you begin to lift the cart, you discover that Berrog is also trapped under the cart, and that if you lift the cart any further, you'll crush him while trying to free Tovus (and vice-versa). The trick is to get your party members to help you, thereby freeing both of them. Tovus gives you a Scroll of Deathbolt for helping him. Next, head over to the west and up the wooden steps to sort out two gehreleths that are attacking the townspeople there (225000 XP)! Then, head back down the steps, go around this structure to the north, then up another set of wooden steps in the SW that lead to an execution platform. Talk the judge out of executing the merchant for another 225000 XP. That's 3 good deeds already! Over to yet another set of wooden steps to the NE this time. At the base of these steps, Jasilya is being molested by some thugs. Save her yet again for 75000 XP and yet another good deed done. At the top of these steps, talk Jujog and his gang out of looting the warehouse for 150000 XP. Then, enter the warehouse. You find Ebb Creakknees there, holed up with a bunch of Anarchists. You can convince him (I had CHR of 19, lower might work just as well) to join the good cause instead of sticking with anarchy. If you succeed, he gives you a Scroll of Desert Hell, then runs off to join the fight. That makes 6 good deeds so far. But don't leave the warehouse just yet! There are a few useful scrolls and a Magus Shield in some of the crates there. Also, there's a really powerful artefact (Ancient Scroll) located to the left of the entrance, in a pile of boards. It's a really small spot, so you have to look very carefully to find it. Anyway, this Ancient Scroll is only usable by TNO, and only if TNO is a high level Mage (level 12 seemed to do the trick). It turns out to be a Wish Scroll, and you can use it once to wish for any one of the following: a) Arcane Knowledge. This choice conjures up the following spells: Power Word (Kill), Stygian Ice Storm, and Meteor Storm Bombardment b) An Increase in Abilities (+2 to one of your stats) c) An Item of Power. Produces the Ring of Thex, which adds dramatically to your HP, AC, and adds 2 to all saving throws d) You can heal your entire party (not particularly useful, as you're probably swimming in healing aids by this time) e) 10,000 CP in wealth Leave the warehouse and head for the NW, where the Administration Building is (Trias is on the balcony there). One more good deed to perform. A Curst Official is beset upon by an angry mob of citizens just south of the Administration building. Only one of the mob will talk to you, the 'Angry Curst Citizen'. Talk him out of bothering the Curst Official, and he'll tell the mob to back off (150000 XP). And that should be enough good deeds done, thank you very much. Finally, talk to the Hermit just outside the Administration Building. He'll let you know whether you've done enough deeds to sufficiently counter Trias' chaos. Even if you haven't, you can still head inside and battle with Trias - it's just that the less deeds you've done, the stronger he is, and thus tougher to defeat. But you've a ways to go before you meet Trias in any case... on the 1st floor, nothing but Sohmeins and looters. Easy. Be sure to to check out the shelves on either side of the stairs for useful charms. On the 2nd floor, it's Curst Guards and gehreleths. Some really nice stuff (3000 coppers and some charms!) in two trapped and locked cabinets in a small room to the east of the stairs. Annah needs pretty high Detect Traps and Open Doors skills to get at them though, but her Thief stats should be beefed up enough by this time (or, maybe TNO's the Thief to be reckoned with, depending what role you're playing :-) The stairway leading up to the 3rd floor is at the end of the narrow corridor that runs along the east side of this floor. On the 3rd floor, be sure to use your Thief skills again to open the locked desk on the west side of the large room. Annah's best weapon/indispensable thing for a Thief to have is in there: Mark of the Savant! There's also a formidable axe ("Edge of Oblivion", usable by Vhailor) in there too, and a fearsome Vrock Club. Trias is standing on the balcony, south part of the 3rd floor. He summons a few Sohmeins to help him. Try to keep harassing him melee-wise in order to make it difficult for him to get spells off, and you shouldn't have too much trouble with him! Once you've sufficiently weakened him, he submits, and you get to speak with him again. If you choose to kill him afterwards, he releases the bind on Fhjull, and you cannot complete the game... so you're best off vowing to spare his life. He then tells you that the portal to the Fortress of Regrets is located in - wait for it - the Mortuary! As the Pillar of Skulls already told you, the key is to feel regret, but Trias tells you again anyway, only with a little more precision. Now, here's the kicker... you vowed not to kill Trias, and you're in big trouble if you break your word. However, if Vhailor is with you, he strikes Trias down and there's nothing you can do about it except stand there and watch! Oddly enough, you can still complete the game now (I suppose because you didn't have any choice in the matter?) If Trias is killed you can get "Celestial Fire" off his body, not to mention the Scroll of Celestial Host! Anyway, no matter how it turns out, you've just completed the Outlands Quest 1, for 375000 XP. Take the portal that has appeared in the doorway back to Sigil. Sigil again =========== You wind up in the Dustman Monument, having returned here from Carceri. Now, hold it right there, cutter! Before you go running off to the Mortuary to meet your destiny... there are a few new things you can do around Sigil since you were last here. Visit Coaxmetal in the siege tower. He'll have some new weapons you can purchase. Then, when you're finished speaking with him and are about to leave, he'll ask you to free him from the tower, by giving him the Modron Cube. In exchange, you get the most powerful weapon in the game: the Entropic Blade! By talking to it, you can get it to change into any form of weapon to suit you or one of your party's fighting skills... but, before you do this, pause to consider the consequences of giving a very powerful chaotic being the ability to undo the multiverse, or something to that effect. Ah, but what the hell - maybe that's why there will never be a Torment II :-) UnderSigil now has a new creature lurking about. In addition to the usual packs of Trelons and Larval Worms, there's now a much more formidable foe: Greater Glabrezu... greater XP for you too! OK... when you're ready to progress, go to the Mortuary and tell the guard at the entrance that you need to get in to see Deionarra's memorial. The portal to the Fortress of Regrets is located at the far end of the room where you originally woke up on the slab. How ironic. Not giving too much away, but your party is about to be split up, so make sure TNO is carrying the following: Bronze Sphere, Blade of the Immortal, Deionarra's Wedding Ring, the kassegs you got from Fhjull, and all the healing charms you can lay your hands on. Check. When you're ready, head through the portal (250000 XP). Fortress of Regrets =================== You arrive outside the Fortress, alone. Head along the walkway all the way to the east, then south, and speak to Deionarra. Then, go back to where you started, and head all the way to the west to enter the Fortress. Once inside, you have to act quickly. As Dei warned you, there are Greater Shadows all over the place! Note that as you arrive inside, the Transcendent One has turned Ignus against you, even if Ignus is not a member of your party. Anyway, head south, and examine the clock in the room there. It's your writing, and it says: "RUN - DOORS are LIES - USE Cannons - then Portal". Well, if you're a Mage, I definitely recommend taking this advice. A Fighter or Thief with a good weapon can defeat the Shadows... but there are a lot of them (worth 10000 XP each though). Anyway, you need to find the 4 Cannons TNO has referred to. When all 4 are activated, a portal will open up in the room to the NE. The first cannon is at the other end of the room you are in now. The place where you wind up when you pull the lever is a room all the way to the NW. Take the middle stairway down, and use the 2nd cannon. You wind up in a room just to the west of there. The third cannon is in the large central room where you first came into the Fortress, in the NW part of the room. So, head down the stairs and get there. You wind up just north of there. Finally, head down the stairs, and then back up to the only place you haven't been yet - the large stairway directly to the north on your map. Indeed, the 4th and last cannon is just to the east here. You wind up in the room where the 1st cannon is - only something different happened this time. A portal has opened! It's back where the 4th cannon was, so make your way back up the stairs to the north again, and enter the portal... You wind up in a room with statues surrounding a strange crystal. Ignus is there, and you must fight him to the death. This would be a good time to use some Charcoal Charms (finally!), because all of Ignus' spells are fire based. Once you've defeated Ignus, find the Sounding Stone behind the statue to the NE. Use it. You find out a bit more about the situation you're in. Also, it tells of a stash of supplies hidden in the base of one of the statues here. It's the statue to the SW. You have to look carefully all around the base. Once you have these supplies, it's time to use the crystal in the centre of the room. You wind up on a slab again, with three of your previous incarnations standing around you. The Practical one speaks to you first. Make sure you explore all avenues of conversation about Deionarra, and the Bronze Sphere (96000 XP), as these paths of conversation open up opportunities shortly. Then, if your INT is high enough (use the kassegs if it isn't around the 20 mark yet), you can trick the Practical Incarnation into letting you absorb him (let him think you're going to allow him to absorb you, then turn it around - for 96000 XP). If you find yourself with no choice but to be absorbed, back off and stop the conversation. You can always absorb the Good Incarnation (32000 XP, but again, make sure you exhaust all the conversation paths before you do so - especially the one where you learn that the Good Incarnation was the very first Incarnation - for 96000 XP more). You can also easily absorb the Paranoid Incarnation (speak to him in the language of the Uyo, then absorb him for 64000 XP). Finally, if you can't absorb the Practical Incarnation, then you'll just have to beat the crap out of him, won't you? :-) Once you've dealt with all 3 of your incarnations, Deionarra appears. Before you speak to her, it's time to tap the resources of the Bronze Sphere, which you now know to be a dead sensory stone. This nets you 2000000 XP (that's 2 million, bud), 6+ Characteristic points (depending on your INT and WIS), and you discover your name! Also, you acquire a fantastic spell: "Rune of Torment", that you can put in a quick item slot and invoke as many times as you want without resting - even if you're not a Mage! Unfortunately, if you didn't explore all the conversation trees while talking to the Practical and Good Incarnations, this opportunity is not available to you. However, you don't need to use the Sphere in order to complete the game, unless you're a Mage and want access to all those neat Level 9 spells you now have in your possession. Anyway, speak to Dei now, and tell her the truth about what you've done to her. You wind up on the Fortress roof... As you walk to the centre of the roof, you'll come across your dead party members. The Transcendent One, your other half, is hovering about on the far side of the roof. Head over there, and now it's time for the Final Confrontation. You can play this out 5 different ways: 1. If you were able to use the Bronze Sphere, you can talk to him about your recently acquired name. He will reluctantly agree to merge with you. You resurrect all your friends, then go off to fight in the Blood War. This is the most satisfactory ending. 2. Threaten him with using the Blade on yourself. He agrees to merge with you. Same ending as 1 above. 3. Take your own life with the Blade of the Immortal. You both perish abruptly. Most unsatisfactory. 4. You can resurrect just one of your fallen party members, but this only pisses him off and you'll have to fight him (see 5 below. If you do choose this option, make sure it's Vhailor that you bring back to life. His need for justice at any cost somehow makes him all the more fearsome during this ultimate battle :-) 5. Fight him. He has about 400 HP. Once you defeat him, you get 64000 XP (as if it matters at this stage in the proceedings). This ending also sees you going off to fight in the Blood War. You don't get to resurrect all your party members after you fight the Transcendent One, so these last 2 endings aren't the greatest either. Well, that's about it. You spend the better part of eternity atoning for your sins in the Blood War, then become re-incarnated as a used car salesman on the outskirts of Birmingham. You marry a girl who bears an uncanny resemblance to Annah (sans tail, of course), and sire a lone child - Ted - who for some mysterious reason is horribly scarred from birth... funny ol' game, huh? Important Items =============== Things you wouldn't want to miss. I was originally intending to document every item, ranging from the lowly bandage all the way up to the most powerful of weapons and scrolls... but I soon realised that this was an incredibly ambitious undertaking! The list became way too large, and I finally had to pare it down to only the significant items. These items are difficult or costly to obtain - perhaps only becoming available as the result of completing a quest or joining one of the factions - and are usually imbued with some sort of magic :-) Note that if an item can be found in many places, I only list the first 1 or 2 places where you would normally come across one of these items. Enchanted Hammer Weeping Stone Catacombs, Mosaic Crypt, sarcophagus Damage: 2-9 Crushing Enchanted: +1 THACO: +1 Speed: 7 Weight: 5 Proficiency: Hammers Usable only by Fighters Severed Arm Weeping Stone Catacombs, Dismembered Crypt, downstairs Usable as a club, but much more useful for obtaining some new tattoos at Fell's. Xachariah's Heart Mortuary, 1st floor, zombie #331 Adds +1 to DEX, and +1 to AC vs. Missile Attacks Usable only by Fighters Enchanted Battle Axe Drowned Nations, small room in SE of your tomb, sarcophagus Damage: 2-9 Slashing Enchanted: +1 THACO: +1 Speed: 6 Weight: 4 Proficiency: Axes Usable only by Fighters "Death of Desire" The Hive - Gathering Dust bar, Emoric Damage: 2-7 Crushing Enchanted: +2 Special: 1-6 Piercing Damage Causes Stunning THACO: +2 Speed: 5 Weight: 11 Proficiency: Clubs Usable only by Fighters Usable only by Dustmen You must join the Dustmen faction to get access to this weapon. Divine Censer The Hive - Gathering Dust bar, Emoric / The Hive - Ragpicker's Square, Old Mebbeth Invokes "Raise Dead" Good for at least 3 goes at raising your dead comrades. Amber Earrings The Hive - Ragpicker's Square, Old Mebbeth Special: +2 to Armor Class Memorize 2 Additional 1st Level Mage Spells Weight: 0 Usable only by Mages Usable only by Nameless One Mebbeth presents these to you upon completion of your training as a Mage. Scroll of Remove Curse The Hive - Ragpicker's Square, Old Mebbeth / The Great Foundry, Godsman Hall, Keldor of Durian Level: 4 / Wizard Usable only by Mages Can be used to remove a curse/cursed item from a person. "Ascension" The Great Foundry, Godsman Hall, Keldor of Durian Damage: 3-10 Slashing Enchanted: +2 Special: +2 Slashing Damage +1 to Charisma +1 to Armor Class THACO: +2 Speed: 4 Weight: 4 Proficiency: Axes Usable only by Fighters Usable only by Godsmen You must join the Godsmen faction to get access to this weapon. "Reason" The Great Foundry, Godsman Hall, Keldor of Durian Damage: 5-12 Crushing Enchanted: +2 Special: +2 Crushing Damage +1 to Charisma +1 to Armor Class THACO: +2 Speed: 6 Weight: 5 Proficiency: Hammers Usable only by Fighters Usable only by Godsmen You must join the Godsmen faction to get access to this weapon. "Enlightenment" The Great Foundry, Godsman Hall, Keldor of Durian Damage: 2-7 Piercing Enchanted: +2 Special: +2 Piercing Damage +1 to Charisma +1 to Armor Class THACO: +2 Speed: 1 Weight: 1 Proficiency: Daggers Usable only by Fighters Usable only by Godsmen You must join the Godsmen faction to get access to this weapon. Scroll of Chain Lightning Storm The Great Foundry, Godsman Hall, Keldor of Durian Level: 6 / Wizard Usable only by Mages Does 7-70 points worth of fire damage to all enemies within range. Scroll of Cloudkill Lower Ward, The Warehouse, Conall / Clerk's Ward, Curiosity Shop, Vrischika Level: 5 / Wizard Usable only by Mages Kills all susceptible creatures within range. Your best bet against Larval Worms! Scroll of Power Word, Blind Clerk's Ward, Civic Festhall, Splinter Level: 8 / Wizard Usable only by Mages Blinds up to 100 HP worth of enemies for a duration varying by how many enemies are affected (the less affected, the longer the blindnes lasts). Scroll of Power Word, Kill Grimoire of Pestilential Thought / Carceri, warehouse, Ancient Scroll Level: 9 / Wizard Range: 15 feet per 2 levels Area of Effect: 1 creature Saving Throw: None Usable only by Mages Kills outright any victim with up to 120 HP. I had to kill one of my companions before the Grimoire of Pestilential Thought would fork this one over. Oddly enough, my alignment remained at Neutral Good?! Hammer of Comminution Clerk's Ward, Curiosity Shop, Vrischika Damage: 4-14 Crushing Enchanted: +1 Special: 1-6 Acid Damage THACO: +2 Speed: 10 Weight: 10 Proficiency: Hammers Usable only by Fighters The most bad-ass weapon in the game! Punch Daggers of Shar Lower Ward, Siege Tower, Coaxmetal Damage: 1-4 Piercing Enchanted: +3 Special: +2 to All Saving Throws +35% Resistance to Magic Speed: 2 Weight: 2 Proficiency: Fists Usable only by Fighters and Thieves Brimstone Hammer Player's Maze, NE section, campfire / Lower Ward, Siege Tower, Coaxmetal Damage: 2-9 Crushing Enchanted: +1 Special: +4 Fire Damage +25% Resistance to Fire THACO: +1 Speed: 7 Weight: 5 Proficiency: Hammers Usable only by Fighters Spiked Gauntlets of Ogre Power Lower Ward, Siege Tower, Coaxmetal Damage: 4-6 Crushing Damage: 4-6 Piercing Enchanted: +1 THACO: +3 Speed: 1 Weight: 2 Proficiency: Fists Usable only by Fighters and Thieves The Grimoire of Pestilential Thought Lower Ward, underneath Lothar the Mage's house, Mantuok the wererat Only useful to Mages, and only those leaning toward the dark side... once identified this book talks to you! You can get some powerful spells from it, but you need to perform some cruel deeds before the Grimoire will fork over :-( Bolts of Whistling Doom Modron Maze / Outer Curst, Crumplepunch the smith Damage: 4-16 Crushing Enchanted: +2 THACO: +2 Speed: 10 Weight: 0 Proficiency: Missiles This is Nordom's ultimate weapon, but they are quickly depleted. Use them wisely! You should find a few packs of 10 on the dead High Threat Constructs in the Modron Maze, but you can also buy them from Crumplepunch the smith in Outer Curst. Bolts of Kessek the Devourer Modron Maze (Minor Artifacts) Damage: 4-8 Piercing Enchanted: +2 THACO: +4 Speed: 5 Weight: 0 Proficiency: Missiles Only managed to find one pack of these on a dead High Threat Construct in the Modron Maze. Dodecahedron Clerk's Ward, Civic Festhall, your private quarters This is another one of your journals in disguise! You need to seek out Finam the linguist in order to decipher the strange language it's written in. Bodice of the Godless Priestess Clerk's Ward, Goncalves the tailor Armor Class 5 Special: Memorize 3 Additional 1st level Priest spells Memorize 2 Additional 2nd level Priest spells Weight: 5 Usable only by Fall-From-Grace Doesn't do anything for Grace's AC, but the 5 extra spell slots are a great boon. Bodice of the Perilous Quest Clerk's Ward, Goncalves the tailor Armor Class 5 Special: Increases Regeneration Weight: 6 Usable only by Fall-From-Grace Gives Grace a regeneration ability much like that of TNO. Jerkin of the Brazen Rogue Clerk's Ward, Goncalves the tailor Armor Class 4 THACO: +1 Weight: 12 Usable only by Annah Knocks 4 points off Annah's AC! Also makes her a better fighter. Jerkin of the Flitting Shadow Clerk's Ward, Goncalves the tailor Armor Class 6 Special: +15% Pick Pocket Skill Bonus +25% Stealth Skill Bonus Weight: 8 Usable only by Annah Knocks 2 points off Annah's AC and improves her Thief skills. Mad Splinter Clerk's Ward, Galleria, Stone Statue Damage: 2-5 Piercing Enchanted: +1 Special: Poisons Target Fragile, Breakable Speed: 1 Weight: 1 Proficiency: Edged Not usable by Priests One of the more useful Edged weapons in the game, but prone to breaking. Lens of Inherent Viciousness Clerk's Ward, Curiosity Shop, Vrischika Special: +2 to Damage THACO: +2 to Missile Weapons Usable only by Modrons Makes Nordom all that more... vicious :-) Deionarra's Wedding Ring Clerk's Ward, Advocate's House, Iannis Special: +1 to All Saving Throws +1 to Armor Class +3 to Armor Class vs. Piercing Weight: 0 Usable only by Nameless One When you collect Deionarra's legacy this is one of the items you receive. Kaleidoscopic Eye Clerk's Ward, Advocate's House, Iannis Invokes "Chromatic Orb" when held Special: Equipped +1 to All Saving Throws +1 to Save vs. Spells +5% Resistance to Magic Weight: 0 Usable only by Good creatures When you collect the legacy numbered '51-AA' that you found out about from reading the Dodecahedron, this is one of the items you receive. Ravel's Fingernail Ravel's Maze, Ravel (Unique, Artifact) Damage: 2-7 Piercing Enchanted: +2 Special: 1-12 Poison Damage THACO: +2 Speed: 1 Weight: 1 Proficiency: Edged Not usable by Priests You get this weapon off Ravel's body. Assassin's Knuckles Outer Curst, Crumplepunch the smith Damage: 1-10 Piercing Enchanted: +3 Special: Causes Stunning Silence Poison THACO: +3 Speed: 1 Weight: 1 Proficiency: Fists Usable only by Thieves One of the better hand-to-hand weapons in the game! "Foolsmiter" Outer Curst, Crumplepunch the smith Damage: 4-14 Crushing Enchanted: +2 THACO: +2 Speed: 10 Weight: 15 Proficiency: Hammers Usable only by Fighters Blind Terror Outer Curst, Crumplepunch the smith Damage: 1-2 Crushing Enchanted: +2 Special: Causes Blindness 2-8 Acid Damage THACO: +2 Speed: 5 Weight: 4 Proficiency: Clubs Usable only by Thieves Not much up-front damage... but the possibility of causing Acid Damage and/or blindness makes this a formidable weapon. Scroll of Abyssal Fury Outer Curst, Traitor's Gate tavern, Kitla Level: 9 / Wizard Range: 50 feet Duration: Instant Speed: 9 Area of effect: 1 creature Usable only by Mages Kitla gives you this scroll when you complete the quest for her part of the Key. Undoubtedly one of the most powerful spells in the game. Even a successful saving throw results in a lot of damage to the victim, whereas a failure to save means instant death! Unfortunately, it's doubtful that you or anyone in your party will have attained a sufficient Mage level to use it... just yet, that is :-) "Celestial Fire" Curst Underground, Prison - Inner Sanctum, Cassius / Carceri, Administration Building - 3rd floor, Trias Damage: 3-18 Slashing Enchanted: +2 Special: +2 to Armor Class +10 Fire Damage +10% Resistance to Slashing Attacks THACO: +2 Speed: 3 Weight: 5 Proficiency: Edged Usable only by Lawful Good characters Obviously the best sword in the game, but there'd have to be a catch, wouldn't there? You can only use it if you're of Lawful Good alignment. Hatred's Gift Outlands, Fhjull Forked-Tongue Damage: 3-13 Slashing Enchanted: +1 Special: Berserk when used THACO: +1 Speed: 7 Weight: 7 Proficiency: Axes Not usable by Good characters Not a very useful weapon, because the item is cursed. The user goes berserk and loses control in battle. Scroll of Globe of Invulnerability Outlands, Fhjull Forked-Tongue Level: 6 / Wizard Range: 0 feet Duration: 5 seconds per level Speed: 3 Area of effect: 5 feet radius Saving throw: None Usable only by Mages Allows all spells that you cast to flow outwards, but only spells of level 5 or greater to come inwards. Scroll of Stygian Ice Storm Outlands, Fhjull Forked-Tongue Level: 7 / Wizard Range: 50 feet Duration: Special Speed: 7 Area of effect: 50 ft x 50 ft area Saving throw: Special Usable only by Mages Does 8-64 points of ice damage, with no saving throw - plus confuses all affected for 5-30 seconds, due to forgetful effect of River Styx. Scroll of Chain Lightning Storm Outlands, Fhjull Forked-Tongue Level: 6 / Wizard Range: 50 feet Duration: Special Speed: 6 Area of effect: 50 ft x 50 ft area Saving throw: 1/2 Usable only by Mages Does up to 70 points of damage, with saving throw reducing this to half. Scroll of Acid Storm Outlands, Fhjull Forked-Tongue Level: 7 / Wizard Range: 30 feet Duration: 30 seconds Speed: 7 Area of effect: 20 ft radius up to 20 ft high Saving throw: 1/2 Usable only by Mages Does 1-6 points of acid damage per level of caster every 5 seconds, with saving throw reducing this to half. Scroll of Bladestorm Outlands, Fhjull Forked-Tongue Level: 7 / Wizard Range: 75 feet Duration: Instant Speed: 7 Area of effect: 10 yards per level radius Saving throw: 1/2 Usable only by Mages Inflicts 1-8 points of damage per level of the caster, plus an additional 2-20 points of damage on a natural roll of 20 (and it's obvious that sporadic bits of the AD&D rules found their way straight into the game text!) Aegis of Torment Curst Gone, fiend from Moridor's box Special: +3 to Constitution +15 to Base Hit Points +3 to Armor Class Weight: 0 This fiend, in the form of a Greater Glabrezu, is especially tough to beat, but is it worth it for the XP and this artefact? You bet! Scroll of Deathbolt Carceri, Tovus Level: 8 / Wizard Range: 100 feet Duration: Instant Speed: 9 Area of effect: 1 creature Saving throw: Special Usable only by Mages Tovus gives you this scroll after you free him and Berrog from being pinned under the cart. Kills target creature if no saving throw is made, else deals out 10-60 points of damage. Scroll of Desert Hell Carceri, Warehouse, Ebb Creakknees Level: 5 / Wizard Range: 50 feet Duration: Instant Speed: 5 Area of effect: 50 x 50 ft Saving throw: 1/2 Usable only by Mages Does 2-40 points of fire damage, with saving throw reducing this to half. Ancient Scroll Carceri, Warehouse, left of entrance in pile of boards Turns out to be a Wish Scroll. If TNO is at least a level 12 Mage, he can use it once to wish for any one of the following: 1. Arcane Knowledge. This choice conjures up the following spells: Power Word (Kill), Stygian Ice Storm, and Meteor Storm Bombardment 2. An Increase in Abilities (+2 to one of your stats) 3. An Item of Power. Produces the Ring of Thex, which adds dramatically to your HP, AC, and adds 2 to all saving throws 4. You can heal your entire party 5. 10,000 CP in wealth Mark of the Savant Carceri, Administration Building - 3rd floor, locked and trapped desk Damage: 3-18 Piercing Enchanted: +4 Special: +2 to Armor Class +1 to Dexterity +15 to Base Hit Points +25% Open Locks Skill Bonus +25% Stealth Skill Bonus +10% Detect Trap Skill Bonus THACO: +3 Speed: 2 Weight: 3 Proficiency: Fists Usable only by Thieves Best item for Annah (or yourself as a Thief) in the game, bar none! "Edge of Oblivion" Carceri, Administration Building - 3rd floor, locked and trapped desk Damage: 2-9 Slashing Enchanted: +2 Special: 1-6 Cold Damage to target +50% Resistance to Cold +25% Resistance to Magical Cold THACO: +1 Speed: 8 Weight: 10 Proficiency: Axes Not usable by Good characters A good weapon for Vhailor. Vrock Club Carceri, Administration Building - 3rd floor, locked and trapped desk Damage: 4-16 Crushing Enchanted: +2 Special: Poisons Target THACO: +2 Speed: 3 Weight: 4 Proficiency: Clubs Only usable by Thieves Made from a poisonous creature called a 'vrock', this weapons deals out poison damage in addition to tremendous crushing damage. Scroll of Celestial Host Carceri, Administration Building - 3rd floor, Trias Level: 9 / Wizard Range: 100 feet Duration: Instant Speed: 9 Area of effect: 50 ft. x 50 ft. area Saving throw: None Usable only by Mages A truly awesome spell. Deals out 40-120 points of damage, with no saving throw possible! Entropic Blade Lower Ward, Siege Tower, Coaxmetal Damage: 3-23 (type of damage varies) Enchanted: +2 THAC0: +2 Speed: 1 Weight: 1 Proficiency: Edged, Axes, Hammers, or Fists! Usable only by Fighters You can obtain this weapon when you return to Sigil from Carceri, and visit Coaxmetal again (you have to give him the Modron Cube. Probably not a good thing for the Planes, but what the heck). By talking to it, you can change its form to suit your fighting skills! Important People ================ Characters you'll meet throughout the course of the game who may join your party. Morte The Mortuary - 2nd floor Morte joins your party immediately you awake on the slab in the Mortuary at the beginning of the game. Of course, you can always get rid of him, but I found him to be a useful Fighter (especially during the early part of the game where TNO is relatively weak), and for the most part welcomed his banter throughout the game. Dak'kon The Hive - SE region, Smoldering Corpse bar You can acquire the githzerai Dak'kon in the Smoldering Corpse bar. He's a multi-classed Fighter/Mage who comes with a small arsenal of githzerai-specific spells, but he can memorise other spells too. It's unusual for a gith to be subservient to a human, but you'll find out the reason for this in due time. Whether or not you intend on becoming a Mage, it's worth it for a brief time alone - if only for Dak'kon to teach you the Way of Zerthimon :-) Annah Buried Village, Pharod's lair Ah, dear Annah! The love interest in this game, though it's a quirky touch-and-go affair at best. Annah will not join your party until you present the Bronze Sphere to Pharod. She's a Thief, and the only weapons she can use are Punch Daggers. Fortunately, you find more powerful variations of these as you progress through the game (plus some armour made especially for her), and she eventually becomes a tenacious scrapper. Ignus The Hive - SE region, Smoldering Corpse bar Ignus the Mage will join your party once you put his fire out using the Decanter of Endless Water. Like Dak'kon, he comes pre-equipped with indigenous (fire based) spells, but can use any other Mage spell. If you're a Mage too, then Ignus can eventually do something with your Intestines... Fall-From-Grace Clerk's Ward, Brothel of Slaking Intellectual Lusts You need to solve all the problems concerning her students before Grace will join your party. She's the only Priest in the game, and invaluable for her healing skills. Also, she's as good looking as TNO is ugly, thus providing some balance to the party's appearance :-) Grace also possesses a very high Lore skill, and can identify quite a few items without having to resort to Identify spell or Charm of Infinite Recall. Nordom Modron Maze You have to set the difficulty of the Modron Maze/Dungeon to 'hard' and work your way through a load of High Threat Constructs in order to find Nordom. Nordom is a great Fighter, and the better class of arrows you find for him, the better he gets! Vhailor Curst Underground, Prison You'll miss out on Vhailor if you don't look past the exit portal from the Prison, as I did the first time I played. Vhailor is a strong Fighter with a lot of HP... but you may find it difficult to get his AC down to a decent level as you acquire him towards the latter part of the game, when all the enchanted rings and such are already being used by other party members :-( Acknowledgements ================ I'd like to thank the following people for contributing to the latest version of this guide. Thanks very much for the tips and corrections :-) Donald Raoul Copyright Steve Metzler (smetzler@gofree.indigo.ie) for the Games Domain - September, 2000. All rights reserved. Not to be reproduced without written permission from the author.
FAQ Display Options: Printable Version | http://www.gamefaqs.com/pc/187975-planescape-torment/faqs/16194 | CC-MAIN-2016-40 | refinedweb | 29,541 | 79.09 |
I have a some libraries which have a lot of common classes but the namespaces are different. Most of the code I was writing could be easily reused by classes in both libraries so after some reading I tried a technique of using the templates to pass namespace. As you can see in the program below. However the issue is that not all classes are common so I create different templates to pass to Util. (templateNamespace and templateNamespaceb)
I was expecting that if I don't pass a type and not call a function it should not get generated and things should be fine. However it only works if the the type is not in the function signature. So for eg in the code below, namespace B does not have the type 'T2' and 'print2' in Util depends on T2. If I change print2 to 'void print2(typename schemans::T2 t2)' this program does not compile saying 'B' does not have T2 but if I declare it inside the function it compiles fine. could someone please explain the behaviour ? I hope I have explained it well if not let me know and i'll try again
#include <iostream> namespace A { class T1{ public: int i; }; class T2{ public: int x; }; }; namespace B { class T1{ public: int i; }; }; template <typename schemans> class util{ public: void print(typename schemans::T1 tobj) { std::cout << tobj.i << std::endl; } void print2() { typename schemans::T2 t2; t2.x = 13; std::cout << t2.x << std::endl; } }; template <typename test, typename test2> struct templateNamespace{ typedef test T1; typedef test2 T2; }; template <typename test> struct templateNamespaceb{ typedef test T1; }; int main(int agrc, char* argv[]) { typedef templateNamespace<A::T1, A::T2> a_NS; util<a_NS> utilObj; A::T1 t1; t1.i = 10; A::T2 t2; t2.x = 12; utilObj.print(t1); utilObj.print2(); typedef templateNamespaceb<B::T1> b_NS; util<b_NS> utilObj2; B::T1 t3; t3.i = 11; utilObj2.print(t3); } | https://www.daniweb.com/programming/software-development/threads/442943/templates-and-context-passing | CC-MAIN-2017-09 | refinedweb | 321 | 71.24 |
make generate-plist
Deleted ports which required this port:
Number of commits found: 33 0.27
Changes:
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight
- Update to 0.26
Changes:
Add NO_ARCH and sort plist.
Remove dependencies on p5-Sub-Identify and p5-Sub-Name. They were removed as
general requirements in version 0.20_01, in 2011. Now those modules are only
loaded for perl < 5.15.25
Changes:
Support STAGEDIR.
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default.
Cleanup supporting perl version 5.8 and 5.10,
lang/perl5.8 and lang/5.10 will be removed from ports tree soon.
- Update to 0.24
- Add LICENSE
- 0.22
- Pet portlint
Changes:
Update to 0.21.
Changes: http:/search.cpan.org/dist/namespace-clean/Changes
- Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.
See for details.
- Change maintainership from ports@ to perl@ for ports in this changeset.
With perl@ hat
- Update to 0.20
PR: 154620
Submitted by: Jonathan Chu <milki@rescomp.berkeley.edu>
Update to 0.18.
Changes: http:/search.cpan.org/dist/namespace-clean/Changes
- Update to 0.17
With Hat: perl@
Changes: http:/search.cpan.org/dist/namespace-clean/Changes
Update to 0.14.
Changes:
Update to 0.13.
Changes:
- Update to 0.12
- Changelog: <>
Reset lbr@FreeBSD.org due to maintainer-timeouts and no response to email.
Hat: portmgr
Update to 0.11
Update to 0.09
New port: devel/p5-namespace-clean, Keep imports and functions out of your
namespace
Servers and bandwidth provided by New York Internet, iXsystems, and RootBSD
10 vulnerabilities affecting 66 ports have been reported in the past 14 days
* - modified, not new
All vulnerabilities
Last updated:2022-01-28 18:54:55 | https://www.freshports.org/devel/p5-namespace-clean/ | CC-MAIN-2022-05 | refinedweb | 314 | 63.86 |
08-15-2014 05:17 AM
Hi,
Can I check what an easy way to read a text file except the last row is? I have a CSV which looks like:
VAR1,VAR2,VAR3
"123","YYY","ZZZ"
EOF
Have tried various methods but I either end up with Invalid row at last record, or if reading and writing the file back out it messes up the splitting (so data maybe on various row for instance):
And read/write:
filename clindata "xyz.csv";
filename cdata "vsd.csv";
data _null_;
length buffer $4000.;
infile clindata;
file cdata;
input buffer;
if strip(buffer) ne "EOF" then put buffer;
run;
Am sure I am just missing an options on the put, but can't think. So I want the line of text exactly per the original file (could be quite long), only ignoring the last row of data.
08-28-2014 10:45 AM
Hi,
Just to finalise this post. Support sent me some code posted below, which is working for me as an intermediary setup.
data _null_;
infile "s:\temp\rob\x.csv" recfm=n;
file "s:\temp\rob\y.csv" recfm=n;
retain Flag 0;
input a $char1.;
if a = '"' then
if Flag = 0 then
Flag = 1;
else
Flag = 0;
if Flag = 1 then
do;
if a = '0D'x then
do;
goto exit;
end;
if a = '0A'x then
do;
goto exit;
end;
end;
put a $char1.;
EXIT:
run;
08-15-2014 05:26 AM
Assuming that you mean EOF is not plain text, rather a control char: have you tried the END= INFILE option?
08-15-2014 06:01 AM
Hi,
No sorry, on the code I posted that was an attempt to read the whole file and put out all text except the final row of text which just has "EOF" without the quotes in. The actual import program I have - not mine - has this code:
data xyz;
attrib ...;
infile "S:\Temp\Rob\Rave\ds_progs_gen\v_bup1506_ae.csv" delimiter = ',' MISSOVER DSD firstobs=2 end=eof lrecl=32767;
input @;
if eof then do;
if _infile_ ^= 'EOF' then do;
put "ERROR: EOF marker not found in metadata transmission from Rave Web Services. Transmission must have been interrupted. Now aborting.";
abort abend;
end;
stop;
end;
else do;
input ...;
end;
run;
However this gives: NOTE: Invalid data for userid in line 37 1-1.
For the line with just EOF. I have tried to get it working so this note goes away, i.e. not reading the last row, but couldn't get it. Then switched over to trying to read in the whole file and output all the rows without the last line, per the code in the first post. Unfortunately this split up all the lines randomly and so killed the structure of the file.
So I am looking for either a way to read the file as is without the EOF or note, or read the whole file/write it back out exactly as it is without the last row.
08-15-2014 06:44 AM
Check that you file does not have a blank line after the line with EOF that will prevent the program show from working. To check that use LIST; See line 4 below with length 0.
37 filename FT15F001 temp;
38 data _null_;
39 infile FT15F001;
40 input;
41 list;
42 parmcards;
47 ;;;;
NOTE: The infile FT15F001 is:
(system-specific pathname),
(system-specific file attributes)
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0
1 VAR1,VAR2,VAR3 14
2 "123","YYY","ZZZ" 17
3 EOF 3
4 0
NOTE: 4 records were read from the infile (system-specific pathname).
The minimum record length was 0.
The maximum record length was 17.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
08-15-2014 07:00 AM
Unfrotunately not, the last row is EOF 3.
08-15-2014 07:11 AM
OK lets see the program that is not working. I only see bits that you say don't work and I'm not sure what's what.
08-15-2014 06:54 AM
To COPY with INFILE/FILE you use INPUT;/PUT _INFILE_; It is likely you will need LRECL option on both FILEREFs.
08-15-2014 07:22 AM
This note shows that the column(s) read for USERID are 1-1
NOTE: Invalid data for userid in line 37 1-1
That implies (to me) that is may not be associated with the line you think it is. Did you also a dump of the LINE associate with the note?
08-15-2014 08:31 AM
Yes, you are quite correct data _null_; in rows 36 of the data, once I had a look through a hex editor, it shows one column as: ..."","..","","",""... and the codes for the two dots = 0D 0A. 0D is a carriage return. Should these not import correctly however as they are in within double quotes? What it is doing is at this point splitting the line and hence I am getting invalid data.
filename cdata "d1.csv";
filename outdata d2.csv";
data _null_;
infile cdata lrecl=32767;
file outdata lrecl=32767;
input;
if _infile_ eq: 'EOF' then stop;
if index(_infile_,'0d'x)>0 or index(_infile_,'0a'x)>0 then do;
_infile_=compress(_infile_,'0d'x);
_infile_=compress(_infile_,'0a'x);
end;
put _infile_;
run;
This still splits that line.
08-15-2014 09:02 AM
I do not know if double quotes are suppose to "mask" a term string or not. This example implies NO but I'm on UNIX I think you are using Windows so there there may be a difference and my example may be flawed. Is the quoted 0D0A common or was this introduced by saving the file from an editor that wrapped the line.
08-15-2014 09:53 AM
Well, the data is actually via proc http from a database, no processing involved. Yes, am Windows. I think I may need to pass this back to the DB people to sort out as this 0d is causing empty rows to appear.
08-15-2014 10:37 AM
If the data just has an embedded carriage return ('0D'x) and the real end of lines are marked by CR+LF (as is normal on Windows) or LF (as is normal on Unix) then you should be able to read it as is by using the proper value for the TERMSTR= option on the INFILE statement.
08-15-2014 01:28 PM
08-18-2014 04:43 AM
Hi.
Yes, data_null_; is correct, this is embedded in the data. Have tried the termstr to no avail. The really annoying fact is that Excel (of all things) does read the file correctly. I will pop a service desk ticket in for this and reply if I find anything out.
08-18-2014 01:08 PM
This topic has come up on the list before. For example here is one thread.
If Excel is reading it properly then one of the tricks that counts quotes should be able to find and fix the extra line breaks.
Need further help from the community? Please ask a new question. | https://communities.sas.com/t5/General-SAS-Programming/Last-row-of-text-file/td-p/162704?nobounce | CC-MAIN-2017-47 | refinedweb | 1,202 | 79.6 |
Opened 15 months ago
Last modified 3 months ago
#1568 assigned task
python3
Description (last modified by )
Tracker ticket for everything related to python3.
Split from #640 / #90.
See also:
- packaging: #1253 split packages, #1258 "python2" package naming
- #1041 python3 for gstreamer on win32 (no longer used since #678)
- #1386 python3 for gstreamer sound process (other platforms)
- #1717 python3 gtk3 client
- #1569 python3 opengl client
- #1574 python3 packaging for win32
- #1575 python3 for macos
- #1589 GTK3 clipboard support
- #853 python3 server
Attachments (1)
Change History (22)
comment:1 Changed 15 months ago by
comment:2 Changed 15 months ago by
comment:3 Changed 15 months ago by
comment:4 Changed 15 months ago by
comment:5 Changed 14 months ago by
nvenc fixes and dependency updates: r16399 + r16400 + r16401 (see ticket:1550#comment:14)
comment:6 Changed 14 months ago by
comment:7 Changed 13 months ago by
comment:8 Changed 12 months ago by
comment:9 Changed 12 months ago by
Lots of updates in r17015 + r17017. The shadow server is now usable with python3, only needs a few minor fixes:
- encoding options aren't set properly (csc warnings, no video encoders)
- clipboard is disabled
- ssl socket peek wrapper
- errors during cleanup caused by py3k needless breakage ie:
RuntimeError: dictionary changed size during iterationin
cancel_damage:
for sequence in self.statistics.encoding_pending.keys():
comment:10 Changed 12 months ago by
More updates and fixes:
- r17025: clipboard
- r17026 + r17029: keyboard
- r17027: shadow server image encoding
- r17028: fix ssl, gdk Rectangle
- r17091: rfb and websockets
Python3 shadow servers are now totally usable and fast. Not much left to fix here:
- cursor icons
- SIGINT (general problem with GTK3)
TODO:
- the client still needs graphs in session info, maybe we should allow export to CSV or include more context information in the graph (see ticket:1705#comment:1)
- websockify needs patching (removing
ForkingMixIn)
- server core needs a different workaround for non-blocking sockets
- problem with mouse cursors?
- XSETTINGS / root props, see r6384 (needs more GTK glue)
- transparency may work without opengl?
comment:11 Changed 10 months ago by
r17098 is wrong, the bug is still present in all GTK3 versions! Ctrl+C does not exit gtk app - absolutely amazing that such a fundamental issue has not been fixed in so many years.
It does mean that we may be scheduling timers too often, which is why we exit the main loop and catch the signal. Worth looking into.
comment:12 Changed 10 months ago by
Lots more fixes: r17498, r17507, r17509.
- bug report tool needs a fix for the clipboard copy (probably easy).
- the systray sort of works with gnome-shell if you install topicons plus, but not with GTK3... where the geometry comes up as 1x1, and even forcing it does not help
comment:13 Changed 10 months ago by
Found a blocker bug with "de" keyboard layout and win32 clients: I can get a client crash just by pressing the first key to the right of the left shift key!
ERROR:../../pygobject-3.26.1/gi/pygi-argument.c:1004:_pygi_argument_to_object: code should not be reached
Why give a helpful warning when you can just crash the whole application, thanks GTK! sigh.
comment:14 Changed 10 months ago by
Updates:
- r17582: fixup rencode for python 3.6 import warnings
- r17579 + r17581: lots of deprecation warnings fixed
Some import warnings were completely hidden behind a generic message until I used this badly documented gem:
PYTHONWARNINGS='error::ImportWarning' python3 /usr/bin/xpra attach
The remaining warnings are:
- pyopengl: adding
from __future__ import absolute_importto the pyx files doesn't work, it breaks somewhere else trying to cimport withoud pxd files (how is that supposed to work!?)
- Gdk.Screen: most functions are deprecated and we're supposed to Use per-monitor information - could be done
- Gtk.Menu.set_title is deprecated - no replacement... probably not a big issue
- Gtk.ImageMenuItem: GTK developers are hellbent on trying to force everyone to not use icons in menu items - the most bone headed move yet (anyone who has ever had to use a computer setup to use a language they are unable to read can testify here)
- StatusIcon: everything is deprecated because gnome decided to break the systray one more time (a tie with the icon thing for being the worst decision)
comment:15 Changed 9 months ago by
comment:16 Changed 9 months ago by
The signal handler has finally been fixed, it only took GTK ~7 years to fix a basic unix feature. Considering that other platforms (win32 and macos) are barely supported... wow.
The changesets needed to pygobject are:
- Make Python OS signal handlers run when an event loop is idling
- Install a default SIGINT handler for functions which start an event loop
If these changes apply cleanly to the pygobject version in MSYS2, let's patch it.
comment:17 Changed 9 months ago by
Both those patches to GTK are from a very active MSYS2 developer so hopefully there'll be official packages sometime soon.
comment:18 Changed 5 months ago by
Hit a concurrency error with python3, fixed in r19101. Problem is that there are likely many more like this one because they have changed the semantics of
values(),
keys() and
items() on dictionaries. Major pain.
Wherever we fix this by using a temporary list, we unnecessarily penalise python2. A version specific wrapper function would be better, but would still cost an extra function call.
comment:19 Changed 5 months ago by
rpmbuild moans about those:
*** WARNING: mangling shebang in /usr/lib/cups/backend/xpraforwarder from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! *** WARNING: mangling shebang in /usr/libexec/xpra/auth_dialog from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! *** WARNING: mangling shebang in /usr/libexec/xpra/xdg-open from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually!
comment:20 Changed 3 months ago by
Lots of GTK3 issues trying to fix deprecation warnings shown with
PYTHONWARNINGS=all, some fixes in r19697, r19698, r19699, r19700, r19701.
Gtk.StatusIcon: the whole class is deprecated, ie: there is no direct replacement for this function. Oh great, good thing we're only using this on X11
Also found a crasher bug: #1886.
comment:21 Changed 3 months ago by
Regarding comment:19, those shebangs get mangled by rpmbuild (see fedora packaging committe: mangling shebangs and #1891), using the totally undocumented __brp_mangle_shebangs_exclude_from (as per zfs commit : Exclude python scripts from RPM shebang check) prevents that: r19812.
Changed 7 weeks ago by
websockify 0.8 modified to run on python 3.7
Subcommands with python3:
Server bits are moved to their own ticket: #1571. | https://www.xpra.org/trac/ticket/1568 | CC-MAIN-2018-39 | refinedweb | 1,119 | 56.69 |
System.Runtime.Remoting.Contexts Namespace
.NET Framework 3.0
The System.Runtime.Remoting.Contexts namespace.
Whenever a new object is created, the.NET Framework finds a compatible context or creates a new context for the object. After an object is placed in a context, it stays in it for life. Classes that can be bound to a context are called context-bound classes. When accessed from another context, these context-bound classes are referenced directly using a proxy. A call from an object in one context to an object in another context will go through a context proxy and be affected by the policy implemented by the combined context properties.
Show: | https://msdn.microsoft.com/en-us/library/94wcef2b(v=vs.85).aspx | CC-MAIN-2015-32 | refinedweb | 111 | 50.23 |
So I’ve built my cool new Windows 8 in XAML. I’ve checked out its accessibility, and found there’s a lot I’ve got by default. I’ve also decided there are four specific things I need to do in order to deliver the fully accessible app my customers expect. This blog describes the steps I took around enhancing my XAML app’s accessibility.
If I point the Inspect SDK tool to my slider, it tells me that the slider has no accessible Name property, (as shown in the image below). That’s because there's no label for the control that XAML can use to set the accessible Name from. So I need to give the slider an accessible Name, such that when a screen reader user tabs to the control, they’re told what the meaning of the slider is.
I could set the Name in the slider’s XAML, by setting the AutomationProperties.Name property. This is really easy to do, and would seem to fix the issue. However, I mustn’t hard code English strings in the XAML, as what good is English to a screen reader user who doesn’t speak English? I want this app to be fully accessible in every market I ship.
So instead, I’m going to give the slider a localizable accessible Name property. First I have to add the resource file for localizable strings. (I’d have to do this anyway, to localize the strings shown visually in the app.) There are lots of details up at MSDN around localizable resources, and it’s pretty much a case of doing the following:
So in my case, I’m going to give the slider an id, like this:
x:Uid="sliderRiskLevelId"
I’m then going to update the resources file to match the AutomationProperties.Name for that element with a localizable string:
sliderRiskLevelId.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name Risk level
When I next point Inspect to the slider, I see the required Name property.
I can then take the same steps for the image element in the app, so that when a screen reader examines the image, a relevant localized name can be presented to my customers.
Note, as someone once said, “What’s in a name?” It can be tempting to think that if your XAML element has an “x:Name” set, then that will become the accessible Name property, as exposed through UIA. But that’s not the case. The “x:Name” property is exposed as the AutomationId property. The AutomationId is intended to be a unique identifier for that element relative to whatever else is shown in your app. The AutomationId is not localized, so a screen reader or your automation tests can use it to access the element regardless of the language of the app.
Also, it's worth a comment here on how useful Inspect is when it comes to helping you become aware of things in your UI element hierarchy which could be a problem for your customers. When I ran Inspect, I noticed that the UIA tree of elements for my app included a text-related element with no name. This element was associated with the TextBlock which presents the advice that gets shown after the Ask button is invoked, but initially no text is shown in the TextBlock. As such, it's pretty confusing for it to be exposed in the UIA tree. To fix this, I initialized the TextBlock to not be shown, with the following XAML:
Visibility="Collapsed"
That removes the element from the UIA tree. When I later set the text on the TextBlock, I made it visible and so it then appeared in the UIA tree.
adviceTextBlock.Visibility = Windows.UI.Xaml.Visibility.Visible;
While the AutomationProperties class can make it really easy to easily control some aspects of the app’s accessibility, sometimes you need the deeper customization available through a custom AutomationPeer. AutomationPeers are what make XAML elements accessible, and by introducing your own custom AutomationPeer, you might do a little work to customize a single accessible property, or take more involved steps to add specific behavioral support to a control. This MSDN article on custom automation peers, gives loads of useful details on what they can be used for. (Some of what follows here will only make sense if you’ve read that article.)
After I first built my XAML app containing the slider, I ran Narrator and used the keyboard to change the slider position. Narrator notified me of new the slider values, but that took the form of speaking the percentage values “0”, “33”, “67” and “100”. The purpose of my slider is to set a risk level, and numeric values don’t express much meaning, other than perhaps assuming that a higher number is riskier than a lower number. What’s more, why don’t I hear the absolute values “0”, “1”, “2” and “3”? To answer this, we should point the Inspect tool at the slider again, and look closely at what UIA patterns are supported by the slider. (UIA patterns relate to the behaviors of elements.) Of interest to me here is that Inspect tells me that the RangeValue pattern is supported, but the Value pattern and Selection pattern are not, (as shown in the image below).
When Narrator examines an element, it might look for specific pattern support based on the element’s UIA control type. (Inspect shows me that the slider has a control type id of UIA_SliderControlTypeId.) In the case of a slider, Narrator will first check for support of the Selection pattern, then the Value pattern and finally the RangeValue pattern. If only the RangeValue pattern is supported, it will access the current value and speak this as a percentage of the full slider range. This is the behavior I get by default in my app. If I wanted to override this to have absolute values spoken by Narrator, I would need to add Value pattern support to the slider. And if I want to have Narrator speak some descriptive text associated with each slider value, I need to add Selection pattern support. So I’ll add Selection pattern support next. (I would add Value pattern support in a similar way, if I’d needed that.)
So here I go, adding Selection pattern support to my slider.
The first thing I’ll do is create my own class, through which my custom AutomationPeer can be accessed.
public class CustomSlider : Slider { protected override AutomationPeer OnCreateAutomationPeer() { return new CustomSliderAutomationPeer(this); } }
I’ll then reference my custom class in the XAML, by replacing the use of the “Slider” element with “local:CustomSlider”. This means that when Narrator asks for accessible data associated with the element, that data will be provided by a CustomSliderAutomationPeer class that I now need to create.
Given that most of the accessible data that I want exposed by the element will be the same as that exposed by a regular slider, I want my custom AutomationPeer to be derived from the AutomationPeer class that provides the accessible data for a regular slider.
public class CustomSliderAutomationPeer : SliderAutomationPeer { public CustomSliderAutomationPeer(CustomSlider owner) : base(owner) { } }
Next I’ll override the GetPatternCore() method, to say that the element supports the Selection pattern in addition to the RangeValue pattern that it supports by default.
protected override object GetPatternCore(PatternInterface patternInterface) { if (patternInterface == PatternInterface.RangeValue) { return this; } else if (patternInterface == PatternInterface.Selection) { return this; }
return null; }
Now, having declared that my custom AutomationPeer class supports the Selection pattern, I’d better add that support. To add support, I’ll need to implement all the members of the ISelectionProvider interface, (as described at). The IsSelectionRequired and CanSelectMultiple properties are easy, but the GetSelection() method’s going to take a bit more thought.
public class CustomSliderAutomationPeer : SliderAutomationPeer, ISelectionProvider { public bool IsSelectionRequired { get { return true; } }
public bool CanSelectMultiple { get { return false; } }
public IRawElementProviderSimple[] GetSelection() {… } }
The GetSelection() method returns an array of IRawElementProviderSimple objects, but in my case there’s only going to be one element in the array. This element represents the selection, and will only be used to provide an accessible name to be spoken by Narrator. The object must implement the ISelectionItemProvider interface if it’s to be the item returned by the slider as the element that is the current selection, so I first wondered if I needed to define some new class for the selection item. But then I took a look through to see what standard XAML controls support the SelectionItem pattern. The ListBoxItem seemed pretty tempting, so I decided to leverage that class as my selection item.
I created an instance of a ListBoxItem when my AutomationPeer is created, and cached the ListBoxItem for later use. I also cached my single-element array which I’d return from the calls to GetSelection(). In fact I now have all the objects I need to return a selection.
private ListBoxItem m_item; private IRawElementProviderSimple[] m_collection;
public CustomSliderAutomationPeer(CustomSlider owner) : base(owner) { m_item = new ListBoxItem();
AutomationPeer itemPeer = FromElement(m_item);
m_collection = new IRawElementProviderSimple[1]; m_collection[0] = ProviderFromPeer(itemPeer); }
Finally, I fill in the blanks in the GetSelection() method, by setting an appropriate AutomationProperties.Name property on the ListBoxItem I created, and returning that in the array representing the selection.
public IRawElementProviderSimple[] GetSelection() { string[] sliderItemTextIds = { "riskLevelLowId", "riskLevelMediumId", "riskLevelHighId", "riskLevelTopId" };
int idxSlider = (int)base.Value; var loader = new Windows.ApplicationModel.Resources.ResourceLoader(); string sliderText = loader.GetString(sliderItemTextIds[idxSlider]);
m_item.SetValue(Windows.UI.Xaml.Automation.AutomationProperties.NameProperty, sliderText);
return m_collection; }
The bulk of that function simply gets the localized text that I want to be spoken for the slider value.
By making the changes above, I’ve added Selection pattern support to my slider. When Narrator examines the slider and finds the Selection pattern supported, it retrieves an IRawElementProviderSimple associated with the selection. In my case that’s provided by the ListBoxItem whose accessible Name property I’ve set to be a string associated with the current slider value. Narrator speaks that Name as I change the slider value.
So this all works great for me. In theory another screen reader might examine other properties of the object that I return as the selection, and those properties might be rather unexpected from the user’s perspective. For example, why would a slider’s selection have a control type of ListBoxItem? If that ever turned out to be an issue, I’d need to look into changing that.
By the way, for completeness I thought it might be worth setting a ThumbToolTipValueConverter on my slider too. This would allow me to have the tooltips shown which match the text spoken by Narrator. So I created the necessary class, and referenced an instance of it on my slider.
sliderRiskLevel.ThumbToolTipValueConverter = new TooltipStringGenerator();
public class TooltipStringGenerator : IValueConverter { public TooltipStringGenerator() {}
public object Convert(object value, Type type, object parameter, string language) { string[] sliderItemTextIds = { "riskLevelLowId", "riskLevelMediumId", "riskLevelHighId", "riskLevelTopId" };
double dv = (double)value; int idxSlider = (int)dv; var loader = new Windows.ApplicationModel.Resources.ResourceLoader(); return loader.GetString(sliderItemTextIds[idxSlider]); }
public object ConvertBack(object value, Type type, object parameter, string language) { throw new NotSupportedException(); } }
It’s worth pointing out here that setting the tooltip strings alone isn’t sufficient to meet the meets of the screen reader experience. When the tooltip pops up with the friendly text, Narrator might speak that text, depending on what else is going on at the time. But as the slider value changes, Narrator won’t speak the updated tooltip. So the custom AutomationPeer is necessary to provide the experience I want my customers to have.
The image below shows the Narrator cursor on the slider, and the visual tooltip showing the same text as Narrator is speaking for the slider value.
When I invoke the app button, the answer I’m looking for appears visually in the UI. But if Narrator doesn’t announce that text when it appears, then the app’s as good as useless. I need a way to tell a screen reader to pay attention to the text that appeared, even though it’s appearing at some point distant from where keyboard focus is. (In general, screen readers need to be careful not to announce all visual changes on the screen, because many of those changes would only be a distraction to the user.)
So I’ll explicitly declare the TextBlock that shows the answer to be what’s known as a “live region”, with a handy one-line change.
AutomationProperties.LiveSetting="Assertive"
(Here we see the same useful AutomationProperties class that we saw earlier when setting the accessible Name.)
There are two aspects of having some UI be a live region. The first is that when the contents of the element change, an event should be raised so that UIA clients such as screen readers are aware that’s something’s changed. This is done by raising a UIA LiveRegionChanged event. If I’d built some custom control I’d need to raise the event itself. But conveniently, if I've declared the TextBlock to be a live region, then XAML raises the event for me whenever the text in the element changes.
The second part of using live regions is declaring what type of live region the element is. When Narrator receives the event, it will examine the AutomationProperties.LiveSetting property of the element that raised the event. If the LiveSetting is assertive, Narrator will let the user know about the current state of the element immediately, (including the new text set on it). So this announcement will interrupt Narrator if it happened to be saying something else at the time of the event. If I’d given the element a LiveSetting of “polite”, then Narrator would finish what it was in the process of saying when the event was raised, before announcing the new state of the element to my customer.
To get confirmation that all was as I expected when the contents of the TextBlock in my app changed, I pointed the AccEvent SDK tool to the TextBlock. As the image shows below, I could see the event getting raised, and that the LiveSetting property on the element that raised the event was “Assertive”.
I can’t stress the importance of the AutomationProperties.LiveSetting enough. If your customers interact with some controls in your app, and some critical information is displayed elsewhere in the app as a result of the interaction, a screen reader will very likely need to announce that critical information at that time. Often the simple step of declaring a TextBlock to have an assertive LiveSetting is all you need to do.
When I first built my app, I created an Image element and slapped in an existing image that I had lying around. That was easy. But then I turned on one of the high contrast themes and ran my app, and realized I’m not quite done yet. I don’t want to display large chunks of a white background when my customer wants light text shown on a black blackground. In many cases, presenting colours that are inappropriate to the current theme will make things difficult or impossible to make out, and in some cases it can be physically painful.
I could choose to show no images at all when a high contrast theme is active. But in the case of my images I think it would generally be preferable to present high contrast versions of them rather than not showing any image at all. So I set to work in Paint, creating black-on-white and white-on-black versions. The results aren’t too inspiring, but they illustrate the point I’m making here.
There were three steps to leveraging my new high contrast masterpieces.
1. Add the new png files as asserts to my app project.
2. Change the source property in my Image element’s declaration to use an image loaded as a resource.
Source="{StaticResource imageHerbi}"
3. Update the existing ResourceDictionary in the project’s StandardStyles.xaml, such that an image appropriate to the active high contrast theme will get loaded.
<ResourceDictionary.ThemeDictionaries> <ResourceDictionary x:… <x:String x:Assets/Herbi.png</x:String> </ResourceDictionary>
<ResourceDictionary x:… <x:String x:Assets/Herbi.contrast-black.png</x:String> </ResourceDictionary>
<ResourceDictionary x: <x:String x:Assets/Herbi.contrast-white.png</x:String> </ResourceDictionary> </ResourceDictionary.ThemeDictionaries>
To test my high contrast change, I need to set the high contrast theme before running my app. I tend to pick a high contrast theme by right-clicking on the desktop, choosing Personalize, and then selecting the theme I’m interested in. I could instead just turn on high contrast from the Ease of Access settings, but that will only use the most recent high contrast theme used, (or the default). I always check my UI in High Contrast White and at least one of the light-on-dark themes.
By the way, in Visual Studio the XAML Design view reported the following exception when I added the resource string:
Exception: An object of the type "System.String" cannot be applied to a property that expects the type "Windows.UI.Xaml.Media.ImageSource".
I ignored that exception given that everything seemed to work fine when I ran the app.
The images below show the app running in two high contrast themes.
Ok, so having done the above, my app now exposes localized friendly names for my slider and image, and also provides meaningful strings for the slider values. It announces the results as they appear in the UI, and also presents colours which are appropriate for high contrast themes. It’s now good to be declared “Accessible” when I upload it to the Windows Store!
Customizing the accessibility of my XAML and WinJS Windows 8 apps – Part 1: Introduction
Customizing the accessibility of my XAML and WinJS Windows 8 apps – Part 3: The WinJS app
Customizing the accessibility of my XAML and WinJS Windows 8 apps – Part 4: Postscript | http://blogs.msdn.com/b/winuiautomation/archive/2013/04/02/customizing-the-accessibility-of-my-xaml-and-winjs-windows-8-apps-part-2-the-xaml-app.aspx | CC-MAIN-2015-22 | refinedweb | 2,997 | 51.89 |
Threads in Ruby
Ruby has many cool features which attract developers, such as the ability to create classes at runtime, alter behavior of any particular object, monitor the number of classes in memory using ObjectSpace, and an extensive list of test-suites. All these things make a developer’s life easier. Today we will discuss one of the most fundamental concepts in Computer Science: Threads and how Ruby supports them.
Introduction
First of all let’s define “thread”. According to Wikipedia
In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by an operating system scheduler. A thread is a light-weight process.
A thread is a light-weight process. Threads that belong to the same process share that process’s resources. This is why it is more economical to have threads in some cases.
Let’s see how threads can be useful to us.
Basic Example
Consider the following code
def calculate_sum(arr) sum = 0 arr.each do |item| sum += item end sum end @items1 = [12, 34, 55] @items2 = [45, 90, 2] @items3 = [99, 22, 31] puts "items1 = #{calculate_sum(@items1)}" puts "items2 = #{calculate_sum(@items2)}" puts "items3 = #{calculate_sum(@items3)}"
The output of the above program would be
items1 = 101 items2 = 137 items3 = 152
This is a very simple program that will help in understanding why we should use threads. In the above code listing, we have 3 arrays and are calculating their sum. All of this is pretty straightforward stuff. However, there is a problem. We cannot get the sum of the
items2 array unless we have received the
items1 result. It’s the same issue for
items3. Let’s change the code a bit to show what I mean.
def calculate_sum(arr) sleep(2) sum = 0 arr.each do |item| sum += item end sum end
In the above code listing we have added a
sleep(2) instruction which will pause execution for 2 seconds and then continue. This means
items1 will get a sum after 2 seconds,
items2 after 4 seconds (2 for
items1 + 2 seconds for
items2) and
items3 will get sum after 6 seconds. This is not what we want.
Our items arrays don’t depend upon each other, so it would be ideal to have their sums calculated independently. This is where threads come in handy.
Threads allow us to move different parts of our program into different execution contexts which can execute independently. Let’s write a threaded/multithreaded version of the above program:
def calculate_sum(arr) sleep(2) sum = 0 arr.each do |item| sum += item end sum end @items1 = [12, 34, 55] @items2 = [45, 90, 2] @items3 = [99, 22, 31] threads = (1..3).map do |i| Thread.new(i) do |i| items = instance_variable_get("@items#{i}") puts "items#{i} = #{calculate_sum(items)}" end end threads.each {|t| t.join}
The
calculate_sum method is the same as our previous code sample where we added
sleep(2). Our items arrays are the same too. The most important change is the way we have called
calculate_sum on each array. We wrapped the
calculate_sum call corresponding to each array in a
Thread.new block. This is how to create threads in Ruby.
We have done a bit of metaprogramming to get each items array according to the index
i in the loop. At the end of the program, we ask threads to process the blocks that we gave them.
If you run the above code sample, you might see the following output (I use might because your output might be different in terms of items arrays sum sequence)
items2 = 137 items3 = 152 items1 = 101
Instead of getting a response for
items2 array after 4 seconds and
items3 array after 6 seconds, we received the sum of all arrays after 2 seconds. This is great and shows us the power of threads. Instead of calculating the sum of one array at a time, we are calculating sum of all arrays at once or concurrently. This is cool because we have saved 4 seconds which is definitely an indication of better performance and efficiency.
Race Conditions
Every feature comes with a price. Threads are good, but if you are writing multithreaded application code then you should be aware of handling race conditions. What is a race condition? According to Wikipedia
Race conditions arise in software when separate computer processes or threads of execution depend on some shared state. Operations upon shared states are critical sections that must be mutually exclusive. Failure to obey this rule opens up the possibility of corrupting the shared state.
In simple words, if we have some shared data that can be accessed by multiple threads then our data should be OK (meaning, not corrupt) after all threads finish execution.
Example
class Item class << self; attr_accessor :price end @price = 0 end (1..10).each { Item.price += 10 } puts "Item.price = #{Item.price}"
We have created a simple
Item class with a class variable
price.
Item.price is incremented in a loop. Run this program and you will see following output
Item.price = 100
Now let’s see a multithreaded version of this code
class Item class << self; attr_accessor :price end @price = 0 end threads = (1..10).map do |i| Thread.new(i) do |i| item_price = Item.price # Reading value sleep(rand(0..2)) item_price += 10 # Updating value sleep(rand(0..2)) Item.price = item_price # Writing value end end threads.each {|t| t.join} puts "Item.price = #{Item.price}"
Our
Item class is the same. However, we have changed the way we are incrementing the value of
price. We have deliberately used
sleep in the above code to show you possible problems that might occur from concurrency. Run this program multiple times and you will observe two things.
Item.price = 40
First the output is incorrect and inconsistent. Output is not 100 anymore, and sometimes you might see 30 or 40 or 70, etc. This is what a race condition does. Our data is no longer correct and is corrupted each time we run our program.
Mutual Exclusion
To fix race conditions, we have to control the program so that when one thread is doing work another should wait unitl the working thread finishes. This is called Mutual Exclusion and we use this concept to remove race conditions in our programs.
Ruby provides a very neat and elegant way for mutual exclusion. Observe:
class Item class << self; attr_accessor :price end @price = 0 end mutex = Mutex.new threads = (1..10).map do |i| Thread.new(i) do |i| mutex.synchronize do item_price = Item.price # Reading value sleep(rand(0..2)) item_price += 10 # Updating value sleep(rand(0..2)) Item.price = item_price # Writing value end end end threads.each {|t| t.join} puts "Item.price = #{Item.price}"
Now run this program and you will following output
Item.price = 100
This is because of
mutex.synchronize. One and only one thread can access the block wrapped in
mutex.synchronize at any time. Other threads have to wait until the current thread that is processing completes.
We have made our code threadsafe.
Rails is threadsafe and uses Mutex class’s instance to avoid race conditions when multiple threads try to access same code. Look at the following code from the
Rack::Lock middleware. You will see that
@mutex.lock is used to block other threads that try to access same code. For in-depth detail about multithreading in Rails, read my article. Also, you can visit the Ruby Mutex class page for reference on
Mutex class.
Types of Threads in Different Ruby Versions
In Ruby 1.8, there were “green” threads. Green threads were implemented and controlled by the interpreter. Here are some pros and cons of green threads:
Pros
- Cross platform (managed by the VM)
- Unified behavior / control
- Lightweight -> faster, smaller memory footprint
Cons
- Not optimized
- Limited to 1 CPU
- A blocking I/O blocks all threads
As of Ruby 1.9, Ruby uses native threads. Native threads means that each thread created by Ruby is directly mapped to a thread generated at the Operating System level. Every modern programming language implements native threads, so it makes more sense to use native threads. Here are some pros of native threads:
Pros
- Run on multiple processors
- Scheduled by the OS
- Blocking I/O operations don’t block other threads.
Even though have native threads in Ruby 1.9, only one thread will be executing at any given time, even if we have multiple cores in our processor. This is because of the GIL (Global Interpreter Lock) or GVL (Global VM Lock) that MRI Ruby (JRuby and Rubinius do not have a GIL, and, as such, have “real” threads) uses. This prevents other threads from being executed if one thread is already being executed by Ruby. But Ruby is smart enough to switch control to other waiting threads if one thread is waiting for some I/O operation to complete.
Working with threads is quite easy in Ruby, but we have to be careful about various pitfalls and concurrency problems. I hope you enjoyed this article and can apply threading to your Ruby going forward.
- Anonymous
- Anonymous
- max
- Nate
- Kannan
- @ahsan_s
- tra
- Anonymous | http://www.sitepoint.com/threads-ruby/ | CC-MAIN-2014-52 | refinedweb | 1,529 | 66.64 |
Now it’s time to provide a concrete example of our flow in motion. We will handle the first couple of states, the “Intro” and “Setup – Menu” state. We will show how to display one screen after another, both based on an app event (launch) and based on user input. The Flow Controller handles both cases like a champ.
Prefabs
In this project I have already created all of the prefabs. You are of course free to remake your own using the screenshots or reference from the project, but I wanted to focus more on the code than on the Unity editor itself. If you open the “Game” scene, then look in the Hierarchy pane, you should find a game object named “Master Controller” and a child container game object called “Intro”. This has three prefab instances, one holds the canvas setup to show the Title graphic, one holds the “Play” button, and one holds the menu for the setup options “New” or “Load”. You can toggle these objects on and off to see what each one looks like.
Intro Logo Screen
This prefab is just the logo which says “Unofficial Pokemon Board Game” – it has a canvas with an image positioned near the top to allow for the other buttons. Super simple. It has a custom script on it, but the script is currently unused and has an empty body. If you wanted to do some logo animation this might be a good place to add it.
Intro Title Screen
This screen stacks on top of the logo screen and adds the interactive portion of the screen that appears during the “Intro” state. It is nothing more than a canvas with a “Play” button. The root game object also has a script (IntroTitleViewController) which is already configured with a public method that is the target of the Play button’s “On Click” event handler. I only left a stub so that the reference in the inspector could be made, and all we have to worry about in this lesson is updating the code. Actually, the fully implemented code isn’t much more complex, just add the following:
public class IntroTitleViewController : MonoBehaviour { public Action didFinish; public void PlayButtonPressed () { if (didFinish != null) didFinish(); } }
You might wonder what the purpose of the indirection here is. I could have just provided a public reference to the button itself and allowed “whatever” it is that uses the “didFinish” delegate to use the button’s “On Click” event directly. In this case I would agree, but the code here follows the same pattern that I use in other scripts which are a bit more complex, and the code consistency is also nice. In addition, exposing the button is a greater risk, because other code will have access to a larger set of features than you might have intended to give. Furthermore, you may later change the design and the point of completion may not be the press of the button, but could be an animation or just about anything else instead. If I use the indirection I can accomodate any of those changes without needing to modify the listener’s code later.
The main purpose of the “didFinish” delegate is that I can register when the consumer state enters, and unregister when the state exits. I wont need to worry about disabling the Play button after clicking it, because by itself, it doesn’t perform any action. This way I don’t have to worry about subsequent button events potentially confusing my flow controller or putting it into an unexpected state. For this screen it wouldn’t be possible anyway because the whole game object is also activated and deactivated based on the current state. Other screens use animated transitions though, and could receive additional taps during that time.
Intro Menu Screen
In my flow charts, this screen is actually the first step of the Setup process. However, visually it still displays the logo, and feels a bit more like an intro screen, and so I left it grouped together here.
public class IntroMenuViewController : MonoBehaviour { public enum Exits { New, Load } public Action<Exits> didFinish; [SerializeField] Button loadButton; void OnEnable () { loadButton.interactable = false; } public void OnCreateButton () { if (didFinish != null) didFinish (Exits.New); } public void OnLoadButton () { if (didFinish != null) didFinish (Exits.Load); } }
This screen is basically the same as the last – there are already a couple of public method stubs that had been connected to the buttons in the prefab for you. However, the previous screen had only one exit, but this state includes a branching path. In order to let the flow controller follow the input decision of the user, I have provided an enum parameter in the “didFinish” delegate so that we can know which option they wanted.
One of my most frequently encountered bugs in past projects were due to multiple simultaneous taps on a mobile screen. The problem was far more common on a screen like this one, when one screen has two or more buttons, each with a branching path. On a mobile device, the user might press both at the same time (whether on purpose or not who can say). With the delegate approach I use here, I unsubscribe when changing state, so pressing multiple buttons at the same time wont cause a problem – it will merely resolve one of the events first and the other will be “ignored” in that there is no longer a delegate action to invoke.
Eventually, the “OnEnable” method will control the interactability of the load button based on whether or not there is any saved data to load. We haven’t provided that system yet, so for now I simply turned it off.
Flow Controller
Now that we have some view controllers ready, we need to implement the Flow Controller’s states and state machine to tie everything together. Open the main FlowController script located at Scripts/Controller/FlowController/FlowController.cs and add the following after all of the existing field declarations:
StateMachine stateMachine = new StateMachine(); void Start () { stateMachine.ChangeState(IntroState); }
This creates the state machine which will hold and transition between all of the application states that were defined in my flow charts. I use the “Start” method to set the initial state that should become active once the application begins running. It begins with the “Intro” state:
Intro State
Copy the following into the Scripts/Controller/FlowController/States/IntroState.cs script
public partial class FlowController : MonoBehaviour { State IntroState { get { if (_introState == null) _introState = new State(OnEnterIntroState, OnExitIntroState, "Intro"); return _introState; } } State _introState; void OnEnterIntroState () { introLogoViewController.gameObject.SetActive (true); introTitleViewController.gameObject.SetActive (true); introTitleViewController.didFinish = delegate { stateMachine.ChangeState (SetupState); }; } void OnExitIntroState () { introTitleViewController.didFinish = null; introTitleViewController.gameObject.SetActive (false); } }
The code is pretty simple. When the “Intro” state enters, I enable two game objects: the one for the logo, and the one with the “play” button. Then, I provide a delegate handler for the view controller, which currently will be invoked when pressing the play button. The delegate will cause the state machine to change state to the “Setup” state, but as the state machine performs a transition, it will call an “Exit” action on the current state. This will allow me to unregister from the delegate and hide the object with the play button. Note that I don’t yet hide the logo object because I want it to remain visible during the setup menu.
Setup State
Even though the “Setup” state in the flow chart is made up of another flow chart, I created an actual state to represent it. I think of it as the entry of the flow chart because it is a name that is easier to remember than whatever other state will end up being the first state in the flow.
public partial class FlowController : MonoBehaviour { State SetupState { get { if (_setupState == null) _setupState = new State(OnEnterSetupState, null, "Setup"); return _setupState; } } State _setupState; void OnEnterSetupState () { stateMachine.ChangeState (MenuState); } }
All the code really does is to make sure the “real” setup flow begins. It passes the control off to another state whose name matches the first node in the “Setup” flow chart, which is the “Menu” state. It would be fine if you wanted to skip this one and have the “Intro” state change directly to the “Menu” state instead.
Menu State
public partial class FlowController : MonoBehaviour { State MenuState { get { if (_menuState == null) _menuState = new State(OnEnterMenuState, OnExitMenuState, "Menu"); return _menuState; } } State _menuState; void OnEnterMenuState () { introMenuViewController.gameObject.SetActive (true); introMenuViewController.didFinish = delegate(IntroMenuViewController.Exits obj) { switch (obj) { case IntroMenuViewController.Exits.New: stateMachine.ChangeState (CreateState); break; case IntroMenuViewController.Exits.Load: stateMachine.ChangeState (LoadState); break; } }; } void OnExitMenuState () { introMenuViewController.didFinish = null; introMenuViewController.gameObject.SetActive (false); introLogoViewController.gameObject.SetActive (false); } }
When the menu state enters I make sure to enable the menu screen and register for the “didFinish” delegate. Depending on the exit value which was passed along, we will then change state to one of two branching options.
When the menu state exits I will disable the menu object and the logo object as well. I also make sure to clear out the delegate.
Stubs
You could just about run the scene and see the first two screens now. However, because we haven’t provided an implementation of the “Create” or “Load” state yet, there would be two compiler errors. For now, we can add a stub placeholder like these (Note that I placed each in its own file according to its name):
State LoadState = null; State CreateState = null;
Demo
Now run the “Game” scene and you should see the Logo and Play button appear. If you click “Play” then the “Menu” will appear. Clicking the menu buttons won’t have the desired result yet – but you will still get a sense that it has moved on in the flow. Since the menu screen state will no longer be active, its exit action will have been invoked and the logo and menu objects will become inactive. The final result is just a blank screen, but we will be adding more soon.
Summary
In this lesson, we started putting the Flow Controller to the test. We implemented the first couple of states and actually got the flow working and traversable. By continuing the pattern we setup here, each of the rest of the screens can snap in place much like the bricks of a structure. One little bit at a time and before you know it you have something much more impressive.
Don’t forget that there is a repository for this project located here. Also, please remember that this repository is using placeholder (empty) assets so attempting to run the game from here is pretty pointless – you will need to follow along with all of the previous lessons first. | https://theliquidfire.com/2017/02/20/unofficial-pokemon-board-game-title-screen/ | CC-MAIN-2021-10 | refinedweb | 1,785 | 60.85 |
SalesForce Interview Questions
SalesForce Interview Questions
Q. Does user can create insert their own custom logo, while creating their own custom applications?
Yes user can upload their custom logo in documents and then they choose that logo for organization.
Q. List things that can be customized on page layouts?
We can customize different things on page layout like, Fields, Buttons, Custom Links and Related Lists. We can also create sections.
Q. What is a “Self Relationship”?”?
Record level access is determined by the parent, Mandatory on child for reference of parent, cascade delete (if you delete the parent, it can cascade delete the child).
Q.?
A Wrapper class is a class whose instances are collection of other objects.
It is used to display different objects on a Visual Force page in same table.
Q.?
Using Static Resources we can upload images, zip files, jar files, java script and CSS files that can be referred in a visual force page.
The maximum size of Static Resources for an organization is 250mB.
Q.}”/>
Q. What is sharing rule?
If we want to give the access to other users we use sharing rules.
Q..
Q. Unit testing code which has logic around the CreatedDate
You can create sObjects in memory with arbitrary CreatedDate values by using JSON.deserialize. This doesn’t enforce the normal read-only field attributes that prevent you from setting a createdDate value. However you can’t commit arbitrary CreatedDate values to the database (or else it would be a serious security issue).
An example of doing so :
String caseJSON = ‘{“attributes”:{“type”:”Case”,”url”:”/services/data/v25.0/sobjects/Case/500E0000002nH2fIAE”},
“Id”:”500E0000002nH2fIAE”,
“CreatedDate”:”2012-10-04T17:54:26.000+0000″}’;
Case c = (Case) JSON.deserialize(caseJSON, Case.class );
System.debug(c.createdDate);
Note that I built the caseJSON string by creating a test case and serializing it, which is the easiest way to get JSON similar to what you want, then you can just tweak the values.
Q. Ignoring Validation rules when deploying code
I have seen a solution that uses a Custom Setting of ValidationRuleEnabled.
ALL validation rules set up have the && $Setup.CustomSetting__c.ValidationRuleEnabled__c added.
When you want to deploy any code then the administrator changes the Custom Setting to FALSE, deploy the new code; don’t forget to re-enable the Custom Setting!
Again this is not ideal as the ‘legacy’ code should be updated to accommodate the new validation rules; ideally at the time of creating the new validation rules (but who checks code coverage after making a small change like a validation rule?)
Q. Can I find out if the current user has access to a record without querying?
To find out if a particular user has Edit access to a record, use the UserRecordAccess object. This object is available in API version 24.0 and later. You can use SOQL to query this object to find out if the user has edit access to the record in question.
SELECT RecordId, HasEditAccess FROM UserRecordAccess WHERE UserId = [single ID] AND RecordId = [single ID]
If you want to check a batch of records you can use
SELECT RecordId FROM UserRecordAccess WHERE UserId=:UserInfo.getUserId()
AND HasReadAccess = true ANDRecordId IN :allRecordIds LIMIT 200
But make sure that allRecordIds is a LIST of IDs. It doesn’t work if allRecordIds is a SET of IDs. I guess that’s a bug.
Also, only a maximum amount of 200 recordIds can be checked in one query.
Q. Detecting governor limits through apex
First of all, the exception thrown by hitting a limit, System.LimitException is uncatchable and means that your script will be killed, even if it happens inside a try/catch block. There is a class, Limits, that contains a number of static methods that allow you to check your governor limit consumption,
see:
With that said, your example of @future calls per day is one of the limits that simultaneously is and isn’t a governor limit as I believe it throws a System.AsyncException instead which is not catchable, and kills your script as a LimitException would.
Q. What is a concise function that formats a (String) decimal into a currency format in Apex?
@RickMeasham’s method is a good one, but I ran into a couple rounding issues with negative values and fractional values. Here’s my edited version of the method that passes the tests I needed it to (not rendering -0.001 as “-0.00”, not rendering -1.10 as “-1.09”).
public static String formatCurrency(Decimal i) {
if (i == null || Math.abs(i) < 0.005) return ‘$0.00’;
String s = (i.setScale(2) + (i >= 0 ? 0.001 : -0.001)).format();
return s.substring(0, s.length() – 1);
}
(EDIT: changed “<= 0.005” to “< 0.005” per @RickMeasham’s advice below.)
(EDIT 2: actually realized, when I finished tests, that this updated method still had a few shortcomings related to rounding. I updated to delegate to Math.roundToLong per code below [which uses round half even, not half up as I stated in my comments erroneously]. It now passes all my unit tests, which you can see here:)
private String formatCurrency(Decimal i) {
if (i == null) return ‘0.00’;
i = Decimal.valueOf(Math.roundToLong(i * 100)) / 100;
String s = (i.setScale(2) + (i >= 0 ? 0.001 : -0.001)).format();
return s.substring(0, s.length() – 1);
}
Q. How do you write a unit test for a trigger whose only function is to make a callout?
Both future methods and callouts can be unit tested.
To test future methods simply make your call to any future method between Test.startTest();and Test.stopTest(); statements and the future method will return when Test.stopTest(); is called. See the documentation for the Test class here: System.Test
Testing callouts is a bit trickier though. Basically in your callout code you check to see if you’re executing within a unit test context by checking Test.isRunningTest() and instead of getting your callout response from an HttpResponse.send() request, you return a pre-built test string instead. There’s one example of this method here:
There’s also an older example of callout unit testing that uses a static variable you set in your unit test. Just replace that static variable with a call to Test.isRunningTest() and their example works fairly well as well. That example can be found here:
Q. Can report data be accessed programmatically?
Update for Winter ’14
API:
I think the biggest announcement that developers have been waiting for API wise is the availability of our Analytics API. We introduced a limited pilot in summer 13 and now the Analytics REST API is generally available. The Analytics API lets you integrate Salesforce report data into your apps programmatically and has several resources that let you query metadata, and record details.
Source – Winter 14 Developer Preview
Q. How do you unit test a trigger when you don’t know the required fields?
Customers can have validation on custom fields via validation rules and triggers, so handling that in your unit tests without customer intervention is next to impossible. The first step to reducing issues is to have your test data populate all standard fields and ensure the data uses the most common formatting for your customer base (US style phone numbers and addresses for the US for example).
Beyond that you can use the new Reflection features added to Salesforce in Summer ’12 to allow customers to create unit test data classes that can be used by your managed package. Basically you define a test data generation interface and the customer creates an Apex class to generate data for you. Here’s an example of using Reflection in a similar manner on the DeveloperForce blog:
Using the method for unit tests run on install might be problematic as you’d have to have the customer create the class before they install your package and your package could only look for the class by name (or iterate through all default namespace classes and check for the correct interface). However, it’s no longer necessary for unit tests to run during installation for managed packages and by default they do not.
The Reflection method requires some coding knowledge on the customer side, but you could add a tool in your application to generate the custom unit test data class for the customer.
FYI, it’s no longer necessary for managed package unit tests to succeed in customer orgs. They’re not required on install, they will no longer prevent deployment to production and they don’t count as part of the customers unit test coverage percentage for purposes of deployment. The only exception to that is if the customer uses ANT and sets the runAllTests parameter to true.
Q. Deleting a class without IDE
This can be done with the Force.com Migration Tool:
See the full documentation here:
The tool can create or delete any meta-data that can be created through the Force.com IDE or Change Sets. It comes with a sample config file that contains example deployments for deploying objects and Apex code and deleting them as well. The documentation has a very detailed step-by-step guide here:
Q. Is there a defacto 3rd party utilities library for Apex such as Apache Commons is for Java?
Apex-lang is about as close to a Java-style library as you can get. Contains several string,.
Q. Using transient keyword to store password in hierarchy custom setting
Because your myPref property is transient the initialisation you perform in the constructor won’t round trip when the page posts back.
When I’ve used transient and a protected custom setting I use separate properties that are transient and then only work with the custom setting in the post back method.
Controller
Skip code block
public with sharing class TestCustomSettings {
// transient to ensure they are not transmitted as part of the view state
public transient String password1 {get; set;}
public transient String password2 {get; set;}
public PageReference save() {
// I’ve changed this to getInstance() rather than getValues()
TestR__c myPref = TestR__c.getInstance(UserInfo.getOrganizationId());
if(myPref == null) {
myPref = new TestR__c();
myPref.SetupOwnerId = Userinfo.getOrganizationId();
}
myPref.Password1__c = password1;
myPref.Password2__c = password2;
// Note that by using upsert you don’t need to check if the Id has been set.
upsert myPref;
}
}
Visualforce page
You can use inputSecret rather than inputField in the Visualforce page so that the browser will mask the input.
<apex:inputSecret value=”{!password1}” size=”10″/>
<apex:inputSecret value=”{!password2}” size=”10″/>
Q. Is there a way to setup continous integration for apex tests?
There are a couple of decent Dreamforce presentations here: Team Development: Possible, Probable, and Painless and Continuous Integration in the Cloud.
We ran into some issues with this in practice and there was no way to get true automation (i.e., set it and forget it). We were also setting it up with Selenium.
Here were the issues that I remember.
- Some features aren’t supported in the metadata API and cannot be moved via the ant migration. If you have any unit tests that work with those features, you have to manually work on your CI org.
- Deletions are harder to maintain. You have to manually update and apply a destructiveChanges.xml file or replicate the deletion in the CI org.
- We ran into a situation where some metadata XML files had ‘invalid’ data in them. The suggested solution was to build a post checkout script that manipulates the offending XMLs into valid XMLs. Not ideal.
- On projects, we wanted to track just our changes and push out just our changes in source control. In theory, this would allow much easier rebaselining. This would have required more manual maintenance of XML files (e.g., 2 new fields added on Account and only want to push those 2 fields not all (*) fields).
My conclusion is that it is worth doing if you can get it set up, but if you are working on shorter term projects and don’t have a decent amount of time budgeted in for it, it probably isn’t worth setting up.
Although it isn’t CI, check out. You could set it up to run every hour or something like that.
Q. What are the implications of implementing Database.Stateful?
Daniel Ballinger: No, batches do not ever run simultaneously. You are correct, however, that serialization is the culprit here.
grigriforce: what’s your batch size? If you’re doing a million records, and your batch size is 1, then you will serialize/deserialize your state 1M times. Even with a small serialized object, that’s gonna hurt.
Q. What are the recommended ways to refactor in Apex?
I use the second method. After refactoring, I select the ‘src’ folder, use File Search/Replace and all the changes are made and saved to the server in one go.
Q. What is a good set of naming conventions to use when developing on the Force.com platform?
Follow the CamelCase Java conventions, except for VF pages and components start with a lower case letter.
Triggers:
- <ObjectName>Trigger – The trigger itself. One per object.
- <ObjectName>TriggerHandler – Class that handles all functionality of the trigger
- <ObjectName>TriggerTest
Controllers:
- <ClassName>Controller
- <ClassName>ControllerExt
- <ClassName>ControllerTest
- <ClassName>ControllerExtTest
Classes:
- <ClassName>
- <ClassName>Test (These might be Util classes or Service classes or something else).
Visualforce pages and components:
- <ControllerClassName>[optionalDescription] (without the suffix Controller). There might be multiple views so could also have an extra description suffix.
Object Names and custom Fields
- Upper_Case_With_Underscores
Variables/properties/methods in Apex
- camelCaseLikeJava – more easily differentiated from fields
Test methods in test classes
- test<methodOrFunctionalityUnderTest><ShortTestCaseDesc> – For example, testSaveOpportunityRequiredFieldsMissing, testSaveOpportunityRequiredFieldsPresent, etc.
Working on something that would be used as an app or in some cases just a project? If yes, then do the following:
Prefix all custom objects, apex classes, Visualforce pages and components with an abbreviation so that they are easier to identify (e.g., easier for changesets). For example the WidgetFactory app would have the prefix wf on those. Additionally, when adding custom fields to a standard object they would also be prefixed to identify them as part of the app/package.
The main reason for the Object and Fields Names using Upper_Case_With_Underscores is that when you type in the name field or object with spaces it automatically adds the underscores. Although Apex is case insensitive, always refer to the Objects and Custom Fields in the code as Upper_Case_With_Underscores as well for consistency all around and consistency with what is generated by the SOQL schema browser and other tools. Object and Field Labels (which are generally ignored by code but visible to users) should keep spaces, not underscores.
Q. Why use Batch Apex?
A Batch class allows you to define a single job that can be broken up into manageable chunks that will be processed separately.: ‘select.
So your batch that runs against 10,000 Accounts will actually be run in 50 separate execute() transactions, each of which only has to deal with 200 Accounts. Governor limits still apply, but only to each transaction, along with a separate set of limits for the batch as a whole.
Disadvantages of batch processing:
-.
Q. Documenting Salesforce.com Apex class files
I have used apexDoc for a while and we are starting to roll it out more fully for our use at my organisation. It is open source software and so you could always contribute some updates for it
What features are you wanting to add to it that it doesn’t have (just to give a flavour)?
In answer to your questions
1) I don’t think anybody has successfully managed to do this. There is an idea of the ideas exchange for it to be done but it seems to gain very little support.
2) Theoretically it should be pretty easy as apex is a Java DSL. Have you tried running Doxygen and if so what errors does it throw up?
3) I use ApexDoc to generate some basic output and then have a little script tied in to copy across custom css and things. It isn’t perfect but it does for the small amount we need at the moment.
I believe the IDE is being open sourced at some time in which case I would imagine the antlr grammar file would become available which may help you out.
I know it is not really an answer for what you wanted to hear per se, but sadly it’s all we have atm (and I would love a nicer documentation generator!!)
Paul
Q. Workarounds for Missing Apex Time.format() Instance Method
You could just split the DateTime format() result on the first space – does that give you what you’re looking for?
public String myDateFormat(DateTime dt) {
String[] parts = dt.format().split(‘ ‘);
return (parts.size() == 3) ? (parts[1] + ‘ ‘ + parts[2]) : parts[1];
}
produces
6:38 PM
for me in English (United States), and
18:42
in French(France).
UPDATE
As tomlogic points out, the above method is not very robust – some locales may include spaces in the date or time portion of the format, and the ordering is not consistent. This second attempt assumes that the date and time are separated by zero or more spaces, but handles spaces within the two portions, and either ordering of date and time. The only assumption made is that the formatted Date is contained within the formatted Time:
public String myDateFormat(DateTime dt) {
return dt.format().replace(dt.date().format(), ”).trim();
}
Seems to work fine for Hebrew, Vietnamese & Korean, as well as English and French.
Q. Is there an average method for apex math
Unfortunately the standard math methods only include simpler operations (i.e. those that work on a single, or two values), so it looks as though you’ll have to roll your own method.
Of course the number of script statements executed will be proportional to the length of the list, so of the lists are ever of a fixed size it could be worth using a macro to generate the addition part for you:
Int sum = i[0] + i[1] + … i[n];
Doing so would only count for one statement, but you’ll only need this if governor limits are of concern which is often not a worry.
If govenor limits aren’t an issue you could create a function along these lines:
Skip code block
Integer[] myInts = new Integer[]{1, 2, 3, 4, 5, 6, 7};
Integer total = 0;
Double dAvg;
for (Integer i : myInts) {
total += i;
}
dAvg = Double.valueOf(total) / myInts.size();
return dAvg;
Q. Grammar for creating an Apex parser
Keep an eye on Apex tooling api, which is used in Developer console. This is supposed to be released to public access soon.
Q. Does ‘default value’ do anything if the object is created through Apex?
New feature coming in the next release:
Foo__c f = Foo__c.sobjecttype.newSObject(
recordTypeId, // can be null
true); // loadDefaultValues
Q. Detect the current LoggingLevel in Apex
Unfortunately, I don’t think there is a way to check the current logging level in APEX.
Q. Call Apex class method on the fly (dynamically)
While you can instantiate a class based on its name using the Type system class, you can’t dynamically locate a method and execute it. The best that you can do is to dynamically create an instance of a class that implements an interface and execute one of the methods on the interface.
There’s more information on the Type class and an example in the :
Apex Developer’s Guide
Q. SOQL – query a query
It sounds like you’re talking about using nested SOQL queries. Here’s an example of querying a parent and two child objects in one query, using the relationship name for each related list of objects:
list<Account> accswithchildren = [select Id, Name, CreatedDate,
(select Id, CreatedDate from Tasks order by CreatedDate desc limit 1),
(select Id, Service_Date__c from Custom_Object__r order by Service_Date__c desc limit 1)
from Account where Id in :setofids];
You can then loop through those Accounts in Apex, and for each one, there is a list (size 0 or 1) of Tasks and Custom_Object__c:
for (Account a : accswithchildren)
{
list<Task> theseTasks = a.Tasks;
list<Custom_Object__c> otherobjects = a.Custom_Object__r;
//do something with these records
}
Q. What’s the best way to check if person accounts are enabled via Apex Code?
I’ve found two methods to accomplish this.
Method 1
Try to access the isPersonAccount property on an Account and catch any exception that occurs if that property is missing. If an exception is generated then person accounts are disabled. Otherwise they’re enabled. To avoid making person accounts required for the package you assign the Accountobject to an sObject and use sObject.get( ‘isPersonAccount’ ) rather than accessing that property directly on the Account object.
This method takes ~3.5ms and negligible heap space in my testing.
Skip code block
// Test to see if person accounts are enabled.
public Boolean personAccountsEnabled()
{
try
{
// Try to use the isPersonAccount field.
sObject testObject = new Account();
testObject.get( ‘isPersonAccount’ );
// If we got here without an exception, return true.
return true;
}
catch( Exception ex )
{
// An exception was generated trying to access the isPersonAccount field
// so person accounts aren’t enabled; return false.
return false;
}
}
Method 2
Use the account meta-data to check to see if the isPersonAccount field exists. I think this is a more elegant method but it executes a describe call which counts towards your governor limits. It’s also slightly slower and uses a lot more heap space.
This method takes ~7ms and ~100KB of heap space in my testing.
// Check to see if person accounts are enabled.
public Boolean personAccountsEnabled()
{
// Describe the Account object to get a map of all fields
// then check to see if the map contains the field ‘isPersonAccount’
return Schema.sObjectType.Account.fields.getMap().containsKey( ‘isPersonAccount’ );
}
Q. Can’t Deploy Due to Errors in 3rd Party Packages
It was previously possible to install managed packages and Ignore APEX Test Errors this isn’t the case anymore.
Your probably going to have to uninstall them if you want to deploy from Sandbox to production, and reinstall them.
If it’s Milestones PM (the package) is you can probably get an unmanaged version to work with and fix the bugs.
UPDATE
Looks like you are using the unmanaged package. So I think if you don’t want to uninstall before going to production your going to have to fix those errors manually by fixing the code.
Unfortunately, SFDC test methods don’t live in a complete vacuum where you can run tests against your org without bumping other code, even when you go to deploy.
Q. How Can I Tell the Day of the Week of a Date?
Formulas
There isn’t a built-in function to do this for you, but you can figure it out by counting the days since a date you know. Here’s the concept: I know that June 29, 1985 was a Saturday. If I’m trying to figure out the day of the week of July 9 of that year, I subtract the dates to determine the number of days (10), and then use modular division to figure to remove all the multiples of 7. The remainder is the number of days after Saturday (1 = Sunday, 2 = Monday, etc.) and you can use that number in your logic:
MOD(DATEVALUE( Date_Field__c ) – DATE(1985,7,1),7)
Apex Code
You could do the same thing with time deltas, but you can also use the poorly documentedDateTime.format() function:
// Cast the Date variable into a DateTime
DateTime myDateTime = (DateTime) myDate;
String dayOfWeek = myDateTime.format(‘E’);
// dayOfWeek is Sun, Mon, Tue, etc.
Q.. How many relationships included in SFDC & What are they?
We are having two types of relationships, they are
Lookup Relationship
Master-Detail Relationship
Q. What is a “Lookup Relationship”?
This type of relationship links two objects together,
Up to 25 allowed for object
Parent is not a required field.
No impact on a security and access.
No impact on deletion.
Can be multiple layers deep.
Lookup field is not required.
Q..
Q. How can I create Many – to – Many relationship?
Lookup and Master detail relationships are one to many relationships. We can create many – to – Many relationship by using junction object. Junction object is a custom object with two master detail relationships.
Q.Next change the data type of the field from look up to Master detail.
Q. List examples of custom field types?
Text, Pick list, Pick list (multi select), Date, Email, Date/Time, Date, Currency, Checkbox, Number, Percent, Phone, URL, Text Area, Geolocation, lookup relationship, master detail relationship etc…..
Q. What is TAB in Salesforce?
Tab is a user interface component to user creates to display custom object data.
There are three type of tabs.
Custom Tabs
Visual force Tabs
Web Tabs
Q. What are the actions in workflow?
- Task
- Field Update
- Outbound Message
Go through the below link for the more information about workflow actions
Q. How many ways we can made field is required?
- While creation of field
- Validation rules
- Page Layout level
Q. What is difference between Role and Profile?
Role is Record level access and it is not mandatory for all users.
Profile is object level and field level access and it is mandatory for all users.
Q. What is the maximum size of the PDF generated on visualforce attribute renderAs?
15MB
Q. How many controllers can be used in a visual force page?
Salesforce come under SAAS so, we can use one controller and as many extension controllers.
Q..
Q. How many ways we can call the Apex class?
- Visual force page
- Web Service
- Triggers
Q. How to create Master Details relationship between existing records?
Directly we can’t create Master Detail relationship between existing records, first we have to create Lookup relationship and provide valid lookup fields and it shouldn’t null.
Q..
Q..
Q. How we can change the Grant access using role hierarchy for standard objects?
Not possible.
Q. What is the use of “Transfer Record” in profile?
If user have only Read access on particular record but he wants to change the owner name of that record, then in profile level Transfer Record enables he can able to change the owner.
Q. What is Field dependency?
According to the field selection on one field filter the pick list values on other field.
Q. Is check box performs like controlling field?
Yes possible. Controlling field should be Check box or pick list.
Q. How many field dependencies we can use in Visual Force page?
Maximum we can use 10 field dependencies in VF page.
Q. What is Roll-up summary?
Roll-up displays the count of child records and calculate the sum, min and max of fields of the child records.
Q. How to create Roll-up summary field on lookup relation?
Not possible. Roll-up summary is enabled for only Master –Detail relationship.
Q. What are the Record Types?
Record Types are restrict the pick list values and assign to the different page layouts for different Record Types.
Q. What is Audit Trail?
Audit Trail provides the information or track all the recent setup changes that an administrator done to the organization.
This can store the last 6 months data.
Q..
Q. What is Dashboard?
Dashboard is a pictorial representation of report. We can add up to 20 reports in single dashboard. | http://mindmajix.com/salesforce-interview-questions | CC-MAIN-2017-04 | refinedweb | 4,583 | 64.51 |
Super Bowl XXXIII
Super Bowl XXXIII was the 33rd championship game of the modern National Football League (NFL). The game was played on January 31, 1999 at Pro Player Stadium in Miami, Florida Elway became the oldest player ever to be named Super Bowl MVP. He completed 18 of 29 passes for 336 yards and one touchdown, and also scored a 3-yard rushing touchdown. Elway retired before the following season. The series premiere of Family Guy aired after the Super Bowl ended.
Background
NFL owners awarded Super Bowl XXXIII to the Miami area during their October 31, 1996 meeting in New Orleans. This was the eighth time that the area hosted the game, and the third at Pro Player Stadium.
Denver Broncos Davis, had another outstanding regular season, ranking 2nd in the NFL with 501 points and gaining 6,276 yards (3rd in the league). Davis had one of the greatest seasons of any running back in NFL history, rushing for 2,008 yards, catching 25 passes for 217 yards, and scoring 23 touchdowns to earn him both the NFL Most Valuable Player Award and the NFL Offensive Player of the Year Award. 2 Pro Bowl wide receivers and a Pro Bowl tight end to throw to. Wide Receivers Ed McCaffrey (64 receptions, 1,053 yards and 10 touchdowns) and Rod Smith (86 receptions, 1,222 yards, 6 touchdowns and 66 rushing yards) provided the team with an outstanding deep threat, while tight end Shannon Sharpe (64 receptions, 786 yards and 10 touchdowns) was considered one of the best tight ends in NFL history. The Broncos also had 3 Pro Bowlers anchoring their offensive line: center Tom Nalen, guard Mark Schlereth, and tackle Tony Jones.
The Broncos defense typically did not get as much attention as their offense, but it was still effective, giving up just 308 points (8th in the NFL). Up front, the line was anchored by defensive tackles Maa Tanuvasa and Trevor Pryce, who each recorded 8.5 sacks. Behind them, Pro Bowl linebacker Bill Romanowski was an expert in all aspects of defense, recording 55 tackles, 7.5 sacks, 3 fumble recoveries, and 2 interceptions. The defensive Falcons
The Falcons advanced to their first Super Bowl in franchise history. Like the Broncos, they finished the 1998 regular season with a 14-2 record, including wins in all of their last 9 games. But unlike the Broncos, Atlanta's success in the 1998 season was very surprising to many because they had a 7-9 record in the previous season and a 3-13 record the year before that. In fact, the team recorded just 4 winning seasons in the last 20 years prior to 1998, and only 2 in the 1990s.
However, the Falcons's NFL season, 3 years. He left Denver in 1993 and spent 4 seasons as the Giants head coach second in the league in fewest rushing yards allowed (1,203), eight in fewest total yards (5,009), and fourth in fewest points. Defensive linemen Lester Archambeau (10 sacks, 2 fumble recoveries) and Chuck Smith (8.5 sacks, 4 fumble recoveries) excelled at pressuring quarterbacks and stopping the run. Behind them, Atlanta had 2 outstanding linebackers, Pro Bowler Jessie Tuggle (65 tackles, 3 sacks, 1 fumble recovery) and Cornelius Bennett (69 tackles, 1 sack, 2 fumble recoveries). Bennett played with the Buffalo Bills when they suffered their 4 consecutive Super Bowl losses in XXV, XXVI, XXVII, and XXVIII; and thus was determined to finally get a championship ring that had eluded him in the past. Atlanta's secondary was led by Pro Bowl defensive back." [1]
Playoffs
- For more details on this topic, see NFL playoffs, 1998-99.
The Broncos defeated the Miami Dolphins, 38-3, and Super Bowl featuring a better matchup record wise was Super Bowl XIX when the San Francisco 49ers had a 17-1 record and the Miami Dolphins had a 16-2 record.
Super Bowl pregame news
Much of the pregame hype before the game).
John Elway became the first quarterback to start five Super Bowls. He previously started XXI, XXII, XXIV and XXXII. Broncos defensive lineman Mike Lodish was making his record 6th appearance in a Super Bowl. He played with Buffalo in all four of their Super Bowls XXV through XXVIII and with Denver the year before.
On the night before the Super Bowl, Falcons safety Eugene Robinson was arrested for".
Television and entertainment.
After the game, FOX aired the pilot episode of Family Guy. The game was featured in The Simpsons in the episode Sunday, Cruddy Sunday.
Pregame ceremonies
The pregame show, narrated by actress Tori Spelling, depicted the adventure of a Caribbean cruise from its festive departure to its journey to exotic destinations. The show included hard rock/heavy metal band Kiss, along with their trademark elaborate costumes and theatrical pyrotechnics.
Cher later sang.
Halftime show". Tap dancer Savion Glover appeared during Wonder's performance of "I Wish".
During halftime, USA Network aired a special edition of WWF Sunday Night Heat called Halftime Heat featuring a match between The Rock and Mankind for the WWF Championship in an Empty Arena Match. Mankind won the title, just seven days after losing it to The Rock at the Royal Rumble 1999.
Game summary
Falcons receiver Tim Dwight returned the opening kickoff 31 yards to the Atlanta 37-yard line. Then aided by a 25-yard pass interference penalty against Broncos defensive back Steve Atwater, 2 receptions by tight end Shannon Sharpe for a total of 26 net yards setup fullback Howard Griffith's 1-yard touchdown run. Unfortunately for Denver, Sharpe was injured on that drive. He did play the next drive, but was taken out after that.
Later in the quarter, Falcons defensive back Ronnie Bradford intercepted a pass from Elway (that had bounced off Shannon Sharpe) and returned it to the Broncos 35-yard line. But Denver's defense made a great stand in the opening minutes of the second quarter, tackling Atlanta running back Jamal Anderson for no gain on third down and 1, and then stopping him for a 2-yard loss on a fourth down conversion attempt. The Broncos then reached the Atlanta 8-yard line on their ensuing possession, but were forced to settle for kicker Jason Elam's 26-yard yard field goal to increase their lead, Terence Mathis. Five plays later, Griffith scored his second touchdown on the score 31-13, but the Broncos recovered Atlanta's ensuing onside kick attempt. Two plays later, a 25-yard completion from Elway to receiver Ed McCaffrey set up Elam's 37-yard yard field goal with just over 7 minutes left in the final period.
The Falcons offense advanced inside the Denver 30-yard line for the third consecutive time, and finally scored this time on a 3-yard touchdown pass from Chandler to Mathis. Mathis' touchdown made the score 34-19 (Chandler's pass on the 2-point conversion attempted was incomplete), but by then there was only 2:04 left in the game. Atlanta failed to recover the onside kick, but got the ball back on their own 30-yard line with 1:34 left after Denver failed to "go for it" on fourth down. However, Jamal Anderson fumbled at the Broncos 33-yard line, Broncos defensive back Tyrone Braxton recovered the ball, allowing Denver to run out the clock and win the game. The two teams combined for a Super Bowl record 30 fourth-quarter points, with the Broncos' 17 and Falcons' 13.
The Falcons offense gained a total of 337 yards, were not penalized once, and had driven inside Denver's 30-yard line 7 times. But Atlanta's offense could only score 13 points and lost 5 turnovers. Meanwhile, the Broncos gained a total of 457 yards and scored 34 points.
For the Broncos, Davis recorded 102 rushing yards and caught 2 passes for 50 yards. Davis' 102 rushing yards in the Super Bowl gave him over 100 rushing yards for the 7th consecutive postseason game (and he was the 3rd things. Jamal Anderson rushed for 96 yards and caught 3 passes for 16 yards. Dwight returned 5 kickoffs for 210 yards, the second most in Super Bowl history, and the highest Super Bowl career yards per return average(42.0). Falcons receiver Terance Mathis led Atlanta with 7 receptions for 85 yards. Chandler finished the game with 19 out of 35 completions for 219 yards and a touchdown, but was intercepted 3 times.
Dan Reeves became the third head coach to lose four Super Bowls, joining Don Shula and Marv Levy. Reeves lost Super Bowls XXI, XII and XXIV while with the Broncos.
Scoring summary
- ATL - FG: Morten Andersen 32 yards 3-0 ATL
- DEN - TD: Howard Griffith 1 yard run (Jason Elam kick) 7-3 DEN
- DEN - FG: Jason Elam 26 yards 10-3 DEN
- DEN - TD: Rod Smith 80 yard pass from John Elway (Jason Elam kick) 17-3 DEN
- ATL - FG: Morten Andersen 28 yards 17-6 DEN
- DEN - TD: Howard Griffith 1 yard run (Jason Elam kick) 24-6 DEN
- DEN - TD: John Elway 3 yard run (Jason Elam kick) 31-6 DEN
- ATL - TD: Tim Dwight 94 yard kickoff return (Morten Andersen kick) 31-13 DEN
- DEN - FG: Jason Elam 37 yards 34-13 DEN
- ATL - TD: Terance Mathis 3 yard pass from Chris Chandler (2-pt conv: pass failed) 34-19 DEN
Starting Lineups
Officials
- Referee: Bernie Kukar
- Umpire: Jim Daopoulos
- Head Linesman: Sanford Rivers
- Line Judge: Ron Baynes
- Field Judge: Tim Millis
- Side Judge: Gary Lane
- Back Judge: Don Hakes
- Alternate Referee: Gerald Austin
- Alternate Umpire: Chad Brown
See also
References
-)
- Sorrowful time: Falcons' Robinson gives postgame apology Last accessed December 3, 2005
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer) | http://www.answers.com/topic/super-bowl-xxxiii | crawl-001 | refinedweb | 1,649 | 65.76 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.