This module is an implementation of the orthoslice module for arrays of structured and unstructured fields. It combines the functionality of the slice_orthoplane and slice_plane_ARR module.
Input Ports
Name Type Description in_field[] Field[] Array of structured and/or unstructured fields Parameters
Name Type Description UI Control axis int specifies the constant dimension UIslider plane float specifies the location of the slice plane UIslider map_components boolean node data components to output UIoptionBoxLabel map_cell_data boolean cell data components to output UIoptionBoxLabel Output Ports
Name Type Description plane_out Plane_Mesh Field of the slice plane. plane_obj DefaultObject Directly renderable object output of the slice plane. out_fld Mesh+Node_Data+Cell_Data[] Output Array of the slice plane modules. out_obj DefaultObject Directly renderable object of the output array of fields.
This module is an implementation of the orthoslice module for arrays of structured and unstructured fields. It combines the functionality of the slice_orthoplane and slice_plane_ARR module.
in_field[]
Array of structured and unstructured fields. Structured and unstructured fields can be mixed when using this module. There is a problem however that the module throws error messages when fields are disconnected from the input port. However, these error messages do not interfere with the functioning of the module.
axis
Specifies the constant dimension of the slice plane to be used int slice_orthoplane_ARR.
plane
Specifies the location of the slice plane to be used int slice_orthoplane_ARR.
map_components
Specifies the node data components which are transferred to the output data.
map_cell_data
Specifies the cell data components which are transferred to the output data.
plane_out
Output of the slice plane used for slice_orthoplane_ARR.
plane_obj
Directly renderable GDobject of the slice plane that can be displayed in a 3D viewer.
out_fld
Array of output fields from slice_orthoplane_ARR which can be used for further processing.
out_obj
Directly renderable GDobject of the output fields that can be displayed in a 3D viewer.
xp_comm_proj/slop_arr/slpa_mac.v Creates the slice_orthoplane_ARRmacs library containing the parameter block slice_orthoplane_ARR_params, the functional macro slice_orthoplane_ARR_func, the user interface macro slice_orthoplane_ARR_UI and the high-level user slice_orthoplane_ARR.
slpa_app.vCreates the slice_orthoplane_ARRapps library containing the example application slice_orthoplane_ARREg.
The slice_orthoplane_ARREg example application shows the usage of the slice_orthoplane_ARR module.
This project relies on the successful installation of the following components. Without them it will not function correctly.
The slice_orthoplane_ARR macro is using components of the slice_plane_ARR module. Unfortunately due to the fact that original Express modules have been modified this project will only work with AVS/Express Developer's Edition.
This project does not contain any procedural code and hence does not require compiling.
Stephan Ebersbach Manchester Visualization Centre
Tobias Schiebeck International AVS Centre


tuberculosis transplantation monkeys PCR {border-style lesions lung px;} #ffffff;} cynomolgus infection latent liver tissue kidney monkey negative non-human test (Fig. detection program research Health TST new performed samples suspected using Case Tuberculosis primates tests AFB bacilli control day observed px; results skin underwent {font-family AK-. Acid-fast animals antibody chest collab: font-size identified nodular primate remaining screening studies transplant zone Granulomatous Ministry Mycobacterium X-ray clinical double; health immunosuppressive infections macaques mycobacterium risk spleen study testing tuberculosis. (AK-, Cambodia Fig. Korea Korean Lung Medical Quantiferon South border-color border-width cases confirmation data decided diseases facility general organ positive prevention reactivation report respiratory solid; staff starting subsequent tuberculosis, undergo used {font-style {font-weight (Case According Granulomas Gross Kim NTM. PCR-negative Samsung Ziehl-Neelsen allograft arrow) blood bold conducted courier; days demonstrated disease drugs effective em; essential high histological human infected infections. infectious instituted manuscript. necropsy, negative. nonhuman pt;} signs slide slides species stain × ) surgery transplantation. van


ENEMIES, A LOVE STORY A film review by Mark R. Leeper Copyright 1990 Mark R. Leeper
Capsule review: A very substantial film with strong elements of both comedy and drama. A film with a strong period feel and a story worth telling and told on an adult level. Rating: +2.
The Holocaust is over and Herman Broder survived. Now he is haunted only by nightmares of the night the Nazis took his wife, Tamara, and children. All three had been killed in the death camps, he'd been told. Now Broder is married to Yadwiga, the Polish servant whose family saved his life. Off and on he teaches Yadwiga to be Jewish, though she seems more earnest about it than he is. He has an okay job as a ghost writer for a famous rabbi and he has a good-looking mistress on the side. That's Masha, a fiery Jewish woman who also survived the death camps. For now Broder is getting by, but soon his mistress will be pregnant and wanting to be married, and to make matters worse, Broder's first wife survived after all and this will leave Broder with two wives more than he can handle.
Paul Mazursky's ENEMIES, A LOVE STORY, based on a story by Isaac Bashevis Singer, is a surprisingly well-realized comedy-drama with four characters, one husband and his three wives, all believable and three- dimensional. And the fifth character is the post-war Jewish community in New York, very authentically recreated on the screen--authentic enough that it brought back memories of when I was very young, not long after this film is set.
Broder's three wives are very different types, each with her own strengths. Margaret Sophie Stein plays stolid, sincere, and homely Yadwiga, still half living in the Poland in which she grew up. She knows her husband has some hanky-panky going on, but ignores it while she can, thinking that if she can make herself Jewish enough she can hold on to him. The bewitching Lena Olin (of THE UNBEARABLE LIGHTNESS OF BEING) plays Masha, burning out her life as quickly as she can. Then there is Anjelica Huston as Tamara, at first bitterly bent on reclaiming her husband but eventually transforming herself into a healing force. And at the center of these women is Herman himself (played by Ron Silver), confused and indecisive, with a need to feel he is in control of things, most of which are beyond him.
There is a lot of film here. For a film with both comedy and drama, there is surprisingly much of each. The comedy does not feel at all forced and is all very human. The drama is also very human and at times very painful. Maurice Jarre understood the film very well and provided a score with light klezmer music to underscore the comedy and with sad clarinet music to underscore the more serious moments. ENEMIES is one of the better films of 1989, a year that had more than its share of good films. I rate it a high +2 on the -4 to +4 scale. For those who worry about such things, there is explicit sex and indistinct dialogue. I didn't mind the former, but lamented the latter.
Mark R. Leeper att!mtgzx!leeper<EMAIL_ADDRESS>.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Controller Example
Enter an Input:
Enter another Input:
Here is a view of a sample controller: {{sample.myFunction()}}


#!/usr/local/bin/lua
--
-- Single line comment
--[[ Multi line
comment ]]
--[====[ Multi line
comment ]====]
""
"Foo\"bar"
"Foo\
bar \z
baz"
''
'Foo\'bar'
'Foo\
bar \z
baz'
[[Multi "line"
string]]
[==[Multi [["line"]]
string]==]
3
345
0xff
0xBEBADA
3, 3., 3.1, .3,
3e12, 3.e-41, 3.1E+1, .3e1
0x0.1E
0xA23p-4
0X1.921FB54442D18P+1
function To_Functable(t, fn)
return setmetatable(t,
{
__index = function(t, k) return fn(k) end,
__call = function(t, k) return t[k] end
})
end
-- Functable bottles of beer implementation
spell_out = {
"One", "Two", "Three", "Four", "Five",
"Six", "Seven", "Eight", "Nine", "Ten",
[0] = "No more",
[-1] = "Lots more"
}
spell_out = To_Functable(spell_out, function(i) return i end)
bottles = To_Functable({"Just one bottle of beer"},
function(i)
return spell_out(i) .. " bottles of beer"
end)
function line1(i)
return bottles(i) .. " on the wall, " .. bottles(i) .. "\n"
end
line2 = To_Functable({[0] = "Go to the store, Buy some more,\n"},
function(i)
return "Take one down and pass it around,\n"
end)
function line3(i)
return bottles(i) .. " on the wall.\n"
end
function song(n)
for i = n, 0, -1 do
io.write(line1(i), line2(i), line3(i - 1), "\n")
end
end
There are certain edge cases where Prism will fail. There are always such cases in every regex-based syntax highlighter. However, Prism dares to be open and honest about them. If a failure is listed here, it doesn’t mean it will never be fixed. This is more of a “known bugs” list, just with a certain type of bug.
foobar"param";


We call each row an observational unit or observation. In this case, each observation is one vehicular stop. Each column is called a variable; here we have 8 variables. First, the date and time of the stop are provided. The next three variables give the age, race, and sex of the driver of the vehicle.
in-context


Welcome to the official ShiftOS website! Kinda... This is the website for ShiftOS: TE! We may put a forum here or something soon, but whatever.


Calibration Cancelled
For best results, silence your phone and place it on the bed where it would be at night. Avoid calibrating the device on your table or on the floor, as this may decrease detection accuracy by over 400%


Juntupg1708.github.io
The CHATILLON® CS1100 Series digital force tester is a revolutionary system optimized for production testing applications, including medical devices, plastics, packaging, textiles, rubber and electronics CS1100 Digital Force Tester :: JLW Instruments.
Chatillon CS2-1100 Digital Force Tester - Nicol Scales. Find great deals on eBay for ametek chatillon. Shop with confidence.
The CS2 digital force testers from Chatillon are revolutionary systems optimized for production testing applications, including medical devices, plastics, packaging, textiles, rubber and electronics. CS1100 Digital Force Tester - Acme Scales. Chatillon CS2 digital force testers are easy-to-use force measurement machines optimized for production testing applications. CS1100 Datasheet -- Ametek Test Calibration Instruments.
Digital Force Testing Machine - Chatillon CS2 Series. AmetekTest - Materials testing machines, force gauges, torque.
Our wide range of material testing machines and force measurement instruments are ideal for product testing of finished goods such as plastics, packaging, medical devices, electronic components, textiles, metals, composites, paper


{% extends "folders/base_folder.html" %} {% block title %} Win-OS/2 Main {% endblock %} {% block content %}
File Manager
Control Panel
Print Manager
Clipboard Viewer
WIN-OS/2 Setup


---
layout: default
title: Contact
permalink: contact
---
Email
hello@<<this-domain>>
Messenger
http://m.me/spicer.josh/
Meet with Me!
https://calendly.com/joshspicer
Bitcoin Address
1F5EAnZXJEYcvesamd28V4hv8J2Ve63DVh
PGP 64-Bit
04CA D5C4 AC84 C321 1123
Social Mediaz
joshspicer.com
spicer.dev
spicerjo.sh
spcr.me
parade.events
{% endcomment %}


Graph Class
A Graph. Contains a list of Vertex objects, each of which has 0..N Ports, and a list of Edge objects. Every instance of the jsPlumb Toolkit is backed by an instance of this class.
A good discussion on Graphs can be found on Wikipedia: http://en.wikipedia.org/wiki/Graph_(mathematics).
You will not typically need to construct a Graph directly (at least not when using the Toolkit; there is nothing stopping you from using this class directly for other purposes).
Constructor
Graph
-
[params]
Parameters:
-
[params]
Object optionalConstructor parameters. Optional. The Graph class has sensible defaults.
-
[defaultDirected=true]
Boolean optionalWhether edges are directed by default.
-
[idFunction]
Function optionalFunction to use to extract an appropriate ID from the JSON for a give node. Defaults to returning the 'id' property of the JSON.
-
[enableSubgraphs=false]
Boolean optionalIf true, Nodes are Graphs themselves, and can have child Nodes. If you enable this then you cannot use slashes (/) in your Node ids, as they will be treated as components of a path to a Node in a nested Graph.
-
[defaultCost=1]
Number optionalDefault cost for Edges.
-
[portSeparator="."]
String optionalThe character(s) used to separate ports from nodes in port ids.
-
Item Index
Methods
- addEdge
- addNode
- addNodes
- clear
- deleteEdge
- deleteGroup
- deleteNode
- findPath
- getBetweenness
- getCentrality
- getCloseness
- getDiameter
- getDistance
- getEdge
- getEdgeCount
- getFarness
- getGroupAt
- getIdFunction
- getIndegreeCentrality
- getNode
- getNodeAt
- getNodeCount
- getNodes
- getOutdegreeCentrality
- printPath
- setIdFunction
- setIdFunction
- setPortSeparator
- setSource
- setTarget
Methods
addEdge
-
params
Adds an Edge to the Graph.
Parameters:
-
params
ObjectParameters for new Edge.
-
source
String | Node | PortSource for the Edge - a Node, Port or Node/Port id.
-
target
String | Node | PortTarget for the Edge - a Node, Port or Node/Port id.
-
[cost=1]
Integer optionalEdge cost. This is used when computing shortest paths through the graph. If an Edge is not
directed
, then the same cost is applied regardless of the direction of traversal. -
[directed=true]
Boolean optionalWhether or not the Edge is directed.
-
[data]
Object optionalOptional data to associate with the Edge. The default edgeIdFunction
-
Returns:
The Edge that was added.
addNode
-
data
-
[idFunction]
-
The
Adds a Node to the Graph
Parameters:
-
data
ObjectBacking data for the Node
-
[idFunction]
Function optionalOptional function to use to retrieve ID from backing data. Defaults to retrieving
id
from data object. -
The
NodeNode that was added.
addNodes
-
data
-
[idFunction]
Adds a list of Nodes to the Graph
Parameters:
-
data
ObjectList of data objects, one for each Node to be added.
-
[idFunction]
Function optionalOptional function to use to retrieve ID from backing data. Defaults to retrieving
id
from data object.
clear
()
Clears the Graph of all its Nodes, Ports and Edges.
deleteGroup
-
g
-
[removeMembers=false]
Deletes a Group
Parameters:
-
g
Node | StringEither a Group, or a Group id.
-
[removeMembers=false]
Boolean optionalIf true, also remove all the Nodes that are members of the Group.
findPath
-
source
-
target
-
[strict=true]
-
[nodeFilter]
-
[edgeFilter]
Finds the shortest path from source to target, using the Djikstra algorithm.
Parameters:
-
source
Node | StringSource Node or Node ID.
-
target
Node | StringTarget Node or Node ID.
-
[strict=true]
Boolean optionalSets whether or not paths are searched strictly by the given source/target. If, for instance, you supply a node as the source, but there are only edges connected to ports on that node, by default these edges will be ignored. Switching
strict
to false will mean these edges are considered. -
[nodeFilter]
Function optionalOptional function that is given each Node's backing data and asked to return true or false - true means include the Node, false means exclude it.
-
[edgeFilter]
Function optionalOptional function that is given each Edge's backing data and asked to return true or false - true means include the Edge, false means exclude it.
Returns:
An array like [ \, \{ vertex,cost,edge \} ... ]
when successful; when unsuccessful the three compiled
tables are returned - distances to nodes, each node's previous node, and the associated edge. so you can call this method with
no target set and get the entire table populated.
getBetweenness
-
node
Returns the betweenness centrality of the given node.
Parameters:
-
node
Node | StringNode, or Node ID, to retrieve betweenness centrality for.
Returns:
Node's "betweenness" centrality.
getCentrality
-
node
Returns the degree centrality of the given node. This is an alias to getDegreeCentrality
, as centrality
most commonly refers to degree centrality. Note that this returns incoming and outgoing connections; use
getIndegreeCentrality or getOutdegreeCentrality if you need to be more specific.
Parameters:
-
node
Node | StringNode, or Node ID, to retrieve centrality for.
Returns:
Node's centrality.
getCloseness
-
node
Returns the Closeness centrality of the given node. This is the inverse of the node's farness.
Parameters:
-
node
Node | StringNode, or Node ID, to retrieve closeness for.
Returns:
Node's "closeness".
getDiameter
-
[dontUseMax=false]
Returns the diameter
of the Graph.
Parameters:
-
[dontUseMax=false]
Boolean optionalWhether or not to return Infinity if there is at least one pair of nodes for which there is no available path.
Returns:
Diameter of the Graph.
getDistance
-
source
-
target
-
[strict=true]
Finds the distance between source and target.
Parameters:
-
source
Node | StringSource Node or Node ID.
-
target
Node | StringTarget Node or Node ID.
-
[strict=true]
Boolean optionalSets whether or not paths are searched strictly by the given source/target. If, for instance, you supply a node as the source, but there are only edges connected to ports on that node, by default these edges will be ignored. Switching
strict
to false will mean these edges are considered.
Returns:
Distance from the source to the target.
getEdge
-
e
Gets an Edge by id, or if the given object is already an Edge, hands that back.
Parameters:
-
e
String | Edge | ObjectID of the Edge to retrieve, or an actual Edge, or some data from which an ID could be derived.
Returns:
The requested Edge, if found, otherwise null.
getEdgeCount
()
Integer
Returns the total number of Edges in the graph.
Returns:
The total number of Edges.
getFarness
-
node
Returns the farness centrality of the given node, ie. the sum of its distance from all other nodes, where the distance from one Node to another is given by the associated cost of the Edge joining the two Nodes.
Parameters:
-
node
Node | StringNode, or Node ID, to retrieve farness for.
Returns:
Node's "farness".
getGroupAt
-
idx
Returns the Group at the given index.
Parameters:
-
idx
NumberIndex into group list
Returns:
a Group, or null if not found.
getIdFunction
()
Function
Gets the current function to use to extract an appropriate ID from the JSON for any given object.
Returns:
Function in use for extracting IDs.
getIndegreeCentrality
-
node
Returns the indegree centrality of the given node (number of connections entering the vertex)
Parameters:
-
node
Node | StringNode, or Node ID, to retrieve indegree centrality for.
Returns:
Node's indegree centrality.
getNode
-
id
Gets the Node or Port with the given id, null if not found.
Parameters:
-
id
StringNode or Port id.
Returns:
Node/Port if found, null otherwise.
getNodeAt
-
index
Returns the Node at the given index (used for bulk init type purposes)
Parameters:
-
index
IntegerIndex of the Node to retrieve
Returns:
Node at the given index.
getNodeCount
()
Integer
Gets the count of Nodes in the Graph.
Returns:
The total number of Nodes in the graph.
getOutdegreeCentrality
-
node
Returns the outdegree centrality of the given node (number of connections exiting the vertex)
Parameters:
-
node
Node | StringNode, or Node ID, to retrieve outdegree centrality for.
Returns:
Node's indegree centrality.
printPath
()
String
Returns the path from source to target as a String.
Returns:
Printed path. Mostly useful for debugging.
setIdFunction
-
f
Sets the default function to use to extract an appropriate type from the JSON for any given object.
Parameters:
-
f
FunctionFunction to use to extract IDs.
setIdFunction
-
idFunction
Sets the default function to use to extract an appropriate ID from the JSON for any given object.
Parameters:
-
idFunction
FunctionFunction to use to extract IDs.
setPortSeparator
-
separator
Sets the character(s) used to separate ports from nodes in port ids. By default this is '.', ie a
port is addressed as nodeId.portId
. This may need to be changed depending on the data in your model.
Parameters:
-
separator
StringSeparator to use.
setSource
-
o
Sets the source Node/Port for some Edge.


Sem Player
Home
Library
Your Music
Favorite
Podcast
Playlist
Last Releases
Chill Beats
EDM Mix
Explore
Trending Albums
Menu
Saad Regal
Logout
Explore
Overview
Rising
Genre & Mood
Rockstone Week 35
Night Rock
Bad Postman Vibes
Heisenberg Club
Listen On VR
The Mavericks
Hermitude
TwentyOne Pilots
Imagine Dragons
Studio 22pm
Rockstone Week 33
Spamilton
Parker Millsap
Chi-Raq
Sci-fi Fans
Nothing Bigger
Pop
Rock
Electronic
Deep House
Country
Jazz
Pop
Rock
Electronic
Deep House
Country
Jazz
Trending Albums
Stories - Avicii
Evolve - Imagine Dragons
One Minute More - Capital Cities
Sunburn - Droeleo
Towers - April
Ghost Stories - Coldplay
Feels - Calvin Harris
Stay - Kygo
Song Name
Artist
Song Name
Artist
0:26
2:40


flexile.js is a small, easy-to-use, JavaScript library for the creation of responsive, browser-based, slideshows and presentations. It is highly adaptable. For example...
Use the arrows below or the left and right arrows on your keyboard to navigate
flexile.js is a small, easy-to-use, JavaScript library for the creation of responsive, browser-based, slideshows and presentations. It is highly adaptable. For example...
Resize your browser or rotate your mobile device and the slides and text will adapt to the changes. Elements (like images and video) sized in percentages will do too.
It might not be obvious in advance of a presentation whether dark text on a light background or light text on a dark background would be better. With flexile.js you can define multiple themes with CSS and switch between them instantly.
Press the "t" key or click here to toggle between the default light theme and a dark theme.
With flexile.js you can use a number of preconfigured aspect ratios and instantly switch between them with the press of a key. Using regular CSS class selectors, a slides' layout can be adapted to better fit a specific aspect ratio.
Press the "a" key on your keyboard (or click here) to loop through a selection of common aspect ratios.
flexile.js makes the HTML5 Fullscreen API easy to use (where supported). With fullscreen mode you can stick several flexile.js slideshows together on a single page and let the user view each one at maximum size.
Press "f" or click here to try it out.
The CSS files that accompany flexile.js define around 40 different slide transition modes. It's simple to set any given one as a default, but you can override the default on any slide or even set up a key or button that will change the transition mode on the fly.
flexile.js makes it easy to define custom keyboard keys to perform a number of operations. You've seen several examples already, but if you have a keyboard in front of you, you can also use the regular number keys to switch slides and the "[" and "]" keys to go to the start and end of the presentation.
flexile.js is open source, released under the MIT license, and available on GitHub at https://github.com/timbrock/flexile.js
It consists of a JavaScript file (about 30 KB unminified), and a CSS file (also about 30 KB).
End of example.


Extension for Concordion BDD framework
List of all commands provided by Exam.
Example projects.
Markdown support.


@(scripts: Html)(navigation: Html)(footer: Html)
With imgproc you can take the first steps in image processing. First, go to the processing page. Here you can upload an image. After that it will be automatically converted into an 8-bit grayscale image and displayed on your page. On ride side you will be able to see the histogram.
After you've uploaded your image, you can use a variety of filters and processing operations. If the chosen filter requires a filter matrix, you have the option to specify a 3x3 filter matrix. After choosing the filter and specifying desired settings, just click on the apply button.
After you have finished with experimenting, you have the opportunity to learn how the filters work. You can have a look at filter descriptions and their pseudocode on the documentation page.


Contextualize (Document transform flow)
In this step, the localized template document is pre-processed by resolving and expanding any context-dependent entities (XML elements, attributes or text), before returning it to the caller.
-
The localized document matching the current locale is opened and it's content is processed recursively, using registered node handlers to process the document as a tree.
-
When processing text nodes and attribute values, the text is evaluated for text expression patterns.
-
Sage provides default node handlers whose standard behavior is to simply copy the nodes as they are. When processing a document, if there is no node handler specific to the current selection, Sage invokes the default handlers, thereby ensuring the document is copied as is.
-
If there is a node handler registered specifically for the node being processed, it will be invoked instead of the default handler.


--- layout: data_model title: ExcapsulatingSecurityPayloadType this_version: 1.0 ---
ESP is used to provide confidentiality, data origin authentication, connectionless integrity, an anti-replay service (a form of partial sequence integrity), and limited traffic flow confidentiality. http://www.ietf.org/rfc/rfc2406.txt
| Field Name | Type | Description |
|---|---|---|
| Security_Parameters_Index0..1 | HexBinaryObjectPropertyType |
The SPI is an arbitrary 32-bit value that, in combination with the destination IP address and security protocol (ESP), uniquely identifies the Security Association for this datagram. http://www.ietf.org/rfc/rfc2406.txt |
| Sequence_Number0..1 | HexBinaryObjectPropertyType |
This unsigned 32-bit field contains a monotonically increasing counter value (sequence number). |
| Payload_Data0..1 | HexBinaryObjectPropertyType |
Payload Data is a variable-length field containing data described by the Next Header field. |
| Padding0..1 | HexBinaryObjectPropertyType |
The padding field can be used for various reasons, such as to fill in the plaintext as required by an encryption algorithm or to conceal the actual length of the payload. |
| Padding_Len0..1 | HexBinaryObjectPropertyType |
The pad length indicates the number of pad bytes immediately preceding it. Range is 0-255, where a value of zero indicates that no padding bytes are present. http://www.ietf.org/rfc/rfc2406.txt |
| Next_Header0..1 | IANAAssignedIPNumbersType |
Identifies the type data contained in the payload data field. Uses the same values as the IPv4 Protocol field. |
| Authenication_Data0..1 | HexBinaryObjectPropertyType |
The Authentication Data is a variable-length field containing an Integrity Check Value (ICV) computed over the ESP packet minus the Authentication Data. http://www.ietf.org/rfc/rfc2406.txt |


Meeing Details
clear
people
Participant (1)
message
Chat
You
more_vert
push_pin
send
people
1
message
errorDetails
attachmentAttachment
Joining Info
content_copy
Copy Joining Info
Link Copied
Meeting Detailskeyboard_arrow_down
mic_off
call
videocam_off
present_to_all
Present Now
more_vert


SvnQuery maintains a fulltext index of a subversion repository that contains the content and metadata of every document ever present in a revision. SvnWebQuery is an user friendly web interface inspired by google. You can also do programmatic queries from any .NET language by using the SvnQuery API.
First rule: Don't think too much about the query syntax, just enter what you are searching for. Examples
| Query | What it finds |
|---|---|
| debughelper.cpp | occurrences of the file debughelper.cpp |
| *.dll | files with the extension .dll |
| shared | items who have "shared" in its pass, e.g. "/bla/shared.cpp" and "/shared/bla.cpp" |
| shared/ | items which are below a folder named "shared" |
| Commodore Amiga | files containing the words "Commodore" and "Amiga" |
| c:"commodore amiga" | files containing the exact phrase "commodore amiga" in its content |
| c:"include ** bla.h" | files containing the word "include" nearly followed by the word "bla" followed without gap by ".h" |
| t:application* | files whose mimetype starts with "application", that means all binary files |
| x:^/Internal/shared/ | all items with an externals property containing the phrase "^/Internal/shared |
| a:crodemeyer | all items commited by "crodemeyer" |
The single '/' means that a path must start at the root. "/shared/" will find all directories named "shared" directly below the root.
You can do more sophisticated queries if you know how to use field specifiers, query operators and subexpressions.
You can control through prefixes if a word must (+), should (#) or must not (-) be included in a document.
| Query | What it finds |
|---|---|
| +fileio #.cpp #.h | finds fileio.cpp and fileio.h and fileio/bla.cpp but not fileio.xml |
| *.dll -3rdParty | files with the extension .dll that are not below a 3rdParty folder |
You can create subexpressions by putting them in parentheses (). Subexpressions can be nested. For your convenience a group inherits its field if you give one explicitly.
| Query | What it finds |
|---|---|
| #(audio video) | short for #(+audio +video) |
| c:(pragma warning disable) | the words "pragma", "warning" and "disable" in arbitrary order inside the content field |
| #p:(.cpp .h .hpp) | searches for files with one of the given extensions .cpp or .h or .hpp |
You can specify which field of a document should be search. If you don't specify a field only the path and content fields are searched. The following fields are predefined:
| Field | Description |
|---|---|
| p: (path:) | the path inside the repository of an item |
| c: (content:) | the content of a file (folders have no content) |
| m: (message:) | the commit message of an item (revisions are stored as pseudo-items, too) |
| a: (author:) | the author who committed an item |
| x: or e: (externals:) | the content of the "svn:externals" property of a folder |
| t: (type: ) | the content of the "svn:mime-type" property of an item |
You can also use arbitrary subversion properties as field specifiers if you put the property name in quotes. E.g. "svn:ignore":debug finds all items which contain the word "debug" in their "svn:ignore" property.


Public raise £2,000 for Derry funeral of 'much-loved' homeless man Jimmy Brolly
by Seamus McKinneyMORE than £2,000 has been raised through an online appeal to cover the funeral costs of a man who spent his days on the streets of Derry city centre.
While he lived in a hostel, Jimmy Brolly (59) was a familiar figure in the city centre and came to public prominence in 2015 when he accidentally caught fire close to Translink bus station.
Following his death in hospital after a short illness, SDLP assembly member Mark H Durkan launched a JustGiving page to raise the money for his funeral today. It surpassed the £2,000 required within hours.
Mr Durkan thanked people for their generosity and said Mr Brolly, originally from Co Derry, was a “much-loved Derry character”.
“The affection that this city had for Jimmy has been palpable since his passing. The outpouring of sadness and stories around social media are testament to the place he held in the hearts of people here," he said.
“Many of us will have experienced the warmth of Jimmy’s personality as, despite his own difficulties, he always strived – and usually succeeded – to make other people smile.”
Mr Brolly will be buried at Derry city cemetery following Requiem Mass this morning at St Mary’s Church, Creggan.


It’s simple! Flaunt IT gives you the convenience of having the latest fashionable handbags for a week delivered to your door. It’s the savvy way of keeping up with the latest trends with our online authentic luxury handbag rental service.
 If you want to carry a certain designer, style, or color, to compliment any outfit; Flaunt It is your go-to destination for all of the latest fashionable handbags that go with your wardrobe desires.
Flaunt IT allows you to rent the latest trends in luxury handbags for a fraction of the cost, we take care of getting authentic handbags from the manufacturers. All top designer handbags must be rented for a minimum of one week, then return at any point afterwards whenever you’re ready for the next fashion find. Now you can always stay ahead of the fashion curve with the simplicity and accessibility of online shopping. Besides, who wants to only have one designer handbag for a season, when you can have one for each occasion!


setup a blog on github with Jekyll (mac os sierra)
11 Jul 2017What could be a better topic for a first blogpost than a how-to about setting up the blog itself? I read a lot about the combination of github (hosting) and Jekyll (serving) for a personal blog. But it wasn’t as easy as it first seemed. I started off with this tutorial which covers the basics of setting up a github repo designated for blogging.
Problems began when I tried using Jekyll. Jekyll needs a Ruby version higher then 2.1 but my built-in ruby is only 2.0. Homebrew to the rescue.
- Install Ruby with homebrew:
- Install Jekyll:
sudo gem install Jekyll
Problems didn’t stop here though. I wanted to use Hyde as a theme which has some dependencies that weren’t met. Also it’s config file was outdated. Solutions:
In the _config.yml:
- change “gem” to “plugins”
- add “[jekyll-paginate, jekyll-gist]” as plugins
- comment out “relative_permalinks” or set it to “false”
- add “paginate_path: ‘page:num’”
- remove the whole “markdown” line
- change “highlighter” value to “rouge”, since github doesn’t use “pygments”
You probably also need to install said plugins:
- gem install jekyll-paginate
- gem install jekyll-gist
To test everything head over to the location of your local git repo and fire up the server with jekyll serve
. Then push it and it should work.


IPv6 Gets Real
February 18, 2014 · 2 minute read · CommentsGoogle’s IPv6 measurements crossed the 3% milestone just under five months from when the 2% milestone was crossed. Prior to that it had taken 11 months to go from 1% to 2%.
Google is measuring the percentage of users that access Google services over IPv6. Given the range of IPv6-connected services that Google offers, including YouTube, Google+, and Gmail, these measurements provide a good view into the amount of IPv6 deployed in access networks around the world.
The total percentage of IPv6 traffic is expected to cross 10% this year.
Implications
It is clear that IPv6 is no longer something that will be mythically deployed “some day“. IPv6 deployment is happening. If you haven’t been thinking about making your content available over IPv6 and/or making your network work over IPv6, now is the time.
Why IPv6?
If you aren’t a networking expert here’s the basics:
- “IP” means Internet Protocol. It’s how our devices speak to other.
- Every device (Every computer, mobile phone, etc.!) connected to the Internet needs a numerical IP address in order to communicate with other devices. You can think of it as a unique “phone number”.
- The original IP address scheme, called IPv4, is running out of numbers. It only allowed for ~4 billion addresses.
- There are more than 7 billion people on the planet (and I personally have many internet devices).
- IPv6 solves the problem of addess space. RFC 2374 defines public addresses as being in the range 2000:: to 3FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF. This gives us 2^125 Public IP addresses. According to someone with better math skills than I this equals 4.2×10^37 42 undecillion IPv6 addresses currently defined and usable.
Mind = Blown
Sources:


{% include 'base.html' %} {% load staticfiles %} {% block jumbotron %}
A weblog about IT operations, program usability, web application development, and delivering high quality software to your users... and a bit about ukuleles.
Read some articles


Multiple Classes Usage for Different Divisions {div}
Class 1 Heading
Class 1 Paragraph
Class 2 Heading
Class 2 Paragraph
class 3 Heading
class 3 paragraph


| dbQuoteLiteral {DBI} | R Documentation |
Call these methods to generate a string that is suitable for use in a query as a literal value of the correct type, to make sure that you generate valid SQL and protect against SQL injection attacks.
dbQuoteLiteral(conn, x, ...)
conn |
A DBIConnection object, as returned by
|
x |
A vector to quote as string. |
... |
Other arguments passed on to methods. |
dbQuoteLiteral()
returns an object that can be coerced to character,
of the same length as the input.
For an empty character vector this function returns a length-0 object.
When passing the returned object again to dbQuoteLiteral()
as x
argument, it is returned unchanged.
Passing objects of class SQL should also return them unchanged.
(For backends it may be most convenient to return SQL objects
to achieve this behavior, but this is not required.)
The returned expression can be used in a SELECT ...
query,
and the value of
dbGetQuery(paste0("SELECT ", dbQuoteLiteral(x)))[[1]]
must be equal to x
for any scalar
integer,
numeric,
string,
and logical.
If x
is NA
, the result must merely satisfy is.na()
.
The literals "NA"
or "NULL"
are not treated specially.
NA
should be translated to an unquoted SQL NULL
,
so that the query SELECT * FROM (SELECT 1) a WHERE ... IS NULL
returns one row.
Passing a list
for the x
argument raises an error.
Other DBIResult generics:
DBIResult-class
,
dbBind()
,
dbClearResult()
,
dbColumnInfo()
,
dbFetch()
,
dbGetInfo()
,
dbGetRowCount()
,
dbGetRowsAffected()
,
dbGetStatement()
,
dbHasCompleted()
,
dbIsReadOnly()
,
dbIsValid()
,
dbQuoteIdentifier()
,
dbQuoteString()
,
dbUnquoteIdentifier()
# Quoting ensures that arbitrary input is safe for use in a query name <- "Robert'); DROP TABLE Students;--" dbQuoteLiteral(ANSI(), name) # NAs become NULL dbQuoteLiteral(ANSI(), c(1:3, NA)) # Logicals become integers by default dbQuoteLiteral(ANSI(), c(TRUE, FALSE, NA)) # Raw vectors become hex strings by default dbQuoteLiteral(ANSI(), list(as.raw(1:3), NULL)) # SQL vectors are always passed through as is var_name <- SQL("select") var_name dbQuoteLiteral(ANSI(), var_name) # This mechanism is used to prevent double escaping dbQuoteLiteral(ANSI(), dbQuoteLiteral(ANSI(), name))


| Apache Struts 2 Documentation > Xwork's Component Architecture |
| These documents are out of date. As of WebWork 2.2, the WebWork IoC container has been deprecated (though not removed) and the WebWork team recommends you use Spring Plugin for all your IoC needs |
In XWork the actual component class can be virtually anything you like. The only constraints on it are that it must be a concrete class with a default constructor so that XWork can create instances of it as required. Optionally, a component may implement the Initializable and/or Disposable interfaces so it will receive lifecycle events just after it is created or before it is destroyed. Simply:
public class MyComponent implements Intializable, Disposable { public void init () { //do initialization here } public void dispose() { //do any clean up necessary before garbage collection of this component } }
One feature that is not immediately obvious is that it is possible for components to depend on other components. For example if the ExchangeRateService described above depended on a Configuration component, XWork will pass the Configuration component through to the ExchangeRateService instance after ExchangeRateService is instantiated. Note that XWork automatically takes care of initializing the components in the correct order, so if A is an action or component that depends on B and C, and B depends on C and if A, B, and C have not been previously instantiated, the ComponentManager will in the following order:
And so on and so forth. Of course, if there are instances of B or C that would be reused in this case, those instances would be passed using the enabler method rather than a new instance.
An enabler should consist of just a single method that accepts a single parameter. The parameter class should either be the component class that is to be enabled, or one of the component's superclasses. XWork does not care what the name of the enabler's method is.
Here is an example of what the ExchangeRateAware enabler might look like:
public interface ExchangeRateAware { public void setExchangeRateService(ExchangeRateService exchangeRateService); }
Note that typically an enabler would be an interface, however there is nothing to prevent you from using a class instead if you so choose.
All an action needs to do is implement the relevant enabler interface. XWork will then call the action's enabler method just prior to the action's execution. As a simple example:
public class MyAction extends ActionSupport implements ExchangeRateAware { ExchangeRateService ers; public void setExchangeRateService(ExchangeRateService exchangeRateService) { ers = exchangeRateService; } public String execute() throws Exception { System.out.println("The base currency is " + ers.getBaseCurrency()); } }
If you have an object that is not an action or another component, you must explictly tell XWork to supply any enabled components to your object by calling componentManager.initializeObject(enabledObject);
You can also use an external reference resolver in XWork, i.e., references that will be resolved not by XWork itself. One such example is using an external resolver to integrate XWork with the Spring Framework
You just need to write an external reference resolver and then tell XWork to use it in the package declaration:
<package name="default" externalReferenceResolver="com.atlassian.xwork.ext.SpringServletContextReferenceResolver">
Now, to use external references you do something like this:
<external-ref name="foo">Foo</external-ref>
Where the name attribute is the setter method name and Foo is the reference to lookup.
For more details and sample code about this integration, take a look at the javadocs to the com.opensymphony.xwork.config.ExternalReferenceResolver class (unfortunately unavailable online) and at XW-122
-Chris


I’m a software developer! I can help you build a product , feature or website Look through some of my work and experience! If you like what you see and have a project you need coded, don’t hestiate to contact me.
Hello I’m a software developer! I can help you build a product , feature or website Look through some of my work and experience! If you like what you see and have a project you need coded, don’t hestiate to contact me.


${include('head.html')}
${include('crawlers.html')}
${include('experiment_index_parts/experiment_card.html')}
${include('script_imports.html')}


Node.js Two-Factor Authentication (2FA)
Author:
Trung Quân
Blog:
https://trungquandev.com
Remember me
Login
Back to home page


A random forest is a meta estimator that fits a number of classifying decision trees on various sub-samples of the dataset and use averaging to improve the predictive accuracy and control over-fitting. The sub-sample size is always the same as the original input sample size but the samples are drawn with replacement.
%matplotlib inline
import datetime
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
import json
pd.set_option('display.width', 500)
pd.set_option('display.max_columns', 100)
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestRegressor
# code from Adventures in scikit-learn's Random Forest by Gregory Saunders
from itertools import product
from collections import OrderedDict
from IPython.display import *
# load X_train, y_train and X_test, y_test
init_data()
def ensemble(Xtrain, ytrain):
# n_estimators is the number of trees in the forest.
# The number of features to consider when looking for the best split.
# Here max_features is a percentage and int(max_features * n_features) features are considered at each split.
param_dict = OrderedDict(
n_estimators = [50, 400],
max_features = [0.2, 0.6]
)
start_timer()
results = {}
estimators= {}
for n, f in product(*param_dict.values()):
params = (n, f)
print(f'Creating RandomForestRegressor using following {n} estimators and {f}% max features: ')
est = RandomForestRegressor(oob_score=True,
n_estimators=n, max_features=f, n_jobs=-1)
est.fit(Xtrain, ytrain)
results[params] = est.oob_score_
estimators[params] = est
print(results)
outparams = max(results, key = results.get)
stop_timer()
print(outparams)
# get the regressor corresponding to the outparams
rf1 = estimators[outparams]
return rf1
# Run the random forest regression on the train and test dataset
rf1 = ensemble(X_train, y_train)
# Compute the R squared on training and test datasets
print('Train R-squared using RandomForestRegression is:', rf1.score(X_test, y_test))
print('Test R-squared using RandomForestRegression is:', rf1.score(X_train, y_train))
# Show Top-25 most important features
features = list(Xtrain.columns)
sns.set_context("poster")
pd.Series(rf1.feature_importances_, index=features).nlargest(n=25).sort_values().plot(kind="barh")
# Predict the rating using the random forest regressor:
rf1.predict()
3 of the 6 yelp datasets that we are interested are consist of records:
Reviews - 42 632 073 Businesses - 2 349 585 Users - 2 6033 964
After finding a way to read data into dataframe (we couldn't load it by regular way), we observed data columns and corresponding types:
After reading description of every field, we embarked on EDA to explore data relationship. Some of the questions we had ansewered are including but not limited by:
Running EDA on entire data set seemed to be a problem due to somewhat large datasets. On our fastest laptop - we could wait over 15 mins for one plot to finish. Hence, we cleaned business dataset by filtering out all businesses that are closed. While they can provide some interest to us, we believe that size of the population isn't a problem given the initial data size (42.6
m). In addition, we had filtered out businesses that don't have Restaurant
in their categories, since based on our project goal we are focusing just on restaurant businesses. Hence, we ended up with 579855
records which is 1.36%
from our initial input for bussiness.
After that we have build a data frame by joining reviews with business through business_id
(left outter join) result was then joined with user data frame by user_id
(also left outter join). Be we joined 3 data frames, we renamed columns to be prefixed with original dataframe name. This was done to avoid confusion betwen review rating and business rating. After merged we ended up with 44 columns. Not all of those columns will be used in training data set.
For the next (and final) milestone we are looking for building 4 models (baseline, regularized regression (Ridge), matrix factorization and either RF or ADABoost) to predict start rating for a given restaurant. We will build a simple static web page to summarize our project findings and hopefully we will have enough time to build a little demo.
After close looking at EDAs, we have decided to stick to our original question which should be formed as:
Knowing this information would be very usefull to provide all sorts of recomendations for a registered user. Our goal would be to mimic existing yelp where a registered user looks for restaurant recomendations within a certain area (zip code). Yelp, isn't just listing all places filtered by highest ratings, distance or number of reviews. Instead it applies its trained model to find places (excluding paid accounts that are boosted to the top), which most likely will receive good rating and review if a given user would visit it.


Dutch guy, proud father of a beautiful daughter. Who gives here father from time to time a punthoofd... Probaly becaus she looks so mutch like here dad...
Front End Developer who is always trying to become a better programmer. I'm always open for new projects, feel free to say hi if you got something interesting or just want to say hi.
Making my daughter laugh...
Motivation to become a great developer, nowadays improving my javascript. Next stop PHP.


books app
View All Books
Add A New Book
Oops, error!
my books
Add a New Book
submit
update a book
submit


Pipe Fitters
问题描述 :
This problem involves maximizing the number of pipes that can be fit into a storage container (but it’s a pipe fitting problem, not a bin packing problem).
A company manufactures pipes of uniform diameter. All pipes are stored in rectangular storage containers, but the containers come in several different sizes. Pipes are stored in rows within a container so that there is no space between pipes in any row (there may be some space at the end of a row), i.e., all pipes in a row are tangent, or touch. Within a rectangular cross-section, pipes are stored in either a grid pattern or a skew pattern as shown below: the two left-most cross-sections are in a grid pattern, the two right-most cross-sections are in a skew pattern.
Note that although it may not be apparent from the diagram, there is no space between adjacent pipes in any row. The pipes in any row are tangent to (touch) the pipes in the row below (or rest on the bottom of the container). When pipes are packed into a container, there may be “left-over” space in which a pipe cannot be packed. Such left-over space is packed with padding so that the pipes cannot settle during shipping.
输入:
输出:
样例输入:
3 3 2.9 10 2.9 10.5 11 11
样例输出:
9 grid 29 skew 30 skew 126 skew
学算法中的数据结构学到一定程度会乐此不疲的，比如其中的2－3树，类似的红黑树，我甚至可以自己写个逻辑文件系统结构来。
第二个是python代码啊。。
97行缺一个分号
这个差别应该不会太大，或许编辑器就自动优化成内联函数了
后面的掩码变量部分乍一看比较难理解，其实就是把32位按照一个整体来看待。
分析的很专业！
不同的编译器，printf(),执行的顺序不同，所以结果也就不同，建议不要那么写
Thanks i enjoy your write-up about Why We Keep track of | J Squared Consulting
为什么暴力求解方法循环到sqrt(n) 就可以了呢
约瑟夫也用说这么长……很成熟的一个问题了，分治的方法解起来o(n)就可以了，有兴趣可以看看具体数学的第一章，关于约瑟夫问题推导出了一系列的结论，很漂亮
通不过。
嗯，是写错了，文中以更改。MAX ( L(X[0..m-2], Y[0..n-1]), L(X[0..m-1], Y[0..n-2])


All Classes
Aircraft
Airplane
AirplaneMenu
CCTAir
Data
DataValidation
Employee
Flight
FlightMenu
Location
MainMenu
Menu
Pilot
PilotMenu
Rating


--- layout: minimal title: "About me" permalink: /about/index.html description: "About Darren Pearson" ---
Since 2001, I’ve been teaching at the college level in the areas of Web Design and Computer Graphics. In recent years, I’ve become very excited about the areas of interactive web design and 3D modeling/animation and how they can be integrated together. The capstone project for my Master’s degree from Metropolitan State University explored how various 3D models can be integrated into dynamic webpages, and also explored the best usability practices for new users learning to manipulate this technology.
Besides 3D modeling, I’ve recently been developing coursework for 2D animation and gaming using the Hype software package by Tumult Software. My primary focus has been recreating classic 2D video games from platforms such as the Atari 2600 and original Nintendo Entertainment System using Hype and Javascript. I’m currently in the process of developing a series of video tutorials to teach others how to create their own custom games, in order to teach the fundamentals of programming, graphics, web design and usability.


Trolley
public class Trolley
<#Description#>
-
The singleton that ever user should access
Holds the
TRLOptions
for the shop and theTRLNetworkManager
Declaration
Swift
static var shared: Trolley = Trolley()
-
Configures a default Trolley.io Shop.
Raises an exception if any configuration step fails. The saved in the
.shared
singleton. This method should be called after the using Trolley services.Note
Note This method is thread safe by usingzalgo
.Declaration
Swift
func configure(withLogging log: Bool = false)
-
Configures a default Trolley.io Shop.
Raises an exception if any configuration step fails. The saved in the
.shared
singleton. This method should be called after the using Trolley services.Note
Note This method is thread safe by using
zalgo
.Declaration
Swift
func configure(options: TRLOptions, withLogging log: Bool = false)
Parameters
options
The TRLOptions that all the code will look at


The Boolean() Function
Everything With a "Real" Value is True
Everything Without a "Real" is False
Booleans Can be Objects


Maqsuda Kabir
CAS 206 Course Table of Contents
Module 2
Fill in the Missing Code
Find the Error
Pacific Trails Resort
Path of Light Yoga Studio
Module 3
Project Update 1
Pacific Trails Resort
Path of Light Yoga Studio
Module 4
Project Update 2
Pacific Trails Resort
Mini Photo Gallery
Path of Light Yoga Studio
Module 5
Project Update 3
Pacific Trails Resort
Path of Light Yoga Studio
Find the Error
Module 6
Pacific Trails Resort
Path of Light Yoga Studio
Project Update 4
Module 7
Pacific Trails Resort
Path of Light Yoga Studio
Project Update 5
Module 8
Pacific Trails Resort
Path of Light Yoga Studio
Project Soft Launch
Module 9
Final Project Soft Launch
Module 10
Final Project Soft Launch
Final Project
Final Project


{{< layout-csig}} {{$back}} Back {{/back}} {{$pageTitle}}Track a passport application{{/pageTitle}} {{$content}} {{< hmpo-partials-form}} {{$form}}
You'll no longer be able to ask someone to do this online.


{% extends "layout.html" %} {% block content %}
In order to make my gifs, I used
paintshop pro 5
and
Animataion Shop
If these links don't work, then do a google search..
If you are unable to find these programs, you can use any other paint program that resizes or any animated gif maker that has a transparent background.
Before you create a drink you have to add the liqour or mixer to the drink or Shot library
if you don't know how click here
Add a drink
Once the new ingredient in entered it will make a generic pic.
Go online and find the image of the ingredient you just added and save it to your harddriveOpen image in paint shop pro
use the selection tool to crop image to its smallest size then copy and patse to create new image
Select image and resize..
Set to pixel size and change the height to 275 make sure maintain aspect ratio is selected then click ok
Save image as the name of the ingredient
Open new image in animation pro shop
Select flood fill and check the box To Canvas Color
click on background
Save image as gif in the same name
From the nav bar goto settings then select link image
There you will see all the ingredients that don't have an image attached
Click browse and select the image you just created then click update image
To check image see stats


,
+33 695116381
EPITECH - European Institute of Technology
, Computer Science, master degree (expected Spring, 2017)
2013 - Present
同济大学 Tongji university (Shanghai)
, Computer Science, master degree (expected Spring, 2017)
2015 - Present
iOS developer, Fabzat (France Bordeaux)
2015 - 2015
iOS developer, Extentia Information Technology (Pune India)
2013 - 2013


The Spry Tooltip widget consists of a tooltip containter, and one or many triggers. When the user mouses over the trigger, the tooltip container is shown. The tooltip is hidden when the user mouses out.
The widget structure is as follows:
<tooltip trigger(s)> <tooltip content>
The markup used in this structure can be most any HTML, as long as it follows the rules for nesting, etc.
Using the provided files, the default mark up is:

This is the trigger element.

This is the tooltip element.

Widget Constructors are small pieces of javascript that activate the markup into the working widget. These scripts must come AFTER the markup on the page, since the markup needs to exist before the constructor fires.

A basic constructor specifies the name of the widget and identifies the ID of the main markup container. The name of the widget is used to identify the widget for functions and methods.

Constructor options allow users to specify certain attributes of the widget.
Constructor options follow the ID parameter, wrapped in curly braces {}. Options are name:value pairs, separated by a colon (:).

| Option Name | Description | Default | Values |
|---|---|---|---|
| closeOnTooltipLeave | The content within the "tooltip" element may contain links or other interactive elements. Using this option will keep the "tooltip" element open even if the mouse leave the "trigger" element. The "tooltip" element will close when the mouse exits from the tooltip area. | false | Boolean: true or false |
| followMouse | When set to "true", the tooltip element position will move with the mouse inside the "trigger" element, using the specified offset values. | false | Boolean: true or false |
| hideDelay | The delay in milliseconds for the tooltip element to hide after the mouseout event is received. | 0 | number in milliseconds |
| hoverClass | The specified class name will be appended to the 'class' attribute for the "trigger" element on mouse over. This value is removed when the "tooltip" element is hidden. | null | "class name" |
| offsetX | The offset value given as an integer or in pixels for the x-axis. Using this value and the mouse entering position the widget compute the "tooltip" element horizontal position. | 20px | "20px" or 20 |
| offsetY | The offset value given as an integer or in pixels for the y-axis. Using this value and the mouse entering position the widget compute the "tooltip" element vertical position. | 20px | "20px" or 20 |
| showDelay | The delay in milliseconds for the tooltip element display after the mouseover event is received. | 0 | number in milliseconds |
| useEffect | could receive two parameters: 'blind' and 'fade'. Default value is none: useEffect:"" | null | "blind" or "fade" |

Recall that javascript is case sensitive.
There are no methods for the tooltip widget.
Copyright © 2007. Adobe Systems Incorporated.
All rights reserved.


Pursuing Master's degree in Computer Science at the University of Nevada Reno
Currently working as a Graduate Research Assistant in the area of Blockchain application development
I am also looking for internship opportunities in the relevant area.
Through my research I have gained a good working knowledge of how smart contract works, programming language for scripting smart contracts and an understanding of how to deploy dapps into local Ethereum network. I am a determined individual with an urge to learn from experience is looking out for an opportunity as an intern
Client : Apple Inc, National Aus bank
GPA: 4.00
GPA: 3.50
Apart from being a Student, I enjoy most of my time hanging out with friends . In the long weekends, We travel to different places for outdoor activities. During the warmer months here in Nevada, I enjoy kayaking in Lake Tahoe
When forced indoors, I follow a number of television shows. I am an aspiring chef, and like to spend time exploring new recipes in indian cuisine. I also spend a large amount of my free time surfing about the latest technologies advancements and learning through online tutorials with handson exercises


Toolkits > com.ibm.streamsx.network 3.0.0 > com.ibm.streamsx.network.enrichment > IPSpatialEnricher
This operator enriches IPv4 and IPv6 addresses with geospatial data. Only the MaxMind© GeoIP2 (or GeoLite2) City database is supported.
In order to use this operator, you must download the MaxMind© GeoIP2 (or GeoLite2) City database from the MaxMind© website. These files can then be loaded directly into the operator using the blocksIPv4File, blocksIPv6File and locationFile parameters. To dynamically update the operator whenever a new version of the database is downloaded, a DirectoryScan operator can be connected to the control input port (input port 1) of this operator. Whenever a new version of the database is downloaded and extracted into the directory being scanned, the DirectoryScan operator will submit the file paths to the IPSpatialEnricher operator. The operator will parse the database files and update it's internal tables.
Required: inputIPAttr
Optional: blocksIPv4File, blocksIPv6File, locationFile
Ingests tuples containing IP addresses. The inputIPAttr parameter specifies the attribute containing the IP addresses. Both IPv4 and IPv6 addresses are supported.
Control port that ingests a file path pointing to a MaxMind GeoIP2 (or GeoLite2) database CSV files. The operator determines whether the incoming file path refers to a "locations" file, "IPv4 blocks" file or "IPv6 blocks" file based on the name of the file. The expected file names are:
This control port can be used to dynamically update the operator's internal database. Each time a tuple is received containing a path to one of the files listed above, the operator will update it's internal table with the data in the file.
This input port expects a tuple containing a single attribute of type rstring.
The default function for output attributes. By default, this function assigns the output attribute to the value of the input attribute with the same name.
Returns the location data associated with the IP address(es). The base return type is com.ibm.streamsx.network.enrichment::IPLocation_t.
The return type of this function depends on the type of input attribute specified by the inputIPAttr parameter.
Returns the registered country data associated with the IP address(es).
The return type of this function depends on the type of input attribute specified by the inputIPAttr parameter.
Note: The MaxMind© GeoIP2 database does not contain data for the latitude, longitude and postal_code information for registered country data. Therefore, the postal_code attribute will contain an empty string, and the latitude and longitude attributes will be populated with the value of -999.99.
Returns the represented country data associated with the IP address(es).
The return type of this function depends on the type of input attribute specified by the inputIPAttr parameter.
Note: The MaxMind© GeoIP2 database does not contain data for the latitude, longitude and postal_code information for represented country data. Therefore, the postal_code attribute will contain an empty string, and the latitude and longitude attributes will be populated with the value of -999.99.
Submits a tuple for each input tuple received on input port 0. Custom output functions are used to specify which attribute should contain the enrichment data. The output tuple attributes whose assignments are not specified are assigned from input attributes.
Required: inputIPAttr
Optional: blocksIPv4File, blocksIPv6File, locationFile
Specifies the file path of the MaxMind IPv4 GeoIP2 (or GeoLite2) "blocks" file. Only the CSV-version of the database is supported. This parameter should not be used if input port 1 is defined.
Specifies the file path of the MaxMind IPv6 GeoIP2 (or GeoLite2) "blocks" file. Only the CSV-version of the database is supported. This parameter should not be used if input port 1 is defined.
Specifies the input attribute containing the IP address (or IP addresses). The attribute can contain either IPv4 or IPv6 addresses. The supported data types for this attribute are rstring, list<rstring> and list<list<rstring>>. In the case where the input attributes refers to a type of list<rstring> or list<list<rstring>>, the list can contain a mixture of both IPv4 and IPv6 addresses.
Specifies the file path of the MaxMind GeoIP2 (or GeoLite2) "locations" file. Only the English CSV-version of the database is supported. This parameter should not be used if input port 1 is defined.


{% extends "shiny/slim.html" %} {% block page_header %}NO SUCH PAGE{% endblock %} {% block content %}
We're sorry, but that page does not seem to exist! We realize that this may represent a less-than ideal cul-de-sac on your journey for greater Python knowledge and community, but we hope you'll take it in stride.
❤❤❤ We're rooting for you! ❤❤❤
{% endblock %}


How and why do microbes rely on each other?
In the natural world, microbes live in communities where individuals rely on one another. The vast majority of microbes cannot produce all of the nutrients they require, and instead depend on other microbes to produce nutrients such as amino acids and vitamins. This type of microbial interaction, nutrient sharing, is a major driver of microbial community assembly and function.
To study how nutrient sharing occurs in microbial communities, we specifically focus on vitamin B12 and B12 analogs, collectively termed corrinoids. Corrinoids are cofactors involved in the biosynthesis of amino acids and DNA, carbon metabolism, and many specialized metabolic processes. With a focus on corrinoids, the Taga Lab dissects molecular interactions and interdependencies critical to communities. Interestingly, while the majority of microorganisms use corrinoids, only a subset of microbes can produce them. We study the biosynthesis of corrinoids, how bacteria obtain corrinoids from their environment, and the role of corrinoid sharing in microbial community dynamics. We take interdisciplinary approaches combining biochemistry, molecular biology, microbiology, computational modeling, and bioinformatics in innovative ways to investigate three main areas of cofactor sharing:
What factors determine an organism’s cofactor preference?
Organisms require corrinoids with particular structures for growth. However, the molecular basis of preference (selectivity) between corrinoids is poorly understood and cannot yet be predicted. Using biochemistry and molecular biology, we characterize corrinoid-dependent enzymes to identify protein residues responsible for discriminating between different corrinoids. We also investigate the regulatory responses of organisms to the presence of different corrinoids.
One of the main goals of our work is to bridge sequence and function: to predict from an organism’s genome how different corrinoids will interact with corrinoid-binding proteins. We aim to uncover determinants of corrinoid selectivity in DNA sequences and predict which corrinoids microbes require for growth and survival. Ultimately, we hope to use these predictions to develop new ways to manipulate microbial communities, and help scientists to culture a wider range of microbes.
How do microbes share nutrients?
The majority of organisms cannot produce corrinoids and instead must obtain corrinoids from their environment. Curiously, in contrast to other nutrients, scientists have not discovered a cellular system for exporting corrinoids. The question thus remains: how do corrinoids, produced by a small subset of bacteria, exit cells and become a resource in the environment for consumption by other microbes? Using synthetic co-cultures of cross-feeding bacterial strains, we investigate the role of cell death in nutrient release into the environment.
Furthermore, in addition to scavenging complete corrinoids, microbes can scavenge precursors to corrinoids. We work to characterize the variety of corrinoid precursors that may be shared by microbes in microbial communities by predicting possible shared precursors with bioinformatics, and testing predictions in culture.
How do microorganisms that share nutrients coexist and coevolve?
The details of how microbes depend on one another nutritionally remains enigmatic. What is the metabolic cost of producing a shared metabolite? How does nutritional interdependence shape the evolutionary trajectory of microbes?
To address these questions, we developed synthetic co-cultures of metabolically interdependent bacterial strains. To test hypotheses about vitamin B12 interdependence in microbial communities we experimentally manipulate these co-cultures, carry out laboratory evolution experiments, and use computational approaches to model co-culture dynamics.


For redirects that are on the same domain, like when you move a file into a new directory, you can omit the protocol and domain from the destination URI. For example:
# redirect for a single file
Redirect 301 /old-dir/old-file.html /new-dir/new-file.html
Here we are redirecting /old-dir/old-file.html to /new-dir/new-file.html on the same domain. So we excluded http://domain.com from the destination URI (compare with other examples in this section).
To redirect multiple files, we can pattern-match using any regex that is necessary. For example, we can use (.*) to match anything (or nothing):
# redirect multiple files
RedirectMatch 301 /dir/xyz/(.*) http://domain.com/$1
Here we are using RedirectMatch to match any request for /xyz/ or any file or directory contained in /xyz/. If the request matches, it will be redirected via 301 “Permanent” status code to the new domain. The $1 in this example represents whatever is matched by (.*). So if the requested URI is /dir/xyz/bananaz.php, it will be redirected to http://domain.com/bananaz.php.
To redirect an entire, such that every URL is redirected to the same URL on the new domain, use Redirect:
# redirect all URLs to new domain
Redirect 301 / http://new-domain.com/
Alternately, if you want to redirect all requests from the old domain to the same URL on the new domain (e.g., the homepage), we can use RedirectMatch, like so:
# redirect all URLs to same URL
RedirectMatch 301 / http://new-domain.com/
Notice the difference: RedirectMatch redirects everything to the same location, whereas Redirect redirects each URL to the same URL on the new domain.
For more information on redirecting URLs, check out the following tutorials:
How to Redirect URLs
Redirect Query String via .htaccess
Redirecting URLs that Include Numbers
Canonical www via .htaccess
Canonical URLs for a single page site
More tutorials about redirecting stuff


MPI provides the user with reliable message transmission. A message sent is always received correctly, and the user does not need to check for transmission errors, time-outs, or other error conditions. In other words, MPI does not provide mechanisms for dealing with failures in the communication system. If the MPI implementation is built on an unreliable underlying mechanism, then it is the job of the implementor of the MPI subsystem to insulate the user from this unreliability, or to reflect unrecoverable errors as failures. Whenever possible, such failures will be reflected as errors in the relevant communication call. Similarly, MPI itself provides no mechanisms for handling processor failures. The error handling facilities described in section Error handling can be used to restrict the scope of an unrecoverable error, or design error recovery at the application level.
Of course, MPI programs may still be erroneous. A program error can occur when an MPI call is called with an incorrect argument (non-existing destination in a send operation, buffer too small in a receive operation, etc.) This type of error would occur in any implementation. In addition, a resource error may occur when a program exceeds the amount of available system resources (number of pending messages, system buffers, etc.). The occurrence of this type of error depends on the amount of available resources in the system and the resource allocation mechanism used; this may differ from system to system. A high-quality implementation will provide generous limits on the important resources so as to alleviate the portability problem this represents.
Almost all MPI calls return a code that indicates successful completion of the operation. Whenever possible, MPI calls return an error code if an error occurred during the call. In certain circumstances, when the MPI function may complete several distinct operations, and therefore may generate several independent errors, the MPI function may return multiple error codes. By default, an error detected during the execution of the MPI library causes the parallel computation to abort. However, MPI provides mechanisms for users to change this default and to handle recoverable errors. The user may specify that no error is fatal, and handle error codes returned by MPI calls by himself or herself. Also, the user may provide his or her own error-handling routines, which will be invoked whenever an MPI call returns abnormally. The MPI error handling facilities are described in section Error handling .
Several factors limit the ability of MPI calls to return with meaningful error codes when an error occurs. MPI may not be able to detect some errors; other errors may be too expensive to detect in normal execution mode; finally some errors may be ``catastrophic'' and may prevent MPI from returning control to the caller in a consistent state.
Another subtle issue arises because of the nature of asynchronous communications: MPI calls may initiate operations that continue asynchronously after the call returned. Thus, the operation may return with a code indicating successful completion, yet later cause an error exception to be raised. If there is a subsequent call that relates to the same operation (e.g., a call that verifies that an asynchronous operation has completed) then the error argument associated with this call will be used to indicate the nature of the error. In a few cases, the error may occur after all calls that relate to the operation have completed, so that no error value can be used to indicate the nature of the error (e.g., an error in a send with the ready mode). Such an error must be treated as fatal, since information cannot be returned for the user to recover from it.
This document does not specify the state of a computation after an erroneous MPI call has occurred. The desired behavior is that a relevant error code be returned, and the effect of the error be localized to the greatest possible extent. E.g., it is highly desireable that an erroneous receive call will not cause any part of the receiver's memory to be overwritten, beyond the area specified for receiving the message.
Implementations may go beyond this document in supporting in a meaningful manner MPI calls that are defined here to be erroneous. For example, MPI specifies strict type matching rules between matching send and receive operations: it is erroneous to send a floating point variable and receive an integer. Implementations may go beyond these type matching rules, and provide automatic type conversion in such situations. It will be helpful to generate warnings for such nonconforming behavior.


Gender: Male Female
Email:
Contact_No.-
Your Given
output will be here
address will written
gender
email id
mobile no


Use the arrow keys to move the player, find the key and scape without being caught.
If you want to use your gamepad attach it to the computer and press a button. You can use the analog stick to control the player
Press "P" to Pause/Resume the game.


Gym Types
CLASS by UFC
Taking the best trainers, the best moves, and the best technologies, CLASS creates workouts that transform not only your body but also how you look at workouts. We work smarter, not harder.
Read MoreUFC GYM® CORE
UFC GYM® locations are open seven days a week and typically range in size from 8,000 to 15,000 square feet. There are several locations throughout the U.S. and Canada and they continue to grow. Numerous group, family, and youth group classes are offered, including Boxing Conditioning, Striking, MMA, and Daily Ultimate Training®. These locations also offer personal training sessions with highly-skilled coaches.
Club Offerings
- UFC-style Octagon®
- Indoor Turf Area
- Free Weights
- Cardio Equipment
- Bag & Mat Areas
- Group Fitness Studio
- Kids Club
- Café & Retail
UFC GYM® Signature
UFC GYM® Signature Clubs are open 24 hours, seven days a week and typically range in size from 25,000 to 45,000 square feet. Signature Clubs offer a wide variety of group and specialty class offerings as well as personal training with highly-skilled coaches. In addition to a variety of club offerings, amenities may include a Youth Training Room, Kids Club, Arm Bar Café, retail store, locker rooms, dry saunas, lounges, and Wi-Fi.
Club Offerings
- UFC-style Octagon®
- Indoor Turf Area
- Free Weights
- Cardio Equipment
- Bag & Mat Areas
- Group Fitness Studio
- Kids Club
- Café & Retail
Faq's
-
What are the requirements for becoming a fitness Franchise Partner?
-
What makes UFC GYM different than other gyms or clubs in the health, wellness and fitness industry?
-
What makes UFC GYM different than other gyms or clubs in the health, wellness and fitness industry?
-
What makes UFC GYM different than other gyms or clubs in the health, wellness and fitness industry?
Are you in?
Fill out the information below and a representative will contact you regarding your interest in a UFC GYM franchise.
Thank you for your submission.


validate_full module¶
-
class
validate_full.
ValidateFull
[source]¶ Bases:
object
Methods for validating EINs from IRS form 990 Full.
Each method called by validate_full represents the validation of one column, and comes with the kwarg fixer_display=False, which when set to True will return only a string representation of the equation. This is for use in the validation fixer tool.
-
validate_full
()[source]¶ Base method for validating certain columns for EINs from IRS form 990 Full. Note that there’s are some steps leadin to this that seem redundant/odd, but actually had to follow that order.
The Full and EZ forms require different validations, because the components of each form are different. However, they need to be combined and then split again to create the CO and PC releases, and that needs to happen before validation because info from the prior NCCS releases are used in the validation steps (and the prior releases are CO/PC, not Full/EZ).
That means we start with EZ/Full, combine and split into CO/PC, merge in prior releases, then run this validate_full method wherein we split each of the CO/PC files into its Full/EZ components to pick the correct validation equations, then recombine the results into the validation of form CO or PC.
ARGUMENTS None
RETURNS None
-


Class Filter<TIndex, TElement>
Represents a filter, a psuedostructure which helps a proper data structure to behave differently.
Namespace: Collectathon
Assembly: Collectathon.Filters.dll
Syntax
public abstract class Filter<TIndex, TElement> : object
Type Parameters
| Name | Description |
|---|---|
| TIndex | The type of the indicies of the collection being filtered. |
| TElement | The type of the elements in the collection being filtered. |
Remarks
This uses combinator theory to mix filter behavior into one single object, which greatly simplifies hooking up a filter to a data structure, which is done per data structure.
Constructors
| Improve this Doc View SourceFilter()
Initializes a new Filter<TIndex, TElement>.
Declaration
protected Filter()
Methods
| Improve this Doc View SourceCreate(Filters)
Creates a Filter<TIndex, TElement> from the filter
flags.
Declaration
public static Filter<TIndex, TElement> Create(Filters filter)
Parameters
| Type | Name | Description |
|---|---|---|
| Filters | filter | Flags designating which filters to set up. |
Returns
| Type | Description |
|---|---|
| Filter<TIndex, TElement> | The described Filter<TIndex, TElement>. |
Index(TIndex)
Modifies the index
in accordance to this filter.
Declaration
public virtual TIndex Index(TIndex index)
Parameters
| Type | Name | Description |
|---|---|---|
| TIndex | index | The original index. |
Returns
| Type | Description |
|---|---|
| TIndex | The filtered index. |
IndexOutOfBounds(IIndexReadOnly<TIndex, TElement>, TIndex)
Handles the index
being out of bounds.
Declaration
public virtual TElement IndexOutOfBounds(IIndexReadOnly<TIndex, TElement> collection, TIndex index)
Parameters
| Type | Name | Description |
|---|---|---|
| IIndexReadOnly<TIndex, TElement> | collection | The collection that was indexed. |
| TIndex | index | The index of the element to get. |
Returns
| Type | Description |
|---|---|
| TElement | The element at the specified index. |
IndexOutOfBounds(IIndexRef<TIndex, TElement>, TIndex)
Handles the index
being out of bounds.
Declaration
public virtual TElement IndexOutOfBounds(IIndexRef<TIndex, TElement> collection, TIndex index)
Parameters
| Type | Name | Description |
|---|---|---|
| IIndexRef<TIndex, TElement> | collection | The collection that was indexed. |
| TIndex | index | The index of the element to reference. |
Returns
| Type | Description |
|---|---|
| TElement | A readonly reference to the element at the specified index. |
IndexOutOfBounds(IIndexRefReadOnly<TIndex, TElement>, TIndex)
Handles the index
being out of bounds.
Declaration
public virtual TElement IndexOutOfBounds(IIndexRefReadOnly<TIndex, TElement> collection, TIndex index)
Parameters
| Type | Name | Description |
|---|---|---|
| IIndexRefReadOnly<TIndex, TElement> | collection | The collection that was indexed. |
| TIndex | index | The index of the element to reference. |
Returns
| Type | Description |
|---|---|
| TElement | A readonly reference to the element at the specified index. |
IndexOutOfBounds(IIndex<TIndex, TElement>, TIndex, TElement)
Handles the index
being out of bounds.
Declaration
public virtual void IndexOutOfBounds(IIndex<TIndex, TElement> collection, TIndex index, TElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| IIndex<TIndex, TElement> | collection | The collection that was indexed. |
| TIndex | index | The index of the element to set. |
| TElement | element |


In this automatically-moderated room, you are welcome to share your positivity and motivation with everyone!
Collaborate with other users to write a story - sentence by sentence!
Talk about absolutely anything with other people!


JaypeeHuda
on 2011-09-30 11:26:34
Hello Everyone,
The strpos() function is used to search for a character/text within a string. i.e. with the help of strpos() function you can search a specific character or specific text string. If match is found, strops() function will returns character position of first match. If no match is found, it will return false (Nothing to display).............................. for more details please check out following link...
http://mindstick.com/Articles/4550476c-822d-4506-b41f-edf5ec8228a7/?PHP%20String%20function
thanks !!!!
Brett Zamir
on 2011-06-21 18:59:53
@kirk bushell: Please read the second question on our FAQ: https://github.com/kvz/phpjs/wiki/FAQ about use of JavaScript.
kirk bushell
on 2011-06-21 09:11:35
I don't understand the need for a library like this - why not simply learn the language and learn the functions that are available rather than holding onto a language that you love? By learning you become a better developer, rather than writing wrappers for problems that don't exist.
ELIANE
on 2011-03-16 20:33:11
TENHO MINHA SENHA MAIS NÃO CONSIGO ENTRAR NO MEU HOTMAIL
Kevin van Zonneveld
on 2010-09-08 17:48:05
@ Sly: Thanks for helping Chris make sense of this : )
Sly
on 2010-08-08 09:55:33
In the example there is a "5":
strpos('Kevin van Zonneveld', 'e', 5);
If you see, it means, fnc strpos will search for 'e' after the 5th position of haystack string. Try the example with 0. ;) Like this:
strpos('Kevin van Zonneveld', 'e', 0);
>>>>>I really don't understand why you think this works - even your example isn't correct. Find the first occurence of 'e' in 'Kevin van Zonneveld', and you think the answer should be 14? Hmm what about the 'e' in 'Kevin', the first word, and the second letter??
Try to find 'v' and it will come back with 6, missing the 'v' in 'Kevin' once more.
Brett Zamir
on 2010-06-02 11:19:03
@Eugene: indexOf does not work in IE arrays, but it does exist on strings in IE...
Eugene
on 2010-06-01 16:58:08
indexOf is not working in IE
myltik
on 2010-04-15 14:05:31
thanks for script , works fine for me :-)
Brett Zamir
on 2010-03-26 06:55:42
@Chris: Try dropping the third argument (or setting it to 0) which sets a starting point. It is working correctly...
Chris
on 2010-03-25 16:25:24
I really don't understand why you think this works - even your example isn't correct. Find the first occurence of 'e' in 'Kevin van Zonneveld', and you think the answer should be 14? Hmm what about the 'e' in 'Kevin', the first word, and the second letter??
Try to find 'v' and it will come back with 6, missing the 'v' in 'Kevin' once more.
Brett Zamir
on 2009-04-30 04:03:45
@ Khurram Adeeb Noorani: Also note that the PHP functions have some extra functionality (e.g,. str_replace() can be used with arrays) or extra arguments (like strpos's offset). Besides, for those only familiar with PHP, they can fall back on the PHP names as need be.
Kevin van Zonneveld
on 2009-04-29 15:29:10
@ Khurram Adeeb Noorani: Other people do like that. But that's ok. Just compile your own version without the 'duplicate' functions!
Khurram Adeeb Noorani
on 2009-04-29 07:46:45
Hi,
Thanks for the wonderful functions, they helped me a lot ... Bu what I think is that we need only those functions that are not available in javascript, there is no need of strpos(), explode(), substr() etc, as they are already available in javascript as indexOf() and split() and substr()
anonymous
on 2009-01-20 02:24:19
your_stuff('ghatiya');
Brett Zamir
on 2009-01-20 02:16:36
Argh... Sorry, I meant to say that this would be executed in your example:
if (strpos("ABCand.so.on", "ABC") === 0)
but this would not
if (strpos("ABCand.so.on", "ABC") === false)
Brett Zamir
on 2009-01-20 02:14:07
@mb : It does work with your example. You just have to keep in mind that because the index position (array indexes start at 0) in your case is '0', it will return 0, so you cannot use it as a boolean like:
if (strpos("ABCand.so.on", "ABC"))
because that will indeed not be executed.
If you ran into this problem, the solution is to do this in your code:
if (strpos("ABCand.so.on", "ABC") === false)
which will be executed
mb
on 2009-01-19 16:37:31
I've noticed that this function does not find for example "ABC" in "ABCand.so.on".
Bug: if first char of needle is first char of haystack, this does not work.
Kevin van Zonneveld
on 2008-10-06 12:07:34
@ Onno Marsman: Good job!
Onno Marsman
on 2008-10-04 17:25:34
Improved to accept things other than strings like in PHP, and a little optimiztion in the return line ( I used === instead of >=)
function strpos( haystack, needle, offset){
var i = (haystack+'').indexOf( needle, offset );
return i===-1 ? false : i;
}
Kevin van Zonneveld
on 2008-09-13 15:28:44
@ steve: Well it would be nice if you can copy-paste generic PHP code into a .JS file, and it still works. Straying from the PHP path, means developers have yet another variable to keep track of.. Does this function behave differently from the original PHP function, just because PHP.JS developers think they're smarter?
So we've chosen to stick with PHP and duplicate all of it's features.. and even flaws.
steve
on 2008-09-09 20:19:10
ok, here's where I get real lost.
I get the point about trying to port the functions - fine.
but strpos()?
this function in PHP has a HORRIBLE bug where it sometimes returns an int, and sometimes a boolean, and worse yet if the string you want is at the zero index, what do you test for?
In JavaScript, all string objects have a .indexOf() and a .lastIndexOf() function that work (IMHO) better than the PHP one, in fact I've seen many libs mimic the JS behavior in a PHP version of index_of()
JS .indexOf()
returns the (zero based index as an integer (if found))
else
returns the integer -1 (e.g. not found)
This works much better as you can have logic like.
if(someString.indexOf('secretcode')){
//do your magic
}
if you *need* the offset option, you can accomplish with:
function index_of(haystack, needle, offset){
if(offset){
haystack = haystack.substr(offset);
}
return haystack.indexOf(needle);
}
Then again, maybe I'm missing the point of this exercise?
Kevin van Zonneveld
on 2008-09-08 00:16:22
I would still learn JS if I was you.. Don't miss out on beautiful things like jQuery. PHP.JS is just a tool to smoothen up the edges between client <> server interaction development.
Kirk Strobeck
on 2008-09-06 00:43:42
This is great. Just what I needed. This small conversion basically means you don't need to learn JavaScript if you know PHP. Nice.
oooooooooooo
on 2008-08-25 18:47:38
Thank you!


Scroll Spy is a tool directive designed to help navigation elements determine the element currently in view of the user.
It takes in an array of tags to track, and when one of those tags goes over the top scroll limit, an event is fired.
The examples below make use of the id to determine what element is spied on, but many other approaches are also possible.
fdScrollSpy
Standard Scroll Spy
This example does not modify the fireEmpty
input, so the navigation will always have an arrow.
To have the arrow not display if a user scrolls to the absolute top or bottom, set fireEmpty
to true.
Custom Detection Threshold
The targetPercent
property allows you to control at what location in the container the event is fired. For example, a value of 0.5
would fire the events in the middle of the container, 0
for the top and 1
for the bottom.