JDK comes with a bunch of handy tools. It’s good to
know about them. In this post we will take a look at
jps
, jstack
, jmap
and jhat
.
jps
jps
is a JVM counterpart to unix ps
command.
By default jps
prints process PID and
the name of the main class
or the name of a jar file if the
application was started using java -jar
option.
But it can be more talkative.
-l
option adds a package name to the
main class name and a full/relative path to the jar filename.
-m
option will print command line arguments passed to the program.
To print JVM switches we use -v
option:
jstack
jstack PID
can be used to print current stack traces of
all threads running in java process.
You can also print stack traces from a core dump file.
The output of jstack
command is often referred to
as a thread dump.
Thread dumps are invaluable resources when it comes to debugging
nasty deadlocks that show up only on the production servers.
On the other hand the number of threads in a serious java application
can be overwhelming. To make the most of thread dumps, you
need to give threads meaningful names. You should give names
(via Thread::setName
) at least to the threads that you create
yourself and
you should also supply a “thread naming” ThreadFactory
when creating
new thread pools (e.g. newFixedThreadPool(int nThreads, ThreadFactory threadFactory)
).
Let’s create a simple app that deadlocks and see what jstack
will print:
EDIT: I was tired when I wrote this code. It will deadlock
both threads
say 99% of time but not always. Instead of sleep
I should use
CountDownLatch
. I leave the code as it is as I don’t want to regenerate
thread dumps but I wanted to point out this problem.
For readability I had to shorten jstack
output.
Notice that JVM was able to detect the deadlock, saving us a hours
of debugging. If you have a heisenbug you may consider running
jstack
periodically and searching its output for Found * deadlock
lines.
Now let’s see how we can extract thread dumps for a core dump. And for that we need a core dump.
Here I will describe how to make a core dump on macOS 10.15
(this is based on this article)
First we need to execute ulimit -c unlimited
in the shell
to remove the file size limit on created core-dump files.
A simple crashing hello world C program can create about 2GB core dump,
Java cores can have sizes of 10GB or more.
Then we need to set appropriate
permissions for /cores
directory:
TIP: 1
in 1777
is for sticky bit.
If a directory has this bit set then
only the owner of a file contained in that directory
can remove or rename that file.
If we additionally create a file with 700
permissions
then nobody beyond us will be able to change or
remove the file.
Then in the same shell in which we executed ulimit -c unlimited
we have to run a java application and in a new
terminal window we need to send SIGSEGV
to that app:
After being hit by SIGSEGV
Java should crash with a message:
It may take a while to write 10GB+ file on disk so be patient.
Now for some reason I was not able to take a core dump from
official Oracle distribution of JDK. When I used OpenJDK
build everything worked perfectly. Now when I switched to OpenJDK
I have to use OpenJDKs jstack
to analyze the core dump.
For some reason in OpenJDK 14 the command jstack /path/to/java coredump
did not work. Instead I have to use a new tool introduced in JDK9
called jhsdb
. Anyway the result is the same, we managed to
get thread dumps from the core dump. Again the tool was smart enough
to point out the deadlock (not visible on attached listing).
OK lets cleanup our system and revert the settings:
ulimit -c 0
, rm /cores/*
and sudo chmod 1775 /cores
.
jmap
jmap
can be used to display various info about
Java process heap. For example we may take a heap
histogram, which tells us number of instances and
total memory size taken per class.
But the real power of jmap
lies in its ability
to take heap dumps:
Heapdumps can then be comfortably opened and analyzed in tools like Eclipse Memory Analyzer.
Heapdumps can be quite huge, if you want to move them between servers remember to first compress them to speed things up. They also contain sensitive data like AWS access keys and user passwords, so please keep them secure.
TIP: You can also generate heapdumps on
out of memory errors using -XX:+HeapDumpOnOutOfMemoryError
JVM switch.
EDIT: Since JDK9 the recommended way of generating heapdumps changed. You may want to see this article on InfoQ.
jhat
Now what if you don’t want/have permissions to install fancy heapdump analyzers?
Not all is lost, we may still use primitive but working jhat
.
Run jhat heapdump
to start jhat
HTTP server with basic
heapdump browser.
EDIT: Unfortunately jhat
was removed in JDK9.


| | |
- create_chunks(nrun, ncore)
- A mapper that divides <nrum> simulations into <ncore> pieces,
returning a list of <ncore> lists, with <nrun> integers counting up
from 0 (starting in the first list).
Note: <ncore> must evenly divide <nrun>.
- mk_tmp(pid)
- Make a ./tmp/<pid> subdirectory.
- reduce_chunks(results_in_chunks)
- Reduce <results_in_chunks> (a list of results lists from a parallel
run) to a flat list of results.
- reduce_tmp_files(pid)
- Reduce (combine) all the seperate .hdf5 files in ./tmp/<pid> into
a single file (./tmp/<pid>.hdf5) then delete all .hdf5 files in that
directory.
Note: if <pid>.hdf already exists data is appended if it is unique,
or old data is silently overwritten.
- rm_tmp(pid)
- Delete a ./tmp/<pid> subdirectory (even if it contains data).
- write_to_tmp(name, pid, results)
- Save the <results> list to ./tmp/<pid>
|


|
UnitySlippyMap
A slippy map implementation written in C# for Unity3D.
|
The MapBehaviour class is a singleton handling layers and markers. Tiles are GameObjects (simple planes) parented to their layer's GameObject, in turn parented to the map's GameObject. Markers are empty GameObjects parented to the map's GameObject. The parenting is used to position the tiles and markers in a local referential using the map's center as origin. More...
Public Member Functions | |
| void | CenterOnLocation () |
| Centers the map on the location of the host. More... | |
| T | SetLocationMarker< T > (GameObject locationGo) |
| Sets the marker for the host's location and orientation using a GameObject instance for display. More... | |
| T | SetLocationMarker< T > (GameObject locationGo, GameObject orientationGo) |
| Sets the marker for the host's location and orientation using two GameObject instances for display. More... | |
| T | CreateLayer< T > (string name) |
| Creates a new named layer. More... | |
| T | CreateMarker< T > (string name, double[] coordinatesWGS84, GameObject go) |
| Creates a new named marker at the specified coordinates using a GameObject for display. More... | |
| void | RemoveMarker (MarkerBehaviour m) |
| Removes the marker. More... | |
| void | Zoom (float zoomSpeed) |
| Zooms the map at the specified zoomSpeed. More... | |
Properties | |
| static MapBehaviour | Instance [get] |
| Gets the instance. More... | |
| Camera | CurrentCamera [get, set] |
| Gets or sets the current camera used to render the map. More... | |
| bool | IsDirty [get, set] |
| Gets or sets a value indicating whether this instance is dirty and needs to be updated. More... | |
| double[] | CenterWGS84 [get, set] |
| Gets or sets the center coordinates of the map in the WGS84 coordinate system. More... | |
| double[] | CenterEPSG900913 [get, set] |
| Gets or sets the center coordinates in the EPSG 900913 coordinate system. More... | |
| float | CurrentZoom [get, set] |
| Gets or sets the current zoom. More... | |
| float | ZoomStepUpperThreshold [get, set] |
| Gets or sets the zoom step upper threshold. More... | |
| float | ZoomStepLowerThreshold [get, set] |
| Gets or sets the zoom step lower threshold. More... | |
| float | MinZoom [get, set] |
| Gets or sets the minimum zoom. More... | |
| float | MaxZoom [get, set] |
| Gets or sets the maximum zoom. More... | |
| int | RoundedZoom [get] |
| Gets the rounded zoom. More... | |
| float | HalfMapScale [get] |
| Gets the half map scale. More... | |
| float | RoundedHalfMapScale [get] |
| Gets the rounded half map scale. More... | |
| float | MetersPerPixel [get] |
| Gets the meters per pixel. More... | |
| float | RoundedMetersPerPixel [get] |
| Gets the rounded meters per pixel. More... | |
| float | ScaleMultiplier [get] |
| Gets the scale multiplier. More... | |
| float | RoundedScaleMultiplier [get] |
| Gets the rounded scale multiplier. More... | |
| float | TileResolution [get] |
| Gets the tile resolution. More... | |
| bool | UsesLocation [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour uses the host's location. More... | |
| bool | UpdatesCenterWithLocation [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour updates its center with the host's location. More... | |
| bool | UsesOrientation [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour uses the host's orientation. More... | |
| bool | CameraFollowsOrientation [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour's camera follows the host's orientation. More... | |
| List< MarkerBehaviour > | Markers [get] |
| Gets the list of markers. More... | |
| bool | ShowsGUIControls [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour shows GUI controls. More... | |
| bool | InputsEnabled [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour inputs are enabled. More... | |
| bool | HasMoved [get, set] |
| Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour has moved. More... | |
| GUIDelegate | GUIDelegate [get, set] |
| Gets or sets the GUI delegate. More... | |
| InputDelegate | InputDelegate [get, set] |
| Gets or sets the input delegate. More... | |
| static string | WKTEPSG900913 [get] |
| Gets the Well-Known Text representation of the EPSG900913 projection. More... | |
| CoordinateTransformationFactory | CTFactory [get] |
| Gets the CoordinateTransformationFactory instance. More... | |
| ICoordinateSystem | EPSG900913 [get] |
| Gets the EPSG 900913 ICoordinateSystem instance. More... | |
| ICoordinateTransformation | WGS84ToEPSG900913 [get] |
| Gets the WGS84 to EPSG 900913 ICoordinateTransformation instance. More... | |
| IMathTransform | WGS84ToEPSG900913Transform [get] |
| Gets the WGS84 to EPSG900913 IMathTransform instance. More... | |
| IMathTransform | EPSG900913ToWGS84Transform [get] |
| Gets the EPSG 900913 to WGS84 IMathTransform instance. More... | |
Private Member Functions | |
| void | EnsureMap () |
| Ensures the map. More... | |
| MapBehaviour () | |
| Initializes a new instance of the UnitySlippyMap.Map.MapBehaviour class. More... | |
| void | OnDestroy () |
| Raises the destroy event. More... | |
| void | OnApplicationQuit () |
| Raises the application quit event. More... | |
| void | FitVerticalBorder () |
| Fits the vertical border. More... | |
| double[] | ComputeCenterEPSG900913 (double[] pos) |
| Computes the center EPS g900913. More... | |
| void | UpdateInternals () |
| Updates the internals of the UnitySlippyMap.Map.MapBehaviour instance. More... | |
| void | Awake () |
| Raises the Awake event. More... | |
| void | Start () |
| Raises the Start event. More... | |
| void | OnGUI () |
| Raises the GUI event. More... | |
| void | Update () |
| Implementation of MonoBehaviour.Update(). During an update cycle: More... | |
Private Attributes | |
| Camera | currentCamera |
| The current camera used to render the map. More... | |
| bool | isDirty = false |
| Indicates whether this instance is dirty and needs to be updated. More... | |
| double[] | centerWGS84 = new double[2] |
| The center coordinates of the map in the WGS84 coordinate system. More... | |
| double[] | centerEPSG900913 = new double[2] |
| The center coordinates in the EPSG 900913 coordinate system. More... | |
| float | currentZoom |
| The current zoom. More... | |
| float | zoomStepUpperThreshold = 0.8f |
| The zoom step upper threshold. More... | |
| float | zoomStepLowerThreshold = 0.2f |
| The zoom step lower threshold. More... | |
| float | minZoom = 3.0f |
| The minimum zoom level for this map. More... | |
| float | maxZoom = 18.0f |
| The maximum zoom level for this map. More... | |
| int | roundedZoom |
| The rounded zoom. More... | |
| float | halfMapScale = 0.0f |
| The half map scale. More... | |
| float | roundedHalfMapScale = 0.0f |
| The rounded half map scale. More... | |
| float | metersPerPixel = 0.0f |
| The number of meters per pixel in respect to the latitude and zoom level of the map. More... | |
| float | roundedMetersPerPixel = 0.0f |
| The rounded meters per pixel. More... | |
| float | scaleMultiplier = 0.0f |
| The scale multiplier. More... | |
| float | roundedScaleMultiplier = 0.0f |
| The rounded scale multiplier. More... | |
| float | scaleDivider = 20000.0f |
| The scale divider. More... | |
| float | tileResolution = 256.0f |
| The tile resolution. More... | |
| float | screenScale = 1.0f |
| The screen scale. More... | |
| bool | usesLocation = false |
| The "uses location" flag. More... | |
| bool | updatesCenterWithLocation = true |
| The "updates center with location" flag. More... | |
| bool | usesOrientation = false |
| The "uses orientation" flag. More... | |
| bool | cameraFollowsOrientation = false |
| The "camera follows orientation" flag. More... | |
| float | lastCameraOrientation = 0.0f |
| The last camera orientation. More... | |
| List< MarkerBehaviour > | markers = new List<MarkerBehaviour> () |
| The list of UnitySlippyMap.Marker instances. More... | |
| bool | showsGUIControls = false |
| The "shows GUI controls" flag. More... | |
| bool | inputsEnabled = false |
| The "inputs enabled" flag. More... | |
| LocationMarkerBehaviour | locationMarker |
| The location marker. More... | |
| List< LayerBehaviour > | layers = new List<LayerBehaviour> () |
| The list of UnitySlippyMap.Layer instances. More... | |
| bool | hasMoved = false |
| The "has moved" flag. More... | |
| GUIDelegate | guiDelegate |
| The GUI delegate. More... | |
| InputDelegate | inputDelegate |
| The input delegate. More... | |
| bool | wasInputInterceptedByGUI |
| The "was input intercepted by GUI" flag. More... | |
| CoordinateTransformationFactory | ctFactory |
| The CoordinateTransformationFactory instance. More... | |
| ICoordinateSystem | epsg900913 |
| The EPSG 900913 ICoordinateSystem instance. More... | |
| ICoordinateTransformation | wgs84ToEPSG900913 |
| The WGS84 to EPSG 900913 ICoordinateTransformation instance. More... | |
| IMathTransform | wgs84ToEPSG900913Transform |
| The WGS84 to EPSG 900913 IMathTransform instance. More... | |
| IMathTransform | epsg900913ToWGS84Transform |
| The EPSG 900913 to WGS84 IMathTransform instance. More... | |
Static Private Attributes | |
| static MapBehaviour | instance = null |
| The instance. More... | |
| static string | wktEPSG900913 |
| The Well-Known Text representation of the EPSG900913 projection. More... | |
The MapBehaviour class is a singleton handling layers and markers. Tiles are GameObjects (simple planes) parented to their layer's GameObject, in turn parented to the map's GameObject. Markers are empty GameObjects parented to the map's GameObject. The parenting is used to position the tiles and markers in a local referential using the map's center as origin.
Below is a basic example of how to create a map with a single OSM layer a few markers.
using UnityEngine; using System; using UnitySlippyMap.Map; using UnitySlippyMap.Layers; using UnitySlippyMap.Markers; public class TestMap : MonoBehaviour { private MapBehaviour map; public Texture MarkerTexture; void Start() { // create the map singleton map = MapBehaviour.Instance; // 9 rue Gentil, Lyon, France map.CenterWGS84 = new double[2] { 4.83527, 45.76487 }; map.UsesLocation = true; map.InputsEnabled = true; // create a test layer TileLayerBehaviour layer = map.CreateLayer<OSMTileLayerBehaviour>("test tile layer"); layer.URLFormat = "http://a.tile.openstreetmap.org/{0}/{1}/{2}.png"; // create some test 2D markers GameObject go = TileBehaviour.CreateTileTemplate(); go.renderer.material.mainTexture = MarkerTexture; go.renderer.material.renderQueue = 4000; GameObject markerGO; markerGO = Instantiate(go) as GameObject; map.CreateMarker<MarkerBehaviour>("test marker #1 - 9 rue Gentil, Lyon", new double[2] { 4.83527, 45.76487 }, markerGO); markerGO = Instantiate(go) as GameObject; map.CreateMarker<MarkerBehaviour>("test marker #2 - 31 rue de la Bourse, Lyon", new double[2] { 4.83699, 45.76535 }, markerGO); markerGO = Instantiate(go) as GameObject; map.CreateMarker<MarkerBehaviour>("test marker #3 - 1 place St Nizier, Lyon", new double[2] { 4.83295, 45.76468 }, markerGO); DestroyImmediate(go); } void OnApplicationQuit() { map = null; } }
|
private |
Initializes a new instance of the UnitySlippyMap.Map.MapBehaviour class.
|
private |
Raises the Awake event.
| void UnitySlippyMap.Map.MapBehaviour.CenterOnLocation | ( | ) |
Centers the map on the location of the host.
|
private |
Computes the center EPS g900913.
| pos | Position. |
| T UnitySlippyMap.Map.MapBehaviour.CreateLayer< T > | ( | string | name | ) |
Creates a new named layer.
| name | The layer's name. |
| T | The 1st type parameter. |
| T | : | LayerBehaviour |
| T UnitySlippyMap.Map.MapBehaviour.CreateMarker< T > | ( | string | name, |
| double[] | coordinatesWGS84, | ||
| GameObject | go | ||
| ) |
Creates a new named marker at the specified coordinates using a GameObject for display.
| name | Name. |
| coordinatesWGS84 | Coordinates WG s84. |
| go | Go. |
| T | The 1st type parameter. |
| T | : | MarkerBehaviour |
|
private |
Ensures the map.
|
private |
Fits the vertical border.
|
private |
Raises the application quit event.
|
private |
Raises the destroy event.
|
private |
Raises the GUI event.
| void UnitySlippyMap.Map.MapBehaviour.RemoveMarker | ( | MarkerBehaviour | m | ) |
Removes the marker.
| m | The marker. |
| ArgumentNullException | Is thrown when an argument passed to a method is invalid because it is . |
| ArgumentOutOfRangeException | Is thrown when an argument passed to a method is invalid because it is outside the allowable range of values as specified by the method. |
| T UnitySlippyMap.Map.MapBehaviour.SetLocationMarker< T > | ( | GameObject | locationGo | ) |
Sets the marker for the host's location and orientation using a GameObject instance for display.
| locationGo | The GameObject instance. |
| T | The 1st type parameter. |
| T | : | LocationMarkerBehaviour |
| T UnitySlippyMap.Map.MapBehaviour.SetLocationMarker< T > | ( | GameObject | locationGo, |
| GameObject | orientationGo | ||
| ) |
Sets the marker for the host's location and orientation using two GameObject instances for display.
| locationGo | The location GameObject instance. |
| orientationGo | The orientation GameObject instance. |
| T | The 1st type parameter. |
| T | : | LocationMarkerBehaviour |
|
private |
Raises the Start event.
|
private |
Implementation of MonoBehaviour.Update(). During an update cycle:
|
private |
Updates the internals of the UnitySlippyMap.Map.MapBehaviour instance.
| void UnitySlippyMap.Map.MapBehaviour.Zoom | ( | float | zoomSpeed | ) |
Zooms the map at the specified zoomSpeed.
| zoomSpeed | Zoom speed. |
|
private |
The "camera follows orientation" flag.
|
private |
The center coordinates in the EPSG 900913 coordinate system.
|
private |
The center coordinates of the map in the WGS84 coordinate system.
|
private |
The CoordinateTransformationFactory instance.
|
private |
The current camera used to render the map.
|
private |
The current zoom.
|
private |
The EPSG 900913 ICoordinateSystem instance.
|
private |
The EPSG 900913 to WGS84 IMathTransform instance.
|
private |
The GUI delegate.
|
private |
The half map scale.
It is used throughout the implementation to rule the camera elevation and the size/scale of the tiles.
|
private |
The "has moved" flag.
|
private |
The input delegate.
|
private |
The "inputs enabled" flag.
|
staticprivate |
The instance.
|
private |
Indicates whether this instance is dirty and needs to be updated.
|
private |
The last camera orientation.
|
private |
The list of UnitySlippyMap.Layer instances.
|
private |
The location marker.
|
private |
The list of UnitySlippyMap.Marker instances.
|
private |
The maximum zoom level for this map.
|
private |
The number of meters per pixel in respect to the latitude and zoom level of the map.
|
private |
The minimum zoom level for this map.
|
private |
The rounded half map scale.
|
private |
The rounded meters per pixel.
|
private |
The rounded scale multiplier.
|
private |
The rounded zoom.
It is updated when UnitySlippyMap.Map.CurrentZoom is set.
|
private |
The scale divider.
It is an arbitrary value used to keep values within single floating point range when converting coordinates to Unity3D world coordinates.
|
private |
The scale multiplier.
It helps converting meters (EPSG 900913) to Unity3D world coordinates.
|
private |
The screen scale.
|
private |
The "shows GUI controls" flag.
|
private |
The tile resolution.
|
private |
The "updates center with location" flag.
|
private |
The "uses location" flag.
It indicates whether this UnitySlippyMap.Map.MapBehaviour uses the host's location.
|
private |
The "uses orientation" flag.
|
private |
The "was input intercepted by GUI" flag.
|
private |
The WGS84 to EPSG 900913 ICoordinateTransformation instance.
|
private |
The WGS84 to EPSG 900913 IMathTransform instance.
|
staticprivate |
The Well-Known Text representation of the EPSG900913 projection.
|
private |
The zoom step lower threshold.
|
private |
The zoom step upper threshold.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour's camera follows the host's orientation.
true
if the camera follows the host's orientation; otherwise, false
. If set to true
, UnitySlippyMap.Map.CameraFollowsOrientation is set to true
.
|
getset |
Gets or sets the center coordinates in the EPSG 900913 coordinate system.
When set, the map is refreshed and the center coordinates of the map in WGS84 are also updated.
|
getset |
Gets or sets the center coordinates of the map in the WGS84 coordinate system.
When set, the map is refreshed and the center coordinates of the map in the EPSG 900913 coordinate system are updated.
|
get |
Gets the CoordinateTransformationFactory instance.
|
getset |
Gets or sets the current camera used to render the map.
The current camera used to render the map.
|
getset |
Gets or sets the current zoom.
When set, the map is refreshed.
|
get |
Gets the EPSG 900913 ICoordinateSystem instance.
|
get |
Gets the EPSG 900913 to WGS84 IMathTransform instance.
|
getset |
|
get |
Gets the half map scale.
The half map scale is a value used throughout the implementation to rule the camera elevation and the size/scale of the tiles.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour has moved.
true
if this instance has moved; otherwise, false
. The map will not update when it is true and will set it to false at the end of its Update.
|
getset |
Gets or sets the input delegate.
The input delegate.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour inputs are enabled.
true
if inputs enabled; otherwise, false
. TODO: implement inputs in a user oriented customizable way
|
staticget |
Gets the instance.
The instance of the UnitySlippyMap.Map.MapBehaviour singleton.
|
getset |
Gets or sets a value indicating whether this instance is dirty and needs to be updated.
true
if this instance is dirty; otherwise, false
.
|
get |
Gets the list of markers.
The list of UnitySlippyMap.Marker instances.
|
getset |
Gets or sets the maximum zoom.
This is the maximum zoom value for the map. Superior zoom values are clamped when setting the UnitySlippyMap.Map.CurrentZoom. Additionally, values are always clamped between 3 and 18.
|
get |
Gets the meters per pixel.
The number of meters per pixel in respect to the latitude and zoom level of the map.
|
getset |
Gets or sets the minimum zoom.
This is the mininum zoom value for the map. Inferior zoom values are clamped when setting the UnitySlippyMap.Map.CurrentZoom. Additionally, values are always clamped between 3 and 18.
|
get |
Gets the rounded half map scale.
See UnitySlippyMap.Map.HalfMapScale .
|
get |
Gets the rounded meters per pixel.
See UnitySlippyMap.Map.MetersPerPixel.
|
get |
Gets the rounded scale multiplier.
See UnitySlippyMap.Map.ScaleMultiplier.
|
get |
Gets the rounded zoom.
The rounded zoom is updated when UnitySlippyMap.Map.CurrentZoom is set.
|
get |
Gets the scale multiplier.
The scale multiplier helps converting meters (EPSG 900913) to Unity3D world coordinates.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour shows GUI controls.
true
if show GUI controls; otherwise, false
.
|
get |
Gets the tile resolution.
The tile resolution in pixels.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour updates its center with the host's location.
true
if update center with location; otherwise, false
. It is automatically set to false
when the map is manipulated by the user.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour uses the host's location.
true
if uses location; otherwise, false
.
|
getset |
Gets or sets a value indicating whether this UnitySlippyMap.Map.MapBehaviour uses the host's orientation.
true
if use orientation; otherwise, false
.
|
get |
Gets the WGS84 to EPSG 900913 ICoordinateTransformation instance.
|
get |
Gets the WGS84 to EPSG900913 IMathTransform instance.
|
staticget |
Gets the Well-Known Text representation of the EPSG900913 projection.
|
getset |
Gets or sets the zoom step lower threshold.
The zoom step upper threshold determines if the zoom level of the map should change when zooming in.
|
getset |
Gets or sets the zoom step upper threshold.
The zoom step upper threshold determines if the zoom level of the map should change when zooming out.


In the course "Software Engineering" we learn about networking, and implement a simple web browser and web server. One of the exercises is to complete the web server so that it can handle binary files (pictures), and serve multiple clients simultaneously.
If you complete this exercise, you really will have a real web server. This site is proof, because it is running on that web server! Since this is running on a headless server, it was started from the class WebServerNoGUI.
Project repository
The code for the web browser and web server exercises is located in the networking lecture, in the Software Engineering repository: https://gitlab.fhnw.ch/bradley.richards/WI_SoftwareEngineering.


| DOSE: T+ 0:00 |
|
insufflated |
Heroin |
(powder / crystals) |
| T+ 4:00 |
|
smoked |
Cannabis |
(plant material) |
My first uses with heroin started after a breakup with a longtime girlfriend. For those that haven't tried it, it is very similar to prescription pain meds like percocet and oxycontin, just cheaper and stronger. My first few experiences with it were injected. I always had someone else do it although no one could ever get a vein for me, so I ended up with a few skin bubbles my first few times. I was conscious of the risks with needles, and didn't always feel comfortable with them, so I always used fresh needles. But something about it, the fact that it's SO bad and so wrong and I know I shouldn't do it, somehow makes it 10x better.
On this particular occasion I was back in my hometown in Pennsylvania. I was really excited to see all my old friends. My friend and I felt like doing some dope so we took a drive to the city. At about 3:30pm we arrived at the 'block' on York St, where the best heroin can be found. We bought 6 bags of 'XX', very good stuff. I also hadn't eaten a decent meal in about 2 days, so my stomache was anything but prepared for the assault it was about to have on it.
We started to head back home and on the way we set up a few lines on a book. I took out my handy straw and did my line, which totalled one full bag. It burned, but I didn't care. Within minutes I felt a rush of warmth and serenity wash over me and I said 'awwww, yeahh... feels good.'
At that point, I made a call to my ex-girlfriend to try to pick up my stuff from her place. I tried to be all polite and calm and everything, but she started flipping out for no reason. She's the definition of BITCH. So I was pissed off, and I get irritated very easily when I do opiates. The conversation ended with nothing settled and me steaming with anger. This was just a prelude to the night I was about to have.
We continued our drive back to my friends house where the rest of my story continues.
I was thirsty...REALLY thirsty. I downed 3 full glasses of water within a minute. I was itching all over, but I was used to it and it was all familar. I felt a little sweaty, yet cold at the same time. All the while still having that nice feeling of heroin. Suddenly, I got a hot flash surround me, and I got that little feeling in my stomache that told me to head for the toilet. So I ran to the bathroom and waited, but nothing happened. Then as I was walking out I barely turned my head in time as I puked into the toilet once. Well, that was quick and painless, eh? If only it was left at that. I went downstairs and we smoked a decent amount of good pot, and that just shot me into another universe, it was crazy. I was crazy. It wasn't that bad of a mix though, I enjoyed it to an extent. Although I think this made my stomache a little more upset..
After a while we went out for bit, with my friend driving. It was maybe 3-4 hours after having taken the heroin that I started to puke often. I had to open the door of the car every few minutes to throw up. All the while I was downing as much liquid as possible for 2 reasons, 1) to keep myself hydrated and 2) so that the puke would come out easily. It was somewhat amusing. I didn't really care if I died or not, I welcomed death, and still do.
 I wanted nothing more in this world than to 'catch a nod' and pass out for an eternity. It wasn't even midnight yet when we went back to my friend's girlfriend's house to sleep. I laid down on this big comfy chair with Lords of the Rings playing in the background. I knew there was more than a good chance I wouldn't ever wake up again, I was a little frightened, but I took the risk and closed my eyes and drifted off to sleep within 3 minutes.
I woke up.
 Other than that I was good.
I had a cigarette and went back to sleep.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Cross-Origin Resource Sharing (CORS)
With jQuery And Netty CORS Handler
AJAX HTTP POST Response
AJAX HTTP DELETE Response


How to make Haloumi cheese for the first time!
I have always loved cheese, and in particular Haloumi,it always amazed me how you can fry a cheese without it turning into a runny fatty mess!
So when I first set out on a mission to try and make cheese for the first time I thought 'hey, Camembert can't be too hard to make can it?!' oh how wrong I was... After ending up with 3 'camemberts' of varying putrified colours of mould from pink to dark green I took a step back and put down the advanced cheese making guide and accepted that I would have to start at the beginning..makes sense though I think?! That's how I ended up making Haloumi Cheese and succeeding!


--- layout: page title: "Zachary Wright" description: "Software Developer - Lexington, KY" header-img: "img/about-bg.jpg" ---
I'm a software developer living in Lexington, KY. I am currently employed by, and solve problems for, Zillow Group, where I work on the Naked Apartments project. I graduated from the University of Kentucky summa cum laude in 2010, with a major in Computer Science and a minor in Mathematics.
Like a Writing Desk is my headspace on the web. It's a catch-all for thoughts, theories, ramblings, and information that I think would be useful to others, or just worth writing down. In the end, they may be neither, but at least I have a record. It's not intended to be a software development blog, but since it's what I do I'm sure a decent number of posts will be about that.
In my free time I read, exercise, write more software, play video games, and drink coffee. I also spend a decent amount of my free time wishing I had more time, because there's not quite enough in a day for all of those things.
I have worked as a software developer for over 7 years, and picked up quite a few technologies along the way, both on and off the job. The most important thing I've learned, though, is how to learn. I enjoy picking up and tinkering with new tools and languages.
My favorite tools to use for web development are Ruby on Rails and jQuery, though recently I've been experimenting with front end frameworks like AngularJS and React.js. In each new personal project I build, I like to incorporate a new technology, for better or for worse. It slows me down a bit, but also keeps me up to date and constantly learning.
In terms of every day dev utilities, I use Linux, OSX, IntelliJ IDEA/RubyMine, and Git.

"Have you guessed the riddle yet?" the Hatter said, turning to Alice again.
"No, I give it up," Alice replied: "What's the answer?"
"I haven't the slightest idea," said the Hatter."
- Lewis Carroll, Alice in Wonderland


|
Anchors
Basic metacharacters
Character classes
Comments
Control and code
Grouping
Look around
Mode modifiers
Quantifiers
Specific characters
|
Unless they are a metacharacter or part of a combination, all characters represent themselves. Not every character is as easily typed on a keyboard, however. For that reason you can also use a couple of traditional escapes and metasymbols in regular expressions.
Character escapes
Metasymbols
Character escapes
| |
Item
|
|
Meaning:
|
|
| |
\0
|
|
Null character
|
|
| |
\a
|
|
Alarm
|
|
| |
\b
|
|
Backspace (Only in a character class.)
|
|
| |
\e
|
|
Escape
|
|
| |
\f
|
|
Form feed
|
|
| |
\n
|
|
Newline
|
|
| |
\r
|
|
Return
|
|
| |
\t
|
|
Tab
|
|
| |
Metasymbols |
| |
Item
|
|
Matches:
|
|
| |
\cX
|
|
A named control character.
For example \cC for control-C, \c[ for ESC and \c? for DEL .
|
|
| |
\DDD
|
|
A character specified by using a two- or three-digit octal number.
In Perl (and RegExhibit) the leading 0 is optional for values above 010 . Single digits are always assumed to be a backreference; multiple digits only if there are as many backreferences.
|
|
| |
\xHEX
|
|
A character specified by using one or two heximal digits, e.g. \x5E .
You can only use one digit is the next character is not a (possible) heximal digit.
|
|
| |
\x{LONGHEX}
|
|
A character specified by using as many heximal digits as you like, \x{211B} .
|
|
|
\N{NAME}
|
|
A named character.
This is not supported by RegExhibit.
|
|
| |
|


Presented by Milan Popović / @komita1981
PHP developer
7 years in PHP development
Work for 12 Mnkys
I like to learn and share knowledge
Active member of PHP Srbija
Who are you?
What's your experience in programming?
What do you think about PHP?
“There are only two kinds of programming languages: those people always bitch about and those nobody uses.”
Bjarne Stroustrup
Created in 1994 by Rasmus Lerdorf - @rasmus
Written in C
Personal Home Page Tools
ZEND - Andi Gutmans and Zeev Suraski
PHP - Hypertext Preprocessor
May 2014 - PHP github repo
April 2015 - PHP github repo
Shared
VPS
Dedicated servers
Heroku
Google App Engine
Azure
Popularity - usage of languages on web
More than 5 millions PHP developers worldwide
Up to thousand PHP developers in Serbia
Simplicity - Highly learnable
The easiest language to learn for non-technical people
Fast and reliable
Platform independent
Bunch of good tools
Bunch of extensions
Good (and extensive) documentation
Big players involved (FB...)
 Spaghetti SQL wrapped in spaghetti PHP wrapped in spaghetti HTML, replicated in slightly-varying form in dozens of places”Tim Bray
namespace League\Flysystem;
use LogicException;
use InvalidArgumentException;
class Filesystem implements FilesystemInterface
{
// variable declaration hidden in this example
/**
* Constructor
*
* @param AdapterInterface $adapter
* @param mixed $config
*/
public function __construct(AdapterInterface $adapter, $config = null)
{
$this->adapter = $adapter;
$this->config = Util::ensureConfig($config);
}
/**
* {@inheritdoc}
*/
public function write($path, $contents, array $config = [])
{
$path = Util::normalizePath($path);
$this->assertAbsent($path);
$config = $this->prepareConfig($config);
return (bool) $this->adapter->write($path, $contents, $config);
}
PHP Framework Interop Group
Php Standard Recommendation
PSR-0 - Autoloading standard
PSR-1 - Basic coding standard
PSR-2 - Coding style guide
PSR-3 - Logger interface
PSR-4 - Improved autoloading
PSR-5 - PHPDoc
PSR-6 - Cache interface
PSR-7 - HTTP message implementation
Dependency Manager for PHP
Created by Jordi Boggiano and Nils Adermann
Thank you guys!
“PHP has a better dependency manager than any other languages”Fabien Potencier
curl -sS https://getcomposer.org/installer | php
Can be installed globally and locally
The problem that Composer solves is this:
Declaring dependencies
composer.json
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.2.*",
"aws/aws-sdk-php-zf2": "1.2.1",
"league/flysystem": "0.4.*@dev"
}
}
more info - http://semver.org/
1.0.0, dev-master
1.0.*, 2.*
1.0 - 2.0 === >=1.0.0 < 2.1
1.0.0 - 2.1.0 === >=1.0.0 <= 2.1.0
>= 1.0
DO NOT USE THIS
~1.2 === >=1.2.0 <2.0.0
~1.2.3 === >=1.2.3 <1.3.0
^1.2.3 === >=1.2.3 <2.0.0
^ 0.3 === >=0.3.0 <0.4.0
Libraries should use ^ and you should too!
composer.lock
Provide fast installs with low memory usage
Reproducible installs
Do you add it to .gitignore?
Commit it and use it with composer install
DO NOT DEPLOY IT
You don’t have to maintain your own autoloader
Ability to load your code automatically
include "vendor/autoload.php";
"autoload": {
"psr-0" : {
"Application": "src/"
}
}
"autoload": {
"psr-4" : {
"Application\\": "src/"
}
}
"autoload": {
"classmap" : [
"src/"
]
}
$baseDir . '/src/Application/Controller/Dashboard.php',
'Application\\Controller\\Defaults' => $baseDir . '/src/Application/Controller/Defaults.php',
'Application\\Controller\\Entry' => $baseDir . '/src/Application/Controller/Entry.php',
'Application\\Controller\\Logbook' => $baseDir . '/src/Application/Controller/Logbook.php',
'Application\\Controller\\RequiresAuth' => $baseDir . '/src/Application/Controller/RequiresAuth.php',
'Application\\Controller\\User' => $baseDir . '/src/Application/Controller/User.php',
'Application\\Model\\LogEntry\\Defaults' => $baseDir . '/src/Application/Model/LogEntry/Defaults.php',
'Application\\Model\\LogEntry\\Gateway' => $baseDir . '/src/Application/Model/LogEntry/Gateway.php',
'Application\\Model\\LogEntry\\HourReports' => $baseDir . '/src/Application/Model/LogEntry/HourReports.php',
'Application\\Model\\LogEntry\\LogEntry' => $baseDir . '/src/Application/Model/LogEntry/LogEntry.php',
'Application\\Model\\LogEntry\\LogEntryCollection' => $baseDir . '/src/Application/Model/LogEntry/LogEntryCollection.php',
'Application\\Model\\LogEntry\\Storage' => $baseDir . '/src/Application/Model/LogEntry/Storage.php',
'Application\\Model\\User\\Gateway' => $baseDir . '/src/Application/Model/User/Gateway.php',
'Application\\Model\\User\\Storage' => $baseDir . '/src/Application/Model/User/Storage.php',
'Application\\Model\\User\\User' => $baseDir . '/src/Application/Model/User/User.php',
/ ...
);
{
"require": {
"vendor/package": "1.3.2",
"vendor/package2": "1.*",
"vendor/package3": ">=2.0.3"
}
}
Check if it is properly tested
Check documentation (README.md)
Check Stability
dev -> alpha -> beta -> RC -> stable
Check number of downloads
Check when it was last authored
Check the licence
“If you have a PHP problem the Symfony community has already solved it”
The Swiss-Knife of Startup world
The Most Popular FW of 2015
FW with the best marketing
Symfony components used by Laravel
Database agnostic migrations and schema builder
Great ORM - Eloquent
Painless routing
Blade Templating Engine
Powerful queue library
Validation
Built with testing in mind
Forge
Homestead
Elixir
Envoyer
Laracast
"The fastest framework"
Implemented as a C extension
Learning curve is pretty easy
Support Micro and Macro application
Loosely coupled to allow developers to use the whole framework or selected objects
Neat and clean intuitive API with solid code written on powerful design patterns
Building command line apps
Doing heavy calculation
Calculate statistics
You need all the performance you can get


public interface IGL15 extends IGL
Credit to LWJGL (https://www.lwjgl.org) which was used as the base.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_ARRAY_BUFFER
Accepted by the
target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
GetBufferParameteriv, and GetBufferPointerv. |
static int |
GL_ARRAY_BUFFER_BINDING
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_BUFFER_SIZE
Accepted by the
pname parameter of GetBufferParameteriv. |
static int |
GL_BUFFER_USAGE
Accepted by the
pname parameter of GetBufferParameteriv. |
static int |
GL_DYNAMIC_DRAW
Accepted by the
usage parameter of BufferData. |
static int |
GL_ELEMENT_ARRAY_BUFFER
Accepted by the
target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
GetBufferParameteriv, and GetBufferPointerv. |
static int |
GL_ELEMENT_ARRAY_BUFFER_BINDING
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_STATIC_DRAW
Accepted by the
usage parameter of BufferData. |
static int |
GL_STREAM_DRAW
Accepted by the
usage parameter of BufferData. |
static int |
GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Accepted by the
pname parameter of GetVertexAttribiv. |
| Modifier and Type | Method and Description |
|---|---|
void |
glBindBuffer(int target,
int buffer)
|
void |
glBufferData(int target,
ByteBuffer data,
int usage)
|
void |
glBufferData(int target,
DoubleBuffer data,
int usage)
|
void |
glBufferData(int target,
FloatBuffer data,
int usage)
|
void |
glBufferData(int target,
IntBuffer data,
int usage)
|
void |
glBufferData(int target,
LongBuffer data,
int usage)
|
void |
glBufferData(int target,
ShortBuffer data,
int usage)
|
void |
glBufferSubData(int target,
long offset,
ByteBuffer data)
|
void |
glBufferSubData(int target,
long offset,
DoubleBuffer data)
|
void |
glBufferSubData(int target,
long offset,
FloatBuffer data)
|
void |
glBufferSubData(int target,
long offset,
IntBuffer data)
|
void |
glBufferSubData(int target,
long offset,
LongBuffer data)
|
void |
glBufferSubData(int target,
long offset,
ShortBuffer data)
|
void |
glDeleteBuffers(int buffer)
|
void |
glDeleteBuffers(int[] buffers)
|
void |
glDeleteBuffers(IntBuffer buffers)
|
int |
glGenBuffers()
|
void |
glGenBuffers(int[] buffers)
|
void |
glGenBuffers(IntBuffer buffers)
|
int |
glGetBufferParameteri(int target,
int pname)
|
void |
glGetBufferParameteriv(int target,
int pname,
int[] params)
|
void |
glGetBufferParameteriv(int target,
int pname,
IntBuffer params)
|
boolean |
glIsBuffer(int buffer)
|
static final int GL_ARRAY_BUFFER
target
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
GetBufferParameteriv, and GetBufferPointerv.static final int GL_ELEMENT_ARRAY_BUFFER
target
parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData,
GetBufferParameteriv, and GetBufferPointerv.static final int GL_ARRAY_BUFFER_BINDING
pname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int GL_ELEMENT_ARRAY_BUFFER_BINDING
pname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
pname
parameter of GetVertexAttribiv.static final int GL_STREAM_DRAW
usage
parameter of BufferData.static final int GL_STATIC_DRAW
usage
parameter of BufferData.static final int GL_DYNAMIC_DRAW
usage
parameter of BufferData.static final int GL_BUFFER_SIZE
pname
parameter of GetBufferParameteriv.static final int GL_BUFFER_USAGE
pname
parameter of GetBufferParameteriv.void glBindBuffer(int target, int buffer)
target
- the target to which the buffer object is bound. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
buffer
- the name of a buffer objectvoid glDeleteBuffers(IntBuffer buffers)
buffers
- an array of buffer objects to be deletedvoid glDeleteBuffers(int buffer)
void glGenBuffers(IntBuffer buffers)
buffers
- a buffer in which the generated buffer object names are storedint glGenBuffers()
boolean glIsBuffer(int buffer)
buffer
- a value that may be the name of a buffer objectvoid glBufferData(int target, ByteBuffer data, int usage)
usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make
more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.
usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The
frequency of access may be one of these:
The nature of access may be one of these:
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
data
- a pointer to data that will be copied into the data store for initialization, or NULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW | STREAM_READ | STREAM_COPY | STATIC_DRAW | STATIC_READ | STATIC_COPY | DYNAMIC_DRAW |
DYNAMIC_READ | DYNAMIC_COPY |
void glBufferData(int target, ShortBuffer data, int usage)
usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make
more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.
usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The
frequency of access may be one of these:
The nature of access may be one of these:
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
data
- a pointer to data that will be copied into the data store for initialization, or NULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW | STREAM_READ | STREAM_COPY | STATIC_DRAW | STATIC_READ | STATIC_COPY | DYNAMIC_DRAW |
DYNAMIC_READ | DYNAMIC_COPY |
void glBufferData(int target, IntBuffer data, int usage)
usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make
more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.
usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The
frequency of access may be one of these:
The nature of access may be one of these:
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
data
- a pointer to data that will be copied into the data store for initialization, or NULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW | STREAM_READ | STREAM_COPY | STATIC_DRAW | STATIC_READ | STATIC_COPY | DYNAMIC_DRAW |
DYNAMIC_READ | DYNAMIC_COPY |
void glBufferData(int target, LongBuffer data, int usage)
usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make
more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.
usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The
frequency of access may be one of these:
The nature of access may be one of these:
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
data
- a pointer to data that will be copied into the data store for initialization, or NULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW | STREAM_READ | STREAM_COPY | STATIC_DRAW | STATIC_READ | STATIC_COPY | DYNAMIC_DRAW |
DYNAMIC_READ | DYNAMIC_COPY |
void glBufferData(int target, FloatBuffer data, int usage)
usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make
more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.
usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The
frequency of access may be one of these:
The nature of access may be one of these:
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
data
- a pointer to data that will be copied into the data store for initialization, or NULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW | STREAM_READ | STREAM_COPY | STATIC_DRAW | STATIC_READ | STATIC_COPY | DYNAMIC_DRAW |
DYNAMIC_READ | DYNAMIC_COPY |
void glBufferData(int target, DoubleBuffer data, int usage)
usage
is a hint to the GL implementation as to how a buffer object's data store will be accessed. This enables the GL implementation to make
more intelligent decisions that may significantly impact buffer object performance. It does not, however, constrain the actual usage of the data store.
usage
can be broken down into two parts: first, the frequency of access (modification and usage), and second, the nature of that access. The
frequency of access may be one of these:
The nature of access may be one of these:
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
data
- a pointer to data that will be copied into the data store for initialization, or NULL
if no data is to be copiedusage
- the expected usage pattern of the data store. One of:STREAM_DRAW | STREAM_READ | STREAM_COPY | STATIC_DRAW | STATIC_READ | STATIC_COPY | DYNAMIC_DRAW |
DYNAMIC_READ | DYNAMIC_COPY |
void glBufferSubData(int target, long offset, ByteBuffer data)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data storevoid glBufferSubData(int target, long offset, ShortBuffer data)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data storevoid glBufferSubData(int target, long offset, IntBuffer data)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data storevoid glBufferSubData(int target, long offset, LongBuffer data)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data storevoid glBufferSubData(int target, long offset, FloatBuffer data)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data storevoid glBufferSubData(int target, long offset, DoubleBuffer data)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
offset
- the offset into the buffer object's data store where data replacement will begin, measured in bytesdata
- a pointer to the new data that will be copied into the data storevoid glGetBufferParameteriv(int target, int pname, IntBuffer params)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
pname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE | BUFFER_USAGE | BUFFER_ACCESS | BUFFER_MAPPED |
BUFFER_ACCESS_FLAGS | BUFFER_MAP_LENGTH | BUFFER_MAP_OFFSET | BUFFER_IMMUTABLE_STORAGE |
BUFFER_STORAGE_FLAGS |
params
- the requested parameterint glGetBufferParameteri(int target, int pname)
target
- the target buffer object. One of:ARRAY_BUFFER | ELEMENT_ARRAY_BUFFER | PIXEL_PACK_BUFFER | PIXEL_UNPACK_BUFFER |
TRANSFORM_FEEDBACK_BUFFER | UNIFORM_BUFFER | TEXTURE_BUFFER | COPY_READ_BUFFER |
COPY_WRITE_BUFFER | DRAW_INDIRECT_BUFFER | ATOMIC_COUNTER_BUFFER | DISPATCH_INDIRECT_BUFFER |
SHADER_STORAGE_BUFFER | PARAMETER_BUFFER_ARB |
pname
- the symbolic name of a buffer object parameter. One of:BUFFER_SIZE | BUFFER_USAGE | BUFFER_ACCESS | BUFFER_MAPPED |
BUFFER_ACCESS_FLAGS | BUFFER_MAP_LENGTH | BUFFER_MAP_OFFSET | BUFFER_IMMUTABLE_STORAGE |
BUFFER_STORAGE_FLAGS |
void glDeleteBuffers(int[] buffers)
DeleteBuffers
void glGenBuffers(int[] buffers)
GenBuffers
void glGetBufferParameteriv(int target, int pname, int[] params)
GetBufferParameteriv


Add User
List All Users
Delete Users
View user by city
Add
Age
Created
Id
Name
Others
Delete
Find
Age
Created
Id
Name
Others


Dipl.Ing. in Computational Intelligence Technical University of Vienna Vienna, Austria08/2009 to 01/2014
BSc in Computer Science University of Applied Sciences Technikum Wien Vienna, Austria08/2006 to 04/2009


This form is to delete broken or invalid cache files for groups and remote repositories, e.g,
generated maven-metadata.xml for a group location, broken jar file from a remote repository, etc.
There are some unusual cases that could break those files and the easy fix is to delete and regenerate it (in the next request).
(can be a full url or a relative url like "/api/content/maven/group/central/org/foo/bar/1/bar-1.pom")


Included Eligibility [__Sereening | Identification
Records identified through database Additional records identified searching through other sources (n = 1820) (n=3)
Records after duplicates removed (n= 1123)
Records screened Records excluded (n= 1123) (n= 80)
Full-text articles assessed Full-text articles excluded, for eligibility with reasons (n= 122) (n=76)
Studies included in qualitative synthesis (n= 46)
Studies included in quantitative synthesis (meta-analysis) (n= 46)


| record {renv} | R Documentation |
Use record()
to record a new entry within an existing renv
lockfile.
record(records, lockfile = file.path(project, "renv.lock"), project = NULL)
records |
A list of named records, mapping package names to a definition of their source. See Records for more details. |
lockfile |
The path to a lockfile. By default, the project lockfile is used. |
project |
The project directory. If |
This function can be useful when you need to change one or more of the
package records within an renv
lockfile – for example, because a recorded
package cannot be restored in a particular environment, and you know of a
suitable alternative.
Records can be provided either using the remotes short-hand syntax,
or by using an R list of entries to record within the lockfile. See
?lockfiles
for more information on the structure of a package record.
## Not run: # use digest 0.6.22 from package repositories -- different ways # of specifying the remote. use whichever is most natural<EMAIL_ADDRESS>renv::record(list(digest = "0.6.22")) renv::record(list(digest = "digest@0.6.22")) # alternatively, provide a full record as a list digest_record <- list( Package = "digest", Version = "0.6.22", Source = "Repository", Repository = "CRAN" ) renv::record(list(digest = digest_record)) ## End(Not run)


Test Semantic Enrichment of MathML for Display Accuracy (MathML input with line-breaking)
©2015 MathJax Consortium
Enter MathML code here:
Original Math:
Enriched Math:
Enriched MathML:


Sometimes we want to redirect to a different view, if certain validations are not in place, or certain permissions are missing.
enter: function ( route, prevRoute, options ) {
if ( route.query.typeId == null ) {
// if typeId is missing from query parameters, route users to the '/invalid' page.
// It we don't want the URL to change to '/invalid', we can pass the 'invisible' property to goto()
// Navigating to a new route during the enter phase of another route, would cause Journey to emit
// 'routeAbuseStart' event because it detects the user is changing routes too quickly. However in this
// case the user is not abusing routes, she is simply redirecting. By passing the property 'redirect'
// Journey is notified this is a redirect and should not raise the 'routeAbuseStart' event.
journey.goto( "/invalid", {redirect: true, invisible: true} );
} else {
route.view = new Ractive( {
el: options.target,
template: template
} );
}
}


---
layout: archive
title: Lean Prover Zulip Chat Archive
permalink: 113488general/17380determineimportsofcurrentfile.html
---
The archive URL format has changed. Please find this page at:
https://leanprover-community.github.io/archive/stream/113488-general/topic/determine.20imports.20of.20current.20file.html


How it works?
At Smartacus we are investigating hotel, restaurants and cafe reviews– but our methods don’t rely on gut feelings. We leverage algorithms and data science and have the ability to scan thousands of reviews and identify unnatural patterns in just seconds.
Here’s a bit more about how our system works:
First, we gather review data.
We gather publicly available review data from platforms such as Tripadvisor and Yelp. Not only are we collecting the set of reviews for a given hotel or restaurant, we categorize them into fake or real. Even the most critical readers will not likely spend hours tallying up statistics on every review for a hotel or restaurant. At Smartacus, we automatically check all available data to give you a complete picture of what’s really going on.
Next, we run the data through our analyzer.
Once we have all the data about a hotel or restaurant, we perform an analysis and run multiple different tests. We’re looking at every single hotel or restaurant in the same way – we don’t do any favours for anyone or make any individual judgement calls. We use statistical modelling on any suspicious patterns we detect in order to rule out the possibility they are due to random chance.
Last, we display a report that any human can easily understand.
We present our findings in a transparent and easy to understand format that helps you see how we arrived at our conclusions. Here’s an overview of some of the features you’ll see:
Fake/Real
This is the one word answer to the question “well, how do the reviews look?”.


Locations
North Side
Address:
Jane Smith
1234 North
Portland, 12345
West Side
Address:
Jane Smith
5678 West
Portland, 56789


Scrolling to element with ID
No hyphens or underscores in ID's for scrollToId. Documentation and instructions are available online.
scrollToId
Back to index


Advertisement Page
Scott Thick'R Lawn Beer
main nav
HOME
ABOUT US
PRODUCTS
ADVERTISEMENTS
CONTACT US
Promotional Images
×
FLASH SALE
Limited Time Offer..


Tip: Right-Mouse-Click > View Page Source
for see the code of the webpage
Complete Load Size without Font ≈ 12kb
Skeleton plus includes more colors, a navabr and uses a faster Font. Also Skeleton plus includes minified Versions of all needed Files. And one more Reason is the Mobile Grid System that helps you to display your layout also on smaller Devices than 550px.
Skeleton plus have the same Grid System than Skeleton. So the grid consits of 12 columns and have a max-width of 960px. Skeleton plus also includes the mobile Grid System.
The Grid System starts mostly with an div with the row class :
...

.
The Mobile Grid System is the same as the normal Grid System but if you put -sm
at the end of column
or columns
than th Grid will dispay as the same than on the Desktop.
Problem: If you use twelve times one columns-sm
the last item moves to the next line
This is a Paragraph without a class
This is a Paragraph with a success class
This is a Paragraph with a danger class
This is a Paragraph with a warning class
This is a Paragraph with a muted class
Strong text in a Paragraph looks like this or bold like this
A link in a Paragraph looks like this and code looks like this
Underlined and Italic Text in a Paragraph looks like this or this
Also you can use our text-
classes for positioning your text
Left pulled Text with text-left
class
Centered Text with text-center
class
Right pulled Text with text-right
class
Uppercased Text with text-upper
class
Lowercased Text with text-lower
class
Capitalized Text with text-capit
class
Skeleton plus includes all skeleton button colors, so normal with a black border and a primary. The plus Version includes also danger,warning and success Button colors.
Skeleton plus also includes the normal input fields from Skeleton. But the plus Version includes a has-error and has-success Input class to change the border color.
Sekelton plus includes only the Skeleton lists attributes and classe, no other special things. So just use the normal Skeleton classes for creating a list.
This classes from the normal Skeleton class helps you to display simple code correctly, but without any syntax higlighting.
This is working in a Paragraph like this
Or in a Bigger Version
.container {
margin:auto;
}
The Table functions are the same than in Skeleton. Maybe in the future we add some more classes with colors.
| Name | Age | Hobbies | Location |
|---|---|---|---|
| Daniel Oltmanns | 14 | Web Development ans Sport | Germany |
| Jorge Anonymus | 21 | Web Designing | Germany |


var emptyString = "" // empty string literal
var anotherEmptyString = String() // initializer syntax
// these two strings are both empty, and are equivalent to each other
if emptyString.isEmpty {
print("Nothing to see here")
}
// Prints "Nothing to see here"


title: Forms category: CSS ---
These are the forms used without CSS selectors, if you'd like to checkout CSS assigned selectors, choose from widget section.


Document CMS
> Manual Publish
Publish Webpage Manually
Start Publish
Now Publishing Webpage Manually
Loading...


For complex programs, placing your test cases in a seperate module allows better management and utilization of data between test cases.
Let's take the following simple calculator module that simulates the integer add and multiply operators and perform unit tests on the defined functions.
module calculator
implicit none
contains
subroutine add(a, b, output)
!!  A subroutine to multiply two integers
integer, intent(in) :: a, b
integer, intent(out) :: output
output = a * b
end subroutine multiply
end module calculator
We create the following test module that performs unit tests on each of the functions defined in the source module.  Note that each test subroutine starts with a testcase_initialize
and ends with a testcase_finalize
subroutine call. These are required for bookkeeping and proper initialization of internal variables.
To run these test cases, we create a test runner program. The test runner decides which test cases to run, in what order and acts as the frontend to interacting with the test cases helping provide result summaries of all test cases executed. Let us name our test runner calculator_testrunner.f90
.
program calculator_testrunner
use naturalfruit
use calculator_test
integer :: exit_code
call testsuite_initialize()
call add_test()
call multiply_test()
call testsuite_summary()
call testsuite_finalize(exit_code)
call exit(exit_code)
end program calculator_testrunner
Notice how the initialize-test-finalize workflow is used here just like in the test module.
The subroutine names in the testrunner program start with the word 'testsuite' similar to how those in the test cases start with 'testcase'. Multiple such testsuites may be containd within a single testrunner program. This form of testing will be demonstrated in the next tutorial.
----------------------------------------
Next Tutorial


We’ll be back soon!
Sorry for the inconvenience but we’re performing some maintenance at the moment.


  We have the best 24 Hour Fitness Rebate anywhere. thesis_keywords: 24 Hour Fitness, 24 Hour Fitness Coupon Code, 24 Hour Fitness Discount, 24 Hour Fitness Rebate product_name: 24 Hour Fitness hop_url: http://www.icouponblog.com/hop.php?id=4465 ---
Are you trying to lose weight? Reach your goals when you join 24hourfitness the global fitness leader. It is the perfect fitness place. It remains open 24/7 so you can go there as you wish. It is a great place which is also affordable. Check out www.24hourfitness.com . It has all the modern equipment for cardio vascular, strength training and much more. Improve your health and look great, feel great when you join 24 Hour Fitness. Save money with our discount coupons.
If you have packed a few pounds you are not alone, a vast majority of the Americans are obese or overweight. But you can always do your body and mind a favor by working out. And why not go with a flexible, inexpensive, affordable place like 24 Hour Fitness. They offer a variety of fitness programs. Check it out on www.24hourfitness.com. You can choose from cycling, dancing, kick boxing, boot camp, strength training and many more. They also have especial programs for seniors. There are no initiation fees and no long term contracts. Joining 24 Hour Fitness is easy, affordable and fun. Use our discount coupons for a great price.
24 Hour Fitness is one of the best and most innovative fitness centers. They were the first ones to remain open 24 hours and offer month to month and online membership. Introduce exercise into your lifestyle. It is the best thing you can do for your body and mind. Reduce stress in your life and in your joints, lose weight, exercise. Join a gym that is fun, has a variety of good exercise programs. Use our discount coupons to get a great deal. Visit 24 Hour Fitness today.


[§440-37] Cumulative penalties. Unless otherwise expressly provided, the remedies or penalties provided by this chapter are cumulative to each other and to the remedies or penalties available under all other laws of this State. [L 1986, c 135, §3]


| Start Position | Start Time | End Position | End Time | Time Delta |
Around the World!
Welcome to the Around the World webapp!
To use this app, first click on the permission button.
Once you have given the application permission, the start/stop button will craete an entry in the table with your location (if found) and a time.
Upon refresh or exit of the page, data should be saved locally automatically, but there is a save button provided for peace of mind.
The clear data/table button will remove all entries on the table and remove all locally stored data.
| Start Position | Start Time | End Position | End Time | Time Delta |
By Garrett Rudisill


hpe_nimble_volume – Manage the HPE Nimble Storage volumes.¶
Requirements¶
The below requirements are needed on the host that executes this module.
- Ansible 2.9 or later
- NimbleOS 5.0 or later
- HPE Nimble Storage SDK for Python 1.0.0 or later (nimble-sdk Python module)
Parameters¶
- agent_type (False, str, None)
- External management agent type.
- app_uuid (False, str, None)
- Application identifier of volume.
- block_size (False, int, None)
- Size in bytes of blocks in the volume.
- cache_pinned (False, bool, False)
- If set to true, all the contents of this volume are kept in flash cache.
- caching (False, bool, None)
- Indicate caching the volume is enabled.
- change_name (False, str, None)
- Change name of the existing source volume.
- clone (False, bool, None)
- Whether this volume is a clone. Use this attribute in combination with name and snapshot to create a clone by setting clone = true.
- dedupe (False, bool, None)
- Indicate whether dedupe is enabled.
- description (False, str, None)
- Text description of volume.
- destination (False, str, None)
- Name of the destination pool where the volume is moving to.
- encryption_cipher (False, str, None)
- The encryption cipher of the volume.
- folder (False, str, None)
- Name of the folder holding this volume.
- force (False, bool, None)
- Forcibly offline, reduce size or change read-only status a volume.
- force_vvol (False, bool, False)
- Forcibly move a virtual volume.
- iscsi_target_scope (False, str, None)
- This indicates whether volume is exported under iSCSI Group Target or iSCSI volume target. This attribute is only meaningful to iSCSI system.
- limit (False, int, None)
- Limit on the volume’s mapped usage, expressed as a percentage of the volume’s size.
- limit_iops (False, int, None)
- IOPS limit for this volume.
- limit_mbps (False, int, None)
- Throughput limit for this volume in MB/s.
- metadata (False, dict, None)
- User defined key-value pairs that augment an volume’s attributes. List of key-value pairs. Keys must be unique and non-empty. When creating an object, values must be non-empty. When updating an object, an empty value causes the corresponding key to be removed.
- move (False, bool, None)
- Move a volume to different pool.
- multi_initiator (False, bool, None)
- For iSCSI volume target, this flag indicates whether the volume and its snapshots can be accessed from multiple initiators at the same time.
- name (True, str, None)
- Name of the source volume.
- online (False, bool, None)
- Online state of volume, available for host initiators to establish connections.
- owned_by_group (False, str, None)
- Name of group that currently owns the volume.
- parent (False, str, None)
- Name of parent volume.
- perf_policy (False, str, None)
- Name of the performance policy. After creating a volume, performance policy for the volume can only be changed to another performance policy with same block size.
- pool (False, str, None)
- Name associated with the pool in the storage pool table.
- read_only (False, bool, None)
- Volume is read-only.
- size (optional, int, None)
- Volume size in megabytes. Size is required for creating a volume but not for cloning an existing volume.
- snapshot (False, str, None)
- Base snapshot name. This attribute is required together with name and clone when cloning a volume with the create operation.
- state (True, str, None)
- The volume operations.
- thinly_provisioned (False, bool, None)
- Set volume’s provisioning level to thin.
- volcoll (False, str, None)
- Name of volume collection of which this volume is a member. Use this attribute in update operation to associate or dissociate volumes with or from volume collections. When associating, set this attribute to the name of the volume collection. When dissociating, set this attribute to empty string.
- host (True, str, None)
- HPE Nimble Storage IP address.
- password (True, str, None)
- HPE Nimble Storage password.
- username (True, str, None)
- HPE Nimble Storage user name.
Examples¶
# If state is "create", then create a volume if not present. Fails if already present.
# if state is present, then create a volume if not present. Succeeds if it already exists.
- name: Create volume if not present
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
state: "{{ state | default('present') }}"
size: "{{ size }}"
limit_iops: "{{ limit_iops }}"
limit_mbps: 5000
force: false
metadata: "{{ metadata }}" # metadata = {'mykey1': 'myval1', 'mykey2': 'myval2'}
description: "{{ description }}"
name: "{{ name }}"
- name: Changing volume "{{ name }}" to offline state
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
online: False
state: present
name: "{{ name }}"
- name: Changing volume "{{ name }}" to online state
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
online: True
state: present
name: "{{ name }}"
# Create a clone from the given snapshot name.
# If snapshot name is not provided then a snapshot is created on the source volume.
# Clone task only run if "parent" is specified. Snapshot is optional.
- name: Create or Refresh a clone!
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
name: "{{ name }}" # name here is the name of cloned volume
parent: "{{ parent | mandatory }}"
snapshot: "{{ snapshot | default(None)}}"
state: "{{ state | default('present') }}"
when:
- parent is defined
- name: Destroy volume (must be offline)
hpe_nimble_volume:
name: "{{ name }}"
state: absent
# If no snapshot is given, then restore volume to last snapshot. Fails if no snapshots exist.
# If snapshot is provided, then restore volume from specified snapshot.
- name: Restore volume "{{ name }}".
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
name: "{{ name }}"
snapshot: "{{ snapshot | default(None)}}"
state: restore
- name: Delete volume "{{ name }}" (must be offline)
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
name: "{{ name }}"
state: absent
- name: Move volume to pool
hpe_nimble_volume:
host: "{{ host }}"
username: "{{ username }}"
password: "{{ password }}"
move: true
name: "{{ name }}"
state: present
destination: "{{ destination | mandatory }}"
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by community.
Authors¶
- HPE Nimble Storage Ansible Team (@ar-india) <nimble-dcs-storage-automation-eng@hpe.com>


{{ post.title }} {% include post/date.html %}{{ time }} Filed under {% include post/categories.html %}


Meet old-age Perthshire pals who total 199 years
Mickey joins Willie (87) on his scooter
by Melanie Bonn, https://www.dailyrecord.co.uk/authors/melanie-bonn/One man and his dog make a wonderful pair in Errol, spending their later years together.
Sprightly 87-year-old Willie Cairns was all alone after losing his wife a year ago, when his family helped him find a four-legged companion.
Mickey the rescue dog is 16-years-old and was by far the oldest dog in almost 30 years of rehoming that PADS (Perthshire Abandoned Dogs Society) staff had through the kennels at Forteviot.
But after Willie went to have a look there in May and Mickey met his eye, they formed an OAP - old aged pals - partnership.
Alison Kennedy at PADS pointed out that if one human year is seven dog years, wee Mickey is 112.
She added: “Add that to Willie’s 87 years and they have just one year short of 200 years between them.”
Willie is waiting on a double hip replacement operation and is not as mobile right now as he would like to be.
“My dad is a strong, fit man,” explained his daughter Carol Faulds. “Until he gets his op, he goes about on his scooter.
“Mickey is happy to go for a walk, but on the way back he likes to hop up and ride along with Dad.”
Carol described how when her mum died in November last year, her father was lost and they discussed getting a dog to keep him company at his home.
“We agreed a young dog wouldn’t be suitable for him, so in the spring we kept an eye out for an older dog to adopt.
“We’re a family of dog fanatics - I have a rescue spaniel, Jasper. My daughter Christine has two dogs - people know them round Perth, Tilly a St Bernard and Tally a rescued Newfoundland who came from Hungary - and so naturally, we contacted PADS.”

“His owner had died and he was clearly quite elderly, although the vet found him in tip top health.
“We were flabbergasted when we discovered he was 16, he still had plenty of go in him and we wanted to get him a new home.
“His history was pretty amazing too - Mickey was born in Mexico. His previous owner was a nurse in the US who adopted him and when she retired, brought him to Scotland.
“Very sadly she died and Mickey came to us.”
Willie, a retired lorry driver, joked: “My pals who come out walking their dogs say we should try to speak Spanish to Mickey.
“And to be honest, when I got him, I thought he might be deaf, but then I heard he belonged to an English lady, so perhaps he just couldn’t understand my accent. Now we understand each other fine.
“I love Mickey. He’s a wee cracker, best dog in the world.”
If you want to see if PADS has a friend for you, the kennels at Forteviot are open to the visiting public seven days a week.
Call 01764 684491 to discuss the dogs they have looking for homes.


@* * Copyright 2019 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import config.AppConfig @import controllers.declaration.routes @import forms.declaration.{AdditionalFiscalReference, AdditionalFiscalReferencesData} @import uk.gov.hmrc.play.views.html._ @import services.model.Country @import services.Countries @import services.view.AutoCompleteItem @this(main_template: views.html.main_template) @(itemId:String, form: Form[AdditionalFiscalReference], additionalReferences: Seq[AdditionalFiscalReference] = Seq.empty)(implicit request: Request[_], appConfig: AppConfig, messages: Messages) @main_template( title = messages("declaration.additionalFiscalReferences.title"), appConfig = appConfig ) { @helper.form(routes.AdditionalFiscalReferencesController.saveReferences(itemId), 'autoComplete -> "off") { @helper.CSRF.formField @components.back_link(routes.FiscalInformationController.displayPage(itemId).url) @components.error_summary(form.errors) @components.section_header(messages("declaration.fiscalInformation.header")) @components.page_title(Some(messages("declaration.additionalFiscalReferences.title")))


Athenz is completely open source and can be found here on Github. We welcome any issues and pull-requests!
We use Slack for discussion and support. For any Athenz questions, join the
`#general`
channel on the
Athenz
Slack team.
For everything else, join the `#random`
channel.
You may also use the following discussion groups:
We monitor Stack Overflow for any posts tagged with athenz. If there aren't any existing questions that help with your problem, feel free to ask a new one!


wbemcat
Section: User Commands (1)Updated: April 2009
Index Return to Main Contents
NAME
wbemcat - a multi-protocol CIM-XML clientSYNOPSIS
wbemcatX [options] [FILE]DESCRIPTION
Utility to send raw CIM-XML request FILE to the a CIMOM and display the response/results. Default CIMOM is http://localhost:5988. If no input file is specified then get XML data from stdin. This used to be the wbemcatX utility before it officially replaced the original.OPTIONS
- -t, --protocol=PROTOCOL
- Protocol with which to connect. Default=http
- -h, --host=HOSTNAME
- Name of host running the CIMOM. Default=localhost
- -p, --port=PORT
- Port that the CIMOM is listening on. Default=5988
- -?, --help
- Display help message and exit.
PREREQUISITES
AUTHOR
Sean Swehla<EMAIL_ADDRESS>BUGS
The SBLIM project maintains a mailing list to which you should direct all questions regarding sfcb, sfcc, wbemcli, or any of the SBLIM providers. To subscribe to this mailing list visit
The SBLIM Project Bug tracking page can be found at
- http://sourceforge.net/tracker/?group_id=128809&atid=712784
COPYRIGHT
(C) Copyright IBM Corp. 2009AVAILABILITY
The Small-Footprint CIM Broker (sfcb) is a part of the SBLIM project. The most recent version is available on the web atSEE ALSO
xmltest(1) wbemcat(1)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- PREREQUISITES
- AUTHOR
- CONTRIBUTORS
- BUGS
- COPYRIGHT
- AVAILABILITY
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 05:29:12 GMT, December 24, 2015


/**
* This is the History class that provides the functionality of being able to store history through arrays.
*/
class History {
/** holds the history of all the moves made in the game
* @var{number array}
*/
data = [];
/**
* Creates an instance of History.
*/
constructor() {
this.data = [];
}
/**
* Checks if an undo can be performed.
* @returns {boolean} true if an undo can be performed, otherwise false
*/
canUndo() {
return this.data.length > 0;
}
/**
* Returns the last state of the data
* @throws {CannotUndo} Thrown if an undo cannot be performed.
* @return {Object} The last state of the data.
*/
undo() {
if (!this.canUndo())
throw "CannotUndo";
return this.data.pop();
}
/**
* Resets the state of the history data.
*/
reset() {
this.data = [];
}
/**
* Adds onto the history of the data.
* @param {Object} data The data to push onto history.
*/
push(data) {
this.data.push(JSON.parse(JSON.stringify(data)));
}
}
module.exports = History;


Example:
int i = 015; int j = 0_777;
This inspection has two different quick fixes which may applied. After the "Convert octal literal to decimal literal" quick fix is applied the result looks like:
int i = 13; int j = 511;Or after the "Remove leading zero to make decimal" quick fix is applied the result looks like:
int i = 15; int j = 777;


--- title: Plot Types sidebar: documentation_sidebar permalink: PlotTypes.html folder: documentation toc: false ---
Let us first define a model ODF to be plotted later on.
{% highlight matlab %} cs = crystalSymmetry('-3m'); odf = fibreODF(Miller(1,1,0,cs),zvector) pf = calcPoleFigure(odf,Miller(1,0,0,cs),equispacedS2Grid('antipodal')); {% endhighlight %} {% highlight plaintext %} odf = SO3FunCBF (-3m1 → xyz) kernel: de la Vallee Poussin, halfwidth 10° fibre : (11-20) || 0,0,1 weight: 1 {% endhighlight %}and simulate some EBSD data
{% highlight matlab %} ori = discreteSample(odf,100) {% endhighlight %} {% highlight plaintext %} ori = orientation (-3m1 → xyz) size: 100 x 1 {% endhighlight %}In a scatter plots individual points are plotted. This plot is usually applied when individual orientations or pole figure measurements are visualized.
{% highlight matlab %} close all scatter(ori) {% endhighlight %}Three-dimensional vectors, Miller indices, spherical grids are plotted as single markers in a spherical projection. The shape, size, and color of the markers can be adjusted using the following parameters (see also scattergroup_properties)
Marker
, MarkerSize
, MarkerFaceColor
, MarkerEdgeColor
One can also assign a label to a marker. The main options controlling the label are (see text_properties)
Label
, Color
, BackgroundColor
, FontSize
A scatter plot is also used to draw raw pole figure data. In this case, each datapoint is represented by a single dot colored accordingly to the intensity.
{% highlight matlab %} plot(pf) {% endhighlight %}Contour plots are plots consisting only of contour lines and are mainly used for pole figure and ODF plots. The number or exact location of the contour levels can be specified as an option. See contourgroup properties for more options!
{% highlight matlab %} plotPDF(odf,Miller(1,0,0,cs),'contour',0:0.5:4,'antipodal') {% endhighlight %}Filled contour plots are obtained by the option contourf. Again you may pass as an option the number of contour lines or its exact location.
{% highlight matlab %} plotPDF(odf,Miller(1,0,0,cs),'contourf','antipodal') {% endhighlight %}The default plotting style for pole figures and ODFs is smooth. Which results in a colored plot without contour lines. Here one can specify the resolution of the plot using the option resolution
.
Line plots are used by MTEX for one-dimensional ODF plots, plots of Fourier coefficients and plots of kernel functions. They can be customized by the standard MATLAB linespec options. See linespec!
{% highlight matlab %} f = fibre(Miller(1,0,0,cs),xvector); plot(odf,f,'linewidth',2,'linestyle','-.') {% endhighlight %}


pfe stratego MFor the time being, it translates a Haskell module M to a list of Decl (defined below). Unsupported forms of declarations are ignored. The translation is made before type checking.
The command pfe prove
, which provided an earlier version of
the translation to Stratego, has been removed. The code is still available
in ../Phugs
.
The subdirectory AST
contains the Haskell implementation of the
abstract syntax in ../../Plogic
:
| File | Corresponds to |
|---|---|
| AST/StrategoPattern.hs | Pattern.r |
| AST/StrategoProp.hs | Prop.r, Pred.r |
| AST/StrategoTerm.hs | Term.r |
| AST/StrategoType.hs | Type.r |
| AST/StrategoDecl.hs | a type for top-level declarations |
| AST/StrategoAST2.hs | collects and re-exports all |
This directory contains the translation functions and the code to hook into the PFE framework.
| File | Purpose |
|---|---|
| StrategoCmds.hs | hook it into the PFE framework |
| BaseStruct2Stratego2.hs | base syntax translation |
| PropStruct2Stratego2.hs | P-logic translation |
| Prop2Stratego2.hs | knot-tying definitions |
| Flags.ghc | compiler flags for GHC |
Show
instances,
so these has to be an exact correspondence between
the Haskell data types in the AST directory and the data structures
expected in Stratego.


Colored symbols for various log levels
Includes fallbacks for Windows CMD which only supports a limited character set.
sh
$ npm install --save log-symbols
```js var logSymbols = require(‘log-symbols’);
console.log(logSymbols.success, ‘finished successfully!’); // On real OSes: ✔ finished successfully! // On Windows: √ finished successfully! ```
#### success #### warning #### error
MIT © Sindre Sorhus


Performs nearest neighbor-based imputation using one or more alternative approaches to processing multivariate data. These include methods based on canonical correlation analysis, canonical correspondence analysis, and a multivariate adaptation of the random forest classification and regression techniques of Leo Breiman and Adele Cutler. Additional methods are also offered. The package includes functions for comparing the results from running alternative techniques, detecting imputation targets that are notably distant from reference observations, detecting and correcting for bias, bootstrapping and building ensemble imputations, and mapping results.
| Version: | 1.0-30 |
| Depends: | R (≥ 3.0.0) |
| Imports: | grDevices, graphics, stats, utils |
| Suggests: | vegan, ccaPP, randomForest, gam, fastICA, parallel, gower |
| Published: | 2018-07-24 |
| Author: | Nicholas L. Crookston, Andrew O. Finley, John Coulston (Sunil Arya and David Mount for ANN) |
| Maintainer: | Nicholas L. Crookston <ncrookston.fs at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| Copyright: | ANN library is copyright University of Maryland and Sunil
Arya and David Mount. See file COPYRIGHTS for details. yaImpute copyright details |
| NeedsCompilation: | yes |
| Citation: | yaImpute citation info |
| Materials: | NEWS |
| In views: | MissingData, OfficialStatistics |
| CRAN checks: | yaImpute results |
| Reference manual: | yaImpute.pdf |
| Package source: | yaImpute_1.0-30.tar.gz |
| Windows binaries: | r-devel: yaImpute_1.0-30.zip, r-release: yaImpute_1.0-30.zip, r-oldrel: yaImpute_1.0-30.zip |
| OS X binaries: | r-release: yaImpute_1.0-30.tgz, r-oldrel: yaImpute_1.0-30.tgz |
| Old sources: | yaImpute archive |
| Reverse depends: | intrinsicDimension |
| Reverse imports: | ALEPlot, iml, NCSampling, neuroim, spatialEco, stlplus |
| Reverse suggests: | LICORS |
Please use the canonical form https://CRAN.R-project.org/package=yaImpute to link to this page.


A successful geolocation request will return a JSON-formatted response defining a location and radius.
type: object
| Field | Required | Type | Description |
|---|---|---|---|
accuracy |
required | number |
The accuracy of the estimated location, in meters. This represents the
radius of a circle around the given location . If your
Geolocation response shows a very high value in the
accuracy field, the service may be geolocating based on the
request IP, instead of WiFi points or cell towers. This can happen if no
cell towers or access points are valid or recognized. To confirm that
this is the issue, set considerIp to false in
your request. If the response is a 404 , you've confirmed
that your wifiAccessPoints and
cellTowers objects could not be geolocated.
|
location |
required | LatLngLiteral | The user’s estimated latitude and longitude, in degrees. See LatLngLiteral for more information. |
{ "location": { "lat": 37.421925, "lng": -122.0841293 }, "accuracy": 30 }


{% if post.comment_set.count == 0 %}
There are currently no comments
{% else %}
{% if post.comment_set.count == 1 %}
There is currently {{ post.comment_set.count }} comment
{% else %}
There are currently {{ post.comment_set.count }} comments
{% endif %}
{% endif %}
{% if post.comment_set.count == 0 %} There are currently no comments {% else %} {% if post.comment_set.count == 1 %} There is currently {{ post.comment_set.count }} comment {% else %} There are currently {{ post.comment_set.count }} comments {% endif %} {% endif %}
{% for comment in post.comment_set.all %}Add comment


{{ db.viewUser.name }}
FASTCarPool User
Status:
{{db.viewUser.status}}
Schedule:
Day
{{day.name}}
Arrival
{{day.arrival}}
Departure
{{day.departure}}
Car Details:
Capacity: {{db.viewUser.car.capacity}}
Filled: {{db.viewUser.car.filled}}
Description: {{db.viewUser.car.description}}
Oneway Trip Charges: {{db.viewUser.car.price}}
{{ contactText() }}


Monte Carlo simulation of the Potts model
The number of states: Q =
4
Temperature: T =
T
c
Magnetic field: H =
0.0
Options


35
1 Some day, it will be as though the desert and other very dry areas are glad;
the desert will rejoice and flowers will blossom.
Like the rose,
2 the desert will produce flowers abundantly;
it will be as though everything is rejoicing and singing!
The deserts will become as beautiful as the trees in Lebanon,
as fertile as the plains of the Sharon and the area of Carmel.
There people will see the glory of Yahweh;
they will see that he is magnificent.
3 So encourage those who are tired and weak.
4 Say to those who are afraid,
"Be strong and do not be afraid,
because our God is going to come to get revenge on his enemies;
he will pay them back for what they have done,
and he will rescue you."
5 When he does that, he will enable blind people to see
and enable deaf people to hear.
6 Lame people will leap like deer,
and those who have been unable to speak will sing joyfully.
Water will gush out from springs in the desert,
and streams will flow in the desert.
7 The very hot and dry ground will become a pool of water,
and springs will provide water for the dry land.
Grass and reeds and papyrus will grow in places where the jackals lived previously.
8 There will be a highway through that land;
it will be called 'the Holy Highway.'
People who are not acceptable to God will not walk on that road;
it will be only for those who conduct their lives as God wants them to,
and no wicked fools will walk on that road.
9 There will not be any lions there
or any other dangerous animals along that road.
Only those whom Yahweh has set free will walk on it.
10 Those whom Yahweh has freed will return to Jerusalem;
they will sing as they enter the city,
and they will be extremely joyful forever.
No longer will they be sad or mourn;
they will be completely joyful and glad.


Estimate and return either the traffic speed or the car entries in the city of Thessaloniki using historical traffic data. It's used in transport pilot <http://trafficstatusprediction.imet.gr/> of the 'BigDataEurope' project <https://www.big-data-europe.eu/>. There are functions for processing these data, training a neural network, select the most appropriate model and predict the traffic speed or the car entries for a selected time date.
| Version: | 0.1.0 |
| Imports: | caret, data.table, dplyr, lubridate, neuralnet, RCurl, stats, zoo |
| Suggests: | ggplot2, knitr, lattice, rmarkdown |
| Published: | 2018-03-01 |
| Author: | Aikaterini Chatzopoulou [aut, cre], Kleanthis Koupidis [aut], Charalampos Bratsas [aut], Panagiotis Tzenos [dtc], Josep Maria Salanova [dtc] |
| Maintainer: | Aikaterini Chatzopoulou <kchatzopoul at okfn.gr> |
| BugReports: | https://github.com/okgreece/TrafficBDE/issues |
| License: | GPL-2 | file LICENSE |
| URL: | https://github.com/okgreece/TrafficBDE |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | TrafficBDE results |
| Reference manual: | TrafficBDE.pdf |
| Vignettes: |
Getting started with 'TrafficBDE' |
| Package source: | TrafficBDE_0.1.0.tar.gz |
| Windows binaries: | r-devel: TrafficBDE_0.1.0.zip, r-release: TrafficBDE_0.1.0.zip, r-oldrel: TrafficBDE_0.1.0.zip |
| OS X binaries: | r-release: TrafficBDE_0.1.0.tgz, r-oldrel: TrafficBDE_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=TrafficBDE to link to this page.


§621-4 Compelling attendance. Upon nonattendance of witnesses duly summoned, the service of the writ being proved, the court shall have summary power to cause their attendance and to punish them for contempt. [L 1876, c 32, §3; RL 1925, §2565; RL 1935, §3813; RL 1945, §9824; RL 1955, §222-4; HRS §621-4; am L 1972, c 104, §1(b)]
Rules of Court
See HRCP rule 45(f); DCRCP rule 45(f).
Case Notes
Compelling attendance by attachment. 10 H. 379, 383 (1896).
Where defendant acted diligently to procure material witnesses and they fail to appear, case should be continued. 56 H. 452, 540 P.2d 63 (1975).


Build number ###
load locally
All tests
all
succeeded
failed
Device
Test name
Build
Base image
Computed image
Difference to gold image
Normalized difference to base image
Error