We hold weekly meetings Wednesdays at 3:10pm in room 142.
In addtion, we participate in competitions and organize youth workshops at the Bryant Library.
Make sure you sign in at each meeting. The code for each day will be given out in club.
We've taught bots and python so far! Check the workshops out:
We run Youth Workshops at the Bryant Library the first Friday of each month from 3:30 to 5pm.
Please fill out this form if you are intersted in running for a position. This is not a commitment.
Programmers, startups and tech brands finally have a domain extension of their own - .TECH.
Frontliners in the tech industry are building the future on .TECH: The Consumer Electronics
Show upgraded from .org to CES.TECH, Viacom has Viacom.TECH to host their tech division,
and Intel chose Insight.TECH for their latest initiative.
Thousands of revolutionary startups on .TECH (such as Innoviz.tech, Tenx.tech, Shadow.tech
and Brilliant.tech) have raised more than $300M in funding over the last 2 years and continue to
surpass success milestones.
.TECH has become the de facto online address for individual programmers working on passion
projects and industry leaders launching tech initiatives, alike. .TECH is truly spearheading global
innovation and redefining the internet namespace in the process.


TUX messages use OP_RETURN (0x6a) to create data only transactions, these are also prefixed with 0xfeab to prevent collisions with other OP_RETURN transactions. Messages seen here are
part of the blockchain and can be viewn by anyone with the TXID of that message or with this page open. TUX MESSAGER replies on the node package 'insight-tux-node'. See this Github for more details.


A Collection
of Alien Plants
Procedural Animation
Key words
Procedural Animation, Generative Art, Houdini, 3D Animation, L-system
May 2021
allowfullscreen>


1. Quick start
1.1. Add a Dependency
Grape is a JAR dependency manager embedded into Groovy. Grape lets you quickly add maven repository dependencies to your classpath, making scripting even easier. The simplest use is as simple as adding an annotation to your script:
@Grab(group='org.springframework', module='spring-orm', version='3.2.5.RELEASE')
import org.springframework.jdbc.core.JdbcTemplate
@Grab
also supports a shorthand notation:
@Grab('org.springframework:spring-orm:3.2.5.RELEASE')
import org.springframework.jdbc.core.JdbcTemplate
Note that we are using an annotated import here, which is the recommended way. You can also search for
dependencies on mvnrepository.com and it will
provide you the @Grab
annotation form of the pom.xml
entry.
1.2. Specify Additional Repositories
Not all dependencies are in maven central. You can add new ones like this:
@GrabResolver(name='restlet', root='http://maven.restlet.org/')
@Grab(group='org.restlet', module='org.restlet', version='1.1.6')
1.3. Maven Classifiers
Some maven dependencies need classifiers in order to be able to resolve. You can fix that like this:
@Grab(group='net.sf.json-lib', module='json-lib', version='2.2.3', classifier='jdk15')
1.4. Excluding Transitive Dependencies
Sometimes you will want to exclude transitive dependencies as you might be already using a slightly different but compatible version of some artifact. You can do this as follows:
@Grab('net.sourceforge.htmlunit:htmlunit:2.8')
@GrabExclude('xml-apis:xml-apis')
1.5. JDBC Drivers
Because of the way JDBC drivers are loaded, you’ll need to configure Grape to attach JDBC driver dependencies to the system class loader. I.e:
@GrabConfig(systemClassLoader=true)
@Grab(group='mysql', module='mysql-connector-java', version='5.1.6')
1.6. Using Grape From the Groovy Shell
From groovysh use the method call variant:
groovy.grape.Grape.grab(group:'org.springframework', module:'spring', version:'2.5.6')
1.7. Proxy settings
If you are behind a firewall and/or need to use Groovy/Grape through a
proxy server, you can specify those settings on the command like via the
http.proxyHost
and http.proxyPort
system properties:
groovy -Dhttp.proxyHost=yourproxy -Dhttp.proxyPort=8080 yourscript.groovy
Or you can make this system wide by adding these properties to your JAVA_OPTS environment variable:
JAVA_OPTS = -Dhttp.proxyHost=yourproxy -Dhttp.proxyPort=8080
1.8. Logging
If you want to see what Grape is doing set the system property
groovy.grape.report.downloads
to true
(e.g. add
-Dgroovy.grape.report.downloads=true
to JAVA_OPTS) and Grape will
print the following infos to System.error:
-
Starting resolve of a dependency
-
Starting download of an artifact
-
Retrying download of an artifact
-
Download size and time for downloaded artifacts
2. Detail
Grape (The Groovy Adaptable Packaging Engine or Groovy Advanced Packaging Engine) is the infrastructure enabling the grab() calls in Groovy, a set of classes leveraging Ivy to allow for a repository driven module system for Groovy. This allows a developer to write a script with an essentially arbitrary library requirement, and ship just the script. Grape will, at runtime, download as needed and link the named libraries and all dependencies forming a transitive closure when the script is run from existing repositories such as JCenter, Ibiblio and java.net.
Grape follows the Ivy conventions for module version identification, with naming change.
-
group
- Which module group the module comes from. Translates directly to a Maven groupId or an Ivy Organization. Any group matching/groovy[x][\..*]^/
is reserved and may have special meaning to the groovy endorsed modules. -
module
- The name of the module to load. Translated directly to a Maven artifactId or an Ivy artifact. -
version
- The version of the module to use. Either a literal version `1.1-RC3' or an Ivy Range `[2.2.1,)' meaning 2.2.1 or any greater version). -
classifier
- The optional classifier to use (for example, jdk15)
The downloaded modules will be stored according to Ivy’s standard
mechanism with a cache root of ~/.groovy/grape
3. Usage
3.1. Annotation
One or more groovy.lang.Grab
annotations can be added at any place that
annotations are accepted to tell the compiler that this code relies on
the specific library. This will have the effect of adding the library to
the classloader of the groovy compiler. This annotation is detected and
evaluated before any other resolution of classes in the script, so
imported classes can be properly resolved by a @Grab
annotation.
import com.jidesoft.swing.JideSplitButton
@Grab(group='com.jidesoft', module='jide-oss', version='[2.2.1,2.3.0)')
public class TestClassAnnotation {
public static String testMethod () {
return JideSplitButton.class.name
}
}
An appropriate grab(…)
call will be added to the static initializer
of the class of the containing class (or script class in the case of an
annotated script element).
3.2. Multiple Grape Annotations
In order to use a Grape annotation multiple times on the same node you must use the
@Grapes
annotation, e.g.:
@Grapes([
@Grab(group='commons-primitives', module='commons-primitives', version='1.0'),
@Grab(group='org.ccil.cowan.tagsoup', module='tagsoup', version='0.9.7')])
class Example {
// ...
}
Otherwise you’ll encounter the following error:
Cannot specify duplicate annotation on the same member
3.3. Method call
Typically a call to grab will occur early in the script or in class initialization. This is to insure that the libraries are made available to the ClassLoader before the groovy code relies on the code. A couple of typical calls may appear as follows:
import groovy.grape.Grape
// random maven library
Grape.grab(group:'com.jidesoft', module:'jide-oss', version:'[2.2.0,)')
Grape.grab([group:'org.apache.ivy', module:'ivy', version:'2.0.0-beta1', conf:['default', 'optional']],
[group:'org.apache.ant', module:'ant', version:'1.7.0'])
-
Multiple calls to grab in the same context with the same parameters should be idempotent. However, if the same code is called with a different
ClassLoader
context then resolution may be re-run. -
If the
args
map passed into thegrab
call has an attributenoExceptions
that evaluates true no exceptions will be thrown. -
grab
requires that aRootLoader
orGroovyClassLoader
be specified or be in theClassLoader
chain of the calling class. By default failure to have such aClassLoader
available will result in module resolution and an exception being thrown-
The ClassLoader passed in via the
classLoader:
argument and it’s parent classloaders. -
The ClassLoader of the object passed in as the
referenceObject:
argument, and it’s parent classloaders. -
The ClassLoader of the class issuing the call to
grab
-
3.3.1. grab(HashMap) Parameters
-
group:
- <String> - Which module group the module comes from. Translates directly to a Maven groupId. Any group matching/groovy(|\..|x|x\..)/
is reserved and may have special meaning to the groovy endorsed modules. -
module:
- <String> - The name of the module to load. Translated directly to a Maven artifactId. -
version:
- <String> and possibly <Range> - The version of the module to use. Either a literal version `1.1-RC3' or an Ivy Range `[2.2.1,)' meaning 2.2.1 or any greater version). -
classifier:
- <String> - The Maven classifier to resolve by. -
conf:
- <String>, defaultdefault' - The configuration or scope of the module to download. The default conf is `default:
which maps to the mavenruntime
andmaster
scopes. -
force:
- <boolean>, defaults true - Used to indicate that this revision must be used in case of conflicts, independently of -
conflicts manager
-
changing:
- <boolean>, default false - Whether the artifact can change without it’s version designation changing. -
transitive:
- <boolean>, default true - Whether to resolve other dependencies this module has or not.
There are two principal variants of grab
, one with a single Map and
one with an arguments Map and multiple dependencies map. A call to the
single map grab is the same as calling grab with the same map passed in
twice, so grab arguments and dependencies can be mixed in the same map,
and grab can be called as a single method with named parameters.
There are synonyms for these parameters. Submitting more than one is a runtime exception.
-
group:
,groupId:
,organisation:
,organization:
,org:
-
module:
,artifactId:
,artifact:
-
version:
,revision:
,rev:
-
conf:
,scope:
,configuration:
3.3.2. Arguments Map arguments
-
classLoader:
- <GroovyClassLaoder> or <RootClassLoader> - The ClassLoader to add resolved Jars to -
refObject:
- <Object> - The closest parent ClassLoader for the object’s class will be treated as though it were passed in asclassLoader:
-
validate:
- <boolean>, default false - Should poms or ivy files be validated (true), or should we trust the cache (false). -
noExceptions:
- <boolean>, default false - If ClassLoader resolution or repository querying fails, should we throw an exception (false) or fail silently (true).
3.4. Command Line Tool
Grape added a command line executable `grape' that allows for the inspection and management of the local grape cache.
grape install <groupId> <artifactId> [<version>]
This installs the specified groovy module or maven artifact. If a version is specified that specific version will be installed, otherwise the most recent version will be used (as if `*' we passed in).
grape list
Lists locally installed modules (with their full maven name in the case of groovy modules) and versions.
grape resolve (<groupId> <artifactId> <version>)+
This returns the file locations of the jars representing the artifcats for the specified module(s) and the respective transitive dependencies. You may optionally pass in -ant, -dos, or -shell to get the dependencies expressed in a format applicable for an ant script, windows batch file, or unix shell script respectively. -ivy may be passed to see the dependencies expressed in an ivy like format.
3.5. Advanced configuration
3.5.1. Repository Directory
If you need to change the directory grape uses for downloading libraries you can specify the grape.root system property to change the default (which is ~/.groovy/grape)
groovy -Dgrape.root=/repo/grape yourscript.groovy
3.5.2. Customize Ivy settings
You can customize the ivy settings that Grape uses by creating a ~/.groovy/grapeConfig.xml file. If no such file exists, here are the default settings used by Grape.
For more information on how to customize these settings, please refer to the Ivy documentation.
3.6. More Examples
Using Apache Commons Collections:
// create and use a primitive array list
import org.apache.commons.collections.primitives.ArrayIntList
@Grab(group='commons-primitives', module='commons-primitives', version='1.0')
def createEmptyInts() { new ArrayIntList() }
def ints = createEmptyInts()
ints.add(0, 42)
assert ints.size() == 1
assert ints.get(0) == 42
Using TagSoup:
// find the PDF links of the Java specifications
@Grab(group='org.ccil.cowan.tagsoup', module='tagsoup', version='1.2.1')
def getHtml() {
def parser = new XmlParser(new org.ccil.cowan.tagsoup.Parser())
parser.parse("https://docs.oracle.com/javase/specs/")
}
html.body.'**'.a.@href.grep(~/.*\.pdf/).each{ println it }
Using Google Collections:
import com.google.common.collect.HashBiMap
@Grab(group='com.google.code.google-collections', module='google-collect', version='snapshot-20080530')
def getFruit() { [grape:'purple', lemon:'yellow', orange:'orange'] as HashBiMap }
assert fruit.lemon == 'yellow'
assert fruit.inverse().yellow == 'lemon'
Launching a Jetty server to serve Groovy templates:
@Grapes([
@Grab(group='org.eclipse.jetty.aggregate', module='jetty-server', version='8.1.7.v20120910'),
@Grab(group='org.eclipse.jetty.aggregate', module='jetty-servlet', version='8.1.7.v20120910'),
@Grab(group='javax.servlet', module='javax.servlet-api', version='3.0.1')])
import org.eclipse.jetty.server.Server
import org.eclipse.jetty.servlet.*
import groovy.servlet.*
def runServer(duration) {
def server = new Server(8080)
def context = new ServletContextHandler(server, "/", ServletContextHandler.SESSIONS);
context.resourceBase = "."
context.addServlet(TemplateServlet, "*.gsp")
server.start()
sleep duration
server.stop()
}
runServer(10000)
Grape will download Jetty and its dependencies on first launch of this script, and cache them. We’re creating a new Jetty Server on port 8080, then expose Groovy’s TemplateServlet at the root of the context — Groovy comes with its own powerful template engine mechanism. We start the server and let it run for a certain duration. Each time someone will hit http://localhost:8080/somepage.gsp, it will display the somepage.gsp template to the user — those template pages should be situated in the same directory as this server script.


Thank you for taking part in our survey!
Your gender
Choose things that you are interested in:
What is your biggest dream?


Court rules that Ryanair's hand luggage policy is 'abusive'
by Fiona KellyA court in Spain has ruled that Ryanair can no longer charge an extra fee for hand luggage.
Finding the policy "abusive", the court ruled the airline must stop charging customers an additional fee for taking more than one item into the cabin.
The policy, which was introduced last year, sees customers charged if they bring anything more than a small bag onboard.
The ruling follows a complaint by a passenger travelling from Madrid to Brussels, who went to court after staff forced her to pay €20 to bring her 10kg luggage on board.
The court ordered Ryanair to refund her the €20 plus interest, but rejected her demand for compensation of a further €10 for the suffering she experienced, according to court documents.
The judge ruled that the hand luggage, by size and weight, could be easily carried in the cabin, pointing to a Spanish regulation that allows passengers to take hand luggage on board at no additional cost.
The judge characterised the charge as abusive, adding that it "curtailed the rights that the passenger has recognised by law", and declared it invalid in Spain.
"This ruling will not affect Ryanair's baggage policy, either in the past or in the future, as it is an isolated case that misinterpreted our commercial freedom to determine the size of our cabin baggage," the airline said in a statement.
According to Reuters, when asked if it was planning to ignore the Spanish ruling or appeal it in the European Court of Justice, Ryanair declined to comment.


Blogs
Memory game
An interactive memory game with deck of cards, where you are supposed to memorize the position of cards and match two same cards.
Read moreArcade game
An interactive arcade game, more modern clone of the old Konami classic - frogger.
Read moreNeighborhood map
A single page application featuring points of interest on the map of local neighbourhood.
Read more


Here’s the explanations.
That’s a regular object method call.
The same, parentheses do not change the order of operations here, the dot is first anyway.
Here we have a more complex call (expression)()
. The call works as if it were split into two lines:
js no-beautify f = obj.go; // calculate the expression f(); // call what we have
Here f()
is executed as a function, without this
.
The similar thing as (3)
, to the left of the parentheses ()
we have an expression.
To explain the behavior of (3)
and (4)
we need to recall that property accessors (dot or square brackets) return a value of the Reference Type.
Any operation on it except a method call (like assignment =
or ||
) turns it into an ordinary value, which does not carry the information allowing to set this
.


The title
JA!!
First:
the anchor
Second:
the anchor
Third:
the
Anchor
Fourth:
the anchor
Fifth:
Sixth:
the anchor
Seventh:
the anchor
Hooray!
jaja


10 Things to Know for Today
by The Associated PressYour daily look at late-breaking news, upcoming events and the stories that will be talked about today:
1. IMPEACHMENT HEARINGS GO LIVE ON TV
Two seasoned diplomats, William Taylor and George Kent, will be the first witnesses to publicly testify in the House impeachment inquiry into Donald Trump’s dealings with Ukraine.
2. WHAT’S AT STAKE FOR TRUMP
The president comes face to face with the limits of his power, as public impeachment hearings will help shape how he will be viewed by voters next year and his place in history.
3. TRUMP, ERDOGAN TO MEET AT WHITE HOUSE
Relations between the two NATO allies are at their lowest point in decades, with Turkey turning toward Russia on security issues and Ankara facing a Washington backlash over attacks on Kurdish forces and civilians.
4. SENATOR CLAIMS INTERIM PRESIDENCY IN BOLIVIA
Questions and uncertainty remain about who might rally around opposition Sen. Jeanine Añez, while supporters of exiled leader Evo Morales angrily accuse her of trying to seize power.
5. AS HONG KONG DESCENDS INTO CHAOS, CHINA MULLS OPTIONS
Analysts say that the violent protests, now in their sixth month, may give Beijing the justification it needs to take more direct action.
6. KABUL’S AIR POLLUTION MAY BE EVEN DEADLIER THAN WAR
A research group says more than 26,000 deaths in Afghanistan’s capital could be attributed to air pollution in 2017, compared to 3,483 civilians killed that year in the Afghan war.
7. ISRAEL VOWS TO KEEP HITTING MILITANTS
Israeli airstrikes kill more Islamic Jihad militants in Gaza as rocket fire toward Israel resumes, raising the death toll in the strip to 18 Palestinians in the heaviest round of fighting in months.
8. VENICE DELUGED BY FLOODING
Flooding in Italy’s historic canal city reaches the second-highest level ever, touching nearly the level of the infamous 1966 flooding.
9. ‘I’VE FINALLY IMPRESSED HER’
R&B; crooner John Legend says model-wife Chrissy Teigen is proud of him after he was named the Sexiest Man Alive by People magazine.
10. COLIN KAEPERNICK TO GET NFL SHOWCASE
The exiled former Pro Bowl quarterback plans to audition for teams on Saturday in a private workout arranged by the league to be held in Atlanta.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Embassy of the United States of America
Shantipath, Chanakyapuri,
New Delhi – 110 021
Tel: 011- 2419 8000
Fax: 011- 2419 0017 / 2419 8587
Office Timings: Mon to Fri, 0830 to 1700 hrs
Visa Timings: 1000 hrs to 1200 hrs and 1400 hrs to 1600hrs.
Email<EMAIL_ADDRESS><EMAIL_ADDRESS>Visa handled for:- Delhi, Jammu and Kashmir, Punjab, Haryana, Himachal Pradesh, Rajasthan, Uttar Pradesh, Bihar, Uttarakhand, Union Territories of Chandigarh
Consulate General of the United States of America
C-49, G-Block, Bandra Kurla Complex, Bandra (East),
Mumbai – 400 051
Tel: 022- 2672 4000
Fax: 2363 0350
Office Timings: Mon to Fri, 0830 to 1700 hrs
Visa Timings: 0815 to 1100 hrs
Email<EMAIL_ADDRESS>Visa handled for:-Maharashtra, Goa, Madhya Pradesh, Chhattisgarh, Gujarat, and the Union Territories of Daman and Diu, Dadra and Nagar Haveli.
Consulate General of the United States of America
5/1, Ho Chi Minh Sarani,
Kolkata – 700 071
Tel: 033- 3984 2400
Fax: 033- 2282 2335
Office Timings: Mon to Fri, 0830 to 1700 hrs
Visa Timings: 0830 to 1100 hrs
Email<EMAIL_ADDRESS>Visa handled for:-Arunachal Pradesh, Assam, Jharkhand, Manipur, Meghalaya, Mizoram, Nagaland, Sikkim, Tripura, and West Bengal.
Consulate General of the United States of America
220, Anna Salai, Gemini Circle,
Chennai – 600 006
Tel: 044- 2857 4000
Fax: 044- 2811 2020
Office Timings: Mon to Fri, 0830 to 1700 hrs
Visa Timings: 0830 to 1100 hrs
Email<EMAIL_ADDRESS>Visa handled for:-Tamil Nadu, Karnataka, Kerala and the Union Territories of Lakshadweep Puducherry, Andaman and Nicobar Islands.
Consulate General of the United States of America
Paigah Palace, 1-8-323, Chiran Fort Lane, Begumpet
Secunderabad – 500 003 (Hyderabad)
Tel: 040- 4033 8300
Office Timings: Mon to Fri, 0830 to 1700 hrs
Visa Timings: 1630 hrs to 1700 hrs.
Email<EMAIL_ADDRESS>Visa handled for:-Andhra Pradesh and Orissa.
Visas for Applicants Under 14 and over 79 years old
Non Immigrant Visa Interview Waivers for Applicants Under 14 Years of Age and Over 79. Please review this information for the requirements of nonimmigrant visa interview waiver for applicants under 14 years of age and over 79 applied at any U.S Consular office in India (Delhi, Mumbai, Chennai, Hyderabad or Kolkata).
Applicants under 14 years of age or over 79 from the date of submission are not required to appear for a nonimmigrant visa interview at any Post in India. Such applicants may submit their visa applications through the Interview Waiver Program. All other rules, requirements and fees for those under 14 years of age and over 79 remain in effect.
All applicants must include the following documents when submitting their applications:
● The applicant’s valid passport.
● A completed DS-160 application barcode.
● A visa fee receipt (with both copies) for the current visa application fee.
● Valid visa copy of the same visa category of either of the parents in which the child is applying.
Parents having the appointment scheduled together with the child under 14 years of age should submit the required above documents during the time of their Interview at Embassy/Consulate. Visa issuance for those not appearing in person is not guaranteed. The Embassy /Consulate may in some cases, after reviewing an application, require the child to appear in person.
● A Nonimmigrant Visa Electronic Application (DS-160) Form. Visit the DS-160 webpage for more information about the DS-160.
● A passport valid for travel to the United States with validity date of at least six months beyond your intended period of stay in the United States (unless country-specific agreements provide exemptions). If more than one person is included in your passport, each person desiring a visa must submit an application.
● A receipt showing payment of your US$160 non-refundable nonimmigrant visa application processing fee paid in local currency.This web page has more information about paying this fee. If a visa is issued, there may be an additional visa issuance reciprocity fee, depending on your nationality. The Department of State’s website can help you find out if you must pay a visa issuance reciprocity fee and what the fee amount is.
● In addition to these items, you must present an interview appointment letter confirming that you booked an appointment through this service. You may also bring whatever supporting documents you believe support the information provided to the consular officer.
● National Electronic Funds Transfer (NEFT):
You may pay your Machine Readable Visa (MRV) Fee using the popular and convenient NEFT payment system. If your bank supports NEFT Payments, you may pay your nonimmigrant visa application fee with a NEFT transfer directly from your bank account. Over 87,000 bank branches are enabled to make NEFT payments. You may also make your NEFT payment through online banking or mobile banking meaning you do not have to visit your nearest bank branch. Be aware that your bank may apply charges to your account for NEFT transactions. After logging into your profile and while on the payment confirmation screen, you will receive a unique account number to which you will send the NEFT payment. Please make only one payment per unique account number as there are the payment is non-refundable.  You must have this number as proof of payment in order to schedule your visa interview appointment. It is the applicant’s responsibility to save this number. If not, you may not be able to schedule an interview with your payment. Applicants with a mobile phone can pay their MRV Fee via their phone using the IMPs system, however, the applicant must be preregistered with their bank to complete payment via their mobile phone and be in possession of a valid MPIN. Payment of Visa fees shall be in Indian Rupees (INR) and must be the exact amount as listed on the payment confirmation screen available after logging into your profile Applicants can initiate an IMPS payment via SMS to their bank or via the m-banking facility provided by their financial institution. Applicants must enter the correct Beneficiary Mobile Number, Beneficiary MMID number and correct amounts. Please note, many banks operate a payment limit of INR 5,000/- per transaction. To see a list of daily limits employed by India banks, please click here: Once the payment has been verified, you will receive a SMS containing the 12 digit IMPS reference number. Applicants must then enter the IMPS reference number after logging into their profile. Once verified, the applicant will be able to proceed to the appointment scheduling stage. It is important to pay the correct fee as paying the incorrect amount will cause delays in scheduling your appointment. Applicants who pay via the IMPS system during regular business hours (9AM – 5PM) will be able to schedule their appointment within 3 hours. Applicants who make their payment after 6PM will be able to schedule their appointment after 9AM the next business day.
● To view Axis bank locations
● To view Citibank locations
You can pay your nonimmigrant visa application fee in cash at any of the designated AXIS or Citibank branches. Before going to the bank, you must print and carry the applicable U.S. visa fee collection slip available after logging into your profile. Take the completed fee collection slip to the bank when you pay your fee. After receiving your payment, the bank will give you a receipt. Values are shown in (USD); however the Fee payable is in Indian Rupees (INR) at the current Consular Exchange rate.
● To view Druk bank locations
● Cash – Over the Counter at DRUK Bank
You can pay your nonimmigrant visa application fee in cash at any of 4 DRUK Bank branch. Before going to the bank, you must print and carry the applicable U.S. visa fee collection slip available after logging into your profile. Take the completed fee collection slip to the bank when you pay your fee. Be sure that you pay the exact amount indicated on the deposit slip. After receiving your payment, the bank will give you a receipt. Values are shown in U.S. dollars (USD); however the Fee payable is in Bhutan Ngultrums (BT) If you cannot open or view the fee payment slip, please download and install the latest version of Adobe Reader from the Adobe website. There is no fee to download or use Adobe Reader. You can pay the MRV Fee at any of the following DRUK Bank locations.
Note: Applicants are limited to the number of times they can reschedule their appointments. Please plan accordingly so that you are not required to pay another visa application fee. Visa application fees are non- refundable. In order to ensure the proper amount is paid and activated a timely manner, please first create a profile HERE and choose the Schedule Appointment option. On the payment confirmation screen you will be presented with payment options and further details of how to initiate payment. Please note it can take up to 2 business days from time of payment for your receipt to be activated. Restrictions: Your visa application fee is non-refundable and you cannot transfer it to another person. You will receive a receipt after paying the application fee. This receipt is valid for one year from the date of payment and allows you to schedule your interview at the U.S. Embassy or Consulate. You must schedule your interview while the receipt is valid, which means your interview must be booked within one year of paying your fee. If you do not schedule an interview within a year of payment then your receipt will expire, you will not be able to schedule an interview, and you must pay the fee again and begin the process.
The Form DS-160 is online here.
You can find information and an FAQ about the DS-160 here.
● Your passport number.
● The date you paid your fee.
● The ten (10) digit barcode number from your DS-160 confirmation page.
Schedule your appointment on this web page. You will need three pieces of information in order to schedule your appointment:
Visit the U.S. Embassy or Consulate on the date and time of your visa interview. You must bring a printed copy of your appointment letter, your DS-160 confirmation page, one photograph taken within the last six months, your current and all old passports, and the original visa fee payment receipt. Applications without all of these items will not be accepted.
After completing the online application, most applicants will be required to have an appointment at an Offsite Facilitation Center (OFC) prior to their appointment at the Consular Sections. Biometric information including fingerprints and digital photographs will be collected at the OFC.
Applicants for U.S. visas are required to appear in person twice. One, for an appointment at the OFC and TWO, for the visa interview at the U.S. Embassy or Consulate.
Applicant must schedule the OFC appointment at least one day before the interview appointment date. You can schedule both appointments, either online using this website or through the call center.
You will need to bring:
A passport valid for travel to the United States with validity date of at least six months beyond your intended period of stay in the United States (unless country-specific agreements provide exemptions). If more than one person is included in your passport, each person desiring a visa must submit an application.
● Your DS-160 confirmation page.
● Your appointment confirmation page.
● Monday to Friday – 0800 to 1700 hrs.
● Sunday – 1300 to 1800 hrs.
● Mumbai: Trade Center, Gr. Floor, G Block, Bandrakurla Complex, Bandra East, Mumbai – 400041
● Chennai: No 3, Cenotaph Road, Teynampet, Chennai, Tamil Nadu – 600018
● Hyderabad: 502, Gowra Grand, S. P. Road, Begumpet, Secunderabad – 500003
● Kolkata: Jasmine Tower, 31, Shakespeare Sarani (1st Floor), Kolkata – 700017
● Delhi: S – 1 American Plaza, (Hotel Eros Managed by Hilton), International Trade Tower, Nehru Place, New Delhi – 110019
The photograph should measure 50 mm X 50 mm, should not be more than 6 months old, should be taken against a white or off-white background and with the head centred in the frame. The head (measured from the top of the hair to the bottom of the chin) should measure between 25 mm to 35 mm with the eye level between 28 mm and 35 mm from the bottom of the photo. The following are the photograph requirements:
The photo must be a full face view in which the visa applicant is facing the camera directly.
● The applicant should not look down or to either side, and the face should cover about 50 percent of the photo area.
Side or angled views are NOT acceptable.
● The photo should be in colour, and must have only a white or off-white background. Photos with dark, busy, or patterned backgrounds will not be accepted.
● In general, the applicant’s head, including both face and hair, should be shown from the crown of the head to the tip of the chin on top and bottom and from hairline side-to-side. It is preferable that ears be exposed.
● Head coverings and hats are only acceptable due to religious beliefs, and even then, may not cover any portion of the applicant’s face.
● Sunglasses or other wear that detracts from the face are not acceptable unless required for medical reasons, for example, an eye patch.
● A photo of an applicant wearing a traditional facemask or veil that does not permit adequate identification is not acceptable.
● Photos of military, airline, or other personnel wearing hats are not acceptable.
● A photo of an applicant wearing tribal, national costume, or other headgear not religious in nature is not acceptable.
| Tourist | At the time of the visa interview, applicants will be asked to electronically scan the four fingers and a thumb of each hand. Applicants who are required to be fingerprinted, and who have a cut or blister or other temporary skin injury on their index fingers may not be issued a visa until their finger heals before they can be fingerprinted. The scanned fingerprint data collected at the time of interview will be compared with fingerprint scans at the US port of entry to prevent the misuse of US visas by impostors and by those wanted for more serious offences. Please remember, however, that all visa applicants, regardless of their age or visa category, will require an intervi
The Applicant should have a passport valid for at least six months from the desired date of entry. The validity of the visa issued will in no case extend the validity of the passport. ● One passport-size photograph (see specifications above). ● A Completed and signed Visa Application Form online: DS-160. ● Birth certificate and, if applicable, parents’ valid visas (for children’s applications). ● A printout of an Appointment confirmation. ● If your are employed, carry a letter from employer detailing your position, salary, how long you have been employed with the company; the period of authorized vacation; and the purpose of your U.S. trip. ● Income Tax Returns for the last three (3) years. ● Itemised Bank statements and other documents to show the assets of the Applicant (if any) is needed. ● If the Applicant is in Government Service or with the Armed Forces, a No Objection Letter or Certificate and sanctioned Leave Letter is needed. ● Dependents joining their spouse on-board ship need to carry their original marriage certificate and entire wedding photo album along with the spouse’s visa copy. ● In the event of having a Sponsor the following documents are required of him/ her: ● It is also helpful to carry evidence of how the trip will be financed along with letters of deputation, invitation or sponsorship. ● An Affidavit of Support (Form I-134) from the Sponsor. ● Bank statements. ● Employment Letter. ● Copies of the Passport (along with the visa pages) of the Relative in the United States. ● Documents to show the Sponsor’s legal status in the United States. ● For parents visiting a child resident in the U.S.: If child is an Indian citizen.● Childs’s original birth certificate. ● Photocopy of all pages of child’s passport. ● Where the U.S. visa of child has expired, photocopy of the renewed petition required. ● Where child is a legal permanent resident in USA, photocopy of the green card (front and back) is required. ● The US Department of Homeland Security’s Bureau of Citizenship and Immigration Services (BCIS) inspector at the port of entry decides your length of stay in the United States. Important notes:● You are strongly recommended to keep photocopies of your passport’s data pages and of the US visa. A US non-immigrant visa is a valuable document. Inform the US Embassy/Consulate from where your visa was issued immediately if you have lost your passport. You would need to obtain a new non-immigrant visa. At the time of your interview please present the Police First Incident Report (FIR) from the Police precinct where the passport was lost in India or overseas as well as a photocopy of the lost Passport and valid US visa, if possible ● If you have been denied a US non-immigrant visa under Section 214(b), you may schedule a new appointment. You must demonstrate a significant change in your circumstances or present compelling new evidence to an adjudicating Consular Officer at a subsequent interview in order to be granted a visa. There is no limitation on the number of times you may apply for a non-immigrant visa. |
||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Business | At the time of the visa interview, applicants will be asked to electronically scan the four fingers and a thumb of each hand. Applicants who are required to be fingerprinted, and who have a cut or blister or other temporary skin injury on their index fingers may not be issued a visa until their finger heals before they can be fingerprinted. The scanned fingerprint data collected at the time of interview will be compared with fingerprint scans at the US port of entry to prevent the misuse of US visas by impostors and by those wanted for more serious offences. Please remember, however, that all visa applicants, regardless of their age or visa category, will require an inte ● The Applicant should have a passport valid for at least six months from the desired date of entry. The validity of the visa issued will in no case extend the validity of the passport. ● One passport-size photograph (see specifications above). ● A Completed and signed Visa Application Form online: DS-160. ● A Covering letter from the company. ● An Appointment Letter. ● An Invitation Letter from the US Counterpart/ Company. ● Exchanges of Correspondence with U.S. Purchasers, Suppliers or Contacts. ● Bank transaction statements detailing all deposits and withdrawals for the last 6 months. The Personal and Company accounts need to be submitted, along with evidence of authority to draw on the Company Accounts. ● Any copies of recent advertising brochures or publications. ● Incorporation documents and business license(s). ● Recent contracts, Bills of Lading and other documentary evidence of recent imports and exports of purchases. ● A printout of an Appointment confirmation. ● Income Tax Returns for the last two (2) years. ● Itemised Bank statements and other documents to show the assets of the Applicant (if any) is needed. ● The US Department of Homeland Security’s Bureau of Citizenship and Immigration Services (BCIS) inspector at the port of entry decides your length of stay in the United States. Important notes:You are strongly recommended to keep photocopies of your passport’s data pages and of the US visa. A US non-immigrant visa is a valuable document. Inform the US Embassy/Consulate from where your visa was issued immediately if you have lost your passport. You would need to obtain a new non-immigrant visa. At the time of your interview please present the Police First Incident Report (FIR) from the Police precinct where the passport was lost in India or overseas as well as a photocopy of the lost Passport and valid US visa, if possible● If you have been denied a US non-immigrant visa under Section 214(b), you may schedule a new appointment. You must demonstrate a significant change in your circumstances or present compelling new evidence to an adjudicating Consular Officer at a subsequent interview in order to be granted a visa. There is no limitation on the number of times you may apply for a non-immigrant visa. ● The application fees are listed below and apply to one visa application. The application fee for the most common nonimmigrant visa types is $160. This includes tourist, business, student, and exchange visas. Most petition-based visas, such as work and religious visas, are US$190. K visas cost US$265 and the fee amount for E visas is US$205. The tables below are a more comprehensive list of visa types and fee amounts. |
Transit (C Visa) and Crew (D Visa) | Transit (C Visa):- A citizen of a foreign country traveling in immediate and continuous transit through the United States enroute to a foreign destination requires a valid transit visa. Crew (D Visa):- A crew member serving onboard a sea vessel or aircraft in the United States needs a crew visa. Crew members of an aircraft or ship that will be transiting through the United States or its waters generally use a combination transit/crew visa (C-1/D). However, in some cases, individuals may only require the D visa. Crew members, who work aboard vessels within the Outer Continental Shelf, may qualify for a modified B-1 visa in lieu of a crew visa. Crew members who will be entering the United States during time-off between flights or cruises should also obtain a B-1/B-2 visa to use during these personal/vacation days. Applicants applying simultaneously for both a C-1/D and a B-1/B-2 visa pay only one visa application fee. To apply for a transit visa, you must show:-● Intent to pass in immediate and continuous transit through the United States. ● A common carrier ticket or other evidence of transportation arrangements to your destination. ● Sufficient funds to carry out the purpose of your transit journey. ● Permission to enter another country upon departure from the United States. To apply for other C, D or C-1/D visas, you must demonstrate to a consular officer that:-● The purpose of your trip is to enter the United States solely for transit or crew purposes. ● You do not intend to be paid by a U.S. source while in the United States, unless you have been granted proper approval for a temporary work visa. ● You plan to stay for a specific, limited period of time. ● You have evidence of funds to cover all expenses while in the United States. Supporting Documents:-● Current proof of income, tax payments, property or business ownership, or assets. ● A letter from your employer detailing your position, salary, how long you have been employed, any authorized vacation and the business purpose, if any, of your U.S. trip. ● Where appropriate, an itinerary and/or other information about your planned trip. (This can be tentative.) ● Bank savings account books or other evidence of liquid assets that indicate the balance in your accounts and account activity. ● Real estate lease or deeds. |
||||||||||||||||||||||||||||||||
| Visa Fee |
|
||||||||||||||||||||||||||||||||||
| Processing Time | 04 – 05 working days after deposit at embassy |
Call our customer services team on the number below to speak to one of our advisors who will help you with all of your holiday needs.
Contact No: +91 22 4355 4343
Email Id: info@harveyindia.com


Today
Project start
Prototypes ready. Start collecting feedback.
Alpha1 release
Beta1 release
RC release
JavaOne


Ex-Uefa chief Platini taking action to recoup back pay, legal fees
LAUSANNE, Nov 8 ― Former Uefa president Michel Platini is taking action to obtain substantial amounts of back pay as well as a bonus and legal fees, he told AFP today.
According to sources close to Platini, whose four-year suspension from football ended in October, the former France international is seeking to recoup around €7.2 million (RM32.8 million), including €5.5 million in back pay.
Platini did not confirm the amounts.
“Through my lawyer, I am asking for the contractual elements to be applied,” Platini said.
A triple Ballon d'Or winner, Platini was expected to succeed Sepp Blatter as Fifa president in 2016 but fell spectacularly from grace a few months earlier.
The 64-year-old was suspended by world football's governing body in 2015 over a controversial payment of two million Swiss francs that he received from Blatter.
The payment, made in 2011 when Blatter was seeking re-election as president, was related to work carried out by Platini between 1999 and 2002.
Platini has always insisted he did nothing wrong.
His suspension ended on October 6 and he has said he now hopes to find a new role in football.
The former Juventus star said the bonus that he wanted repaid was linked to the organisation of Euro 2016.
Platini's Swiss lawyer Vincent Solari confirmed that legal proceedings had begun.
“We have claimed the remaining amount of the back pay which we believe is owed according to the contract.”
Blatter was subsequently suspended for six years after presiding over world football 18 years from 1998 to 2015. ― AFP


Hello my name is Melissa Brown. I am Senior at Arsenal Tech High School. The summer of 2017 I became a Catapult at Nextech. I did many coding projects that you will see below. That will include making a creature ate of code, make a store website, and etc.And I would like to study Illiustration at IUPUI. One day I hope to a successful artist.
I really enjoy art. The type of art that I do is traditional art and digital art. When I started art I started with tradional art. Then last year I taught myself to do digital art. I started to develop my style last year too. I am still learning about different mediums, and how I want to use them. But ultimately I want to inspire people, and to have a unique feeling with my art.


Rajat Kanti Nandi
11th Nov, 1993
Full Stack Developer.
Interested in creating beautiful user interfaces keeping user experience in mind. Always looking for learning opportunities and like to investigate and solve challenges.
Contact Info
Address:
Saradapally, Anandanagar, Maynaguri - 735224, West Bengal
Ph no:
+91-8336070469
Email:
<EMAIL_ADDRESS>Twitter:
@rajatkantinandi
GitHub:
github.com/rajatkantinandi
Codepen:
codepen.io/rajatkantinandi
HackerRank:
hackerrank.com/rajatkn
Technical & Programming Skills
Javascript
React
React Native
CSS3
HTML5
MySQL
Node/Express
Git
Bash
Svelte
MongoDB
Python
C
Certifications
freeCodeCamp.org
APIs and Microservices
Front End Libraries
JavaScript Algorithms and Data Structures
Front End Development
NPTEL
Intoduction to Modern App Development
Hackerrank
Problem Solving (Basic)
Problem Solving (Intermediate)
Work Experience
Acrobyte Technologies Pvt. Ltd.
13th May, 2019 to 18th May, 2022
Full stack Developer
Was responsible for bug fixes, engineering improvements & new feature development for Actively Learn
Worked on a special project with the responsibility of migrating existing Backbone.js based app views to modern React components. While doing the React Migration, increased accessibility of the app following WCAG standards, specially keyboard accessibility, form validations, semantics, landmarks, navigation, screen reader compatibility, etc.
Worked on building a shared UI library of accessible components which are reused in different apps of Actively Learn.
Worked on rebuilding the reader app of actively learn using newer technologies and made it a progressive web app.
Refactoring overall html layout & making the site more responsive with better mobile & tablet support.
Exide Industries Limited
1st July, 2015 to 11th May, 2019
Assistant Manager (Automotive Production)
Was responsible for daily productivity in the automotive plate generation area
Major responsibilities include: production planning, inventory, scrap & wastage control, supervision of the shift and man-power management, reduction of downtime & process control, co-ordinations with maintenance Department, ensure proper material handling and TPM activities.
Academic Background
2015:
Graduated in B.Tech.in Mechanical Engineering. (CGPA: 8.68)
From National Institute of technology, Durgapur
2011:
Passed 10+2 from West Bengal Council for Higher Secondary Education (86 %)
2009:
Passed Secondary from West Bengal Board of Secondary Education (86.4 %)
Notable Projects & contributions
Quizmaster
:
An app to edit & create quizzes with different categories & points, share screen and host a quiz
2048 Rapid Mode
:
A variant of famous 2048 built with new Svelte Framework & layout with CSS grid. Now a Progressive web app.
Weather App
:
Weather app, Using openweathermap.org & aqicn.org API, built with React & used hooks api & with custom hooks. Also a Progressive Web App.
use-swipe-hook
:
A easy to use tiny npm library that provides useSwipe hook to use with React that enables swipe gestures for touch screens.
Codevember 2018
:
Challenges for Codevember 2018
css-spinners
:
A collection of colorful pure CSS Spinners
freeCodeCamp:
Contributed to
freeCodeCamp
website's open source repository
Personal Details
Languages Known:
Bengali, English & Hindi
Hobbies:
Watching movies, creating Illustrations, listening to music etc.


Preparation time
30 mins to 1 hour
Cooking time
10 to 30 mins
Serves
Makes 18 very large cookies
Dietary
This biscuit mixture can be frozen and then you simply slice off cookies to order as and when you feel like making them. A final sprinkle of sea salt brings out the chocolate flavour.
Put the butter and sugars into a large mixing bowl. Beat together with an electric hand whisk until smooth and light in colour.
Break in the eggs one at a time, mixing as you break in each egg. Once the eggs are combined, add the vanilla extract.
Sift in the flour and baking powder and mix in with a wooden spoon until completely incorporated. Add the chocolate chunks and mix in until thoroughly combined. Divide the dough in half.
Place each half onto a large sheet of cling film. Roll the dough into a wide sausage shape and wrap in the cling film, twisting the ends to seal. Each sausage will make nine large cookies (but you can roll them smaller and make more). The dough sausages can be frozen at this point. However if you wish to bake them straightaway, chill the dough in the fridge for 30 minutes before use.
Once ready to use the cookie dough, remove from the freezer and allow to warm up enough to slice. Preheat the oven to 180C/350F/Gas 4.
Slice the dough sausage into nine discs and place onto a non-stick baking tray or a tray that has been lined with baking parchment.
Sprinkle each cookie with a tiny pinch of salt and bake in the preheated oven for 20 minutes, or until they are golden-brown on the edge and slightly paler in the centre.
Remove from the oven and transfer to a wire rack to cool before serving.


Setting terminal colors on Mac OS X
cd ~
vim .bash_profile
# If file existed already, add to bottom; otherwise file will be created from previous command.
# Place following commands at end
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
- CLICOLOR
- [1|0]; Boolean indicating whether to use command line colors.
- LSCOLORS
- The value of this variable describes what color to use
for which attribute when colors are enabled with CLICOLOR.
This string is a concatenation of pairs of the
format fb, where f is the foreground color and b is the
background color.
- a
- black
- b
- red
- c
- green
- d
- brown
- e
- blue
- f
- magenta
- g
- cyan
- h
- light grey
- A
- bold black; usually shows as light grey
- B
- bold red
- C
- bold green
- D
- bold brown; usually shows as yellow
- E
- bold blue
- F
- bold magenta
- G
- bold cyan
- H
- bold light grey; usually shows as bright white
- x
- default [fore/back]ground


--- title: Configuration layout: page pageOrder: 10 section: 'General' subsection: true sitemap: priority: 0.8 changefreq: 'monthly' lastmod: 2019-11-10T08:00:00+01:00 ---
Properties can be set by:
The order of precedence means that properties set by java code overrides those set by system properties which overrides property file properties which overrides environment variables.
Some properties need to be set before MockServer starts because they are only read at start-up, for example, nioEventLoopThreadCount.
Other values are read continuously and so can be changed at any time, for example, logLevel.
There are two ways to set properties programmatically, as follows:
The property file defaults to filename mockserver.properties in the current working directory of MockServer.
This location of the property file can be changed by setting the mockserver.propertyFile system property or MOCKSERVER_PROPERTY_FILE environment property, for example:
-Dmockserver.propertyFile=/config/mockserver.properties
A full example / template properties file can be found in github
An limited properties file example is, as follows:
###############################
# MockServer & Proxy Settings #
###############################
# Socket & Port Settings
# socket timeout in milliseconds (default 120000)
mockserver.maxSocketTimeout=120000
# Certificate Generation
# dynamically generated CA key pair (if they don't already exist in specified directory)
mockserver.dynamicallyCreateCertificateAuthorityCertificate=true
# save dynamically generated CA key pair in working directory
mockserver.directoryToSaveDynamicSSLCertificate=.
# certificate domain name (default "localhost")
mockserver.sslCertificateDomainName=localhost
# comma separated list of ip addresses for Subject Alternative Name domain names (default empty list)
mockserver.sslSubjectAlternativeNameDomains=www.example.com,www.another.com
# comma separated list of ip addresses for Subject Alternative Name ips (default empty list)
mockserver.sslSubjectAlternativeNameIps=<IP_ADDRESS>
# CORS
# enable CORS for MockServer REST API
mockserver.enableCORSForAPI=true
# enable CORS for all responses
mockserver.enableCORSForAllResponses=true
Maximum number of expectations held in the in-memory ring buffer
Type: int Default: free heap space in KB / 400
Java Code:
ConfigurationProperties.maxExpectations(int count)
System Property:
-Dmockserver.maxExpectations=...
Environment Variable:
MOCKSERVER_MAX_EXPECTATIONS=...
Property File:
mockserver.maxExpectations=...
Example:
-Dmockserver.maxExpectations="2000"
Maximum number of log entries to hold in memory, this include recorded requests, expectation match failures and other log entries. The lower the log level the more log entries will be captured, particularly at TRACE level logging.
Type: int Default: free heap space in KB / 30
Java Code:
ConfigurationProperties.maxLogEntries(int count)
System Property:
-Dmockserver.maxLogEntries=...
Environment Variable:
MOCKSERVER_MAX_LOG_ENTRIES=...
Property File:
mockserver.maxLogEntries=...
Example:
-Dmockserver.maxLogEntries="2000"
Maximum number of remote (not the same JVM) method callbacks (i.e. web sockets) registered for expectations. The web socket client registry entries are stored in a circular queue so once this limit is reach the oldest are overwritten.
Type: int Default: 1500
Java Code:
ConfigurationProperties.maxWebSocketExpectations(int count)
System Property:
-Dmockserver.maxWebSocketExpectations=...
Environment Variable:
MOCKSERVER_MAX_WEB_SOCKET_EXPECTATIONS=...
Property File:
mockserver.maxWebSocketExpectations=...
Example:
-Dmockserver.maxWebSocketExpectations="2000"
Output JVM memory usage metrics to CSV file periodically called memoryUsage_<yyyy-MM-dd>.csv
Type: boolean Default: false
Java Code:
ConfigurationProperties.outputMemoryUsageCsv(boolean enable)
System Property:
-Dmockserver.outputMemoryUsageCsv=...
Environment Variable:
MOCKSERVER_OUTPUT_MEMORY_USAGE_CSV=...
Property File:
mockserver.outputMemoryUsageCsv=...
Example:
-Dmockserver.outputMemoryUsageCsv="true"
Directory to output JVM memory usage metrics CSV files to when outputMemoryUsageCsv enabled
Type: String Default: "."
Java Code:
ConfigurationProperties.memoryUsageCsvDirectory(String directory)
System Property:
-Dmockserver.memoryUsageCsvDirectory=...
Environment Variable:
MOCKSERVER_MEMORY_USAGE_CSV_DIRECTORY=...
Property File:
mockserver.memoryUsageCsvDirectory=...
Example:
-Dmockserver.memoryUsageCsvDirectory="."
Maximum time in milliseconds allowed for a response from a socket
Type: long Default: 20000
Java Code:
ConfigurationProperties.maxSocketTimeout(long milliseconds)
System Property:
-Dmockserver.maxSocketTimeout=...
Environment Variable:
MOCKSERVER_MAX_SOCKET_TIMEOUT=...
Property File:
mockserver.maxSocketTimeout=...
Example:
-Dmockserver.maxSocketTimeout="10000"
Maximum time in milliseconds allowed to connect to a socket
Type: int Default: 20000
Java Code:
ConfigurationProperties.socketConnectionTimeout(int milliseconds)
System Property:
-Dmockserver.socketConnectionTimeout=...
Environment Variable:
MOCKSERVER_SOCKET_CONNECTION_TIMEOUT=...
Property File:
mockserver.socketConnectionTimeout=...
Example:
-Dmockserver.socketConnectionTimeout="10000"
If true socket connections will always be closed after a response is returned, if false connection is only closed if request header indicate connection should be closed.
Type: int Default: false
Java Code:
ConfigurationProperties.alwaysCloseSocketConnections(boolean alwaysClose)
System Property:
-Dmockserver.alwaysCloseSocketConnections=...
Environment Variable:
MOCKSERVER_ALWAYS_CLOSE_SOCKET_CONNECTIONS=...
Property File:
mockserver.alwaysCloseSocketConnections=...
Example:
-Dmockserver.alwaysCloseSocketConnections="true"
The local IP address to bind to for accepting new socket connections
Type: string Default: <IP_ADDRESS>
Java Code:
ConfigurationProperties.localBoundIP(String localBoundIP)
System Property:
-Dmockserver.localBoundIP=...
Environment Variable:
MOCKSERVER_LOCAL_BOUND_IP=...
Property File:
mockserver.localBoundIP=...
Example:
-Dmockserver.localBoundIP="<IP_ADDRESS>"
Maximum size the first line of an HTTP request
Type: int Default: Integer.MAX_VALUE
Java Code:
ConfigurationProperties.maxInitialLineLength(int length)
System Property:
-Dmockserver.maxInitialLineLength=...
Environment Variable:
MOCKSERVER_MAX_INITIAL_LINE_LENGTH=...
Property File:
mockserver.maxInitialLineLength=...
Example:
-Dmockserver.maxInitialLineLength="8192"
Maximum size HTTP request headers
Type: int Default: Integer.MAX_VALUE
Java Code:
ConfigurationProperties.maxHeaderSize(int size)
System Property:
-Dmockserver.maxHeaderSize=...
Environment Variable:
MOCKSERVER_MAX_HEADER_SIZE=...
Property File:
mockserver.maxHeaderSize=...
Example:
-Dmockserver.maxHeaderSize="16384"
Maximum size of HTTP chunks in request or responses
Type: int Default: Integer.MAX_VALUE
Java Code:
ConfigurationProperties.maxChunkSize(int size)
System Property:
-Dmockserver.maxChunkSize=...
Environment Variable:
MOCKSERVER_MAX_CHUNK_SIZE=...
Property File:
mockserver.maxChunkSize=...
Example:
-Dmockserver.maxChunkSize="16384"
If true semicolons are treated as a separator for a query parameter string, if false the semicolon is treated as a normal character that is part of a query parameter value.
Type: int Default: true
Java Code:
ConfigurationProperties.useSemicolonAsQueryParameterSeparator(boolean useSemicolonAsQueryParameterSeparator)
System Property:
-Dmockserver.useSemicolonAsQueryParameterSeparator=...
Environment Variable:
MOCKSERVER_USE_SEMICOLON_AS_QUERY_PARAMETER_SEPARATOR=...
Property File:
mockserver.useSemicolonAsQueryParameterSeparator=...
Example:
-Dmockserver.useSemicolonAsQueryParameterSeparator="false"
If false requests are assumed as binary if the method isn't one of "GET", "POST", "PUT", "HEAD", "OPTIONS", "PATCH", "DELETE", "TRACE" or "CONNECT"
Type: int Default: false
Java Code:
ConfigurationProperties.assumeAllRequestsAreHttp(boolean assumeAllRequestsAreHttp)
System Property:
-Dmockserver.assumeAllRequestsAreHttp=...
Environment Variable:
MOCKSERVER_ASSUME_ALL_REQUESTS_ARE_HTTP=...
Property File:
mockserver.assumeAllRequestsAreHttp=...
Example:
-Dmockserver.assumeAllRequestsAreHttp="true"
If true (the default) when no matching expectation is found, and the host header of the request does not match MockServer's host, then MockServer attempts to proxy the request if that fails then a 404 is returned.
If false when no matching expectation is found, and MockServer is not being used as a proxy, then MockServer always returns a 404 immediately.
Type: string Default: true
Java Code:
ConfigurationProperties.attemptToProxyIfNoMatchingExpectation(boolean enable)
System Property:
-Dmockserver.attemptToProxyIfNoMatchingExpectation=...
Environment Variable:
MOCKSERVER_ATTEMPT_TO_PROXY_IF_NO_MATCHING_EXPECTATION=...
Property File:
mockserver.attemptToProxyIfNoMatchingExpectation=...
Example:
-Dmockserver.attemptToProxyIfNoMatchingExpectation="false"
Use HTTP proxy (i.e. via Host header) for all outbound / forwarded requests
Type: string Default: null
Java Code:
ConfigurationProperties.forwardHttpProxy(String hostAndPort)
System Property:
-Dmockserver.forwardHttpProxy=...
Environment Variable:
MOCKSERVER_FORWARD_HTTP_PROXY=...
Property File:
mockserver.forwardHttpProxy=...
Example:
-Dmockserver.forwardHttpProxy="<IP_ADDRESS>:1090"
Use HTTPS proxy (i.e. HTTP CONNECT) for all outbound / forwarded requests, supports TLS tunnelling of HTTPS requests
Type: string Default: null
Java Code:
ConfigurationProperties.forwardHttpsProxy(String hostAndPort)
System Property:
-Dmockserver.forwardHttpsProxy=...
Environment Variable:
MOCKSERVER_FORWARD_HTTPS_PROXY=...
Property File:
mockserver.forwardHttpsProxy=...
Example:
-Dmockserver.forwardHttpsProxy="<IP_ADDRESS>:1090"
Use SOCKS proxy for all outbound / forwarded requests, support TLS tunnelling of TCP connections
Type: string Default: null
Java Code:
ConfigurationProperties.forwardSocksProxy(String hostAndPort)
System Property:
-Dmockserver.forwardSocksProxy=...
Environment Variable:
MOCKSERVER_FORWARD_SOCKS_PROXY=...
Property File:
mockserver.forwardSocksProxy=...
Example:
-Dmockserver.forwardSocksProxy="<IP_ADDRESS>:1090"
Username for proxy authentication when using HTTPS proxy (i.e. HTTP CONNECT) for all outbound / forwarded requests
Note: 8u111 Update Release Notes state that the Basic authentication scheme has been deactivated when setting up an HTTPS tunnel. To resolve this clear or set to an empty string the following system properties: jdk.http.auth.tunneling.disabledSchemes
and jdk.http.auth.proxying.disabledSchemes
.
Type: string Default: null
Java Code:
ConfigurationProperties.forwardProxyAuthenticationUsername(String forwardProxyAuthenticationUsername)
System Property:
-Dmockserver.forwardProxyAuthenticationUsername=...
Environment Variable:
MOCKSERVER_FORWARD_PROXY_AUTHENTICATION_USERNAME=...
Property File:
mockserver.forwardProxyAuthenticationUsername=...
Example:
-Dmockserver.forwardProxyAuthenticationUsername=john.doe
Password for proxy authentication when using HTTPS proxy (i.e. HTTP CONNECT) for all outbound / forwarded requests
Note: 8u111 Update Release Notes state that the Basic authentication scheme has been deactivated when setting up an HTTPS tunnel. To resolve this clear or set to an empty string the following system properties: jdk.http.auth.tunneling.disabledSchemes
and jdk.http.auth.proxying.disabledSchemes
.
Type: string Default: null
Java Code:
ConfigurationProperties.forwardProxyAuthenticationPassword(String forwardProxyAuthenticationPassword)
System Property:
-Dmockserver.forwardProxyAuthenticationPassword=...
Environment Variable:
MOCKSERVER_FORWARD_PROXY_AUTHENTICATION_PASSWORD=...
Property File:
mockserver.forwardProxyAuthenticationPassword=...
Example:
-Dmockserver.forwardProxyAuthenticationPassword="p@ssw0rd"
The authentication realm for proxy authentication to MockServer
Type: string Default: MockServer HTTP Proxy
Java Code:
ConfigurationProperties.proxyAuthenticationRealm(String proxyAuthenticationRealm)
System Property:
-Dmockserver.proxyAuthenticationRealm=...
Environment Variable:
MOCKSERVER_PROXY_SERVER_REALM=...
Property File:
mockserver.proxyAuthenticationRealm=...
Example:
-Dmockserver.proxyAuthenticationRealm="MockServer HTTP Proxy"
The required username for proxy authentication to MockServer
Note: 8u111 Update Release Notes state that the Basic authentication scheme has been deactivated when setting up an HTTPS tunnel. To resolve this clear or set to an empty string the following system properties: jdk.http.auth.tunneling.disabledSchemes
and jdk.http.auth.proxying.disabledSchemes
.
Type: string Default:
Java Code:
ConfigurationProperties.proxyAuthenticationUsername(String proxyAuthenticationUsername)
System Property:
-Dmockserver.proxyAuthenticationUsername=...
Environment Variable:
MOCKSERVER_PROXY_AUTHENTICATION_USERNAME=...
Property File:
mockserver.proxyAuthenticationUsername=...
Example:
-Dmockserver.proxyAuthenticationUsername=john.doe
The required password for proxy authentication to MockServer
Note: 8u111 Update Release Notes state that the Basic authentication scheme has been deactivated when setting up an HTTPS tunnel. To resolve this clear or set to an empty string the following system properties: jdk.http.auth.tunneling.disabledSchemes
and jdk.http.auth.proxying.disabledSchemes
.
Type: string Default:
Java Code:
ConfigurationProperties.proxyAuthenticationPassword(String proxyAuthenticationPassword)
System Property:
-Dmockserver.proxyAuthenticationPassword=...
Environment Variable:
MOCKSERVER_PROXY_AUTHENTICATION_PASSWORD=...
Property File:
mockserver.proxyAuthenticationPassword=...
Example:
-Dmockserver.proxyAuthenticationPassword="p@ssw0rd"
Path to support HTTP GET requests for status response (also available on PUT /mockserver/status).
If this value is not modified then only PUT /mockserver/status but is a none blank value is provided for this value then GET requests to this path will return the 200 Ok status response showing the MockServer version and bound ports.
A GET request to this path will be matched before any expectation matching or proxying of requests.
Type: string Default: null
Java Code:
ConfigurationProperties.livenessHttpGetPath(String livenessPath)
System Property:
-Dmockserver.livenessHttpGetPath=...
Environment Variable:
MOCKSERVER_LIVENESS_HTTP_GET_PATH=...
Property File:
mockserver.livenessHttpGetPath=...
Example:
-Dmockserver.livenessHttpGetPath="/liveness/probe"


public abstract class AbstractGrid2D extends java.lang.Object implements Grid2D
Grid2D foo = ... ; foo.tx(4); // will not get inlined AbstractGrid2D bar = ...; bar.tx(4); // WILL get inlined ObjectGrid2D baz = ...; // (assuming we're an ObjectGrid2D) baz.tx(4); // WILL get inlined
| Constructor and Description |
|---|
AbstractGrid2D() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
buildMap(int size)
Creates a map of the provided size (or any size it likes if ANY_SIZE is passed in).
|
java.util.Map |
buildMap(java.util.Map other)
Creates a Map which is a copy of another.
|
protected void |
checkBounds(Grid2D other) |
int |
dlx(int x,
int y)
Hex downleft x.
|
int |
dly(int x,
int y)
Hex downleft y.
|
int |
downx(int x,
int y)
Hex down x.
|
int |
downy(int x,
int y)
Hex down y.
|
int |
drx(int x,
int y)
Hex downright x.
|
int |
dry(int x,
int y)
Hex downright y.
|
int |
getHeight()
Returns the width of the field.
|
void |
getHexagonalLocations(int x,
int y,
int dist,
int mode,
boolean includeOrigin,
IntBag xPos,
IntBag yPos)
Gets all neighbors located within the hexagon centered at (X,Y) and 2*dist+1 cells from point to opposite point
inclusive.
|
void |
getMooreLocations(int x,
int y,
int dist,
int mode,
boolean includeOrigin,
IntBag xPos,
IntBag yPos)
Gets all neighbors of a location that satisfy max( abs(x-X) , abs(y-Y) ) <= dist.
|
void |
getNeighborsHamiltonianDistance(int x,
int y,
int dist,
boolean toroidal,
IntBag xPos,
IntBag yPos)
Deprecated.
|
void |
getNeighborsHexagonalDistance(int x,
int y,
int dist,
boolean toroidal,
IntBag xPos,
IntBag yPos)
Deprecated.
|
void |
getNeighborsMaxDistance(int x,
int y,
int dist,
boolean toroidal,
IntBag xPos,
IntBag yPos)
Deprecated.
|
void |
getRadialLocations(int x,
int y,
double dist,
int mode,
boolean includeOrigin,
IntBag xPos,
IntBag yPos)
Gets all neighbors overlapping with a circular region centered at (X,Y) and with a radius of dist.
|
void |
getRadialLocations(int x,
int y,
double dist,
int mode,
boolean includeOrigin,
int measurementRule,
boolean closed,
IntBag xPos,
IntBag yPos)
Gets all neighbors overlapping with a circular region centered at (X,Y) and with a radius of dist.
|
void |
getVonNeumannLocations(int x,
int y,
int dist,
int mode,
boolean includeOrigin,
IntBag xPos,
IntBag yPos)
Gets all neighbors of a location that satisfy abs(x-X) + abs(y-Y) <= dist.
|
int |
getWidth()
Returns the width of the field.
|
protected boolean |
isDistributed() |
protected void |
removeOrigin(int x,
int y,
IntBag xPos,
IntBag yPos) |
protected void |
removeOriginToroidal(int x,
int y,
IntBag xPos,
IntBag yPos) |
int |
stx(int x)
Simple [and fast] toroidal x.
|
int |
sty(int y)
Simple [and fast] toroidal y.
|
boolean |
trb(int x,
int y)
Horizontal edge is on the bottom for triangle.
|
boolean |
trt(int x,
int y)
Horizontal edge is on the top for triangle.
|
int |
tx(int x)
Toroidal x.
|
int |
ty(int y)
Toroidal y.
|
int |
ulx(int x,
int y)
Hex upleft x.
|
int |
uly(int x,
int y)
Hex upleft y.
|
int |
upx(int x,
int y)
Hex up x.
|
int |
upy(int x,
int y)
Hex up y.
|
int |
urx(int x,
int y)
Hex upright x.
|
int |
ury(int x,
int y)
Hex upright y.
|
public final int getWidth()
Grid2D
public final int getHeight()
Grid2D
public java.util.Map buildMap(java.util.Map other)
Grid2D
public java.util.Map buildMap(int size)
Grid2D
public final int tx(int x)
Grid2D
public final int ty(int y)
Grid2D
public final int stx(int x)
Grid2D
public final int sty(int y)
Grid2D
public final int ulx(int x, int y)
Grid2D
public final int uly(int x, int y)
Grid2D
public final int urx(int x, int y)
Grid2D
public final int ury(int x, int y)
Grid2D
public final int dlx(int x, int y)
Grid2D
public final int dly(int x, int y)
Grid2D
public final int drx(int x, int y)
Grid2D
public final int dry(int x, int y)
Grid2D
public final int upx(int x, int y)
Grid2D
public final int upy(int x, int y)
Grid2D
public final int downx(int x, int y)
Grid2D
public final int downy(int x, int y)
Grid2D
public boolean trb(int x, int y)
Grid2D
public boolean trt(int x, int y)
Grid2D
public void getNeighborsMaxDistance(int x, int y, int dist, boolean toroidal, IntBag xPos, IntBag yPos)
Grid2D
This function may only run in two modes: toroidal or bounded. Unbounded lookup is not permitted, and so this function is deprecated: instead you should use the other version of this function which has more functionality. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
The origin -- that is, the (x,y) point at the center of the neighborhood -- is always included in the results.
This function is equivalent to: getNeighborsMaxDistance(x,y,dist,toroidal ? Grid2D.TOROIDAL : Grid2D.BOUNDED, true, xPos, yPos);
getNeighborsMaxDistance
in interface Grid2D
public void getMooreLocations(int x, int y, int dist, int mode, boolean includeOrigin, IntBag xPos, IntBag yPos)
Grid2D
This function may be run in one of three modes: Grid2D.BOUNDED, Grid2D.UNBOUNDED, and Grid2D.TOROIDAL. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. If "unbounded", then the neighbors are not so restricted. Note that unbounded neighborhood lookup only makes sense if your grid allows locations to actually be outside this box. For example, SparseGrid2D permits this but ObjectGrid2D and DoubleGrid2D and IntGrid2D and DenseGrid2D do not. Finally if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
You can also opt to include the origin -- that is, the (x,y) point at the center of the neighborhood -- in the neighborhood results.
getMooreLocations
in interface Grid2D
public void getNeighborsHamiltonianDistance(int x, int y, int dist, boolean toroidal, IntBag xPos, IntBag yPos)
Grid2D
This function may only run in two modes: toroidal or bounded. Unbounded lookup is not permitted, and so this function is deprecated: instead you should use the other version of this function which has more functionality. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
The origin -- that is, the (x,y) point at the center of the neighborhood -- is always included in the results.
This function is equivalent to: getNeighborsHamiltonianDistance(x,y,dist,toroidal ? Grid2D.TOROIDAL : Grid2D.BOUNDED, true, xPos, yPos);
getNeighborsHamiltonianDistance
in interface Grid2D
public void getVonNeumannLocations(int x, int y, int dist, int mode, boolean includeOrigin, IntBag xPos, IntBag yPos)
Grid2D
This function may be run in one of three modes: Grid2D.BOUNDED, Grid2D.UNBOUNDED, and Grid2D.TOROIDAL. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. If "unbounded", then the neighbors are not so restricted. Note that unbounded neighborhood lookup only makes sense if your grid allows locations to actually be outside this box. For example, SparseGrid2D permits this but ObjectGrid2D and DoubleGrid2D and IntGrid2D and DenseGrid2D do not. Finally if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
You can also opt to include the origin -- that is, the (x,y) point at the center of the neighborhood -- in the neighborhood results.
getVonNeumannLocations
in interface Grid2D
public void getNeighborsHexagonalDistance(int x, int y, int dist, boolean toroidal, IntBag xPos, IntBag yPos)
Grid2D
This function may only run in two modes: toroidal or bounded. Unbounded lookup is not permitted, and so this function is deprecated: instead you should use the other version of this function which has more functionality. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
The origin -- that is, the (x,y) point at the center of the neighborhood -- is always included in the results.
This function is equivalent to: getNeighborsHexagonalDistance(x,y,dist,toroidal ? Grid2D.TOROIDAL : Grid2D.BOUNDED, true, xPos, yPos);
getNeighborsHexagonalDistance
in interface Grid2D
public void getHexagonalLocations(int x, int y, int dist, int mode, boolean includeOrigin, IntBag xPos, IntBag yPos)
Grid2D
This function may be run in one of three modes: Grid2D.BOUNDED, Grid2D.UNBOUNDED, and Grid2D.TOROIDAL. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. If "unbounded", then the neighbors are not so restricted. Note that unbounded neighborhood lookup only makes sense if your grid allows locations to actually be outside this box. For example, SparseGrid2D permits this but ObjectGrid2D and DoubleGrid2D and IntGrid2D and DenseGrid2D do not. Finally if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
You can also opt to include the origin -- that is, the (x,y) point at the center of the neighborhood -- in the neighborhood results.
getHexagonalLocations
in interface Grid2D
public void getRadialLocations(int x, int y, double dist, int mode, boolean includeOrigin, IntBag xPos, IntBag yPos)
Grid2D
Places each x and y value of these locations in the provided IntBags xPos and yPos, clearing the bags first.
This function may be run in one of three modes: Grid2D.BOUNDED, Grid2D.UNBOUNDED, and Grid2D.TOROIDAL. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. If "unbounded", then the neighbors are not so restricted. Note that unbounded neighborhood lookup only makes sense if your grid allows locations to actually be outside this box. For example, SparseGrid2D permits this but ObjectGrid2D and DoubleGrid2D and IntGrid2D and DenseGrid2D do not. Finally if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
You can also opt to include the origin -- that is, the (x,y) point at the center of the neighborhood -- in the neighborhood results.
getRadialLocations
in interface Grid2D
public void getRadialLocations(int x, int y, double dist, int mode, boolean includeOrigin, int measurementRule, boolean closed, IntBag xPos, IntBag yPos)
Grid2D
Places each x and y value of these locations in the provided IntBags xPos and yPos, clearing the bags first.
This function may be run in one of three modes: Grid2D.BOUNDED, Grid2D.UNBOUNDED, and Grid2D.TOROIDAL. If "bounded", then the neighbors are restricted to be only those which lie within the box ranging from (0,0) to (width, height), that is, the width and height of the grid. If "unbounded", then the neighbors are not so restricted. Note that unbounded neighborhood lookup only makes sense if your grid allows locations to actually be outside this box. For example, SparseGrid2D permits this but ObjectGrid2D and DoubleGrid2D and IntGrid2D and DenseGrid2D do not. Finally if "toroidal", then the environment is assumed to be toroidal, that is, wrap-around, and neighbors are computed in this fashion. Toroidal locations will not appear multiple times: specifically, if the neighborhood distance is so large that it wraps completely around the width or height of the box, neighbors will not be counted multiple times. Note that to ensure this, subclasses may need to resort to expensive duplicate removal, so it's not suggested you use so unreasonably large distances.
You can also opt to include the origin -- that is, the (x,y) point at the center of the neighborhood -- in the neighborhood results.
getRadialLocations
in interface Grid2D
protected void checkBounds(Grid2D other)
protected boolean isDistributed()


Unai Emery: Former Arsenal boss approached by Everton for manager job
Former Arsenal boss Unai Emery was approached about the Everton job, Sky Sports News understands.
An informal meeting was held in London and it is thought Emery wants more time to think about his next move following his dismissal as Arsenal head coach.
Emery is keen to continue improving his English as he sees England, as well as Spain and Italy, as viable options for his next job.
The Spanish coach is taking time out after Arsenal, but he does not want to wait too long and is already thinking about his next challenge.
Related Articles
Arsenal sack Unai Emery: Manager leaves after 18 months in…
Nov 29, 2019 17,114 3
Granit Xhaka: Arsenal captain should apologise for reaction,…
Oct 29, 2019 8,195 2
Arsenal surrender two-goal lead as Palace fight back
Oct 27, 2019 14,614 2
Nakamba impresses against Arsenal
Sep 23, 2019 26,413 6
Everton are on the hunt for a new manager after they parted ways with Marco Silva last week, with Shanghai SIPG boss Vitor Pereira believed to top the board’s list, Sky Sports News understands.
Chairman Bill Kenwright and majority shareholder Farhad Moshiri have drawn up a four-man shortlist, including Napoli boss Carlo Ancelotti.
It has been confirmed to Sky Sports News Emery was desperate to sign Wilfried Zaha in the summer, as reported during the last window.
Emery also wanted to sign a central defender, and was keen on Harry Maguire – but he proved too expensive. SkyNews


The Replacements
It's pretty amazing that we, the movie-going public, will still plunk down good money to watch a movie use the same story and the same jokes we've seen countless times before. There isn't many original ideas to "The Replacements" - a sports comedy about screwball amateur football players who get a chance to play in the big leagues - but at least it doesn't crash and burn because it does have its moments.
How they got Keanu Reeves and Gene Hackman to star in a blatant rip-off of the "Major League" movies I'll never know. Those films were borderline B-movies and here we have two huge movie stars going through the motions of a run-of-the-mill zany comedy. But that's where the movie gets its charm - that it's so by-the-book in such an obvious way you can't help but laugh at predictable jokes and gags.
Not that the film is the funniest movie ever made or anything like that. The fact remains it is unoriginal for the most part and actually tries to get away with a generic, totally unbelievable story with all the cliches plugged into the right places.
What the movie does have going for it is that for every cliche there's a chance for a joke to work. The screenwriters apparently realized this and didn't bother to sketch out the characters and instead just give us caricatures. Reeves is the token aw-shucks hero, Hackman is the "We gotta win, you can do it"-coach. Then there's a large ensemble of supporting guys: a beserker cop who is uncontrollable; a pair of fat gangsters who take that mentality to the sport; a sumo wrestler; a prisoner on work release; a Welsh chain-smoking gambler; and a egotistical clown (played very well by Orlando Jones - the guy from those 7-Up commercials).
It's a funny premise with quite a few jokes that pay off, but the screenplay takes itself too seriously. With sports movies you have to feel like you're watching your favorite team from real life going for the championship - that's something you really can't do here.
GRADE: B-
***** Chad'z Movie Page is back! In-depth reviews of nearly all mainstream films playing at your local cineplex. There's also reviews of a few classic films and some of your personal favorites.
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


[§671D-13] Guidelines of the director. The director, in consultation with the director of the department of health, may adopt pursuant to chapter 91, such rules and voluntary guidelines as may assist the professional review bodies in meeting the standards described in section 671D-11(a). [L 1989, c 354, pt of §3 and c 363, pt of §3]


30. ar-Rum: The Romans
1
Alif. Lam. Mim.
2
The Romans have been defeated
3
In the nearer land, and they, after their defeat will be victorious
4
Within ten years - Allah's is the command in the former case and in the latter - and in that day believers will rejoice
5
In Allah's help to victory. He helpeth to victory whom He will. He is the Mighty, the Merciful.
6
It is a promise of Allah. Allah faileth not His promise, but most of mankind know not.
7
They know only some appearance of the life of the world, and are heedless of the Hereafter.
8
Have they not pondered upon themselves ? Allah created not the heavens and the earth, and that which is between them, save with truth and for a destined end. But truly many of mankind are disbelievers in the meeting with their Lord.
9
Have they not travelled in the land and seen the nature of the consequence for those who were before them ? They were stronger than these in power, and they dug the earth and built upon it more than these have built. Messengers of their own came unto them with clear proofs (of Allah's Sovereignty). Surely Allah wronged them not, but they did wrong themselves.
10
Then evil was the consequence to those who dealt in evil, because they denied the revelations of Allah and made a mock of them.
11
Allah produceth creation, then He reproduceth it, then unto Him ye will be returned.
12
And in the day when the Hour riseth the unrighteous will despair.
13
There will be none to intercede for them of those whom they made equal with Allah. And they will reject their partners (whom they ascribed unto Him).
14
In the day when the Hour cometh, in that day they will be sundered.
15
As for those who believed and did good works, they will be made happy in a Garden.
16
But as for those who disbelieved and denied Our revelations, and denied the meeting of the Hereafter, such will be brought to doom.
17
So glory be to Allah when ye enter the night and when ye enter the morning -
18
Unto Him be praise in the heavens and the earth! - and at the sun's decline and in the noonday.
19
He bringeth forth the living from the dead, and He bringeth forth the dead from the living, and He reviveth the earth after her death. And even so will ye be brought forth.
20
And of His signs is this: He created you of dust, and behold you human beings, ranging widely!
21
And of His signs is this: He created for you helpmeets from yourselves that ye might find rest in them, and He ordained between you love and mercy. Lo! herein indeed are portents for folk who reflect.
22
And of His signs is the creation of the heavens and the earth, and the difference of your languages and colours. Lo! herein indeed are portents for men of knowledge.
23
And of His signs is your slumber by night and by day, and your seeking of His bounty. Lo! herein indeed are portents for folk who heed.
24
And of His signs is this: He showeth you the lightning for a fear and for a hope, and sendeth down water from the sky, and thereby quickeneth the earth after her death. Lo! herein indeed are portents for folk who understand.
25
And of His signs is this: The heavens and the earth stand fast by His command, and afterward, when He calleth you, lo! from the earth ye will emerge.
26
Unto Him belongeth whosoever is in the heavens and the earth. All are obedient unto Him.
27
He it is Who produceth creation, then reproduceth it, and it is easier for Him. His is the Sublime Similitude in the heavens and the earth. He is the Mighty, the Wise.
28
He coineth for you a similitude of yourselves. Have ye, from among those whom your right hands possess, partners in the wealth We have bestowed upon you, equal with you in respect thereof, so that ye fear them as ye fear each other (that ye ascribe unto Us partners out of that which We created) ? Thus We display the revelations for people who have sense.
29
Nay, but those who do wrong follow their own lusts without knowledge. Who is able to guide him whom Allah hath sent astray ? For such there are no helpers.
30
So set thy purpose (O Muhammad) for religion as a man by nature upright - the nature (framed) of Allah, in which He hath created man. There is no altering (the laws of) Allah's creation. That is the right religion, but most men know not -
31
Turning unto Him (only); and be careful of your duty unto Him and establish worship, and be not of those who ascribe partners (unto Him);
32
Of those who split up their religion and became schismatics, each sect exulting in its tenets.
33
And when harm toucheth men they cry unto their Lord, turning to Him in repentance; then, when they have tasted of His mercy, behold! some of them attribute partners to their Lord
34
So as to disbelieve in that which We have given them. (Unto such it is said): Enjoy yourselves awhile, but ye will come to know.
35
Or have We revealed unto them any warrant which speaketh of that which they associate with Him ?
36
And when We cause mankind to taste of mercy they rejoice therein; but if an evil thing befall them as the consequence of their own deeds, lo! they are in despair!
37
See they not that Allah enlargeth the provision for whom He will, and straiteneth (it for whom He will). Lo! herein indeed are portents for folk who believe.
38
So give to the kinsman his due, and to the needy, and to the wayfarer. That is best for those who seek Allah's Countenance. And such are they who are successful.
39
That which ye give in usury in order that it may increase on (other) people's property hath no increase with Allah; but that which ye give in charity, seeking Allah's Countenance, hath increase manifold.
40
Allah is He Who created you and then sustained you, then causeth you to die, then giveth life to you again. Is there any of your (so-called) partners (of Allah) that doeth aught of that ? Praised and Exalted be He above what they associate (with Him)!
41
Corruption doth appear on land and sea because of (the evil) which men's hands have done, that He may make them taste a part of that which they have done, in order that they may return.
42
Say (O Muhammad, to the disbelievers): Travel in the land, and see the nature of the consequence for those who were before you! Most of them were idolaters.
43
So set thy purpose resolutely for the right religion, before the inevitable day cometh from Allah. On that day mankind will be sundered-
44
Whoso disbelieveth must (then) bear the consequences of his disbelief, while those who do right make provision for themselves -
45
That He may reward out of His bounty those who believe and do good works. Lo! He loveth not the disbelievers (in His guidance).
46
And of His signs is this: He sendeth herald winds to make you taste His mercy, and that the ships may sail at His command, and that ye may seek his favour, and that haply ye may be thankful.
47
Verily We sent before thee (Muhammad) messengers to their own folk. Then we took vengeance upon those who were guilty (in regard to them). To help believers is ever incumbent upon Us.
48
Allah is He Who sendeth the winds so that they raise clouds, and spreadeth them along the sky as pleaseth Him, and causeth them to break and thou seest the rain downpouring from within them. And when He maketh it to fall on whom He will of His bondmen, lo! they rejoice;
49
Though before that, even before it was sent down upon them, they were in despair.
50
Look, therefore, at the prints of Allah's mercy (in creation): how He quickeneth the earth after her death. Lo! He verily is the Quickener of the Dead, and He is Able to do all things.
51
And if We sent a wind and they beheld it yellow, they verily would still continue in their disbelief.
52
For verily thou (Muhammad) canst not make the dead to hear, nor canst thou make the deaf to hear the call when they have turned to flee.
53
Nor canst thou guide the blind out of their error. Thou canst make none to hear save those who believe in Our revelations so that they surrender (unto Him).
54
Allah is He Who shaped you out of weakness, then appointed after weakness strength, then, after strength, appointed weakness and grey hair. He createth what He will. He is the Knower, the Mighty.
55
And on the day when the Hour riseth the guilty will vow that they did tarry but an hour - thus were they ever deceived.
56
But those to whom knowledge and faith are given will say: The truth is, ye have tarried, by Allah's decree, until the Day of Resurrection. This is the Day of Resurrection, but ye used not to know.
57
In that day their excuses will not profit those who did injustice, nor will they be allowed to make amends.
58
Verily We have coined for mankind in this Qur'an all kinds of similitudes; and indeed if thou camest unto them with a miracle, those who disbelieve would verily exclaim: Ye are but tricksters!
59
Thus doth Allah seal the hearts of those who know not.
60
So have patience (O Muhammad)! Allah's promise is the very truth, and let not those who have no certainty make thee impatient.
-- Sura 30 --


--- title: Speakers call_to_action: Contact background_image_path: large_header: false show_in_navigation: true navigation_order: 1 ---
Isabel Baskin; Keynote Speaker
Izzi Baskin graduated from Swarthmore College in 2017 with majors in computer science and sociology.
Since college, she has worked as a software engineer in various industries. She last worked at BallotReady
where she built software to help people vote informed all the way down the ballot. She is currently a
front-end engineer for Dia&Co, a plus size clothing company that offers stylish clothes for plus size
women and speaks out against fatphobia in the fashion industry and beyond. Outside of work, Izzi can be
found browsing local bookstores and watching gymnastics.
Allison Lettiere; Panelist
Allison is a Master’s student at Stanford University studying computer science, with a focus in artificial
intelligence. She is interested in using AI to build assistive and accessible technologies, and will be
starting work on Apple’s Accessibility team as a software engineer in the fall.
Elina Rawat; Panelist
Elina Rawat is a freshman at Northwestern University studying Computer Science and Economics.
She is Indian, but grew up in Hong Kong, so that is where she calls home. She is a big advocate
of Women in STEM and hopes to inspire others to pursue STEM as well.
Julia Fairbank; Panelist
Julia Fairbank is a sophomore at Middlebury College where she studies computer science alongside philosophy.
In high school, Julia worked on a computational genetic lab team through Duke University where she built
RNA models, analyzed different potential drug docking points, ran thousands of drug candidates against those
regions, and compared results to pattern match what makes a success dock. She chose to continue in STEM by
majoring in computer science but chose to supplement it with philosophy which allows her to study both hard
and soft logical reasoning. Julia will be working for a private equity firm this coming summer, PeakSpan Capital,
which partners and invests in growth-stage software companies. She is Chicago raised and loves sailing on the lake.
Deena Tenzer; Workshop Leader
Deena Tenzer is a passionate software engineer with over five years of experience in the technology industry.
She currently works at Snapsheet in downtown Chicago where she creates, architects and maintains their
transactions platform as part of a small team of three people. Before COVID-19, Deena facilitated the
Water Payton Girls Who Code (GWC) club and ran GWC summer immersive programs for high school aged students
interested in STEM. Outside of work, Deena enjoys bike riding, figure skating and spending time outside!
Mary Jo (MJ) Zefeldt; Workshop Leader
MJ enjoys working at the intersection of code and design. She is currently an ever.ag development team member,
focusing on front-end development for ever.ag web applications. MJ is a Chicago native and graduate of Florida
State University (B.A. 2004). She is also a DePaul University College of Law graduate (J.D. 2007), DePaul University
College of Computing graduate (M.S. 2018), and Fullstack Academy Software Engineering practicum graduate (2019).
When she’s not writing code or pushing pixels, MJ will likely be found building lego structures with her son Gavin.