|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
| Interface Summary | |
|---|---|
| AccessControl | Interface for ACL implementations. |
| CallerInfo | Interface for caller informations. |
| RNSDB | Interface for database implementations. |
| RNSQNames | Definitions of QName for RNS service protocol. |
| Class Summary | |
|---|---|
| AccessControlNone | An implementation for rns.server.accessControlType=none |
| AccessControlSimple | An implementation for rns.server.accessControlType=simple |
| AccessControlSwitch | Switch AccessControl. |
| AccessControlVOMS | An implementation for rns.server.accessControlType=voms |
| ACL | ACL structure for Server side and Client side. |
| ExtensionService | A service implementation for extension of RNS specification. |
| ListIteratorService | A service implementation to return entries by using WS-Iterator interface. |
| RNS | A service implementation for main RNS operations. |
| RNSConfig | Definitions of server configurations. |
| RNSDBCache | A caching system for the implementations of RNSDB. |
| RNSDBDerby | An implementation to access Apache Derby database. |
| RNSDBFile | An implementation to store into local files (using ObjectOutput). |
| RNSDBMemory | An example implementation of using RNSDB interface. |
| RNSDBXML | An implementation to store into local files as XML (using XMLEncoder). |
| RNSDirectoryProperties | Structure for RNS Resource(directory) Properties. |
| RNSEntryData | Structure for a RNS entry data. |
| RNSLog | RNS server logger. |
| RNSProfiler | Measure the processing time of server operations. |
| RNSResource | RNS Resource(directory) status and operations. |
| RNSResourceHome | This implementation discovers and removes RNS resources(directories). |
| RNSVersion | Version String of this RNS implementation. |
| SearchIteratorResource | Search session (Store status of a client temporally for Search operation.) |
| SearchIteratorResourceHome | This implementation discovers and removes Search session. |
| SearchIteratorService | A service implementation to return results of Search operation by using WS-Iterator interface. |
| SearchService | A service implementation for Search operation. |
| SearchSession | Structure to store the results of Search into the Search session. |
| Enum Summary | |
|---|---|
| RNSProfiler.TYPE | Types of observation point. |
RNS server implementations and common structures.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |


Wraps a collection with a call to
inject(value)
, which returns result of combining a default value with every element of the collection.


Last week at Galaxy Zoo as part of the 100 hours of Astronomy we challenged the Zooites to do 1 million clicks in 100 hours - a big challenge. In the week before the 100 hours we'd received about 1 million clicks so although the challenge of reaching 1 million was a big one but it seemed perfectly realistic. I don't know about everyone else but I couldn't stop refreshing the Galaxy Zoo homepage to check on the latest total. In the end we reached our goal of 1 million clicks about 12:45pm on the Saturday a mere 72 hours into the challenge!
I wondered what would happen once we'd reached 1 million - would people stop classifying? Absolutely not! In the final 28 hours we added a further 450,000 clicks to the Zoonometer™ total reaching a grand total of 1.45 million clicks in 100 hours... Or did we?
As I mentioned earlier, in the week before the 100 hours challenge we'd had about 1 million clicks and so with all the extra publicity surrounding the 100 hours of Astronomy I was secretly hoping that we might get closer to 2 million clicks. It turns out we did...
When writing the code for the Zoonometer™ I had to make a few changes to the Galaxy Zoo website and API. Without really thinking I decided that rather than count the total number of clicks each time we wanted to update the Zoonometer™ (a MySQL query that takes about 6 seconds) I'd keep the total as a separate counter. Each time someone classified a galaxy I'd add 1 to the total and this way the current total could be checked very quickly and so we could update the Zoonometer™ more frequently.
What a great idea Arfon! Erm no... It turns that this was a really bad idea and here's why.
In the API we have a Project and Classification model. The Project has_many classifications and so I was keeping a counter column on the Galaxy Zoo project entry. In the code I had something like this as an after_create callback on the Classification model:
def update_counter
self.project.classification_count = self.project.classification_count + 1
self.project.save
end
Simple right? When a classification comes in, add one to the project total and keep going. I had tests, the method worked, everything looked peachy. What I didn't consider is what happens when you're getting 30-40 classifications per second. Let's consider what happens when two (or more) classifications are processed simultaneously. If the database is very busy then it's possible that in the time it takes to create the classifications, when both after_create callbacks run the classification_count column on the project is the same. That is, if both callbacks get a value of 1000 for the current project classification_count then they are both going to update to the new value of 1001. Oh dear.
So what does this mean? Well the bad news is that the Zoonometer™ was reporting the wrong total. The great news is that we didn't record 1.45 million clicks in the 100 hours of Astronomy, we actually had 2,617,570! Yes you heard me, that's:
Turns out that Zoonometer™ was a little off the mark...
So 2,617,570 not 1,450,000 clicks? Pretty impressive stuff. I knew we were busier than the Zoonometer™ was reporting, I just couldn't figure out why it wasn't counting properly! 2,617,570 is an amazing number to have reached in just 100 hours and I'd like to thank all the people who worked so hard to help us reach this total.
I'm putting this down to experience. To be honest I've never worked on a project quite so popular as Galaxy Zoo and problems like this only arise in very busy environments such as ours. When we next have to bring out the Zoonometer™ you can be assured of an accurate total!


The receiver operator characteristic (ROC) method is a fast, non-parametric alternative to the ORA and resampling methods for generating gene set scores from gene scores.
roc(scores, scoreColumn = 1, bigIsBetter = FALSE, logTrans = FALSE, annotation = NULL, aspects = c("Molecular Function", "Cellular Component", "Biological Process"), geneReplicates = c("mean", "best"), pAdjust = c("FDR", "Bonferroni"), geneSetDescription = "Latest_GO", customGeneSets = NULL, minClassSize = 20, maxClassSize = 200, output = NULL, return = TRUE)
| scores | A data.frame. Rownames have to be gene identifiers (eg. probes,
must be unique), followed by any number of columns. The column used for
scoring is chosen by |
|---|---|
| scoreColumn | Integer or character. Which column of the |
| bigIsBetter | Logical. If TRUE large scores are considered to be higher.
|
| logTrans | Logical. Should the data be -log10 transformed. Recommended for
p values. |
| annotation | Annotation. A file path, a data.frame or a platform short
name (eg. GPL127). If given a platform short name it will be downloaded
from annotation repository of Pavlidis Lab (www.chibi.ubc.ca/microannots/).
Note that if there is a file or folder with the same name as the platform
name in the directory, that file will be read instead of getting a copy from
Pavlidis Lab. If this file isn't a valid annotation file, the function will fail.
If providing a custom annotation file, see If you are providing a custom gene set, you can leave annotation as NULL |
| aspects | Character vector. Which Go aspects to include in the analysis.
Can be in long form (eg. 'Molecular Function') or short form (eg. |
| geneReplicates | What to do when genes have multiple scores in input file (due to multiple probes per gene) |
| pAdjust | Which multiple test correction method to use. Can be "FDR" or 'Westfall-Young' (slower). |
| geneSetDescription | "Latest_GO", a file path that leads to a GO XML or OBO file or a URL that leads to a go ontology file that ends with rdf-xml.gz. If you left annotation as NULL and provided customGeneSets, this argument is
not required and will default to NULL. Otherwise, by default it'll be set to
"Latest_GO" which downloads the latest available GO XML file. This option won't work
without an internet connection. To get a frozen file
that you can use later, see |
| customGeneSets | Path to a directory that contains custom gene set files, paths to custom gene set files themselves or a named list of character strings. Use this option to create your own gene sets. If you provide directory you can specify probes or gene symbols to include in your gene sets. See http://erminej.msl.ubc.ca/help/input-files/gene-sets/ for information about format for this file. If you are providing a list, only gene symbols are accepted. |
| minClassSize | minimum class size |
| maxClassSize | maximum class size |
| output | Output file name. |
| return | If results should be returned. Set to FALSE if you only want a file |
The ROC is a well-known method for evaluating rankings of items, in this case genes. The ranking in this case comes from the gene scores. A gene set will get a good ROC if many genes in the gene set are near the top of the list.
The score measured for each gene set is the area under the ROC curve, a value between 0 and 1. If the genes in the gene set are randomly distributed in the ranking, you would expect a value near 0.5. Values near 1 indicate the genes in the gene set are near the top of the list, while values near 0 indicate the genes in the gene set are near the bottom of the list. In principle both values near 0 and near 1 are statistically significant, but p-values reported by ermineJ are based on the assumption that only the top of the list is of interest (e.g., we’re not considering “under-representation analysis”).
Unlike the other methods in ermineJ other than the PRC method, the ROC uses only the ranks of the gene scores. That is, all it cares about is the ordering of items obtained by your gene scores (e.g., t-test or fold-change), but doesn’t use the information about the relative values of the scores.
P-values for this analysis are computed using algorithms described in Breslin et al., 2004*. For more information on the ROC, you could do worse than reading the Wikipedia page http://en.wikipedia.org/wiki/Receiver_operator_characteristic.
Like other non-parametric techniques, using ranks costs some statistical power, but also makes fewer assumptions. Specifically, if you think the ordering of items in your data is more accurate than the actual p-values themselves, the ROC might be appropriate. The PRC method is similar in that it uses ranks, but puts more emphasis on genes in the set which are ranked very near the top. In contrast the ROC method looks at overall trends in the rankings.
Method overview taken from: http://erminej.msl.ubc.ca/help/tutorials/running-an-analysis-correlation/


For Angular Command Line Tools is just simple as open terminal (Ctrl+Alt+T) and paste
`npm install -g @angular/cli`
this should install Angular CLI tools globally in your machine(few seconds/minutes). When
installation finish check this as type
`ng --version`
then you already see similarly thing respective to version you install if everything is went well so far, if not always is good idea to refer to vendors documentation
Angular CLI repo
And here we are ready for learn and prepare development environment with two of the latest and modern server and client
side technology.


Describe who you are, what you do and why you do it. You can also use this space as social proof (a tweet or post from a fan)
Our Core Values
Things you believe in are important to your business
Why you do what you do can be just as important as what you do. You could also use this area to list benefits of using your product.
Things you believe in are important to your business
Why you do what you do can be just as important as what you do. You could also use this area to list benefits of using your product.
Things you believe in are important to your business
Why you do what you do can be just as important as what you do. You could also use this area to list benefits of using your product.
The People that Make the Company
Add pictures of your company's employees or pictures taken at a special event.
Liked this email?
Get people to click on the thumbs up and the thumbs down to show their appreciation for this email, a question you can ask or what they think about a topic. Create landing pages for each response.


Please log any issues or feedback via the issue tracker.
JS Bin is a labour of love and completely free to make better or simply host in your own internal dev environment. Help yourself to the code over on Github.


© 2019
| laxiflorus laxiflora laxiflorum | loose flowers | |||
| laxus | lax | adj | loose, slack, relaxed | |
| i | i | cnct | connective vowel used by botanical Latin | |
| florus | flor | ppar | floreo to bloom, to flower | |
| Achillea laxiflora Pollard & Cockerell Dichanthelium laxiflorum (Lam.) Gould Euonymus laxiflorus Champ. ex Benth. | ||||
| laxifolius laxifolia laxifolium | loose leaved | |||
| laxus | lax | adj | loose, slack, relaxed | |
| i | i | cnct | connective vowel used by botanical Latin | |
| folius | foli | adj | folium leaf | |
| Selaginella laxifolia Baker Dacrydium laxifolium Hook. f. Senecio laxifolius Buchanan | ||||
| laxior laxior laxius | looser | |||
| comparative of laxus | lax | adj | loose, slack, relaxed | |
| ior | adj | comparative suffix; more so, to a greater degree; more-, -er (e.g. larger, prettier, whiter) | ||
| laxispicatus laxispicata laxispicatum | loose spikes | |||
| laxus | lax | adj | loose, slack, relaxed | |
| i | i | cnct | connective vowel used by botanical Latin | |
| spicatus | spicat | ppar | spico to grow ears, spikes (like corn) | |
| Lupinus laxispicatus Rydb. | ||||
| laxissimus laxissima laxissimum | loosest | |||
| superlative of laxus | lax | adj | loose, slack, relaxed | |
| issimus | issim | adj | superlative suffix; most so, to the greatest degree; most-, -est (e.g. largest, prettiest, whitest) | |
| Solanum laxissimum Bitter | ||||
| laxus laxa laxum | slack, loose | |||
| laxus | lax | adj | loose, slack, relaxed | |
| Anomatheca laxa (Thunb.) Goldblatt Sedum laxum (Britt.) Berger Trollius laxus Salisb. | ||||
| lectissimus lectissima lectissimum | choicest | |||
| superlative of lectus | lect | padj | selected, choice | |
| issimus | issim | adj | superlative suffix; most so, to the greatest degree; most-, -est (e.g. largest, prettiest, whitest) | |
| Porina lectissima (Fr.) Zahlbr. | ||||
| leiocarpus leiocarpa leiocarpum | smooth fruit | |||
| leios | lei | adj | λειοϛ smooth | |
| o | o | cnct | connective vowel in botanical Latin, usually for Greek words but in some cases, such as color tingeing, for Latin words | |
| carpos | carp | noun/m | καρποϛ fruit | |
| us | adj | Latinizing suffix | ||
| Agyrophora leiocarpa (DC.) Gyelnik Nephelium leiocarpum F. Muell. ex Benth., nom. illeg. Conocarpus leiocarpus DC. | ||||
| leiogynus leiogyna leiogynum | smooth pistil | |||
| leios | lei | adj | λειοϛ smooth | |
| o | o | cnct | connective vowel in botanical Latin, usually for Greek words but in some cases, such as color tingeing, for Latin words | |
| gyne | gyn | noun/f | γυνε woman, lady; wife; mistress; widow | |
| us | adj | Latinizing suffix | ||
| Persea leiogyna S. F. Blake Homalium leiogynum Blake | ||||
| leiomerus leiomera leiomerum | smooth portion | |||
| leios | lei | adj | λειοϛ smooth | |
| o | o | cnct | connective vowel in botanical Latin, usually for Greek words but in some cases, such as color tingeing, for Latin words | |
| meros | mer | noun/n | μεροϛ a part, share, lot, portion | |
| us | adj | Latinizing suffix | ||
| Erigeron leiomerus Gray | ||||
| leiophyllus leiophylla leiophyllum | smooth leaved | |||
| leios | lei | adj | λειοϛ smooth | |
| o | o | cnct | connective vowel in botanical Latin, usually for Greek words but in some cases, such as color tingeing, for Latin words | |
| phyllon | phyll | noun/n | φυλλον leaf; foliage | |
| us | adj | Latinizing suffix | ||
| Carex leiophylla Mackenzie Dasylirion leiophyllum Engelm. ex Trel. Penstemon leiophyllus Pennell | ||||
| leiospermus leiosperma leiospermum | smooth seeded | |||
| leios | lei | adj | λειοϛ smooth | |
| o | o | cnct | connective vowel in botanical Latin, usually for Greek words but in some cases, such as color tingeing, for Latin words | |
| sperma | sperm | noun/n | σπερμα seed, germ | |
| us | adj | Latinizing suffix | ||
| Strophostyles leiosperma (Torr. & A. Gray) Piper Phaseolus leiospermus Torr. & A. Gray | ||||
| lentus lenta lentum | pliable | |||
| lentus | lent | adj | pliable, flexible, tough, sticky, viscous | |
| Betula lenta L. Geranium lentum Woot. & Standl. Penstemon lentus Pennell | ||||
| leontopodius leontopodia leontopodium | edelweiss, lion's foot | |||
| leon | leont | noun/m | λεων, οντιϛ a lion | |
| o | o | cnct | connective vowel in botanical Latin, usually for Greek words but in some cases, such as color tingeing, for Latin words | |
| podion | podi | noun/n | ποδιον little foot, from 'pous': foot | |
| us | adj | Latinizing suffix | ||
| Leucogenes leontopodium (Hook. f.) Beauverd |


In today's networked world, many applications need security, and cryptography is one of the primary tools for providing that security. The primary goals of cryptography, data confidentiality, data integrity, authentication, and non-repudiation (accountability) can be used to thwart numerous types of network-based attacks, including eavesdropping, IP spoofing, connection hijacking, and tampering.
准备工作
Basic:
TODO:
DES Core
Padding
Concept
TODO: 这里还缺少使用RSA算法进行Signature的内容


Alexander-Arnold: Liverpool ready for anything in bid for title
Trent Alexander-Arnold has claimed Liverpool’s “team spirit” and “resilience” saw them through against Crystal Palace, and insists the Reds are up for the fight this season.
Jurgen Klopp’s side have won 12 of their opening 13 league matches, with their battling spirit typified in Saturday’s 2-1 victory over Crystal Palace, in which they responded to their hosts’ late equaliser by grabbing an even later winner through Roberto Firmino.
“We have been showing that throughout the course of the season and even last season we showed how much of a good team spirit we have got and resilience,” Alexander-Arnold told the club’s official website.
“We had a setback with their goal and we bounced back pretty much straight away. We showed our quality and went up the other end and scored.
“That’s what good teams do, find a way to win, and that’s what we have done.
“The first game back after an international break is always difficult because you go away, you play a different style and then you have to try to come back in,” he said.
“You’ve got players travelling all over the world and obviously a bit of jetlag in there but, again, we’ve come back to have a few days of training and we’ve performed not at our best but we’ve got the win.
“It was a tough game and this is always one of the toughest places to come, Selhurst Park, with the crowd right on top of you it’s going to be a really tough game.
“They’ve got some really good players and it’s always, for some reason, really difficult coming here so we’ve done well to get the win. We knew it meant a lot so hopefully we’ll be able to keep going and use this as momentum.”
Liverpool lead the Premier League table by eight points over second-placed Leicester and nine over defending champions Manchester City.


RON97 goes up by one sen, RON95 and diesel prices unchanged
by BernamaKUALA LUMPUR (Nov 8): The retail price of RON97 petrol will rise by one sen to RM2.57 per litre, while RON95 and diesel will be maintained at RM2.08 and RM2.18 per litre respectively, from Nov 9 to 15.
In a statement today, the Finance Ministry said while calculations based on the Automatic Pricing Mechanism (APM) should also increase RON95 petrol and diesel prices to RM2.27 and RM2.28 per litre respectively for the same period, the government had decided to maintain existing prices to stabilise the retail price of petroleum and to provide for the economic wellbeing of Malaysians.
Government subsidies which are enabling the maintenance of existing prices for RON95 petrol and diesel, total RM79.39 million, for the Nov 9 to 15 period.


zozi
Businessmodel of ZOZI
Customer Segments
Zozi’s two-pronged business model targets different customer segments. Its direct consumer-facing website serves general consumers that are seeking new activities, events and excursions in which to take part.
The Company’s offerings cater to a wide range of interests – including adventure trips, extreme sports, food and drink experiences, classes, spa breaks and sightseeing tours – with products appropriate for all ages and at a variety of differing price points.
While the Company provides access to experiences across the world, its principal market remains the US, which accounts for the vast majority of the Company’s website traffic.
Zozi’s business software solutions serve a number of small and medium-sized local tour operators, event organisers, equipment rental providers and activity centres.
Value Propositions
Zozi’s principal value to consumers is that it allows them to browse and book a broad variety of activities and experiences across a range of locations, both local and international, from one single place. The website’s searchable catalogue is easy to access and navigate, and provides access to deals that are not available elsewhere, through its network of supplier partners.
Zozi also sets itself apart from competitors by offering high-end experiences and insights provided by experts, including extreme sports practitioners and explorers, through its Zozi Gurus program.
For business customers, Zozi’s greatest value is its software, which enables tour companies to manage online reservations, rentals and payments from one platform.
The platform is accessible via desktop and mobile browsers and through mobile apps, allowing customers to manage its bookings from anywhere.
Channels
The Zozi marketplace can be accessed by consumers through its mobile and desktop websites at www.zozi.com, where users can make bookings and reservations. The Company’s catalogue of tours and experiences can also be accessed via its network of affiliate partners, which account for much of the Zozi website’s traffic.
Zozi’s business software can be purchased and accessed through the Company website. Zozi also provides iOS and Android apps that enable its business customers to view bookings and rentals and accept online payments.
Customer Relationships
Zozi’s online marketplace operates on a self-service basis, providing a fully searchable catalogue of tours and experiences, categorised by location, style, and social group Consumers are able to make purchases and bookings through the website directly, with no interaction with Zozi representatives. Consumers also have access to reviews and advice contributed by members of the Zozi Guru team, which comprises extreme sports practitioners, explorers and photographers.
Business customers are able to organise software trials and demos through the Zozi website, with sales being completed via the Company’s sales team. Zozi’s business customers receive support through the website’s Help Centre, which includes common questions, user tutorials and troubleshooting guides. Zozi also hosts a blog through which it publishes business tips for tour, operators and event organisers.
Both consumer and business customers can stay up to date with Zozi’s activities through its Facebook, Twitter and Instagram accounts.
Key Activities
Zozi provides online reservation, payment, and customer management software solutions to tour and activity businesses, primarily across the US but also internationally, and operates an online marketplace of tours, activities and experiences.
The Company’s flagship Zozi Advance software product serves as a full-service online booking system, allowing tour operators to manage their schedules, reservations, rentals and online payments from one place, with mobile access to the system available via its iOS and Android apps.
Its backend software also enables customers to manage inventory and customer communications and a mobile application to run business on the go and take mobile payments.
The Company also manages an affiliate marketing network and provides reviews and advice through its team of Zozi Gurus.
Key Partners
Zozi’s key partners are its tour and experience suppliers, social media applications, affiliates and technology companies. The Company’s consumer-facing marketplace sells tours, experiences and access to attractions provided by a network of suppliers, primarily comprising local or regional tour operators, travel agencies, museums, activity centres, event organisers, workshops, restaurants and bars. This includes local operators around the US and abroad, including Xperience Adventures, Urban Adventures, Discover Hawaii Tours, Getaway Halong Spa, Ecuador Pure Life and Dot Red.
Zozi also operates an affiliate marketing program, through which affiliate partners can earn commissions through referrals. It has in particular worked closely with affiliate marketing agency Clique. The Company has also partnered with location-based search and discovery platform Foursquare and group messaging application GroupMe, with which it has integrated functionality. F
oursquare now makes Zozi local daily deals viewable through its app, and GroupMe has collaborated with Zozi through its GroupMe Experiences program which offers deals on local events.
Key Resources
Zozi’s key resources are its software products, its IT infrastructure, its supplier partners and its personnel.
The Company’s consumer revenue model depends on the quality of its catalogue and the discounts offered by its suppliers, while the Company’s business revenue depends on the reliability and efficiency of its software.
Cost Structure
Zozi’s principal costs relate to the development of its software products, maintenance of its IT infrastructure and retention of its personnel.
The Company must also pay commissions to its affiliate marketing partners which drive much of the Zozi website’s traffic, and pay rental and utility fees for its offices in San Francisco, New York and Chicago.
Revenue Streams
Zozi generates revenue through the sale of software products and services to businesses and via the sale of activities and tours directly to consumers. This revenue is estimated to be as much as $117 million per year.
The Company’s flagship Zozi Advance platform, which enables customers to manage their business’ booking system, communications and online payments from one place, is available on a subscription basis starting at $39 per month. Zozi also takes a 10% commission on sales made through its online tour and activity marketplace.
Previously, the Company generated additional revenue through the sale of travel and adventure equipment and clothing, it, however, appears to have discontinue this revenue stream.


{% extends "base.html" %} {% comment %} Copyright 2010 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% endcomment %} {% load i18n %} {% block content %}
By unmarking this note as spam, you will make it visible by default.
{% else %}By marking this note as spam, you will make it hidden by default. It will still be a part of the record, but will require an extra click to view the contents of the note. Users will also be able to remove the spam mark from this note.
{% endif %}


Please enter your name (50 characters or fewer. Letters only)
Please enter your preferred sport (50 characters or fewer. Letters only)
Please enter your school
Please enter a valid email
Please enter a valid phone number (digits only)
{{ passwordStrength }}
Enter password (30 characters or more)
Password Mismatch


| I l@ve RuBoard |
7.4 DialogsDialogs are windows popped up by a script to provide or request additional information. They come in two flavors, modal and nonmodal:
Regardless of their modality, dialogs are generally implemented with the Toplevel window object we met in the prior section, whether you make the Toplevel or not. There are essentially three ways to present pop-up dialogs to users with Tkinter: by using common dialog calls, by using the now-dated Dialog object, and by creating custom dialog windows with Toplevels and other kinds of widgets. Let's explore the basics of all three schemes. 7.4.1 Standard (Common) DialogsBecause standard dialog calls are simpler, let's start here first. Tkinter comes with a collection of precoded dialog windows that implement many of the most common pop-ups programs generate -- file selection dialogs, error and warning pop-ups, and question and answer prompts. They are called standard dialogs (and sometimes "common" dialogs), because they are part of the Tkinter library, and use platform-specific library calls to look like they should on each platform. A Tkinter file open dialog, for instance, looks like any other on Windows. All standard dialog calls are modal (they don't return until the dialog box is dismissed by the user), and block the program's main window while displayed. Scripts can customize these dialogs' windows by passing message text, titles, and the like. Since they are so simple to use, let's jump right into Example 7-6. Example 7-6. PP2E\Gui\Tour\dlg1.pywfrom Tkinter import * from tkMessageBox import * def callback(): if askyesno('Verify', 'Do you really want to quit?'): showwarning('Yes', 'Quit not yet implemented') else: showinfo('No', 'Quit has been cancelled') errmsg = 'Sorry, no Spam allowed!' Button(text='Quit', command=callback).pack(fill=X) Button(text='Spam', command=(lambda: showerror('Spam', errmsg))).pack(fill=X) mainloop() A lambda anonymous function is used here to wrap the call to showerror, so that it is passed two hardcoded arguments (remember, button press callbacks get no arguments from Tkinter itself). When run, this script creates the main window in Figure 7-5. Figure 7-5. dlg1 main window: buttons to trigger pop-upsPressing this window's Quit button pops up the dialog in Figure 7-6, by calling the standard askyesno function in the tkmessagebox module. This looks different on Unix and Macintosh, but looks like you'd expect when run on Windows. This dialog blocks the program until the user clicks one of its buttons; if the dialog's Yes button is clicked (or the Enter key is pressed), the dialog call returns with a true value and the script pops up the standard dialog in Figure 7-7 by calling showwarning. Figure 7-6. dlg1 askyesno dialog (Windows)Figure 7-7. dlg1 showwarning dialogThere is nothing the user can do with Figure 7-7's dialog but press OK. If No is clicked in Figure 7-6's quit verification dialog, a showinfo call makes the pop-up in Figure 7-8 instead. Finally, if the Spam button is clicked in the main window, the standard dialog captured in Figure 7-9 is generated with the standard showerror call. Figure 7-8. dlg1 showinfo dialogFigure 7-9. dlg1 showerror dialogThis all makes for a lot of window pop-ups, of course, and you need to be careful not to rely on these dialogs too much (it's generally better to use input fields in long-lived windows, than to distract the user with pop-ups). But where appropriate, such pop-ups save coding time and provide a nice native look-and-feel. <IP_ADDRESS> A "smart" and reusable quit buttonLet's put some of these canned dialogs to better use. Example 7-7 implements an attachable Quit button that uses standard dialogs to verify the quit request. Because it's a class, it can be attached and reused in any application that needs a verifying Quit button. Because it uses standard dialogs, it looks as it should on each GUI platform. Example 7-7. PP2E\Gui\Tour\quitter.py############################################# # a quit button that verifies exit requests; # to reuse, attach an instance to other guis ############################################# from Tkinter import * # get widget classes from tkMessageBox import askokcancel # get canned std dialog class Quitter(Frame): # subclass our GUI def __init__(self, parent=None): # constructor method Frame.__init__(self, parent) self.pack() widget = Button(self, text='Quit', command=self.quit) widget.pack(side=LEFT) def quit(self): ans = askokcancel('Verify exit', "Really quit?") if ans: Frame.quit(self) if __name__ == '__main__': Quitter().mainloop() This module is mostly meant to be used elsewhere, but puts up the button it implements when run standalone. Figure 7-10 shows the Quit button itself in the upper left, and the askokcancel verification dialog popped up when Quit is pressed. Figure 7-10. Quitter, with askokcancel dialogIf you press OK here, Quitter runs the Frame quit method to end the GUI to which this button is attached (really, the mainloop call). But to really understand how such a spring-loaded button can be useful, we need to move on to study a client GUI in the next section. <IP_ADDRESS> A dialog demo launcher barSo far, we've seen a handful of standard dialogs, but there quite a few more. But rather than just throwing these up in dull screen shots, let's write a Python demo script to generate them on demand. Here's one way to do it. First of all, in Example 7-8 we write a module to define a table that maps a demo name to a standard dialog call (and use lambda to wrap the call if we need to pass extra arguments to the dialog function). Example 7-8. PP2E\Gui\Tour\dialogTable.py# define a name:callback demos table from tkFileDialog import askopenfilename # get standard dialogs from tkColorChooser import askcolor # they live in Lib/lib-tk from tkMessageBox import askquestion, showerror from tkSimpleDialog import askfloat demos = { 'Open': askopenfilename, 'Color': askcolor, 'Query': lambda: askquestion('Warning', 'You typed "rm *"\nConfirm?'), 'Error': lambda: showerror('Error!', "He's dead, Jim"), 'Input': lambda: askfloat('Entry', 'Enter credit card number') } I put this table in a module so that it might be reused as the basis of other demo scripts later (dialogs are more fun than printing to stdout). Next, we'll write a Python script, Example 7-9, that simply generates buttons for all of this table's entries -- use its keys as button labels, and its values as button callback handlers. Example 7-9. PP2E\Gui\Tour\demoDlg.pyfrom Tkinter import * # get base widget set from dialogTable import demos # button callback handlers from quitter import Quitter # attach a quit object to me class Demo(Frame): def __init__(self, parent=None): Frame.__init__(self, parent) self.pack() Label(self, text="Basic demos").pack() for (key, value) in demos.items(): Button(self, text=key, command=value).pack(side=TOP, fill=BOTH) Quitter(self).pack(side=TOP, fill=BOTH) if __name__ == '__main__': Demo().mainloop() This script creates the window shown in Figure 7-11 when run as a standalone program; it's a bar of demo buttons, that simply route control back to the values of the table in module dialogTable when pressed. Figure 7-11. demoDlg main windowNotice that because this script is driven by the contents of the dialogTable module's dictionary, we can change the set of demo buttons displayed by changing just dialogTable (we don't need to change any executable code in demoDlg). Also note that the Quit button here is an attached instance of the Quitter class of the prior section -- it's at least one bit of code that you never have to write again. We've already seen some of the dialogs triggered by this demo bar window's other buttons, so I'll just step through the new ones here. Pressing the main window's Query button, for example, generates the standard pop-up in Figure 7-12. Figure 7-12. demoDlg query, askquestion dialogThis askquestion dialog looks like the askyesno we saw earlier, but actually returns either string "yes" or "no" (askyesno and askokcancel return 1 or 0, true or false). Pressing the demo bar's Input button generates the standard askfloat dialog box shown in Figure 7-13. Figure 7-13. demoDlg input, askfloat dialogThis dialog automatically checks the input for valid floating-point syntax before it returns, and is representative of a collection of single-value input dialogs (askinteger and askstring prompt for integer and string inputs too). It returns the input as a floating-point number object (not a string) on the OK button and enter key presses, or the Python None object if the user clicks Cancel. Its two relatives return the input as integer and string objects instead. When the demo bar's Open button is pressed, we get the standard file open dialog made by calling askopenfilename, and captured in Figure 7-14. This is Windows look-and-feel; it looks radically different on Linux, but appropriately so. Figure 7-14. demoDlg open, askopenfilename dialogA similar dialog for selecting a save-as filename is produced by calling asksaveasfilename (see the Text widget section under Section 8.4 in Chapter 8 for an example). Both file dialogs let the user navigate through the filesystem to select a subject filename, returned with its full directory pathname when Open is pressed; an empty string comes back if Cancel is pressed instead. Both also have additional protocols not demonstrated by this example:
We'll use most of these interfaces later in the book, especially for the file dialogs in the PyEdit example in Chapter 9 (but feel free to flip ahead for more details now). Finally, the demo bar's Color button triggers a standard askcolor call, which generates the standard color selection dialog shown in Figure 7-15. Figure 7-15. demoDlg color, askcolor dialogIf you press its OK button it returns a data structure the identifies the selected color, which can be used in all color contexts in Tkinter. It includes RGB values and a hexadecimal color string (e.g., ((160, 160, 160), '#a0a0a0')). More on how this tuple can be useful in a moment. If you press Cancel, the script gets back a tuple containing two nones (Nones of the Python variety, that is). <IP_ADDRESS> Printing dialog results (and passing callback data with lambdas)The dialog demo launcher bar displays standard dialogs, and can be made to display others by simply changing the dialogTable module it imports. As coded, though, it really only shows dialogs; it would also be nice to see their return values so we know how to use them in scripts. Example 7-10 adds printing of standard dialog results to the stdout standard output stream. Example 7-10. PP2E\Gui\Tour\demoDlg-print.py#################################################### # same, but show returns values of dialog calls; # the lambda saves data from the local scope to be # passed to the handler (button handlers normally # get no args) and works like this def statement: # def func(self=self, name=key): self.printit(name) #################################################### from Tkinter import * # get base widget set from dialogTable import demos # button callback handlers from quitter import Quitter # attach a quit object to me class Demo(Frame): def __init__(self, parent=None): Frame.__init__(self, parent) self.pack() Label(self, text="Basic demos").pack() for (key, value) in demos.items(): func = (lambda self=self, name=key: self.printit(name)) Button(self, text=key, command=func).pack(side=TOP, fill=BOTH) Quitter(self).pack(side=TOP, fill=BOTH) def printit(self, name): print name, 'returns =>', demos[name]() # fetch, call, print if __name__ == '__main__': Demo().mainloop() This script builds the same main button-bar window, but notice that the callback handler is an anonymous function made with a lambda now, not a direct reference to dialog calls in the imported dialogTable dictionary: func = (lambda self=self, name=key: self.printit(name)) This is the first time we've actually used lambda like this, so let's get the facts straight. Because button press callbacks are run with no arguments, if we need to pass extra data to the handler it must be wrapped in an object that remembers that extra data and passes it along. Here, a button press runs the function generated by the lambda -- an indirect call layer that retains information from the enclosing scope by assigning it to default arguments. The net effect is that the real handler, printit, receives an extra name argument giving the demo associated with the button pressed, even though this argument wasn't passed back from Tkinter itself. Notice, though, that this lambda assigns both self and key to defaults, to retain them for use on callbacks. Like all functions, lambda results only have access to their local scope, the enclosing global module scope, and the built-in names scope -- not the local scope of the method function that created them, and that is where name self really lives. Because bound methods remember both a self object and a method function, this lambda could also be written like this: func = (lambda handler=self.printit, name=key: handler(name)) You can also use a callable class object here that retains state as instance attributes (see the tutorial's __call__ example in Chapter 6 for hints). But as a rule of thumb, if you want a lambda's result to use any names from the enclosing scope when later called, simply pass them in as defaults. When run, this script prints dialog return values; here is the output after clicking all the demos buttons in the main window, and picking both Cancel/No and OK/Yes buttons in each dialog: C:\...\PP2E\Gui\Tour>python demoDlg-print.py Error returns => ok Input returns => None Input returns => 3.14159 Open returns => Open returns => C:/PP2ndEd/examples/PP2E/Gui/Tour/demoDlg-print.py Query returns => no Query returns => yes Color returns => (None, None) Color returns => ((160, 160, 160), '#a0a0a0') Now that I've shown you these dialog results, I want to next show you how one of them can actually be useful. <IP_ADDRESS> Letting users select colors on the flyThe standard color selection dialog isn't just another pretty face -- scripts can pass the hexadecimal color string it returns to the bg and fg widget color configuration options we met earlier. That is, bg and fg accept both a color name (e.g., "blue") and an askcolor result strings that starts with a # (e.g., the #a0a0a0 in the last output line of the prior section). This adds another dimension of customization to Tkinter GUIs: Rather than hard-coding colors in your GUI products, you can provide a button that pops up color selectors that let users choose color preferences on the fly. Simply pass the color string to widget config methods in callback handlers, as in Example 7-11. Example 7-11. PP2E\Gui\Tour\setcolor.pyfrom Tkinter import * from tkColorChooser import askcolor def setBgColor(): (triple, hexstr) = askcolor() if hexstr: print hexstr push.config(bg=hexstr) root = Tk() push = Button(root, text='Set Background Color', command=setBgColor) push.config(height=3, font=('times', 20, 'bold')) push.pack(expand=YES, fill=BOTH) root.mainloop() This script makes the window in Figure 7-16 when launched (its button's background is a sort of green, but you'll have to trust me on this).  Figure 7-16. setcolor main windowColor strings are also printed to the stdout stream (the console window); run this on your computer to experiment with available color settings: C:\...\PP2E\Gui\Tour>python setcolor.py #c27cc5 #5fe28c #69d8cd <IP_ADDRESS> Other standard dialog callsWe've seen most of the standard dialogs and will use these pop-ups in examples throughout the rest of this book. But for more details on other calls and options available, either consult other Tkinter documentation, or browse the source code of the modules used at the top of the dialogTable module; all are simple Python files installed in the lib-tk subdirectory of the Python source library on your machine. And keep this demo bar example filed away for future reference; we'll reuse it later in the tour when we meet other button-like widgets. 7.4.2 The Old-Style Dialog ModuleIn older Python code, you may see dialogs occasionally coded with the standard Dialog module. This is a bit dated now, and uses an X Windows look-and-feel; but just in case you run across such code in your Python maintenance excursions, Example 7-12 gives you a feel for the interface. Example 7-12. PP2E\Gui\Tour\dlg-old.pyfrom Tkinter import * from Dialog import Dialog class OldDialogDemo(Frame): def __init__(self, master=None): Frame.__init__(self, master) Pack.config(self) # same as self.pack() Button(self, text='Pop1', command=self.dialog1).pack() Button(self, text='Pop2', command=self.dialog2).pack() def dialog1(self): ans = Dialog(self, title = 'Popup Fun!', text = 'An example of a popup-dialog ' 'box, using older "Dialog.py".', bitmap = 'questhead', default = 0, strings = ('Yes', 'No', 'Cancel')) if ans.num == 0: self.dialog2() def dialog2(self): Dialog(self, title = 'HAL-9000', text = "I'm afraid I can't let you do that, Dave...", bitmap = 'hourglass', default = 0, strings = ('spam', 'SPAM')) if __name__ == '__main__': OldDialogDemo().mainloop() You supply Dialog a tuple of button labels and a message, and get back the index of the button pressed (the leftmost is index zero). Dialog windows are modal: the rest of the application's windows are disabled until the Dialog receives a response from the user. When you press the Pop2 button in the main window created by this script, the second dialog pops up, as shown in Figure 7-17. Figure 7-17. Old-style dialogThis is running on Windows, and as you can see, is nothing like what you would expect on that platform for a question dialog. In fact, this dialog generates an X Windows look-and-feel, regardless of the underlying platform. Because of both Dialog's appearance and the extra complexity required to program it, you are probably better off using the standard dialog calls of the prior section instead. 7.4.3 Custom DialogsThe dialogs we've seen so far all have a standard appearance and interaction. They are fine for many purposes, but often we need something a bit more custom. For example, forms that request multiple field inputs (e.g., name, age, shoe size) aren't directly addressed by the common dialog library. We could pop-up one single-input dialog in turn for each requested field, but that isn't exactly user-friendly. Custom dialogs support arbitrary interfaces, but they are also the most complicated to program. Even so, there's not much to it -- simply create a pop-up window as a Toplevel with attached widgets, and arrange a callback handler to fetch user inputs entered in the dialog (if any) and destroy the window. To make such a custom dialog modal, we also need to wait for a reply, by giving the window input focus, making other windows inactive, and waiting for an event. Example 7-13 illustrates the basics. Example 7-13. PP2E\Gui\Tour\dlg-custom.pyimport sys from Tkinter import * makemodal = (len(sys.argv) > 1) def dialog(): win = Toplevel() # make a new window Label(win, text='Hard drive reformatted!').pack() # add a few widgets Button(win, text='OK', command=win.destroy).pack() # set destroy callback if makemodal: win.focus_set() # take over input focus, win.grab_set() # disable other windows while I'm open, win.wait_window() # and wait here until win destroyed print 'dialog exit' # else returns right away root = Tk() Button(root, text='popup', command=dialog).pack() root.mainloop() This script is set up to create a pop-up dialog window in either modal or nonmodal mode, depending on its makemodal global variable. If it is run with no command-line arguments, it picks nonmodal style, captured in Figure 7-18. Figure 7-18. Nonmodal custom dialogs at workThe window in the upper right is the root window here; pressing its "popup" button creates a new pop-up dialog window. Because dialogs are nonmodal in this mode, the root window remains active after a dialog is popped up. In fact, nonmodal dialogs never block other windows, so you can keep pressing the root's button to generate as many copies of the pop-up window as will fit on your screen. Any or all of the pop-ups can be killed by pressing their OK buttons, without killing other windows in this display. <IP_ADDRESS> Making custom dialogs modalNow, when the script is run with a command-line argument (e.g., python dlg-custom.py 1), it makes its pop-ups modal instead. Because modal dialogs grab all of the interface's attention, the main window becomes inactive in this mode until the pop-up is killed; you can't even click on it to reactivate it while the dialog is open. Because of that, you can never make more than one copy of the pop-up on screen at once, as shown in Figure 7-19. Figure 7-19. A modal custom dialog at workIn fact, the call to the dialog function in this script doesn't return until the dialog window on the left is dismissed by pressing its OK button. The net effect is that modal dialogs impose a function call-like model on an otherwise event-driven programming model -- user inputs can be processed right away, not in a callback handler triggered at some arbitrary point in the future. Forcing such a linear control flow on a GUI takes a bit of extra work, though. The secret to locking other windows and waiting for a reply boils down to three lines of code, which are a general pattern repeated in most custom modal dialogs:
Because the script waits for a window destroy event, it must also arrange for a callback handler to destroy the window in response to interaction with widgets in the dialog window (the only window active). This example's dialog is simply informational, so its OK button calls the window's destroy method. In user-input dialogs, we might instead install an Enter key-press callback handler that fetches data typed into an Entry widget, and then calls destroy (see later in this chapter). <IP_ADDRESS> Other ways to be modalModal dialogs are typically implemented by waiting for a newly created pop-up window's destroy event, as in this example. But other schemes are viable too. For example, it's possible to create dialog windows ahead of time, and show and hide them as needed with the top-level window's deiconify and withdraw methods (see the alarm scripts in Chapter 8 under Section 8.7 for details). Given that window creation speed is generally fast enough as to appear instantaneous today, this is much less common than making and destroying a window from scratch on each interaction. It's also possible to implement a modal state by waiting for a Tkinter variable to change its value, instead of waiting for a window to be destroyed. See this chapter's discussion of Tkinter variables (which are class objects, not normal Python variables) and the wait_variable method discussed near the end of Chapter 8 for more details. This scheme allows a long-lived dialog box's callback handler to signal a state change to a waiting main program, without having to destroy the dialog box. Finally, if you call the mainloop method recursively, the call won't return until the widget quit method has been invoked. The quit method terminates a mainloop call, and so normally ends a GUI program. But it will simply exit a recursive mainloop level if one is active. Because of this, modal dialogs can also be written without wait method calls if you are careful. For instance, Example 7-14 works the same as dlg-custom. Example 7-14. PP2E\Gui\Tour\dlg-recursive.pyfrom Tkinter import * def dialog(): win = Toplevel() # make a new window Label(win, text='Hard drive reformatted!').pack() # add a few widgets Button(win, text='OK', command=win.quit).pack() # set quit callback win.protocol('WM_DELETE_WINDOW', win.quit) # quit on wm close too! win.focus_set() # take over input focus, win.grab_set() # disable other windows while I'm open, win.mainloop() # and start a nested event loop to wait win.destroy() print 'dialog exit' root = Tk() Button(root, text='popup', command=dialog).pack() root.mainloop() If you go this route, be sure to call quit instead of destroy in dialog callback handlers (destroy doesn't terminate the mainloop level), and be sure to use protocol to make the window border close button call quit too (or else it doesn't end the recursive mainloop level call, and will generate odd error messages when your program finally exits). Because of this extra complexity, you're probably better off using wait_window or wait_variable, not recursive mainloop calls. We'll see how to build form-like dialogs with labels and input fields later in this chapter when we meet Entry, and again when we study the grid manager in Chapter 8. For more custom dialog examples, see ShellGui (Chapter 9), PyMailGui (Chapter 11), PyCalc (Chapter 18), and the nonmodal form.py (Chapter 10). Here, we're moving on to learn more about events that will prove to be useful currency at later tour destinations. |
| I l@ve RuBoard |


Why don't presidents fight the war?
Why do they always send the poor?
Why don't presidents fight the war?
Why do they always send the poor?
Why do they always send the poor?
Why do they always send the poor?
Why do they always send the poor?

Why don't presidents fight the war?
Why do they always send the poor?
Why don't presidents fight the war?
Why do they always send the poor?
Why do they always send the poor?
Why do they always send the poor?
Why do they always send the poor?
They always send the poor
They always send the poor
Compositor: System Of A Down
©Copyright 2019


Covariant Kernels¶
-
flare.kernels.
three_body_force_en_jit
(bond_array_1, bond_array_2, cross_bond_inds_1, cross_bond_inds_2, cross_bond_dists_1, cross_bond_dists_2, triplets_1, triplets_2, d1, sig, ls, r_cut, cutoff_func)¶ Kernel for 3-body force/energy comparisons.
-
flare.kernels.
three_body_grad_jit
(bond_array_1, bond_array_2, cross_bond_inds_1, cross_bond_inds_2, cross_bond_dists_1, cross_bond_dists_2, triplets_1, triplets_2, d1, d2, sig, ls, r_cut, cutoff_func)¶ Kernel gradient for 3-body force comparisons.


{% extends "base.html" %} {% load i18n %} {% block content %} {% blocktrans %}
You have been almost registered to
Check your email for a confirmation email in which you can find an confirmation link you have to lookup in your browser to make your registration work. Your current votes have been saved to you profile.
{% endblocktrans %} {% endblock %}


<< back to Test Bench
Gesture Set 1: Implemented unistroke gestures from Graffiti
Gesture Set 2: Multistroke gestures
Gesture Set 3: Multitouch gestures
Gesture Set 4: Object oriented gestures
+ with TAP on an object you can switch its color back to light blue after selecting them with a lasso gesture


This htpasswd password encryption applet is written in JavaScript, so the entire process runs within your browser. Nothing is transmitted to any server, we take your privacy and security serious.
This htpasswd password encryption applet is written in JavaScript, so the entire process runs within your browser. Nothing is transmitted to any server, we take your privacy and security serious.


The UCD Ad Astra Academy is a scholarship programme in UCD that aims to recognise the talents of “exceptional students” in the areas of academia, sports and performing arts.
I was awarded a place in the UCD Ad Astra Academic Programme on the basis of my exam results when I left school. I have retained my place in the Ad Astra Academy every year since then based on my academic achievements in university.
The Ad Astra Academy aims to build a community of motivated individuals that want to affect real progress in the world.
More coming soon


By USA TODAY High School Sports November 29, 2016
Here is the schedule for games this weekend involving Super 25 teams. Cast your vote as to which is the top game. readmore
By USA TODAY High School Sports November 29, 2016
Here is the schedule for games this weekend involving Super 25 teams. Cast your vote as to which is the top game. readmore
By USA TODAY High School Sports November 29, 2016
Here is the schedule for games this weekend involving Super 25 teams. Cast your vote as to which is the top game. readmore
By USA TODAY High School Sports November 29, 2016
Here is the schedule for games this weekend involving Super 25 teams. Cast your vote as to which is the top game. readmore
November 20 at 4:11am · Omaha, NE, United States
Nunc facilisis facilisis odio. Nulla tempor massa dui, id bibendum massa vehicula nec. Cras varius sollicitudin eros dignissim suscipit. Nullam et nunc sed tortor laoreet molestie. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aenean eu nisl nibh. Quisque commodo imperdiet tortor, vitae posuere enim elementum et. Nam in est laoreet, condimentum augue ac, tincidunt lectus.
Like · Reply November 20 at 4:11am · Omaha, NE, United States
Harry A. Burke High School is a secondary school located in Omaha, Nebraska. The principal is Steven Scraggs. The school's mascot is the Bulldog.


--- layout: post date: 2005-07-08 time: "09:00:00" authors: ["Greg Wilson"] title: "Software Carpentry notes are up" tags: ["Curriculum"] ---
I put an alpha version of the notes for the Software Carpentry course [1] on-line yesterday. Now, I'm looking for a way to convert them into a single PDF document, so that reviewers can download them in one shot. I've found some open source tools that don't do style sheets, and some commercial tools that'll do one page at a time, for money, but nothing so far that strikes me as being any better than "printing" with PDFCreator, one page at a time. Given that there are 31 pages, this is tedious enough that I'd like to find an alternative...
[1] The course on basic software development skills for scientists and engineers that I'm writing for the Python Software Foundation.


Once you have run a query, you can return to it by clicking the button again.
You can edit your prior search by:
- Clicking the Add another button to create additional expressions.
- Clicking an expression's row's Edit button to modify the expression.
- Clicking an expression's row's Delete button to remove the expression.
- Clicking the Clear button to remove all expressions and start over.


{% extends "blog/base.html" %} {% load staticfiles %}
{% block page_header %}Hello! My name is Christopher and I'm an engineer (but not a software) I'm even a master (but not in python yet!). What should I do after learning how to drill an oil well? It's time to move from bits to bytes. While we teach we learn, being able to understand an idea well enough to convey it to others will help you internalize it yourself. I like to think of it as sharing, rather then teaching so frombitstobytes has been created with the goal of sharing everything that I might find interesting and helpful in python field. I hope will find something useful here.
Feel free to contact me if you'd like to get in touch.


BLESS THE CHILD (2000) / ** 1/2
Directed by Chuck Russell. Screenplay by Tom Rickman, Clifford Green and Ellen Green, based on the novel by Cathy Cash Spellman. Starring Kim Basinger, Jimmy Smits, Rufus Sewell. Running time: 108 minutes. Rated AA for controversial subject matter and violent scenes by the MFCB. Reviewed on August 16th, 2000.
By SHANNON PATRICK SULLIVAN
One of 1999's biggest hits -- and biggest surprises -- was "The Sixth Sense", a thriller about a young boy with supernatural abilities. It was only a matter of time before the formula was copied and thinly-veiled knock-offs began hitting theatres. Almost exactly a year later, the first of these has arrived in the form of "Bless The Child", a thriller about... wait for it... a young girl with supernatural abilities.
But to pick at how "Bless The Child" is derivative of "The Sixth Sense" would be too easy, even unfair. Surprisingly, "Bless The Child" is not a bad film in its own right. Certainly, it is no classic -- it is too unambitious for that, stringing together timeworn plot pieces and boasting acting and direction that are, in general, workmanlike at best. But it does not embarrass itself, and is enjoyable in the kind of turn-your-brain-off way that often characterises summer movies.
New York City, Christmas 1993: Child psychologist Maggie O'Connor (Kim Basinger) is met at her apartment by her estranged sister Jenna (Angela Bettis from "Girl, Interrupted"), a drug addict who has been missing for two years. Jenna has brought with her another surprise: a daughter, Cody, just nine days old. Jenna alludes to Cody being a strange baby, but avers that she was not born hooked on narcotics. (That the identity of Cody's father is a mystery should come as a surprise to no one.) Minutes later, Jenna runs off again, abandoning Cody with Maggie. Maggie decides to raise the little girl on her own.
Six years later, New York City is being terrorised by a series of ritualistic child murders. An FBI agent specialising in occult crimes, John Travis (Jimmy Smits), is brought in to assist in the investigation. Meanwhile, Cody (Holliston Coleman) has begun to manifest strange abilities -- she can make objects spin, and brings a dead bird back to life. It turns out that the murders are being committed by the New Dawn, a cult run by Eric Stark (Rufus Sewell) who are looking for a special child born on December 16th, 1993. This, of course, is Cody and soon Stark shows up on Maggie's doorstep with the long-lost Jenna as his new bride. When Maggie refuses to let Stark and Jenna take Cody, Stark has her kidnapped. With the help of a renegade New Dawn member (Christina Ricci), Maggie discovers that Stark and his cult are really Satan-worshippers, who plan to turn Cody and her powers to their own dark cause.
Anyone who has seen even a fraction of Hollywood's thriller output is likely to find much of "Bless The Child" rather familiar. Many aspects are recycled from better works -- not just "The Sixth Sense", but also "Rosemary's Baby" and others. The screenplay, by Tom Rickman, Clifford Green and Ellen Green, based on the novel by Cathy Cash Spellman, is a routine affair which unfolds predictably, with few surprises. The characters are poorly balanced. Smits is kept in the background for the first three-quarters of the running time, and enjoys no character development whatsoever. Ricci, meanwhile, is present in only two scenes and is a transparent plot device. Similarly, a religious group opposed to the New Dawn is abruptly introduced late in the film, and just as abruptly dismissed. Their sole purpose seems to be to explain some of "Bless The Child"'s mythology.
And there are some rather murky plot details as well. For example, if Stark has gone out and found Jenna, surely he's known for some time that Cody is the child he's after. Why, then, do his followers hunt down other children until just shortly before Cody's abduction? Also, the New Dawn killed the youngsters after they failed some sort of test; why do we never see Cody undergo this rite?
Despite these flaws, I still found myself enjoying "Bless The Child". Director Chuck Russell is no M Night Shyamalan -- he demonstrates few distinctive directorial stylings here -- but his pacing is good, and he seems to understand that less is more. For instance, when Maggie experiences brief moments where she can see demons encircling the New Dawn headquarters, these are held long enough to be effective but are gone before we can start picking holes in the (well done but still very obvious) computer animation. This principal is particularly well-employed at the climax of a chase across a subway platform, the movie's most visually striking scene. Indeed, the design work throughout "Bless The Child" is above average -- keep an eye out for the atmospheric graveyard exterior in the final act, for example.
Also very good are some of the supporting performances. Sewell is terrific, creepy without going over the top into sheer black-hearted lunacy. Newcomer Coleman also does a fine job. The youngster is charming without being overly coy, and she interacts well with the adults. Less impressive are the two leads. Basinger is sleepwalking through "Bless The Child", demonstrating a limited emotional range; she clearly isn't trying very hard. Smits just seems bored with his role, which gives him little to do and seems to rely largely on his "NYPD Blue" TV character to substantiate itself in the minds of the audience. Ricci is sadly wasted in her very brief role, although she tackles what little material she is given with gusto.
As a sequel-in-spirit to "The Sixth Sense", "Bless The Child" is a pale imitation, lacking the invention and surprises of that film's script, the atmosphere and artistry of its direction, and the quality and conviction of its performances. Judged on its own merits, though, "Bless The Child" is reasonable popcorn fare, fun to watch and lacking any truly cringeworthy elements. Summer 2000 has been full of movies which don't quite live up to our expectations, which settle for being passable when they could have been more. Here, then, we may well have the poster "Child" for the season.
Copyright © 2000 Shannon Patrick Sullivan. Archived at The Popcorn Gallery, http://www.physics.mun.ca/~sps/movies/BlessTheChild.html
_______________________________________________________________________ / Shannon Patrick Sullivan | "We are all in the gutter, but some of us \ |<EMAIL_ADDRESS>| are looking at the stars." - Oscar Wilde | \___________________________|__________________________________________/ | Popcorn Gallery Movie Reviews www.physics.mun.ca/~sps/movies.html | | Doctor Who: A Brief History of Time (Travel) /drwho.html |
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


|
Little Heroes
|
Classes | |
| class | PhotonView |
| PUN's NetworkView replacement class for networking. More... | |
| enum OnSerializeRigidBody |
| enum OnSerializeTransform |
| enum OwnershipOption |
Options to define how Ownership Transfer is handled per PhotonView.
This setting affects how RequestOwnership and TransferOwnership work at runtime.
| Enumerator | |
|---|---|
| Fixed |
Ownership is fixed. Instantiated objects stick with their creator, scene objects always belong to the Master Client. |
| Takeover |
Ownership can be taken away from the current owner who can't object. |
| Request |
Ownership can be requested with PhotonView.RequestOwnership but the current owner has to agree to give up ownership. The current owner has to implement IPunCallbacks.OnOwnershipRequest to react to the ownership request. |
| enum ViewSynchronization |


RecordRTC | WebRTC Audio+Video+Screen Recording
HOME
©
Muaz Khan .
@WebRTCWeb .
Github .
Latest issues .
What's New?
into
Other Demos
| Experiment Name | Demo | Source |
|---|---|---|
| WebPage+Canvas Recording | Demo | Source |
| HTML5 Canvas Dashboard + 2D Animation Recording | Demo | Source |
| HTML5 2D Animation Recording | Demo | Source |
| Record Videos and Upload to PHP server | Demo | Source |
| Record Mp3 Audio Files | Demo | Source |
| MRecordRTC: Multiple Videos Recording hack for Old-Chrome | Demo | Source |
| WebGL Animation Recording | Demo | Source |
| plotly - WebGL Recording | Demo | Source |
| Record Audio+Videos in Old Chrome and Merge/Mux on PHP server using Ffmpeg | Source | |
| Record Videos and Upload to Node.js server using $.post/XHR/XMLHttpRequest | Source | |
| Record Videos and Upload to ASP.NET MVC server | Source | |
| Record Videos and Upload to Node.js server using Socket.io | Source | |
| Record audio+videos in old chrome and merge/mux inside the browser using Ffmpeg-asm.js | Source |
Feedback
Using RecordRTC...
- You can record both Audio/Video in single WebM file. (Chrome+Firefox)
- You can record both Audio/Screen in single WebM file. (Chrome+Firefox)
- You can record audio in WAV format. (Chrome+Firefox+Opera+Edge)
- You can record 2D Canvas animations. (Chrome+Firefox)
- You can record webpage activity; a tab's activity; or entire screen; or a specific application's screen. (Chrome+Firefox)
- You can record Gif in all browsers.
You can even control buffer-size, sample-rates, video-resolutions, bit-rates etc.
RecordRTC is MIT licensed on Github! Documentation


shl
Syntax
A shl B
Description
The shl (shift left) operator produces the value of A shifted B bits to the left. Both A and B must be non-negative integers (natural numbers).
Example
Assign the base 2 value 11 to i and then shift it left by 2 places and assign the resulting base 2 value 1100 to j.
var i, j : int
i := 2 # 11 % 2#11 = 3 (base 10)
j := i shl 2 % j becomes 2#1100 = 12 (base 10)
Details
The shl operator is defined mathematically (in a machine-independent way) as follows: A shl B = A * ( 2**B ). Overflow occurs when the result exceeds the maximum value of the nat4 (4-byte natural number) type.
Value A can be of any integer type (as long as it is non-negative) or any natural number type.
The shl operator has the same precedence as the * operator.
See also
shr (shift right), or, and and xor, which also are bit manipulation operators that act on non-negative values. See also explicitIntegerConstant which describes values such as 2#1100.


Welcome to our App1!
This App is under update..
If you want to promote your profile and posts asap, you can download this App
Thank you,
SfSthetik Development Group !
<EMAIL_ADDRESS>This App is under update..
If you want to promote your profile and posts asap, you can download this App
Thank you,
SfSthetik Development Group !
info@sfsthetik.com


SolarPy example page
Another page...
Template file "rawdata.html"
Template file "rawweatherdata.txt"
PV-Data as JSON file
HostSystem data as JSON file
Weather data as JSON file
Webcam picture without data
Webcam picture with data
Configuration site


--- layout: schools-hero --- {{> breadcrumb }}
Beechen Cliff School is a unique school in many respects. We aim to provide the best possible education for each pupil, to prepare each pupil for adulthood and to set the highest possible standards in all areas of school life; academic, sporting and beyond.
We know every pupil. Individuals matter and visitors comment on the friendliness and confidence of the pupils.
| Head Teacher: | Mr Andrew Davis |
| School Type: | Secondary |
| Telephone: | 01225 480466 |
| Email Address |<EMAIL_ADDRESS>|
| Website Address | www.beechencliff.org.uk |