Saturday, January 29, 2011

Cute Quotes About Place

bond for a mini-book

The There

Who still wants to watch a couple of book pages, here are some pictures:: my mini book is
My Weimar-book from the onion market

For the bond are on the right page of a book ( image in the lower side edge) is distinguished in the holes for the - first 5 holes for stitching:


Here are the exact dimensions calculated:


The points your records as exactly how this is possible, once.
Prick then with a thick needle or needle holes rolls in the book page. Who has an eel, a paper or a very small drill holes, takes the appropriate tool.
then prick your other holes about 0.5 cm from the edge with a distance of 0.5 cm over the entire book Margin:


Now you take your needle and thread and surrounded the book page with a buttonhole stitch.
Take the length of the string 5 times the book width of the page. Prick
first from the bottom of the first hole:


and pulls the thread up through the hole:


Prick then in the second hole from below:


Pull the thread back up through the hole, so that a small loop is, by now you prick with a needle from bottom to top:


drawn to the thread :


Then you prick the bottom in the third hole:


Pull the thread through and prick bottom-up through the loop:


Pull the thread tightly:


So you work your hole Hole until the end of the row of holes in front.
reached the end, you prick then from bottom to top through the last loop on the book edge:


That you make now with all loops:


until the end of the seam, where you can tie the two ends.


Now comes the stitching - that you take as a thread length 6 times the book width of the page.
threaded according to the following pictures the thread through the holes:




entry in the page should look like:


If your pages all have surrounded, they are sewn together.
We start with the last two pages.
them over each other and with the needle prick, starting at the left, from top to bottom through the loops:

Below you see the back - about the penultimate page of the book.

tightens the thread and prick through the loops of the next buttonhole stitch:


Works so on - pull the string again and again by the following loops:


reached the end, you take you to the next page of a book, places it on the two sides sewn together and sew from right to left at the second last page of the book.


careful not to loop the bottom durchzustechen:


Here you detect a bit pattern that is created Assembly:


So you now sewn together page by page.
reached the end, place the next page on it and then sew:


I'm at the end of the spine up and down some small sewn crochet.

How To Remove Studs With A Butterfly Back



Meditation - Find inner self
HTML code:
you can find here
Please complete the Copy the code below and into the gadget HTML / JavaScript insert

Friday, January 28, 2011

Pediatricgenital Exam

Netcity

Netcity.org and other online services do the safe use of the Internet
encourage Internet use for children and adolescents is associated with many dangers. Police, Microsoft, the child protection organization Action Innocence and the Child Protection Foundation Switzerland have developed multimedia educational materials to promote media literacy.
(viewed NZZ Online)

Thursday, January 27, 2011

How Fuzzy Applied In Television

Python -> Java (POS1: 2A, 2C)

write the following Python program in Java to (add the missing headers):
 from sys import argv, stderr, stdin, stdout 

def count (inStream):
num = 0
imWort = False
sign inStream.read = (1)
eof = character == ""
while not eof:
imWort if:
if "\\ n \\ t" find (sign)> = 0.
imWort = False else
:
if "\\ n \\ t" find (sign) == -1:.
imWort = True
num = num + 1
sign inStream.read = (1)
eof = character == "" return num


if __name__ == "__main__":
outStream = stdout
if len (argv) == 1:
inStream = stdin
elif len (argv)> = 2:
inStream = open (argv [1], "r") Len
if (argv) == 3:
outStream = open (argv [2], "w") = num
count (inStream)
output = "Number =% d \\ n"% num
outStream.write (output)
What makes the program?
What can one say about the compliance program guidelines for this program (apart from the missing header)?

Aching Legs And Pelvic Pain

count of characters from a set (POS1: 2A, 2C)

Write a Java program that counts from the input (files or stdin ) the character of a set of characters. The amount of characters is given as command line argument. Further arguments are the files that are read. If only one parameter is specified, is to be read from stdin. No parameter is an error message. Case is not considered.
call examples (the main class in this example Count ):

 ~ / workspace / count / bin> java Count aeiou file1.txt file2.txt 
a -> 23
e -> 30
i -> 14
o -> 12
u -> 17
~ / workspace / count / bin> java Count
error: specify at least the amount of characters!
~ / workspace / count / bin> java-h Count
determine the frequencies of a set of characters.
call: java count [-h] character-set [files ...]
~ / workspace / count / bin> java abc
Count is the text. Example
second line.
^ D
a -> 1
b -> 1
c -> 0
~ / workspace / count / bin>
Name the project count (then Of course -class family-java-count ), the name your family name and class your class (eg proprietor 2ad straw-java-count ).

Wednesday, January 26, 2011

What Would Cause A Blister On A Dogs Butt

elternet.ch


information and tips on media education - This time from the perspective of parents. An amazingly versatile and informative platform on which it pays to browse.

Tuesday, January 25, 2011

Legs Ache In Bed Only

A template

Saturday, January 22, 2011

What Martial Arts Does Mcmap Training Come From?

Determine the top 10 words in a text (POS1: 2A, 2C)

Task 1 Write a function hauf (string) which (number of words) the 10 most common words in the string string and determines a list of tuples of the kind returns (the length of the list is <= 10). Die Liste muss so sortiert sein, dass das Häufigste Wort ganz am Anfang ist. Haben Worte die selben Häufigkeiten, so haben diese alphabetisch sortiert zu sein.




Task 2 Write a function histogram (list, length = 60) , one consisting of the passed list Histogram is generated and delivered as a string. A "line" should look like this:
 the 123 ************ 
Where the word for 14 characters, the number three characters must be provided. Behind a number of asterisks equal to the number based on the maximum (highest number in the list) and the width is equivalent to ( round (no. / * max width) ).


Task 3 Write a function main () , all of which will open on the command line specified files and determines the overall frequencies (ie hauf () with the entire text read calls) and determined with the The histogram data outputs.
If not specify any files, it should be read from stdin (up EOF).
sample call with the test data from the / default directory:
 hp @ L111 ~ / workspace / python $ python3 haufdiagramm.py testdaten.txt 
the 89 ****************** ******************************************
the 61 ***** ************************************
and 43 *********** ******************
histogram 40 ***************************
in 28 *******************
for 17 *********** ***********
is 17
the 16 ***********
the 15 ********** *********
a 14

Possible solution

I am the individual functions explain:
 import sys 
This import is needed for the command-line arguments.

following function determines the word-frequencies, the results sorted by frequency and return the first 10 elements.
 def hauf (string): 
"" "identifies the 10 most common words in 'string' and returns the list of
tuple (word, count)" ""
dict = {} for word in string.split
():
split () without parameter splits a string into a list of "words" with a "word" is a sequence of characters with no spaces, tab and newline. In other words, spaces, tabs and newlines are separators.
 word = wort.rstrip ('.,;?!")') # remove punctuation 
word = wort.lstrip ('"(') # single quote and bracket may be forward
lstrip () and rstrip () remove all characters in brackets l left or r ight . In our case, all punctuation marks, which may directly in front of a word or a word.
The two lines, you could probably also be combined into. word = wort.rstrip ('.,;?!")'). lstrip ('"(')
The first line checks whether the string actually is a word (letters only)
 if wort.isalpha (). 
if word in dict:
dict [word] + = 1 else
:
dict [word] = 1
above 4, last line first check whether the word already included in the Dictionary. If so, then the stored number is increased, if not, then this is a word a saved.
 l = list (dict.items ()) 
Creates a list of tuples (word, number) from the dictionary.
 l.sort (key = lambda x: (-x [1], x [0])) 
sort () filter a list by the natural order. The parameter key a function can be passed to sort based on their return value. The function is called with each list item. So you could write a function, each of the second element of the tuple (The list is in this case, so word of tuples of type ("number) ) returns. There will be sorted in descending order, either the value -1 are multiplied ( - [x1] ) or you must sort the sort call (reverse = True) . The name of this function, you pass it by key = sortfunktion .
This function might be: def sorting function (x): return (-x [1], x [0])
lambda x: defines an anonymous function (function without a name) with the parameter x , the same will be defined and passed on the spot can.
 l = l [00:10] l 

return from the last two lines intersect the first 10 elements of the list and give it back.
This could be done only with a statement: return l [: 10] .

 def stars (num, max, width): 
"" "returns string with as many stars as num / * max width" ""
return "*" * round (num / max * width)
given You do not need to say too much.

The following function produces the required in Task 2 histogram. To find

an appropriate scale for the required length = 60 wide, the maximum of the values is found. This must of course be the second element of the first tuple of the list, if any are tuples in the list.
 def histogram (list, length = 60): 
"" "generates histogram and returns it" ""
if len (list)> 0:
max = list [0] [1]
ret = ""
for word, number in list:
This loop goes through each tuple of the list, with the same tuple in word and number "unpacked" is.
 ret + = "%-14s% 3d% s \\ n"% (word, number, stars (number, max, width)) 
Here is each line of the string ret appended String formatting with is applied.
 return ret 

The following two functions is used only for testing with fixed strings and returns a string with specified number of words.
 def testStr (): 
"" "provides test input" ""
s = "frequency" * 50 + "for the" * 123 + "the" * 100 + "house" * 40
s + = "mouse" * 38 + "Case" * 34 + "kg" * 22 + "point" * 18
s + = "Right" * 16 + "Ten" * 10
s + = "nothing" * 5 + "23" * 50 + "fairly" * 3
s return

def test ():
"" "Test ..."""
list = hauf (testStr ())
print (histogram (list, 12.3))

This function checks whether any command line arguments are available. Are there any, then all arguments as files are opened for reading and read () read in full to the string input attached.
there is no file name on the command line, is read by sys.stdin.read input = () from standard input.
The last line calls on the two main functions, and outputs the result. It lacks
still checking if a file can be opened or even exists. This part may supplement the reader himself.
 def main (): 
"" "open file or read from stdin" ""
if len (sys.argv)> 1:
input = "" for arg in sys.argv
[1]:
f = open (arg)
input + = "" + f.read () f.close
()
else
sys.stdin.read input = ()
print (histogram (hauf (input)))


The following lines are used to calling the function main () (or test () for testing), if this script was invoked as a program.
 if __name__ == '__main__': 
# test ()
main ()

Full program (without headers)

 import sys def 

hauf (string):
"" "identifies the 10 most common words in 'string' and list of supplies
tuple (word, count) "" "
dict = {} for word in string.split
(): word =
wort.rstrip ('.,;?!")') # remove punctuation
word = wort.lstrip ('"(') # single quote and bracket may be ahead if
wort.isalpha ():
word if dict:
dict [word] + = 1 else
:
dict [word] = 1
l = list (dict.items ()) l.sort
(key = lambda x: (-x [1], x [0]))
l = l [12:10]
return l def

stars (num, max, width):
"" "returns string with as many stars as num / * max width" ""
return "*" * round (num / max * width)

def histogram (list, length = 60):
"" "generates histogram and returns it" ""
if len (list)> 0:
max = list [0] [1]
ret = "" for
word, number in list:
ret + = "%-14s% 3d% s \\ n"% (word, number, Reference (number, max, width)) return
ret

def testStr ():
"" "provides test input" ""
s = "frequency" * 50 + "for the" * 123 + "the" * 100 + "House" * 40
s + = "mouse" * 38 + "case" * 34 + "kg" * 22 + "point" * 18
s + = "Right" * 16 + "Ten" * 10 + s
= "nothing" * 5 + "23" * 50 + "fairly" * 3
s return

def test ():
"" "Test ..."""
list = hauf (testStr ()) print
(histogram (list, 12.3))

def main ():
"opens" " Reads file or stdin "" "
if len (sys.argv)> 1:
input =" "for arg
in sys.argv [1:]: open
f = (arg)
input + =" "+ f.read () f.close
()
else
sys.stdin.read input = ()
print (histogram (hauf (input)))

if __name__ == '__main__':
# test ()
main ()

Hand Gesture With Pointer And Pinkie Out

simulations for the school

http://phet.colorado.edu on the website are simulations for chemistry, physics, biology, geography available. They can be installed and then run without the Internet, but also work directly in the browser. The offers are for different levels of English, unfortunately. The simulations are, for example, to experiments to test first and then practically run.

Friday, January 14, 2011

Whose Breasts Are Bigger

Integers include (loops, sequences, functions POS1: 1BHIF)

anzzahlen.py Write a program that reads a line and this line, count how many whole numbers occur. Any character that is not a digit, is regarded as not belonging to a number.
example
input :
 that's a number 123 and have a 1 and two 3213x23123 
edition :
 found 4 numbers. 
The program should output correct sentences, that "No numbers." When in the command are not numbers or "A Number found." When a number was in the input. From 4 then, the number will be issued, for example, "found six figures."

Possible solution:
 "" "
author: Haberstroh, Harald
matnr: d09666
file: anzzahlen.py
desc: Count integer
example
this is a number 123 and another one and two 3213x23123
Issue: 4 numbers found

date: 14/01/2011
class: teachers
Catnr: 33
"" "
#---+---- a ----+- --- 2 ----+---- 3 ----+---- 4 ----+---- 5 ----+---- 6 ----+- --- 7 ----+----

def anz_zahlen (string):
"" "determines the number of integers in the string" ""
count = 0
in_zahl = False
for character in string:
sign in if "0123456789"
in_zahl if not: count + = 1

in_zahl = True else
:
in_zahl = return False def
number

output (number):
"" "is German sentence with number" ""
if number == 0:
print ("No number.") elif number == 1
:
print ("found a number. ") elif number == 2
:
print (" found two numbers ") elif number == 3
: print
(". found three numbers ")
else
print (number,".. found numbers ")

def main ():
"" "EVA Eingave processing issue - the main program" ""
string = input (">") anz_zahlen
number = (string)
issue (no.) def

test ():
"" "Testing anz_zahlen () and output ()"""
string =" anz_zahlen the number is a number 123 and another one and another 3213x23123 "
= (string)
issue (no.) (anz_zahlen ("no")) output

output (anz_zahlen ("a number 123"))
output (anz_zahlen (two 23 and 324 "))
output (anz_zahlen (" three 23 34 22 "))
output (anz_zahlen (four 234 234 234 45 ")) output
(anz_zahlen (" 5234234234 45 "))


if __name__ == '__main__':
main ()
# test ()
Note that I own here function test () 've done to be able to taste many test cases again and again slightly. Instead main () only needs to test () be called.
The program would also be without the function test () complete and correct. test () only helped in the development in troubleshooting.

Thursday, January 13, 2011

Acne Treatment Ivory Soap

examples of character by character handling, Java (POS-1: 2A, 2C )

number of strings in the input determine

Write a program that determines the number of strings in the input. Strings are any string of characters between single quote (eg a string ). Use the switch to detect strings (state "InString" when within a string, and "OutString" when no string is read).

determine the amount of numbers

Write a program that determines the number of figures in the input (integers must be separated from other entries by spaces, tabs or line breaks).

figures include

Write a Java program that calculates the number of digits in the standard input and outputs.

vowels are

Write a Java program that determines the number of vowels in the standard input and outputs.

characters, words and lines are

Write a Java program that determines the number of characters, words and lines in the standard input and outputs.

Wednesday, January 12, 2011

Cat Allergy Symptons Lasting

Java Introduction (POS1: 2A, 2C)

Write a simple Java program that prints "Hello World". Name the program Hello.java.
Use a text editor and compile the program on the command line.
Write a simple Java program that outputs the basics. What name could have the program?
 X 1 2 3 4 5 6 7 8 9 10 
1 1 2 3 4 5 6 7 8 9 10
2 2 4 6 8 10 12 14 16 18 20
3 3 6 9 12 15 18 21 24 27 30
4 4 8 12 16 20 24 28
32 36 40 5 5 10 15 20 25 30 35 40 45 50
6 6 12 18 24 30 36 42 48 54 60
7 7 14 21 28 35 42 49 56 63 70
8 8 16 24 32 40 48 56 64 72
80 9 9 18 27 36 45 54 63 72 81 90 10 10 20 30
40 50 60 70 80 90 100
you use another text editor and Java compiler on the command line.

Monday, January 10, 2011

Painless White Spot On My Tongue

TIOBE Index: Python is programming language in 2010

The Python programming language was recorded among the TIOBE index languages listed in the past year, the largest increase. The second largest increase Objective-C had for iPhone and iPad development. Objective-C was therefore a long time as a candidate for the language of 2010. Detailed information is
it here and here .