text:
# Nucleus Contributor Code of Conduct

See [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).

This code of conduct applies to all of the projects under the [Nucleus organization on GitHub](https://github.com/nucleus-office) and the Nucleus community at large (Slack, Twitter, events, mailing lists, etc.).

## Events

If you are running a Nucleus meetup, conference, user group, or other type of event, we encourage you to adopt and provide an appropriate code of conduct. You should also provide contact information for attendees to get help or report a violation.

## Translations

For translations of the Nucleus Contributor Code of Conduct, take a look at [translations page](i18n/README.md).

## Credits

Based on the [Contributor Covenant](https://www.contributor-covenant.org/) by [Coraline Ada Ehmke](https://where.coraline.codes/).

repository: nucleus-office/code-of-conduct

repo_name: nucleus-office/code-of-conduct


text:
# Design Reflections

![Display Site Map](/week-2/imgs/site-map.png)

# What are the 6 Phases of Web Design?

The six phases of web design:
1.Information Gathering
2.Planning
3.Design
4.Development
5.Testing and Delivery
6.Maintenance

# What is your site's primary goal or purpose? What kind of content will your site feature?

The primary goal of my site is to tell the world who I am and why I do what I do. I will be contributing to my own blog and projects. My audience will also be able to see my professional history and have a way to get in contact with me.

# What is your target audience's interests and how do you see your site addressing them?

I think my target audience will likely be searching for tips and know how's on their journey to learn web development. I will try to document my own path so that whoever views it can have a sense of how I got to where I am.

# What is the primary "action" the user should take when coming to your site? Do you want them to search for information, contact you, or see your portfolio? It's ok to have several actions at once, or different actions for different kinds of visitors.

At this point, I want to let the users know that they have access to certain information about me by the main categories. The primary action is to verify who I am and know that they've found me. I can probably do this by a picture of my face, name, and Linkedin profile link.

# What are the main things someone should know about design and user experience?

The main things that I think people should know is the difference between UX and UI. The metaphor that I've learned is from horse riding. User Interaction (UI) is what you control while riding: i.e. the reins, whip, and stirrup. In web design, this is the buttons, the scrolling, and dropdown menu, etc. User experience (UX) is how you feel riding the horse.

# What is user experience design and why is it valuable?

User experience design is study, evaluation of how users feel about a given system whether it be mobile app, web app, or desktop software. It's valuable because it emphasize the design process around the users. If users are not the focus of design, then, as designers, we will make many false assumptions about what the user will experience. If we don't care to get feedback about the friction of our design, then our application may be difficult to use - rendering itself useless.

# Which parts of the challenge did you find tedious?

I think good design and bad design is not a constant. Even now, design is something that will constantly evolve with the additions of new systems into our technological ecosystem. I don't think this challenge is tedious; however, the concepts to take away may not be apparent to all.

license: MIT

branch_name: refs/heads/master

extension: md

gha_language: Ruby

license_type: permissive


text:
---
layout: "xenserver"
page_title: "XenServer: xenserver_vlan"
sidebar_current: "docs-xenserver-resource-vlan"
description: |-
  Provides a XenServer virtual LAN. This can be used to create, modify, and delete virtual LANs.
---

# xenserver\_vlan

repository: mborodin/terraform-provider-xenserver

extension: markdown

repo_name: mborodin/terraform-provider-xenserver


text:
BackThere (Sublime Text 2/3 plugin)
======

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iuliux/SublimeText2-BackThere?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## It does...

Saves one position for you to return to, as many times as you need.

It is composed of two commands:

1.  `save_back_there` (`Ctrl, Shift, q`) - Saves the current position of the text cursor in the current window

2.  `go_back_there` (`Ctrl, q`) - Places the cursor _back_ _there_, where it was last saved

__New:__ commit [43825a1f9b](https://github.com/iuliux/SublimeText2-BackThere/commit/43825a1f9b79d5e88ca00541995b5fa388177fbc) introduces:
When no position is saved in the current file, a jump to the latest globally saved position will be performed (this involving a switch to that other file's view) if at least one saved position exists in the current session (since the editor was started).

## Default key bingings

1.  Save command:

    `Ctrl` + `Shift` + `q`

2.  Go command:

    `Ctrl` + `q`

For OSX, replace `Ctrl` with `Control` (not `Command`)

To use your custom (and probably better) key bindings, you should either add them in `Preferences -> Key bindings - User` like in the example below, either edit the `Default (<operating-system>).sublime-keymap` file in the plugin's folder.

    { "keys": ["shift+ctrl+q"], "command": "save_back_there" },
    { "keys": ["ctrl+q"], "command": "go_back_there" }

## Installing (with PackageControl)

(Install [Package Control](http://wbond.net/sublime_packages/package_control/installation) plugin)

Invoke Package Control (`Ctrl`+`Shift`+`P`), enter Install command and pick `Back There`

## Installing (without PackageControl)

If you don't have `git` installed, you can just download as Zip, and unpack it.

### OSX

    $ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
    $ git clone git://github.com/iuliux/SublimeText2-BackThere.git BackThere

### Linux (Ubuntu like distros)

    $ cd ~/.config/sublime-text-2/Packages/
    $ git clone git://github.com/iuliux/SublimeText2-BackThere.git BackThere

### Windows 7:

Copy the directory to: `C:\Users\<username>\AppData\Roaming\Sublime Text 2\Packages`
or using GitHub for Windows

### Windows XP:

Copy the directory to: `C:\Documents and Settings\<username>\Application Data\Sublime Text 2\Packages`
or using GitHub for Windows

## License
MIT License, see http://opensource.org/licenses/MIT

gha_language: Python


text:
---
title: Scale your Workflow
summary: Introduction to different tools and methods for an efficient, scalable, and maintainable workflow.
authors:
- admin
tags:
- "Software Engineering"
- "Research"
categories:
- "Software Engineering"
- "Research"
date: "2020-05-01T15:00:00Z" # TODO correct date
slides:
  # Choose a theme from https://github.com/hakimel/reveal.js#theming
  theme: black
  # Choose a code highlighting style (if highlighting enabled in `params.toml`)
  #   Light style: github. Dark style: dracula (default).
  highlight_style: dracula
---

# Scale your Workflow

---

## Overview

* Project Management
* Development
* Documentation

---

## Project Management

Integrated in [GitLab](https://gitlab.com)|[GitHub](https://github.com)|[Bitbucket](https://bitbucket.org)|...

* Issue Trackers
* Milestones
* Boards
* ...

---

### Issue Trackers

* Collect ideas
* Document and discuss your decisions/progress
  * For/with others
  * For/with your future self

---

![](https://pics.me.me/yes-i-talk-to-myself-thats-because-sometimes-i-need-14183709.png)

---

### Team Discussions

* Early feedback
* Constantly explain/justify/rethink your ideas

**Fail Often, Fail Fast, Fail Early**

---

## Development

---

### Implementation

* Common rules you should always follow
  * SOLID Guidelines
  * DRY (Don't repeat yourself)
* Design Patterns
  * Existing solutions for common design problems
  * Don't reinvent the wheel

---

### Testing

* Unit Tests
  * Test individual components
* Integration Tests
  * Test interaction of larger parts
* System Tests
  * Test the entire system

---

### Checks

* Consistency is key
* Automate whenever possible
* Code Format
  * Consistent code layout
  * Available for almost every language
* Linters
  * Avoid common errors

---

#### C++

* Clang-Format
* CMake-Format
* Clang-Tidy
* CppCheck
* CppLint

---

#### Python

* black
* yapf
* pylint
* flake8

---

#### Sample

```python
for t, m, ms in bag.read_messages():
    # do something
```

```shell
C0103: Variable name "t" doesn't conform to snake_case
naming style (invalid-name)

W0612: Unused variable 't' (unused-variable)
```

---

### Tools

Know your tools

* IDE for the heavy development
* Editor as your swiss army knife
* Shortcuts

---

### Version Control

* [Git](https://git-scm.com/) as most common tool
* [Git Feature Branch Workflow](https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow)
* Code Review
  * Knowledge transfer in both directions

---

### Continuous Integration

* Automatically run in a configured environment
* Requires scripted/containerized environment setup
* Avoid *"Works on my machine"*

---

#### CI Failure

![](fail.jpg)

---

#### CI Pass

![](pass.jpg)

---

## Documentation

* Summarize the latest status
* Requires active maintenance

---

# Questions?

gha_language: Jupyter Notebook

gha_license_id: MIT


text:
These files were provided to me by Rebecca Hannah from CODEX:

wget http://hscl.cimr.cam.ac.uk/Files_for_transfer/Nathan/mm10_Archive.zip
wget http://hscl.cimr.cam.ac.uk/Files_for_transfer/Nathan/hg19_Archive.zip

After unarchiving them, I manually renamed the excel sheet she sent to get the index.txt file.

I had to manually remove the last line of this file:
GSM1122302_CBFB.bed

Because it was truncated:
hrM	0	400

I also did a search/replace for "N/A" to "NA" so that R will correctly recognize these as NAs, and provide generic descriptions if applicable.

repository: banabazi-hgen-slu/brgeUtils

repo_name: banabazi-hgen-slu/brgeUtils


text:
## Cities

CogniCity deployments are organised by city. Cities are delineated by a unique three letter code and a bounding box geometry. Note that the term "city" is used somewhat arbitrairily for organisational purposes. Cities may refer to an urban conurbation or wider metropolitan area. For example in the United States "Broward" is used to refer to Broward County which includes multiple cities and non-urban areas.

### GET /cities

```shell
curl "/cities?geoformat=geojson"
```

```javascript
import axios from 'axios'; // package to make http requests

axios.get('/cities', {
  params: {
    geoformat: 'geojson'
    }
  })
  .then(response => console.log(response))
  .catch(err => console.log(err))
```

> The above command returns JSON structured like this:

```json
{
  "statusCode": 200,
  "result": {
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "geometry": {
          "type": "Polygon",
          "coordinates": [
            [
              [
                -80.56454636,
                26.4393434677
              ],
              [
                -80.011194015,
                26.4376911515
              ],
              [
                -80.0147106747,
                25.8743814793
              ],
              [
                -80.5690752042,
                25.8759818852
              ],
              [
                -80.56454636,
                26.4393434677
              ]
            ]
          ]
        },
        "properties": {
          "code": "brw",
          "name": "broward"
        }
      }
    ]
  }
}
```

This endpoint returns all cities covered by the CogniCity instance, including their three letter code and bounding box geometry.

#### HTTP Request

`GET /cities`

#### Query Parameters

Parameter | Required | Description | Default |
--------- | ------- | ------------ | ------- |
geoformat | false | Specifies either 'geojson' or 'topojson' | topojson |

#### Response
The returned data uses the GeoJSON FeatureCollection or TopoJSON GeometryCollection types. The properties of each sensor feature as described in the following table.

Attribute | Type | Description |
--------- | --------- | ----------- |
code | string | Unique 3 letter code for each city |
name | string | City name |

repository: urbanriskmap/cognicity-api-docs

repo_name: urbanriskmap/cognicity-api-docs


text:
+++

date = "2020-04-14"
title = "Illustrator - guides, alignment, and artboards"
draft = false
categories = ["illustrator"]
tags = ["vector", "lists", "illustrator"]

+++

**a few ways to organize and arrange your content in Adobe Illustrator**

<!--more-->

Here are a few of the technical tools you can use to set up your documents and organize your creative work.

## RULERS & GUIDES

These tools help you build an accurate layout.

- [Rulers, grids, and guides from Adobe Help](https://helpx.adobe.com/illustrator/using/rulers-grids-guides-crop-marks.html) - good introduction to the tools

- [Using Rulers and Guides video from Adobe Help](https://helpx.adobe.com/illustrator/atv/cs5-tutorials/gs-01-using-rulers-and-guides.html) - shows you how to set up and use the guides

## SNAPS & ALIGNMENT

These tools help you move your objects to fit the layout.

- [Moving, align, and distribute from Adobe Help](https://helpx.adobe.com/illustrator/using/moving-aligning-distributing-objects.html) - intro on organizing placement of elements

- [How to snap to grid by Pixel & Bracket](https://youtu.be/UGsiXslxtNc) - youtube video tutorial

- [How to align objects by Howcast](https://youtu.be/kOQ0fnOtkXY) - youtube video tutorial

## ARTBOARDS

This tool lets you have multiple layouts in one document.

- [Artboards from Adobe Help](https://helpx.adobe.com/illustrator/using/using-multiple-artboards.html) - fairly deep dive into using Artboards

- [Work with Artboards from Adobe Help](https://helpx.adobe.com/illustrator/how-to/artboards-basics.html) - tutorial videos with project files to help you understand how to use the tools

repository: chad-bennett/start

repo_name: chad-bennett/start


text:
ubnt_airos
==========

This is a collection of scripts that I am using to communicate with AirOS devices, specifically Nanostations, from the awesome Ubiquiti Networks.

Requirements
------------
```
sudo pip install requests json argparse
```

Exection
--------
```
python get_status.py -u ubnt -p ubnt <IP_ADDRESS>
```

This will dump out the basic JSON contents of status.cgi.

More to come!!

ubnt_info CollectD plugin
=========================

Values presently captured:
* signal
* txrate
* rxrate
* distance
* noisef
* rssi
* uptime
* polling_capacity
* polling_quality

collectd config file
--------------------
- Check out this repo somewhere, this example assumes /opt/ubnt_airos.
- Copy the config into /etc/collectd.d/ubnt.conf (or appropriate)
- Update the ModulePath value below.

```
<LoadPlugin python>
    Globals true
</LoadPlugin>

<Plugin python>
    ModulePath "/opt/ubnt_airos"
    LogTraces true
    Interactive true
    Import "ubnt_collectd"
    <Module "ubnt_collectd">
        <Device>
            Host "<IP_ADDRESS>"
            User "ubnt"
            Pass "ubnt"
        </Device>
        <Device>
            Host "<IP_ADDRESS>"
            User "ubnt"
            Pass "ubnt"
        </Device>
        <Device>
            Host "<IP_ADDRESS>"
            User "ubnt"
            Pass "ubnt"
        </Device>
    </Module>
</Plugin>
```

Grafana config
--------------
I use InfluxDB and my Metrics config point to something like 10_0_0_2.ubnt_info.gauge.signal.


text:
---
woj: tej
---

# Scheduling meetings with me

1. Feel free to pick a timeslot from the menu below.

2. Please let me know upfront what we'll be discussing, so that I can
prepare, if necessary.

3. I use [https://www.zoom.us](https://www.zoom/us) for conferencing. Link
to enter my conference room is here: [https://zoom.us/j/8339412035](https://zoom.us/j/8339412035)

repository: wkoszek/me

gha_language: HTML

repo_name: wkoszek/me


text:
# Restriction-first Maze Generator
A Restriction-first approach to generate multi-floor mazes.

## Play now

Use arrow keys or ASDW to walk in the maze. No objective is set by now, but try to go towards the first floor and reach the last from there! :)

Select a theme to play:

- [No theme](https://ezaca.github.io/restriction-first-maze-generator/game.html)
- [Ocean](https://ezaca.github.io/restriction-first-maze-generator/game.html#ezaca/ocean)

-----

## Restriction First Multi-Level Maze Generator Algorithm

This repository presents a method for generating multi-level mazes interconnected through stairs, portals or other types of connections.

It features an unfinished browser game in HTML/CSS/Javascript, without any backend code, which can run directly through the repository.

For ease of code, multiple functions and auxiliary objects were created, and the code is divided into files by subjects.

### Maze generation

The maze is generated with the following steps:

1. Initially, the maze environment is prepared by constructing a table-like structure with the walls fully closed. This structure ensures that we will open only what interests us, while the rest remains inaccessible.

2. The constraint algorithm runs first, placing the stairs that descend from the central floor to the first, and the stairs that rise from the central floor to the last. Whenever a stair is placed on one floor, the opposite is placed on the floor it connects.

    1. Before inserting the stair, the entire region it will occupy (two blocks on each connected floor) is checked. If another stair has already occupied any of those blocks, another position must be randomized.

    2. When placing the stair, the entire region it occupies is marked so that no other stairs intersect there.

    3. The blocks containing the stairs are marked "don't open" so that the maze never opens them, and the walls are removed from the front of the stairs, allowing entry.

3. After setting the constraints, an ordinary maze generation algorithm begins to open the walls. In our case, we use a modification of Dijkstra's algorithm that randomizes the open list. We start the algorithm in a random position. The algorithm opens all floor cells except those marked "don't open".

4. When the player moves against a stair, it is taken to the floor it connects.

### Current state and future works

* The game has no objective right now! It is demonstrative only and allows a pointless walk.

* For now, once you are on the floor you have access to the whole floor. It may require some extra effort to limit access to all areas on each floor, requiring navigation through the stairs.

* There is only one maze generator algorithm, and restriction-first is focused on stairs.

* Only one layout is available right now, more can be implemented!

* There is a limited set of themes, which can be increased.

-----

Thank you for your interest in the project! Feel free to download, fork and discuss the project. Are you having any problem? Contact me on the Issues tab.

repository: ezaca/restriction-first-maze-generator

repo_name: ezaca/restriction-first-maze-generator


text:
# Images #

![ShadowEngine 003 - Miscellaneous Tests - Spring based touch zones](../project_images/Images_for_DevArt.001.jpg?raw=true "ShadowEngine 001 - Miscellaneous Tests - Spring based touch zones")

![ShadowEngine 003 - Miscellaneous Tests - Frame Switching](../project_images/Images_for_DevArt.002.jpg?raw=true "ShadowEngine 001 - Miscellaneous Tests - Frame Switching")

![ShadowEngine 004b - Silhouette Extraction](../project_images/Images_for_DevArt.003.jpg?raw=true "Shadow Engine 004b - Silhouette Extraction")

![ShadowEngine 001 - Early Quartz Composer Prototype](../project_images/Images_for_DevArt.004.jpg?raw=true "ShadowEngine 001 - Early Quartz Composer Prototype")

![ShadowEngine 001 - Early Quartz Composer Prototype. Real-time ChromaKeying and Wii Remote Control](../project_images/Images_for_DevArt.005.jpg?raw=true "ShadowEngine 001 - Early Quartz Composer Prototype. Real-time ChromaKeying and Wii Remote Control")

![ShadowEngine 001](../project_images/Images_for_DevArt.006.jpg?raw=true "ShadowEngine 001")

![ShadowEngine 001 Midi Control](../project_images/Images_for_DevArt.007.jpg?raw=true "ShadowEngine 001 Midi Control")

![ShadowEngine 002 - touchable puppets](../project_images/Images_for_DevArt.008.jpg?raw=true "ShadowEngine 002 - touchable puppets")

![ShadowEngine 002 - touchable puppets](../project_images/Images_for_DevArt.010.jpg?raw=true "ShadowEngine 002 - touchable puppets")

![ShadowEngine 002 - touchable puppets](../project_images/Images_for_DevArt.011.jpg?raw=true "ShadowEngine 002 - touchable puppets")

![ShadowEngine 002 - touchable puppets](../project_images/Images_for_DevArt.012.jpg?raw=true "ShadowEngine 002 - touchable puppets")

![Modo Render of same data set](../project_images/Images_for_DevArt.009.jpg?raw=true "Modo Render")

![Duration recording an OSC Stream from iPad to Osculator and relayed to Unity](../project_images/Images_for_DevArt.020.jpg?raw=true "OSC Recording")

![TouchOSC Interface 001 - Movement Controller](../project_images/Images_for_DevArt.021.jpg?raw=true "TouchOSC Interface 001")

![TouchOSC Interface 001 - Movement Controller x4](../project_images/Images_for_DevArt.022.jpg?raw=true "TouchOSC Interface 001")

![TouchOSC Interface 001 - Cinematics / FX Controller](../project_images/Images_for_DevArt.023.jpg?raw=true "TouchOSC Interface 001 FX Controller")

![TouchOSC Interface 001 - Scene Contollers](../project_images/Images_for_DevArt.024.jpg?raw=true "TouchOSC Interface 001")

![ShadowEngine 003 - Iris and Silhouette Mode](../project_images/Images_for_DevArt.025.jpg?raw=true "ShadowEngine 003 - Iris and Silhouette Mode")

![ShadowEngine 003 - Misc Objects Colour](../project_images/Images_for_DevArt.026.jpg?raw=true "ShadowEngine 003 - Misc Objects Colour")

![ShadowEngine 003 - Misc Objects Silhouette](../project_images/Images_for_DevArt.027.jpg?raw=true "ShadowEngine 003 - Misc Objects Silhouette")

![ShadowEngine 003 - Misc Objects GreyScale](../project_images/Images_for_DevArt.028.jpg?raw=true "ShadowEngine 003 - Misc Objects GreyScale")

![ShadowEngine 003 - Misc Objects Lighting Effects](../project_images/Images_for_DevArt.029.jpg?raw=true "ShadowEngine 003 - Misc Objects Lighting Effects")

![ShadowEngine 003 - Misc Objects Breakable Props -  Colour](../project_images/Images_for_DevArt.030.jpg?raw=true "ShadowEngine 003 - Misc Objects Breakable Props -  Colour")

![ShadowEngine 003 - Misc Objects Breakable Props -  Colour](../project_images/Images_for_DevArt.031.jpg?raw=true "ShadowEngine 003 - Misc Objects Breakable Props -  Colour")

![ShadowEngine 003 - Misc Objects Breakable Props -  Silhouette Mode](../project_images/Images_for_DevArt.032.jpg?raw=true "ShadowEngine 003 - Misc Objects Breakable Props -  Silhouette Mode")

![ShadowEngine 003 - Misc Objects Breakable Props -  Greyscale Mode](../project_images/Images_for_DevArt.033.jpg?raw=true "ShadowEngine 003 - Misc Objects Breakable Props -  Greyscale Mode")

![ShadowEngine 003 - Misc Objects Breakable Props -  Colour Mode with Lighting FX](../project_images/Images_for_DevArt.034.jpg?raw=true "ShadowEngine 003 - Misc Objects Breakable Props -  Colour Mode with Lighting FX")

![ShadowEngine 003 - Snake and Set -  Inverted Silhouette Mode](../project_images/Images_for_DevArt.035.jpg?raw=true "ShadowEngine 003 - Snake and Set -  Inverted Silhouette Mode")

repository: iboy/devart-template

repo_name: iboy/devart-template


text:
[**Review #1247 | Scotch Review #430 - Bruichladdich HB 27yr 1990**]( https://t8ke.review/review-1247-bruichladdich-hb-27yr-1990)

**The Schtick:** "Distilled by an earlier generation of Bruichladdich stillmen, this unpeated Bruichladdich spirit lay untouched in our loch-side warehouses for 17 short years before Jim had a vision for its future. In a risky turn, he transferred this already precious spirit into the finest French oak casks from Bordeaux of the very highest provenance. This final decade in Bordeaux wine casks brings structure, balance and layers of complexity to an otherwise simplistic dram. Just 12,000 bottles of the Bruichladdich HB’90 are available exclusively through Global Travel Retail. Each is individually numbered and bottled at a cask strength of 49.5% alc. Vol." - Bruichladdich

-----

**Distiller:** Bruichladdich

**Bottler:** Bruichladdich

**Selection:** N/A

**ABV:** 49.5% ABV

**Age:** 27 Years

-----

**Nose:**   Sweet honey, toasted almonds. Sweet wine and figs. Light anise. Lots of fresh baked bread, light musty tobacco. Raspberry, currant, well integrated oak presence.

**Taste:** Thick and rich. No heat. Sweet honey, caramel, nutty sweetness. Red wine is abundant here - loads of cocoa, currant, blackberry, musty tobacco. Light sulfur, rich anise.

**Finish:** Long, rich and powerful. Great tannic structure here that strings along blackberry, currants, anise, honey, pipe tobacco, a fun strawberry note and a load of laddy brine.

**Overall:** This is a really great dram - loaded with complexity and some unique looks at Laddie spirit - notably a lack of their lactic funk. Im ok with this. Really well integrated and a load of fun to drink.

Thanks for reading!

**Rank: 7**

-----

**10 Most Recent Bruichladdich Expressions I Have Reviewed:**

- [Review #406. Bruichladdich 13yr Rest and Be Thankful]( https://t8ke.review/review-406-bruichladdich-rest-and-be-thankful-13yr/)

- [Review #112. Bruichladdich Waves]( https://t8ke.review/review-112-bruichladdich-waves/)

- [Review #623. Bruichladdich Octomore 6.1]( https://t8ke.review/review-623-bruichladdich-octomore-61/)

- [Review #625. Bruichladdich Port Charlotte PC7]( https://t8ke.review/review-625-bruichladdich-port-charlotte-pc7/)

- [Review #1199. Bruichladdich 11 Yr Micro Provenance Rivesaltes]( https://t8ke.review/review-1199-bruichladdich-11-yr-micro-provenance-riveslates)

- [Review #23. Bruichladdichs The Classic Laddie]( https://t8ke.review/review-23-bruichladdich-the-classic-laddie-scottish-barley/)

- [Review #49. Bruichladdich Port Charlotte Scottish Barley]( https://t8ke.review/review-49-bruichladdich-port-charlotte-scottish-barley/)

- [Review #86. Bruichladdich Rocks]( https://t8ke.review/review-86-bruichladdich-rocks/)

- [Review #130. Bruichladdich Octomore 7.2]( https://t8ke.review/review-130-octomore-72/)

- [Review #146. Bruichladdich Octomore 7.4 Virgin Oak]( https://t8ke.review/review-146-bruichladdich-octomore-74/)

-----

[WEBSITE](https://t8ke.review) | [SEARCHABLE ARCHIVE](https://t8ke.review/review-archive/) | [SUBREDDIT](https://reddit.com/r/t8kereviews)

-----

Decoded:

**1** | **Disgusting** | So bad I poured it out.

**2** | **Poor** | I wouldn't consume by choice.

**3** | **Bad** | Multiple flaws.

**4** | **Sub-par** | Not bad, but many things I'd rather have.

**5** | **Good** | Good, just fine.

**6** | **Very Good** | A cut above.

**7** | **Great** | Well above average

**8** | **Excellent** | Really quite exceptional.

**9** | **Incredible** | An all time favorite

**10** | **Perfect** | Perfect

----


text:
Users Plugin for CakePHP 2.x using MongoCake
----------------------------------

The users plugin is for allowing:
* User registration (Enable by default)
* Account verification by a token sent via email
* User login (email / password)
* User can set a photo. <300KB (The default size is limited by the rules of the validation)
* User search (powerful search  with regular expressions).
* User management using the "admin" section (add / edit / delete).

The default password reset process requires the user to enter his email address, an email is sent to the user with a link and a token. When the user accesses the URL with the token he can enter a new password.

Requirements
----------------
* CakePHP v2.x
* [MongoCake Plugin](https://github.com/lorenzo/MongoCake)

Installation
-------------
First of all you must install and configure [MongoCake Plugin](https://github.com/lorenzo/MongoCake).

Clone

	$ cd /your_app_path/Plugin
	$ git clone git://github.com/selukov/Users.git

Enable plugin
----------------

You need to enable the plugin your app/Config/bootstrap.php file:

CakePlugin::load('Users', array('routes' => true));

For activate authentication layer open app/Controller/AppController.php and add following:

	public $components = array(
		//'DebugKit.Toolbar' => array('panels' => array('history' => false)), //setting for DebugKit
		'Auth'
		);

A little change (patch)
--------------------------
The patch next file

(your_CakePHP_path)/lib/Cake/Controller/Component/Auth/BaseAuthenticate.php

function _findUser($conditions, $password = null)

this string

	return array_merge($user,$result);
to

	return array_merge((array)$user, (array) $result);

if you don't this patch you will receive this error when try to login on

	 array_merge(): Argument #1 is not an array [CORE/Cake/Controller/Component/Auth/BaseAuthenticate.php, line 112]

Other setting
---------------
Email configuration

The plugin uses the $default email configuration (should be present in your Config/email.php file) For more information see [Email](http://book.cakephp.org/2.0/en/core-utility-libraries/email.html#configuration)

I used the following configuration for CakePHP 2.3.7

	class EmailConfig {
		public $default = array(
			'host' => 'ssl://smtp.gmail.com',
			'port' => 465,
			'username' =><EMAIL_ADDRESS>			'password' => 'xxxxxxxx',
			'transport' => 'Smtp',
			'tls' => false
		);
	}

Enable admin prefixed routes
In app/Config/core.php
Configure::write('Routing.prefixes', array('admin'));

## License ##

Copyright 2009-2012, [Cake Development Corporation](http://cakedc.com)

Licensed under [The MIT License](http://www.opensource.org/licenses/mit-license.php)

Redistributions of files must retain the above copyright notice.

## Copyright ###

Copyright 2009-2012

[Cake Development Corporation](http://cakedc.com)

1785 E. Sahara Avenue, Suite 490-423

Las Vegas, Nevada 89104

http://cakedc.com

repository: selukov/Users

repo_name: selukov/Users


text:
# fpopquery
==========

A python based freedompop account query

print the summary information for each account

## Usage
copy freedompop.cfg.example as freedompop.cfg, modify it to included your accounts and password

```
$ python3 fpopquery.py
mail1@domain.com(1xxxxxxxxxx):	plan-zmp-free	  3/200 minutes  0/500 text messages,  0/100 intl' minutes, 166.27MB/642.0MB mobile data, next bill due date 2018-04-21 amount US$0.00 16 days left
mail2@domain.com(1xxxxxxxxxx)):	plan-free-ww	  0/200 minutes  0/500 text messages,  1/100 intl' minutes,   5.22MB/700.0MB mobile data, next bill due date 2018-05-04 amount US$0.00 a month left

```

## License
Licensed under the MIT license.

repository: antsc/fpopquery

repo_name: antsc/fpopquery


text:
# Gallery plugin for Phonegap #

The gallery plugin allows you to add an image to the Android Gallery from your PhoneGap application.

## Adding the Plugin to your project ##

Using this plugin requires [Android PhoneGap](https://github.com/apache/incubator-cordova-android).

1. To install the plugin, copy the www/gallery.js file to your project's www folder and include a reference to it in your html file after cordova.js.

    <script type="text/javascript" charset="utf-8" src="cordova.js"></script>

    <script type="text/javascript" charset="utf-8" src="gallery.js"></script>

2. Create a directory within your project called "src/com/simonmacdonald/cordova/plugins" and copy src/com/simonmacdonald/cordova/plugins/GalleryPlugin.java into it.

3. In your res/xml/config.xml file add the following line:

    <plugin name="Gallery" value="com.simonmacdonald.cordova.plugins.GalleryPlugin"/>

## Using the plugin ##

You create a new object that represents the plugin using cordova.require. Then you can call the 'add' method on that object providing a success callback which will be called with a result value that is the content provider url to the image you just added.

  /**
  * add an image to the gallery.
    */
  add(imagePath, success, failure)

Sample use:

    var gallery = cordova.require("cordova/plugin/gallery");
    gallery.add("file:///sdcard/test.jpg",
        function(result) {
            console.log("photo added");
        }, function(error) {
            console.log("photo not added");
        });

## RELEASE NOTES ##

### December 30, 2012 ###

* Initial release

## BUGS AND CONTRIBUTIONS ##

## LICENSE ##

This plugin is available under the MIT License (2008).
The text of the MIT license is reproduced below.

---

### The MIT License

Copyright (c) <2012> <Simon MacDonald., et. al., >

 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: macdonst/GalleryPlugin

repo_name: macdonst/GalleryPlugin


text:
# AWS-Discord-Bot

Discord bot used for managing AWS instances including status and toggling on or off via chat commands in a Discord text channel. This is based on https://github.com/JamesMatchett/AWS-Discord-Bot.

## Setup
* Download [Node](https://nodejs.org/en/) and [aws-cli](https://aws.amazon.com/cli/).
* Run `aws configure` from the CLI on the machine you wish to host the bot from.
* Create a Discord application here https://discordapp.com/developers/applications/ and create a bot user under it.
* Add the bot account to your discord server (https://discordjs.guide/preparations/adding-your-bot-to-servers.html#creating-and-using-your-own-invite-link).
* Create a dedicated role on your discord server as well as a dedicated text channel for the bot.
* Gather the required credentials and IDs needed from AWS and Discord mentioned below.

Create a `.env` file with the following keys (_make sure to replace the values with your AWS and Discord ones_):
```yaml
BOT_TOKEN=Your_Discord_bot_Token_here
ROLEID=Discord_Role_ID_for_the_role_that_can_use_the_bot
CHANNELID=Discord_Channel_ID_of_the_text_channel_where_the_bot_will_be_controlled_from
ACCESSKEY=AWS_Access_Key
SECRETKEY=AWS_Secret_Key
INSTANCE=EC2_instance_ID
MESSAGELOGGING=F #Or T for specific error messages logged tp the Discord channel which may contain sensitive info like keys and instance IDs
```

## Usage
Run the following in the target CLI:
```
npm start
```

### Discord commands
Commands:
```
/aws start (Starts the specified instance)
/aws stop (Stops the specified instance)
/aws status (Returns status information about the instance, i.e. if it is running, it's IP, it's last startTime)
/aws info (General information about the instance)
```
You, and anyone else you give the role and channel access to, should be able to toggle the selected AWS instance on or off when needed as well as view instance information on demand.

branch_name: refs/heads/main

gha_language: JavaScript


text:
# GitHub Action - Setup Erlang/OTP

![Test](https://github.com/bajankristof/setup-erlang/workflows/Test/badge.svg?branch=master)

This sets up an Erlang/OTP environment along with rebar3 for use in actions and should work in all 3 (ubuntu, macos, windows) virtual environments.

- On ubuntu it adds the erlang-solutions debian repository to the system and installs the latest available version of the specified major version.
- On macos it uses homebrew to download and install the latest available version of the specified major version.
- On windows it downloads the latest available installer for the specified major version and installs it on the system and in the PATH.

_(rebar3 will always be installed with the latest available version.)_

_(The action is tested in a workflow using Erlang/OTP 22, 23 on all operating systems [ubuntu-latest, macos-latest, windows-latest] with content caching both on and off.)_

## Inputs

- **otp-version** (required) - The **major** Erlang/OTP version to install (eg.: 23).
- **allow-cache** - Whether to cache downloaded content between runs (currently only affects actions running on windows). Default `true`.

**IMPORTANT**: Content caching is optional but **it uses the repository cache which is limited at the moment (check out [@actions/cache](https://github.com/actions/toolkit/tree/main/packages/cache))!** Caching between runs currently only affects windows and it improves execution time by ~ 2 mins.

## Examples

@context
```yml
on:
  push:
    branches: [ master ]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: bajankristof/setup-erlang@master
      with:
        otp-version: 23
        allow-cache: false
    - uses: actions/checkout@v2
    - run: rebar3 eunit
```

repository: bajankristof/setup-erlang

repo_name: bajankristof/setup-erlang


text:
#RaspberryPi TV
---------------
This project was born during a workshop given at [Lamba Labs - Beirut Hacker Space](http://lambalabs.org/) and it was announced during the [Google IO Extend Beirut 2013 Event](https://plus.google.com/u/0/events/cp2togh80nq76q6p301ed3vkodo) Organized by [GDG-Beirut](https://plus.google.com/u/0/102062106640051908932)

![alt text](http://blog.donaldderek.com/wp-content/uploads/2013/06/front_end_raspberry_pi_tv.png "RaspberryPi TV")

Find the orignal post on my [blog](http://blog.donaldderek.com/2013/06/build-your-own-google-tv-using-raspberrypi-nodejs-and-socket-io/)

Special Thanks to Geek Friends [kamicut](https://github.com/kamicut), [emile818](https://github.com/emile818), [tUrG0n](https://github.com/tUrG0n), [Link](https://github.com/Link-), [rhamzeh](https://github.com/rhamzeh) and [acrylc](https://github.com/acrylc) for their constant support and motivation.

##Interesting Forks
-------------------
[Node-mc](https://github.com/dogonthehorizon/node-mc) By [Fernando Freire](https://github.com/dogonthehorizon/)

##License
----------

Copyright (c) 2013, Donald Derek

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

repository: Faeranne/RaspberryPiTV

repo_name: Faeranne/RaspberryPiTV


text:
# Roadmap

1. Split sdf into multiple packages:
	- sdf: SDF primitives (ie- things with real eval functions)
	- obj: useful higher-level objects made from primitives
	- render: functions that render SDFs to various output formats

2. Cleanup the the public API -- the sdf package should be clean with a stable API:
	- Make private things not needed externally.
	- Make public things needed by external shape libraries or renderers.

3. Clean up error handling:
	- Remove panics as a consequence of invalid function input. They should be error returns from functions.
	- Return errors in places they are currently printed.

repository: stevegt/sdfx

gha_language: Go

repo_name: stevegt/sdfx


text:
---
title: starting to code game for scratch
layout: post
author: mikhail.tariq
permalink: /starting-to-code-game-for-scratch/
source-id: 1RyfXjfPdTi3geSBh1TD2ld1C6NMVd44dUeCTXI41W_0
published: true
---

    Title
     Starting to code game for scratch
    Date
     17/01/18

    Starting point:
     Log in and go to planning sheet for game

    Target for this lesson?
     To start basic code for game

    Did I reach my target?
     Yes and I thought of adding a scrolling background

    How did you use your learning habits this week?

    Persevering

    Questioning?
    I questioned myself whether to draw my own sprites or to use already made sprites.

    Independence
    I only required help in making a scrolling background

    Reflecting
    I used my knowledge of coding we did in previous lessons

    Engagement
    I engaged in the topic with questions about the background.

    What could have gone better in your learning?

The parts of coding which took too long should have been quicker and avoiding the silly little mistakes in coding blocks to program each sprite.

    What changes do you need to make to improve your learning next time?

I could have used different and easier ways of coding different pieces where in places it would have been much more efficent to use maybe only one or two pieces of coding blocks and attached others to one to make the different parts quicker.


text:
# Network_Cores
C++ Algorithms for network core extraction/k-core/M-core/GK-core/Weak core and related observables

Author: Bernat Corominas-Murtra (2021)

Based on the following Bibliography

*K-core:

	K-core organization of complex networks
   	S.N. Dorogovtsev, A.V. Goltsev, J.F.F. Mendes
	Phys. Rev. Lett. 96, 040601 (2006)

*Generalized K-core:

	Detection of the Elite Structure in a Virtual Multiplex Social System by Means of a Generalised K-Core
   	B. Corominas-Murtra, B. Fuchs, S. Thurner PloS one 9 (12), e112606 (2014)

*M-core:

	Deciphering the global organization of clustering in real complex networks
	Pol Colomer-de-Simón, M. Ángeles Serrano, Mariano G. Beiró, J. Ignacio Alvarez-Hamelin & Marián Boguñá
	Scientific Reports 3, Article number: 2517 (2013)

*Weak Core & Core_Cluster

	The weak core and the structure of elites in social multiplex networks
	B. Corominas-Murtra and S. Thurner
	Springer Complexity: Interconnected Networks, Chapter 10, (2015)
	ArXiv preprint: https://arxiv.org/abs/1412.6913

****Contents

Header Cores_subgraph.h includes:

    Graph connected Component structure

    K-core

    Generalized K-core

    M-core

    Weak Core

    Core Clusters (MCore of GKcore)

    KCoreness

    GKCoreeness

    Mcoreness

main.cpp includes an example of computation of the above core subgraph-related observables. Some example networks are provided in order to test the algorithms.

***WARNING

	    GKCoreeness	may be time expensive in dense and massive graphs with strong hubs


text:
---
layout: post
title: "Big-Data Clustering: K-Means or K-Indicators?"
date: 2019-06-03 17:30:24
categories: arXiv_CV
tags: arXiv_CV
author: Feiyu Chen, Yuchen Yang, Liwei Xu, Taiping Zhang, Yin Zhang
mathjax: true
---

* content
{:toc}

##### Abstract
The K-means algorithm is arguably the most popular data clustering method, commonly applied to processed datasets in some "feature spaces", as is in spectral clustering. Highly sensitive to initializations, however, K-means encounters a scalability bottleneck with respect to the number of clusters K as this number grows in big data applications. In this work, we promote a closely related model called K-indicators model and construct an efficient, semi-convex-relaxation algorithm that requires no randomized initializations. We present extensive empirical results to show advantages of the new algorithm when K is large. In particular, using the new algorithm to start the K-means algorithm, without any replication, can significantly outperform the standard K-means with a large number of currently state-of-the-art random replications.

##### Abstract (translated by Google)

##### URL
[http://arxiv.org/abs/1906.00938](http://arxiv.org/abs/1906.00938)

##### PDF
[http://arxiv.org/pdf/1906.00938](http://arxiv.org/pdf/1906.00938)


text:
---
title: "Creating the Run in Postman button"
page_id: "creating_run_button"
warning: false

---

The Run in Postman button is a way to [share your Postman Collection](https://learning.getpostman.com/docs/postman/collections/sharing_collections/) and integrate your API documentation or developer portal directly with the Postman app. Keep in mind, Run in Postman works well with API description formats like Swagger and RAML too. Just convert your file to a collection by [importing it into Postman](https://learning.getpostman.com/docs/postman/collections/data_formats/).

The Run in Postman button imports and opens a collection of API endpoints directly in the user’s Postman app. You can embed the button in your API documentation or your GitHub's README to help developers get up to speed on your API faster.

### Creating the Run in Postman button

To create the Run in Postman button, start in the Postman app. Make sure you are signed in to your Postman account, and that you have a collection to share.

1.  Click on the ellipsis **(...)** next to the collection you would like to embed and select "Share".

    [![share collection](https://assets.postman.com/postman-docs/shareCollectionDropdown.png)](https://assets.postman.com/postman-docs/shareCollectionDropdown.png)

2.  Under the **Embed Button** tab, click the **Generate Code** button to upload the collection to the Postman servers.

    [![generate code](https://cloud.githubusercontent.com/assets/681190/18238175/cb547d0a-7357-11e6-8aa3-89e05ad89172.png)](https://cloud.githubusercontent.com/assets/681190/18238175/cb547d0a-7357-11e6-8aa3-89e05ad89172.png)

3.  Pick whether you would like a Dynamic button or a Static button.

  *   The Dynamic button uses HTML and CSS, and works well if you want to add the button to your own website and you have permissions to edit the source code of the site.
  *   The Static button uses Markdown, and works well if you need to add the button to a markdown document, such as a README.md file in your Github or Bitbucket repository.

      [![run in postman button code](https://cloud.githubusercontent.com/assets/681190/18238097/ce9f391a-7356-11e6-8600-6896b8957b7e.png)](https://cloud.githubusercontent.com/assets/681190/18238097/ce9f391a-7356-11e6-8600-6896b8957b7e.png)

Here’s an example markdown snippet:

```
[![Run in Postman](https://run.pstmn.io/button.svg)](https://www.getpostman.com/run-collection/:collection_id)
```

Here’s an example HTML snippet:

```
<a href="https://www.getpostman.com/run-collection/:collection_id" target="_blank"><img src="https://run.pstmn.io/button.svg" alt="Run in Postman"></a>
```

The `:collection_id` is a placeholder here and will be auto-filled in the markdown snippet.

Embed this button on your documentation pages or your GitHub repo’s README for the API.


text:
# VGGish: A VGG-like audio classification model

This repository provides a VGGish model, implemented in Keras with tensorflow backend (since `tf.slim` is [deprecated](https://github.com/tensorflow/tensorflow/issues/16182#issuecomment-372397483), I think we should have an up-to-date interface). This repository is developed
based on the model for [AudioSet](https://research.google.com/audioset/index.html).
For more details, please visit the [slim version](https://github.com/tensorflow/models/tree/master/research/audioset).

## Install

```bash
pip install vggish-keras
```
Weights will be downloaded the first time they are requested. You can also run `python -m vggish_keras.download_helpers.download_weights` which will download them.

## Usage
Basic - simple & efficient method:
```python
import librosa
import numpy as np
import vggish_keras as vgk

# loads the model once and provides a simple function that takes in `filename` or `y, sr`
compute = vgk.get_embedding_function(hop_duration=0.25)
# model, pump, and sampler are available as attributes
compute.model.summary() # take a peak at the model

# compute from filename
Z, ts = compute(librosa.util.example_audio_file())

# compute from pcm
y, sr = librosa.load(librosa.util.example_audio_file())
Z, ts = compute(y=y, sr=sr)
```

Alternatives - using the under-the-hood helper functions:
```python
# get the embeddings - WARNING: it instantiates a new model each time
Z, ts = vgk.get_embeddings(librosa.util.example_audio_file(), hop_duration=0.25)

# create model, pump, sampler once and pass to vgk.get_embeddings
# - more typing :'(
model, pump, sampler = vgk.get_embedding_model(hop_duration=0.25)
Z, ts = vgk.get_embeddings(
    librosa.util.example_audio_file(),
    model=model, pump=pump, sampler=sampler)
```

Manually, using the keras model and pump directly:
```python
import librosa
import numpy as np
import vggish_keras as vgk

# define the model
pump = vgk.get_pump()
model = vgk.VGGish(pump)
sampler = vgk.get_sampler(pump)

# transform audio into VGGish embeddings
filename = librosa.util.example_audio_file()
X = np.concatenate([
    x[vgk.params.PUMP_INPUT]
    for x in sampler(pump(filename))])
Z = model.predict(X)

# calculate timestamps
ts = vgk.get_timesteps(Z, pump, sampler)
assert Z.shape == (13, 512)
```

## Reference:

* Gemmeke, J. et. al.,
  [AudioSet: An ontology and human-labelled dataset for audio events](https://research.google.com/pubs/pub45857.html),
  ICASSP 2017

* Hershey, S. et. al.,
  [CNN Architectures for Large-Scale Audio Classification](https://research.google.com/pubs/pub45611.html),
  ICASSP 2017

I include a weight conversion script in [download_helpers/convert_ckpt.py](https://github.com/beasteers/VGGish/blob/master/vggish_keras/download_helpers/convert_ckpt.py) which shows how I converted the weights from `.ckpt` to `.h5` for [those](https://github.com/DTaoo/VGGish/issues/6) that are interested.

## TODO
 - currently, parameters (sample rate, hop size, etc) can be changed globally via `vgk.params` - I'd like to allow for parameter overrides to be passed to `vgk.VGGish`
 - currently it relies on https://github.com/bmcfee/pumpp/pull/123. Once merged, remove custom github install location


text:
# ARMeasuringTape

This code demonstrates how to use ARKit to measure lengths.
![ARMeasuringTape is measuring](https://github.com/nguyenpham/ARMeasuringTape/blob/master/measuringtape.gif)

## Suppose:
Measure will always drop at 20 cm from the central point of the device (you may change that distance)

## Some interesting techniques the code uses:
- Detect a point which is 20 cm from the center of the device
- Create and layout an object (a box in this case) between two points
- Create dynamically the image for the measure

## Discusion:
### Limits
1) The device's camera cannot touch to object since it needs a distance for focusing (focus length)

2) iOS has not exact distance between the camera and a given object (deeply it uses only one camera to work with ARKit, thus it has no information about depth)

3) The user looks into 3D world and drop the measure via his 2D screen. The app has no idea which object he actually want to measure and how far (from the device) it is

Because of all above issues, the measure may "float" between the device and the object of measuring.
![Measure floats between phone and object](https://github.com/nguyenpham/ARMeasuringTape/blob/master/measure0.jpg)

### Accuracy
Accuracy is depended much on how parallell between measure and object, the angle of the phone and object to align two ends of the measure with the object (usually it is bad):
![Accuracy problem](https://github.com/nguyenpham/ARMeasuringTape/blob/master/measure1.jpg)

### Not good for measuring
1) short lengths / distances
2) far objects more than 20 cm from user's phone (we can increase that distance but it may reduce accuracy)
3) when ARKit tracking does not work well, say, in dark light, or the surface has not enough texture

### Good for measuring
1) when you don't have any physical measure ;)
2) to get quick estimate
3) not too short length objects

## Known problems
The measure uses an image to display marks and numbers. The size of that image is limited about 16384 pixels. Thus we limit the max length of the measure about 1.5m.
There are some solutions for measuring over that limit length.
1) Don't use image. We may use a colour or simple texture (has no mark / number) for the measure. It will be shown it as a tube / line. The number of length may be shown somewhere
2) Use multi measures, one after one

## Requirements

### Build

Xcode 9.0, iOS 11.0 SDK

### Runtime

iOS 11.0 + A9 processors (from iPhone 6s or iPad 2017)

Copyright (C) 2017 Softgaroo / Nguyen Hong Pham. All rights reserved.


text:
CiceroneDaggerDemo

This is a demo Android project showing how to use Cicerone and Dagger2 to build an instagram-like flow (an app with a BottomNavigation bar that stays visible as the user navigates, preserving the backstack of each tab individually).
This type of flow is particularly tricky to implement on Android, so these libraries take away a bit of the pain.

Links:

Text with a better explanation: https://medium.com/@yurimachioni/creating-an-instagram-like-flow-using-cicerone-and-dagger2-bottomnavigation-with-fragments-777771ff4401
(the code is also heavily commented)

Cicerone: https://github.com/terrakok/Cicerone
Dagger2: https://github.com/google/dagger


text:
---
aliases: Sentence Structure
---

## Sentence Structure

What are the parts of a sentence?

### Description

The simplest sentence structure in English includes a **subject** and an **action** word:

* The boy ran.

#### Subject

The **subject** is who or what the sentence is about. In these examples, the subject is bolded:

* **The boy** is running.
* **He** is running.

Subjects are typically noun phrases or pronouns. (See [Parts of Speach](figs-partsofspeech.md).) In the examples above, “the boy” is a noun phrase that has the noun “boy,” and “he” is a pronoun.

When the sentence is a command, in many languages it does not have a subject pronoun. People understand that the subject is “you.”

* Close the door.

#### Predicate

The predicate is the part of a sentence that tells something about the subject. It usually has a verb. (See [Verbs](figs-verbs.md).) In the sentences below, the subjects are “the man” and “he.” The predicates are in bold.

* The man is **strong**.
* He worked **hard**.
* He made **a garden**.

#### Compound Sentences

A sentence can be made up of more than one sentence. Each of the two lines below has a subject and a predicate and is a full sentence.

* He planted the yams.
* His wife planted the maize.

The compound sentence below contains the two sentences above. In English, compound sentences are joined with a conjunction such as “and,” “but,” or “or.”

* He planted the yams **and** his wife planted the maize.

#### Clauses

Sentences can also have clauses and other phrases. Clauses are like sentences because they have a subject and a predicate, but they do not normally occur by themselves. Here are some examples of clauses. The subjects are in bold, and the predicates are bolded.

* when **the maize** **was ready**
* after **she** **picked it**
* because **it** **tasted so good**

Sentences can have many clauses, and so they can become long and complex. But each sentence has to have at least one **independent clause**, that is, a clause that can be a sentence all by itself. The other clauses that cannot be sentences by themselves are called the **dependent clauses**. Dependent clauses depend on the independent clause to complete their meaning. The dependent clauses are bolded in the sentences below.

* **When the maize was ready**, she picked it.
* **After she picked it**, she carried it home and cooked it.
* Then she and her husband ate it all, **because it tasted so good**.

The following phrases can each be a whole sentence. They are the independent clauses from the sentences above.

* She picked it.
* She carried it home and cooked it.
* Then she and her husband ate it all.

#### Relative Clauses

In some languages, clauses can be used with a noun that is part of a sentence. These are called **relative clauses**.

In the sentence below, “the corn that was ready” is part of the predicate of the whole sentence. The relative clause “that was ready” is used with the noun “corn” to tell which corn she picked.

* His wife picked **the maize** **that was ready**.

In the sentence below “her mother, who was very annoyed” is part of the predicate of the whole sentence. The relative clause “who was very annoyed” is used with the noun “mother” to tell how her mother felt when she did not get any maize.

* She did not give any maize to **her mother**, **who was very annoyed**.

#### Translation Issues

* Languages have different orders for the parts of a sentence. (See [Information Structure](figs-infostructure.md).)
* Some languages do not have relative clauses, or they use them in a limited way. (See [Distinguishing versus Informing or Reminding](figs-distinguish.md).)

repository: mandolyte/uw-obsidian

repo_name: mandolyte/uw-obsidian


text:
---
layout: post
title: Hacknews2019-05-22新闻
category: Hacknews
tags: hacknews
keywords: hacknews
coverage: hacknews-banner.jpg
---

Hacker News 是一家关于计算机黑客和创业公司的社会化新闻网站，由保罗·格雷厄姆的创业孵化器 Y Combinator 创建。
与其它社会化新闻网站不同的是 Hacker News 没有踩或反对一条提交新闻的选项（不过评论还是可以被有足够 Karma 的用户投反对票）；只可以赞或是完全不投票。简而言之，Hacker News 允许提交任何可以被理解为“任何满足人们求知欲”的新闻。

## HackNews Hack新闻

- [Tanker: End-to-End Encryption SDK for JavaScript](https://github.com/TankerHQ/sdk-js)
- `油轮:JavaScript端到端加密SDK`
- [Samsung announces first 3nm PDK](https://www.anandtech.com/show/14333/samsung-announces-3nm-gaa-mbcfet-pdk-version-01)
- `三星发布首款3nm制程PDK`
- [Lenovo stole a fan's video to promote the foldable Motorola RAZR](https://www.engadget.com/2019/05/17/lenovo-motorola-razr-promo-video-stolen-waqar-khan/)
- `联想为了宣传可折叠的摩托罗拉RAZR，窃取了一名粉丝的视频`
- [Minimum Viable Phoenix](http://www.petecorey.com/blog/2019/05/20/minimum-viable-phoenix/)
- `最小可行的凤凰`
- [Economics journal only publishes results that are no big deal](https://www.vox.com/future-perfect/2019/5/17/18624812/publication-bias-economics-journal)
- `《经济学杂志》只发表没什么大不了的结果`
- [Creating and Using a Custom Linux Kernel on Guix System](https://www.gnu.org/software/guix/blog/2019/creating-and-using-a-custom-linux-kernel-on-guix-system/)
- `在Guix系统上创建和使用自定义Linux内核`
- [Danone asked its 100k employees to help run a multinational company](https://qz.com/work/1618038/danone-asked-100000-employees-to-help-run-a-multinational-company/)
- `达能要求其10万名员工帮助运营一家跨国公司`
- [Europe says 737-Max won't fly until it completes it own design review](https://www.bloomberg.com/news/articles/2019-05-07/europe-says-737-max-won-t-fly-until-its-design-review-complete)
- `欧洲方面表示，737-Max飞机在完成自己的设计评估之前不会飞行`
- [CDs Curated by Steve Jobs and the iPod Team (2016)](http://nobi.com/entry-1239.html)
- `史蒂夫·乔布斯和iPod团队策划的cd (2016)`
- [Most male managers are afraid to have one-on-one meetings with female employees](https://www.businessinsider.com/sheryl-sandberg-60-of-male-managers-unreasonably-avoid-women-2019-5)
- `大多数男性经理害怕与女性员工进行一对一的会面`
- [U.S. business contributes smallest share of federal taxes in a generation](https://www.bloomberg.com/news/articles/2019-05-20/u-s-business-contributes-smallest-share-of-taxes-in-generation)
- `美国企业缴纳的联邦税收在这一代人中所占比例最小`
- [ZetaSQL – A SQL Analyzer Framework from Google](https://github.com/google/zetasql)
- `一个来自谷歌的SQL分析器框架`
- [Debugging Firmware with GDB](https://interrupt.memfault.com/blog/gdb-for-firmware-1)
- `使用GDB调试固件`
- [Foreign Minister Taro Kono to ask media to switch order of Japanese names](https://www.japantimes.co.jp/news/2019/05/21/national/politics-diplomacy/foreign-minister-taro-kono-ask-media-switch-order-japanese-names/)
- `日本外相河野太郎要求媒体改变日本人名的顺序`
- [Bullshit I had to go through while organizing a software conference](https://notamonadtutorial.com/the-bullshit-i-had-to-go-through-while-organizing-a-software-conference-4de1225d0acb)
- `胡说，我在组织一个软件会议的时候不得不经历这些`
- [Turn an Excel file into a web application](https://keikai.io/blog/p/currency-exchange)
- `将Excel文件转换为web应用程序`
- [Car Owners Should Control Data Collected by Cars](https://www.nytimes.com/2019/05/20/opinion/car-repair-data-privacy.html)
- `车主应该控制汽车收集的数据`
- [Firefox 67: Dark Mode CSS, WebRender, and More](https://hacks.mozilla.org/2019/05/firefox-67-dark-mode-css-webrender/)
- `Firefox 67:暗模式CSS, WebRender等等`
- [The Troubled History of Psychiatry](https://www.newyorker.com/magazine/2019/05/27/the-troubled-history-of-psychiatry)
- `精神病学混乱的历史`
- [Ask HN: Biographies recommendations – both Westerner and Non-westerner](item?id=19968124)
- `问HN:传记推荐——包括西方人和非西方人`
- [It’s Game Time: Oculus Quest and Rift S Now Available](https://www.oculus.com/blog/its-game-time-oculus-quest-and-rift-s-now-available/)
- `游戏时间:Oculus Quest和Rift S现在可用`
- [Price Fixing: The Legal Argument That Could Destroy Uber](https://jalopnik.com/the-legal-argument-that-could-destroy-uber-1834790506)
- `定价:可能摧毁优步的法律论据`
- [The Lavish Roman Banquet: A Calculated Display Of Debauchery And Power](https://www.npr.org/sections/thesalt/2019/05/20/712772285/the-lavish-roman-banquet-a-calculated-display-of-debauchery-and-power)
- `奢华的罗马宴会:精心策划的放荡和权力的展示`
- [Announcing the new pricing plan for AWS Config rules](https://aws.amazon.com/about-aws/whats-new/2019/05/announcing-the-new-pricing-plan-for-aws-config-rules/)
- `宣布AWS配置规则的新定价计划`
- [Scale AI is hiring engineers to empower AI to eat software](https://scale.ai/about#jobs)
- `Scale AI正在雇佣工程师，授权AI吃软件`
- [Show HN: Empirical – a language for time-series analysis](https://www.empirical-soft.com/)
- `Show HN:一种用于时间序列分析的语言`
- [Antergos Linux Project Ends](https://antergos.com/blog/antergos-linux-project-ends/)
- `Antergos Linux项目结束`
- [Get Started with 6502 Assembly Programming on Atari Lynx](https://atarigamer.com/articles/get-started-with-6502-assembly-programming-on-atari-lynx)
- `从Atari Lynx上的6502汇编编程开始`
- [GiveCampus (YC S15) Wants Engineers in DC Who Care about Education](https://www.givecampus.com/careers#engineering)
- `GiveCampus (YC S15)希望华盛顿的工程师们关心教育`
- [Set Theory and Foundations of Mathematics](http://settheory.net/)
- `集合论与数学基础`
- [Object-oriented code in F# (2012)](https://fsharpforfunandprofit.com/posts/completeness-anything-csharp-can-do/)
- `f#(2012)中的面向对象代码`
- [Lisp in Web-Based Applications (2001)](http://lib.store.yahoo.net/lib/paulgraham/bbnexcerpts.txt)
- `基于web的应用程序中的Lisp (2001)`
- [Pythia: Open-source framework for multimodal AI models](https://code.fb.com/ai-research/pythia/)
- `Pythia:多模式人工智能模型的开源框架`
- [Always-On Work Culture Creating ‘Broken’ People, Says Reddit Co-Founder](https://www.wsj.com/articles/always-on-work-culture-creating-broken-people-says-reddit-co-founder-11558464608)
- `Reddit的联合创始人说，总是不停工作的文化造就了“破碎”的人`
- [Ask HN: Blogs about Being CTO/Head of/Lead Dev?](item?id=19973875)
- `问HN:关于担任CTO/Head /Lead Dev的博客?`
- [Integrated Circuits Can Be Easy to Understand with the Right Teachers](https://hackaday.com/2019/05/20/integrated-circuits-can-be-easy-to-understand-with-the-right-teachers/)
- `集成电路可以很容易理解与正确的老师`
- [Procrastination is not a time management problem. It is an emotion](https://cognitiontoday.com/2019/05/you-procrastinate-because-of-emotions-not-laziness-regulate-them-to-stop-procrastinating/)
- `拖延不是一个时间管理的问题。它是一种情感`
- [Ask HN: Is the “The Art of Computer Programming” Worth the Investment?](item?id=19976957)
- `问HN:“计算机编程的艺术”是否值得投资?`
- [Alan Kay and Missing Messages](https://ovid.github.io/articles/alan-kay-and-missing-messages-a-follow-up.html)
- `艾伦·凯和丢失的信息`
- [Free Wolfram Engine for Developers](https://blog.stephenwolfram.com/2019/05/launching-today-free-wolfram-engine-for-developers/)
- `为开发者提供免费的Wolfram引擎`
- [CircuitHub Is Hiring PCB Production Engineers in London](https://circuithub.com/careers)
- `circuit ithub正在伦敦招聘PCB生产工程师`
- [Research advance leads to production of more than 250k chips embedded in fibers](http://news.mit.edu/2019/fabrics-new-software-0522)
- `研究的进展导致生产超过250k芯片嵌入纤维`
- [Privacy Preserving Ad Click Attribution for the Web](https://webkit.org/blog/8943/privacy-preserving-ad-click-attribution-for-the-web/)
- `隐私保护广告点击属性为Web`
- [Getting my personal data out of Facebook](https://ruben.verborgh.org/facebook/)
- `从Facebook上获取我的个人数据`
- [A new core playlist for VLC 4](https://blog.rom1v.com/2019/05/a-new-core-playlist-for-vlc-4/)
- `一个新的核心播放列表为VLC 4`
- [Technical Debt](https://martinfowler.com/bliki/TechnicalDebt.html)
- `技术债务`
- [Tor Browser 8.5](https://blog.torproject.org/new-release-tor-browser-85)
- `Tor浏览器8.5`
- [Linux apps that run anywhere](https://appimage.org/)
- `运行在任何地方的Linux应用程序`
- [Viruses Can Scatter Their Genes Among Cells and Reassemble](https://www.quantamagazine.org/viruses-can-scatter-their-genes-among-cells-and-reassemble-20190521/)
- `病毒可以将它们的基因分散到细胞中并重新组装`
- [Implementing a Convolutional Neural Network from Scratch in Python](https://victorzhou.com/blog/intro-to-cnns-part-1/)
- `在Python中从头实现卷积神经网络`
- [Firefox 67.0 Released](https://www.mozilla.org/en-US/firefox/67.0/releasenotes/)
- `Firefox 67.0发布`
- [A Solution for Loneliness: Get out and volunteer, research suggests](https://www.scientificamerican.com/article/a-solution-for-loneliness/)
- `研究表明，解决孤独的方法:出去做志愿者`
- [Fundamentals of Product-Market Fit](https://www.holloway.com/s/rvc-fundamentals-of-product-market-fit)
- `产品市场匹配的基础`
- [Qualcomm Tumbles After Losing U.S. Antitrust Ruling](https://www.bloomberg.com/news/articles/2019-05-22/qualcomm-shares-drop-after-company-loses-u-s-antitrust-ruling)
- `高通在输掉美国反垄断裁决后陷入困境`
- [Apple introduces 8-core MacBook Pro](https://www.apple.com/newsroom/2019/05/apple-introduces-first-8-core-macbook-pro-the-fastest-mac-notebook-ever/)
- `苹果推出8核MacBook Pro`
- [A guide to pricing and hedging (2003) [pdf]](https://ieor.columbia.edu/files/seasdepts/file_attach/BoysGuide.pdf)
- `定价及对冲指引(2003)[pdf]`
- [Fingerprinting iPhones](https://www.schneier.com/blog/archives/2019/05/fingerprinting_7.html)
- `指纹识别iphone`
- [Facebook and Google pressured EU experts to soften fake news regulations](https://www.opendemocracy.net/en/facebook-and-google-pressured-eu-experts-soften-fake-news-regulations-say-insiders/)
- `Facebook和谷歌向欧盟专家施压，要求他们软化假新闻监管`
- [Morgan Stanley Slashes Worst-Case Price for Tesla to $10](https://www.bloomberg.com/news/articles/2019-05-21/tesla-bear-case-price-cut-to-10-at-morgan-stanley-on-weak-sales)
- `摩根士丹利(Morgan Stanley)将特斯拉的最坏情况价格下调至10美元`
- [Urban-Rural Divide in American Politics](https://www.nytimes.com/2019/05/21/upshot/america-political-divide-urban-rural.html)
- `美国政治中的城乡分化`
- [The Dark Forest Theory of the Internet](https://onezero.medium.com/the-dark-forest-theory-of-the-internet-7dc3e68a7cb1)
- `互联网的黑暗森林理论`
- [A Revolution in Your Pocket](https://rbs.io/2019/05/a-revolution-in-your-pocket/)
- `口袋里的革命`
- [A Major U.S. Utility Is Closing Its Coal-Fired Power Plants a Decade Early](https://e360.yale.edu/digest/a-major-u-s-utility-is-closing-its-coal-fired-power-plants-a-decade-early)
- `美国一家大型公用事业公司提前10年关闭了其燃煤发电厂`
- [Europe Lacks Female Founders and Other Takeaways from the Global Report](https://www.entrepreneur.com/article/333921)
- `在这份全球报告中，欧洲缺乏女性创始人和其他重要信息`
- [Raytheon discloses future lasers that can stop hypersonic missiles](https://defence-blog.com/army/raytheon-discloses-future-lasers-that-can-stop-hypersonic-missiles.html)
- `雷神公司公布了未来能够阻止高超音速导弹的激光`
- [HongMeng OS Is Huawei’s Alternative to Android (Rumor)](https://www.cnx-software.com/2019/05/21/hongmeng-os-is-huaweis-alternative-to-android-rumor/)
- `宏盟操作系统是华为Android的替代品(传言)`
- [ARM memo tells staff to stop working with Huawei](https://www.bbc.com/news/technology-48363772)
- `ARM备忘录要求员工停止与华为合作`
- [Two women programmers played a pivotal role in the birth of chaos theory](https://www.quantamagazine.org/hidden-heroines-of-chaos-ellen-fetter-and-margaret-hamilton-20190520/)
- `两位女程序员在混沌理论的诞生中发挥了关键作用`
- [The Success of Nonviolent Civil Resistance](https://www.nonviolent-conflict.org/resource/success-nonviolent-civil-resistance/)
- `非暴力抵抗的成功`
- [When Boris Yeltsin Went Grocery Shopping in Clear Lake](https://www.nhregister.com/neighborhood/bayarea/news/article/When-Boris-Yeltsin-went-grocery-shopping-in-Clear-5759129.php#photo-6130393)
- `当鲍里斯·叶利钦去清湖购物时`
- [SaBRe: Modular load-time selective binary rewriter](https://github.com/srg-imperial/SaBRe#readme)
- `模块加载时选择二进制重写器`
- [GFWaaS – Make Your Website Work in China](https://gfwaas.github.io/)
- `GFWaaS -让您的网站在中国工作`
- [Gmail really wants me to say yes](https://abe-winter.github.io/2019/05/21/yes-gmail-yes.html)
- `Gmail真的想让我答应`
- [Kite Plans](http://www.kiteplans.org/)
- `风筝的计划`
- [Self-driving trucks begin mail delivery test for U.S. Postal Service](https://www.reuters.com/article/us-tusimple-autonomous-usps/self-driving-trucks-begin-mail-delivery-test-for-u-s-postal-service-idUSKCN1SR0YB)
- `自动驾驶卡车开始为美国邮政服务进行邮件投递测试`
- [I don't know how CPUs work so I simulated one in code](https://djhworld.github.io/post/2019/05/21/i-dont-know-how-cpus-work-so-i-simulated-one-in-code/)
- `我不知道cpu是如何工作的，所以我用代码模拟了一个`
- [When Nobody Shows Up to My Conference Talk](http://davidbisset.com/when-nobody-shows-up-to-my-conference-talk/)
- `当没人来听我的会议演讲时`
- [Python built-ins worth learning](https://treyhunner.com/2019/05/python-builtins-worth-learning/)
- `Python内置程序值得学习`
- [Five Hundred and Seven Mechanical Movements](http://507movements.com)
- `五百零七个机械动作`
- [Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains](https://github.com/cloudkj/scar)
- `Show HN: Scar -使用HTTPS、全局CDN和自定义域的静态网站`
- [CQRS and Event Sourcing Intro for Developers](https://altkomsoftware.pl/en/blog/cqrs-event-sourcing/)
- `为开发人员提供CQRS和事件源介绍`
- [QEMU 4.0 adds micro:bit emulation support](https://www.qemu.org/2019/05/22/microbit/)
- `QEMU 4.0增加了对micro:bit仿真的支持`
- [Hobbling Huawei: Inside the U.S. war on China’s tech giant](https://www.reuters.com/investigates/special-report/huawei-usa-campaign/)
- `步履蹒跚的华为:美国内部对中国科技巨头的战争`
- [A man who is ageing too fast](https://mosaicscience.com/man-who-aging-fast-werner-syndrome-japan-epigenome-epigenetics)
- `一个老得太快的男人`
- [SmartAsset (YC S12) Is Hiring a Senior Software Engineer in NYC](https://smartasset.com/careers/?gh_jid=4049845002)
- `SmartAsset (YC S12)正在纽约招聘一名高级软件工程师`
- [Notifying administrators about unhashed password storage](https://cloud.google.com/blog/products/g-suite/notifying-administrators-about-unhashed-password-storage)
- `通知管理员解除密码存储`
- [The Most Expensive Lesson of My Life: Details of SIM Port Hack](https://medium.com/coinmonks/the-most-expensive-lesson-of-my-life-details-of-sim-port-hack-35de11517124)
- `我人生中最昂贵的一课:SIM卡端口被黑的细节`
- [African samurai: The enduring legacy of a black warrior in feudal Japan](https://edition.cnn.com/2019/05/19/asia/black-samurai-yasuke-africa-japan-intl/index.html)
- `非洲武士:封建日本黑人武士的不朽遗产`
- [Go is Google’s language, not the community’s](https://utcc.utoronto.ca/~cks/space/blog/programming/GoIsGooglesLanguage)
- `Go是谷歌的语言，而不是社区的语言`
- [SafetyWing (YC W18) Is Hiring a Front End Engineer (Remote)](https://remoteok.io/remote-jobs/72926-remote-front-end-developer-for-safetywing-yc-w18-safetywing)
- `SafetyWing (YC W18)现招聘前端工程师(Remote)`
- [DeleteFB: Selenium script to delete all of your Facebook wall posts](https://github.com/weskerfoot/DeleteFB)
- `DeleteFB: Selenium脚本，用于删除所有Facebook墙帖`
- [A Survey of Symbolic Execution Techniques (2018)](https://arxiv.org/abs/1610.00502)
- `符号执行技术综述(2018)`

## HackShows Hacks展示

- [ ZenHub Workspaces – Flexible project management workflows inside GitHub](https://www.zenhub.com/blog/announcing-zenhub-workspaces-personalized-workflows-for-every-team/)
- `ZenHub工作区——GitHub内部灵活的项目管理工作流`
- [ Tree-Sitter Support for VSCode](https://marketplace.visualstudio.com/items?itemName=georgewfraser.vscode-tree-sitter)
- `树状结构对VSCode的支持`
- [ Django/gevent view to download PostgreSQL table as CSV in single query](https://gist.github.com/michalc/80ebd31dcb75cf805bb5d956c2cad6ea)
- `Django/gevent视图，在单个查询中以CSV格式下载PostgreSQL表`
- [ Feather Bubble – interactive children’s stories](https://www.featherbubble.com)
- `羽毛泡泡-互动儿童故事`
- [ Proseful – A simple, beautiful and free blogging platform](https://proseful.com)
- `一个简单，美丽和免费的博客平台`
- [ Oya – New projects set up lightning fast](https://oya.sh/)
- `Oya -新项目闪电般地启动`
- [ I learnt to code to build a BBC radio time-synced to US time](https://github.com/misteridiot/humphry)
- `我学会了编写代码来创建一个与美国时间同步的BBC广播时间`
- [ AI environment for artificial code generation (metaprogramming)](https://github.com/gsurma/meta_intelligence)
- `人工代码生成的AI环境(元编程)`
- [ GitHub Actions for GitHub Pages with Static Site Generators](https://github.com/peaceiris/actions-gh-pages)
- `使用静态站点生成器的GitHub页面的GitHub操作`
- [ Reinforcement Learning – DQN Tutorial](https://www.youtube.com/watch?v=4Xj3la71dB0&feature=youtu.be)
- `强化学习- DQN教程`
- [ House Prices in England by Postcode](https://quicksold.co.uk/house-prices)
- `英国房价的邮政编码`
- [ Link Drop – Daily newsletter of your bookmarks](http://linkdrop.co)
- `链接下拉-每日通讯的书签`
- [ Turn an Excel file into a web application](https://keikai.io/blog/p/currency-exchange)
- `将Excel文件转换为web应用程序`
- [ A better way to stay on top of SEC filings](https://news.ycombinator.com/item?id=19973313)
- `一个更好的方法来保持在美国证券交易委员会的文件`
- [ A simple CMS side project built with Golang](https://www.wemebox.com/)
- `一个简单的CMS侧项目与Golang建立`
- [ Quick and easy PHP Google/MS SSO integration for your web application](https://github.com/AndrewRose/oauth.php)
- `快速和简单的PHP谷歌/MS SSO集成为您的web应用程序`
- [ Empirical – a language for time-series analysis](https://www.empirical-soft.com/)
- `一种用于时间序列分析的语言`
- [ C++ Consul integration for oat++ applications](https://github.com/oatpp/oatpp-consul)
- `用于oat++应用程序的c++领事集成`
- [ Software Buyers Council](https://www.softwarebuyers.io/)
- `软件买家委员会`
- [ Developer jobs at Japan's best tech companies](https://japan-dev.com)
- `日本最好的科技公司都有开发人员的工作`
- [ Scar – Static websites with HTTPS, a global CDN, and custom domains](https://github.com/cloudkj/scar)
- `Scar -使用HTTPS、全局CDN和自定义域的静态网站`
- [ Points, Halftone Image Generator](https://github.com/borud/points)
- `点，半色调图像发生器`
- [ Clubman – a booking platform for ski clubs](https://clubman.app)
- `Clubman—为滑雪俱乐部提供预订平台`
- [ VPN on private servers WireGuard and IPSec $0.99 first month](https://www.tunnelhero.com/)
- `VPN在私人服务器上的WireGuard和IPSec $0.99第一个月`
- [ Help wanted – Collect issues on GitHub tagged with help-wanted](https://oo.t9t.io/help-wanted)
- `帮助招募-在GitHub上收集带有帮助招募标签的问题`
- [ A weekly email for busy people who care about augmented reality](https://ar-weekly.blog)
- `每周给那些关心增强现实的忙碌人士发一封电子邮件`
- [ The Cyber Plumber's Handbook – SSH Tunnel Like a Boss](https://news.ycombinator.com/item?id=19946941)
- `网络水管工手册- SSH隧道像老板一样`
- [ Coffee Grind Size Chart Generator](https://honestcoffeeguide.com/guides/coffee-grind-size-chart/)
- `咖啡研磨大小图表生成器`
- [ Founder's Mastermind Segmented by MRR](https://tuemilio.com/founders-mastermind)
- `创始人的策划者由MRR分割`
- [ Awsdyndns – Roll your own dyndns usinig Route53 and Go](https://github.com/jsfour/awsdyndns)
- `滚你自己的dyndns usinig路由53和去`
- [ Python 3 TSP solver without dependencies](https://github.com/dimitrovskif/elkai)
- `没有依赖关系的Python 3 TSP求解程序`
- [ UXY – adding structure to Unix tools](https://github.com/sustrik/uxy)
- `向Unix工具添加结构`
- [ Ive created a new type of puzzle game, hybrid of minesweeper and memory](https://microtaur.com/isitsafe)
- `我创造了一种新的益智游戏，混合了扫雷和记忆`
- [ Ryeboard – Part virtual board, part cloud-storage](https://www.ryeboard.com/)
- `Ryeboard -部分虚拟板，部分云存储`
- [ Devilbox 1.0.2 released – the last Docker dev env you'll ever need](https://devilbox.discourse.group/t/devilbox-v1-0-2-released/140)
- `发布了Devilbox 1.0.2——您需要的最后一个Docker dev env`
- [ Online Coaching Made Simple](https://vrtlly.me/)
- `在线辅导变得简单`
- [ New Clojure Book for Beginners: Get Programming with Clojure](https://www.manning.com/books/get-programming-with-clojure?a_aid=viebel&a_bid=399d9d64)
- `面向初学者的新Clojure书籍:使用Clojure编程`
- [ WordPress on AWS interactive architecture diagram](https://app.ilograph.com/demo.ilograph.WordPress%2520on%2520AWS)
- `AWS交互架构图上的WordPress`
- [ MemoLock – Distributed Caching with Promises](https://github.com/kristoff-it/redis-memolock)
- `MemoLock -带有承诺的分布式缓存`


text:
# Reinforcement Learning for Process Optimization

We use reinforcement learning techniques to optimize continuum controls over chemical systems
modelled via ODE systems. The controls are free parameters of the ODE system and the reward
is a variable of the system after some time of evolution of the system, which represents a byproduct of the chemical reaction.

## ODE systems models

ODE systems represent an approximation of real-word chemical systems.
Here we study an approach to optimize the controls of a system over a simple ODE model to later ease the study of optimal controls over a more complex yet closely related ODE model.

The objective is to find the optimal controls _U₁_(t) and _U₂_(t) contrained to the interval [0, 5] that maximize the final value of the byproduct _y₂_ at the end of the time span _t_ ∈ (0, 1).

The initial state is fixed: _y₁_ = 1, _y₂_ = 0.

### Simple system

[//]: # "funny syntax for comments in markdown"

![\dot{y_1} = -(U_1 + \alpha  U_1 ^ 2)  y_1 + \omega  U_2](https://latex.codecogs.com/svg.latex?%5Cdot%7By_1%7D%20%3D%20-%28U_1%20+%20%5Calpha%20U_1%20%5E%202%29%20y_1%20+%20%5Comega%20U_2)

![\dot{y_2} = (\beta  U_1 - \gamma  U_2)  y_1](https://latex.codecogs.com/svg.latex?%5Cdot%7By_2%7D%20%3D%20%28%5Cbeta%20U_1%20-%20%5Cgamma%20U_2%29%20y_1)

**Parameters**: α, β, γ, ω = 0.5, 1.0, 0.7, 0.5

### Complex system

![\dot{y_1} = -(U_1 + \alpha  U_2 ^ 2)  y_1 + \omega  U_2  y_2 / (y_1 + y_2)](https://latex.codecogs.com/svg.latex?%5Cdot%7By_1%7D%20%3D%20-%28U_1%20+%20%5Calpha%20U_2%20%5E%202%29%20y_1%20+%20%5Comega%20U_2%20y_2%20/%20%28y_1%20+%20y_2%29)

![\dot{y_2} = (\beta  U_1 - \gamma  U_2)  y_1](https://latex.codecogs.com/svg.latex?%5Cdot%7By_2%7D%20%3D%20%28%5Cbeta%20U_1%20-%20%5Cgamma%20U_2%29%20y_1)

**Parameters**: α, β, γ, ω = 0.5, 1.0, 1.0, 1.0

## Policy gradients

We use the classic REINFORCE policy gradient algorithm with a baseline, and the recent Proximal Policy Optimization (PPO) variation, to optimize the controls via stochastic sampling of trayectories.
We use the Beta distribution to sample continuum controls to enforce interval constraints over the controls.

## Implementation details

* The evolution of the model between subsequent states corresponds to the integration of the ODE system over a fixed fraction of time.
* Each state is composed of the current ODE variables.
* Policies take states and return the mean and variance of a probability distribution over the possible continuous actions available at each time.
  * An affine Beta distribution over the acceptable interval U ∈ [0,5].
* Not too deep Neural Networks serve as policies.
  * Simple Neural Networks include in the states the time left until t=1.
  * Recurrent Neural Netwoks take previous hidden states instead.
* Several sampled episodes are used to estimate the policy gradient.
  * REINFORCE algorithm with mean reward baseline.
  * PPO with deviation from mean reward as advantage function.
* Starting policy is pretrained to follow a random Chebyshev polynomial on the mean with fixed variance.

A simple transfer learning technique is explored to leverage the inner weights of the policy learned in the simpler model to ease the training needed for the related but more complex model.

## Code execution

A conda environment file is provided for easy reproduction of results:
```
conda env create -f environment.yml
conda activate batch-reactor
```

Run `python src/main.py` to execute the whole logic (use `--help` for a list of available parameters):

* Pretrain policy to yield predefined function forms that satisfy the constraints.
* Train policy for large iterations over simpler model.
* Freeze inner weights of policies and retrain last layers with complex model with fewer iterations.

Relevant data and plots are stored in `results/_execution_datetime_/...`. Hyperparameters of the run are stored in a yaml config file inside.

Main parameters (more available in command line interface from `main.py`) are:

* method: 'ppo' or 'reinforce'
* episode-batch: number of sample episodes run to estimate loss function
* chained-steps: gradient descent steps taken after episode sampling (usually 1 for REINFORCE and ~3 for PPO)
* iterations: repetitions of sampling and optimize step

### Evolution of action distributions of sampled episodes

![Simple Model](https://user-images.githubusercontent.com/12092488/112073403-a5716180-8b39-11eb-8b1c-55932adb686f.gif)

![Complex Model](https://user-images.githubusercontent.com/12092488/112073235-4ad80580-8b39-11eb-9698-bf1bff7b8090.gif)

### Reward evolution

![Simple Model](https://user-images.githubusercontent.com/12092488/112073315-778c1d00-8b39-11eb-9ff5-0cf9717f782e.gif)

![Complex Model](https://user-images.githubusercontent.com/12092488/112073364-912d6480-8b39-11eb-850b-ebc642679180.gif)

**Kudos**: gifs made with the blazing-fast [gifski](https://github.com/ImageOptim/gifski) and transformed via [ImageOptim API](https://imageoptim.com/api/ungif)!

repository: tittuvmathew/REINFORCE-PSE

repo_name: tittuvmathew/REINFORCE-PSE


text:
OpenWhiteBox Generic
--------------------

This repository collects constructions and cryptanalyses of generic ciphers which are useful in the study of white-box
cryptography. All documentation is in godocs:
- [constructions/spn/](https://godoc.org/github.com/OpenWhiteBox/Generic/constructions/spn)
- [cryptanalysis/spn/](https://godoc.org/github.com/OpenWhiteBox/Generic/cryptanalysis/spn)

repository: OpenWhiteBox/Generic

repo_name: OpenWhiteBox/Generic


text:
# My portfolio
####  26/april/2020
#### By **Wyclif Ouma**
## Description
This is a portfolio projects based on my background and other things like my hobbies and skills learned and acquired will in the field of web development and programming.
## Setup/Installation Requirements
* clone project from github [https://github.com/Dj-gwadz/portfolio]
* navigate to the cloned project folder
* run portfolio.html on your browser
It usually works better using WI-FI and more experienced.
## Technologies Used
* CSS - to style web
* HTML - structure web page
### License
* MIT
Copyright (c) 2020 ** Wyclif Ouma **

repository: Dj-gwadz/portfolio

repo_name: Dj-gwadz/portfolio


text:
# ‘No Blackface Vancouver’ group wants Surrey theatre show cancelled

Published at: **2019-11-01T18:20:00+00:00**

Author: **Tom Zillich**

Original: [North Delta Reporter](https://www.northdeltareporter.com/news/no-blackface-vancouver-group-wants-surrey-theatre-show-cancelled/)

A group called No Blackface Vancouver is pushing operators of a Surrey theatre to cancel a touring show they say is racist.
Im Hussein: Double Trouble is scheduled to be performed at Surrey’s Bell Performing Arts Centre on Saturday, Nov. 2.
On Friday (Nov. 1), the Now-Leader received an emailed press release from No Blackface Vancouver.
“It has come to this group’s attention that the Bell Performing Arts Centre will host a play titled “Im Hussein Double Trouble” on Nov 2nd, 2019 at 8pm,” the release says. “We are organizing to request that Metro Vancouver communities move quickly to ensure that this play is not staged due to its clearly advertised use of: blackface; the perpetuation of racist, anti-Black, anti-African (anti-Nigerian) and Orientalist narratives and tropes; and the inappropriate use of stereotypically exaggerated African and Chinese costume.”

license: Unlicense

repository: dsadlollioygjmzvcxv/tdc-exported

repo_name: dsadlollioygjmzvcxv/tdc-exported


text:
![EGP](https://raw.githubusercontent.com/kechol/enhanced-github-projects/master/src/icon.png)

# Enhanced Github Projects

A chrome extension to enhance your GitHub Projects.

## Features

### Import issues to each column via search results

![Import issues](https://raw.githubusercontent.com/kechol/enhanced-github-projects/master/misc/images/import-issues.gif)

You can import issues to a column via search result. The query for imported issues will be `repo:[your/repo] no:project [your search query]`.

### Show story points and velocity chart

![Story point](https://raw.githubusercontent.com/kechol/enhanced-github-projects/master/misc/images/story-point-and-chart.png)

You can show your story points per issue on the top of each column. Also you can even show the velocity chart!
You can choose how to calculate the story points via EGP config menu. Currently it supports two options.

- Count by issue: Count each issue as one point
- Count by point on title: Count points based on `[Npt]` on each issue title

## How to use

1. Get your access token
   Please create your access token for GitHub API via https://github.com/settings/tokens/new . Please allow `repo` scope to the token.
   ![Access token](https://raw.githubusercontent.com/kechol/enhanced-github-projects/master/misc/images/access-token.png)

2. Put your access token via config menu
   ![Config](https://raw.githubusercontent.com/kechol/enhanced-github-projects/master/misc/images/egp-config.png)

3. All set!

## Known issues

- The story points cannot be updated when a card is archived from the project.
- Does not support organizational projects

## License

MIT

repository: kechol/enhanced-github-projects

repo_name: kechol/enhanced-github-projects


text:
Made by _Niladri Shekhar Dutt_, _Arko Chatterjee_, _Saurav Saha_, _Rounak Datta_
# SRM IET Hackathon 2018 | Team 10 - NightOwls

[Demo video](https://www.youtube.com/watch?v=aZzxZA_KfXY&feature=youtu.be)<br>

## Problem Statement

Often sensational news is created and spread through social media to achieve intended end. On the other hand, it may also involve narration of a true fact however being deliberately exaggerated. This may also affect the affect the importance of serious news media. The problem is to identify the authenticity of the news and online content. Equally important problem is to identify the bots involved in spreading false news.

![Alt Text](https://github.com/rounakdatta/Xcheck/blob/master/src/demo.gif)

### Approach
* The problem can be broken down into 3 statements :-

    1. Use NLP to check the authenticity of a news article.

    2. If the user has a query about the authenticity of a search query then he/she can directly search on our platform and using our custom algorithm we output a confidence score.

    3. Check the authenticity of a news source.

1. Articles can be analyzed by feeding them to a machine learning model (Passive Aggressive Classifier) which predicts the genuinity of the content after it's trained through predefined datasets of classified real vs fake news.
2. Search terms can be analyzed by doing a Google search (first 100 entries) and and ensuring if the news corresponding to the keywords have been covered by reliable news sources and aggregators. For every search term covered by a reliable news source it recieves a score of +1, while we heavily penalize fake sources. If multiple fake sources cover the news then we penalize the truth score even harder. We also look for keywords like 'hoax', 'fake', etc in the payload content.
3. An URL (news source) can be analyzed if it's authentic by checking it in our database of true news provider and false news provider.

### Application

When the fake-news detector is hosted locally / on a cloud platform, it can predict fake news with reasonable accuracy. Since edge cases of fake-news detection are controversial, the tool outputs a probability percentage instead of a rigid label.

### Usage

```bash
make
```

This will start the local server at localhost:8000.

_*Deps*: sklearn, pandas, django, requests, bs4_

![Alt Text](https://github.com/rounakdatta/Xcheck/blob/master/src/logo.png)

repository: arkochatterjee/X-check-fake-news

repo_name: arkochatterjee/X-check-fake-news


text:
# 1.2.0 - 21-9-2021
### Features

- handle mfa token race condition ([#22](https://github.com/mrchief/aws-creds-okta/issues22))

# 1.1.5 - 19-8-2021

## Features

- [#17](https://github.com/mrchief/aws-creds-okta/issues17) - Write aws config file to a temporary directory ([#20](https://github.com/mrchief/aws-creds-okta/issues20))

# 1.1.4 - 8-6-2021
### Bug Fixes

- Pin tokendito version ([#15](https://github.com/mrchief/aws-creds-okta/issues15))

# 1.1.3 - 9-10-2020
### Bug Fixes

- replace set-env with env file ([#13](https://github.com/mrchief/aws-creds-okta/issues13))

# 1.1.2 - 23-6-2020
### Bug Fixes

- Do not break lines since it causes intermittent errors ([#11](https://github.com/mrchief/aws-creds-okta/issues11))

# 1.1.1 - 19-6-2020
### Bug Fixes

- Retry tokendito only on errors due to used totp code ([#9](https://github.com/mrchief/aws-creds-okta/issues9))

# 1.1.0 - 11-6-2020
### Features

- Add retry logic for requesting okta credentials ([#5](https://github.com/mrchief/aws-creds-okta/issues5))

# 1.0.0 - 12-3-2020

## Changes

### Features

- Export temporary credentials as environment variables for subsequent steps

repository: tenwit/aws-creds-okta-action

repo_name: tenwit/aws-creds-okta-action


text:
---
title: Gus Mueller
summary: Founder, Flying Meat (VoodooPad, Acorn)
date: 2011-07-20
categories:
- developer
- mac
credits:
  name: Steve Weller
---

### Who are you, and what do you do?

My name is August "[Gus](http://shapeof.com/ "Gus' website.")" Mueller, and I'm the founder and programmer for [Flying Meat Inc](http://flyingmeat.com/ "Flying Meat's website."). We (including my wife, Kirstin) make [Acorn][] and [VoodooPad][] and [FlySketch][], which are all Mac applications.

### What hardware do you use?

I've got two setups - my office machine is a [Mac Pro][mac-pro] w/ Quad-Core 2.26 Xeon machine, with some big disks in it for [Time Machine][time-machine] and my home directory. I also use an Intel SSD for the the boot volume and also to build my projects to (it's fast!). I've got a 23" Cinema HD display as my main monitor and an old school 22" Apple [Cinema Display][cinema-display] with an ADC connector as my secondary display. I can't believe it's 8 years old and still kicking. I also use a [Logitech MX518 mouse][mx-518], and an [MS natural ergonomic keyboard][natural-ergonomic-keyboard-4000] - I can't live without a split keyboard and Microsoft has always made my favorites. I also have a [Line 6 TonePort][toneport-ux1] for recording my guitar, and a [Wacom Intuos][intuos] to use in Acorn. I made the desk it all sits on, since I'm a picky guy about some things.

My home machine is pretty similar - except it's a bit older and I have a 27" Cinema display as my main monitor and a [Wacom Cintiq][cintiq] as the secondary. Same keyboard, same mouse, and a slightly newer Line 6 TonePort for recording. I also made my home desk, but recently I ripped off the legs and put the top on a [GeekDesk][] frame which makes it an adjustable standing desk. It's pretty nice and I talk about it to my tech friends whenever I get a chance.

I also have a couple of [iPads][ipad], and usually whatever the latest iPhone is (which currently the [iPhone 4][iphone-4]).

### And what software?

[Acorn][], [VoodooPad][], [Xcode][], and [Safari][] are pretty much what I live in all day. [Apple Mail][mail], [Colloquy][], [iChat][], [Twitter][twitter-mac], and [JSTalk Editor][jstalk] are more likely to be open than not. When I need to touch up the website for something I'll launch [Coda][], and I also find myself in [Transmit][] quite a bit. [BBEdit][] is my text editor of choice and has been for 10+ years, but I'll use [SubEthaEdit][] now and again for various editing needs.

Things that are running in the background, which I never seem to think about are [LaunchBar][], [DropBox][], Time Machine, and [Backblaze][]. I also use [rsync][] every day to backup projects to a 3rd location. It pays to be paranoid about data, especially since my company is essentially built out of a bunch of text files and images.

### What would be your dream setup?

I really want the fastest machine possible, with lots of options for disk space. So if I could have a 13" MacBook Air which had the processing power of the fastest desktop machine, super big and super fast SSD's, and Thunderbolt ports which connected to my backup volumes and big displays (27" HighDPI monitors please!), I think I'd be in heaven. And while I'm at it - city wide gigabit wifi please. Then I could just take that machine to work or on the road, and not worry about having multiple machines. Some day, it'll happen.

[acorn]: https://flyingmeat.com/acorn/ "An image editor for the Mac."
[backblaze]: http://web.archive.org/web/20230716083556/https://www.backblaze.com/cloud-backup.html "Online backup."
[bbedit]: http://www.barebones.com/products/bbedit/ "A text editor for the Mac."
[cinema-display]: https://en.wikipedia.org/wiki/Apple_Cinema_Display "An LCD display."
[cintiq]: https://www.wacom.com/en-us/us/cintiq "A computer screen you can draw on."
[coda]: https://panic.com/coda/ "A single-window HTML/web tool for the Mac."
[colloquy]: https://colloquy.app/ "An IRC client for the Mac."
[dropbox]: https://www.dropbox.com/ "Online syncing and storage."
[flysketch]: https://flyingmeat.com/flysketch/ "A Mac illustration tool for sketching and annotating."
[geekdesk]: http://web.archive.org/web/20230601102958/https://www.geekdesk.com/ "An electronic, height-adjustable desk."
[ichat]: https://en.wikipedia.org/wiki/IChat "An AIM/Jabber client included with Mac OS X."
[intuos]: https://www.wacom.com/en-us/products/pen-tablets/wacom-intuos "A pen tablet."
[ipad]: https://www.apple.com/ipad/ "A tablet device."
[iphone-4]: https://en.wikipedia.org/wiki/IPhone_4 "A smartphone."
[jstalk]: https://www.jstalk.org/ "A Javascript-based Cocoa bridging language for Mac OS X."
[launchbar]: https://www.obdev.at/products/launchbar/index.html "An application launcher and data manager for the Mac."
[mac-pro]: https://www.apple.com/mac-pro/ "The Intel-based Mac tower computer."
[mail]: https://en.wikipedia.org/wiki/Mail_(application) "The default Mac OS X mail client."
[mx-518]: http://web.archive.org/web/20220628213631/https://www.amazon.com/Logitech-Performance-Optical-Gaming-Mouse/dp/B0007Z1M50 "An optical gaming mouse."
[natural-ergonomic-keyboard-4000]: https://www.microsoft.com/accessories/en-us/p/natural-ergonomic-keyboard-4000 "An ergonomic USB-based keyboard."
[rsync]: https://rsync.samba.org/ "An open-source file transfer/syncing tool."
[safari]: https://www.apple.com/safari/ "A fast web browser."
[subethaedit]: http://subethaedit.net/ "A collaborative text editor for the Mac."
[time-machine]: https://en.wikipedia.org/wiki/Time_Machine_(Mac_OS) "Backup software for the masses, included with Mac OS X 10.5."
[toneport-ux1]: https://line6.com/legacy/toneportux1 "A USB interface for guitars."
[transmit]: https://panic.com/transmit/ "An FTP/SFTP client for the Mac."
[twitter-mac]: https://apps.apple.com/us/app/twitter/id409789998 "A Mac client for Twitter."
[voodoopad]: http://web.archive.org/web/20190128001214/https://plausible.coop/voodoopad "Personal wiki software for the Mac."
[xcode]: https://en.wikipedia.org/wiki/Xcode "An IDE for Mac developers."

repository: waferbaby/usesthis

repo_name: waferbaby/usesthis


text:
# RvtCalc
Rocket Valley Tycoon Calculator

A simple calculator to work out resources required for the mobile game Rocket Valley Tycoon
https://play.google.com/store/apps/details?id=com.rocketcolastudio.rvtih&hl=en