Boston Itinerary Map
Day 1 "The Arrival"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 2 "Lets Go Buggl"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 3 "To the Mayor"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 4 "Around the City Park"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 5 "Wonderland"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 6 "Meet the C"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 7 "Underground Tunnel"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 8 'Goodbye Party"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 9 "Another Goodbye Party"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.
Day 10 "Bye Bye Bye"
Encompassing $363 billion, the Greater Boston metropolitan area has the sixth-largest economy in the country and 12th-largest in the world.
Boston's colleges and universities have a significant effect on the regional economy, with students contributing an estimated $4.8 billion annually to the city's economy. Boston's schools are major employers and attract industries to the city and surrounding region. Boston is home to a number of technology companies and is a hub for biotechnology, with the Milken Institute rating Boston as the top life sciences cluster in the country. Boston also receives the highest absolute amount of annual funding from the National Institutes of Health of all cities in the United States.


--- layout: post date: 2008-12-19 time: "09:00:00" authors: ["Greg Wilson"] title: Google Pulls the Plug on Scientific Data Sharing Project tags: ["Noticed"] ---
Google has decided not to launch its scientific data sharing service — another victim of the recession, I suppose. Bummer :-(


Create your own Low-Fi Videos
Health Education Series workshop
Presented by the FHS Education Development Team
What is Low-Fi video?
- Content made using straight-forward, simple techniques
- Quick and easy to produce
- Not necessarily perfect
Consider the purpose of your videos
- Shorter videos are more engaging (and easier to re-make if necessary)
- Prepare and plan what you will say and how you will show this in the video
- Be natural, be yourself and speak with enthusiasm
Making engaging content
- Educational videos work best when they address a finite concept or skill.
- Implement diagrams, animations and visual imagery in addition to text.
- Support what you show with what you say.
Sample video plan
- Hook
- Introduce the issue/sample problem
- Solve sample problem
- Quick wrap-up
Recording high quality AUDIO is
important
Viewers will tune out if they cannot hear you.
When recording, do so in a controlled, closed environment.
Equipment
A USB microphone is desirable.
Test audio quality prior to recording.
If filming, consider lighting.
Ink2Go
OpenBoard


| Struts 2 > Downloading and installing WebWork |
For this lesson, you need to have a Servlet container set up and know how to create a web application. If you don't, we suggest you learn about Apache Tomcat, which is a free Servlet container from the Apache Jakarta Project, or Resin, from Caucho Technology, which is free for noncommercial use.
| Notation Throughout these lessons, we'll assume that your web application root is the directory [webapp], and that your Java source files are kept in [src]. |
To install WebWork in a web application:
[the tomcat root directory] \|_webapps \|_webwork-lessons \|_WEB-INF \|_classes \|_lib
| Filename | Description |
|---|---|
| xwork.jar | XWork library on which WebWork is built |
| oscore.jar | OSCore, a general-utility library from OpenSymphony |
| ongl.jar | Object Graph Navigation Language (OGNL), the expression language used throughout WebWork |
| velocity-dep.jar | Velocity library with dependencies |
| commons-logging.jar | Commons logging, which WebWork uses to support transparently logging to either Log4J or JDK 1.4+ |
| javamail by sun | for mail |
| rife-continuations by rife | for continuations feature |
| web.xml | J2EE web application configuration file that defines the servlets, JSP tag libraries, and so on for your web application |
| xwork.xml | WebWork configuration file that defines the actions, results, and interceptors for your application |
| WebWork jar name If you have a later version of WebWork than 2.1.7, the WebWork jar will not be named webwork-2.2.jar. Be sure to replace all occurrences of this jar's name below with the name of the jar you are using. |
Create the following web.xml file in [webapp]/WEB-INF. If you already have a web.xml file, just add the content of the <web-app> tag below to your existing <web-app> tag.
<?xml version="1.0"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>My WebWork Application</display-name> <servlet> <servlet-name>webwork</servlet-name> <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>webwork</servlet-name> <url-pattern>*.action</url-pattern> </servlet-mapping> <taglib> <taglib-uri>webwork</taglib-uri> <taglib-location>/WEB-INF/lib/webwork-2.2.jar</taglib-location> </taglib> </web-app>
This registers ServletDispatcher as a servlet, and maps it to the suffix *.action.
Read more: web.xml
Create the following file xwork.xml in [webapp]/WEB-INF/classes/.
<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://www.opensymphony.com/xwork/xwork-1.0.dtd"> <xwork> <!-- Include webwork defaults (from WebWork JAR). --> <include file="webwork-default.xml" /> <!-- Configuration for the default package. --> <package name="default" extends="webwork-default"> </package> </xwork>
For now, this xwork.xml does only two things:
Read more: struts.xml
Create a file validators.xml in [webapp]/WEB-INF/classes/ with the following content:
<validators> <validator name="required" class="com.opensymphony.xwork.validator.validators.RequiredFieldValidator"/> <validator name="requiredstring" class="com.opensymphony.xwork.validator.validators.RequiredStringValidator"/> <validator name="int" class="com.opensymphony.xwork.validator.validators.IntRangeFieldValidator"/> <validator name="date" class="com.opensymphony.xwork.validator.validators.DateRangeFieldValidator"/> <validator name="expression" class="com.opensymphony.xwork.validator.validators.ExpressionValidator"/> <validator name="fieldexpression" class="com.opensymphony.xwork.validator.validators.FieldExpressionValidator"/> <validator name="email" class="com.opensymphony.xwork.validator.validators.EmailValidator"/> <validator name="url" class="com.opensymphony.xwork.validator.validators.URLValidator"/> <validator name="visitor" class="com.opensymphony.xwork.validator.validators.VisitorFieldValidator"/> <validator name="conversion" class="com.opensymphony.xwork.validator.validators.ConversionErrorFieldValidator"/> </validators>
This file defines the validators used, for example, for validating html form fields.
Read more: Validation


Loading...
Settings
Keyboard layout
This must be eqequal to the the keyboard layout set on the host.
Sticky mod keys
This is recommended for single touch devices. It will keep modifier keys (e.g. ctrl) pressed until the next non-modifier key or the same modifier key is clicked again.
Credits
Favicon made by
Dave Gandy
from
www.flaticon.com
is licensed by
CC 3.0 BY
.
Save


Class to build ReadEntry Intent
Methods
- A
Constants
| READ_ENTRY_INTENTS | = | [ '{Read} {Log} for {Day}', 'Get {Entry} for {Day}', 'Give me {Entry} for {Day}', 'What happened on {Day}', '{Read} {Day}' ].freeze |
Instance Public methods
add()
Link
Source: show
# File app/speech_assets/intents/read_entry_intent_builder.rb, line 13 def add add_slot(:Day, AlexaGenerator::Slot::SlotType::DATE) add_slot(:Read, :READ) do |slot| slot.add_bindings(SlotSamples::READ_SLOTS) end add_slot(:Log, :LOG) do |slot| slot.add_bindings(SlotSamples::LOG_SLOTS) end add_slot(:Entry, :ENTRY) do |slot| slot.add_bindings(SlotSamples::ENTRY_SLOTS) end add_intents(READ_ENTRY_INTENTS) end


Jay Hughes Photography
Home
Gallery
Contact
Jay Hughes Photography
This is a small description about photographer
Submit
Albums
‹
›
×


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
P
R
S
T
U
V
W
X
S
SaveGame
- Class in
editor
SaveGame(DataController)
- Constructor for class editor.
SaveGame
saveGame()
- Method in class gameEngine.
Engine
saveGame()
- Method in interface interfaces.
IEngine
saveGame()
- Method in class usecases.
EngineObject
ScenesData
- Class in
editor.tabData
ScenesData()
- Constructor for class editor.tabData.
ScenesData
ScenesTab
- Class in
editor.tabs
ScenesTab()
- Constructor for class editor.tabs.
ScenesTab
Selected
- Class in
gamePlayer
Selected(Player)
- Constructor for class gamePlayer.
Selected
selectedDisplay()
- Method in class gamePlayer.
HUD
SellTowerRequest
- Class in
gameEngine.requests
SellTowerRequest(Tower)
- Constructor for class gameEngine.requests.
SellTowerRequest
setAttribute(String, double)
- Method in class units.
Unit
setAttribute(String, String)
- Method in class units.
Unit
setBackgroundMap(Image)
- Method in class gamePlayer.
Map
setData(ITabData)
- Method in class editor.tabs.
BulletsTab
setData(ITabData)
- Method in class editor.tabs.
GameTab
setData(ITabData)
- Method in interface editor.tabs.
ITab
setData(ITabData)
- Method in class editor.tabs.
LevelsTab
setData(ITabData)
- Method in class editor.tabs.
PathsTab
setData(ITabData)
- Method in class editor.tabs.
PlayerTab
setData(ITabData)
- Method in class editor.tabs.
ScenesTab
setData(ITabData)
- Method in class editor.tabs.
TowersTab
setData(ITabData)
- Method in class editor.tabs.
TroopsTab
setFaction(Faction)
- Method in class units.
Unit
setFramePerSecond(int)
- Method in class gameEngine.
GameConfiguration
setGameName(String)
- Method in class gameEngine.environments.
Environment
setHealth(double)
- Method in class units.
Unit
setHeight(double)
- Method in class gamePlayer.
HUD
setHeight(double)
- Method in interface gamePlayer.
IViewNode
setHeight(double)
- Method in class gamePlayer.
Map
setHeight(double)
- Method in class gamePlayer.
Menus
setHeight(double)
- Method in class gamePlayer.
Store
setHeight(double)
- Method in class gamePlayer.
StoreManager
setHeight(double)
- Method in class gamePlayer.
TabManager
setHelpPage(String)
- Method in class units.
Game
setID(int)
- Method in class units.
Unit
setLevel(String)
- Method in class units.
PlayerInfo
setLevels(List<Level>)
- Method in class gameEngine.environments.
Environment
setLives(int)
- Method in class units.
PlayerInfo
setMoney(int)
- Method in class units.
PlayerInfo
setMyConfig(GameConfiguration)
- Method in class gameEngine.environments.
Environment
setPaths(List<Path>)
- Method in class gameEngine.environments.
Environment
setPlayerInfo(PlayerInfo)
- Method in class gameEngine.environments.
Environment
setPoint(Point)
- Method in class units.
Unit
setRule(String, Rule)
- Method in class units.
Unit
setRules(List<Rule>)
- Method in class gameEngine.environments.
Environment
setStock(HashMap<String, List<Unit>>)
- Method in class gamePlayer.
Store
setStock(HashMap<String, List<Unit>>)
- Method in class gamePlayer.
StoreManager
setTarget(Point)
- Method in class units.
Bullet
setTitle(String)
- Method in class units.
Game
setTowerType(List<Unit>)
- Method in class gameEngine.environments.
Environment
setTroopType(List<Unit>)
- Method in class gameEngine.environments.
Environment
setType(UnitType)
- Method in class units.
Unit
setUp()
- Method in class gameEngineTests.
MapManagerTest
setWidth(double)
- Method in class gamePlayer.
HUD
setWidth(double)
- Method in interface gamePlayer.
IViewNode
setWidth(double)
- Method in class gamePlayer.
Map
setWidth(double)
- Method in class gamePlayer.
Menus
setWidth(double)
- Method in class gamePlayer.
Store
setWidth(double)
- Method in class gamePlayer.
StoreManager
setWidth(double)
- Method in class gamePlayer.
TabManager
ShootAction
- Class in
actions
ShootAction(Bullet, double)
- Constructor for class actions.
ShootAction
showLose()
- Method in class gamePlayer.
Player
showLose()
- Method in interface interfaces.
IPlayer
showLose()
- Method in class usecases.
PlayerObject
showPaths(List<Path>)
- Method in class controller.
Controller
showPaths(List<Path>)
- Method in class gamePlayer.
Map
showPaths(List<Path>)
- Method in class gamePlayer.
Player
showWin()
- Method in class gamePlayer.
Player
showWin()
- Method in interface interfaces.
IPlayer
showWin()
- Method in class usecases.
PlayerObject
spawnNewEnemy()
- Method in class gameEngine.
MapManager
start(Stage)
- Method in class
Main
startup
- package startup
Startup
- Class in
startup
Startup(Stage)
- Constructor for class startup.
Startup
startWave(int)
- Method in class controller.
Controller
startWave(int)
- Method in class gameEngine.
Engine
startWave(Level, List<Path>)
- Method in class gameEngine.
MapManager
startWave(int)
- Method in class gamePlayer.
Player
startWave(int)
- Method in interface interfaces.
IEngine
startWave(int)
- Method in class usecases.
EngineObject
Store
- Class in
gamePlayer
Store(Player)
- Constructor for class gamePlayer.
Store
StoreButton
- Class in
gamePlayer
StoreButton(String, ImageView, Unit)
- Constructor for class gamePlayer.
StoreButton
StoreManager
- Class in
gamePlayer
StoreManager(Player, Store)
- Constructor for class gamePlayer.
StoreManager
A
B
C
D
E
F
G
H
I
L
M
P
R
S
T
U
V
W
X
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


§196-3 Energy resources coordinator. The director of business, economic development, and tourism shall serve as energy resources coordinator. [L 1974, c 237, §3; am L 1978, c 136, §1; am L 1991, c 31, §1]


Welcome to Image-Coder, an easy-to-use sandbox for programmatic pixel-based image manipulation! Please see the wiki page at GitHub for information and code examples.


Home
Community News
CSS Globe
Search this site
Search
Page Not Found
Sorry, the page you requested does not exist.


Your browser does not support the video tag.
Start
A visual adaptaion of the Radiolab Extra episode: "Henrietta Lacks"
by Alexis Arnold


@PreviewFeature
.
A preview feature is a new feature of the Java language, Java Virtual Machine, or Java SE API that is fully specified, fully implemented, and yet impermanent. The notion of a preview feature is defined in JEP 12.
If a code depends on a preview feature it might stop compiling in the future JDK versions if the feature get no positive feedback and, hence, it either gets removed or changed.
It's enabled only if the language level of the current project is a preview one.
New in 2021.1


Goodbye my big brother
大师兄柯均唐今天离开学校即将飞往深圳某实验室开启博士后生涯。虽然组里老早已经举办过欢送聚餐活动，但这一天来临的时候，内心还是有一些失落与诸多不舍。 我第一次见到大师兄时，当时他是袁晓军老师线性代数的助教，我和室友老韩虽然被分到其它助教班上，但却总跑来上大师兄的习题课。大师兄讲解问题总是一针见血直击要害，这点在以后听他讲组会时也能感受到。
后来有幸到廖老师组内，对大师兄有了更多的了解。大师兄最大的爱好似乎就是科研了，但凡组里某同学提到某个问题或方法，大师兄总能接上一句“这个方法/问题/论文，我之前研究过/看过”。以前组里几个同学闲聊毕业去向时，他说“我其实觉得去哪都行，只要能提供一个安心看论文的地方，哪怕国家分配我去新疆西藏我也乐意”。
第二个爱好可能是研究马列毛等文学著作吧，除了专业书籍论文以外，桌上还有《毛泽东选集》，《邓小平文选》，《反杜林论》，《美国反对美国》，《国家与革命》等等书籍。我曾经耳边一度响起马云语录“办公室里放很多书，十个里面有八个是骗子”，直到与大师兄坐而论道时被按在地上碾压才明白了什么叫”共产主义学者“。
第三个爱好可能时传播红色思想了，大师兄虽然不是党员，但却比党员还党员。我时不时都能收到大师兄的微信”骚扰“，从雍正王朝的”整顿吏治“到红军长征”南下北上之争“,全方位无死角的灌输红色思想。最后大师兄毕业前还带我入门篮球，”钢铁的意志需要钢铁的身体作为支撑“。
第四个爱好应该就是打篮球了吧，”无解后仰跳投“是大师兄的招牌动作，在他的个人主页，头像就是一张跳投照片。网站里有部分大师兄的论文，欢迎各位大佬多多引用。 最近大师兄可能又多了一个爱好，带着组里学妹逛街喝奶茶。
“坐得起冷板凳，才能做得了钢铁侠”大师兄完美诠释了江校长的开学寄语。对于科研能力方面，大师兄总是把这归功于上科大/廖老师营造的舒适科研氛围。在红色思想方面，大师兄说多读书就不会被歪门邪道所欺骗。千言万语杂乱无章，如果硬要浓缩一下，那就是“大师兄牛逼，祝大师兄越来越六”！
powered by google translate
Big brother Ke Juntang left school today and is about to fly to a laboratory in Shenzhen to start his postdoctoral career. Although the group had already held farewell dinners a long time ago, when this day came, there were still a lot of disappointments in my heart.
When I first met the big brother, he was the TA of linear algebra . Although my roommate and I were assigned to other TA’s classes, we always take exercise classes of Tang. Tang’s explanation of the problem always hits the key point directly, and this will also be felt when listening to him in the group meeting in the future.
Later, I was fortunate to be in Teacher Liao’s group and learn more about the big brother. Tang’s biggest hobby seems to be scientific research. When a student in the group mentions a certain problem or method, he can always commnened”This method/question/thesis, I have studied/read it before”. When several classmates in the previous group talk about their graduation whereabouts, he said, “Actually I think I can go anywhere. As long as I was provided a quiet place to read the paper, even if the state assigns me to Xinjiang and Tibet, I am happy.”
The second hobby might be to study Marxism-Leninism-Mao and other literary works. In addition to professional books and papers, there are “Selected Works of Mao Zedong”, “Selected Works of Deng Xiaoping”, “Anti-Duhring Theory”, “U.S. Against America”, “Country and “Revolution” and other books. I once heard Ma Yun’s quotation “There are many books in the office, and eight out of ten are liars.” I didn’t understand what a “communist scholar” was until I meet my big brother.
The third hobby may be to spread communism. Although he is not a CCP member, he is more like a party member than any other party member. From time to time, I can receive “harassment” from Tang on WeChat, from the Yongzheng dynasty’s “rectification of officials” to the Red Army’s Long March “scramble between north and south”, instilling red thoughts in all directions without dead ends. In the last days, the big teach me to play basketball before graduation. “The will of steel needs the support of steel body.”
The fourth hobby should be playing basketball. “Unresolved back jumper” is the signature action of the big brother. On his personal homepage, his profile picture is just a jump shot. There are some essays by tang on the website, and you are welcome to quote them.
Recently, the elder brother may have another hobby, taking Feng to go shopping and drink milk tea.
“You can be an Iron Man if you can sit on a cold bench.” Tang perfectly explained President Jiang’s opening message. In terms of scientific research ability, the big brother always attributes this to the comfortable scientific research atmosphere created by Shanghai University of Science and Technology/Prof. liao. In terms of red thoughts, the big brother said that if you read enought books, you will not be deceived by crooked ideas. My words are messy and disorganized. If insist on condensing it, it is “The big brother is awesome, I wish you getting better day by day”!


--- layout: products title: Products category: products ---
Here are some of the products I worked on.


# -*- coding: utf-8 -*-
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Functions related to Python runtime introspection."""
from __future__ import (absolute_import, division, print_function,
unicode_literals)
import inspect
import sys
import types
from ..extern import six
__all__ = ['resolve_name', 'minversion', 'find_current_module',
'isinstancemethod']
__doctest_skip__ = ['find_current_module']
[docs]def resolve_name(name):
"""Resolve a name like ``module.object`` to an object and return it.
This ends up working like ``from module import object`` but is easier
to deal with than the `__import__` builtin and supports digging into
submodules.
Parameters
----------
name : `str`
A dotted path to a Python object--that is, the name of a function,
class, or other object in a module with the full path to that module,
including parent modules, separated by dots. Also known as the fully
qualified name of the object.
Examples
--------
>>> resolve_name('astropy.utils.introspection.resolve_name')
<function resolve_name at 0x...>
Raises
------
`ImportError`
If the module or named object is not found.
"""
# Note: On python 2 these must be str objects and not unicode
parts = [str(part) for part in name.split('.')]
if len(parts) == 1:
# No dots in the name--just a straight up module import
cursor = 1
attr_name = str('') # Must not be unicode on Python 2
else:
cursor = len(parts) - 1
attr_name = parts[-1]
module_name = parts[:cursor]
while cursor > 0:
try:
ret = __import__(str('.'.join(module_name)), fromlist=[attr_name])
break
except ImportError:
if cursor == 0:
raise
cursor -= 1
module_name = parts[:cursor]
attr_name = parts[cursor]
ret = ''
for part in parts[cursor:]:
try:
ret = getattr(ret, part)
except AttributeError:
raise ImportError(name)
return ret
[docs]def minversion(module, version, inclusive=True, version_path='__version__'):
"""
Returns `True` if the specified Python module satisfies a minimum version
requirement, and `False` if not.
By default this uses `pkg_resources.parse_version` to do the version
comparison if available. Otherwise it falls back on
`distutils.version.LooseVersion`.
Parameters
----------
module : module or `str`
An imported module of which to check the version, or the name of
that module (in which case an import of that module is attempted--
if this fails `False` is returned).
version : `str`
The version as a string that this module must have at a minimum (e.g.
``'0.12'``).
inclusive : `bool`
The specified version meets the requirement inclusively (i.e. ``>=``)
as opposed to strictly greater than (default: `True`).
version_path : `str`
A dotted attribute path to follow in the module for the version.
Defaults to just ``'__version__'``, which should work for most Python
modules.
Examples
--------
>>> import astropy
>>> minversion(astropy, '0.4.4')
True
"""
if isinstance(module, types.ModuleType):
module_name = module.__name__
elif isinstance(module, six.string_types):
module_name = module
try:
module = resolve_name(module_name)
except ImportError:
return False
else:
raise ValueError('module argument must be an actual imported '
'module, or the import name of the module; '
'got {0!r}'.format(module))
if '.' not in version_path:
have_version = getattr(module, version_path)
else:
have_version = resolve_name('.'.join([module.__name__, version_path]))
try:
from pkg_resources import parse_version
except ImportError:
from distutils.version import LooseVersion as parse_version
if inclusive:
return parse_version(have_version) >= parse_version(version)
else:
return parse_version(have_version) > parse_version(version)
[docs]def find_current_module(depth=1, finddiff=False):
"""
Determines the module/package from which this function is called.
This function has two modes, determined by the ``finddiff`` option. it
will either simply go the requested number of frames up the call
stack (if ``finddiff`` is False), or it will go up the call stack until
it reaches a module that is *not* in a specified set.
Parameters
----------
depth : int
Specifies how far back to go in the call stack (0-indexed, so that
passing in 0 gives back `astropy.utils.misc`).
finddiff : bool or list
If False, the returned ``mod`` will just be ``depth`` frames up from
the current frame. Otherwise, the function will start at a frame
``depth`` up from current, and continue up the call stack to the
first module that is *different* from those in the provided list.
In this case, ``finddiff`` can be a list of modules or modules
names. Alternatively, it can be True, which will use the module
``depth`` call stack frames up as the module the returned module
most be different from.
Returns
-------
mod : module or None
The module object or None if the package cannot be found. The name of
the module is available as the ``__name__`` attribute of the returned
object (if it isn't None).
Raises
------
ValueError
If ``finddiff`` is a list with an invalid entry.
Examples
--------
The examples below assume that there are two modules in a package named
``pkg``. ``mod1.py``::
def find1():
from astropy.utils import find_current_module
print find_current_module(1).__name__
def find2():
from astropy.utils import find_current_module
cmod = find_current_module(2)
if cmod is None:
print 'None'
else:
print cmod.__name__
def find_diff():
from astropy.utils import find_current_module
print find_current_module(0,True).__name__
``mod2.py``::
def find():
from .mod1 import find2
find2()
With these modules in place, the following occurs::
>>> from pkg import mod1, mod2
>>> from astropy.utils import find_current_module
>>> mod1.find1()
pkg.mod1
>>> mod1.find2()
None
>>> mod2.find()
pkg.mod2
>>> find_current_module(0)
<module 'astropy.utils.misc' from 'astropy/utils/misc.py'>
>>> mod1.find_diff()
pkg.mod1
"""
frm = inspect.currentframe()
for i in range(depth):
frm = frm.f_back
if frm is None:
return None
if finddiff:
currmod = inspect.getmodule(frm)
if finddiff is True:
diffmods = [currmod]
else:
diffmods = []
for fd in finddiff:
if inspect.ismodule(fd):
diffmods.append(fd)
elif isinstance(fd, six.string_types):
diffmods.append(__import__(fd))
elif fd is True:
diffmods.append(currmod)
else:
raise ValueError('invalid entry in finddiff')
while frm:
frmb = frm.f_back
modb = inspect.getmodule(frmb)
if modb not in diffmods:
return modb
frm = frmb
else:
return inspect.getmodule(frm)
def find_mod_objs(modname, onlylocals=False):
""" Returns all the public attributes of a module referenced by name.
.. note::
The returned list *not* include subpackages or modules of
``modname``, nor does it include private attributes (those that
begin with '_' or are not in `__all__`).
Parameters
----------
modname : str
The name of the module to search.
onlylocals : bool or list of str
If `True`, only attributes that are either members of ``modname`` OR
one of its modules or subpackages will be included. If it is a list
of strings, those specify the possible packages that will be
considered "local".
Returns
-------
localnames : list of str
A list of the names of the attributes as they are named in the
module ``modname`` .
fqnames : list of str
A list of the full qualified names of the attributes (e.g.,
``astropy.utils.introspection.find_mod_objs``). For attributes that are
simple variables, this is based on the local name, but for functions or
classes it can be different if they are actually defined elsewhere and
just referenced in ``modname``.
objs : list of objects
A list of the actual attributes themselves (in the same order as
the other arguments)
"""
__import__(modname)
mod = sys.modules[modname]
if hasattr(mod, '__all__'):
pkgitems = [(k, mod.__dict__[k]) for k in mod.__all__]
else:
pkgitems = [(k, mod.__dict__[k]) for k in dir(mod) if k[0] != '_']
# filter out modules and pull the names and objs out
ismodule = inspect.ismodule
localnames = [k for k, v in pkgitems if not ismodule(v)]
objs = [v for k, v in pkgitems if not ismodule(v)]
# fully qualified names can be determined from the object's module
fqnames = []
for obj, lnm in zip(objs, localnames):
if hasattr(obj, '__module__') and hasattr(obj, '__name__'):
fqnames.append(obj.__module__ + '.' + obj.__name__)
else:
fqnames.append(modname + '.' + lnm)
if onlylocals:
if onlylocals is True:
onlylocals = [modname]
valids = [any([fqn.startswith(nm) for nm in onlylocals]) for fqn in fqnames]
localnames = [e for i, e in enumerate(localnames) if valids[i]]
fqnames = [e for i, e in enumerate(fqnames) if valids[i]]
objs = [e for i, e in enumerate(objs) if valids[i]]
return localnames, fqnames, objs
# Note: I would have preferred call this is_instancemethod, but this naming is
# for consistency with other functions in the `inspect` module
[docs]def isinstancemethod(cls, obj):
"""
Returns `True` if the given object is an instance method of the class
it is defined on (as opposed to a `staticmethod` or a `classmethod`).
This requires both the class the object is a member of as well as the
object itself in order to make this determination.
Parameters
----------
cls : `type`
The class on which this method was defined.
obj : `object`
A member of the provided class (the membership is not checked directly,
but this function will always return `False` if the given object is not
a member of the given class).
Examples
--------
>>> from astropy.extern import six
>>> class MetaClass(type):
... def a_classmethod(cls): pass
...
>>> @six.add_metaclass(MetaClass)
... class MyClass(object):
... __metaclass__ = MetaClass
... def an_instancemethod(self): pass
... @classmethod
... def another_classmethod(cls): pass
... @staticmethod
... def a_staticmethod(): pass
...
>>> isinstancemethod(MyClass, MyClass.a_classmethod)
False
>>> isinstancemethod(MyClass, MyClass.another_classmethod)
False
>>> isinstancemethod(MyClass, MyClass.a_staticmethod)
False
>>> isinstancemethod(MyClass, MyClass.an_instancemethod)
True
"""
return _isinstancemethod(cls, obj)
if six.PY3:
def _isinstancemethod(cls, obj):
if not isinstance(obj, types.FunctionType):
return False
# Unfortunately it seems the easiest way to get to the original
# staticmethod object is to look in the class's __dict__, though we
# also need to look up the MRO in case the method is not in the given
# class's dict
name = obj.__name__
for basecls in cls.mro(): # This includes cls
if name in basecls.__dict__:
return not isinstance(basecls.__dict__[name], staticmethod)
# This shouldn't happen, though this is the most sensible response if
# it does.
raise AttributeError(name)
else:
def _isinstancemethod(cls, obj):
return isinstance(obj, types.MethodType) and obj.im_class is cls


Mar 8, 2011 9:05 AM
Proctoring Online Examinations — How to maintain academic standards, integrity, and the flexibility of online education. In late 2008 wholly online Andrew Jackson University was searching for a better way to proctor all of its examinations.Â One if its students told the universities president, Don Kassner, “Don, I can do all of my coursework from my kitchen table, but when it comes time to do my exam, the most stressful time of my education, I have to leave my kitchen and drive somewhere.”Â Â The University responded and created a simple three step method of proctoring online examinations that allows students to stay home and take the exam at the kitchen table while maintaining the level of academic integrity that existed by proctoring examination in the classroom.Â Â Â ProctorU now serves thousands of students at over 50 colleges and universities and is fast becoming the preferred method of proctoring in online education. Don Kassner, former president of Andrew Jackson University and current CEO of ProctorU, will discuss how ProctorU's approach to distance proctoring meets and exceeds the standards that exist in the classroom, while providing students and institutions with the highest quality service - all while keeping things simple and reducing stress caused by the hassle of finding a place to take an exam.


Sergio Aguero: John Terry stopped Chelsea from signing Argentine superstar
- Sergio Aguero was wanted by Chelsea before he joined Manchester City in 2011
- John Terry stopped the deal after claiming the Argentine's movement was poor
- Aguero has won four Premier League titles and other silverware since then
Argentine superstar Sergio Aguero is the current sixth all-time Premier League highest goals scorer with 173 goals at the time of this report.
The 31-year-old forward joined Manchester City in 2011 from Atletico Madrid, and since then has been superb for the Citizens - winning four EPL titles among others.
He also played a key role in helping his side become the first team in England to win domestic treble after winning all the titles available in the season.
Although, they failed to make it to the UEFA Champions League final after being bundled out by Tottenham Hotspur at the quarterfinal stage.
PAY ATTENTION: Install Pitch Football App for FREE to get the latest football News & Scores
Fans rate Ndidi better than £70m England midfielder after impressive performance against Arsenal
However, Aguero was expected to join Chelsea after leaving his former La Liga side but the Blues captain John Terry was said to have blocked the move from happening.
Give Me Sport quoting Simon Johnson claims the lethal striker was Stamford Bridge bound in 2011 but principalities at the stadium refused to allow the deal see the light of the day.
It was said that the Blues needed to make a major signing in a bid to strengthen their attack, and the 21-year-old was the player they really wanted to land.
The west London club made an offer Atletico Madrid in 2009 and were initially put off by the strikers £40 million fee, as well as his high wage demands.
But after the two clubs met in the Champions League, with the player scoring two goals in their second meeting, it was clear that he was the player they wanted.
England legend slams Iwobi for committing blunder in Premier League game against Tottenham
Meanwhile, Terry, who had much influence in the dressing room at that time claimed he was not impressed with the player's movement on the ball - hence, no need to sign him.
Reports revealed that the former Aston Villa star wanted David Villa instead but they could not land either player at the end of the day.
READ ALSO: NAIJ.com upgrades to Legit.ng
Aguero is just two goals from equalling Henry Thierry's 175 goals record, while he could also break Frank Lampard's 177 record this season.
He will, however, battle to break the top three records from Alan Shearer (260), Wayne Rooney (208) and Andrew Cole (187).
Legit.ng earlier reported that Leicester City star Jamie Vardy leads Premier League top scorers chart after matchday 11.
The England international picked up from where he stopped the previous weekend as he found the back of the net in the Foxes 2-0 win over Crystal Palace at Selhurst Park.
Iwobi opens up on what Everton manager did to improve his game against West Ham
Chelsea star Tammy Abraham comes right behind him and Sergio Aguero completes the top three on the scorers' chart.
Can Nigeria U17 team win a 6th World Cup title in Brazil? | Legit TV