Created with
- AngularJS
- A client-side Javascript framework for creating Dynamic HTML sites
- Twitt
er Bootstrap
- A front-end framework to handle design and presentation.
- Pyramid
- A Python web application framework
- D3.js
- JavaScript library to create graphs and manipulate documents based on
data.
- Strava-SSCP
- The Github repository that contains the code that runs this site.


Bowfinger (1999)
A Film Review by Mark O'Hara
Visit Online Film Critics Society at http://www.ofcs.org
Although Steve Martin's 'Bowfinger' is essentially a one-joke movie, it is very funny. Wait a minute, maybe I should call 'Bowfinger' a film and not a movie…
Slapstick and wit have always marked Martin's stuff. Some of the most hilarious scenes in 'Roxanne' , his best movie, come from C. D.'s physical humor, when he defeats bullies with a tennis racket, for instance; but he also defeats a bully in a bar with barbs! Steve Martin is, after all, an accomplished playwright. Wasn't that a Chicago style manual we glimpsed on C.D.'s shelf, as he waited for Chris to come over?
'Bowfinger' gives us more of the same heady and ridiculous stuff. One minute Bowfinger is tying his dog's hind feet together, the next he's talking his way out of a big-time ticket by enlisting the cop and his car in the movie being shot.
Bowfinger is an extremely small-time producer and director. In the opening scene we see snapshots and posters decorating Bowfinger's deteriorating house: community theater productions and publicity stills. What excites the man now is a script written in two weeks by his accountant. It's a story about aliens that fall to Earth in precipitation, and it's called 'Chubby Rain'. There's little chance it will actually be made, except that Bowfinger cajoles a bunch of buddies - amateur actors, an accountant and a shady parking attendant - into devoting some time to the project. When a producer (Robert Downey Jr.) says that he will buy 'Rain' if it stars Kit Ramsey, Bowfinger has his mission. But how will he ever convince this action-movie superstar to star in 'Chubby'?
Ramsey is played by Eddie Murphy, and it's a superb performance. Murphy plasters the character with paranoia, exaggerated fits of neuroses blended with the egotism of a Hollywood icon. What fits into his condition perfectly is Bowfinger's outlandish idea: his actors approach Kit Ramsey anywhere he happens to be, and spout their lines at him.  Terrified of aliens and conspiracies, Ramsey flees to his rich, gray-suited guru (Terence Stamp), who runs a cult called 'MindHead'. The members of this organization, by the way, wear pyramidal hats and act overly calm. What Martin jabs at here is MindHead's apparent control over Ramsey's life; the suave big cheese offers Kit any services he might need to "keep it together," to resist the alien obsession and the urge to show "Mr. Weinie" to the Laker girls. We wonder how much of Ramsey's astronomical income goes to the white-haired pseudo-psychologist.
By now Murphy's used to playing multiple roles, and in 'Bowfinger' he also portrays Kit's brother Jiff, a look-alike whose personality differs drastically. His Jiff is a grinning milquetoast who sports glasses and braces on his teeth - a truly conventional but thoroughly funny nerd. Why the need for a double for Kit? Well, the celebrity has gone to MindHead's secret retreat for cases like his heavy-duty meltdown. Because Jiff is so gullible, Bowfinger and his crew have him dash across an L.A. freeway, and he makes it, twice! In a piece full of various takes on the motion-picture industry, it's Murphy who garners the best lines and scenes in 'Bowfinger'.
Steve Martin is the mind behind it all, and for most of the movie the joke works. In one scene we watch Ramsey's big Mercedes chased by an old black Riviera, an "alien" (Jiff in a tin-foil costume!) as both cars speed in reverse until a police cruiser puts a stop to it. But there are too many scenes that rely on the premise of Ramsey's shocked and frantic reactions to these filmmaker-stalkers. As an actor, Martin is outshone only by Murphy. We sense Martin's long experience, timing, and subtle brilliance in every scene he's in.
A sublplot that does not work fully involves Heather Graham as Daisy, a blonde from Ohio who gets off a bus in Hollywood and asks, "Where do I go to be a star"? Martin's idea of having this ingenue sleep with anyone who might kickstart her career is funny, but Graham seems to lack the calculation needed for more laughs; her sluttishness is too nonchalant. Christine Baranski as Carol, a stupendous over-actor, carries her role over-the-top. The audience guffawed every time Carol jumped out and spewed her nonsense at Kit Ramsey. I should also mention Adam Alexi-Malle as the accountant-turned-screenwriter Afrim. This man is pudgy and droll and expert at what he does. You will, I guarantee, lose it when Afrim does his bit as the cop! Finally, Bowfinger's dog Betsy is a big help in one scene in particular, when the director needs the sound of high heels (which are attached to the pooch's front paws!) in a scene in which Kit is being followed through a parking garage.
I look forward to any Steve Martin offering, and 'Bowfinger' once again shows the intelligence and risk-taking that are now trademarks of his comedy. If it's different, it's funny, Martin realizes, and this movie is different than most of the comedies released in the nineties. It's smart, it's silly, and best of all, it will get three or four belly laughs out of you.
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


OL3/React example
Basic example for using
OpenLayers 3
with
React
and
Redux
.
Visible locations (click to select):


The Blockchain is a digital record of transactions. The name 'Blockchain' comes from it's structure, in which individual records, called blocks, are linked together in single list, called a chain. Blockchains are used for recording transactions made with cryptocurrencies, such as Bitcoin, and have many other applications. Every transaction added to a blockchain has to be validated by multiple computers on the internet. These systems forma peer-to-peer network and are configures to monitor specific types of blockchain transactions. They validate each transation before adding it to the blockchain.
When a block is added to a blockchain, it is linked to the previous block using a cryptographic hash generated from the contents of the previous block. This ensures that the chain is never broken and that each block is permanently recorded. This also intentionally makes it more difficult to alter past transactions in the blockchain since the subsequent block must be altered first.
To learn more about Blockchain. Click here!
Autonomous things is an emerging term for the technological developments that are expected to bring computers into the physical environment as autonomous entities without human direction, freely moving and interacting with humans and other objects. Self-navigating drones are the first autonomous technology to be deployed. The Autonomous car more commonly referred to as a 'self-driving' car is expected to be the first mass-deployed, expected to be available in 2020.
The autonomous car both addresses the main existing safety issues and creates new issues. It is expected to be much safer than existing vehicles, by eliminating the single most dangerous element – the driver. The US's National Highway Traffic Safety Administration estimates 94 percent of US accidents were the result of human error and poor decision-making, including speeding and impaired driving. So while safety standards like the ISO 26262 specify the required safety, there is still a burden on the industry to demonstrate acceptable safety.
An immersive experience is an illusory environment that completely surrounds you such that you feel that you are inside it and part of it. The term is associated with technology environments that command the senses such as virtual reality and augmented reality.
Virtual reality (VR) is an interactive computer-generated experience taking place within a simulated environment. It incorporates mainly auditory and visual feedback. Current VR technology most commonly uses virtual reality headsets or multi-projected environments, sometimes in combination with physical environments or props, to generate realistic images, sounds and other sensations that simulate a user's physical presence in a virtual or imaginary environment. A person using virtual reality equipment is able to "look around" the artificial world, move around in it, and interact with virtual features or items.
Augmented reality (AR) is an interactive experience of a real-world environment where the objects that reside in the real-world are "augmented" by computer-generated perceptual information, sometimes across multiple sensory modalities, including visual and auditory.Augmented reality systems may also be considered a form of VR that layers virtual information over a live camera feed into a headset or through a smartphone or tablet device giving the user the ability to view three-dimensional images


Part Detail Information
| Serial: | 511242 |
| Model: | XCELLON-FLEX COMBO 10/40GE |
| Owner: | Jingshao Chen |
| Status: | in |
| Comment: | In demo chassis in NGN lab |
| Serial: | 511242 |
| Model: | XCELLON-FLEX COMBO 10/40GE |
| Owner: | Jingshao Chen |
| Status: | in |
| Comment: | In demo chassis in NGN lab |


Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s
Lorem Ipsum is simply dummy text of the printing and typesetting inustry. Lorem Ipsm has been the inudstry's standard dummy text ever since the 1500s


Everyone seemed fine, but I cried all night, it blew my baby blocks out of order.


I love Macaroni
“The separation of talent and skill is one of the greatest misunderstood concepts for people who are trying to excel, who have dreams, who want to do things. Talent you have naturally. Skill is only developed by hours and hours and hours of beating on your craft." - Will Smith
Lorem Ipsum is a simple design project i did Check it out
A simple data visualization project i did Check it out
A wonderful art project of a talented Dog Check it out
I am a budding web developer, hoping to shape and break the tech space with awesome social solutions that can connect people from different part of the world
If you love numbers this is a hierachy of some of my working experience
Some slurs, curves, curry spiced tomato sauce, pastas and greens are awesome
Music, an air maxx, some love and the dark nights and the rain :D nothing is more perfect
Blues, ragtime, some pentatonic and Oscar Peterson, then you can take me to heaven
Give me a bagpack, with a laptop, some cash and a passport full of visas, that would be amazing


GOVERNMENT OF THE DISTRICT OF COLUMBIA OFFICE OF THE CHIEF MEDICAL EXAMINER Open Government Report 2014 To institutionalize a culture of transparent and open government, accountability, and to expand opportunities for resident participation and collaboration, this Report describes how the Office of the Chief Medical Examiner (OCME) has and will continue to develop and enhance transparency, public participation, and collaboration. In accordance with Mayor’s Order 2014-170, this report addresses the following topics: 1) Transparency Describe the steps your agency has taken or plans to take to be more transparent. Please include a description of: How and to what extent your agency shares information with the public, e.g. publication of information in the District register and on the agency website, press releases, and documents in the agency’s FOIAXpress reading room. The OCME is committed to a transparent and open form of Government. District agencies are required to make certain records available, including: 1) employee salary information; 2) statements of policy; 3) published opinions; 4) agency performance plans; 5) budget information; 6) District wide FOIA reports; and 7) OCME’s organizational chart. OCME is incompliance with this open government mandate and the above enumerated information can be found on OCME’s website at http://ocme.dc.gov/page/open-government-andfoia-ocme. How the agency meets its obligations pursuant to the District’s Freedom of Information Act and Open Meetings Act. The OCME meets it obligation to FOIA by issuing timely responses to requestors. Moreover, when appropriate, OCME posts frequently requested documents, or documents of public interest, to the OCME’s FOIAXpress reading room. The OCME meets its obligations to the Open Meetings Act by ensuring compliance for the three (3) Fatality Review Committees administered by the OCME. Steps your agency will take to increase public access to information. OCME will continue to timely respond to FOIA requests and post relevant information, when appropriate, to the FOIAXpress reading room. Additionally, OCME is committed to assisting FOIA requestors in identifying the proper agency to direct FOIA requests to for timely response. 1 Steps your agency will take, including an implementation timeline, to webcast live and archive on the internet board or commission meetings. The OCME administers three (3) Fatality Review Boards on behalf of the District. Due to the nature of the materials reviewed by committee members Case Reviews are Closed to the Public pursuant to D.C. Official Code §§2575(b)(1) as the law or court order requires that a particular matter or proceeding not be public; and 2-575(b)(14) to plan, discuss, or hear reports concerning ongoing or planned investigations of alleged criminal or civil misconduct or violations of law or regulations, if disclosure to the public would harm the investigation. However, OCME is committed to working with BEGA to assess how best to comply with live webcasts and archives of the meetings when appropriate and legally allowable. How your agency has taken or plans to take steps to make more of its data available to the public. OCME is working closely with the Office of the City Administrator (OCA) and the Office of the Chief Technology Officer (OCTO) to identify a significant number of datasets that OCA and OCTO expect to publish online later this year. If no dataset from OCME is selected to be included in this 2014 release, we will continue to work with OCA and OCTO to identify datasets appropriate to publish in 2015. In the future, requirements for open data reporting will be provided by the Chief Data Officer. 2) Public Engagement and Participation Describe the steps your agency has taken or plans to take to enhance or expand opportunities for the public to participate in agency decision-making. Please include a description of: How your agency provides online access to proposed rules and regulations and secures public input on them. Please list links to specific websites. The OCME, in conjunction with the Department of Forensic Sciences, published notice of a proposed rulemaking in support of the D.C. Breath Alcohol Testing Program on April 27, 2014 for public comment. OCME is committed to seeking public comment when there are amendments to OCME specific regulations or statutes. Moreover, OCME publicly notices statutory authority granted to OCME for death investigations on the OCME website. Questions or comments from the public can be direct to the linked titled “Ask the Chief Medical Examiner” for a response within 24 hours of receipt or the next business day. How your agency shares information and resources to keep the public properly informed, e.g. community meetings, public hearings, FAQs, and 2 ways the public can provide input such as Twitter, grade.dc.gov, email contacts. OCME publishes notice of all three (3) Fatality Review Committee meetings in accordance when the Open Meetings Act. Moreover, OCME is committed to providing timely response to media inquiries, bloggers, private citizens when requested and the information sought is subject to public release. How your agency identifies stakeholders and invites their participation. OCME has a variety of stakeholders including first responders, Funeral Directors, educational institutions, health care entities, and public health agencies. To invite participation with these stakeholders, OCME has attended various board and commission meetings, lectured at educational institutions, established formal and informal relationships with health care entities to better serve the District, and has actively worked with public health agencies to help inform protocols for the safe handling and dignified disposition of decedent remains. Steps your agency will take to improve public engagement and participation including any new feedback tools or mechanisms the agency is considering. OCME will continue to timely respond to public inquires when the requested information is subject to public release. OCME is working on a new initiative utilizing GSI mapping to compile death data to improve public health surveillance that will better inform policy decisions District wide and will encourage pubic engagement. 3) Collaboration Describe the steps your agency has taken or plans to take to enhance or expand cooperation among departments, other governmental agencies, the public, and nonprofit and private entities in fulfilling its obligations. Please include a description of: How your agency currently collaborates with the above parties. Please list links to specific websites if appropriate. OCME has been working to improve relationships with educational institutions, public health organizations and District agencies to better serve the District. This initiative has included OCME’s use of the state of the art Consolidated Forensic Laboratory (CFL) to expose stakeholders to the facility and capabilities of District agencies housed at the CFL. OCME is committed to strengthening relationships with our District government agency partners to improve response and provide expertise in public emergency events involving mass fatalities. 3 Steps your agency will take to improve collaboration with the above parties including any new feedback tools or mechanisms the agency is considering, e.g. prizes, competitions, and other innovative methods. OCME will continue to timely respond to public inquires when the requested information is subject to public release. As formal partnerships with these entities develops, points of contact will be identified to coordinate response to internal inquiries and to initiate public participation via educational opportunities and representation at professional societies through services as keynote speaks and, when ethically permissible, as formal members in the societal organization. 4


Demo Environment
For further help see the "How To Get Your Account" section in the About tab below.
If you're using Interaction Studio directly via the URL, and NOT in your MC LA, then the Account will be the subdomain of the URL. E.g. if the URL is https://interactionstudio.evergage.com, then you would enter interactionstudio in the Account field.
If you're using Interaction Studio via your MC LA, then you can find your Account by opening up
Chrome DevTools -> Network Tab, then go to Interaction Studio in your MC LA. As the page loads,
click on ui/ in the left hand side, and the Request URL will contain the actual
URL being used for Interaction Studio. You then enter the sub-domain of the URL. E.g. if the URL
is https://ccharalambous1477350.australia-3.evergage.com then you would enter
ccharalambous1477350.australia-3 in the Account field.
Click here for an example.
Any "View Time" on a product MUST be paired with a "View Item" on the same product, otherwise Interaction Studio won't show anything for the "View Time" on its own.


Home >
Microsoft XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
Handy features include:
- Tree View synchronized with Node Text View for quick editing of node names and values.
- Incremental search (Ctrl+I) in both tree and text views, so as you type it navigates to matching nodes.
- Cut/copy/paste with full namespace support.
- Drag/drop support for easy manipulation of the tree, even across different instances of Microsoft XML Notepad and from the file system.
- Infinite undo/redo for all edit operations.
- In place popup multi-line editing of large text node values.
- Configurable fonts and colors via the options dialog.
- Full find/replace dialog with support for regex and XPath.
- Good performance on large XML documents, loading a 3mb document in about one second.
- Instant XML schema validation while you edit with errors and warnings shown in the task list window.
- Intellisense based on expected elements and attributes and enumerated simple type values.
- Support for custom editors for date, dateTime and time datatypes and other types like color.
- Handy nudge tool bar buttons for quick movement of nodes up and down the tree.
- Inplace HTML viewer for processing <?xml-stylesheets instructions.
- Built-in XML Diff tool.
- Support for XInclude.
- Dynamic help from XSD annotations.
- Goto definition to navigate includes and XSD schema information.


A very well-presented two bedroom split-level Victorian conversion located overlooking Peckham Rye Park. This property is extremely bright, letting in lots of natural light with amazing views over the green. Perfectly located for all local amenities within the area, including transport links via Peckham Rye or East Dulwich BR Stations.
We've lived in the flat since 2007, and we've loved being here, but we need to move to get more space for our family.
If you're interested in renting our flat, please call or email us.
07984 202377


Mouse: left button down - rotate, right button down pan, mouse wheel - zoom
Contains Ordnance Survey data © Crown copyright and database right 2015.
Contains DTM data © Environment Agency copyright and/or database right 2015.


THE BIG EASY A film review by Mark R. Leeper Copyright 1987 Mark R. Leeper
Capsule review: Drug gang wars and police corruption in New Orleans are the background for this story of two people who are adversaries in public and lovers in private. The film is a good advertisement for the easy lifestyle of New Orleans.
Things are happening pretty fast in The Big Easy--that's the town you and I know as New Orleans. The Big Easy is called that because things go pretty slow and easy down there, at least most of the time. But just now the police are investigating a gang war that is anything but easy. Some hoods--"wise guys," they're called--are getting killed in some pretty nasty ways. The police, including Remy McSwain (played by Dennis Quaid), are investigating. But the police are themselves being investigated. The Assistant District Attorney, Anne Osborne (played by Ellen Barkin), is in there looking for signs of police corruption. Now Remy comes from a family of policeman and they are all good guys, but, like other policemen, they do take advantage of certain privileges they get for being policemen. And that's the kind of thing that Osborne want to know more about.
THE BIG EASY has three stars: Quaid, Barkin, and New Orleans. ANGEL HEART made New Orleans seem a little sinister; THE BIG EASY shows you a friendlier, happier New Orleans. With all the slap-happy fun down at the Police Department, you wonder how anyone ever gets anything done fighting crime. Everyone is just a good old boy who loves Cajun music, 'gators, and Tabasco Sauce. It is a charming picture whether or not it is true.
Quiad is likable as McSwain, though his Cajun accent seems a little forced and varies in intensity from scene to scene. The odd thing is that the plot seems fresh and original until the last ten minutes or so. Then suddenly things start looking like just about every other police film of the last five years. And that is a shame, since that last impression is the one that stays with you. THE BIG EASY is good as a travelogue and at least passable as a police story and as an object lesson in honesty. Rate the film a +1 on the -4 to +4 scale.
Mark R. Leeper ihnp4!mtgzz!leeper<EMAIL_ADDRESS>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


This page is divided into two sections. The first section - titled "Troubleshooting" provides advice to follow if you encounter problems configuring or using DWR. The second section - title "Common Problems and Fixes" lists several common problems and their associated fixes.
If you encounter problems using DWR your first step should be to check the DWR test page. The test page displays all classes available to DWR and allows you to invoke methods on those classes. If a method call works from the test page you have properly installed and configured DWR.
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
The chances are if you encounter an error DWR will be logging the cause of the error in the server logs. Many times the errors in the log can quickly lead you to a fix for the problem you are experiencing. Here are a few examples:
A failure to configure a converter for a class that DWR needs to serialize will result in the following error:
Jul 22, 2008 2:37:58 PM org.directwebremoting.util.CommonsLoggingOutput errorA failure to add the commons-logging.jar into your application's classpath will result in the following error:
SEVERE: No converter found for 'dwr.book.model.User'
SEVERE: StandardWrapper.ThrowableThe logs are there for a reason -- use them. Many times reading the logs will guide you to a quick solution.
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.directwebremoting.dwrp.PollHandler.<clinit>(PollHandler.java:382)
at java.lang.Class.forName0(Native Method)
Firebug is an invaluable tool when you are having problems with your DWR application and need to inspect what you are sending to or receiving from DWR. Firebug is an add-on for Firefox that allows you to:
If for some reason you cannot use Firebug the dwr.util.toDescriptiveString function will allow you to display the JavaScript objects you are sending to or receiving from DWR. This function is located in DWR's util.js and you must include this file in your HTML page in order to use it. The function takes three arguments:
HTTP debugging proxies are a nice tool to have in your arsenal. These tools allow you to inspect all HTTP traffic and even manipulate incoming/outgoing data. A few we recommend are:
Many developers new to the web don't bother setting up a debugging environment. I feel this is a mistake. It is easy to do and you can learn a lot by stepping through code. Setting up a debugging environment is specific to your IDE and servlet container/application server and beyond the scope of our documentation. I recommend looking into the options that are available for the development environment you are working in.
This problem shows up as the following stack trace when starting a DWR enabled webapp:
root cause javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
This doesn't really have much to do with DWR, it's caused by Tomcat not being setup properly. The quick answer is to download Xalan and place xalan.jar into $TOMCAT-HOME/common/lib
. DWR 2.0 copes with this problem better than DWR 1.x, but the core problem is still that DWRs XML serialization support requires an XSLT parser.
If you have this problem with JDK 5 then it has been reported that the following VM parameter will kick Tomcat into action.
-Djavax.xml.transform.TransformerFactory= com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
The most common error when getting started with DWR is an XML parser error. It has nothing to do with DWR, and is due to your installation of Tomcat having Xerces installed when it shouldn't or not installed when it should.
In addition to these issues, various version of Tomcat either came with XML parsers or had add-on packages that included them. It's important to check that you have the correct add-on packages for your JDK version.
Weblogic 8.1 (and maybe other versions) can make it hard for DWR to find classes.
This can happen if dwr.jar is being used from an APP-INF directory (i.e. APP_INF/lib
). Under these circumstances DWR will still appear to function, the debug pages will be visible for example, however it will have trouble finding your classes.
The solution is to place dwr.jar into your WEB-INF/lib
directory.
Microsoft discourage people from using multiple versions of IE on a single machine, even though there are solutions like Tredosof Multiple IE. The issue is that you never really have a full installation of the non-system browser. Cookie support is one area where multiple versions of IE breaks, which can cause problems with DWR's cross-domain security.
Probably the best solution is to use Virtual PC. This is Microsoft's recommended solution.
Alternatively you could disable DWRs cross domain security feature, by adding this parameter to your web.xml in the DWR servlet section:
<init-param>
<!-- fix for multiple IEs on one machine. Remove this before going live -->
<param-name>crossDomainSessionSecurity</param-name>
<param-value>false</param-value>
</init-param>
Websphere is rather late to support Java5 and some versions of Websphere react strangely when Java5 code is found. DWR 2.x contains optional Java5 support. The vast majority of the JAR file was compiled with JDK 1.3 however the Annotations support was compiled with JDK 1.5. Normally a 1.4 JVM will throw an exception that DWR can catch using a normal try/catch mechanism, however for some reason the IBM 1.4 JVM seems to throw a magic uncatchable exception!. The following console message maybe found with Websphere / DWR 2.x.
TRAS0014I: The following exception was logged java.lang.LinkageError: LinkageError while defining class: org.directwebremoting.annotations.AnnotationsConfigurator Could not be defined due to: org/directwebremoting/annotations/AnnotationsConfigurator (Unsupported major.minor version 49.0) This is often caused by having a class defined at multiple locations within the classloader hierarchy. Other potential causes include compiling against an older or newer version of the class that has an incompatible method signature. ...
If this prevents DWR from working, there are 2 solutions:
If you can't find a solution here then please join the mailing list and ask there.


Jewish gravestones used as cobblestones in Prague to be returned to Old Jewish Cemetery
by Christopher CarbonePieces of Jewish gravestones unearthed during excavation work in Prague will be returned to the Czech capital's Old Jewish Cemetery.
The agreement was reached between the city and its Jewish community after the fragments were discovered in some of Prague's pedestrian zones, according to BBC News.
The pieces, removed from a 19th-century Jewish cemetery, were then used in street-building works in the late 1980s.
A majority of the stones, produced from from gravestones that were then chopped into squares, are at the base of Wenceslas Square, one of the city's main squares, and on Na Prikope, a popular shopping thoroughfare, reports Radio Prague International.
2 INFANTS BURIED WEARING HELMETS MADE FROM OTHER YOUNGSTERS' SKULLS HAVE SCIENTISTS PUZZLED
NASA PICKS SPACEX, BLUE ORIGIN FOR PRIVATE MOON LANDER PROJECT
Jewish community of Prague chairman Frantisek Banyai told CTK that such stones would be ritually returned to a place of reverence, adding that the community welcomed the city’s decision and hopes such cooperation will continue.
Before World War Two, Czechoslovakia's Jewish population was about 350,000 prior to World War II, BBC News reports, but that number dropped to about 50,000 by 1946.
The city's Old Jewish Cemetery is one of the largest of its kind in Europe and is administered by the Jewish Museum in Prague.


Oldest Cell (Yellow border):
| Age: | Size: | Offspring: | Color: | Default Action: |
Cell with most offspring (Blue border):
| Age: | Size: | Offspring: | Color: | Default Action: |
Biggest Cell (Green border):
| Age: | Size: | Offspring: | Color: | Default Action: |
Targeted Cell (Red border):
| Age: | Size: | Offspring: | Color: | Default Action: |


{% extends "layout.html" %} {% block content %}
YeezyScoreA comparison of stream processing software |
|
|
Data on collectible sneaker resales comes from eBay's API. Slides |
Code |
Made wth ♥
© Project by Kat Chuang for the Insight Data Engineering Fellowship Program. |
|
|
What's cool about streaming technologies? Trendwatching, as seen by the Air Jordans and Yeezys resold online |


Alva lets you design interactive products based on the same components your engineers are using for production websites. But, our mission goes way further. And guess what – we are entirely open source.
Download AlvaThis is an early alpha version. Feel free to try out, but we are still working hard on better support for external component libraries.
Alva is a work-in-progress, and constantly evolving. Sign up with your email to be the first in line when we announce new features.
As a designer, you start with a minimal set of web components which are enhanced by importing new components as placeholder images. Based on that, an engineer can start writing the component as real code and replace all the placeholder components.
Instead of creating a separate static component library for Sketch, Photoshop and all the other tools, you can start building your layouts and design with the very same components that your engineers use for the production website.
Basically, you share the component library with your engineers so that everyone has the latest version everywhere, everytime.
We are starting with React and certain library requirements, but we plan to be platform-agnostic in the future.
A website is more than a plain fixed-size drawing canvas, where you can position rectangles, circles and text wherever you want to. Responsive design doesn’t mean to have just three different viewports designed. And interaction is not only connecting to static screens with a transition. It can be way more.
On the left side are all the components you are using on your page. You can rearrange them or nest them.
Every viewport counts. You can easily adjust the preview viewport to test your design on every possible size.
The web is interactive, so we should design interactively, too. Alva enables you to go beyond static screens.
If you’d like to implement custom logic or anything else code-based, you can insert custom code anywhere. So Designers don’t have to code. But they are able to.
You want to translate your designs into a dozen of languages? Or want to connect to real data? Don’t worry, Alva supports that.
Help us taking Alva to the next level with your design expertise, product management insights or engineering skills. Our next features, bugs and the roadmap are fully open. Feel free to add issues, start pull requests or let us discuss what should be next.
Explore our next steps on Github»Alva« is the middle name of Thomas Alva Edison, who made electricity available to the public. And in Latin, »Alva« means Wisdom. We started Alva in August 2017 as an initiative at SinnerSchrader and since then a quite small, but very powerful product design and engineering team is working hard on building and evolving the Alva app and its ecosystem.
Product Engineering
Product Engineering
Product Engineering
Product Design
Product Engineering
Product Lead
Special thanks to Holger Blank, Yuri Ziebell, Philipp von Essen, Stefan Förster, Felicitas Kugland and Mario Nebl. And we are proud of so many more contributors on Github!


---
layout: post
title: Spring time change
date: '2014-03-30T08:24:48+02:00'
categories:
- Illustration
- Klare Lijn — Ligne Claire
- Ello Mobile
picture_url: https://film-Storyboards.tumblr.com/post/81177575456/spring-time-change-inked-drawing-for-ello
---
Spring time change — inked drawing for Ello Mobile’s Facebook page.


Angular2 date picker
First date picker dates disabled backward from 5th of current day.
Second date picker is as an inline mode.
loading...


# INFO 450 Fall 2020
Week 6
--- # Agenda * None * json - remix * function deep dive * Really deep dive * Errors and Exceptions * hackerrank --- # None The sole value of the type NoneType. None is frequently used to represent the absence of a value, as when default arguments are not passed to a function. Assignments to None are illegal and raise a SyntaxError. https://docs.python.org/3/library/constants.html ```python $ python3 Python 3.8.5 (default, Jul 21 2020, 10:48:26) [Clang 11.0.3 (clang-1<IP_ADDRESS>)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> None = 3 File "
", line 1 SyntaxError: cannot assign to None >>> x = None >>> x >>> if x == None: ... print("Hi") ... Hi >>> if x: print("Hi") ... >>> >>> if not x: print("Hello") ... Hello ``` --- # Load and Dump JSON Reiteration of last week: ```python >>> my_data = {"key1": "value1", "key2": "value2"} >>> my_data {'key1': 'value1', 'key2': 'value2'} >>> import json >>> my_string = json.dumps(my_data) >>> my_string '{"key1": "value1", "key2": "value2"}' >>> my_new_data = json.loads(my_string) >>> my_new_data {'key1': 'value1', 'key2': 'value2'} ``` --- # Functions Let's deep dive into functions so we can understand the homework assignments and online practices. * A function is an executable statement. * Its execution binds the function name in the current local namespace to a function object * The function definition does not execute the function body; this gets executed only when the function is called. * Functions can have required and optional parameters with default values. * Function names must be unique within a given scope https://docs.python.org/3/tutorial/controlflow.html#defining-functions --- # Defining a function * The keyword `def` introduces a function definition. * It must be followed by the function name and the parenthesized list of formal parameters. The statements that form the body of the function start at the next line, and must be indented. The first statement of the function body can optionally be a string literal; this string literal is the function’s documentation string, or docstring. (More about docstrings can be found in the section Documentation Strings.) * There are tools which use docstrings to automatically produce online or printed documentation, or to let the user interactively browse through code; it’s good practice to include docstrings in code that you write, so make a habit of it. --- # Function to print a help menu help.py ```python def help(): print("To use this program, execute it with a python3.7+ interpreter") if __name__ == "__main__": help() h = help h() ``` ```bash $ python3 help.py To use this program, execute it with a python3.7+ interpreter To use this program, execute it with a python3.7+ interpreter ``` Yes! You can assign a function 'name' to a variable if you want. --- # Function with a parameter * Required parameters are listed in the paranthesis. * Multiple parameters must be comma separated. ```def import logging # create logger logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) def fib(n): first = 0 second = 1 for x in range(n): print(first) first, second = second, first+second if __name__ == "__main__": logging.debug("Calling fib(3)") fib(3) logging.debug("Calling fib(8)") fib(8) ``` --- # Output of fib ```bash $ python3 fib.py DEBUG: Calling fib(3) 0 1 1 DEBUG: Calling fib(8) 0 1 1 2 3 5 8 13 ``` --- # Multiple parameters Comma separated to allow multiple values to be passed into a function add_them.py ```python import logging # create logger logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) def add_them(first, second): return first + second if __name__ == "__main__": logging.debug("add_them(1, 2)") logging.debug(add_them(1, 2)) logging.debug("add_them(3, 4)") logging.debug(add_them(3, 4)) logging.debug("add_them(\"dog\", \"type\")") logging.debug(add_them("dog", "type")) ``` ```bash $ python3 add_them.py DEBUG: add_them(1, 2) DEBUG: 3 DEBUG: add_them(3, 4) DEBUG: 7 DEBUG: add_them("dog", "type") DEBUG: dogtype ``` --- # Optional Parameters hello_world.py ```python import logging # create logger logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) def hello_world(name=None): if not name: print("Hello, World!") else: print(f"Hello, {name}!") if __name__ == "__main__": logging.debug("No parameters.") hello_world() logging.debug("Explicit None") hello_world(None) logging.debug("Chris") hello_world('Chris') logging.debug("name=\"Mom\"") hello_world(name='Mom') ``` ```bash $ python3 hello_world.py DEBUG: No parameters. Hello, World! DEBUG: Explicit None Hello, World! DEBUG: Chris Hello, Chris! DEBUG: name="Mom" Hello, Mom! ``` --- # Mix and Match parrot.py ```python import logging # create logger def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'): print("-- This parrot wouldn't", action, end=' ') print("if you put", voltage, "volts through it.") print("-- Lovely plumage, the", type) print("-- It's", state, "!") if __name__ == "__main__": parrot(1000) # 1 positional argument parrot(voltage=1000) # 1 keyword argument parrot(voltage=1000000, action='VOOOOOM') # 2 keyword arguments parrot(action='VOOOOOM', voltage=1000000) # 2 keyword arguments parrot('a million', 'bereft of life', 'jump') # 3 positional arguments parrot('a thousand', state='pushing up the daisies') # 1 positional, 1 keyword #The following fail # parrot() # required argument missing # parrot(voltage=5.0, 'dead') # non-keyword argument after a keyword argument # parrot(110, voltage=220) # duplicate value for the same argument # parrot(actor='John Cleese') # unknown keyword argument ``` --- # Execute parrot.py ```bash $ python3 parrot.py -- This parrot wouldn't voom if you put 1000 volts through it. -- Lovely plumage, the Norwegian Blue -- It's a stiff ! -- This parrot wouldn't voom if you put 1000 volts through it. -- Lovely plumage, the Norwegian Blue -- It's a stiff ! -- This parrot wouldn't VOOOOOM if you put 1000000 volts through it. -- Lovely plumage, the Norwegian Blue -- It's a stiff ! -- This parrot wouldn't VOOOOOM if you put 1000000 volts through it. -- Lovely plumage, the Norwegian Blue -- It's a stiff ! -- This parrot wouldn't jump if you put a million volts through it. -- Lovely plumage, the Norwegian Blue -- It's bereft of life ! -- This parrot wouldn't voom if you put a thousand volts through it. -- Lovely plumage, the Norwegian Blue -- It's pushing up the daisies ! ``` --- # Returning values from a function add_them.py ```python import logging # create logger logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) def add_them(first, second): return first + second if __name__ == "__main__": logging.debug("add_them(1, 2)") logging.debug(add_them(1, 2)) logging.debug("add_them(3, 4)") logging.debug(add_them(3, 4)) logging.debug("add_them(\"dog\", \"type\")") logging.debug(add_them("dog", "type")) ``` ```bash $ python3 add_them.py DEBUG: add_them(1, 2) DEBUG: 3 DEBUG: add_them(3, 4) DEBUG: 7 DEBUG: add_them("dog", "type") DEBUG: dogtype ``` * Return values can be of any type * Return values can be None --- # Empty return statements are essentially None return_none.py ```python import logging # create logger logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) def return_none(): return None def empty_return(): return if __name__ == "__main__": a = return_none() logging.debug(a) b = empty_return() logging.debug(b) ``` ```bash $ python3 return_none.py DEBUG: None DEBUG: None ``` --- # Returning multiple values multiple_return.py ```python import logging # create logger logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.DEBUG) def return_multiple(): return 1, 2, 3 if __name__ == "__main__": logging.debug("All: ") a, b, c = return_multiple() logging.debug(a) logging.debug(b) logging.debug(c) logging.debug("only first") x, _, _ = return_multiple() logging.debug(x) logging.debug("what it does") d = return_multiple() logging.debug(d) ``` ```bash $ python3 multiple_return.py DEBUG: All: DEBUG: 1 DEBUG: 2 DEBUG: 3 DEBUG: only first DEBUG: 1 DEBUG: what it does DEBUG: (1, 2, 3) ``` --- # Errors and Exceptions * Syntax Errors * Exceptions --- # Syntax Errors Syntax errors, also known as parsing errors, are perhaps the most common kind of complaint you get while you are still learning Python: ```bash >>> >>> while True print('Hello world') File "
", line 1 while True print('Hello world') ^ SyntaxError: invalid syntax ``` The parser repeats the offending line and displays a little ‘arrow’ pointing at the earliest point in the line where the error was detected. The error is caused by (or at least detected at) the token preceding the arrow: in the example, the error is detected at the function print(), since a colon (':') is missing before it. File name and line number are printed so you know where to look in case the input came from a script. --- # Exceptions Even if a statement or expression is syntactically correct, it may cause an error when an attempt is made to execute it. Errors detected during execution are called exceptions and are not unconditionally fatal: you will soon learn how to handle them in Python programs. Most exceptions are not handled by programs, however, and result in error messages as shown here: ```python >>> 10 * (1/0) Traceback (most recent call last): File "
", line 1, in
ZeroDivisionError: division by zero >>> 4 + spam*3 Traceback (most recent call last): File "
", line 1, in
NameError: name 'spam' is not defined >>> '2' + 2 Traceback (most recent call last): File "
", line 1, in
TypeError: Can't convert 'int' object to str implicitly ``` --- # Handling Exceptions It is possible to write programs that handle selected exceptions. Look at the following example, which asks the user for input until a valid integer has been entered. ```python >>> while True: ... try: ... x = int(input("Please enter a number: ")) ... break ... except ValueError: ... print("Oops! That was no valid number. Try again...") ... ``` --- # fake_number.py ```python while True: try: x = int(input("Please enter a number: ")) break except ValueError: print("Oops! That was no valid number. Try again...") ``` ```bash $ python fake_number.py Please enter a number: asdf Oops! That was no valid number. Try again... Please enter a number: 333 ``` ```python $ python fake_number.py Please enter a number: alskdjf Oops! That was no valid number. Try again... Please enter a number: fdslakj Oops! That was no valid number. Try again... Please enter a number: ^CTraceback (most recent call last): File "fake_number.py", line 3, in
x = int(input("Please enter a number: ")) KeyboardInterrupt ``` * The user to interrupt the program (using Control-C or whatever the operating system supports); note that a user-generated interruption is signalled by raising the KeyboardInterrupt exception. --- # Can handle multiple Exception types ```python ... except (RuntimeError, TypeError, NameError): ... pass ``` ## Handle 'other' Exceptions ```python import sys try: f = open('myfile.txt') s = f.readline() i = int(s.strip()) except OSError as err: print("OS error: {0}".format(err)) except ValueError: print("Could not convert data to an integer.") except: print("Unexpected error:", sys.exc_info()[0]) raise ``` --- # Exception information ```python >>> try: ... raise Exception('spam', 'eggs') ... except Exception as inst: ... print(type(inst)) # the exception instance ... print(inst.args) # arguments stored in .args ... print(inst) # __str__ allows args to be printed directly, ... # but may be overridden in exception subclasses ... x, y = inst.args # unpack args ... print('x =', x) ... print('y =', y) ...
('spam', 'eggs') ('spam', 'eggs') x = spam y = eggs ``` --- # Clean up actions The try statement has another optional clause which is intended to define clean-up actions that must be executed under all circumstances. ```python >>> try: ... raise KeyboardInterrupt ... finally: ... print('Goodbye, world!') ... Goodbye, world! KeyboardInterrupt Traceback (most recent call last): File "
", line 2, in
``` --- # Command Line Arguments Common utility scripts often need to process command line arguments. These arguments are stored in the sys module’s argv attribute as a list. For instance the following output results from running ```bash $ python3 command_line.py one two three ``` command_line.py ```python import sys print(sys.argv) ``` at the command line: ```bash $ python3 command_line.py one two three ['command_line.py', 'one', 'two', 'three'] ``` `sys.argv` is a `list` representing the command line. `sys.argv[0]` == python file name `sys.argv[1+]` == optional, and other parameters --- # Jupyter Notebooks The Jupyter Notebook application allows you to create and edit documents that display the input and output of a Python language script. Once saved, you can share these files with others.
--- # Launch
* First few times I tried this it didn't work. I updated my Anaconda environment, restarted, and it worked. --- # Browse
* New -> Python3
You can 'rename' your notebook to be something... like `fib` which results in a file called `fib.ipynb` --- # HOMEWORK Due Wed, Sept 30, 11:59:59PM Eastern. In github: github.com/[yourname]/[yourrepo]/week6/fib.ipynb Submit in Canvas Make Three cells First cell, logging Second cell, Fibonacci function from before: `def fib(n)` from slides Third cell, ```python fib(2) fib(10) fib(20) ``` That's it!


Engage users with push notifications using Firebase API. It makes use of HTML5 Notification. Read More
Background Sync
Background sync is a new web API that lets you defer actions until the user has stable connectivity.  Read More
Service Worker
Runs separately from the main browser thread, intercepting network requests, caching or retrieving resources from the cache, and delivering push messages. Read More
Respond To Network Changes
Engage user even when there is no network. Read More


Menus are unique in that, by convention, they aren't placed with the other components in the UI. Instead, a menu usually appears either in a menu bar or as a popup menu. A menu bar contains one or more menus and has a customary, platform-dependent location — usually along the top of a window. A popup menu is a menu that is invisible until the user makes a platform-specific mouse action, such as pressing the right mouse button, over a popup-enabled component. The popup menu then appears under the cursor.
The following figure shows many menu-related components: a menu bar, menus, menu items, radio button menu items, check box menu items, and separators. As you can see, a menu item can have either an image or text, or both. You can also specify other properties, such as font and color.
The rest of this section teaches you about the menu components and tells you how to use various menu features:
MenuLookDemo.java
.
Other required files are listed in the
example index.
//Where the GUI is created: JMenuBar menuBar; JMenu menu, submenu; JMenuItem menuItem; JRadioButtonMenuItem rbMenuItem; JCheckBoxMenuItem cbMenuItem; //Create the menu bar. menuBar = new JMenuBar(); //Build the first menu. menu = new JMenu("A Menu"); menu.setMnemonic(KeyEvent.VK_A); menu.getAccessibleContext().setAccessibleDescription( "The only menu in this program that has menu items"); menuBar.add(menu); //a group of JMenuItems menuItem = new JMenuItem("A text-only menu item", KeyEvent.VK_T); menuItem.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_1, ActionEvent.ALT_MASK)); menuItem.getAccessibleContext().setAccessibleDescription( "This doesn't really do anything"); menu.add(menuItem); menuItem = new JMenuItem("Both text and icon", new ImageIcon("images/middle.gif")); menuItem.setMnemonic(KeyEvent.VK_B); menu.add(menuItem); menuItem = new JMenuItem(new ImageIcon("images/middle.gif")); menuItem.setMnemonic(KeyEvent.VK_D); menu.add(menuItem); //a group of radio button menu items menu.addSeparator(); ButtonGroup group = new ButtonGroup(); rbMenuItem = new JRadioButtonMenuItem("A radio button menu item"); rbMenuItem.setSelected(true); rbMenuItem.setMnemonic(KeyEvent.VK_R); group.add(rbMenuItem); menu.add(rbMenuItem); rbMenuItem = new JRadioButtonMenuItem("Another one"); rbMenuItem.setMnemonic(KeyEvent.VK_O); group.add(rbMenuItem); menu.add(rbMenuItem); //a group of check box menu items menu.addSeparator(); cbMenuItem = new JCheckBoxMenuItem("A check box menu item"); cbMenuItem.setMnemonic(KeyEvent.VK_C); menu.add(cbMenuItem); cbMenuItem = new JCheckBoxMenuItem("Another one"); cbMenuItem.setMnemonic(KeyEvent.VK_H); menu.add(cbMenuItem); //a submenu menu.addSeparator(); submenu = new JMenu("A submenu"); submenu.setMnemonic(KeyEvent.VK_S); menuItem = new JMenuItem("An item in the submenu"); menuItem.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_2, ActionEvent.ALT_MASK)); submenu.add(menuItem); menuItem = new JMenuItem("Another item"); submenu.add(menuItem); menu.add(submenu); //Build second menu in the menu bar. menu = new JMenu("Another Menu"); menu.setMnemonic(KeyEvent.VK_N); menu.getAccessibleContext().setAccessibleDescription( "This menu does nothing"); menuBar.add(menu); ... frame.setJMenuBar(theJMenuBar);
As the code shows,
to set the menu bar for a JFrame
,
you use the setJMenuBar
method.
To add a JMenu
to a JMenuBar
,
you use the add(JMenu)
method.
To add menu items and submenus to a JMenu
,
you use the add(JMenuItem)
method.
Other methods
in the preceding code include setAccelerator
and
setMnemonic
,
which are discussed a little later in
Enabling Keyboard Operation.
The setAccessibleDescription
method
is discussed in
How to Support Assistive Technologies.
JMenuItem
,
you can listen for action events
(just as you would for a
JButton
).
To detect when the user chooses a JRadioButtonMenuItem
,
you can listen for either action events or
item events,
as described in
How to Use Radio Buttons.
For JCheckBoxMenuItem
s,
you generally listen for item events,
as described in
How to Use Check Boxes.
Here is the code that implements the event handling:
public class MenuDemo ... implements ActionListener, ItemListener { ... public MenuDemo() { //...for each JMenuItem instance: menuItem.addActionListener(this); ... //for each JRadioButtonMenuItem: rbMenuItem.addActionListener(this); ... //for each JCheckBoxMenuItem: cbMenuItem.addItemListener(this); ... } public void actionPerformed(ActionEvent e) { //...Get information from the action event... //...Display it in the text area... } public void itemStateChanged(ItemEvent e) { //...Get information from the item event... //...Display it in the text area... }
A mnemonic is a key that
makes an already visible menu item be chosen.
For example, in MenuDemo
the first menu has the mnemonic A,
and its second menu item has the mnemonic B.
This means that, when you run MenuDemo
with the Java look and feel,
pressing the Alt and A keys makes
the first menu appear.
While the first menu is visible,
pressing the B key (with or without Alt)
makes the second menu item be chosen.
A menu item generally displays its mnemonic
by underlining the first occurrence of the mnemonic character
in the menu item's text,
as the following snapshot shows.
An accelerator is a key combination
that causes a menu item to be chosen,
whether or not it's visible.
For example, pressing the Alt and 2 keys in MenuDemo
makes the first item in the first menu's submenu be chosen,
without bringing up any menus.
Only leaf menu items — menus that don't bring up other menus —
can have accelerators.
The following snapshot shows how the Java look and feel
displays a menu item that has an accelerator.
You can specify a mnemonic either when constructing the menu item
or with the setMnemonic
method.
To specify an accelerator,
use the setAccelerator
method.
Here are examples of setting mnemonics and accelerators:
//Setting the mnemonic when constructing a menu item: menuItem = new JMenuItem("A text-only menu item", KeyEvent.VK_T); //Setting the mnemonic after creation time: menuItem.setMnemonic(KeyEvent.VK_T); //Setting the accelerator: menuItem.setAccelerator(KeyStroke.getKeyStroke( KeyEvent.VK_T, ActionEvent.ALT_MASK));
KeyEvent
constant corresponding to the key the user should press.
To specify an accelerator you must use a
KeyStroke
object,
which combines a key
(specified by a KeyEvent
constant)
and a modifier-key mask
(specified by an
ActionEvent
constant).
JPopupMenu
), you must register a mouse listener
on each component
that the popup menu should be associated with.
The mouse listener must detect
user requests that the popup menu be brought up.
The exact gesture that should bring up a popup menu varies by look and feel. In Microsoft Windows, the user by convention brings up a popup menu by releasing the right mouse button while the cursor is over a component that is popup-enabled. In the Java look and feel, the customary trigger is either pressing the right mouse button (for a popup that goes away when the button is released) or clicking it (for a popup that stays up).
//...where instance variables are declared: JPopupMenu popup; //...where the GUI is constructed: //Create the popup menu. popup = new JPopupMenu(); menuItem = new JMenuItem("A popup menu item"); menuItem.addActionListener(this); popup.add(menuItem); menuItem = new JMenuItem("Another popup menu item"); menuItem.addActionListener(this); popup.add(menuItem); //Add listener to components that can bring up popup menus. MouseListener popupListener = new PopupListener(); output.addMouseListener(popupListener); menuBar.addMouseListener(popupListener); ... class PopupListener extends MouseAdapter { public void mousePressed(MouseEvent e) { maybeShowPopup(e); } public void mouseReleased(MouseEvent e) { maybeShowPopup(e); } private void maybeShowPopup(MouseEvent e) { if (e.isPopupTrigger()) { popup.show(e.getComponent(), e.getX(), e.getY()); } } }
Popup menus have a few interesting implementation details. One is that every menu has an associated popup menu. When the menu is activated, it uses its associated popup menu to show its menu items.
Another detail is that a popup menu itself
uses another component
to implement the window containing the menu items.
Depending on the circumstances under which
the popup menu is displayed,
the popup menu might implement its "window" using
a lightweight component (such as a JPanel
),
a "mediumweight" component (such as a
Panel
),
or a heavyweight window (something that inherits from
Window
).
Lightweight popup windows are more efficient than
heavyweight windows but, prior to the
Java SE Platform 6 Update 12 release, they didn't work well
if you had any heavyweight components inside your GUI.
Specifically, when the lightweight popup's display area
intersects the heavyweight component's display area,
the heavyweight component is drawn on top.
This is one of the reasons that, prior to the 6u12 release,
we recommended against mixing heavyweight and lightweight components.
If you are using an older release and absolutely need to use a heavyweight
component in your GUI, then you can invoke
JPopupMenu.setLightWeightPopupEnabled(false)
to disable lightweight popup windows.
For information on mixing components in the 6u12 release and later, please see
Mixing Heavyweight and Lightweight Components.
Because menus are made up of ordinary Swing components,
you can easily customize them.
For example,
you can add any lightweight component
to a JMenu
or JMenuBar
.
And because JMenuBar
uses
BoxLayout
,
you can customize a menu bar's layout
just by adding invisible components to it.
Here is an example
of adding a glue component to a menu bar,
so that
the last menu is at the right edge of the menu bar:
//...create and add some menus... menuBar.add(Box.createHorizontalGlue()); //...create the rightmost menu... menuBar.add(rightMenu);
Here's the modified menu layout that MenuGlueDemo displays:
Another way of changing the look of menus
is to change the layout managers used to control them.
For example, you can change a menu bar's layout manager
from the default left-to-right BoxLayout
to something such as GridLayout
.
Here's a picture of the menu layout that MenuLayoutDemo
creates:
| Constructor or Method | Purpose |
|---|---|
| JMenuBar() | Creates a menu bar. |
| JMenu add(JMenu) | Adds the menu to the end of the menu bar. |
|
void setJMenuBar(JMenuBar) JMenuBar getJMenuBar() (in JApplet ,
JDialog ,
JFrame ,
JInternalFrame ,
JRootPane )
|
Sets or gets the menu bar of an applet, dialog, frame, internal frame, or root pane. |
| Constructor or Method | Purpose |
|---|---|
|
JMenu() JMenu(String) JMenu(Action) |
Creates a menu.
The string specifies the text to display for the menu.
The Action specifies the text
and other properties of the menu (see
How to Use Actions).
|
|
JMenuItem add(JMenuItem)
JMenuItem add(String) |
Adds a menu item to the current end of the menu.
If the argument is a string,
then the menu automatically creates a JMenuItem object
that displays the specified text.
Version Note: Before 1.3, the only way to associate an |
| void addSeparator() | Adds a separator to the current end of the menu. |
|
JMenuItem insert(JMenuItem, int)
void insert(String, int) void insertSeparator(int) |
Inserts a menu item or separator into the menu
at the specified position.
The first menu item is at position 0,
the second at position 1, and so on.
The JMenuItem
and String arguments are treated the same
as in the corresponding add methods.
|
|
void remove(JMenuItem) void remove(int) void removeAll() |
Removes the specified item(s) from the menu. If the argument is an integer, then it specifies the position of the menu item to be removed. |
| Constructor or Method | Purpose |
|---|---|
|
JPopupMenu() JPopupMenu(String) |
Creates a popup menu. The optional string argument specifies the title that a look and feel might display as part of the popup window. |
|
JMenuItem add(JMenuItem)
JMenuItem add(String) |
Adds a menu item to the current end of the popup menu.
If the argument is a string,
then the menu automatically creates a JMenuItem object
that displays the specified text.
Version Note: Before 1.3, the only way to associate an |
| void addSeparator() | Adds a separator to the current end of the popup menu. |
| void insert(Component, int) | Inserts a menu item into the menu
at the specified position.
The first menu item is at position 0,
the second at position 1, and so on.
The Component argument specifies
the menu item to add.
|
|
void remove(int) void removeAll() |
Removes the specified item(s) from the menu. If the argument is an integer, then it specifies the position of the menu item to be removed. |
| static void setLightWeightPopupEnabled(boolean) | By default, Swing implements a menu's window
using a lightweight component.
This can cause problems if you use any heavyweight components
in your Swing program,
as described in Bringing Up a Popup Menu.
(This is one of several reasons to avoid using heavyweight components.)
As a workaround, invoke
JPopupMenu.setLightWeightPopupEnabled(false) .
|
| void show(Component, int, int) | Display the popup menu at the specified x,y position (specified in that order by the integer arguments) in the coordinate system of the specified component. |
| Constructor or Method | Purpose |
|---|---|
|
JMenuItem() JMenuItem(String) JMenuItem(Icon) JMenuItem(String, Icon) JMenuItem(String, int) JMenuItem(Action) |
Creates an ordinary menu item.
The icon argument, if present,
specifies the icon that the menu item should display.
Similarly, the string argument
specifies the text that the menu item should display.
The integer argument specifies the keyboard mnemonic
to use. You can specify any of the relevant VK
constants defined in the
KeyEvent class.
For example, to specify the A key,
use KeyEvent.VK_A .
The constructor with the |
|
JCheckBoxMenuItem() JCheckBoxMenuItem(String) JCheckBoxMenuItem(Icon) JCheckBoxMenuItem(String, Icon) JCheckBoxMenuItem(String, boolean) JCheckBoxMenuItem(String, Icon, boolean) |
Creates a menu item that looks and acts like a check box.
The string argument, if any, specifies
the text that the menu item should display.
If you specify true for the boolean argument,
then the menu item is initially selected (checked).
Otherwise, the menu item is initially unselected.
|
|
JRadioButtonMenuItem() JRadioButtonMenuItem(String) JRadioButtonMenuItem(Icon) JRadioButtonMenuItem(String, Icon) JRadioButtonMenuItem(String, boolean) JRadioButtonMenuItem(Icon, boolean) JRadioButtonMenuItem(String, Icon, boolean) |
Creates a menu item that looks and acts like a radio button.
The string argument, if any, specifies
the text that the menu item should display.
If you specify true for the boolean argument,
then the menu item is initially selected.
Otherwise, the menu item is initially unselected.
|
|
void setState(boolean) boolean getState() (in JCheckBoxMenuItem )
|
Set or get the selection state of a check box menu item. |
| void setEnabled(boolean) | If the argument is true, enable the menu item. Otherwise, disable the menu item. |
| void setMnemonic(int) | Set the mnemonic that enables keyboard navigation to
the menu or menu item. Use one of the VK
constants defined in the KeyEvent class.
|
| void setAccelerator(KeyStroke) | Set the accelerator that activates the menu item. |
| void setActionCommand(String) | Set the name of the action performed by the menu item. |
|
void addActionListener(ActionListener) void addItemListener(ItemListener) |
Add an event listener to the menu item. See Handling Events from Menu Items for details. |
| void setAction(Action) | Set the Action
associated with the menu item.
See
How to Use Actions for details.
|
Many of the preceding methods are inherited from
AbstractButton .
See The Button API
for information about other useful methods
that AbstractButton provides.
|
| Example | Where Described | Notes |
|---|---|---|
MenuLookDemo
|
This section (Creating Menus) | A simple example that creates all kinds of menus except popup menus, but doesn't handle events from the menu items. |
MenuDemo
|
This section (Handling Events from Menu Items) | Adds event handling to MenuLookDemo .
|
PopupMenuDemo
|
This section (Bringing Up a Popup Menu) | Adds popup menus to MenuDemo .
|
MenuGlueDemo
|
This section (Customizing Menu Layout) | Demonstrates affecting menu layout by adding an invisible components to the menu bar. |
MenuLayoutDemo
|
This section (Customizing Menu Layout) | Implements sideways-opening menus arranged in a vertical menu bar. |
MenuSelectionManagerDemo
|
— | Adds highlight detection to MenuDemo.
To see this feature, click a menu and then move the mouse
over any menu item or submenu.
Once per second, the text area will be updated with information
about the currently highlighted menu item,
not to be confused with the menu item that the user
eventually chooses.
This demo uses the default
MenuSelectionManager , which tracks the state of the menu hierarchy.
|
ActionDemo
|
How to Use Actions | Uses Action objects to implement menu items
that duplicate functionality provided by tool bar buttons.
|
Framework
|
— | Brings up multiple identical frames, each with a menu in its menu bar. |
InternalFrameDemo
|
How to Use Internal Frames | Uses a menu item to create windows. |


If you are building a prediction engine, the most interesting package would be io.prediction.controller.java. You may also want to look at io.prediction.controller, as some functionalities, such as custom model persistence {@link io.prediction.controller.IPersistentModel}, are provided directly by that package.


Clear Close
© 2011 Ghostery, a part of EVIDON, Inc., 28 West 44th Street, Suite 800, New York, NY 10036


#include <openjpeg.h>
Data Fields | |
| OPJ_UINT32 | x0 |
| XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area. | |
| OPJ_UINT32 | y0 |
| YOsiz: vertical offset from the origin of the reference grid to the top side of the image area. | |
| OPJ_UINT32 | x1 |
| Xsiz: width of the reference grid. | |
| OPJ_UINT32 | y1 |
| Ysiz: height of the reference grid. | |
| OPJ_UINT32 | numcomps |
| number of components in the image | |
| OPJ_COLOR_SPACE | color_space |
| color space: sRGB, Greyscale or YUV | |
| opj_image_comp_t * | comps |
| image components | |
| OPJ_BYTE * | icc_profile_buf |
| 'restricted' ICC profile | |
| OPJ_UINT32 | icc_profile_len |
| size of ICC profile |
|
|
color space: sRGB, Greyscale or YUV
|
|
|
image components
|
|
|
'restricted' ICC profile
|
|
|
size of ICC profile
|
|
|
number of components in the image
|
|
|
XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area.
|
|
|
Xsiz: width of the reference grid.
|
|
|
YOsiz: vertical offset from the origin of the reference grid to the top side of the image area.
|
|
|
Ysiz: height of the reference grid.
|


§842-9 Evidence. In any proceeding ancillary to or in any civil action instituted by the State under this chapter the proceedings may be open or closed to the public at the discretion of the court after consideration of the rights of affected persons. [L 1972, c 71, pt of §2]


My previous experiences with drugs involved weed and shrooms. So when given the chance to try meth I jumped on it. I had acquired this from a friend.
I decided to do it on a weekend so I would not have to report to anyone. I layed out a line about 9:00 PM. It as long as the cap on a pen and rolled up a twenty dollar bill and snorted it. Immediately there was an intense burn and my eyes were on fire. I was showed before to inhale some water off your fingers to help it drain better so I did this. After about five minutes I felt a warm sensation all over my body and in my brain. I had not eaten anything and I was in a pretty good mood prior to this. My mood was enhanced x10 and I noticed my jaw clenching. All sensation of hunger had completely diminished to nothing.
I noticed that my senses had become sharper and my thoughts were racing. My heart was beating pretty hard to. Compared to ephedrine it was 100x better without the shaky feeling. This feeling lasted for around four or five hours with no real comedown. I decided to do another line around 3:00 AM anyway. This time there was an immediate rush and I felt even better than before.
Unlike other stimulants this one effected my mind alot.  I thought about how much I really enjoyed people and I realized how much I cared for my family and friends. Things that didn't really matter. I decided to go riding around. (Keep in mind that is three o'clock in the morning).  So I rode around till around 6:00 AM and still feeling very wired. My mind had pondered so many things so fast it was crazy.
I stayed like this well into the next day when I could feeling wearing off around 1:00 PM.  I decided to do what was left. The effects were rapid and very pleasing, the same as before. This last bump lasted till about 6:00 PM. I decided it was time to go to bed. But when I layed down I couldn't go to sleep because my mind was still racing and I couldn't slow it down. I realized how truly addictive this substance was because I would have given anything to feel better which really hurt my pride.

I decided after this experience that with all of its positive feelings that it wasn't worth it. Don't get me wrong this is an amazing substance but should be used with great caution. The negative aspect is its highly addictive. I would not even think about shooting it because of this. I am grateful to have been blessed with strong willpower.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


|
5MP Motion Camera
<IP_ADDRESS>
A waterproof, low power, battery operated, motion activated, 5 mega-pixel, WiFi camera.
|
Files | |
| file | ArduCAM_OV5642.cpp |
| file | ArduCAM_OV5642.hpp [code] |
| file | base64.cpp |
| file | base64.hpp [code] |
| file | feather_m0_sleep_wake_RCWL_0516.cpp |
| file | feather_m0_sleep_wake_RCWL_0516.hpp [code] |
| file | hardware_control.cpp |
| file | hardware_control.hpp [code] |
| file | http_post.cpp |
| file | http_post.hpp [code] |
| file | main.cpp |
| file | motion_camera_settings_generated.h [code] |
| file | read_battery.cpp |
| file | read_battery.hpp [code] |
| file | serial_debug_error.cpp |
| file | serial_debug_error.hpp [code] |
| file | wifi101_helper.cpp |
| file | wifi101_helper.hpp [code] |


LAN based Internet problem and th Raspberry Pi and solution
2014-07-02
- LAN based internet for Raspberry pi (RPi) is not on the go, the netsat, network interfaces has to be edited, and also based on the gateway of server it has to be changed
- The current case used server was TP-LINK MR3420, it is a single small board computer based 3G modem, wireless device, its gateway address is <IP_ADDRESS>. A 3G dongle connected with device and LAN from this device connected to RPi.
- The Ip address addition on SD card has to be <IP_ADDRESS>, and it is from other LAN connection to this wireless device having a similar address and gives automatically by the wireless device.
- Even with this, no internet was pinging, a possible cause would be DHCP was removed, and static gets invoked
for example, the
netstat -nr
will show up only theDestination Gateway Genmask Flags MSS Window irtt Iface <IP_ADDRESS> * <IP_ADDRESS> U 0 0 0 eth0
without UG flag from, that means no gateway, no way to access the internet.
the solution is to add following entries in
pi@raspberrypi ~ $ cat /etc/network/interfaces
auto lo iface lo inet loopback iface eth0 inet static address <IP_ADDRESS> netmask <IP_ADDRESS> gateway <IP_ADDRESS> allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
and in
pi@raspberrypi ~ $ cat /etc/resolv.conf DNS <IP_ADDRESS> nameserver <IP_ADDRESS>
and invoke
sudo /sbin/route add -net <IP_ADDRESS> gw <IP_ADDRESS> eth0 sudo /sbin/route add -net <IP_ADDRESS> gw <IP_ADDRESS> eth0
it makes three lines in netstat table with these gateway address, after this the google was getting pinged
Reference
- http://raspberrypi.stackexchange.com/questions/7624/setting-a-static-eth0-ip
- http://raspberrypi.stackexchange.com/questions/7146/static-local-ip-gateway-config-on-startup-issues
- http://www.soslug.org/wiki/getting_your_raspberry_pi_to_run_on_a_static_ip_with_internet
- http://www.penguintutor.com/linux/raspberrypi-webserver
- http://pihw.wordpress.com/guides/direct-network-connection/
- http://www.penguintutor.com/linux/raspberrypi-headless


To encode a message into an image, choose the image you want to use, enter your text and hit the Encode button.
Neither the image nor the message you hide will be at any moment transmitted over the web, all the magic happens within your browser.
To decode a hidden message from an image, just choose an image and hit the Decode button.


1 reference to DoGetHelp
System.Management.Automation (1)
help\HelpSystem.cs (1)
167
return this.
DoGetHelp
(helpRequest);


|
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
| def | create_from_options |
| def | __init__ |
| def | initialize_export |
| def | write_dict |
| def | finalize_export |
| Public Member Functions inherited from google.appengine.ext.bulkload.connector_interface.ConnectorInterface | |
| def | generate_import_record |
| def | initialize_export |
| def | write_dict |
| def | finalize_export |
Public Attributes | |
| template | |
| prolog | |
| epilog | |
| mode | |
| export_file_pointer | |
| bulkload_state | |
Static Public Attributes | |
| tuple | VALID_MODES = ('text', 'nonewline', 'binary') |
Write a text file from dicts for each record. Does not support import.
| def google.appengine.ext.bulkload.simpletext_connector.SimpleTextConnector.__init__ | ( | self, | |
| template, | |||
prolog = None , |
|||
epilog = None , |
|||
mode = 'text' , |
|||
name = '' |
|||
| ) |
Constructor. Args: template: A Python dict-interpolation string. prolog: written before the per-record output. epilog: written after the per-record output. mode: one of the following, default is 'text' text: text file mode, newlines between records. nonewline: text file mode, no added newlines. binary: binary file mode, no added newlines.
| def google.appengine.ext.bulkload.simpletext_connector.SimpleTextConnector.create_from_options | ( | cls, | |
| options, | |||
| name | |||
| ) |
Factory using an options dictionary. Args: options: Dictionary of options containing: template: A Python dict-interpolation string. Required. prolog: written before the per-record output. epilog: written after the per-record output. mode: one of the following, default is 'text' text: text file mode, newlines between records. nonewline: text file mode, no added newlines. binary: binary file mode, no added newlines. name: The name of this transformer, for use in error messages. Returns: SimpleTextConnector object described by the specified options. Raises: InvalidConfiguration: If the config is invalid.
| def google.appengine.ext.bulkload.simpletext_connector.SimpleTextConnector.finalize_export | ( | self | ) |
Write epliog and close file after every record is written.
| def google.appengine.ext.bulkload.simpletext_connector.SimpleTextConnector.initialize_export | ( | self, | |
| filename, | |||
| bulkload_state | |||
| ) |
Open file and write prolog.
| def google.appengine.ext.bulkload.simpletext_connector.SimpleTextConnector.write_dict | ( | self, | |
| dictionary | |||
| ) |
Write one record for the specified entity.


Welcome to the subway...
A new narrative adventure game following an unappreciated insurance agent who falls into a subterranean labyrinth when his subway commute goes awry.
Play onlineA game by Jeff Schomay and Joey Kendrick with music by Josh Cutler.
For more info contact Jeff


With the Smart Garden, your kitchen will be one step closer to having all your appliances controlled centrally. You can place the Garden in your kitchen or your living room, where the slick design will fit right in, regardless of surroundings.
Want to add sensors for monitoring plant growth or perhaps you want to add a fertilizing unit? The tank is suitable for modding for hobbyists or experts!
There is an extensive set of commands which you can use to communicate with the bot, and update the status of your Garden. You can say "Add basil" or "Remove basil" to either add or remove a plant of a specific species from your Garden.
The bot can also give you gardening information: write "Recommend me a plant" for the bot to recommend you a plant that suits the conditions of your Garden, or ask specifics about a plant such as "How do I use basil" for how to best use your plants.
The Garden will automatically control the light cycle, but you can override this if you wish to do so. You can for example tell the bot "Turn the lights off in 1 hour and a half" or if you want to set a daily cycle, you can write "Turn the lights on everyday at 6:42 and off at 19:49".
"Now growing plants is easy, even for an average guy like me!"
"Thanks to Smart Garden, I no longer have to worry about my plants when I'm performing!"
"Never before has my food been so flavoursome! Smart Garden grows the best herbs!"
"Turn the lights on in 10 minutes"
"Turn the lights off in 1 hour and a half"
"Turn the lights off in 1 and a quarter hours"
"Turn the lights on everyday at 9am and off at 6pm"
"Turn the lights on everyday at 6:42 and off at 19:49"
"Turn the lights on everday at 8:43am and off at 20:00"
"Turn the lights on daily at 9am for 10 hours"
"Turn the lights on daily at 9:32 for 9 hours"
"Turn the lights on everyday at 8am for 90 minutes"
Whether it's basil, thyme or coriander you'll be able to grow it all at home. The people behind Smart Garden are just as keen to use the plant bed as you are. As time goes by, more and more plant species will be added to the options.


__________________________________________________________________________________________________________________________________________________________________________________
We are a group of girls passionate about healthy lifestyle, affordable prices and saving our planet.
Proudly presented by:


In today’s fast-fashion world, how could we make AEO’s latest ripped
jeans collection stand out from the competition while allowing youths to stay unique?
1. First, we sent the AEO Live Express Truck to major shopping areas, equipped with a State-of-the-Art Voice Recognition System.
2.
3. Recordings were immediately turned into original tattoo designs that reflect and celebrate their unique personalities.
4. Finally, people shared their newly designed looks on social media!
Thousands of customised designs were created and a brand new denim trend was born.
Best of all, the sell-through rate of AEO’s destroyed denim line was over 85%.


Kloud Konsole's open source web client connects to your AWS account directly, We do no send or store any data on our backend. Kloud Konsole uses AWS cognito (of your AWS account) to secure the connections to AWS
No coding or cloud computing knowledge required, all you need is setup an accout with Kloud Konsole and tell Kloud Konsole how to connect to your AWS account.
mail forwarding is a common approach to read AWS SES mail on mail client such as Gmail. This approach comes with compromises such as mail content modification, messy mail handling (forward to multiple mailboxes), silence failure due to attachment oversize issue...


IDL source Global index
typedef sequence<CapeLong> CapeLongSequence;
Sequence Definition for the CapeLong type.