Free After mousedown, move mouse horizontally or vertically, see what happens. Don't forget to specify drag handler
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
| Howard The Duck |
"Comedy" |
1986 |
$321,391,432 |
| 300 |
100 |
200 |
50 |
tableDragger(document.querySelector("#row-table"), { mode: "row", onlyBody: true, dragHandler: ".handle" });
Sort Rows Sort rows, handler was the first column
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
| Howard The Duck |
"Comedy" |
1986 |
$321,391,432 |
300 |
100 |
200 |
50 |
tableDragger(document.querySelector("#row-table"), { mode: "row" });
Sort Columns With no options, sort columns, handler was the first row
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
| Howard The Duck |
"Comedy" |
1986 |
$321,391,432 |
| 300 |
100 |
200 |
50 |
tableDragger(document.querySelector("#default-table"));
Handler Specify drag handler wherever within the table
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
| Howard The Duck |
"Comedy" |
1986 |
$321,391,432 |
300 |
100 |
200 |
50 |
tableDragger(document.querySelector("#row-table"), { dragHandler: ".handle" });
Only Body Setting onlyBody to true in row mode, user can only lift rows in tBody
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
| Howard The Duck |
"Comedy" |
1986 |
$321,391,432 |
300 |
100 |
200 |
50 |
tableDragger(document.querySelector("#row-table"), { mode: "row", onlyBody: true });
Event Add callback when event trigger, open devtool see what happens
| Movie Title |
Genre |
Year |
Gross |
| Star Wars |
Adventure, Sci-fi |
1977 |
$460,935,665 |
| American Graffiti |
Comedy, Drama |
1973 |
$115,000,000 |
| Howard The Duck |
"Comedy" |
1986 |
$321,391,432 |
300 |
100 |
200 |
50 |
tableDragger(document.querySelector('#event-table'), { mode: 'free', dragHandler: '.handle', onlyBody: true })
.on('drag', () => {
console.log('drag');
})
.on('drop', (from, to, el, mode) => {
console.log(`drop ${el.nodeName} from ${from} ${mode} to ${to} ${mode}`);
})
.on('shadowMove', (from, to, el, mode) => {
console.log(`move ${el.nodeName} from ${from} ${mode} to ${to} ${mode}`);
})
.on('out', (el, mode) => {
console.log(`move out or drop ${el.nodeName} in mode ${mode}`);
});


1. Basic Python Programming - Jan 11, Jan 14, Jan 21
2. Intermediate Python Programming - Jan 30, Feb 3
3. Basic Linux Terminal - Feb 8
4. Intermediate Linux Programming - Mar 5
5. git version control - Mar 9
6. Basic HTML for web development
7. Basic CSS for web development
Also, get involved in Open source projects being developed by members of SNU-ACM Chapter
SNU ACM Github Repo


This object represents the link between a source and destination domain in service chaining
This object has no members.
A route filtering criteria enum. Defaults to ALL.
Allowed values: ALL, SUBNETS_ONLY
Default value: ALL
SDK attribute: acceptanceCriteria
This is the ID of the domain receiving the routes from the source. This can only be set for links of type OVERLAY_ADDRESS_TRANSLATION.
Format: free
SDK attribute: associatedDestinationID
None
SDK attribute: associatedDestinationName
Type of the entity type for the source
Allowed values: DOMAIN
SDK attribute: associatedDestinationType
The ID of the domain receiving the routes from another domain
Format: free
SDK attribute: associatedSourceID
None
Format: free
SDK attribute: associatedSourceName
This is the source object type for the associatedSourceID
Format: free
SDK attribute: associatedSourceType
Specify if scope of entity is Data center or Enterprise level
Allowed values: ENTERPRISE, GLOBAL
SDK attribute: entityScope
External object ID. Used for integration with third party systems
Format: free
SDK attribute: externalID
ID of the user who last updated the object.
Format: free
SDK attribute: lastUpdatedBy
This is set to true if a link has been created in the opposite direction
SDK attribute: readOnly
This is used to distinguish between different type of links: hub and spoke, ip address, VNS border router links.
Allowed values: BIDIR, BORDER_ROUTER, HUB_AND_SPOKE, OVERLAY_ADDRESS_TRANSLATION, SERVICE_CHAINING
SDK attribute: type


The charAt()
method returns the specified character from a string.
str.charAt(index)
index
Characters in a string are indexed from left to right. The index of the first character is 0, and the index of the last character in a string called stringName
is stringName.length - 1
. If the index
you supply is out of range, JavaScript returns an empty string.
The following example displays characters at different locations in the string "Brave new world"
:
var anyString = 'Brave new world'; console.log("The character at index 0 is '" + anyString.charAt(0) + "'"); console.log("The character at index 1 is '" + anyString.charAt(1) + "'"); console.log("The character at index 2 is '" + anyString.charAt(2) + "'"); console.log("The character at index 3 is '" + anyString.charAt(3) + "'"); console.log("The character at index 4 is '" + anyString.charAt(4) + "'"); console.log("The character at index 999 is '" + anyString.charAt(999) + "'");
These lines display the following:
The character at index 0 is 'B' The character at index 1 is 'r' The character at index 2 is 'a' The character at index 3 is 'v' The character at index 4 is 'e' The character at index 999 is ''
The following provides a means of ensuring that going through a string loop always provides a whole character, even if the string contains characters that are not in the Basic Multi-lingual Plane.
var str = 'A \uD87E\uDC04 Z'; // We could also use a non-BMP character directly for (var i = 0, chr; i < str.length; i++) { if ((chr = getWholeChar(str, i)) === false) { continue; } // Adapt this line at the top of each loop, passing in the whole string and // the current iteration and returning a variable to represent the // individual character console.log(chr); } function getWholeChar(str, i) { var code = str.charCodeAt(i); if (isNaN(code)) { return ''; // Position not found } if (code < 0xD800 || code > 0xDFFF) { return str.charAt(i); } // High surrogate (could change last hex to 0xDB7F to treat high private // surrogates as single characters) if (0xD800 <= code && code <= 0xDBFF) { if (str.length <= (i + 1)) { throw 'High surrogate without following low surrogate'; } var next = str.charCodeAt(i + 1); if (0xDC00 > next || next > 0xDFFF) { throw 'High surrogate without following low surrogate'; } return str.charAt(i) + str.charAt(i + 1); } // Low surrogate (0xDC00 <= code && code <= 0xDFFF) if (i === 0) { throw 'Low surrogate without preceding high surrogate'; } var prev = str.charCodeAt(i - 1); // (could change last hex to 0xDB7F to treat high private // surrogates as single characters) if (0xD800 > prev || prev > 0xDBFF) { throw 'Low surrogate without preceding high surrogate'; } // We can pass over low surrogates now as the second component // in a pair which we have already processed return false; }
In an exclusive JavaScript 1.7+ environment (such as Firefox) which allows destructured assignment, the following is a more succinct and somewhat more flexible alternative in that it does incrementing for an incrementing variable automatically (if the character warrants it in being a surrogate pair).
var str = 'A\uD87E\uDC04Z'; // We could also use a non-BMP character directly for (var i = 0, chr; i < str.length; i++) { [chr, i] = getWholeCharAndI(str, i); // Adapt this line at the top of each loop, passing in the whole string and // the current iteration and returning an array with the individual character // and 'i' value (only changed if a surrogate pair) console.log(chr); } function getWholeCharAndI(str, i) { var code = str.charCodeAt(i); if (isNaN(code)) { return ''; // Position not found } if (code < 0xD800 || code > 0xDFFF) { return [str.charAt(i), i]; // Normal character, keeping 'i' the same } // High surrogate (could change last hex to 0xDB7F to treat high private // surrogates as single characters) if (0xD800 <= code && code <= 0xDBFF) { if (str.length <= (i + 1)) { throw 'High surrogate without following low surrogate'; } var next = str.charCodeAt(i + 1); if (0xDC00 > next || next > 0xDFFF) { throw 'High surrogate without following low surrogate'; } return [str.charAt(i) + str.charAt(i + 1), i + 1]; } // Low surrogate (0xDC00 <= code && code <= 0xDFFF) if (i === 0) { throw 'Low surrogate without preceding high surrogate'; } var prev = str.charCodeAt(i - 1); // (could change last hex to 0xDB7F to treat high private surrogates // as single characters) if (0xD800 > prev || prev > 0xDBFF) { throw 'Low surrogate without preceding high surrogate'; } // Return the next character instead (and increment) return [str.charAt(i + 1), i + 1]; }
charAt()
to support non-Basic-Multilingual-Plane (BMP) charactersWhile the example above may be more frequently useful for those wishing to support non-BMP characters (since it does not require the caller to know where any non-BMP character might appear), in the event that one does wish, in choosing a character by index, to treat the surrogate pairs within a string as the single characters they represent, one can use the following:
function fixedCharAt(str, idx) { var ret = ''; str += ''; var end = str.length; var surrogatePairs = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; while ((surrogatePairs.exec(str)) != null) { var li = surrogatePairs.lastIndex; if (li - 2 < idx) { idx++; } else { break; } } if (idx >= end || idx < 0) { return ''; } ret += str.charAt(idx); if (/[\uD800-\uDBFF]/.test(ret) && /[\uDC00-\uDFFF]/.test(str.charAt(idx + 1))) { // Go one further, since one of the "characters" is part of a surrogate pair ret += str.charAt(idx + 1); } return ret; }
Created by Mozilla Contributors, license: CC-BY-SA 2.5


--- notes: | - For use on sites similar to WileyPLUS, Wiley Online Library, etc. - The colors used for the dotted line, crescent, and arrow can be a combination of colours from the [One Wiley secondary color palette](toolkit.html#03-colors) An example ---


ping teams.microsoft.com
ping canvas.instructure.com
*pings every 30 secs
| Name | Formula |
|---|---|
| Chain Rule | $$\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}$$ |
| Product Rule | $$\frac{dy}{dx} = vu' + uv'$$ |
| Quotient Rule | $$\frac{dy}{dx} = \frac {vu' - uv'}{v^2}$$ |
| Angle of inclination | $$m = tan\theta$$ |
| Tangent vs Normal | $$m_{tangent} \times m_{normal} = -1$$ |
| Point-gradient formula | $$y - y_{1} = m(x - x_{1})$$ |
| Area of a sector (degrees) | $$A = \pi r^2 \times \frac{\theta}{360°}$$ |
| Area of a sector (radians) | $$A = \frac{1}{2} r^2 \theta$$ |
| Length of an arc | $$l = r \theta$$ |
| Sine area formula | $$A = \frac{1}{2}ABsinC$$ |


---
layout: about
title: About Me
---
I'm Hardik Bishnoi, a computer science undergraduate based in Delhi, India. Welcome to my personal website. Here, I record my thoughts on research and life - looking to educate and collaborate on technologies and experiences.
Having a strong interest in AI research and development, I look to take part in projects and initiatives which are shaping our lives. In the near future, I want to pursue graduate school, and research generative AI. I am incredibly fascinated by the way this techonology can and will impact our present and the present of generations to come - technologically, ethically, socially.
I am a learner on a journey to expand my horizons and the boundaries of creative expression and machine learning. I am actively learning about new things and building projects to solve problems. Through my projects, I strive to create innovative and interactive experiences.
If you like my blogs and/or would like to support me, consider buying me a coffee on Ko-fi☕❤.


Event is emitted if a channel is removed.
event: "CHANNEL_DELETE"
ChannelDeleteObject: IChannelDeleteEventObject
A Channel instance containing the existing updated channel instance.
This event is emitted if a channel is deleted in a guild in which the bot is a member. It will also be emitted if a DM channel is removed.
| Connecting to Discord |
|


Lebron James is does not disappoint.  In the month of November Lebron James has put up some impressive numbers every night.
| Game | Points |
|---|---|
| Pacers | 33 |
| Wizards | 57 |
| Hawks | 26 |
| Bucks | 30 |
| Rockets | 33 |
| Mavericks | 19 |
| Knicks | 23 |
| Hornets | 31 |
| Clippers | 39 |
| Pistons | 18 |
| Raptors | 33 |
| Hornets | 27 |
| 76ers | 30 |
| Heat | 21 |
| Hawks | 24 |
| Total | 444 |


Selectize.js
Email Contacts
An example showing how you might go about creating contact selector like those used in Email apps.
To:


Discovery of Korea
Here we go, we have moved to Korea.
It has already been a week, and even if we haven't had much time to explore, we had the time to enjoy a good range of different Korean food, and visit the city a bit.
We spent the first week in Alpensia, in PyongChang. This is a ski resort that looks very similar to the ones I kow in France, except for the Korean characters on the sign posts. There are not a lot of summer activities, but the mountains are very green. Next week, we are moving to Gangneung, a coastal city.
Below is a selection of pictures illustrating different aspect of our discoveries so far.
A barbecue place in Gyo-dong, Gangneung.
Alpensia resort, in PyeongChang
Another view of Alpensia in the sunset; on the left, the future Olympic ski jump tower


Movies Gallery
Filter:
All
Adventure
Action
Biography
Crime
Comedy
Sci-Fi
Sport
Thriller
USA
view as:
✕
Favorite list


Schedule
1
/
Search Space
0
Loading...


This time of year I have to file my renewal for my DOE Fellowship, including a statement of accomplishments and a summary of the computational aspects of my work. Seemed like a good idea to jot these down in my notebook as well:
synopsis of accomplishments over the year:
In January I passed my qualifying exam, advancing to candidacy where my dissertation remains my only requirement. In March I attended the phylogenetics workshop in Bodega Bay, an internationally known week-long training program. I also attended the CSGF conference in June, and gave talks at both the Evolution conference and the integrative phylogenetics conference, iEvoBio, in July, both key events in my field.
From the beginning of June until the start of September, I stepped outside my research in phylogenetic models to focus on stochastic population dynamics. While the details of this project are described in my practicum evaluation, the mathematical and computational tools I learned in the process have found surprisingly apt applications in my phylogenetics research, where they have helped me solve a key problem in my thesis. Since this breakthrough, I have been focused on writing up two manuscripts which have been made possible by this step forward.
As my computational needs surpass what is readily available through my lab servers, I have learned to leverage Amazon’s cloud computing for rapid deployment of large-scale simulations and analyses. Overall, this has been a productive year, translating what I’ve learned in my POS classes into practical research experience and making some important steps in my thesis. I look forward to the next year of synthesizing and writing up these results and continuing to build on the methods and tools I’ve learned and developed.
describe concisely what you regard as the most interesting and innovative aspects of your current research, with special emphasis on computational science.
My research combines the recent explosion of data available through gene sequencing and subsequent readily available phylogenetic information with the power of high-performance computational approaches to “replay the tape” of evolution to better understand the origins and maintenance of biodiversity.
Genetic data paved the way to phylogenetic inference, the mapping of ancestor-descendant relationships between the species living today. These phylogenies become my periscope into the past. In the absence of fossils, I can simulate different evolutionary models of selection on various traits retracing the phylogenetic tree to discover which models are most consistent with the patterns in species we observe today. By running the stochastic simulation repeatedly, I can create not only one possible outcome, but the parameter space of all possible outcomes and their associated probabilities. This planet has run the experiment of evolution only once, but using this computationally intensive approach I can run that process over and over again under different assumptions, allowing me to explore evolutionary questions that can be answered no other way.
My own reflections and list
Hmm, the research summary with computational emphasis is kinda vague, but aiming for a non-specialist audience. Hard to differentiate between the aspects that really leverage HPC and those that can be adequately run at the desktop level. Is that really the best statement of my accomplishments? I might try a different format for myself:
Formulated and explored implications of my phylogenetic Monte Carlo approach. Formulated throughout the Spring quarter, been writing and rewriting the manuscript most of this past Fall.
Derived and implemented the heterogeneous alpha/sigma model (in a few busy days and a long train ride in July, waiting to write up after PMC is done)
Used said model and phylogenetic Monte Carlo to demonstrate clear release-of-constraint in the Labrid data
Exploring better early warning signal models and detection methods. Settled on linearized models of the canonical form of two bifurcation types, identifying warning signals directly by a similar Monte Carlo test to the phylogenetics example.
Explored stochastic population dynamics in structured populations via the ELPA tribolium model. Negative feedbacks mean no large-amplification demographic noise, but cycles do break down the linear noise approximation. (a few weeks in May and June)
Rebuilt the Adaptive Dynamics code to illustrate how time to branching and coexistence times vary in parameter space (auto-generation of the butterfly plots, mostly two weeks in April)
Began my open lab notebook (starting in January on OWW, migrated to Wordpress in Sept), public code hosting (initially google code, moved to github in March), Mendeley database (Oct ’09), Flickr only this Oct, and social media for science (Twitter only since July, though have used FF since the beginning of the year).
Started AWS/cloud computing. Still coding in C but using R more, parallelization in R’s snowfall.
In this spirit, Mendeley provides some easy data on what I’ve been reading:
Interesting if not too surprising that my most popular authors are all advisors of mine, except Losos. (Also it’s really obvious where I twice deleted my Mendeley database and needed their help support to recover my data… in only a few days).
.


ng-alertify by
Kensho
AngularJS wrapper around
alertify.js
.
Show alert modal
Show confirm dialog
Show prompt dialog
Show confirm dialog with css class
Show JSON object
Source at
kensho/ng-alertify
.


libstddjb
libskarnet
skalibs
Software
skarnet.org
The selfpipe functions are declared in the skalibs/selfpipe.h header and implemented in the libskarnet.a or libskarnet.so library.

They do. I don't care how experienced you are with C/Unix programming, they do. You can be Ken Thompson, if you use signal handlers as a regular part of your C programming model, you are going to screw up, and write buggy code.
Unix is tricky enough with interruptions. Even when you have a single thread, signals can make the execution flow very non-intuitive. They mess up the logic of linear and structured code, they introduce non-determinism; you always have to think "and what if I get interrupted here and the flow goes into a handler...". This is annoying.
Moreover, signal handler code is very limited in what it can
do. It can't use any non-reentrant function! If you call a non-reentrant
function, and by chance you were precisely in that non-reentrant function
code when you got interrupted by a signal... you lose. That means, no
malloc(). No bufferized IO. No globals. The list goes on and on.
If you're going to catch signals, you'll want to handle them outside
the signal handler. You actually want to spend the least possible
time inside a signal handler - just enough to notify your main
execution flow that there's a signal to take care of.
And, of course, signal handlers don't mix with event loops, which is a classic source of headaches for programmers and led to the birth of abominations such as pselect. So much for the "everything is a file" concept that Unix was built on.
A signal should be an event like any other. There should be a unified interface - receiving a signal should make some fd readable or something.
And that's exactly what the self-pipe trick, invented by DJB, does.
As long as you're in some kind of event loop, the self-pipe trick allows you to forget about signal handlers... forever. It works this way:
When you get a signal, a byte will be written to the self-pipe, and your execution flow will resume. When you next go through the event loop, p[0] will be readable; you'll then be able to read a byte from it, identify the signal, and handle it - in your unrestricted main environment (the "bottom half" of the handler).
 You can forget their existence and recover some peace of mind.
Note that in an asynchronous event loop, you need to protect your system calls against EINTR by using safe wrappers.
int fd = selfpipe_init() ;
selfpipe_init() sets up a selfpipe. You must use that
function first.
If fd is -1, then an error occurred. Else fd is a
non-blocking descriptor that can be used in your event loop. It will
be selected for readability when you've caught a signal.
int r = selfpipe_trap(SIGTERM) ;
selfpipe_trap() catches a signal and sends it to the selfpipe.
Uncaught signals won't trigger the selfpipe. r is 1 if
the operation succeeded, and 0 if it failed. If it succeeded, you
can forget about the trapped signal entirely.
In our example, if r is 1, then a SIGTERM will instantly
trigger readability on fd.
int r ; sigset_t set ; sigemptyset(&set) ; sigaddset(&set, SIGTERM) ; sigaddset(&set, SIGHUP) ; r = selfpipe_trapset(&set) ;
selfpipe_trap() handles signals one by one. Alternatively (and often preferrably), you can use selfpipe_trapset() to directly handle signal sets. When you call selfpipe_trapset(), signals that are present in set will be caught by the selfpipe, and signals that are absent from set will be uncaught. r is 1 if the operation succeeded and 0 if it failed.
int c = selfpipe_read() ;
Call selfpipe_read() when your fd is readable.
That's where you write your real signal handler: in the
body of your event loop, in a "normal" context.
c is -1 if an error occurred - in which case chances are
it's a serious one and your system has become very unstable.
c is 0 if there are no more pending signals. If c
is positive, it is the number of the signal that was caught.
int fd = selfpipe_fd() ;
Sometimes you need to access the fd of the selfpipe in two very distinct translation units (typically to poll on it), and you rightly don't want to add a global variable to store it, especially since it's already stored in a global internal variable in skalibs. No need to bloat your binary anymore: selfpipe_fd() will now retrieve the value for you, wherever you are.
selfpipe_finish() ;
Call selfpipe_finish() when you're done using the selfpipe. Signal handlers will be restored to SIG_DFL, i.e. signals will not be trapped anymore.
Some, as always.
Yes, the Linux team loves to gratuitously add new system calls to do things that could already be done before without much effort. This adds API complexity, which is not a sign of good engineering.
However, now that signalfd() exists, it is indeed marginally more efficient than a pipe, and it saves one fd: so the selfpipe library is implemented via signalfd() when this call is available.


|
Bomberman
1.0
Re-make of Bomberman game
|
Represents current state of the StateMachine. Holds all necessary info about current state in itself. More...
#include <StateMachine.h>
Public Member Functions | |
| template<typename T > | |
| void | onTick (T &, float) |
| Called every frame for this state and lets him do everything he needs to. More... | |
| template<typename T > | |
| void | onEntry (T &) |
| Called every time this state is entered. Lets this state setup it's data. More... | |
| template<typename T > | |
| bool | transition (const T &) |
| Called every frame to see if this State need to be changed to another. More... | |
Represents current state of the StateMachine. Holds all necessary info about current state in itself.
|
inline |
Called every time this state is entered. Lets this state setup it's data.
|
inline |
Called every frame for this state and lets him do everything he needs to.
|
inline |
Called every frame to see if this State need to be changed to another.


|
MOTS Finder
Find non-star-shaped MOTSs
|
Miscellaneous numerical utilities and helpers. More...
Classes | |
| class | _BinomialCoeffs |
| Helper class to simply cache the coefficient lists. More... | |
| class | IntegrationResult |
Wrapper of the full_output of a quad() call. More... | |
| class | IntegrationResults |
| Represents a sequence of multiple integration results. More... | |
| class | NumericalError |
| Exception raised for problems with numerical evaluation. More... | |
Functions | |
| def | nan_mat (shape) |
| Create a matrix of NaN values. More... | |
| def | clip (x, x_min, x_max) |
| Confine a value to an interval. More... | |
| def | binomial (n, k) |
| Compute the binomial coefficient n choose k. More... | |
| def | binomial_coeffs (n) |
| Compute all binomial coefficients n choose k for 0 <= k <= n. More... | |
| def | inf_norm1d (f1, f2=None, domain=None, Ns=50, xatol=1e-12) |
| Compute the L^inf norm of f1-f2. More... | |
| def | try_quad_tolerances (func, args=(), kwargs=None, tol_min=1e-11, tol_max=1e-2, tol_steps=None, verbose=False) |
| Try to run a given function with increasing tolerance until integration succeeds. More... | |
| def | inverse_2x2_matrix_derivative (A, dA=None, ddA=None, diff=1) |
| Compute derivatives of the inverse of a 2x2 matrix. More... | |
| def | raise_all_warnings () |
| Context manager for turning numpy and native warnings into exceptions. More... | |
Miscellaneous numerical utilities and helpers.
Examples
| def motsfinder.numutils.binomial | ( | n, | |
| k | |||
| ) |
Compute the binomial coefficient n choose k.
| def motsfinder.numutils.binomial_coeffs | ( | n | ) |
Compute all binomial coefficients n choose k for 0 <= k <= n.
The result is a list of integers
| def motsfinder.numutils.clip | ( | x, | |
| x_min, | |||
| x_max | |||
| ) |
Confine a value to an interval.
| def motsfinder.numutils.inf_norm1d | ( | f1, | |
f2 = None , |
|||
domain = None , |
|||
Ns = 50 , |
|||
xatol = 1e-12 |
|||
| ) |
Compute the L^inf norm of f1-f2.
The scipy.optimize.brute
method is used to find a candidate close to the global maximum difference. This is then taken as starting point for a search for the local maximum difference. Setting the number of samples Ns
high enough should lead to the global maximum difference being found.
| f1 | First function. May also be a NumericExpression . |
| f2 | Second function. May also be a NumericExpression . If not given, simply finds the maximum absolute value of f1 . |
| domain | Domain [a, b] inside which to search for the maximum difference. By default, f1 is queried for the domain. |
| Ns | Number of initial samples for the scipy.optimize.brute call. In case Ns <= 2 , the brute() step is skipped an a local extremum is found inside the given domain . Default is 50 . |
(x, delta)
, where x
is the point at which the maximum difference was found and delta
is the difference at that point. | def motsfinder.numutils.inverse_2x2_matrix_derivative | ( | A, | |
dA = None , |
|||
ddA = None , |
|||
diff = 1 |
|||
| ) |
Compute derivatives of the inverse of a 2x2 matrix.
Given an invertible 2x2 matrix A
with elements and any needed derivatives w.r.t. two different variables, this returns the derivatives of the inverse of A
.
| A | The original matrix to compute the inverse of. |
| dA | Nested list or NumPy array with three indices where dA[i][j][k] contains the value of . |
| ddA | Nested list or NumPy array with four indices where dA[i][j][k][l] contains the value of . |
| diff | Derivative order of the inverse matrix. If diff==0 , the inverse of A is returned and dA and ddA are not needed. dA is needed if diff > 0 and ddA for diff > 1 . Default is 1 . |
diff
. The meaning of the indices such that result[i1,i2,...,k,l]
contains the value , where B
is the inverse .Notes
Consider the matrix
The inverse is then given by
where . The derivatives are easily computed using the chain and Leibniz' rule, which result in (using the shorthand notation and )
and
where
| def motsfinder.numutils.nan_mat | ( | shape | ) |
Create a matrix of NaN values.
| def motsfinder.numutils.raise_all_warnings | ( | ) |
Context manager for turning numpy and native warnings into exceptions.
For example:
Without the raise_all_warnings()
context, the above code would just issue a warning but otherwise run fine. This allows catching the exception to act upon it, e.g.
| def motsfinder.numutils.try_quad_tolerances | ( | func, | |
args = () , |
|||
kwargs = None , |
|||
tol_min = 1e-11 , |
|||
tol_max = 1e-2 , |
|||
tol_steps = None , |
|||
verbose = False |
|||
| ) |
Try to run a given function with increasing tolerance until integration succeeds.
| func | Callable performing the integration. This should issue or raise an IntegrationWarning for too low tolerances. It is called as func(tol, *args, **kwargs) . |
| args | Optional additional positional arguments for func . |
| kwargs | Optional additional keyword arguments for func . |
| tol_min | Minimal tolerance to try first. Default is 1e-11 . |
| tol_max | Maximum tolerance to allow. If func fails for this tolerance, no more trials are done and the IntegrationWarning warning is raised. Default is 1e-2 . |
| tol_steps | How many steps to try when going from tol_min to tol_max . Should be at least two. Default is to go roughly through each order of magnitude. |
| verbose | If True , print the tolerances as they are tried out. Default is False . |


var person = {firstName:"Jarred", lastName:"Hare", age:25, eyeColor:"green"};
var person = new Object();
person.firstName = "Jarred";
person.lastName = "Hare";
person.age = 25;
person.eyeColor = "green";
An object in JS is essentially a container that has properties and methods associated with it. In the example here the properties of the "person" object are set using object literal notation or the constructor function.
We can easily add and refer to properties and methods to the object using the . (dot) notation. In the example we have seen we use this notation to create the firstName property on the object person.
var Person = function Person(firstName, lastName, age, eyeColor) {
this.firstName = firstName;
this.lastName = lastName;
this.age = age;
this.eyeColor = eyeColor;
}
Person.prototype.doubleAge = function() { return this.age * 2 }
Every function is assigned a new empty object called prototype. This object has some special treatment, the key point is that when any new object is created it inherits the properties of its constructor's prototype. Like any other object, we can assign both properties and methods to the prototype. Properties are usually defined in the constructor method whereas methods are normally defined using the prototype object.
further readings that clarify the relation between constructor and prototype:
This is far from being a cheatsheet or event a good article, but I didn't want to leave this without pointing to other valuable resources that clarify how JS can be used as an Object Oriented Programming despite its lack of built features that make it ready out of the box.
JavaScript private methods
Private Members in JavaScript
Four ways to deal with private members in JavaScript
OOP in JS, Part 1 : Public/Private Variables and Methods


Chairperson +91<PHONE_NUMBER><EMAIL_ADDRESS>Vice Chairperson +91<PHONE_NUMBER><EMAIL_ADDRESS>Vice Chairperson +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Photography & Videography +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Technology +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Performing Arts +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Celebrity Hospitality +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Finance +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Public Relations College Representative +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Registrations +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Logistics<PHONE_NUMBER>,<PHONE_NUMBER><EMAIL_ADDRESS>Head, Literary Arts +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Security +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Logistics +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Gaming +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Public Relations & Social Media +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Marketing +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Logistics +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Art and Décor +91<PHONE_NUMBER><EMAIL_ADDRESS>Head, Fine Arts<PHONE_NUMBER>,<PHONE_NUMBER> YASHITA.CHANDRASHEKHAR10@nmims.edu.in


Lorem ipsum this i description
Who doesn't like lamb and rice? We've all hit the halal cart at 3am while quasi-blackout after a night of binge drinking in Manhattan. Now it's your dog's turn!


|
|
|
|
|
|
RESULTS --
WEDNESDAY CROSS SERIES NO4 |
|
|
|
|
|
|
|
|
|
|
|
|
| Sponsor |
Year |
Permit |
Date |
Event |
Class |
Place |
License |
Last |
First |
Team |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MEN'S A |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
1 |
B0150610 |
VAN GARDEREN |
Tejay |
Rio Grande |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
2 |
B0068412 |
ROBERTSON |
Tom |
Northern Rockies |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
3 |
B0087139 |
EVENS |
Timmy |
Northern Rockies |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
4 |
One Day |
HAHN |
Jamul |
Northern Rockies |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
5 |
80669 |
BELTZ |
Mike |
Northern Rockies |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
6 |
B0202497 |
PRESTA |
Bob |
Team Stampede/Five Valley Velo |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
7 |
B0197580 |
FISCHER |
Andy |
Team Stampede/Five Valley Velo |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
8 |
One Day |
McMILLAN |
Shane |
Unattached |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
DNF |
B0102725 |
HARTMAN |
Dave |
Northern Rockies |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
A |
DNF |
B0038071 |
WHITMORE |
Josh |
Team Stampede/Five Valley Velo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MEN'S B |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
1 |
B0004226 |
BOOKWALTER |
Jeff |
Team Stampede/Five Valley Velo |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
2 |
One Day |
SMITH |
Garret |
Unattached |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
3 |
B0172566 |
BECHTOLD |
Tim |
Team Stampede/Five Valley Velo |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
4 |
Pending Annual |
BICKELL |
Dale |
Team Stampede/Five Valley Velo |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
5 |
One Day |
LASILLA |
Andy |
Unattached |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
6 |
B0063090 |
VISSCHER |
Ernst |
Gallatin Valley Bicycle Club |
| USCF |
2004 |
2004-1930 |
10/13/2004 |
Cross Race |
B |
DNF |
B0206735 |
FRANCZYK |
Nick |
Team Stampede/Five Valley Velo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WOMEN |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| USCF |
2004 |
2004-1930 |
10/6/2004 |
Cross Race |
|
1 |
B0130008 |
JONES |
Kathleen |
Team Stampede/Five Valley Velo |
| USCF |
2004 |
2004-1930 |
10/6/2004 |
Cross Race |
|
2 |
B0199486 |
KYLE |
Amber |
Northern Rockies |
| USCF |
2004 |
2004-1930 |
10/6/2004 |
Cross Race |
|
DNF |
One Day |
MISLIVETS |
Mo |
Unattached |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


Contains all of the interfaces for transcoding an input stream or a document to a particular ouput format.


- All accents are typed after the base character: ḵ is typed k then Semicolon ;
- To type the underline accent use the Semicolon key ; — g̱ is typed g then Semicolon ;
Always use this key to type the underline accent, never use your word processor’s underline formatting function.
- To type the apostrophe accent use the Slash / — w̓ is typed w then Slash /
This accent is not the same as the spacing apostrophe, as in p’.
- You can type the English value of the punctuation keys by holding down the Right-Alt or Option key. The Semicolon ; is typed Right-Alt+Semicolon (Windows) Option+Semicolon (Mac).
- Opening and closing quotes. For Mac users, Right-Alt is either of the Option Keys.
-
single: ‘ Shift+Grave — ’ Apostrophe
- double: “ Shift+Left-Bracket — ” Shift+Right-Bracket
- single ‹ Right-Alt+Shift+9 — › Right-Alt+Shift+0
- double « Right-Alt+9 — » Right-Alt+0


This way you'll get a log pane and a code pane to review the demo.

The demo is hooked to test APIs from Stripe.com.
Notice the TEST MODE badge in the upper right corner when the payment dialog pops up.
VISA: 4242 4242 4242 4242
Expiry Date (MM/YY): 01 /25
CVC: 111
You probably want to use your email address to fully play around with the Reset Password workflow in the demo. You could use a fake email like<EMAIL_ADDRESS>, you just won't be able to Reset Password later.
There is no concept of resetting passwords with blockchain ledgers. We cannot generate new secret keys for existing addresses. Should users forgot their secret keys, they cannot proove they own their addresses.
But when using overhide-ledger payments are made with Stripe.com. Every Stripe.com payment involves email or SMS verification. If email verification occured, that email address can be provided to re-target overhide-ledger transactions as if they come from a new address.
Since overhide-ledger is not a blockchain, we can rewrite ledger entries in the database.
Check out this feature by clicking the blue button and visiting the overhide-ledger site.
You can think of re-targeting as a blockchain on-boarding feature. It isn't a password reset. But it's not as painful as loosing your secret key to an address on a blockchain.
Of course this isn't available for any blockchain ledgers supported by overhide, it's only available for the centralized overhide-ledger.


I am Amy Mok and I am a software developer who is passionate about everything in software development. Currently in love with UX Design and coding in Python.
What I do
I build software to regulate financial products and educate Americans about different financial products out there. I also teach women how to code.
What I've done
I build software to control space products and use technology to create better interaction between residents and their city government.


Graph Schemas
Graph schemas are themselves an instance of a graph. As such, they can be traversed like any other graph.
The schemas are automatically added to the database following the naming pattern {graph-name}__schema__
.
Get the schema of a graph
The schema of a graph can be accessed via a GET request to /v1/graph/{graph-name}/schema
.
Alternatively, you can use the grip CLI: grip schema get {graph-name}
.
Describing graph schemas
There are several methods for desribing the schema of a graph.
- Provide the schema (as a YAML file) to the server at runtime.
grip server --schema {schema-file}
- POST the schema
/v1/graph/{graph-name}/schema
via curl or use the CLIgrip schema post --yaml {file} --json {file}
. - Configure Grip to build the schema by sampling the data in each graph.
Server:
# Should the server periodically build the graph schemas?
AutoBuildSchemas: true
# How often the server should rebuild the graph schemas. Set to 0 to turn off
SchemaRefreshInterval: "24h"
# How many vertices/edges to inspect to infer the schema
SchemaInspectN: 500
# Strategy to use for selecting the vertices/edges to inspect.
# Random if True; first N otherwise
SchemaRandomSample: true
Example schema
graph: example-graph
edges:
- data: {}
from: Human
gid: (Human)--starship->(Starship)
label: starship
to: Starship
- data: {}
from: Human
gid: (Human)--friend->(Human)
label: friend
to: Human
- data: {}
from: Human
gid: (Human)--friend->(Droid)
label: friend
to: Droid
- data: {}
from: Human
gid: (Human)--appearsIn->(Movie)
label: appearsIn
to: Movie
vertices:
- data:
name: STRING
gid: Movie
label: Movie
- data:
length: NUMERIC
name: STRING
gid: Starship
label: Starship
- data:
name: STRING
primaryFunction: STRING
gid: Droid
label: Droid
- data:
height: NUMERIC
homePlanet: STRING
mass: NUMERIC
name: STRING
gid: Human
label: Human


Aston Villa fans react as club linked with Christophe Monschein
by Tom ProcterAston Villa could make a move for Austria Wien striker Christophe Monschein in January.
As reported by Sport 24, the Premier League club are looking to take advantage of the Austrian outfit’s financial concerns by landing the in-form forward, who has 13 goals in 18 games this term.
Wien may have to cash in on their star striker to ease their worries, but management are concerned that by doing so, relegation becomes a genuine possibility.
Apparently Villa have some reservations about his €5 million/£4 million asking price, but that figure is surely more than affordable for the club’s rich owners.
It would seem Dean Smith is keen to add another attacker to the mix, with summer signing Wesley Moraes experiencing mixed fortunes in the Premier League so far.
27-year-old Monschein has never played in a league outside of his homeland before, and is not capped at international level.
Villa fans react
A number of Villa fans weren’t exactly bowled over by the links to Monschein, who is obviously a little known entity to fans of English football.
Have something to tell us about this article?
Let us know


Basic Shapes
g shares attributes, but geometric attributes can't be inherited.
Presentation attributes can be represented by CSS styles inside or outside svg.
<use> element can refer the elements with geometry. xmlns:xlink namespace can be omitted in the modern browsers. Chrome browser inserts namespace automatically if namespace declaration is omitted. Not-namespaced href is not supported by some browsers(ex. Safari). '#use rect' selector does not work in Firefox. (Chrome, Safari OK)


Add a new recipe
How would you like to add the recipe?
Tags can contain spaces. Split tags using a comma or a semi-colon.
You can select more than one image
Ingredient
Notes appear at the bottom of recipes and can contain information such as ingredient substitutions or the origins of the original recipe.
Please don't share recipes which are subject to copyright.


Traffic
12 November 2018Lastest Activity
| username | location | activity | |
|---|---|---|---|
|
new, registered: nov-2018 |
last location |
last login |
|
|
new, registered: nov-2018 |
last location |
last login |
|
|
new, registered: nov-2018 |
last location |
last login |
|
|
new, registered: nov-2018 |
last location |
last login |
|
|
new, registered: nov-2018 |
last location |
last login |


Hi {{username}}, thanks for posting to nekos.moe, but unfortunately we couldn't approve your post.
Your post was denied for the following reason:{{reason}}
Post ID: {{id}}Reviewer: {{reviewer}}
This email was automatically generated. Do not reply.


Rymi`s
Menu
Home
Menu
Order:
Pizza Type
Hawaian
Per-Peri Chicken
BBQ Stake
Chicken Tikka
Pizza Size
Small
Medium
Large
Crust
Gluten Free
Crispy
Stuffed
Toppings
Mushrooms
Pepperoni
Cheese
Cost
Price:
Custom Pizza
Topings
Order
Order:
how many pizza's
Pick or Drop
Pick Up
Delivery
Report
Price:
Number of pizza's
Custom Pizza
Topings
Pick up Or Delivery
Confirm and CheckOut


Track Pattern
Track Fire Spot 1
Track Fire Spot 2
Track Fire Spot 3
Track all Spots
Track Crew Member
Track All Crew Members
Crew member 1
Crew member 2
Crew member 3
Crew member 4
Crew member 5
Crew member 6
Wait for the current weather...
Wait for the weather forecast...


| Test Web App for Tomcat 7 |
All code from the
coreservlets.com J2EE tutorials (servlets, JSP, Struts, JSF 1.x, JSF 2.0, Ajax [with jQuery, Prototype,
Scriptaculous, Dojo, Ext-JS, and Google Closure], GWT 2.0, Spring, Hibernate, JPA,
SOAP-based and RESTful Web Services, & Java 6 programming). There are also live instructor-led
training courses on
the same J2EE topics (servlets, JSP, Struts, JSF 1.x, JSF 2.0, Ajax [with jQuery, Prototype,
Scriptaculous, Dojo, Ext-JS, and Google Closure], GWT 2.0, Spring, Hibernate, JPA,
SOAP-based and RESTful Web Services, & Java 6 programming).


Vettel admits he's against the restriction of changing helmets
by Tom MasonSebastian Vettel feels that the restriction of not being able to change the helmet's design more than once in a single race isn't fair on the drivers. For five seasons now, drivers the FIA have said that drivers have to keep their helmets similar throughout the year, except one race.
"Well, I change it [the design of his helmet] anyway, so ... It's our helmet and we should have the freedom to do what we want, so I think the rule is important, Vettel told Motorsport.com.
"We have very little room to express ourselves and the helmet is probably the only place where we can. If people like it, great, if they don't like it, well ... it's not their helmet.
"So I think we should be able to decide in what way and what colour our helmet is."
In recent times, it's been discovered that the likes of Max Verstappen have been able to make more than one change this season as he didn't ask the FIA for permission.


Before Change
deduped_reqs = OrderedSet(reqs)
find_links = OrderedSet()
for req in deduped_reqs:
log.debug(" Dumping requirement: {}".format(req))
builder.add_requirement(req.requirement)
if req.repository:
find_links.add(req.repository)
After Change
:param platforms: A list of :class:`Platform`s to resolve requirements for.
Defaults to the platforms specified by PythonSetup.
deprecated("1.11.0.dev0",
"This function has been moved onto the PexBuilderWrapper class.")
PexBuilderWrapper(
builder,
PythonRepos.global_instance(),
PythonSetup.global_instance(),


Information Technologies engineer. Specialized in front-end web development.
Client, Restaurant and Delivery mobile apps made with Ionic, Angular and Firebase. Published on Android Play Store and Apple App Store.
Full construction based on design. HTML, CSS/SCSS, Javascript. It features animate on scroll and Flickity carousels.
ReactJS application with firestore databse. I made most of the front-end to database communication. Home page, search results, and components in the admin panel and profile. Based on a design previously given.
Full construction. HTML, CSS / SCSS, Javascript. The hero banner is a parallax image. The "projects page" is a single page. It features big diferences between the desktop and mobile versions of the site.
Web page based on design. I did everything except the blog section. This page has a heavy use of JavaScript, for the animations, transitions and being a single page.
Developed front end solutions for multiple clients. Worked mainly with HTML and CSS doing custom pages based on design, for important clients. Plan and develop the Akari to Go project.
I play volleyball, I train and compete on local leagues with my team.
I like to relax on my free time, watch movies and tv shows or hang out with my friends.
I also like to read, from novels to comic books or articles on diferent topics.


Manipulate
How to manupulate numbro numbers (not used often, but still useful).
Operations
numbro provides a set of basic operations to apply to numbers.
| Before | Function | After |
|---|---|---|
| 1000 | .add(100) | 1100 |
| 1100 | .subtract(100) | 1000 |
| 1000 | .multiply(100) | 100000 |
| 100000 | .divide(100) | 1000 |
Value
The value of a numbro is always available via the value
function.
Set
Set the value of a numbro.
Difference
Find the difference between your numbro object and a numeric value.
Clone
Clone any numbro as easy as using clone
.


| 009:013 Khan | : |
Will you not fight a people who have violated their oaths (pagans of Makkah) and intended to expel the Messenger, while they did attack you first? Do you fear them? Allah has more right that you should fear Him, if you are believers. |
| 009:013 Maulana | : |
Will you not fight a people who broke their oaths and aimed at the expulsion of the Messenger, and they attacked you first? Do you fear them? But Allah has more right than you should fear Him, if you are believers. |
| 009:013 Pickthal | : |
Will ye not fight a folk who broke their solemn pledges, and purposed to drive out the messenger and did attack you first? What! Fear ye them? Now Allah hath more right that ye should fear Him, if ye are believers |
| 009:013 Rashad | : |
Would you not fight people who violated their treaties, tried to banish the messenger, and they are the ones who started the war in the first place? Are you afraid of them? GOD is the One you are supposed to fear, if you are believers. |
| 009:013 Sarwar | : |
Why will you not fight against a people who have broken their peace treaty with you, have decided to expel the Messenger (from his home town), and who were the first to disregard the peace treaty? If you are true believers, you should only have fear of God. |
| 009:013 Shakir | : |
What! will you not fight a people who broke their oaths and aimed at the expulsion of the Messenger, and they attacked you first; do you fear them? But Allah is most deserving that you should fear Him, if you are believers. |
| 009:013 Sherali | : |
Will you not fight a people who have broken their oaths, and who plotted to turn out the Messenger, and they were the first to commence hostilities against you? Do you fear them? Nay, ALLAH is most worthy that you should fear HIM, if you are believers. |
| 009:013 Yusufali | : |
Will ye not fight people who violated their oaths, plotted to expel the Messenger, and took the aggressive by being the first (to assault) you? Do ye fear them? Nay, it is Allah Whom ye should more justly fear, if ye believe! |
Concepts/Themes Covered: أركان الإسلام > التوحيد > الشرك والمشركون > براءة الله ورسوله من المشركين Pillars of Islam> Islamic> Polytheism and the Polytheists> The Declaration of Immunity of Allah and His Prophet from the Polytheists الإيمان > الله جلّ جلاله > خشيته جلّ وعلا Faith> Allah, Glory to his Majesty> To Fear Allah الجهاد > الجهاد في سبيل الإسلام > الدعوة إلى الجهاد Jihad> The Call to Jihad>The Call for the Holy War العلاقات القضائية > أحكام قانونية > النفي Judicial Relationships>Legal Rules>Negation
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


|
Lex, Flies, and Videotape:
Thomas Hobbes, William Golding, and Iraq
by Bruce Peabody
William Golding's Lord of
the Flies (1954) is a story of marooned British schoolboys
who tear apart a social order of their own making. The book has
become a touchstone for exploring the limits of human reason
and morality, as well as our capacity for extreme indifference,
cruelty, and even iniquity.
But Lord of the Flies
is also a tale about law. The 50th anniversary of Golding's work
provides an occasion for reflecting on the enduring significance
of the book and the two films it inspired (1963, 1990) by retrieving
this somewhat neglected narrative of law founded, undermined,
and seemingly reclaimed.
I
make this case by interpreting Peter Brooks' 1963 film through
the lens of political theory. Using Thomas Hobbes's Leviathan
to push and extend Golding's story helps us rediscover telling
insights bypassed in more traditional accounts of these works.
And it provides fresh lessons for a contemporary setting marked
by strife, the limits of human foresight, and bloodshed: Iraq.
From the outset, Brooks suggests
the power and constancy of the forces pushing to undo a fragile
social order. He begins with a contrast of grainy still images
- the organized life of the boys' boarding school, and the symbols
of a war that forces their evacuation and exile. The first live
action scene has Ralph stepping somewhat gingerly through an
island jungle, still dressed in his anomalous school uniform
and accompanied by the drone of a fly. Again we confront the
tension between humans in civil society and more chaotic surroundings.
The children sense the potential
for discord and attempt to intervene by recreating some of the
conventions and structures from their former life. They convene,
elect a leader, and establish rules. "Got to have rules
and obey them," Jack enthusiastically proclaims. "After
all, we're not savages. We're English, and the English are best
at everything. Lots of rules, and when anybody breaks them
"
The sanction is not discussed, but the raucous hooting of Jack's
classmates implies the consequences will be severe.
The children's experiment in
self-rule is initially successful, yielding the benefits of cooperation.
They make decisions collectively and delegate vital tasks of
reconnaissance, food gathering, and starting a fire. But things
start to go awry when Jack and his band of hunters let the fire
go out, compromising the boys' chance of being rescued by a passing
plane. The children's society is strained further as they grapple
with runaway anxiety over a shadowy "beast" on the
island, and as factions develop between Ralph and Jack, who is
increasingly prone to violence. By the end of the film, Simon
and Piggy have been killed, and Jack and his followers pursue
Ralph with lethal purpose. The rout of civilization seems complete.
The Lord of the Flies
has been depicted as a study in evil, but, more accurately, it
makes a desperate, implicit case for convention and law. For
Golding and Brooks, our salvation and undoing come from the same
source: our own incapacity to form human institutions based on
deliberation and rational planning, rather than submitting to
force, fear, and violence.
Thomas Hobbes's Leviathan
tells a remarkably similar story about our weakness and creativity.
Hobbes begins his famous work by painting a picture of human
motivation and behavior prior to society. While some associate
this "state of nature" with lawlessness and entropy,
Hobbes is more careful in his depiction.
People are not impelled by
inherent malice or bloodthirstiness he says. Instead, they are
largely motivated by deep seated fear and egoism - satisfying
their own passions and escaping harm. These elements of human
behavior are prominently displayed in Lord of Flies. They
are captured, for example, by the terror induced by the fantastic
beast, and the self-regard of Jack, who neglects common projects
and forms a breakaway group "to hunt and have feasts and
have fun."
For Hobbes, people are also
rational, albeit in a somewhat restricted form. We use reason
to help obtain our objectives, but not to choose amongst competing
goals or values. Golding's schoolboys certainly exhibit this
limited, instrumental rationality in creating shelter, fashioning
weapons, and hunting prey.
People in the state of nature
are also somewhat law-regarding, according to Hobbes, insofar
as they discover and act upon natural law. Notably, we are authorized
in trying to preserve ourselves, and doing anything to protect
that existence, including acquiring power and subjugating, even
destroying, competitors.
But these arrangements are
extremely unstable, and the state of nature quickly lapses into
a state "of war of every one against every one." Individuals
exercise their right to self-preservation in an atmosphere of
distrust and anxiety, fearing that others will deprive them of
their interests and the means (wealth, honor, or power) to securing
these ends.
The resulting tumult and disorder
is inhospitable to culture, science, and human achievement generally.
As Hobbes puts it, in this environment, there will be "no
knowledge of the face of the earth; no account of time; no arts;
no letters; no society; and which is worst of all, continual
fear, and danger of violent death; and the life of man [will
be] solitary, poor, nasty, brutish, and short." Since there
is no body of laws, or authority to enforce them, the state of
nature is also devoid of property, justice, and a sense of good
and evil outside of what harms or pleases us. "Where there
is no common power, there is no law; where no law, no injustice."
This grim moral landscape is
reproduced in Lord of the Flies. The boys initially cooperate
for self-defense, but their collaboration proves friable, and
competition and incipient violence hangs heavily over all their
interactions. When Jack first appears, he is accompanied by his
choir, marching in militaristic fashion.
From
the outset, Ralph and Jack struggle over their respective claims
to rule and what Hobbes calls a love of "dominion over others."
In forming his own splinter political community, Jack denies
that Ralph can provide security to others and that his decision-making
extends to others:
Jack: Who are you anyway just
sitting there telling people what to do? You can't hunt. You
can't sing.
Ralph: I am chief. I was chosen.
Jack: Why should choosing make
any difference? [Contemptuously]Telling people what to do
In addition to these dynamics,
the children battle over objects of common interest - Piggy's
glasses, food, shelter, and fire. Eventually, the continued eruption
of conflict destroys the fruit of the boys' nascent society and
plunges them into chaos. In addition to letting the fire go out,
Jack and his followers destroy the huts of Ralph's camp and smash
Piggy's glasses.
These conditions do not create
a fertile medium for claims to justice. After Simon's death,
Ralph despairs that the children have committed "murder."
Piggy, heretofore a figure of reason and humanity, bristles at
this suggestion. "You stop it," he tells Ralph. "What
good are you doing talking like that? It was dark.  There was thunder and lightning and rain.
We were scared. It wasn't
what you said."
For Hobbes, there is one path
out of these bleak circumstances. Fear of death and the desire
for security and the fruits of human organization, lead people
to renounce their natural right to self-defense and to embrace
instead "convenient articles of peace." We leave the
state of war and enter civil society by recognizing and empowering
a sovereign with ultimate, unchallenged authority over its subjects.
This Leviathan, or "mortal
god," holds and exercises an overwhelming and visible "coercive"
power over everyone else. It is the terrible threat of the Leviathan's
monopoly of power that quells individual passions and creates
an environment in which people can better "preserve peace
[and] recognize obligations to one another, to enforce agreements,
to move beyond mere individual enforcement of the right to self
preservation."
In Lord of the Flies,
the children's longing for an authoritative sentinel of order
is a recurrent motif. In the initial scene, Piggy asks hopefully:
"Are there any grownups?" Ralph confidently promises
that "Daddy's a commander in the navy - one day when he
gets leave, he'll come and rescue us." Even Jack asks to
see "the man with the trumpet" after Ralph blows a
conch shell to summon the boys to a meeting. Upon being informed
that this figure does not exist, Jack surmises "we'll have
to look after ourselves."
The importance of unified,
identifiable authority is further suggested by Ralph's subsequent
plea to a rebellious Jack:
Ralph: The rules. You're breaking
the rules
Jack: Who cares?
Ralph: Because the rules are
the only thing we got
The importance of Hobbes's
"mortal god" is arguably captured most powerfully in
the film's final scene. With Jack and his hunters in close and
feral pursuit, Ralph stumbles away from the burning jungle and
onto the beach. As his pursuers close, Ralph falls before a pair
of feet - and the camera pans upward to reveal a towering figure
in military uniform. The children are speechless, awed. Ralph
weeps in relief, while Jack looks on, defeated and cowed. In
a moment, chaos is repelled, and order is restored with this
vision of authority bolstered by the incipient threat of arms
(in the 1990 film, a helicopter gunship hovers in the background).
Hobbes's and Golding's raw
depictions of the instability of social life can be usefully
imported to the present. The violent streets of Baghdad and Falluja
resemble the brutality depicted in both Leviathan and
Lord of the Flies. But more interestingly, the Bush Administration's
efforts to secure and somehow transmit the conditions for sovereignty
can be mapped alongside both Hobbes's project and the struggles
of the schoolboys. Among other implications, these works suggest
the enormity of the challenges facing those hoping for a secure
and stable postwar Iraq.
For Hobbes, we leave the turmoil
of the state of nature by reducing all our passions and interests
"unto one will," and conferring nearly all of our power
to the Leviathan. This transfer of authority will be legitimated
by each citizen recognizing him or herself as the "author"
of the new government.
In contemporary Iraq, there
is surely widespread agreement that greater order is needed in
the country. But the continued hostility of radical and more
moderate Iraqis to both American troops and the nation's fledgling
institutions and leaders, suggests that many do not see themselves
as the "authors" of the U.S. sponsored regime.
Complementing this observation,
Leviathan and Lord of the Flies remind us that
governance and the rule of law depend not so much upon removing
authority, as establishing it. Hobbes and Golding both suggest
that discord is "natural," and that the state, while
necessary, is essentially artificial and imposed. Seen in this
light, the ouster of Saddam Hussein was the "easy"
part of the Iraqi campaign.
Political unity is vital to
securing a new polity. Divisions over a political community's
legitimacy threaten its preeminent purpose - maintaining peace
internally and checking hostility from abroad. Indeed, Hobbes
argues, if the state fails to guarantee the basic security of
its subjects, individuals may rightfully revert to self-preservation.
In this sense, even the all-powerful Leviathan operates on strictly
borrowed time. "You've got to be tough," Piggy admonishes
Ralph, as the boys' society threatens to unravel completely.
"Make them do what you want." But Ralph worries. "If
I blow the conch and they don't come back, then we've had it."
In other words, the emperor's
clothes can fall away in a moment. The inability of U.S. and
Iraqi military and civilian forces to prevent lethal attacks
is, therefore, not just bad press, but a direct challenge to
the status of the nascent government as a coherent political
entity.
On July 1, the United States
has committed to handing sovereignty to the Iraqi people. The
images of political disarray powerfully captured in Lord of
the Flies and Leviathan suggest both the stakes and
the uncertainty of this transfer. Should the new government falter,
of course, the U.S. would seem poised to "return" as
the resident power - the Leviathan. But this prospect is unnerving,
not reassuring, and suggests that this summer may mark the beginning
rather than the end of U.S. involvement in an unstable nation
and region.
Posted May 12, 2004
|


[gecode-users] Parameter/Options passing to engines through script
Luca Di Gaspero
l.digaspero at uniud.it
Sat Jul 6 09:32:31 CEST 2013
Hi all,
I am trying to re-engineer some piece of code we wrote for enabling Large Neighborhood Search within Gecode and I am facing the problem (which has also some general sense) of passing specific parameters (or options objects) to an engine that has to be managed through the Script<Space>::run<…>() execution method.
Since I would like to contribute the LNS code to the Gecode community, before undertaking modifications in my Gecode working copy I would like to agree it with Gecode maintainers since it will have a (I would say minor) impact on the framework.
Other solutions to the problem from more "knowledgeable users" are, of course, welcome. :-)
Coming to the problem, in detail, the specific option object that is passed to the run method is dispatched in the Script::run function and a brand new Search::Option object is sent to the actual engine. Unfortunately this means that the specific engine could not have access to its specific options and I found it a general limitation.
Of course it is possible to overcome this limits with workarounds, but they will somehow break the general framework philosophy.
To be generic enough, my proposal is to add a "Gecode::Options* parameters" attribute to the Search::Options class in order to allow sending this specific information to the engine. This variable should be set in the Script::run(Options, Script) dispatching, e.g., by invoking some "parameters()" function on the "Gecode::Options& option" object passed to run.
Just sketching the "pseudo diff" of the tentative modification it will be something like this:
At search.hh around line 210 add the line
Gecode::Options* parameters;
At script.hpp around line 300 add the line
so.parameters = o.parameters();
And, at options.hpp around line 148 add the lines
inline
Options* parameters() {
return NULL; // for default no specific option is passed to the engine
}
This way, the engine has access to parameters and it can cast it to the opportune parameter class.
Thanks in advance for comments and/or suggestions.
All the best,
Luca
More information about the users
mailing list


The world of art as portrayed in stories is often inaccurate. Since the needs of the story outweigh the need for accuracy and Tropes Are Tools, creators will often have their protagonist roll up a canvas Mona Lisa and carry it off in a tube, although Leonardo da Vinci painted it on a wood panel.
The creator may or may not be aware of the artistic license being taken. There may be easy ways around the Plot Hole addressed through the artistic license or it could be practically impossible to tell the creator's story without this break from reality. The artwork can be a painting, a poem, a song, a building, an invention, or any other piece that would be called art. It includes taking liberties with how the world of art works, such as speeding up the time it take to appraise a piece, or how museums acquire artwork. It also includes distorting facts about the world of art and artworks.
Contrast with Artistic License History. This is not a trope about anachronisms. Should a piece of artwork not exist in the time period of the story, such as Buddy Holly playing a 1965 Fender Stratocaster in 1959, history is the problem, not the artwork. Should Buddy be playing a banjo rather than his Stratocaster, the artwork has changed and fits this trope.
Contrast with Hollywood Density. Should Michelangelo's David be picked up by a crane or person(!) that couldn't possibly lift 6 tons, but is still 17 feet tall and looks the same as in real life, that's Hollywood Density. If it's presented as a 6-foot-tall statue it fits this trope.
Can be averted through Fictional Painting. The artwork or process must be presented as Real Life in order for the artistic license to be taken.
Songs performed wrong, poems misquoted, paintings painted on the wrong material, buildings such as the Eiffel Tower or Taj Mahal misrepresented, and museums behind elaborate plots to steal all of Van Gogh's paintings are all possible examples of this trope. The key is that the story references a facet of the world of art as if it is authentic and the depiction is different from reality in a meaningful way.
Subtrope of Artistic License and related to Artistic License Music.
Supertrope of Wrongfully Attributed.
Examples:
- The Da Vinci Code:
- Sophie puts a GPS tracker on a bar of soap from the Louvre and throws it out the window onto a passing truck. The bathrooms in that part of the Louvre have no windows and don't use bar soap.
- "Madonna of the Rocks" hangs in the Grand Gallery, not the Salle des Etats. The painting directly across from the "Mona Lisa" is Caliari's "The Wedding Feast at Cana". This painting is an enormous 32 feet (9.9 meters) wide. Even if "Virgin of the Rocks" did hang opposite the "Mona Lisa", it's 6 feet 6 inches (1.99 meters) tall, too tall for Sophie to see over. The painting's ornate wooden frame is also too heavy for an average person to lift unassisted.
- Dead Poets Society: Keating misquotes Walt Whitman's 1892 "Song of Myself". The word "rooftops" should have been "roofs".
- Equilibrium: In an early scene, the Grammaton Clerics capture and destroy a stash of contraband art, including the Mona Lisa. Their scanners even assure them it's the original Mona Lisa—but it's still much larger than its Real Life counterpart.
- Ever After: Leonardo da Vinci is shown pulling the Mona Lisa out of a tube and unrolling it so that onlookers can admire it. The Mona Lisa was painted on wood panel.
- Hustle & Flow: Clyde buys batteries for the Shure studio microphones that do not use batteries. Studio microphones rarely use batteries.
- The Thomas Crown Affair (1999): The Monet stolen by TC is credited as being the first painting in the Impressionist school - Monet's "Impression: Sunrise" of 1872. The painting shown in the movie is Monet's 1906 "San Giorgio Maggiore by Twilight".
- The Monuments Men: Stokes gives a lecture to Roosevelt and identifies a work by "Da Vinci", rather than Leonardo. This is a classic post — The Da Vinci Code mistake that no art historian — and certainly none living in the 1940s — would have made. The name of the artist was Leonardo and he was born in the town of Vinci — Leonardo Da Vinci means "Leonardo, of Vinci".
- Bones: In "Death in the Saddle", Dr Brennan says that a birimbao is a "small flute". A birimbao is a stringed percussion instrument.
- Charmed (1998): In "Sight Unseen", when one is developing a photo, it's first put into a developer chemical, which shows the picture up, then a stop, which stops it from developing anymore, then a fix which "sets" the photo. But in the basement, Prue puts the exposed photo into a tray with chemicals in it, where it starts to develop, then into a second tray where it develops fully.
- El internado Hieronymus Bosch' triptych Adoration of the Magi (a.k.a. The Epiphany) is shown to be painted on canvas rather than on wooden panel like it actually is.The three pieces are also shown to be a different shape and size than in real life as well as not having grisaille paintings on the other side the original triptych has.
- Star Trek: The Next Generation: In "The Most Toys", Kivas Fajo, a collector of ancient rarities, displays the Mona Lisa in his treasure trove that is larger than the Mona Lisa actually is.
- The Twilight Zone (1959): In "The Purple Testament", Rod Serling says in his opening narration that he is quoting Shakespeare's play Richard III. His quotation is actually from Richard II, also written by William Shakespeare.
- The Fabric of the Cosmos: The Mona Lisa appears far larger than it actually is.
- The Sims: The process of becoming a living legend artist includes wood whittling, house painting, comic book penciling, becoming a wedding photographer, and even becoming a museum guard. Those skills have little to nothing to do with what it takes to become a world-renowned artist.


Dashboard
| KEY | Summary | Creator | Created | Status |
|---|---|---|---|---|
| XMPPSUP-4 | Something is really broken |<EMAIL_ADDRESS>| 2018-09-15T19:43:52.000+0000 | Escalated |
| XMPPSUP-3 | My keyboard sucks |<EMAIL_ADDRESS>| 2018-09-05T19:15:53.000+0000 | Waiting for support |
| XMPPSUP-1 | What am I looking at? |<EMAIL_ADDRESS>| 2018-08-21T17:44:25.000+0000 | Waiting for support |
| Title | URL | version | Type |
|---|---|---|---|
| some JIRA | https://example.com/jira | 7.8.1 | Server |
Hello, world!
This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.
Heading
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
Heading
Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
Heading
Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.
Primary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Secondary card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Success card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Danger card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Warning card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Info card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Light card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Dark card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Category 1
| Add Checklist | |||
|---|---|---|---|
| Checklist1: MAKE SURE EVERYONE IS CLEAR FROM MOVING PARTS AND PROCEED WITH THE FOLLOWING: | |||
| Put all controls in neutral position. | |||
| Start drill. | |||
| After warming up drill to a normal operating temperature proceed to check oil pressure and battery voltage. | |||
|
Do you really need to do this?
|
|||
|
Do you really need to do this?
|
|||
| Visually inspect equipment for obvious oil leaks. | |||
| Checklist 2: SHUTDOWN PROCEDURE (IN EVENT OF VISIBLE OIL LEAKS) | |||
| Immediately turn off drill if a major leak is present and follow the Emergency Spill Response Plan. | |||
| In the event of a small oil leak, allow motor to cool for 5 minutes before turning off. | |||
| Deenergize drilling equipment prior to repairs. | |||
| Follow proper lockout/tagout procedures to ensure equipment is safe for repair (refer to WI59 Safety – Lock Out, Tag Out; Surface). | |||
| Report any defects on the machine to your supervisor and include in this report. |


Before Change
csv_filename
)
for encoder1, encoder2 in zip(ENCODERS, ENCODERS):
input_features = input_features_string.substitute(encoder1=encoder1,
encoder2=encoder2)
run_experiment(input_features, output_features_string, rel_path)
def test_experiment_multiple_seq_seq(csv_filename):
// Multiple inputs, Multiple outputs
input_features = "[{type: text, name: random_text, vocab_size: 100," \
" max_len: 10, encoder: stacked_cnn}, {type: numerical," \
After Change
def test_experiment_multi_input_intent_classification(csv_filename):
// Multiple inputs, Single category output
input_features = [
text_feature(vocab_size=10, min_len=1, representation="sparse"),
categorical_feature(
vocab_size=10,
loss="sampled_softmax_cross_entropy"
)
]
output_features = [categorical_feature(vocab_size=2, reduce_input="sum")]
// Generate test data
rel_path = generate_data(input_features, output_features, csv_filename)
for encoder in ENCODERS:
input_features[0]["encoder"] = encoder
run_experiment(input_features, output_features, data_csv=rel_path)


Warning
Support for mod_python has been deprecated within Django. At that time, this method of authentication will no longer be provided by Django. The community is welcome to offer its own alternate solutions using WSGI middleware or other approaches.
Since keeping multiple authentication databases in sync is a common problem when dealing with Apache, you can configuring Apache to authenticate against Django’s authentication system directly. For example, you could:
- Serve static/media files directly from Apache only to authenticated users.
- Authenticate access to a Subversion repository against Django users with a certain permission.
- Allow certain users to connect to a WebDAV share created with mod_dav.
To check against Django’s authorization database from a Apache configuration file, you’ll need to use mod_python’s PythonAuthenHandler directive along with the standard Auth* and Require directives:
<Location /example/>
AuthType Basic
AuthName "example.com"
Require valid-user
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonAuthenHandler django.contrib.auth.handlers.modpython
</Location>
Using the authentication handler with Apache 2.2
If you're using Apache 2.2, you'll need to take a couple extra steps.
You'll need to ensure that mod_auth_basic and mod_authz_user are loaded. These might be compiled statically into Apache, or you might need to use LoadModule to load them dynamically (as shown in the example at the bottom of this note).
You'll also need to insert configuration directives that prevent Apache from trying to use other authentication modules, as well as specifying the AuthUserFile directive and pointing it to /dev/null.  You can use a set of PythonOption directives to modify this behavior:
PythonOption Explanation DjangoRequireStaffStatus If set to on only "staff" users (i.e. those with the is_staff flag set) will be allowed.
Defaults to on.
DjangoRequireSuperuserStatus If set to on only superusers (i.e. those with the is_superuser flag set) will be allowed.
Defaults to off.
DjangoPermissionName The name of a permission to require for access. See custom permissions for more information.
By default no specific permission will be required.
Note that sometimes SetEnv doesn't play well in this mod_python configuration, for reasons unknown. If you're having problems getting mod_python to recognize your DJANGO_SETTINGS_MODULE, you can set it using PythonOption instead of SetEnv. Therefore, these two Apache directives are equivalent:
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonOption DJANGO_SETTINGS_MODULE mysite.settings
Dec 06, 2011