text:
Release Notes
====================

v4.10.0
------
* Foundation
    * New Digraph container
	* Net Set container

* Mathematics
    * Fixed vector division bug
	* Fixed orthographic matrix calculation
	* Fixed identity flag when scaling transformations

* Rendering
    * Render Graphs
	* Implemented basic Render Graph passes
	* Enhanced Shader Graphs
	* Crimild Shading Language utility functions
	* New render queues for screen and opaque objects
	* Render Target catalog
	* Shareable Render Targets
	* Deprecate RenderPass and subclasses
	* Primitive catalogs and bindings
	* Use layout annotations for GLSL attributes
	* Improve vertex array objects usage in OpenGL

* UI
    * New UI components: UICanvas, UIFrame, UIBackground
	* New UIFrameConstraint component for layout

v4.9.0
------
* Foundation
    * New Queue container
	* Removed Shared Object collections
	* Containers improvements

* Mathematics
    * Fixed quaternion slerp interpolations

* Rendering
    * Shader Graphs support with OpenGL implementation

* Animations
    * Implemented new animation system
	* Implemented blending and transitions for animations
	* Implemented coding and cloning support for animations

* Core
    * Implemented coding support for Light class

* Import
    * Fixed quaternion angles when importing scenes

* Audio
    * Implement audio system using SDL_Mixer
	* Deprecated SFML-based audio system

* Simulation
    * Implemented SDL-based simulation
	* Deprecated GLFW-based simulation
	* Fix component update pass

* Emscripten
    * Enable Emscripten support using CMake
	* Enable audio support on web export
	* Bundle assets

v4.8.0
------

* Build System
    * Exposed executable target properties to client applications for custom properties specifications.
    * Fixed OS X bundled resources
    * Improved build times by maximizing forward declarations usage.

* Mathematics
    * Added infinity constants for scalars and vectors.

* Foundation
    * Added new containers for arrays, maps, queues and stacks using new C++11 features.
    * Added ThreadModel policy.
    * Added dynamic casting utility for SharedPointer class.
    * Added ObjectFactory class.
    * Added type aliases.
    * Added unit test cases.
    * Deprecated old collection implementations.

* Core
    * Added new Coding system, including new Codable, Encoder and Decoder classes.
    * Added MemoryEncoder and MemoryDecoder classes for in-memory coding.
    * Added FileEncoder and FileDecoder classes for loading and saving encoded data.
    * Added coding support for most of the Core classes.
    * Added cloning capabilities to NodeComponent and derived classes.
    * Added anchors for text alignment.
    * Added Console commands.
    * Added unit test cases.
    * Added module initialization function.
    * Deprecated Stream and related classes.
    * Deprecated SceneBuilder and related class.

*Behaviors
    * Added BehaviorTree class.
    * Added BehaviorContextValue class.
    * Moved BehaviorController to crimild::behaviors namespace.
    * Added coding support for main classes.
    * Added new unit test cases.

* Navigation
    * Added coding support for main classes.

* Particle System
    * Added coding support for main classes.

* Rendering
    * Added getters for audio source properties like duration and channels
    * Added callback to get data chunks for audio sources
    * Added coding support for main classes.

* Audio
    * Added coding support for main classes.

* Simulation
    * Removed concurrent component update for scene nodes.
    * Added method to retrieve a System instance by name.
    * Added coding support for scene loading.

* Importer
    * Updated Assimp to v4.1.0

* Scripting
    * Added LuaEncoder and LuaDecoder classes for loading and saving encoded data.
    * Added flag CRIMILD_ENABLE_SCRIPTING to detect whether or not the scripting module is enabled.
    * Deprecated LuaSceneBuilder class
    * Updated Lua to v5.3.14
    * Added unit test cases.

* iOS
    * Added audio classes using native frameworks
    * Updated project files

v4.7.0
------

* Math
    * New LineSegment class
	* Minor fixes

* Core
    * Fixed particle sorting

* Rendering
    * Minor fixes

* Audio
    * New audio-related classes
	* Implemented SFML audio classes
	* Removed deprecated audio classes

* Navigation
    * Compute edge sliding vector
	* Improved navigation component
	*

* Behaviors
    * Implemented Behavior Tree base classes
	* Implemented reusable behaviors

* Scripting
    * Implemented builders for core classes

* Debug
    * Improved debug tools for navigation meshes

v4.6.0
------

* Math
    * Compute inverse transformation

* Core
    * Implemented version control for streams
    * Allow for time offsets when specifying skin animations
    * Allow particle system to be paused and resumed
    * Fixed UISystem
    * Fixed invalid camera problem when picking
    * Allow the console to use the command history
    * Fixed particle system emition rate

* Rendering
    * Composite Render Passes
    * Fixed ambient light calculation in standard shader
    * Shadows improvements
    * Use OpenGL Core Profile 3.3

* Navigation
    * Implemented Navigation Meshes
    * Load navmeshes from OBJ files

* Scripting
    * Allow nodes to define a radius for the bounding volume in lua scripts

* Debug
    * Improved debug facilities

v4.5.0
------

* Foundation
    * Define platform-independent types to be used throughout the engine

* Math
    * Implemented time scales for all clocks
    * Improved random number generator

* Core
    * Implemented modular particle system
    * Implemented simple interactive console for simulations
    * Improved streaming support on most classes
    * Improved text support

* Debug
    * Improved Profiler
    * Improved render tools
    * Implemented debug text rendering

* Rendering
    * Implemented filters for textures
    * Improvements on shadow mapping

* Scripting
    * Implemented generic object builder for Lua parser

v4.4.1
------

* Scripting
    * Fixed initial state for cameras in script builder

* Rendering
    * Fallback to OpenGL ES 2 on Android
    * Fixed occluder check when computing render queue

v4.4.0
------

* Math
    * Implemented euler angle conversion for quaternions.
    * Implemented helper methods to get world up vector in local space

* SceneGraph
    * Improved Switch
    * Bind lights only if enabled

* Simulation
    * Update scene in main thread, nodes in parallel
    * Dispatch mouse motion event during input's update phase
    * Retain scene when doing update
    * Fixed concurrency bug in AssetManager
    * Added basic joystick support

* Scripting
    * Added helper method to get a child evaluator

* Rendering
    * Added support for render to texture using an offscreen camera
    * Fixed light type bug in OpenGL
    * Improved Depth of Field image effect
    * Improved Vignette image effect

* Build System
    * Fixed CMake script for file extraction
    * Fixed build system for Visual Studio

v4.3.0
------

* Math
    * Improved Clock

* Core
    * New Job System for concurrency
    * Removed old task manager
    * New logging facilitites
    * Implemented BillboardComponent class

* Rendering
    * Improve render queues to sort objects based on type
    * Add compare functions to DepthState
    * Removed deprecated render passes
    * Promote raytracing-related code to a core module
    * Fixed viewport-related bug when beginning a frame

* iOS
    * Updated iOS project

v4.2.0
------

* Math
	* Return best match in intersection test
	* Implemented pow function in numeric
	* Implemented times function in Matrix and Vector to perform element-wise multipliciation
	* Added method in Ray class to compute interpolated point in ray
	* Fixed polynomial root solver bug
	* Added helper constants in Vector class for known vectors
    * Improved numerical methods
    * Fixed Quaternion SLERP interpolation
    * Allow transformations to be created form a 4x4 matrix

* Core
    * Implemented NonCopyable classes (replacing CRIMILD_DISALLOW_COPY_AND_ASSIGN macro)
    * Implemented simple low-overhead RTTI facilities
    * Improved SkinnedMesh animation
	* Implemented streaming for objects in a scene
	* Fixed concurrency problems with render queues.
	* Fixed cloning for skinned mesh
    * Fixed FileSystem base directory bug
	* Check if message dispatcher instances are valid before invoking them
	* Implemented ArcPrimitive
    * Save skinned mesh (if any) when updating render state for a scene
	* Avoid discarding groups on culling pass.
	* New particle system
	* Implemented progress callback for animations. Fixed time for animation reset

* Rendering
	* Implemented StandardRenderPass
    * Deprecated ForwardRenderPass
    * Deprecated BasicRenderPass
    * Implemented PostRenderPass for post-processing
    * Moved render passes to their own folder
	* Implemented ColorMaskState for occluders
    * Create and configure the screen buffer as early as possible
    * ForwardRenderPass will compute shadow maps in all platforms
    * Fixed shadow map shaders
    * Generate auxiliary FBOs on Renderer setup and store them in asset cache
	* Use GLEW from sources instead of as a submodule
	* Fixed directional lighting rendering issue
    * Improved debug render tools
    * (Experimental) Metal support on iOS/tvOS

* Simulation
    * Clear AssetManager when stopping a simulation
	* Improved deinitialization for simulation and subsystems
    * Implemented axis state in input facilities

* Scripting
    * Enable/Disable verbose logging for scripting from CMake
 	* Improved light support on lua scene builder
 	* Build new particle system from Lua script
    * Enhanced Lua builder to support physical entities

* Audio
	* No changes

* Physics
	* Fixed ground check for rigid bodies
	* Implemented function to detect ground collisions in rigid bodies
    * Implemented standard colliders for physical objects
    * Improved rigid body configuration for physical objects
    * Allowed to apply linear velocity to bodies during simulation

Testing:
    * Fixed existing tests
    * Implement new tests for streaming
    * Modified CMake scripts to include GTest cases

v4.1.0
------
* Core
 * Fixed aspect calculation for main camera
 * Added dump debug tool
 * Added cloning mechanism for bounding volumes

* Rendering
 * Added flag to textures in order to support different wrap modes
 * Avoid switching rendering states when the queues are empty
 * Wait for message to present next frame
 * Fixed bug in render queue reset
 * [iOS] Create frame buffer objects in with correct resolution
 * [iOS] trigger frame presentation after binding default FBO
 * [OpenGL] Improved frame buffer object catalog to support iOS
 * [OpenGL] Improved error logging
 * [OpenGL] Fix screen shaders to work on iOS
 * [OpenGL] Improved Image Effects to support iOS

* Simulation
 * Compute aspect ratio automatically for Main Camera
 * Allow custom configurations for TaskManager
 * Fixed integration error in Update system
 * Decreased accumulation threshold to at most 4 frames in update system
 * Clear AssetManager cache before loading a scene
 * Add tools for getting the documents directory
 * Make sure there is a main camera before starting components

* Scripting
 * Use RTTI for builders in Lua Scene Builder
 * Enable on-demand logging
 * Clone nodes in lua builder

* Audio
 * Enable OpenAL in iOS

* Infrastructure
 * Added CMake tool for easier app configuration
 * Added CMake tool for easier app configuration

v4.0.1
------
* Build System
 * Fixed Windows (MSYS) build
 * Fixed Android build
* Misc
 * Removed old COLLADA files

v4.0.0
------
* Foundation
 * Implemented small object allocator
 * Implement explicit ownership for objects
* Math
 * Improved random number generation
 * Renamed TransformationImpl to Transformation (and viceversa)
* Rendering
 * Move shader code to separated files (Ongoing)
 * Move Renderer object cache to AssetManager
 * Improve image effect processing while rendering frames
 * Handle S and D buffers in base RenderPass class
 * [OpenGL] Unify OpenGL renderers (Desktop and Mobile)
 * [OpenGL] Increase GL version to 4 for all desktop shaders
 * [OpenGL] Deprecate GLES code in favor of new renderer
 * [OpenGL] Implemented custom GLSL prefixes with macros for each platforms
 * [OpenGL] Fixed normals mapping artifacts in forward shaders
* Scene Graph
 * Improve text support and tools
 * Improved Text and Font classes to automatically use SDF fonts if avaiable
 * Add flag to Camera class to enable/disable culling (default: enabled)
 * Allow node retrieval from parents using names
 * Implemented shortcut for component retrieval from other components
* Simulation
 * Parallel architecture for simulation
 * Implemented simulation systems
 * Enforce frame synchronization with messages
 * Improved scene loading with streaming system
 * Removed simulation tasks in favor of systems
* Loaders
 * Improve OBJ loader
 * Fixed vertex tanget computation in OBJ loader
* Scripting
 * Lua scene builder
* Misc & Tools
 * Support MinGW in Windows
 * Improved platform detection and macros

repository: hhsaez/crimild

repo_name: hhsaez/crimild


text:
# Find-ProcessDLLHijack

## SYNOPSIS
Finds all DLL hijack locations for currently running processes.

Author: Will Schroeder (@harmj0y)
License: BSD 3-Clause
Required Dependencies: None

## SYNTAX

```
Find-ProcessDLLHijack [[-Name] <String[]>] [-ExcludeWindows] [-ExcludeProgramFiles] [-ExcludeOwned]
```

## DESCRIPTION
Enumerates all currently running processes with Get-Process (or accepts an
input process object from Get-Process) and enumerates the loaded modules for each.
All loaded module name exists outside of the process binary base path, as those
are DLL load-order hijack candidates.

## EXAMPLES

### -------------------------- EXAMPLE 1 --------------------------
```
Find-ProcessDLLHijack
```

Finds possible hijackable DLL locations for all processes.

### -------------------------- EXAMPLE 2 --------------------------
```
Get-Process VulnProcess | Find-ProcessDLLHijack
```

Finds possible hijackable DLL locations for the 'VulnProcess' processes.

### -------------------------- EXAMPLE 3 --------------------------
```
Find-ProcessDLLHijack -ExcludeWindows -ExcludeProgramFiles
```

Finds possible hijackable DLL locations not in C:\Windows\* and
not in C:\Program Files\* or C:\Program Files (x86)\*

### -------------------------- EXAMPLE 4 --------------------------
```
Find-ProcessDLLHijack -ExcludeOwned
```

Finds possible hijackable DLL location for processes not owned by the
current user.

## PARAMETERS

### -Name
The name of a process to enumerate for possible DLL path hijack opportunities.

```yaml
Type: String[]
Parameter Sets: (All)
Aliases: ProcessName

Required: False
Position: 1
Default value: $(Get-Process | Select-Object -Expand Name)
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
```

### -ExcludeWindows
Exclude paths from C:\Windows\* instead of just C:\Windows\System32\*

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ExcludeProgramFiles
Exclude paths from C:\Program Files\* and C:\Program Files (x86)\*

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -ExcludeOwned
Exclude processes the current user owns.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

## INPUTS

## OUTPUTS

### PowerUp.HijackableDLL.Process

## NOTES

## RELATED LINKS

[https://www.mandiant.com/blog/malware-persistence-windows-registry/](https://www.mandiant.com/blog/malware-persistence-windows-registry/)

repository: calebstewart/pwncat

branch_name: refs/heads/master

extension: md

gha_language: Python

gha_license_id: MIT

license_type: permissive

repo_name: calebstewart/pwncat


text:
#### [MarketBot](/MarketBot) > [commands](/MarketBot/commands) > [sell-orders](/MarketBot/commands/sell-orders)

---

## /sell-orders
##### Description
The /sell-orders command will fetch the cheapest sell orders for an item in a region. It will show the price, the location of the item and the amount of items for sale.

##### Note
The default region is The Forge and the default limit is 5. If you choose a limit higher than will fit in a single message, then the bot will only print the amount that will fit.

**This command will not show sell orders in citadels!**
##### Syntax
`/sell-orders <item-name> [/region <region-name>] [/limit <limit-number>]`

##### Aliases
* `/sell`
* `/so`
* `/s`

##### Examples
`/sell-orders vexor navy issue /region sinq laison /limit 10`
`/so skiff /region providence`
`/sell machariel /limit 7`
`/s 200mm railgun I`

##### Result
![Sell-orders command result](https://user-images.githubusercontent.com/3472373/32986152-991aa69c-cccb-11e7-8815-b2d1c4407b2a.png)

license: MIT

repository: staropera/MarketBot

repo_name: staropera/MarketBot


text:
# boost-histogram for Python

[![Actions Status][actions-badge]][actions-link]
[![Documentation Status][rtd-badge]][rtd-link]
[![Code style: black][black-badge]][black-link]

[![PyPI version][pypi-version]][pypi-link]
[![Conda-Forge][conda-badge]][conda-link]
[![PyPI platforms][pypi-platforms]][pypi-link]
[![DOI](https://zenodo.org/badge/148885351.svg)](https://zenodo.org/badge/latestdoi/148885351)

[![GitHub Discussion][github-discussions-badge]][github-discussions-link]
[![Gitter][gitter-badge]][gitter-link]
[![Scikit-HEP][sk-badge]](https://scikit-hep.org/)

Python bindings for [Boost::Histogram][] ([source][Boost::Histogram
source]), a C++14 library. This is one of the [fastest libraries][] for
histogramming, while still providing the power of a full histogram object. See
[what's new](./docs/CHANGELOG.md).

Other members of the boost-histogram family include:

* [Hist][]: The first-party analyst-friendly histogram library that extends
  boost-histogram with named axes, many new shortcuts including UHI+, plotting
  shortcuts, and more.
* [UHI][]: Specification for Histogram library interop, especially for plotting.
* [mplhep][]: Plotting extension for matplotlib with support for UHI histograms.
* [histoprint][]: Histogram display library for the command line with support for UHI.
* [dask-histogram][]: Dask support for boost-histogram.

[uhi]: https://uhi.readthedocs.io
[dask-histogram]: https://dask-histogram.readthedocs.io/en/stable/
[mplhep]: https://mplhep.readthedocs.io/en/latest/
[histoprint]: https://github.com/scikit-hep/histoprint

## Usage

![Slideshow of features. See expandable text below if the image is not readable.](https://github.com/scikit-hep/boost-histogram/raw/develop/docs/_images/banner.gif)

Text intro (click to expand)

```python
import boost_histogram as bh

# Compose axis however you like; this is a 2D histogram
hist = bh.Histogram(
    bh.axis.Regular(2, 0, 1),
    bh.axis.Regular(4, 0.0, 1.0),
)

# Filling can be done with arrays, one per dimension
hist.fill(
    [0.3, 0.5, 0.2],
    [0.1, 0.4, 0.9],
)

# NumPy array view into histogram counts, no overflow bins
values = hist.values()

# Make a new histogram with just the second axis, summing over the first, and
# rebinning the second into larger bins:
h2 = hist[::sum, ::bh.rebin(2)]
```

We support the [uhi][] [PlottableHistogram][] protocol, so boost-histogram/[Hist][]
histograms can be plotted via any compatible library, such as [mplhep][].

[uhi]: https://github.com/scikit-hep/uhi
[PlottableHistogram]: https://uhi.readthedocs.io/en/latest/plotting.html
[mplhep]: https://github.com/scikit-hep/mplhep

## Cheatsheet

Simplified list of features (click to expand)

* Many axis types (all support `metadata=...`)
    * `bh.axis.Regular(n, start, stop, ...)`: Make a regular axis. Options listed below.
        * `overflow=False`: Turn off overflow bin
        * `underflow=False`: Turn off underflow bin
        * `growth=True`: Turn on growing axis, bins added when out-of-range items added
        * `circular=True`: Turn on wrapping, so that out-of-range values wrap around into the axis
        * `transform=bh.axis.transform.Log`: Log spacing
        * `transform=bh.axis.transform.Sqrt`: Square root spacing
        * `transform=bh.axis.transform.Pow(v)`: Power spacing
        * See also the flexible [Function transform](https://boost-histogram.readthedocs.io/en/latest/usage/transforms.html)
    * `bh.axis.Integer(start, stop, *, underflow=True, overflow=True, growth=False, circular=False)`: Special high-speed version of `regular` for evenly spaced bins of width 1
    * `bh.axis.Variable([start, edge1, edge2, ..., stop], *, underflow=True, overflow=True, circular=False)`: Uneven bin spacing
    * `bh.axis.IntCategory([...], *, growth=False)`: Integer categories
    * `bh.axis.StrCategory([...], *, growth=False)`: String categories
    * `bh.axis.Boolean()`: A True/False axis
* Axis features:
    * `.index(value)`: The index at a point (or points) on the axis
    * `.value(index)`: The value for a fractional bin (or bins) in the axis
    * `.bin(i)`: The bin edges (continuous axis) or a bin value (discrete axis)
    * `.centers`: The N bin centers (if continuous)
    * `.edges`: The N+1 bin edges (if continuous)
    * `.extent`: The number of bins (including under/overflow)
    * `.metadata`: Anything a user wants to store
    * `.traits`: The options set on the axis
    * `.size`: The number of bins (not including under/overflow)
    * `.widths`: The N bin widths
* Many storage types
    * `bh.storage.Double()`: Doubles for weighted values (default)
    * `bh.storage.Int64()`: 64-bit unsigned integers
    * `bh.storage.Unlimited()`: Starts small, but can go up to unlimited precision ints or doubles.
    * `bh.storage.AtomicInt64()`: Threadsafe filling, experimental. Does not support growing axis in threads.
    * `bh.storage.Weight()`: Stores a weight and sum of weights squared.
    * `bh.storage.Mean()`: Accepts a sample and computes the mean of the samples (profile).
    * `bh.storage.WeightedMean()`: Accepts a sample and a weight. It computes the weighted mean of the samples.
* Accumulators
    * `bh.accumulator.Sum`: High accuracy sum (Neumaier) - used by the sum method when summing a numerical histogram
    * `bh.accumulator.WeightedSum`: Tracks a weighted sum and variance
    * `bh.accumulator.Mean`: Running count, mean, and variance (Welfords's incremental algorithm)
    * `bh.accumulator.WeightedMean`: Tracks a weighted sum, mean, and variance (West's incremental algorithm)
* Histogram operations
  * `h.ndim`: The number of dimensions
  * `h.size or len(h)`: The number of bins
  * `+`: Add two histograms (storages must match types currently)
  * `*=`: Multiply by a scaler (not all storages) (`hist * scalar` and `scalar * hist` supported too)
  * `/=`: Divide by a scaler (not all storages) (`hist / scalar` supported too)
  * `.kind`: Either `bh.Kind.COUNT` or `bh.Kind.MEAN`, depending on storage
  * `.storage_type`: Fetch the histogram storage type
  * `.sum(flow=False)`: The total count of all bins
  * `.project(ax1, ax2, ...)`: Project down to listed axis (numbers). Can also reorder axes.
  * `.to_numpy(flow=False, view=False)`: Convert to a NumPy style tuple (with or without under/overflow bins)
  * `.view(flow=False)`: Get a view on the bin contents (with or without under/overflow bins)
  * `.values(flow=False)`: Get a view on the values (counts or means, depending on storage)
  * `.variances(flow=False)`: Get the variances if available
  * `.counts(flow=False)`: Get the effective counts for all storage types
  * `.reset()`: Set counters to 0 (growing axis remain the same size)
  * `.empty(flow=False)`: Check to see if the histogram is empty (can check flow bins too if asked)
  * `.copy(deep=False)`: Make a copy of a histogram
  * `.axes`: Get the axes as a tuple-like (all properties of axes are available too)
      * `.axes[0]`: Get the 0th axis
      * `.axes.edges`: The lower values as a broadcasting-ready array
      * `.axes.centers`: The centers of the bins broadcasting-ready array
      * `.axes.widths`: The bin widths as a broadcasting-ready array
      * `.axes.metadata`: A tuple of the axes metadata
      * `.axes.size`: A tuple of the axes sizes (size without flow)
      * `.axes.extent`: A tuple of the axes extents (size with flow)
      * `.axes.bin(*args)`: Returns the bin edges as a tuple of pairs (continuous axis) or values (describe)
      * `.axes.index(*args)`: Returns the bin index at a value for each axis
      * `.axes.value(*args)`: Returns the bin value at an index for each axis
* Indexing - Supports [UHI Indexing](https://uhi.readthedocs.io/en/latest/indexing.html)
    * Bin content access / setting
        * `v = h[b]`: Access bin content by index number
        * `v = h[{0:b}]`: All actions can be represented by `axis:item` dictionary instead of by position (mostly useful for slicing)
    * Slicing to get histogram or set array of values
        * `h2 = h[a:b]`: Access a slice of a histogram, cut portions go to flow bins if present
        * `h2 = h[:, ...]`: Using `:` and `...` supported just like NumPy
        * `h2 = h[::sum]`: Third item in slice is the "action"
        * `h[...] = array`: Set the bin contents, either include or omit flow bins
    * Special accessors
        * `bh.loc(v)`: Supply value in axis coordinates instead of bin number
        * `bh.underflow`: The underflow bin (use empty beginning on slice for slicing instead)
        * `bh.overflow`: The overflow bin (use empty end on slice for slicing instead)
    * Special actions (third item in slice)
        * `sum`: Remove axes via projection; if limits are given, use those
        * `bh.rebin(n)`: Rebin an axis
* NumPy compatibility
    * `bh.numpy` provides faster [drop in replacements](https://boost-histogram.readthedocs.io/en/latest/usage/numpy.html) for NumPy histogram functions
    * Histograms follow the buffer interface, and provide `.view()`
    * Histograms can be converted to NumPy style output tuple with `.to_numpy()`
* Details
    * All objects support copy/deepcopy/pickle
    * Fully statically typed, tested with MyPy.

## Installation

You can install this library from [PyPI](https://pypi.org/project/boost-histogram/) with pip:

```bash
python3 -m pip install boost-histogram
```

All the normal best-practices for Python apply; Pip should not be very old (Pip
9 is very old), you should be in a virtual environment, etc. Python 3.7+ is
required; for older versions of Python (3.5 and 2.7), `0.13` will be installed
instead, which is API equivalent to 1.0, but will not be gaining new features.
1.3.x was the last series to support Python 3.6.

#### Binaries available:

The easiest way to get boost-histogram is to use a binary wheel, which happens
when you run the above command on a supported platform.  Wheels are produced using
[cibuildwheel](https://cibuildwheel.readthedocs.io/en/stable/); all common
platforms have wheels provided in boost-histogram:

| System | Arch | Python versions | PyPy versions |
|---------|-----|------------------|--------------|
| ManyLinux2014 | 64-bit | 3.7, 3.8, 3.9, 3.10, 3.11  | 3.7, 3.8, 3.9 |
| ManyLinux2014 | ARM64 | 3.7, 3.8, 3.9, 3.10, 3.11 | 3.7, 3.8, 3.9 |
| MuslLinux_1_1 | 64-bit | 3.7, 3.8, 3.9, 3.10, 3.11 | |
| macOS 10.9+ | 64-bit | 3.7, 3.8, 3.9, 3.10, 3.11 | 3.7, 3.8, 3.9 |
| macOS Universal2 | Arm64 | 3.8, 3.9, 3.10, 3.11 | |
| Windows | 32 & 64-bit | 3.7, 3.8, 3.9, 3.10, 3.11 | |
| Windows | 64-bit | | 3.7, 3.8, 3.9 |

* manylinux2014: Requires pip 19.3.
* ARM on Linux is supported. PowerPC or IBM-Z available on request.
* macOS Universal2 wheels for Apple Silicon and Intel provided for Python 3.8+ (requires Pip 21.0.1 or newer).

If you are on a Linux system that is not part of the "many" in manylinux or musl in musllinux, such as ClearLinux, building from source is usually fine, since the compilers on those systems are often quite new. It will just take longer to install when it is using the sdist instead of a wheel. All dependencies are header-only and included.

#### Conda-Forge

The boost-histogram package is available on [conda-forge](https://github.com/conda-forge/boost-histogram-feedstock), as well. All supported variants are available.

```bash
conda install -c conda-forge boost-histogram
```

#### Source builds

For a source build, for example from an "SDist" package, the only requirements are a C++14 compatible compiler. The compiler requirements are dictated by Boost.Histogram's C++ requirements: gcc >= 5.5, clang >= 3.8, or msvc >= 14.1. You should have a version of pip less than 2-3 years old (10+).

Boost is not required or needed (this only depends on included header-only dependencies). You can install directly from GitHub if you would like.

```bash
python -m pip install git+https://github.com/scikit-hep/boost-histogram.git@develop
```

## Developing

See [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on how to set up a development environment.

## Contributors

We would like to acknowledge the contributors that made this project possible ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.

## Talks and other documentation/tutorial sources

The [official documentation is here](https://boost-histogram.readthedocs.io/en/latest/index.html), and includes a [quickstart](https://boost-histogram.readthedocs.io/en/latest/usage/quickstart.html).

* [2019-4-15 IRIS-HEP Topical meeting](https://indico.cern.ch/event/803122/)
* [2019-10-17 PyHEP Histogram session](https://indico.cern.ch/event/833895/contributions/3577833/) - [repo with talks and workbook](https://github.com/henryiii/pres-bhandhist)
* [2019-11-7 CHEP](https://indico.cern.ch/event/773049/contributions/3473265/)
* [2020-07-07 SciPy](https://www.youtube.com/watch?v=ERraTfHkPd0&list=PLYx7XA2nY5GfY4WWJjG5cQZDc7DIUmn6Z&index=4)
* [2020-07-17 PyHEP](https://indico.cern.ch/event/882824/contributions/3931299/)

---

## Acknowledgements

This library was primarily developed by Henry Schreiner and Hans Dembinski.

Support for this work was provided by the National Science Foundation cooperative agreement OAC-1836650 (IRIS-HEP) and OAC-1450377 (DIANA/HEP). Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.

[actions-badge]:            https://github.com/scikit-hep/boost-histogram/workflows/Tests/badge.svg
[actions-link]:             https://github.com/scikit-hep/boost-histogram/actions
[black-badge]:              https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]:               https://github.com/psf/black
[conda-badge]:              https://img.shields.io/conda/vn/conda-forge/boost-histogram
[conda-link]:               https://github.com/conda-forge/boost-histogram-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]:  https://github.com/scikit-hep/boost-histogram/discussions
[gitter-badge]:             https://badges.gitter.im/HSF/PyHEP-histogramming.svg
[gitter-link]:              https://gitter.im/HSF/PyHEP-histogramming?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[pypi-link]:                https://pypi.org/project/boost-histogram/
[pypi-platforms]:           https://img.shields.io/pypi/pyversions/boost-histogram
[pypi-version]:             https://badge.fury.io/py/boost-histogram.svg
[rtd-badge]:                https://readthedocs.org/projects/boost-histogram/badge/?version=latest
[rtd-link]:                 https://boost-histogram.readthedocs.io/en/latest/?badge=latest
[sk-badge]:                 https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg

[Boost::Histogram]:         https://www.boost.org/doc/libs/release/libs/histogram/doc/html/index.html
[Boost::Histogram source]:  https://github.com/boostorg/histogram
[Hist]:                     https://github.com/scikit-hep/hist
[fastest libraries]:        https://iscinumpy.gitlab.io/post/histogram-speeds-in-python/

repository: scikit-hep/boost-histogram

branch_name: refs/heads/develop

gha_language: Jupyter Notebook

repo_name: scikit-hep/boost-histogram


text:
---
layout: post
title: 'Rails 4.2.9.rc1 has been released!'
categories: releases
author: rafaelfranca
published: true
date: 2017-06-13 14:57:28 -04:00
---

Hi everyone,

I am happy to announce that Rails 4.2.9.rc1 has been released.

This is going to be the last bug fix release of the 4.2 series, so please test this release candidate.

If no regressions are found, expect the final release on Monday, June 19, 2017.
If you find one, please open an [issue on GitHub](https://github.com/rails/rails/issues/new)
and mention me (@rafaelfranca) on it, so that we can fix it before the final release.

## CHANGES since 4.2.8

To view the changes for each gem, please read the changelogs on GitHub:

* [Action Mailer CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/actionmailer/CHANGELOG.md)
* [Action Pack CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/actionpack/CHANGELOG.md)
* [Action View CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/actionview/CHANGELOG.md)
* [Active Job CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/activejob/CHANGELOG.md)
* [Active Model CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/activemodel/CHANGELOG.md)
* [Active Record CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/activerecord/CHANGELOG.md)
* [Active Support CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/activesupport/CHANGELOG.md)
* [Railties CHANGELOG](https://github.com/rails/rails/blob/v4.2.9.rc1/railties/CHANGELOG.md)

*Full listing*

To see the full list of changes, [check out all the commits on
GitHub](https://github.com/rails/rails/compare/v4.2.8...v4.2.9.rc1).

## SHA-256

If you'd like to verify that your gem is the same as the one I've uploaded,
please use these SHA-256 hashes.

Here are the checksums for 4.2.9.rc1:

```
$ shasum -a 256 *-4.2.9.rc1.gem
f989619bd008bb131ac51c9523a67cf07b04fd02ccbb6a4c862a7e91399abf29  actionmailer-4.2.9.rc1.gem
ce36a4c32d738bdf0f225c427ed7e31c2e681004fa827f7bbe0c4bd05fb6b264  actionpack-4.2.9.rc1.gem
e815d4d9ee866145cf9ae78716fed8453a12eace055f4fbd80ae7f4b74e08d27  actionview-4.2.9.rc1.gem
b03d68ecc055160bc903055649bb47b57de09b68749bd6e40e2e4378cd9a3ce7  activejob-4.2.9.rc1.gem
734e28fff15f3319be32b6e3cba40519e7c730c88ba49f0b334eb1d63f32c872  activemodel-4.2.9.rc1.gem
a2f25b8132cca325bf855d7e45c809a122282d8e65f3d6580e40da624c71996a  activerecord-4.2.9.rc1.gem
7b3b69479110a64f50ac53681f076b5ec21a073b1120c9d7ab201eec0af09d12  activesupport-4.2.9.rc1.gem
c7de4f0e62498acf407928a5f147a9e297a63e900882f627489e91b033026b69  rails-4.2.9.rc1.gem
425e43203b35fa28dd9708848c4aaa11706c53fcd75819228a92e6893653f8da  railties-4.2.9.rc1.gem

```

As always, huge thanks to the many contributors who helped with this release.

repository: rails/weblog

branch_name: refs/heads/gh-pages

extension: markdown

gha_language: HTML

repo_name: rails/weblog


text:
UWMNow
------
UWMNow is a system for UWM students to have a class discussion and see what is happening at UWM at a glance.

To make the development convenient, we use SQLite but you can use almost any other relational database as UWMNow uses ORM and you can easily change the dialect.

To run the system, make sure you installed [nodejs](https://nodejs.org/) and [SQLite](http://www.tutorialspoint.com/sqlite/sqlite_installation.htm)

And then follow these commands in terminal:

    npm install
    node server.js


text:
aerodrome
=======

Nodecopter control abstractions for your apocalyptic robot air force.

```javascript
var aerodrome = require('aerodrome');
var drone = new aerodrome.Drone();

drone.takeoff()
	.then(drone.moveToAltitude(3.0))
	.then(drone.turnToHeading(90))
	.then(drone.move(2000, 0.5))
	.then(drone.land());
```

This module wraps [node-ar-drone](https://github.com/felixge/node-ar-drone) with some higher-level control abstractions and a Promises API. The promises library used is [when.js](https://github.com/cujojs/when), which is [Promises/A+ spec](http://promises-aplus.github.io/promises-spec/) compliant, so you may proceed with confidence in your plans for aerial domination and the destruction of all nodebots.

__Current version:__ not yet released
__TravisCI status:__ TBD

## The plan

Promises for anything that takes a callback in the ar-drone client library.

The client is available as `drone.client` in case you need to do something directly with the ar-drone API.

Events/streams for repeating events (still images, video, nav data you've asked to subscribe to).

Loggable events emitted as `log` events for listeners to log in whatever manner they choose.

Control primitives:

* heading/1
* altitude/setAltitude
* battery level / emitted warnings on battery level
* move (speed, time)
* position/setPosition (relative to starting point) ?
* animations, somehow

PNG/video:

* stream images to files
* stream video to a file
* give me the last image snapped

State:

* available as properties of the drone object
* altitude / heading
* current speed forward/back

## What's working

Basic takeoff & landing. Timed movement.

## What's not working

Everything else.

## Drone API

Docs TBD.

### new areogel.Drone(*name*)

Create a new drone object. The `name` parameter is used in log events and in file names for saved images & videos.

### drone.client

The underlying ar-drone client object is available in `drone.client` if you need more direct access.

### drone.takeoff()

Returns a promise that resolves when the takeoff is complete & the drone has settled.

### drone.land()

Resolves when the drone lands.

### drone.turnToHeading(*degrees*)

Resolves to the current heading when the drone reaches the desired heading. The heading is expressed as a float from -180 to 180. Negative numbers are a counterclockwise movement. Positive numbers are clockwise.

### drone.moveToAltitude(*meters*)

Resolves to the current altitude when the drone reaches the desired altitude. The altitude is a floating point number.

### drone.savePNGStream(*count*, *dir*)

Save the next `count` pngs captured by the drone into the directory specified by `dir`. Images are named `<drone-name>_<counter>.png`.

## Testing

Possible sans drone?

## Contributions

Allman bracing, tabs to indent, camel case. Write tests in Mocha. [mocha-as-promised](https://github.com/domenic/mocha-as-promised) and [chai-as-promised](https://github.com/domenic/chai-as-promised/) are available.

## License

MIT.

repository: ceejbot/aerodrome

repo_name: ceejbot/aerodrome


text:
# devsecops 101 and current trends

1. understanding the concept of [extreme programming and devops](https://blog.yourlabs.org/posts/2020-02-08-bigsudo-extreme-devops-hacking-operations/ .
  )( Ci + CD + testing + code formatting / reviewing in real time)

## Cyber threat intelligence :
1. MISP : getting the collaboration information sharing  for malware analysis and threat intelligence . check its compatiblity and diffrence with the TAXII and other protocols .

## patch deployment and devops

1. the automated patching management system on the scales of thousands of servers ( like oracle autonomous linux service) is a great start to really check the  Linux admin stuff and the principles of site reliablity engineering so as to work on the automating the patch management and also checking the file systems  by the automation of the file reverse engineering .


text:
# hplot

This repository holds examples related to displaying data with `hplot`.

## ex-00-hist

`ex-00-hist` generates random data and plots the histogram of that data, in both PDF and PNG forms.

![ex-00-hist](https://github.com/go-hep/examples/raw/master/hplot/testdata/ex-00-hist.png)

```
$> go run ./ex-00-hist.go
```

repository: go-hep/examples

gha_language: Go

repo_name: go-hep/examples


text:
# Predictive control simulator

Simulator for predictive control system using python.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install package/dependencies.

```bash
pip install -r requirements.txt
```

## Usage

```
python main.py

or

python3 main.py
```

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)

repository: wanggor/predictive-control

branch_name: refs/heads/main

repo_name: wanggor/predictive-control


text:
---
title: "SLCN MICCAI Challenge"
layout: textlay
excerpt: "SLCN MICCAI 2023 Challenge"
sitemap: false
permalink: /slcn_data_access/
---

<button  onclick="window.location.href='https://metrics-lab.github.io/slcn/';">SLCN</button> <button  onclick="window.location.href='https://metrics-lab.github.io/slcn_data_access/';">**Data Access**</button> <button onclick="window.location.href='
https://metrics-lab.github.io/slcn_data_description/';">Data Description</button>  <button onclick="window.location.href='https://metrics-lab.github.io/slcn_cortical_surface_tools/';">Cortical Surface Tools</button>  <button onclick="window.location.href='https://metrics-lab.github.io/slcn_repositories/';">Repositories</button>  <button onclick="window.location.href='https://metrics-lab.github.io/slcn_timeline/';">Timeline</button> <button onclick="window.location.href='https://metrics-lab.github.io/slcn_submission/';">Submission</button> <button onclick="window.location.href='https://metrics-lab.github.io/slcn_evaluation/';">Evaluation</button> <button onclick="window.location.href='https://metrics-lab.github.io/slcn_prizes/';">Prizes</button> <button onclick="window.location.href='https://metrics-lab.github.io/slcn_organisers/';">Organisers</button> <button onclick="window.location.href='https://metrics-lab.github.io/slcn_references/';">References</button>

## Data Access
### Step One:
Requests for access must be manually approved by the challenge organising committee.  Participants must provide evidence that they have signed the [dHCP data access agreement](http://www.developingconnectome.org/data-release/second-data-release/open-access-dhcp-data-terms-of-use-%20version-4-0_2019-05-23/), which can be electronically signed by [registering here](https://data.developingconnectome.org/app/template/Login.vm) (you should arrive at the page shown below).  After signing, you will receive a confirmation email.

### Step Two:
Participants will need to create an account on [GIN](https://gin.g-node.org), as this is where the data are hosted.

### Step Three:
Please forward the confirmation email (from step one) and your GIN username to<EMAIL_ADDRESS>and one of the committee members will approve your request.

Once you have been approuved, you will be able to access the data:


text:
---
author: gene
title: Fixing Vagrant's box index
date: 2019-11-14 10:36 -0500
---
I use Vagrant a lot and sometimes things on my laptop get moved around or deleted by means other than `vagrant destroy`. The problem with this is that when I later run `vagrant global-status` it will show me things that don't actually exist anymore. Today I finally got tired of this and figured out how to fix it with minimal pain.

## First things first

Vagrant has added a utility that I just noticed today for cleaning up entries in the global-status... try using it first like so:

```bash
╔ ☕  gene:~
╚ᐅ vagrant global-status --prune
```

If that doesn't work for whatever reason then the rest of this post is for you.

## Tools

I am going to use two tools to make this relatively easy and both are available via Homebrew:

- [jq](https://stedolan.github.io/jq/) via `brew install jq`
- sponge from [moreutils](https://joeyh.name/code/moreutils/) via `brew install moreutils`

## The Fix

First, run `vagrant global-status` and identify the entry that you want to get rid of. You should get something kinda like this:

```bash
╔ ☕  gene:~
╚ᐅ vagrant global-status
id       name    provider   state    directory
----------------------------------------------------------------------------------
4fa597c  default virtualbox poweroff /Users/gene/Downloads/drone-testing
fce1b1f  default virtualbox poweroff /Users/gene/Downloads/kubebag
```

Let's assume the second entry is the one I want to get rid of and that none of the methods built into Vagrant for cleaning things up work.

The first step is to get the full-length id:

```bash
╔ ☕  gene:~
╚ᐅ jq . .vagrant.d/data/machine-index/index |grep fce1b1f
    "fce1b1f8f6fd496a8b5dfe4e4a237380": {
```

With that id in hand we can actually do the cleanup:

```bash
╔ ☕  gene:~
╚ᐅ cp .vagrant.d/data/machine-index/index Downloads/backup-of-vagrant-index.json

╔ ☕  gene:~
╚ᐅ jq -c 'walk(if type == "object" and has("fce1b1f8f6fd496a8b5dfe4e4a237380") then del(.fce1b1f8f6fd496a8b5dfe4e4a237380) else . end)' .vagrant.d/data/machine-index/index |sponge .vagrant.d/data/machine-index/index
```

The above commands will make a backup of your current config just in case something goes wrong and then removed the offending entry from the index. You can verify that everything is the way you want it after that by again running `vagrant global-status`.

repository: genebean/jekyll-beanbag

repo_name: genebean/jekyll-beanbag


text:
# Commands

To make your life a little easier we created some commands that you can use for encrypting and decrypting your current database.

## 1) Get status

You can use the comment `doctrine:encrypt:status` to get the current database and encryption information.

```
$ php app/console doctrine:encrypt:status
```

This command will return the amount of entities and the amount of properties with the @Encrypted tag for each entity.
The result will look like this:

```
DoctrineEncrypt\Entity\User has 3 properties which are encrypted.
DoctrineEncrypt\Entity\UserDetail has 13 properties which are encrypted.

2 entities found which are containing 16 encrypted properties.
```

## 2) Encrypt current database

You can use the comment `doctrine:encrypt:database [encryptor]` to encrypt the current database.

* Optional parameter [encryptor]
    * An encryptor provided by the bundle (AES-256 or AES-128) or your own [encryption class](https://github.com/ambta/DoctrineEncryptBundle/blob/master/Resources/doc/custom_encryptor.md).
    * Default: Your encryptor set in the configuration file or the default encryption class when not set in the configuration file

```
$ php app/console doctrine:encrypt:database
```

or you can provide an encryptor (optional).

```
$ php app/console doctrine:encrypt:database AES-256
```

```
$ php app/console doctrine:encrypt:database \Ambta\DoctrineEncryptBundle\Encryptors\AES256Encryptor
```

This command will return the amount of values encrypted in the database.

```
Encryption finished values encrypted: 203 values.
```

## 3) Decrypt current database

You can use the comment `doctrine:decrypt:database [encryptor]` to decrypt the current database.

* Optional parameter [encryptor]
    * An encryptor provided by the bundle (AES-256 or AES-128) or your own [encryption class](https://github.com/ambta/DoctrineEncryptBundle/blob/master/Resources/doc/custom_encryptor.md).
    * Default: Your encryptor set in the configuration file or the default encryption class when not set in the configuration file

```
$ php app/console doctrine:encrypt:database
```

or you can provide an encryptor (optional).

```
$ php app/console doctrine:decrypt:database AES-256
```

```
$ php app/console doctrine:decrypt:database \Ambta\DoctrineEncryptBundle\Encryptors\AES256Encryptor
```

This command will return the amount of entities and the amount of values decrypted in the database.

```
Decryption finished entities found: 26, decrypted 195 values.
```

## Custom encryption class

You may want to use your own encryption class learn how here:

#### [Custom encryption class](https://github.com/ambta/DoctrineEncryptBundle/blob/master/Resources/doc/custom_encryptor.md)

repository: ambta/DoctrineEncryptBundle

gha_language: PHP

repo_name: ambta/DoctrineEncryptBundle


text:
# hipbot-plugins

[![Build Status](https://travis-ci.org/netguru/hipbot-plugins.png?branch=master)](https://travis-ci.org/netguru/hipbot-plugins)
[![Code Climate](https://codeclimate.com/github/netguru/hipbot-plugins.png)](https://codeclimate.com/github/netguru/hipbot-plugins)
[![Gem Version](https://badge.fury.io/rb/hipbot-plugins.png)](http://badge.fury.io/rb/hipbot-plugins)

This is a collection of open-source plugins for [Hipbot](https://github.com/pewniak747/hipbot), initially developped at [Netguru](http://netguru.co).

## Installation

Add this line to your hipbot's Gemfile:

    gem 'hipbot-plugins'

And then execute:

    $ bundle

## Usage

To include all plugins, put this in your `bot.rb` file:

```ruby
require 'hipbot'
require 'hipbot-plugins'
```
or include them selectively:
```ruby
require 'hipbot'
require 'hipbot-plugins/human'
require 'hipbot-plugins/ascii'
require 'hipbot-plugins/dictionary'
require 'hipbot-plugins/excuses'
require 'hipbot-plugins/github'
require 'hipbot-plugins/google'
require 'hipbot-plugins/help'
require 'hipbot-plugins/human'
require 'hipbot-plugins/meme_generator'
require 'hipbot-plugins/numbers_api'
require 'hipbot-plugins/rapportive'
require 'hipbot-plugins/wolfram_alpha'
```

## Plugins

### Hipbot::Plugins::Human

By including this plugin, hipbot gains human traits!

```ruby
# Cleverbot
gem 'cleverbot', github: 'bartoszkopinski/cleverbot', branch: 'master'
```

Hipbot responds to:

  - `hello`
  - `open the pod bay door`
  - `make me a sandwich`
  - `slap @someone`
  - `choose`
  - `comfort me`
  - everything else with AI simulation from Cleverbot

### Hipbot::Plugins::Google

Adds various responses for searching the Interwebs

Hipbot responds to:

  - `google something I want to know`
  - `image something I want to see`
  - `youtube something I want to watch`
  - `something vs somethingelse vs someoranother vs ...`
  - `translate en:pl something I want to translate`

### Hipbot::Plugins::Github

Can generate links to github

Hipbot responds to:

  - `github some_method_i_want_to_search_in_my_organization`
  - `compare master to production`

(For this to work you need to define `project` and `organization` methods as a response helpers: https://github.com/pewniak747/hipbot#response-helpers)

### Hipbot::Plugins::MemeGenerator

Create instant memes using memecaptain.com!

Hipbot responds to:

  - `memes`
  - `meme allthethings "create all" "the memes!"`

### Hipbot::Plugins::Dictionary

Explains reality using http://urbandictionary.com and http://dictionary.reference.com/

```ruby
# Dictionary
gem 'dictionary-rb'
```

Hipbot responds to:

  - `explain the meaning of life, the universe and everything`

### Hipbot::Plugins::WolframAlpha

Adds the ability to use wolframalpha.com computational search engine. You need to register for api key.

```ruby
# Wolfram Alpha
gem 'wolfram', '~> 0.2.1'
```

``` ruby
class MyCompanyBot < Hipbot::Bot
  configure do |c|
    # ...
    Hipbot::Plugins::WolframAlpha.configure do |c|
      c.appid = 'my-api-key'
    end
  end
end
```

Hipbot responds to:

  - `wolfram plot x^2 + 3x - 1`

### Hipbot::Plugins::NumbersAPI

Provides random number factoids from [NumbersAPI](http://numbersapi.com)

Hipbot responds to:

  - `trivia`
  - `trivia math`
  - `trivia date`
  - `trivia year`
  - `trivia 42`
  - `trivia math 42`
  - `trivia date 12 31`
  - `trivia year 42`

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

repository: telekomatrix/hipbot-plugins

repo_name: telekomatrix/hipbot-plugins


text:
Set the Dynamixel’s Secondary ID. Secondary ID(12) is a value to identify each Dynamixel, just like the ID(7).
However, unlike ID(7), Secondary ID(12) is not a unique value.
Therefore, Dynamixels with the same Secondary ID value form a group.
The differences between Secondary ID(12) and ID(7) are as follows :
1. Secondary ID(12) is not a unique value. i.e., a lot of Dynamixels may have the same Secondary ID value.
2. ID(7) has a higher priority than Secondary ID(12). i.e., if Secondary ID(12) and ID(7) are the same, ID(7) will be applied first.
3. The EEPROM area of the Control Table cannot be modified with Secondary ID(12). Only the RAM area can be modified.
4. If Instruction Packet ID is the same as Secondary ID(12), the Status Packet will not be returned.
5. If the value of Secondary ID(12) is 253 or higher, the Secondary ID function is deactivated.

|Values|Description|
| :---: | :---: |
|0 ~ 252|Activate Secondary ID function|
|253 ~ 255|Deactivate Secondary ID function, Default value ‘255’|

The following are examples of operation when there are five Dynamixels with ID (7) set from 1 to 5.
1. Set all five Dynamixels' Secondary ID(12) to '5'.
2. Send Write Instruction Packet(ID = 1, LED(65) = 1).
3. Turn on LED of Dynamixel with ID '1' and return the Status Packet.
4. Send Write Instruction Packet(ID = 5, LED(65) = 1).
5. Turn on LED on five Dynamixels. However, Status Packet of Dynamixel with ID ‘5’ will be returned.
6. Set the Secondary ID(12) of all five Dynamixels to ‘100’.
7. Send Write Instruction Packet(ID = 100, LED(65) = 0).
8. Turn off LED on five Dynamixels. However, as there is no Dynamixel with ID ‘100’, Status Packet is not returned.

repository: imawais/emanual

repo_name: imawais/emanual


text:
# E-Commerce Tandem Project

_This project is an electronic commerce for a Business called The Tandem Enterprise, it's about selling canary products..._

## Starting 🚀

_For this project you need Ionic/Angular, Node js and finally a mysql server working._

## Index
* [1. Data Model](#idModel)

* [2. User Requirements](#idRequirements)

* [3. Use cases](#idUseCase)

* [4. Interfaces](#idInterfaces)

* [5. Usability](#idUsability)

* [6. Manuals](#idManual)

* [7. Technology Stack](#idTechStack)

* [8. Technological comparison](#idCompareTech)

* [9. Repositories](#idRepositories)

* [10. Planning](#idPlanification)

* [11. Conclusions](#idConclusion)

* [12. Links and references](#idReferences)

---

# Data Model 📊

_On this section I will explain about the Database_

### Entities ✨
* User: This user have an id(pk) then have a name, last name, email and password.

* Address: This address have an id(pk) then have a street, number, zipCode, location, province, country.

* Order: This order have an id(pk) then have a date, total and status.

* Products: This products have and id(pk) then have a name, description, price, taxRate, image, category, availability.

---

### Relationships 🔌

* A user have a lot of orders but an order have only one user

* An order contains a lot of products and products have a lot of orders

* A user have only one address but an addres have a lot of users

_Now I'll show you the E/R diagram and the Relational Model_

## E/R DIAGRAM

## Relational Model

Here are the tables with the E/R to Relational

* Address: ( id(pk), street, number, zipCode, location, province, country )

* User:  ( id(pk), name, lastName, email, password, isAdmin, timestamp, id_address(fk) )

* Order Product: ( id_product(fk), id_user(fk), timestamp )

* Orders: ( id(pk), date, total, status, timestamp, id_user(fk) )

* Products: ( id(pk), name, description, price, taxRate, image, category, availability
)

## User Requirement  👤
    Web Aplication

    If you are a guest, you will see the catalogue, home,
    contact page and you can log-in and register also
    you can see your side-meno by your role "guest"

    If you are a user, you will see the catalogue and you can add products and buy it, you can go to

    your profile and there you can add address, edit update(not recommended yet) and log out, you can
    go to contact page, and see your side-menu by your role "user"

    If you are an admin, you will see the same features like user but you can add, edit and
    delete products and finally you can edit and remove the tracing of users

---

## Use case 📜

---

## Interface 💻

First, I will show you a summary about the mockup, then you can go to see it by yourself here ->
Link to E-commerce Tandem mockup

###  Main View

_This gonna be the main view where you can use three buttons, one to go to the catalogue then one to log-in or log-out and finally one to go to the contact page_

_This is the catalogue page, here if you are guest, you can't go to profile and add to cart/payment but if you are a user you can do it_

_Here is the cart list, here you cand checkout your order and will send the order to the backend_

If you want to see more, go to mockup

---

## Usability  📝

* _Useful: that it is capable of fulfilling the specific tasks for which it has been designed. Example (Being an admin you can do a lot of features)_

* _Easy to use: it must be efficient, fast and with as few errors as possible.
Comfortable to use. You can understand easily the menus and the app._

* _Easy to learn: no excessive time is needed to learn how to work with the application and it is easy to remember how it works.
Easy to understand_

* _Elegant in its design: to favour the user's perception and emotions._

* _It is efficient: It measures the effort to achieve an objective._

* _The user must be able to initiate actions and control tasks_

* _The user must be able to customize the interface, the use can change the theme between light and dark_

* _The user must be able to access all the content, here you have 3 roles: guest, user, admin and you can access to the content_

* _Error recovery
Minimise the risk of accidental actions (e.g. typing an email to ensure that the @ is present, putting a surname to ensure that it is not left blank)
Enabling stock reversal and recovery
Take into account potential user errors._

* _Simplicity of design
No overloading the interface with unnecessary elements
The information in the interface will be the minimum essential
The interface will be SIMPLE and easy to learn and remember_

* _Feedback
Appropriate response to user actions_

* _Colour. Colour should be considered as an additional tool in design, not a basic need. A limited set of colours is recommended, with subtle, complementary, muted colours being most appropriate in the design of business and academic interfaces._

* _Form-type window layout. The visual location of the components is important because the relationship between the components is indicated by their position. A clean layout is crucial to create a smooth visual flow of information for the user._

* _Consistency. Whenever possible, the interface should be consistent. This implies that similar operations will have to be activated in the same way. Furthermore, ergonomics should be taken into account through menus, action bars and icons that are easy to access and identify._

* _Recallability. The interface must include mechanisms to allow users to recover from errors. Example (you as admin can edit the tracking of the user's order, you can cancel and recover from errors_

---

## Installation Manual 🔧

    Before start the app, you should know that you need Ionic/Angular, Node js and mysql server.

### Install node js

_*You need to download and install [node js](http://www.dropwizard.io/1.0.2/docs/)*_

You can check your version with: npm -v or npm version

Then, you need to git clone the repository:

_https://github.com/GonzaloSS/E-Commerce-project.git_

To clone the repository:

*git clone https://github.com/GonzaloSS/E-Commerce-project.git*

When you have the folder, go to E-commerce-project/E-commerceIonicNode/backend and on the terminal put npm install

*Do it too with E-commerce-project/E-commerceIonicNode/frontend*

You need to execute de SQL Script give it on the folder SQL

_Now it's time to deploy it_

### Deploy 📦

If you only want to see the API Back-END, import into POSTMAN the file API E-CommerceProject.postman_collection into the folder API POSTMAN

First, in the back end you need to edit db.config.js

_Where DB go database and where PASSWORD go your root password_

_To deploy the backend you need to put in the terminal npm start and to deploy the front end you need to put in the terminal ionic serve_

---

## TECHNOLOGY STACK 👨💻

_This project have a stack like MEAN but for this time isn't mongoose it's mysql and it's not only angular is Ionic/Angular_

MySQL
* MySQL is a relational database management system based on SQL – Structured Query Language. ...

Express

*   Express, is a back end web application framework for Node. js, released as free and open-source software under the MIT License.

Node

* Node. js is primarily used for non-blocking, event-driven servers, due to its single-threaded nature. It's used for traditional web sites and back-end API services

Ionic/Angular

* Ionic Framework is an open source UI toolkit for building performant, high-quality mobile and desktop apps using web technologies — HTML, CSS, and JavaScript — with integrations for popular frameworks like Angular, React, and Vue.
---

## TECHNOLOGICAL COMPARISON  ⚙

IONIC, EXPRESS, NODE JS, MYSQL(IENM):

PROS OF IENM:

* Allows for rapid prototyping

* Hybrid mobile

* It's angularjs

* Free

* It's javascript, html, and css

* Ui and theming

* Great designs

* Mv* pattern

* Reuse frontend devs on mobile

*Extensibility

PROS OF MEAN

* Javascript

* Easy

* Nosql

* Great community

* Mongoose

* Modularity

* Open source

* Organized

* Simple

* Boilerplate

---

## Repository 👨💻

[GonzaloSS](https://github.com/GonzaloSS/E-Commerce-project)

---

## Planning 📅

[Go to planning](https://github.com/users/GonzaloSS/projects/1)

---

## Conclusion  💬

    In my conclusion was a hard weeks to made this possible but I reached big goals settings by my
    self so I'm very proud of my self, this ecommerce was good to start programming a full
    stack project so I'm very happy with this project.
---

## Built With 🛠

_For this project I use Ionic, Node js and MySQL_

* [Ionic](ionicframework.com) - Ionic is a complete open-source SDK for hybrid mobile app development created by Max Lynch, Ben Sperry, and Adam Bradley of Drifty Co. in 2013. The original version was released in 2013 and built on top of AngularJS and Apache Cordova. However, the latest release was re-built as a set of Web Components, allowing the user to choose any user interface framework, such as Angular, React or Vue.js.

* [Node.js](https://nodejs.org/es/) - Node.js is an open-source, cross-platform, back-end, JavaScript runtime environment that executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser.

* [MySQL](https://www.mysql.com) - MySQL is an open-source relational database management system (RDBMS). Its name is a combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language. A relational database organizes data into one or more data tables in which data types may be related to each other; these relations help structure the data. SQL is a language programmers use to create, modify and extract data from the relational database, as well as control user access to the database.

---

## Author ✒

* **Juan Gonzalo Santana Santana** - *Author* - [GonzaloSS](https://github.com/GonzaloSS)

## Acknowledgment 🎁

* Thanks to The Tandem Enterprise for give us a chance to make this project and work together!! 📢

* Hope you enjoyed this and lot of thanks!! 🤓.

---

repository: GonzaloSS/E-Commerce-project

gha_language: JavaScript

repo_name: GonzaloSS/E-Commerce-project


text:
# Engine Testing

# Getting started

## Prerequisites

Before continuing, make sure that you have these tools installed:

    Node.js >= 8.4.0
    Qlik Enterprise
    Qlik Desktop / Core

# Install

## source

1. Clone the Github Repo into extension directory
2. Install [nodejs](https://nodejs.org/)
3. Open Node.js command prompt
4. npm install
5. create virtual Proxy in qmc with following settings:

![virtualProxy](https://github.com/q2g/engine-test/raw/master/src/ApplyAlternateStates/docs/screenShot_1.PNG)

certificate is in the root folder of project, copy full certificate into virtual proxy settings

6. create config.json / copy config.json.example in src folder and edit
7. npm run start


text:
---
layout: default
---

# 1996-03-12 - [NOISE] Re: Do you feel lucky, punk?

## Header Data

From: Bill Stewart<EMAIL_ADDRESS>To: jim bell<EMAIL_ADDRESS>Message Hash: 0a65d08b9bd0e3a79f4649ea3d25115d83d24f77e8e772da3314264b53cdb589

Message ID<EMAIL_ADDRESS>Reply To: _N/A_

UTC Datetime: 1996-03-12 01:32:13 UTC

Raw Date: Tue, 12 Mar 1996 09:32:13 +0800

## Raw message

```
{% raw  %}From: Bill Stewart<EMAIL_ADDRESS>Date: Tue, 12 Mar 1996 09:32:13 +0800
To: jim bell<EMAIL_ADDRESS>Subject: [NOISE] Re: Do you feel lucky, punk?
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/plain

>In fact, I would argue that a remailer operator will actually be considered
>MORE responsible, legally, than Mrs. Bennis:

On the contrary, the government would have far _less_ ability to forfeit
the property of a remailer-operator for the activities of a non-owning abuser
than they do to seize Mrs. Bennis's car, because the misuser, Mr. Bennis,
was also its owner.

On the other hand, I'd say that a remailer used for assassination politics
is _far_ more likely to be seized, warranted, subpoenaed, and otherwise harassed
that one merely used for unencrypted dirty pictures or encrypted dirty money....
#--
#			Thanks;  Bill
# Bill Stewart<EMAIL_ADDRESS>+1-415-442-2215 pager<PHONE_NUMBER>
# "At year's end, however, new government limits on Internet access threatened
# to halt the growth of Internet use.  [...] Government control of news media
# generally continues to depend on self-censorship to regulate political and
# social content, but the authorities also consistently penalize those who
# exceed the permissable."  - US government statement on China...

{% endraw %}
```

## Thread

+ Return to [March 1996](/archive/1996/03)

+ Return to "[Bill Stewart <stewarts@ix.netcom.com>](/authors/bill_stewart_stewarts_at_ix_netcom_com_)"

+ 1996-03-12 (Tue, 12 Mar 1996 09:32:13 +0800) - [NOISE] Re: Do you feel lucky, punk? - _Bill Stewart<EMAIL_ADDRESS>


text:
---
layout: page
title: user manual (plugins)
---

% IMAGEFACTORY PLUGIN REFERENCE(7) Version 1.0 - February 22, 2012

Image Factory offers the ability to extend the support for operating systems and cloud types beyond what is included in the official releases. This document describes how plugins are used as well as how developers can write their own custom plugins.

## Using ImageFactory Plugins

Image Factory installs the stock plugins in the Python site-packages directory. If plugins are installed in another location, the path must exist in the PYTHON_PATH environment variable.

A symlink from the directory `/etc/imagefactory/plugins.d` to the plugin's .info file indicates that Image Factory should use the plugin.

The structure of a plugin is generally:

        Example_ifplugin/
                        __init__.py
                        Example_ifplugin.info
                        ExampleMain.py
                        ...

## Writing ImageFactory Plugins

There are two requirements Image Factory plugins need to satisfy.

1. Assign delegate_class in the plugin's initializer.

2. Define plugin metadata in the plugin's info document.

### Assigning the delegate class

When Image Factory builds, pushes, or takes a snapshot of an image, delegation is used to allow a plugin to customize the operation. The plugin must specify what class Image Factory should use to instantiate a delegate object. This is done by assigning the class to `delegate_class`.

*Example-ifplugin/__init__.py:*

        from ExampleMain import ExampleMain as delegate_class

In the example above, _ExampleMain_ is a class that implements some or all of the methods defined in the delegate interface of one of the plugin types such as [OS](https://github.com/aeolusproject/imagefactory/blob/master/imgfac/OSDelegate.py)
or [Cloud](https://github.com/aeolusproject/imagefactory/blob/master/imgfac/CloudDelegate.py).

Here is what the module, ExampleMain.py, might contain.

*Example-ifplugin/ExampleMain.py:*

        import zope
        from imgfac.CloudDelegate import CloudDelegate
        class ExampleMain(object):
            zope.interface.implements(CloudDelegate)
            def builder_should_create_image(self, builder):
                # This is just an example, don't bother creating the image
                return False

### Plugin metadata

A plugin must include a JSON formatted metadata file named _plugin-name_.info. In the example above, this file would be named *Example-ifplugin.info*.

The contents of this file are:

+ **type** - Either `os` or `cloud`
+ **targets** - List of targets tuples.
    *Ex - OS plugin*. `[["RHEL5", "U8", "x86_64"], ["Fedora", "16", None], ["Fedora", "17", "x86_64"]]`
    *Ex - Cloud plugin*. `["vsphere4", "vsphere5"]`
+ **description** - A long string describing the plugin.
+ **maintainer** - A dictionary with the following keys:
    - **name** - The name of the individual or organization maintaining this plugin.
    - **email** - An email address for queries about the plugin.
    - **url** - A URL for more information about the plugin.
+ **version** - A short string identifying the version.
+ **license** - The license this plugin is released under.


text:
---
label: 'Badge'
category: 'Data'
---

# Badge

A number or status marker that appears next to a button or icon.

## Used alone

{{ __component }}

## Sample code

{{ __examples }}

## API

{{ __api }}

repository: NG-NEST/ng-nest

gha_language: TypeScript

repo_name: NG-NEST/ng-nest


text:
# Express-porfolio

It's a portfolio with server side rendering, build with VanillaJS, NodeJS, Express, Sass

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Installing

1. Clone the repo

```
git clone https://github.com/agungTuanany/express-portfolio.git
```

2. Install pakcage.json file

```
npm install or npm i
```

3. run npm or yarn manager in root folder

```
npm run dev or yarn dev

```

4. Explore
```
Enjoy
```

## Built With

* VanillaJS
* Node.js
* Express
* Sass
* Grid system & Flexbox

## plugin

* body-parser
* connect-flash
* express
* express-handlebars
* method-override

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments
[Brad
Traversy](https://www.youtube.com/watch?v=gYzHS-n2gqU&list=PLillGF-RfqbYoGoCjKoMOkVznV6aSXKzU) Portfolio boilerplate

[lukaszadam](https://lukaszadam.com/illustrations) svg images

[Jen Simmons](https://www.youtube.com/watch?v=dQHtT47eH0M) for using Flexbox CSS Grid Together

repository: agungTuanany/express-portfolio

gha_language: SCSS

repo_name: agungTuanany/express-portfolio


text:
# hyperaudio

composable web audio, inspired by hyperscript.

The basic idea is to take web audio componests and make them composable.
The main thing is a function to `connect` components, while also treating
them as a single object.

For example, we might make simple bass synth like this:
``` js
var ctx =new AudioContext()
var w = require('hyperaudio')(ctx)

//set the osc to the correct frequency
function noteOn (freq, time) {
  this.frequency.setValueAtTime(freq, time)
}
function decay(para, time, start, end, length) {
  para.setValueAtTime(start, time)
  para.exponentialRampToValueAtTime(end, time+length)
}

var c = w(
  //use two saws, slightly detuned to give a cool phasing sound
  w.osc({type: 'sawtooth', noteOn: noteOn}),
  w.osc({type: 'sawtooth', detune: -7, noteOn: noteOn}),
  //lowpass filter with some resonance and exponential envelope
  w.filter({
    type:'lowpass', Q: 10,
    frequency: 1000,
    noteOn: function (freq, time) {
      decay(this.frequency, time, freq*10, freq, 1)
    }
  }),
  //also exponential decay amplitude, for punchyness
  w.gain({
    noteOn: function (_, time) {
      decay(this.gain, time, 1, 0.001, 0.2)
    }
  })
)
```

The `hyperaudio` "w" function combines the webaudio nodes,
and returns a proxy which can control all the nodes.

so we can now trigger notes using the combined object.
``` js
//play one note
c.noteOn(440, ctx.currentTime)
c.start()
```
the proxy also calls the `noteOn` function which was added to all the nodes,
allowing the entire sound making assemblage to be easily triggered by a sequencer!

## License

MIT

repository: dominictarr/hyperaudio

repo_name: dominictarr/hyperaudio


text:
## Events

The following events are available as custom events on the panzoom element using the native [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent) API.
Add listeners the same way you would any other event.

```js
elem.addEventListener('panzoomchange', (event) => {
  console.log(event.detail) // => { x: 0, y: 0, scale: 1 }
})
```

### Notes about all events

- The event object passed as an argument to the listener will always have a `detail` object with the following properties:
  - The current `x` value
  - The current `y` value
  - The current `scale`
  - An `originalEvent` property with the original event that triggered the panzoom event, if applicable. For example, the `originalEvent` property for a `panzoomstart` event would be either a `pointerdown`, `touchstart`, or `mousedown` event.
- Events can be silenced when the `silent` option is set to `true`, either globally or when passed to `pan`, any `zoom` method, or `reset`.
- Avoid putting too much logic in these event handlers as it could effect the performance of panning or zooming.

### `"panzoomstart"`

Fired when the user starts a move or pinch zoom gesture on mobile.

### `"panzoomchange"`

Fired whenever there is a pan, zoom, or reset. Note that direct calls to `options.setTransform` do not fire this event.

### `"panzoomzoom"`

Fired whenever the zoom is changed by any Panzoom `zoom` method, directly or internally.

### `"panzoompan"`

Fired whenever the pan is changed by the `pan` method, directly or internally.

### `"panzoomend"`

Fired when the user finishes a move or finishes a pinch zoom gesture on mobile.

### `"panzoomreset"`

Fired whenever reset is called.


text:
MacWindows
==========

Source code for the [Windows](/guides/mac/user-interface/working-with-windows/), [Dialogs](/guides/mac/user-interface/working-with-dialogs/) and [Alerts](/guides/mac/user-interface/working-with-alerts/) documentation on [Xamarin Developer Center](http://docs.xamarin.com)

Uses [Xamarin.Mac](http://xamarin.com).

This project covers working with Windows, Modal Windows, Panels, Sheets, Dialogs and Alerts in a Xamarin.Mac application and includes examples of every time of each items listed.

repository: undeadinu/mac-samples

repo_name: undeadinu/mac-samples


text:
# Chippy Ipsum
Want chips with your lorem ipsum? Not enough cod in your dummy text? Look no further.

 Give in to your drunk self and forget boring old lorem ipsum, you need some salty chippy ipsum.

## In all seriousness
This 1-day project is obviously inspired by the original dummy text lorem ipsum and also for the concept, [Bacon Ipsum](https://baconipsum.com).

Chippy Ipsum is built very minimally as a single static page with jQuery and RiTa.js and no backend. The text generation is powered by [RiTa.js](https://rednoise.org/rita/) using [RiGrammar](https://rednoise.org/rita/reference/RiGrammar.php) with the rule file available under `javascripts/chippy.json`.

More write up to come...

repository: limzykenneth/chippy-ipsum

repo_name: limzykenneth/chippy-ipsum


text:
# Notebook
This code is an example to explain how Python classes work and was taken from "Python 3 Object Oriented Programming" (second edition) by Dusty Phillips.

## Installation
To run the program on your computer, download all the code files or clone a repository from GitHub, and run a user_menu.py file.
## Running
The app suggests a very simple and intuitive interface. First of all, the user will see a menu and available oprtions. To add a new note, the user should enter "3" and then the memo they want to add. A message about successful creation of a note will appear immediately after that.

![Starting work](starting.png?raw="text")

To modify the existing note, the user has to enter "4" and, again, follow the prompts that appear.

![Starting work](modify_note.png?raw="text")

To search for a specific letter combination or show all the notes, the user should enter "2" or "1".

![Starting work](show_notes.png?raw="text")

Finally, to quit the notebook, the user has to press "5".

![Starting work](final.png?raw="text")

## Dir(), type() and isinstance() functions
If we use dir() function for Notebook class or notebook.Notebook or notebook.Note objects, we'll see the lists of atrributes for each of these objects.
```python
>>> import notebook
>>> print(dir(notebook))
['Note', 'Notebook', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'datetime', 'last_id']
>>> print(dir(notebook.Note))
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__',
'__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'match']
>>> print(dir(notebook.Notebook))
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__',
'__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_find_note', 'modify_memo', 'modify_tags', 'new_note', 'search']
```
With the help of isinstance() function we can learn even more about classes. First, let's create a notepad and add a note to it.
```python
>>> import notebook
>>> note = notebook.Note("First note")
>>> isinstance(note, object)
True
>>> notepad = notebook.Notebook()
>>> isinstance(notepad, object)
True
```
Let's now add a second note to it.
```python
>>> note_1 = notebook.Note("Second note")
>>> notepad.new_note(note, note_1)
```
If we use type() for each of the objects we created, we'll see the following:
```python
>>> type(note)
<class 'notebook.Note'>
>>> type(note_1)
<class 'notebook.Note'>
>>> type(notepad)
<class 'notebook.Notebook'>
```

repository: vsaliievaa/Notebook

repo_name: vsaliievaa/Notebook


text:
> Extending the properties panel changed significantly with `bpmn-js-properties-panel>=1`. For the `0.x` version of the library, check out [the old version of this example](https://github.com/bpmn-io/bpmn-js-examples/tree/b20919ac2231abf3df45b9dc9a2561010009b4a2/properties-panel-extension).

# Properties Panel Async Extension Example

This example is based on [the properties panel extension example](../properties-panel-extension).
Its goal is to present how the 1.x series of [bpmn-js-properties-panel](https://github.com/bpmn-io/bpmn-js-properties-panel) support asynchronous data loading.

For an advanced async extension example, check out [this repository](https://github.com/bpmn-io/properties-panel-async-example).

![properties panel async extension capture](./docs/screencapture.gif "Screen capture of the properties panel async extension example")

## Prerequisites

* You know how to extend the properties panel. Check out [the properties panel extension example](../properties-panel-extension) for guidance.
* You have basic knowledge on [Preact hooks](https://preactjs.com/guide/v10/hooks/).
* You know how to use [the Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch).

## About

Most of the code of this example is a copy of [the properties panel extension example](../properties-panel-extension).
Here, we will only refer to what is added on top of that.

In this example, the spells are provided by a simple [express](https://expressjs.com/) server. Source code of the server is located in [server.js](./server.js).

The properties panel extension loads data asynchronously with [the Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch). It is made available in the component via [Preact hooks](https://preactjs.com/guide/v10/hooks/).

```javascript
const [ spells, setSpells ] = useState([]);

useEffect(() => {
  function fetchSpells() {
    fetch('http://localhost:1234/spell')
      .then(res => res.json())
      .then(spellbook => setSpells(spellbook))
      .catch(error => console.error(error));
  }

  fetchSpells();
}, [ setSpells ]);

const getOptions = () => {
  return [
    { label: '<none>', value: undefined },
    ...spells.map(spell => ({
      label: spell,
      value: spell
    }))
  ];
}
```

Note that the hooks need to be imported from preact vendored in [@bpmn-io/properties-panel](https://github.com/bpmn-io/properties-panel):

```javascript
import { useEffect, useState } from '@bpmn-io/properties-panel/preact/hooks';
```

## Running the Example

Install all required dependencies:

```
npm install
```

Build and run the project

```
npm start
```

## License

MIT

repository: bpmn-io/bpmn-js-examples

repo_name: bpmn-io/bpmn-js-examples


text:
---
id: 4664
title: Arable featured in PAW
date: 2016-03-14T11:35:47+00:00
author: Cynthia Gerlein-Safdi
categories:
  - Collaboration
  - General
  - News
tags:
  - Adam Wolf
  - Alumni
  - Environmental Sensing
  - Arable
  - Adam Wolf
  - Ben Siegfried
  - Kelly Caylor
  - Water Sustainability and Climate
excerpt: "The Caylor Lab and Arable were recently featured in an article from the Princeton Alumni Weekly Magazine."
header:
   image: assets/images/pod.png
---
The Caylor Lab and Arable were recently featured in an article from the Princeton Alumni Weekly Magazine. As part of the cover story focused on the California drought, the article presents the work of three Princeton scientists studying water scarcity at different scales. Capable of monitoring rainfall, soil moisture and crop growth –among other variables– the Pulsepods developed by [Kelly Caylor]({{ site.baseurl }}{% link _people/caylor.md %}), [Adam Wolf]({{ site.baseurl }}{% link _people/wolf.md %}), and [Ben Siegfried]({{ site.baseurl }}{% link _people/siegfried.md %}) will help farmers make better decisions about when and how much to fertilize and irrigate, optimizing water use to achieve higher yields.

[Go to the Article](http://paw.princeton.edu/issues/2016/03/16/pages/1891/index.xml){: .btn .btn--success}


text:
---
title: 'Getting Started with ML Competitions'
date: 2020-07-01
permalink: /posts/2020/07/loanp/
tags:
  - Python
  - ML
---

How do ML Competitions work?
Take a look at the workflow and try it out yourselves [here](https://nbviewer.jupyter.org/github/rakash/Posts/blob/master/Loan%20Prediction%20%281%29.ipynb)


text:
Regression Verification on LLVM
===============================

For a description of the **technial details, installation and usage**,
please refer to the README.md of the **subdirectory reve**.

----------

Idea
----

Given two programs which each implement a functionality (which may contain loops or recursive calls), the job of regression verification is to formally prove that both implementations behave equally (perfect equivalence) or that behave equally under a precondition (conditional eq) or that they behave equally in a defined way (relational eq).

To be independent of the used programming language, we implemented our approach on top of LLVM. In order to allow for conditional and relational equivalence, means of regression specifications have been added (see subdirectory reve for details).

It is a declared goal of LLReve to be an automatic tool, i.e., apart from the toplevel specifciation which says which equivalence relation is to be analysed, no further specification is required.

Assumptions and Limitations
---------------------------

While we build on top of LLVM, the techniques that we employ have properties which require us to make assumptions on the code to be regression verified and prevent us from supporting all features of LLVM.

**This section is subject to change!**

### Syntactical Limitations

Some language features cannot be encoded into our logical representations of the program. This includes datatypes and operations. We have two possibilities to act if an unsupported language feature occurs:

1. We report it to the user thus rejecting the input program (the result message is UNSUPPORTED)
2. We abstract away from datatypes and operations by replacing them with totally unknown values. In some cases this may allow the engine to find a proof, but whenever there is an impact on the result, this overapproximation may result in a false positive (yielding UNEQUAL plus a spurios counterexample).
3. In some cases we can abstract away from operations as if they were external functions with unknown implementation. This gives less counterexamples, but still may raise some.

Features which fall into this category:

- `float` or `double` are not supported. Currently, UNSUPPORTED is raised if they are encountered
- bitwise operations like `<<`, `&` etc. are only partially supported, UNSUPPORTED may be thrown.

Multiplication (even of integer types) is different: It's syntax is supported and we can encode it logically into the equivalence proof obligation, but the underlying solvers are unable to incorporate multiplication into the solutions they infer. Hence: No spurious counterexamples but often UNKNOWN.

### Semantical Assumptions

The beforementioned conditions can be checked syntactically and either the problem is rejected or one lives with false positives.

The following properties that programs need to have such that reve can deal with them are different as they cannot be checked by a simple syntax analysis but require a more thorough analysis. They are, however, the kind of properties which are typically successfully checkable by static functional verification tools like CBMC, LLBMC, CPA/Checker etc.

llreve works correctly if the following functional properties hold:

1. Every memory access reads from/writes to a memory location previously allocated -- regardless of the memory allocation strategy.
    - Pointer arithmethic does not go beyond the boundary of memory blocks allocated by a call to `malloc`. (This is a consequence of the above)
2. No integer operation ever causes an over-/underflow in its datatype.
    - Equivalent: All integer operations must yield the same results if performed on the mathematical integers.
    - There shall be a switch which relieves this assumptions at the cost of possibly getting more UNKNOWN results.

repository: mattulbrich/llreve

repo_name: mattulbrich/llreve


text:
Stateless Future For Akka
=========================

**stateless-future-akka** allows you to build control flow for Akka actor in the native Scala syntax. `stateless-future-akka` bases on [stateless-future](https://github.com/Atry/stateless-future), which is a better future system than `scala.concurrent.Future`.

## Usage

### Step 1: Mix-in `FutureFactory` with your `Actor`

    import com.qifun.statelessFuture.akka.FutureFactory
    import akka.actor._
    class YourActor extends Actor with FutureFactory {
    }

### Step 2: Implement the `receive` method from a `Future` block

    import com.qifun.statelessFuture.akka.FutureFactory
    import akka.actor._
    class YourActor extends Actor with FutureFactory {
      override def receive = Future {
      	???
      }
    }

### Step 3: Receive and send message in the `Future` block

There is a magic method `nextMessage.await` that receive the next message from the actor's mail box. Unlike a normal `Actor.Receive`, You are able to receive multiple message sequentially in a `Future` block:

    import com.qifun.statelessFuture.akka.FutureFactory
    import akka.actor._
    class YourActor extends Actor with FutureFactory {
      override def receive = Future {
        while (true) {
          val message1 = nextMessage.await
          val message2 = nextMessage.await
          sender ! s"You have sent me $message1 and $message2"
        }
        throw new IllegalStateException("Unreachable code!")
      }
    }

Note that the `Future` block for `receive` must receive all the message until the actor stops. In fact, the `def receive = Future { ??? }` is a shortcut of `def receive = FutureFactory.receiveForever(Future[Nothing] { ??? })`.

## Another example

This example creates an actor that concatenates arbitrary number of strings.

    import com.qifun.statelessFuture.akka.FutureFactory
    import akka.actor._
    import scala.concurrent.duration._

    class ConcatenationActor extends Actor with FutureFactory {
      def nextInt: Future[Int] = Future {
        nextMessage.await.toString.toInt
      }
      override def receive = Future {
        while (true) {
          // Should behave the same as:
          // val numberOfSubstrings = nextMessage.await.toString.toInt
          val numberOfSubstrings = nextInt.await
          var i = 0
          val sb = new StringBuilder
          while (i < numberOfSubstrings) {
            sb ++= nextMessage.await.toString
            i += 1
          }
          val result = sb.toString
          println(result)
          sender ! result
        }
        throw new IllegalStateException("Unreachable code!")
      }
    }

    object ConcatenationActor {
      def main(arguments: Array[String]) {
        val system = ActorSystem("helloworld")
        val concatenationActor = system.actorOf(Props[ConcatenationActor], "concatenationActor")
        val inbox = Inbox.create(system)
        inbox.send(concatenationActor, "4")
        inbox.send(concatenationActor, "Hello")
        inbox.send(concatenationActor, ", ")
        inbox.send(concatenationActor, "world")
        inbox.send(concatenationActor, "!")
        assert(inbox.receive(5.seconds) == "Hello, world!")
        inbox.send(concatenationActor, "2")
        inbox.send(concatenationActor, "Hello, ")
        inbox.send(concatenationActor, "world, again!")
        assert(inbox.receive(5.seconds) == "Hello, world, again!")
      }
    }

## Installation

Put these lines in your `build.sbt` if you use [Sbt](http://www.scala-sbt.org/):

    libraryDependencies += "com.qifun" %% "stateless-future-akka" % "0.1.1"

`stateless-future-akka` should work with Scala 2.10.3, 2.10.4, or 2.11.0.

## Links

* [The API document](http://central.maven.org/maven2/com/qifun/stateless-future-akka_2.11/0.1.1/stateless-future-akka_2.11-0.1.1-javadoc.jar)
* [Tests and examples](https://github.com/Atry/stateless-future-test/tree/2.10.x/test/src/test/scala/com/qifun/statelessFuture/test/run)

repository: qifun/stateless-future-akka

gha_language: Scala

repo_name: qifun/stateless-future-akka


text:
Radix-Heap
========
[![Build Status](https://travis-ci.org/iwiwi/radix-heap.svg?branch=master)](https://travis-ci.org/iwiwi/radix-heap)

This library implements a fast monotone priority queue called the *radix heap*.
It is written as C++ template classes and capable of handling
signed integers, unsigned integers and floating-point numbers.

### Features

* **Fast** --- It often outperforms `std::priority_queue`.
As discussed later, it was about *2X faster* in experiments using real workloads.
* **Easy** --- The implementation is in a single header file.
* **Tested** -- It is unit-tested with gcc 4.8 and clang 3.4 (https://travis-ci.org/iwiwi/radix-heap).

## Quick Introduction

One can start using by just including header `radix_heap.h`,
which offers the following two classes:
class `radix_heap` manages a set of numbers,
and class `pair_radix_heap` manages a set of numbers (*keys*)
and *values* that are associated to keys.

### Example

```c++
#include "radix_heap.h"
...
radix_heap::pair_radix_heap<double, std::string> h;  // a radix heap where the types of keys and values are double and strings, respectively.
h.push(0.5, "foo");
h.push(-10, "bar");
std::cout << h.top_key() << ": " << h.top_value() << std::endl;  // "-10: foo"
h.pop();
std::cout << h.top_key() << ": " << h.top_value() << std::endl;  // "0.5: bar"
```

## Detailed Description

### Monotone Priority Queue?
The radix heap is a *monotone priority queue*.
A monotone priority queue is a priority queue
with the restriction that
a key cannot be pushed if it is less than the last key extracted from the queue.
Monotone priority queue can be used in many algorithms
such as Dijkstra's shortest-path algorithm.

(In this implementation, the word 'extract' above corresponds
calling member functions `pop`, `top`, `top_key` or `top_value`.)

### Radix Heap?
The *radix heap* is a monotone priority queue
using binary representation of numbers. Please see the paper below for details.

In theory, it takes O(b) amortized time for each item in total, where b is the number of bits representing keys.
More precisely, it rather depends on the ranges of keys; for example, if keys are unsigned integers less than 2^k, it becomes O(k) amortized time.

In practice, see the experimental results summarized in `example/README.md`. Workloads from Dijkstra's shortest-path algorithm against real road networks are used (see `example/benchmark_dijkstra_main.cc` for details). The results show that this radix heap implementation is about 2X faster than `std_priority_queue` at maximum.

### Class radix_heap

It takes the type of keys (numbers) as a template argument, e.g., `radix_heap<int>` or `radix_heap<double>`.
It can handle signed integers (char, short, int, long, longlong), unsigned integers, and floating-point numbers (float, double). Its member functions are as follows:

|　Return value | Name    | Description           |
| ------------- | ------------- | ---- |
| bool | empty() const;   | `true` if empty. |
| size_t | size() const;   | The number of keys. |
| *Key type* | top(); | The minimum key. Cached but enable monotone restrictions. |
| *Key type* | min() const; | The minimum key. Calculated but not enable monotone restrictions. |
| *Key type* | next() const; | The next key after minimum key. Calculated but not enable monotone restrictions. |
| void | push(key); | Add a key.       |
| void | pop(); | Remove the minimum key. (enable monotone restrictions)|
| void | swap(another radix heap); | Swap the contents.      |

### Class pair_radix_heap

It takes two template arguments: the types of keys (numbers) and values (anything that can be moved),
e.g., `pair_radix_heap<int, std::string>` or `pair_radix_heap<double, std::tuple<int, int, int>>`. Its member functions are as follows:
There is one additional optional template argument "bool __FIFO__" (default false) which allow pop-ing same key values in same sequence
as were added to heap ( loosing some pop() performance ).

|　Return value | Name    | Description           |
| ------------- | ------------- | ---- |
| bool | empty() const;   | `true` if empty. |
| size_t | size() const;   | The number of pairs. |
| *Key type* | top_key(); | The minimum key. Cached but enable monotone restrictions.|
| *Value type* | top_value(); | The value of a pair with the minimum key. Cached but enable monotone restrictions.|
| *Key type* | min_key() const; | The minimum key. Calculated but not enable monotone restrictions |
| *Key type* | next_key() const; | The next key after minimum key. Calculated but not enable monotone restrictions. |
| void | push(key, value); | Add a pair.       |
| void | emplace(key, ...); | Construct and add a pair in place. |
| void | pop(); | Remove a pair with the minimum key. (enable monotone restrictions)|
| void | swap(another radix heap); | Swap the contents.       |

## Reference
* Ravindra K. Ahuja, Kurt Mehlhorn, James Orlin, and Robert E. Tarjan. **Faster algorithms for the shortest path problem.** *J. ACM 37, 2 (April 1990), 213-223.*

## Licence

The MIT License (MIT)

Copyright (c) 2015 Takuya Akiba

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

repository: theTopCat/radix-heap

repo_name: theTopCat/radix-heap


text:
This is a simple server created with Node.js and Express to run a GraphQL + MongoDB application

## Available Scripts

In the project directory, you can run:

### `node app.js`

Open [http://localhost:8080](http://localhost:8080) to view it in the browser.

This mode does not watch file changes

### `nodemon app.js`

Open [http://localhost:8080](http://localhost:8080) to view it in the browser.

The page will reload if you make edits.

repository: vilarjp/react-book-list

repo_name: vilarjp/react-book-list