[librdkafka] upgrade version up to 2.0.2

[x] Changes comply with the maintainer guide

[x] SHA512s are updated for each updated download

[x] The "supports" clause reflects platforms that may be fixed by this new version

[x] Any fixed CI baseline entries are removed from that file.

[x] Any patches that are no longer applied are deleted from the port's directory.

[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.

[x] Only one version is added to each modified port's versions file.

Thanks for your PR. Install new version of librdkafka[curl] failed with the following error, could you please fix it?
CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:135 (message):

  E:/Lily/librdka/downloads/tools/msys2/9a1ec3f33446b195/mingw32/bin/pkg-config.exe
  --exists rdkafka++ failed with error code: 1

      ENV{PKG_CONFIG_PATH}: "E:/Lily/librdka/packages/librdkafka_x64-windows/lib/pkgconfig;E:/Lily/librdka/packages/librdkafka_x64-windows/share/pkgconfig;E:/Lily/librdka/installed/x64-windows/lib/pkgconfig;E:/Lily/librdka/installed/x64-windows/share/pkgconfig"
      output: Package curl was not found in the pkg-config search path.

  Perhaps you should add the directory containing `curl.pc'

  to the PKG_CONFIG_PATH environment variable

  Package 'curl', required by 'rdkafka', not found

Other features passed with following triplets:
x86-windows
x64-windows
x64-windows-static

@LilyWangLL  try to backport https://github.com/confluentinc/librdkafka/pull/4180/files

done


How to sort column ASC order

You can click on the "sorting icon" near the title of the column and it will toggle between
ASC order, DESC order, and disable.
You can also provide custom sorting function (see the docs).
By the default, the columns are sortable in ASC order


403 when connecting to http://gateway.discord.gg/?v=10&encoding=json

Code: https://gist.github.com/Cyteon/cec1dfcf1d514c4c497c5b1c06484c0c
Log when connecting:
DEBG Requesting gateway
DEBG Creating builder
DEBG Calling user initializer
DEBG Builder init
DEBG Attempting handshake to http://gateway.discord.gg/?v=10&encoding=json
DEBG Making request to gateway.discord.gg at 80
DEBG Sent upgrade request, waiting 5000
EROR WebSocket handshake failed with status 403

i tried changing http to https, but that returns this:
DEBG Requesting gateway
DEBG Creating builder
DEBG Calling user initializer
DEBG Builder init
DEBG Attempting handshake to https://gateway.discord.gg/?v=10&encoding=json
Runtime terminating during boot ({{case_clause,{customize_hostname_check,[{match_fun,#Fun<public_key.6.75820660>}]}},[{'stratus@internal@socket','-convert_options/1-fun-0-',1,[{file,"/home/.../Desktop/SideProjects/discord_gleam/build/dev/erlang/stratus/_gleam_artefacts/stratus@internal@socket.erl"},{line,38}]},{'gleam@list',do_map,3,[{file,"/home/.../Desktop/SideProjects/discord_gleam/build/dev/erlang/gleam_stdlib/_gleam_artefacts/gleam@list.erl"},{line,139}]},{stratus,perform_handshake,3,[{file,"/home/.../Desktop/SideProjects/discord_gleam/build/dev/erlang/stratus/_gleam_artefacts/stratus.erl"},{line,480}]},{stratus,'-initialize/1-fun-12-',4,[{file,"/home/.../Desktop/SideProjects/discord_gleam/build/dev/erlang/stratus/_gleam_artefacts/stratus.erl"},{line,704}]},{'gleam@otp@actor',loop,1,[{file,"/home/.../Desktop/SideProjects/discord_gleam/build/dev/erlang/gleam_otp/_gleam_artefacts/gleam@otp@actor.erl"},{line,150}]}]})

I think it needs to be https so the first one makes sense.  I pushed a fix for the latter issue.  Let me know if it doesn't work!


Background color of the selected text in the Extensions panel and Settings page is almost indistinguishable

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.65.0
OS Version: Windows 7

Steps to Reproduce:

choose Default High Contrast theme
open the Extensions panel
type any text in the text box, e.g. "javascript"
select a part of that text -> the background color is very dark and hardly indistinguishable from the black background of the text box.

The same problem is with the selected text in the top text box on the Settings page. However, the text boxes in the Search panel and Find widget have different and more prominent background color of the selected text.
This is not problem only with that theme, there are others with the same problem:
Kimbie Dark, Monokai, Monokai Classic, Github Dark Colorblind/Default/Dimmed, One Dark Pro...
I tried to override the background color of the selected text with the Default High Contrast theme that I am using with:
"selection.background": "#ff0000"
but the background color of selected text in Extensions/Settings is still much more darker than that in the Search/Find text boxes.

Both these components use SuggestEnabledInput and not sure who owns this widget.
CC @alexdima

Dark High Contrast:
Extensions:

Settings:

Search:

Find:

"selection.background": "#008000"
This theme is somewhat better, but still has different selected background colors, with Extensions/Settings being much darker than Search/Find:
Red:
Extensions:

Settings:

Search:

Find:

"selection.background": "#ff777788",
This theme is strange one since it has different selected background colors, not only darker:
Abyss:
Extensions:

Settings:

Search:

Find:

It doesn't have "selection.background" in its theme's json. Its Search/Find color is "#0562d5" which is nowhere found in its .json, so I suppose it is a default one, but the Extensions/Settings has the selected background color which is the same as:
"editor.selectionBackground": "#770811,"
Why should Extensions/Settings selected background color have the same color as the selected background text in the editor? Shouldn't it be the same as the selected background color of the Search/Find text boxes? If theme doesn't have defined "selection.background", the Extensions/Settings should have default color as Search/Find, not the color from editor.

This is discussed in a few old issues, like https://github.com/microsoft/vscode/issues/75012. Basically we are trying to mimic a native text input with an editor control for some inputs that use editor features. But we can't get it perfect. The entirely different colors come from the fact that the blue is a platform-specific color, it's completely different on Mac, and the editor doesn't use that color.

I don't want to pretend that I understand how VSCode internally works. I am just curious, if you don't mind to explain, why Extension/Settings text boxes are not created as Search/Find boxes with a native text input? I would expect that Search/Find would require editor features more than Extensions/Settings, not otherwise, but I am just beginner with VSCode, so please forgive my ignorance.
Anyway, within the function registerThemingParticipant in the file vs\workbench\contrib\codeEditor\browser\suggestEnabledInput\suggestEnabledInput.ts I changed:
selectionColor.transparent(0.4)
to:
selectionColor.transparent(1)
and now the selected background color of the Extensions/Settings is much more prominent. When the theme has defined "editor.selectionBackground", it would have the same colors in Extensions/Settings as Search/Replace (i.e. they are not darker). However, when the theme doesn't have that setting defined, then the selected background color will be the same as the selected background of the text in editor. Which is not perfect, but it is better than before, IMHO.
Could you please check my modification. As I said, I am just starting with VSCode, so maybe I am doing something wrong.

It uses an editor because it has a suggest widget pop up to help with some queries.
From my memory, that might work with some themes/color combinations, but not others. I picked 0.4 as a compromise. I haven't looked at this in a long time though, maybe a different number will be better now. This is also different across OS as I recall.

The modification works fine with all themes that I tried. I don't understand what OS has with it since it is applied to the "editor.selectionBackground" color defined by theme.
Also, I don't see the point to apply transparent(0.4) to the background color if it defined by theme, but not to apply it if it is not defined by theme in which case it has the same value as the editor selected background color.


Transition

https://github.com/agamjotsingh18/codesetgo/assets/116807722/f2f06f18-4368-41ad-9aa0-11a6aa68e8be

Hey, can you remove the border on hovering and change the color it doesn't looks good, rest all good
please link issue as well


Adding webpack loader results in typeerror, because module.rules is undefined

Do you want to request a feature or report a bug?
Bug
What is the current behaviour?
I'm trying to integrate a new loader into the webpack rules chain, with this snippet inside preact.config.js
config.module.rules.push({
    test: /\.html$/,
    use: [
        { loader: 'babel-loader' },
        { loader: 'polymer-webpack-loader' }
    ],
});

Running npm start or yarn start results in the following error:
TypeError: Cannot read property 'push' of undefined
Inside the default function of the configFile the config.module.rules array appears to be undefined but setting the object directly (config.module.rules = [...]) results in a lot of other webpack errors, because I'm replacing the preconfigured loaders.
If the current behaviour is a bug, please provide the steps to reproduce.
Just install polymer-webpack-loader and use this preact.config.js:
export default function (config, env, helper) {
    config.module.rules.push({
        test: /\.html$/,
        use: [
            { loader: 'babel-loader' },
            { loader: 'polymer-webpack-loader' }
        ],
    });
}

BTW, using NPM or yarn results in the same error
What is the expected behaviour?
I hope it would just add the new loader for HTML files
Please mention other relevant information.

Node version: 9.4.0
npm version 5.6.0
yarn version 1.5.1
Operating system Ubuntu 17.10
CLI version 2.2.1
Browser Chrome v65

We're using the old(er) syntax still, so you have to use module.loaders instead of module.rules.
This will be updated in the next major release, as we'll likely be moving to Webpack 4!

Awesome! Thanks!

You bet!


Add toggle for enabling or disabling RenderingDevice's pipeline cache.

Just adding a small setting that will come in very handy for comparing performance between master and my upcoming PR (and for future debugging for users).

Thanks!


pull request for e2e test at 11/18/2016 12:56:06

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


toBeFeatureCollection

Description
This is a building block matcher. FeatureCollections contain Feature objects and additional properties. We need a way to reliably test that they have been formatted appropriately.
This matcher tests that an object is a valid feature with any geometry type. Any non-conforming values should fail.

It must have a "type" member equal to 'FeatureCollection'
It must have a "features" member, but this may be an empty array ([]).

GeoJSON object with the type "FeatureCollection" is a FeatureCollection object.  A FeatureCollection object has a member with the name "features".  The value of "features" is a JSON array. Each element of the array is a Feature object as defined above.  It is possible for this array to be empty.
~ https://datatracker.ietf.org/doc/html/rfc7946#section-3.3

The word "Collection" in "FeatureCollection" and "GeometryCollection" does not have any significance for the semantics of array members.  The "features" and "geometries" members, respectively, of these objects are standard ordered JSON arrays, not unordered sets.
~ https://datatracker.ietf.org/doc/html/rfc7946#section-1.4

Foreign members ARE allowed (see https://datatracker.ietf.org/doc/html/rfc7946#section-6.1). None of these foreign members (to include "id") should get checked for validity of any type; they may contain anything that is valid JSON.
FeatureCollection objects are prohibited from having a "coordinates", "geometries", "geometry", or "properties" member.

Implementations MUST NOT change the semantics of GeoJSON members and types.
The GeoJSON "coordinates" and "geometries" members define Geometry objects.  FeatureCollection and Feature objects, respectively, MUST NOT contain a "coordinates" or "geometries" member.
The GeoJSON "geometry" and "properties" members define a Feature object.  FeatureCollection and Geometry objects, respectively, MUST NOT contain a "geometry" or "properties" member.
The GeoJSON "features" member defines a FeatureCollection object. Feature and Geometry objects, respectively, MUST NOT contain a "features" member.
~ https://datatracker.ietf.org/doc/html/rfc7946#section-7.1

See GeoJSON Spec: What does it mean to extend GeoJSON without using a foreign member? for further clarification.
Bounding boxes, if present, must validate (see isValidBoundingBox).

A GeoJSON object represents a Geometry, Feature, or collection of Features.
~ https://datatracker.ietf.org/doc/html/rfc7946#section-3

A GeoJSON object MAY have a member named "bbox" to include information on the coordinate range for its Geometries, Features, or FeatureCollections.
~ https://datatracker.ietf.org/doc/html/rfc7946#section-5

Valid GeoJSON Feature Examples
{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [102.0, 0.5]
        },
        "properties": {
            "prop0": "value0"
        }
    }, {
        "type": "Feature",
        "geometry": {
            "type": "LineString",
            "coordinates": [
                [102.0, 0.0],
                [103.0, 1.0],
                [104.0, 0.0],
                [105.0, 1.0]
            ]
        },
        "properties": {
            "prop0": "value0",
            "prop1": 0.0
        }
    }, {
        "type": "Feature",
        "geometry": {
            "type": "Polygon",
            "coordinates": [
                [
                    [100.0, 0.0],
                    [101.0, 0.0],
                    [101.0, 1.0],
                    [100.0, 1.0],
                    [100.0, 0.0]
                ]
            ]
        },
        "properties": {
            "prop0": "value0",
            "prop1": {
                "this": "that"
            }
        }
    }]
}

An empty features
{
    "type": "FeatureCollection",
    "features": []
}

In all cases, the matcher should only get passed an object in its entirety, not the individual components.
Example Matcher Usage
const testFeatureCollectionCollection = {
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [102.0, 0.5]
        }
    },
    ...
    ]
}
const multiPoint = {
    type: "MultiPoint",
    coordinates: [
        [101.0, 0.0],
        [102.0, 1.0]
    ]
}

expect(testFeatureCollection).toBeFeature()

expect(multiPoint).not.toBeFeature()
expect(testFeatureCollection.features).not.toBeFeature('Polygon')

Passing Tests
This matcher should use core functions to test object validity.
Values in Range

A FeatureCollection containing one feature with each of the seven geometry types
A FeatureCollection containing all of the above features

Stress Test

A FeatureCollection containing 10 features of each of the seven geometry types (70 total)

Features May Be an Empty Array
const testFeatureCollection = {
    type: 'FeatureCollection',
    features: []
}

May Have Optional Bounding Box

Logical

2D: [-10.0, -10.0, 10.0, 10.0]
3D: [-10.0, -10.0, 0, 10.0, 10.0, 200]

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [{
        type: "MultiPoint",
        coordinates:[[0, 0], [1, 1, 100]]
    }],
    bbox: <input>
}

Illogical

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [{
        type: "MultiPoint",
        coordinates:[[0, 0], [1, 1]]
    }],
    bbox: [-30.0, -30.0, -20.0, -20.0]
}

Redundant

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [{
        type: "MultiPoint",
        coordinates:[[0, 0], [0, 0]]
    }],
    bbox: [0, 0, 0, 0]
}

ID is a Foreign Member, Can Be Anything

null, undefined
Boolean: true, false
Strings: 'ABCD', 'Test 1', '1', '', '[[[180, 10.2, -125], [-180, 90, 35000]]], [{}]'
Numbers:  0, 200, -200, Infinity, -Infinity, NaN
Array: [], [1]
Object: {}, {id: 1}

const testFeatureCollection = {
    type: 'FeatureCollection',
    id: <input>,
    features: []
}

Other Foreign Properties Allowed

Single

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [],
    foreign: true
}

Multiple

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [],
    id: '#1',
    foreign1: true,
    foreign2: 33
}

Foreign property that would normally be a valid GeoJSON object

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [],
    foreignGeometry: multiPoint,
    Geometry: multiPoint // Note captitalized 'G'
}

Failing Tests
Feature Input Not an Object
Any of the following inputs to the matcher should fail:

undefined
null
Booleans: true, false
Numbers: 200, -200, Infinity, -Infinity, NaN
Arrays: [25, 35, 45000], [ ]
Strings: '', 'Random FeatureCollection'
Stringified JSON:JSON.stringify({
  type: 'FeatureCollection',
  features: [{
      type: 'Feature',
      properties: {},
      geometry: {
          type: "MultiPoint",
          coordinates:[[0, 0], [1, 1, 100]]
      }
  }]
})

Invalid Features

A FeatureCollection containing one invalid feature with each of the seven geometry types
A FeatureCollection containing all seven valid features plus one invalid

Type Value Incorrect
Input:

Each of the values from "Feature Input Not an Object", plus
'Point', 'MultiPoint', 'LineString', 'MultiLineString' 'Polygon', 'MultiPolygon', and 'GeometryCollection', 'Feature', or
'FEATURECOLLECTION', 'featurecollection'

const testFeatureCollection = {
    type: <input>,
    features: []
}

Features Invalid

Each of the values from "Feature Input Not an Object" except the empty array, both contained in an array and not contained in an array

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [<input>]
}

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: <input>
}

Invalid Bounding Box
Input:

null
undefined
[]
Missing Element: [-10.0, -10.0, 10.0]
Out of Range Element: [-10.0, -10.0, 190.0, 10.0]
South Greater than North: [-10.0, 10.0, 10.0, -10]
Bad altitude: [-10.0, -10.0, 0, 10, 10.0, '200']

const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [...],
    bbox: <input>
}

Contains Prohibited Properties
Coordinates
const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [...],
    coordinates:[[0, 0], [1, 1]]
}

Geometries
const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [...],
    geometries: [
        {
            type: 'Point',
            coordinates: [102.0, 0.5]
        }, {
            type: 'Point',
            coordinates: [122.0, -10.25]
        }
    ]
}

Geometry
const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [...],
    geometry: {
        type: 'Point',
        coordinates: [102.0, 0.5]
    },
    id: 33
}

Properties
const testFeatureCollection = {
    type: 'FeatureCollection',
    features: [...],
    properties: {
        someProp: true
    }
}

Missing Required Properties

No Type

const testFeatureCollection = {
    features: []
}

No Features

const testFeatureCollection = {
    type: 'FeatureCollection'
}

:tada: This issue has been resolved in version 1.0.0-beta.16 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


METRON-418 Set TTL on HBase Puts

For METRON-417, the goal is to use HBase's TTL mechanism to expire or age-out Profile data.  This PR provides the mechanism to set TTL values on HBase Puts.
The HBaseClient is used to write ProfileMeasurement values to HBase. The client was updated so that a TTL can be attached to each Put. This will allow us to attach a TTL to each ProfileMeasurement written by the Profiler.
Tests were added to validate successful reads/write to HBase with a TTL, along with successful expiration of data based on a TTL.
Depends on the following existing PRs...

[x] #246

Reconciled with master.

CI failure saying that ElasticSearchIndexIntegrationTest took too long.  Seems unrelated.  Hmm.
test(org.apache.metron.elasticsearch.integration.ElasticsearchIndexingIntegrationTest)  Time elapsed: 145.656 sec  <<< ERROR!
java.lang.RuntimeException: Took too long to complete: 120038 > 120000

I'm betting travis is overloaded, try closing and reopening.

This looks good; I'm +1


Updating zotpress resets user settings

[x] Add to an appropriate Epic.

URL: https://scholarlytales.hcommons.org/
Area (CORE, sites, profiles, groups, general): sites
Describe the issue
Updating zotpress plugin (and possibly changing themes) wipes user settings.
Additional context
Previous notes:

The Scholarly Tales (zotpress)
- possibly relevant: Warning for “major updates in this version of Zotpress” should check for account | WordPress.org
- No mention of issue in zotpress support forum
- Possibly try a more incremental upgrade, to 7.0?
- If that fails, could try to manually back up and then import zotpress options through sql? (Or post an issue)

Changing theme --> zotpress settings get wiped?
- Kendra Preston Leonard --- help her upgrade her theme?

Account info is stored in the wp_<blog_id>_zotpress table. Confirm that updating zotpress clears this table. It clears the other tables as well, though these don't seem critical.
Zotpress tables:

wp_1001985_zotpress
wp_1001985_zotpress_cache
wp_1001985_zotpress_oauth
wp_1001985_zotpress_zoteroItemImages

Based on table structures (below), we could safely restore all but the cache table, which has an extra row.
There are about 100 sites with zotpress installed.
Table structures:
wp_1001985_zotpress;
+--------------+--------------+------+-----+---------+----------------+
| Field        | Type         | Null | Key | Default | Extra          |
+--------------+--------------+------+-----+---------+----------------+
| id           | int(9)       | NO   | PRI | NULL    | auto_increment |
| account_type | varchar(10)  | NO   |     | NULL    |                |
| api_user_id  | varchar(10)  | NO   |     | NULL    |                |
| public_key   | varchar(28)  | YES  |     | NULL    |                |
| nickname     | varchar(200) | YES  |     | NULL    |                |
| version      | varchar(10)  | YES  |     | 5.1     |                |
+--------------+--------------+------+-----+---------+----------------+
6 rows in set (0.00 sec)
wp_1001985_zotpress_backup;
+--------------+--------------+------+-----+---------+----------------+
| Field        | Type         | Null | Key | Default | Extra          |
+--------------+--------------+------+-----+---------+----------------+
| id           | int(9)       | NO   | PRI | NULL    | auto_increment |
| account_type | varchar(10)  | NO   |     | NULL    |                |
| api_user_id  | varchar(10)  | NO   |     | NULL    |                |
| public_key   | varchar(28)  | YES  |     | NULL    |                |
| nickname     | varchar(200) | YES  |     | NULL    |                |
| version      | varchar(10)  | YES  |     | 5.1     |                |
+--------------+--------------+------+-----+---------+----------------+
6 rows in set (0.00 sec)
wp_1001985_zotpress_cache;
+-------------+--------------+------+-----+---------+----------------+
| Field       | Type         | Null | Key | Default | Extra          |
+-------------+--------------+------+-----+---------+----------------+
| id          | int(9)       | NO   | UNI | NULL    | auto_increment |
| request_id  | varchar(200) | NO   | PRI | NULL    |                |
| api_user_id | varchar(50)  | YES  |     | NULL    |                |
| json        | blob         | YES  |     | NULL    |                |
| tags        | blob         | YES  |     | NULL    |                |
| headers     | mediumtext   | YES  |     | NULL    |                |
| libver      | int(9)       | YES  |     | NULL    |                |
| retrieved   | varchar(100) | YES  |     | NULL    |                |
+-------------+--------------+------+-----+---------+----------------+
8 rows in set (0.00 sec)
wp_1001985_zotpress_cache_backup;
+-------------+--------------+------+-----+---------+----------------+
| Field       | Type         | Null | Key | Default | Extra          |
+-------------+--------------+------+-----+---------+----------------+
| id          | int(9)       | NO   | UNI | NULL    | auto_increment |
| request_id  | varchar(200) | NO   | PRI | NULL    |                |
| api_user_id | varchar(50)  | YES  |     | NULL    |                |
| json        | blob         | YES  |     | NULL    |                |
| headers     | mediumtext   | YES  |     | NULL    |                |
| libver      | int(9)       | YES  |     | NULL    |                |
| retrieved   | varchar(100) | YES  |     | NULL    |                |
+-------------+--------------+------+-----+---------+----------------+
7 rows in set (0.00 sec)
wp_1001985_zotpress_oauth;
+-------+----------+------+-----+---------+----------------+
| Field | Type     | Null | Key | Default | Extra          |
+-------+----------+------+-----+---------+----------------+
| id    | int(9)   | NO   | PRI | NULL    | auto_increment |
| cache | longtext | NO   |     | NULL    |                |
+-------+----------+------+-----+---------+----------------+
2 rows in set (0.00 sec)
describe wp_1001985_zotpress_oauth_backup;
+-------+----------+------+-----+---------+----------------+
| Field | Type     | Null | Key | Default | Extra          |
+-------+----------+------+-----+---------+----------------+
| id    | int(9)   | NO   | PRI | NULL    | auto_increment |
| cache | longtext | NO   |     | NULL    |                |
+-------+----------+------+-----+---------+----------------+
2 rows in set (0.00 sec)
wp_1001985_zotpress_zoteroItemImages;
+-------------+-------------+------+-----+---------+----------------+
| Field       | Type        | Null | Key | Default | Extra          |
+-------------+-------------+------+-----+---------+----------------+
| id          | int(9)      | NO   | UNI | NULL    | auto_increment |
| api_user_id | varchar(50) | NO   | PRI | NULL    |                |
| item_key    | varchar(50) | NO   | PRI | NULL    |                |
| image       | text        | YES  |     | NULL    |                |
+-------------+-------------+------+-----+---------+----------------+
4 rows in set (0.00 sec)
describe wp_1001985_zotpress_zoteroItemImages_backup;
+-------------+-------------+------+-----+---------+----------------+
| Field       | Type        | Null | Key | Default | Extra          |
+-------------+-------------+------+-----+---------+----------------+
| id          | int(9)      | NO   | UNI | NULL    | auto_increment |
| api_user_id | varchar(50) | NO   | PRI |         |                |
| item_key    | varchar(50) | NO   | PRI |         |                |
| image       | text        | YES  |     | NULL    |                |
+-------------+-------------+------+-----+---------+----------------+

Zotpress has an option Zotpress_update_version that it compares against a global variable set in zotpress.php --- Zotpress_update_db_by_version. If these don't match, then the zotpress install is run, which drops all database tables and recreates them.
This probably isn't the best way of doing things. It would be better to run dbDelta to update the table structure without dropping the tables. This would only be an issue if the format of the data itself changed, rather than adding fields or something. It might be worth making a pull request on the plugin to make a less destructive update process.

This is fixed.


cloud-transition: Adjust lc wait time

Fixes: https://tracker.ceph.com/issues/57401
Signed-off-by: Soumya Koduri<EMAIL_ADDRESS>

teuthology test results -
http://pulpito.front.sepia.ceph.com/soumyakoduri-2022-09-06_05:16:19-rgw-wip-cbodley-testing-distro-default-smithi
http://pulpito.front.sepia.ceph.com/soumyakoduri-2022-09-06_05:12:45-rgw-wip-cbodley-testing-distro-default-smithi

cherry-picked to ceph-master


Subscriber method must be 'public', why?

the source code:
if (subscriberMethods.isEmpty()) {
throw new EventBusException("Subscriber " + subscriberClass
+ " and its super classes have no public methods with the @Subscribe annotation");
}
why the subscriber method must be 'public'?

Otherwise it can not be seen and called by EventBus. -ut

Is it because it uses BroadcastReceivers internally?

No response, closing. Please re-open with more details or submit a new issue. -ut


Adding a screenshot function

As far as I understood, currently, you can send some commands but you're not getting any response back. So I propose adding a screenshot functionality. This can be useful in many ways, for instance, if you're interested in the progress of something running on your device (render, ML training, etc) or if you want to check which window is currently being displayed. I see i as: you send /screen and bot simply replies with a screenshot.
You can consider taking it next level 😝  by adding streams. The first thing that came into my mind is Telegram video calls. So, imagine that you want to change some setting in your laptop. For example you want to remove the 15 min time limit before it goes to sleep.  How cool is that.🥇 Then you can proceed by sending more commands and I guess that would be a better alternative of Team Viewer, but open-source and just easy to use, because Telegram is always ready at hand with intuitive interface.
It would be more challenging as well (because you can control only with text commands), but it kinda reminds me of controlling a Martian rover (not that I've ever done that :) ) - so it would be quite a challenge, but it's good

Hello, @pavtiger! Glad to see your interest!

As far as I understood, currently, you can send some commands but you're not getting any response back

Not exactly: pefrorming a "command-line" action (i.e. /shell, /(raw)exec) provides you with the output and the exit code of the command after it finishes. However, this indeed is quite limited, one reason for that is that you can have some long-running processes (backups, some copyings (e.g. with dd) or conversions (e.g. with ffmpeg)) that you might want to be able to touch somehow before they finish (at least, check the current output). I suppose, however, that this should be a separate issue because here you seem to focus on the graphics-related stuff.

So I propose adding a screenshot functionality. This can be useful in many ways, for instance, if you're interested in the progress of something running on your device (render, ML training, etc) or if you want to check which window is currently being displayed. I see i as: you send /screen and bot simply replies with a screenshot.

Sounds good to me! I have recently ended up in a situation when I sent a sequence of graphics-control commands but ended up with an unexpected result and I was not able to check what has happened. I think that the ability to see the display would help me with that.

You can consider taking it next level  by adding streams. The first thing that came into my mind is Telegram video calls. So, imagine that you want to change some setting in your laptop. For example you want to remove the 15 min time limit before it goes to sleep.  How cool is that. Then you can proceed by sending more commands and I guess that would be a better alternative of Team Viewer, but open-source and just easy to use, because Telegram is always ready at hand with intuitive interface.

Okay, I'm not that sure about this part. First of all, as far as I know, it is not possible for a bot to make a Telegram call, so it would require an additional Telegram user account. Secondly, I don't really see Rimokon as a Teamviewer competitor. I think, this bot is just a lightweight and straightforward means of controlling some device. It is more convenient to use it instead of a Teamviewer-like application if you want to do some simple action (e.g. play/pause/fullscreen/rewind a video, when it's playing on a big screen far from you, which just takes a couple of keypresses) or instead of a remote shell if you want to quickly perform some simple action, for example, from your smartphone. [todo: nice thing to mention in the readme. Thank you for bringing me to this discussion]. However, if I needed to do some complex action in a graphical environment, I would rather use Rimokon to start Teamviewer on the controlled device and then use the latter because, for example, I can't really imagine a convenient way to move the cursor via a telegram bot (it is, of course, possible technically - with use of the same tool I use to simulate keyboard events - but how convenient would that be?).
HOWEVER, if even after considering the above, one still sees a way to implement this feature nicely, I'm open for discussion!

but it kinda reminds me of controlling a Martian rover (not that I've ever done that :) ) - so it would be quite a challenge, but it's good

Ahahah. Well, that would be a funny game, I suppose.

Okay, agreed about the second idea (streaming). That indeed doesn't seem like the thing for this repo

Hi, @pavtiger! You might want to take a look at #8 and give your feedback, if any


[Feature] Make CSD coordinates quantities

Feature
Allow ele_xx, ele_yy, ele_zz, x_lims, y_lims and z_lims as function arguments of generate_lfp to be quantity objects.
Motivation
These arguments describe physical properties and should therefore for completeness also be handled with units as it is standard within Neo and Elephant.
Alternatives
Leave it as it is.

We didn't discuss this issue yet but I think your point should be a part of a larger issue of the complete refactoring of the function. That's being done, we can allow the abovementioned parameters to be quantities.

Out of scope, feel free to reopen this at any time.


How to get the label s of BVCC test wav?

How can I get BVCC test dataset? I only found data and label of train and val in VoiceMOS codalab, but I don't know how to get the label s of test wav.  Is it opensource?

Hi, the test set labels are available on the CodaLab page here:  https://codalab.lisn.upsaclay.fr/competitions/695#participate  (at the third bullet point).  This link is temporary; we are preparing a more permanent link to the data and will post it here on the README once it is ready.

This website doesn't seem to work, is there any other method to get the labels? Could you E-mail me a copy? Thanks!

Hi, the new permanent link for the dataset is here:  https://zenodo.org/record/6572573#.YzPVui8RqLc


Fixed notification card visiblity issue on media Detail Page

Description (required)
Fixes #2387
What changes did you make and why?
Made notification card visibility gone if mediaDetailPage is visible
Tests performed (required)
Tested on Motorola Moto G5 plus with API level 24.

Codecov Report

Merging #2401 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2401      +/-   ##
=========================================
- Coverage    5.89%   5.89%   -0.01%
=========================================
  Files         237     237
  Lines       11466   11468       +2
  Branches     1034    1035       +1
=========================================
  Hits          676     676
- Misses      10737   10739       +2
  Partials       53      53

Impacted Files
Coverage Δ

...w/commons/contributions/ContributionsFragment.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb5a40b...5b8eb8a. Read the comment docs.

@sp2710 Can you resolve the merge conflicts?

Done :-)


remove actionOnConnect

@keybase/react-hackers

@keybase/react-hackers bump

@keybase/react-hackers bump


Added New Crowdin translations for Hindi(India)

Awesome!!! Thanks! Gotta add it to CrowdIn as well... :tada:


feat: add flock for safety

change

add flock for safety
add ut for flock

Let the caller do this.


[Dev support]: Application ID URI updating issue

I have a Teams app (chat & tab) already published to the Teams Store. The app's manifest includes the following webApplicationInfo section:
"webApplicationInfo": {
	"id": "123a667a-c3c0-4743-bc7d-326165eaaabc",
	"resource": "api://abcdef.ngrok.io/123a667a-c3c0-4743-bc7d-326165eaaabc"
}

The Application ID URI in Expose an API (Azure) was initially set to:
api://abcdef.ngrok.io/123a667a-c3c0-4743-bc7d-326165eaaabc

I recently updated the app to include Teams AI authentication by adding a bot service with OAuth settings. The Token Exchange URL for the bot is:
api://abcdef.ngrok.io/botid-123a667a-c3c0-4743-bc7d-326165eaaabc

Also, I changed the Application ID URI in Azure to:
api://abcdef.ngrok.io/botid-123a667a-c3c0-4743-bc7d-326165eaaabc

Problem:
After making these changes, the microsoftTeams.authentication.getAuthToken() method in Tab app causes issues for existing users who had already installed the app.(because they have old manifest) The following error is returned:
{
    "error": "invalid_resource",
    "error_description": "AADSTS500011: The resource principal named api://abcdef.ngrok.io/123a667a-c3c0-4743-bc7d-326165eaaabc was not found in the tenant named Contoso. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: aa46095a-5230-4737-bbd2-9ca03ca21500 Correlation ID: a7b96a72-d409-4940-8891-7fa3d83b78f7 Timestamp: 2024-11-20 20:39:25Z",
    "error_codes": [
        500011
    ],
    "timestamp": "2024-11-20 20:39:25Z",
    "trace_id": "aa46095a-5230-4737-bbd2-9ca03ca21500",
    "correlation_id": "a7b96a72-d409-4940-8891-7fa3d83b78f7",
    "error_uri": "https://login.microsoftonline.com/error?code=500011"
}

Here, I understand that the webApplicationInfo section of the manifest needs to be updated to api://abcdef.ngrok.io/botid-123a667a-c3c0-4743-bc7d-326165eaaabc. However, the problem is that I can't force users to update the app, and if they don't, the app will stop working.
Can someone provide guidance on how to update the manifest without disrupting users in this scenario?

Hello @asith-w
From my understanding, there is no other way than updating the app to propagate this breaking change.
This article might be useful: https://learn.microsoft.com/en-us/microsoftteams/apps-update-experience

@asith-w : As @Benjiiim mentioned already updating the app with admin is an option. Either user or admin has to update the app. There is no other way.

Closing as the issue is clarified.


rename density parameters in LCDM class

I am not a big fan of the density parameters Om, Omz etc. in the LCDM class.
Can we change those to omega_m0, omega_k0 etc. for redshift 0, and omega_m(z), omega_k(z) for the redshift-dependent functions?

cc @arthurmloureiro @mwiet

Is Omega_X = omega_X / h**2?
I asked you in person, I know it's not... but I think it can be confusing...

@arthurmloureiro That's a good point. Maybe we should live with the mistakes ~we~ I made and keep the distances functions as they are, but use better names from now on?


Keyboard stops working while typing

https://github.com/DesModder/DesModder/blob/e3a6b84ae1fa7aebbc2d5352a15609e9274f32e5/src/utils/listenerHelpers.ts#L171-L187
The error trace in Desmos points to this function. It happened under two different machines in Firefox (Windows) on the current Desmodder version available for Firefox. Also, yesterday it was in Calculator. Today it happened in Geometry.
I have not being able to reproduce reliably the bug, but basically as you are typing you just cannot type anymore in that specific expression that glitched out. The other day it happened multiple times, but I was in rush putting together a graph, so I simply duplicated the expression and deleted the one glitching out to get rid of the error.
The last thing I typed this time was this

I tried to retype this and it does not reproduce the error. What seems to trigger it is navigating and selecting things as you type. Also, one thing to point out is that sometimes you can type, but you cannot move. After this error during the same glitched session I disabled all the plugins and the error persisted.
Addendum: apparently it can lock the graph from being dragged as well.

My bad I forgot to put what the error was. It was too much recursion.

I get this fairly frequently too.
I'm able to consistently reproduce it by spamming 0s:

I can't reproduce this anymore. Maybe https://github.com/DesModder/DesModder/pull/824 fixed it? But reverting with git revert 7a22f27 9a85a78 f5c3c2e 23d6325 doesn't allow me to reproduce it by spamming 0s.

Closing this since it seems to be fixed. If you can reproduce it, then feel free to re-open.


Isaac Ros BAse on Jetson Nano

Hi Can i build the ISaac Ros Base on Jetson Nano 4GB

Hi @Fibo27
No, this repo is based for Jetpack 5+
Watch this repos:

https://github.com/rbonghi/isaac_ros_template

Thank you. I have a set up where my Robot is running on Jetson Nano 4 GB and I have camera plus other sensors and I am using Ros2 - foxy. I want to do inferencing of the images and sensor fusion on my x_86 PC with Nvidia GPU which is on the same network as the Jetson. Can you please suggest what should be the Isaac ROS configuration of my PC given that I will be using the configuration that is based on Jetpack4.6 on the Jetson? Thanks

Hi, Thankyou for putting together this repository for Docker!
I am attempting to build for Orin Nano Development Kit. I have Jetpack 5.1.1 installed on Orin Nano.
I start a build on Orin Nano using:

cd example
docker build -t isaac-ros-base/packages:latest -f Dockerfile.isaac .\

The build continues, and then fails with:
_Starting >>> isaac_ros_common
Starting >>> isaac_ros_test
--- stderr: isaac_ros_common
CMake Error at CMakeLists.txt:9 (cmake_minimum_required):
CMake 3.23.2 or higher is required.  You are running version 3.16.3

Failed   <<< isaac_ros_common [0.61s, exited with code 1]
Aborted  <<< isaac_ros_test [1.62s]_
I am assuming CMake 3.16.3 is default shipping version with Jetpack 5.1.1?
I will simply update to  the latest version of CMake. Is this the correct approach?
Thanks for your help!


[5311] Fix award dates for trainees

Context
The formatting on an old spreadsheet for Performance Profiles to award trainees went strange for the dates. This resulted in trainees being awarded for the wrong date.
Changes proposed in this pull request
Data migration to fix awarded at dates.
Guidance to review
Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Fix the award dates for trainees in Register


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/470 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 2f45cbb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


print errors after test structure in verbose mode

when running a single test that has many test cases the error messages are printed before the list of failing/passing tests which makes me to scroll up every time just to see the error message.
We should print error messages after the list of tests

By this you mean "After the list of tests of its corresponding test suite" or "After all the test suites(at the very very bottom)"?

@rogeliog i think it should be at the very bottom, but before the summary...
so..
FAIL some/test.js
some describe
  ✅ test 1
  ✅ test 2
  ✅ test 3
  ✅ test 4
  ❌ test 5

some describe -> test 5
  Error: Something happened
     here's your stack trace: some.test.js:999

Test Suites: 1 failed, 1 total
...

It's probably not that simple as it looks, because there's so many printing parts

Hi guys!, I would like to take care of this issue. Do I create a new Pull Request when I'll achieve the purpose or would you like me to put here first my achievements?

@acamposruiz you can open a separate PR when you have a fix and reference this issue in the comment

ok, thanks!

Hi! @aaronabramov the Pull Request is here https://github.com/facebook/jest/pull/4438#issuecomment-327579467

Seems like AppVeyor build failed in my PR. I will check what's happening :)

I have just close and reopen the PR and all checks right :)

Should we close this issue?

I think so :) @nicolasiensen


MillerLoops and goroutine

Pair([a,c,e],[b,d,f]) is slower than FE( ML(a,b) * ML(c,d) * ML(e,f) when used with goroutines (concurrent to mulExp).
instead of using Pair([a,c,e],[b,d,f]) , this PR uses tmp = ML([a,c],[b,d]) in a goroutine and then FE( tmp * ML(e,f) ) after the mulExp is done.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Replace dead SO link with archived one

Found this dead link still on the README

@vhf The reSRC project is no longer active, but still present on the README. I wanted to link to the repo, but could not find any material that would be helpful, besides tests and assets. What should we do in this case?

Regarding reSRC, feel free to remove any reference to it from the README and add these commits to this PR, I'll merge it. :)
Thanks a lot!

@vhf made the second commit :-)
Besides web archive, can we still access material from resrc.io? I couldn't find anything upon a quick browse of the repo

Unfortunately not...


Source Code Error in code-line-number

On macOS, the 'reverse()' has a side effoect, which change the origin variable lines. And this leads to a bug when the code is wrapped.

related to https://github.com/notion-enhancer/repo/issues/53, but thanks for the note about .reverse()


Add default implementations to AuthenticationSpecificationVisitor

What type of PR is this?
Improvement
What does this PR do / why is it needed ?
Add default implementations to AuthenticationSpecificationVisitor
Minor - ApiKey location is an enum and hence not required to be a string
Which issue(s) this PR fixes:

Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?
Yes, grammar change

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.


(MAINT) Bump lein-ezbake dependency to 0.2.7

This commit bumps the puppet-server lein-ezbake dependency to 0.2.7,
needed to avoid Fedora 19 being used as a build target since that's now
been removed for our packaging jobs.

:+1:


[Core Rulebook] Argumentative talent not visible in the charm test box

Hi there,
My scion PC does not have the Argumentative talent as an option to tick while doing a charm test. (I did serveral charm test in order to see if it was somewhat automatised without the need of ticking the option but it seems to not be the case.
Have a great day ♥From: yuffy067foundry: 12.331wfrp4e: 8.3.3wfrp4e-altdorf: 6.0.1wfrp4e-archives1: 6.0.2wfrp4e-archives2: 6.0.2wfrp4e-core: 6.0.2wfrp4e-dotr: 6.0.2wfrp4e-eis: 6.0.2wfrp4e-empire-ruins: 6.0.2wfrp4e-horned-rat: 6.0.1wfrp4e-middenheim: 6.0.2wfrp4e-owb1: 6.0.1wfrp4e-pbtt: 6.0.1wfrp4e-rnhd: 6.0.2wfrp4e-salzenmund: 6.0.2wfrp4e-starter-set: 6.0.1wfrp4e-ua2: 6.0.0wfrp4e-up-in-arms: 6.0.2wfrp4e-wom: 6.0.3Active Modules: module-credits, warhammer-lib, wfrp4e-actor-sheet-print

Cannot reproduce, please ensure you have the most up to date Talent from the compendium


Chrome for Android supports prefers-reduced-motion

Chrome for Android 74+ fully supports CSS media query prefers-reduced-motion. In the current prefers-reduced-motion.json, Android for Chrome 75 is incorrectly marked as n.
Here's the Chrome Status page: https://www.chromestatus.com/feature/5597964353404928. "Enabled by default in: [...] Chrome for Android release 74".
The only version in prefers-reduced-motion.json is and_chr 75, and the contributing guidelines say "Currently it is not possible to: [...] Add a new browser or browser version", so I updated 75 (rather than adding 74).

Thanks!


[Doc] Add a note about sink-type and source-type value of the built-in connector.

Motivation
In #7699, i update doc for the master only. The contents are approved and merged.
This PR is for updating docs for releases 2.6.1 --2.1.0
Modifications
Update the following docs:
Pulsar IO > get started
Connector Admin CLI

@jiazhai @Jennifer88huang , these updates are same as the ones for the master branch, which is approved and merged. Therefore, please help approve the PR.

seems there is new md files added, but side bar not included, @Huanli-Meng Would you please build and run the site locally to have a check?

@Huanli-Meng Can you take a look at @jiazhai 's comment?

There is no need to update the sidebar. please feel free to approve the doc if there is no more comment.


Update update-infrastructure-redhat.md

TYPO

@stegag,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@BorisB2015 Please review these proposed changes. Thanks.


No real issue - pls provide an example on how to use New funtions from v1.2.12

As stated above - can you pls provide an example on how to use the new functions introduced in  v1.2.12
-> How do I use : dataWaitingAsync() and updateAsync()
I tried to replace (clumsily)
LoadCell.update() with LoadCell.dataWaitingAsync()
and
LoadCell.getdata() with LoadCell.updateAsync()
But that did not yield meaningful data
Thanks for your help!
Why I want to try this:
I get sometimes unexplainable flyer data from the HX711 - i.e. '200' - even though the 'real' range after calibration should only go up to '100'
I get more flyer data, when I add a 2nd HX711
That is why I want to try async access - by pure desperation...
(I am running them on 80Hz as I need the data fast (rather than with big accuracy)
I am running also an I2C dvice on seperate pins (INA 297) - can there be some sort of timing confligt??
In any case - thanks for your Library!!!

Hi!
It's basecally just the update() function that is splitted into 2 new functions, one to check if new data is available and one to read the 24 bits of data and put the vaue into the dataset.
So normally you would use: if (LoadCell.update()) { i = LoadCell.getData(); }
This can be replaced with: if (LoadCell.dataWaitingAsync() { LoadCell.updateAsync(); i = LoadCell.getData(); }
These functions was contributed in a pull-request, I'm not quite sure why anyone would need to use them.
If you get wrong data sometimes it could be that you when this happen read the HX711 during the exact same time as it is updating it's internal register, this is an known issue with the HX711 and much more likely to happen at 80Hz rate and/or if you have other time-consuming code. I suggest that you try to use interrupt driven code for the HX711, see example code in the library (note that dout must be connected to an interrupt capable pin). If this don't solve it, you may try to temporarily disconnecting the i2c device or disable other code to isolate.

Thanks for the feedback, @olkal
Just a quick reply with my experience:

I think, I am putting qouite some timing sensitive load on the Arduino, which adds to the problem with flyer data generation..
Therefor using the interrupt based approach did not work, since it messed up other portions of the program (data tranmission via "SerialTransfer" library)
Using the async approach did not make a difference
-> So, I was not able to not get highflyxer data.
But using your 'flyer elimination' in config.h eliminated almost all the flyers (at the cost of samppling speed, but one can not have everything...):
#define SAMPLES 					2 #define IGN_HIGH_SAMPLE 			1		//default value: 1 #define IGN_LOW_SAMPLE 			1

So - thanks again!


Question in Doubt.txt

Some errors to be resolved

Hi , Aman
All these Issues are there because project dependencies are not upto date , I will look into it ,will let you know.


Add Jellyfish emoji (U+1FABC)

Chips off a small bit off of #8
Hello there to the wonderful people behind twemoji, really like the emojis, wanted to contribute myself, here's a jellyfish emoji.
It's basically my first time doing minimalistic vector art like this, so I would appreciate some helpful feedback

It's kinda shiny and no other emoji has shine/reflection. I'm not sure if totally fits the theme.

Actually, I think the "shine" might be too bright. I'll fix it

Here's what it looks like now


kustoMode.js:120 Uncaught TypeError: Cannot read property 'IntelliSense' of undefined

Description
Hi, I have cloned the latest repo from master branch and trying to test "/test/index.html" page with "serve ." command. But when the editor is being loaded, I am getting this below error and the intellisense not working.

Here is the index.html file, I am trying to test,
index.html.txt
Please help me out to resolve this issue.
Steps to Reproduce
[Steps or usage snippet reproducing the issue]

[First Step]
[Second Step]
[and so on...]

<snippet>

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
System configuration
monaco-kusto version: 0.x.y
monaco-editor version: 0.X.Y
Browser:
OS:

Closing issue as stale. If anyone is still experiencing this, please comment and I'll re-open it.


Changing save Game fileto json

Used nlohmann Json parser and changed the save game file to Json

Hey @captaincrunch21 are you still working on this? If not, let me know so I can open up the issue for someone else to tackle.


a DLL error when importing lda2vec

Hi,
I am new to lda2vec and very interested in learning it.
I have installed lda2vec and all required dependencies in their newest version with the help of the setup.py file available here. I work with Enthought  Canopy on Windows, Python 2.7.11. The only problem I had while installing dependencies was that I had to reinstall cymem (a package on which one of the dependencies depends) to an older version. When I import any chainer, spacy or numpy the import goes smoothly. However, when I import lda2vec, I get the following error, see below.
Does anyone know why it happens and how I best overcome it?
All the best,
Radoslaw

ImportError                               Traceback (most recent call last)
 in ()
----> 1 import lda2vec
2
3
build\bdist.win-amd64\egg\lda2vec_init_.py in ()
build\bdist.win-amd64\egg\lda2vec\tracking.py in ()
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scikit_learn-0.17.1-py2.7-win-amd64.egg\sklearn_init_.py in ()
55 else:
56     from . import __check_build
---> 57     from .base import clone
58     __check_build  # avoid flakes unused variable error
59
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scikit_learn-0.17.1-py2.7-win-amd64.egg\sklearn\base.py in ()
9 from scipy import sparse
10 from .externals import six
---> 11 from .utils.fixes import signature
12
13
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scikit_learn-0.17.1-py2.7-win-amd64.egg\sklearn\utils_init_.py in ()
9
10 from .murmurhash import murmurhash3_32
---> 11 from .validation import (as_float_array,
12                          assert_all_finite,
13                          check_random_state, column_or_1d, check_array,
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scikit_learn-0.17.1-py2.7-win-amd64.egg\sklearn\utils\validation.py in ()
14
15 from ..externals import six
---> 16 from ..utils.fixes import signature
17
18 FLOAT_DTYPES = (np.float64, np.float32, np.float16)
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scikit_learn-0.17.1-py2.7-win-amd64.egg\sklearn\utils\fixes.py in ()
322     from ._scipy_sparse_lsqr_backport import lsqr as sparse_lsqr
323 else:
--> 324     from scipy.sparse.linalg import lsqr as sparse_lsqr
325
326
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scipy\sparse\linalg_init_.py in ()
110 from future import division, print_function, absolute_import
111
--> 112 from .isolve import *
113 from .dsolve import *
114 from .interface import *
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scipy\sparse\linalg\isolve_init_.py in ()
4
5 #from info import doc
----> 6 from .iterative import *
7 from .minres import minres
8 from .lgmres import lgmres
C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\scipy\sparse\linalg\isolve\iterative.py in ()
5 all = ['bicg','bicgstab','cg','cgs','gmres','qmr']
6
----> 7 from . import _iterative
8
9 from scipy.sparse.linalg.interface import LinearOperator
ImportError: DLL load failed: The specified procedure could not be found.

I've resolved my issue. The solution was to reinstall some of the dependencies.
I suppose my uninstallation and reinstallation of cymem AFTER other packages were installed/updated has disrupted some of the DLL links. I first reinstalled scipy (to which the above error relates to), and then also scikit-learn.
Note to the moderator: please delete my error if you think it's not worth keeping


opts.proxy configuration affects the dialog routeset

Hi,
when I set the proxy configuration in a B2BUA using opts.proxy, I found out that the messages within a dialog initiated by an INVITE transaction (eg. ACK , BYE)  are routed to the URI configured in the opts.proxy rather than to the remote URI as set by the contact header received in the 200OK to the INVITE.
I think this is wrong and renders strange behaviours. According to 3261, the in-dialog requests should be routed based on the dialog routeset and ultimately based on the remote-URI. And the dialog routeset is built based on the record-route header.
What I saw is that , at least when there is no record-routing proxy in the way of the call, the UAC part of the B2BUA will still try to route towards opts.proxy instead than directly to the remote-URI setup during the dialog
Regards

Thanks for the hint.
There is no NAT in my setup. All the elements are attached to the same network <IP_ADDRESS>/24. I have looked at the logs at debug as suggested and I see the following:
2021-10-06 21:06:32.830512 SipDialogController::processResponse - (UAC) detected downstream client; contact ip: <IP_ADDRESS> differs from recv address: <IP_ADDRESS>
2021-10-06 21:06:32.830694 SipDialogController::processResponse - (UAC) detected nat setting route to: sip:<IP_ADDRESS>:5060
The setup I have is: UA-A(.6) --->proxy(.7)--->drachtio-server (.8) (acting as B2BUA)-->proxy--->UA-B
It seems that drachtio-server realises that the contact header (UA-A address) does not coincide with the src address it receives (proxy address) and thus concludes that UA-A is behind NAT. So it is wrongly assuming that the SIP proxy is really a NAT.
IMHO I think this is a wrong behaviour. I think NAT detection should be based on the Via not on the Contact (as there may be proxies in the middle). Also , I think that this type of implementation should be based on the outbound spec and applied when drachtio-server is acting as an edge proxy.
Would there be a way to deactivate this type of behaviour at config level?
Thanks!

Thanks for the response.
About the NAT in the UAC leg:

Let's assume  a setup (different from the one that I was testing) in which drachtio is acting as a SIP server directly facing the UA (eg. in the Internet). In that case, I'd agree, the UA's are very likely to be behind a NAT. However in those scenarios the UA's will need to register to the sip server and there are already standardised mechanisms to deal with the NAT issue in such cases without the need to make assumptions (eg. RFC5626). Many UAs out there do not fully support this so I acknowledge simplified outbound mechanisms might also need to be supported (like sending terminating requests to the flow created by the registration process).The way to know if there is a NAT or not here could be to compare the REGISTER's Via with src:port.

If, on the other hand, we have an scenario (like the one in my setup) in which drachtio is acting as an App Server (in this case as a B2BUA) I think there must be other elements that take care of the registration (registration/proxy) and other elements that may be facing the UAs (eg. edge proxies). Therefore in those scenarios drachtio would not need to bother about the NAT issue.

I understand the user needs to tell drachtio in which scenario it is (I think the conf switch is a good idea). My point is that ,in case NAT is assumed , the way to go would be to apply as much as possible standardised mechanisms (like RFC5626) or leverage the registration flow information.
The logic that you explain above on the UAS leg is , I guess , meant to overcome an scenario in which there is a NAT between the SIP server/proxy ,where users are registering, and drachtio. I think this would be a rather unusual scenario, in my experience.
Thanks


Update documentation on contrib dependency management

I wrote down what we have discussed on Gitter and in the issues to clear up some confusion.
OK like this?

The first commit is just cosmetic, here is the actual text change: https://github.com/qooxdoo/qooxdoo-compiler/pull/237/commits/47bb0644982986feb511db5e64a6ce7618716daa


Bug Report:Error parsing JSON. JSON was null.

Is there an existing issue for this?

[X] I have searched the existing issues (both open and closed).

What happened or didn't happen?
Error parsing JSON. JSON was null.
System.ArgumentNullException: Value cannot be null. (Parameter 'json')
at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
at GetMyIP.Helpers.IpHelpers.<>c__DisplayClass5_0.b__0()
Steps To Reproduce
after installation with checkbox run after install checked
Version
0.9.0
Windows Version
(all updates) Microsoft Windows 10.0.22621
Relevant log output
Error parsing JSON. JSON was null.
System.ArgumentNullException: Value cannot be null. (Parameter 'json')
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
   at GetMyIP.Helpers.IpHelpers.<>c__DisplayClass5_0.<ProcessIPInfo>b__0()

Anything else?
No response

That didn't take long. I'll dig into it.

@CMTriX, Were there any error messages prior to the "JSON was null" message?

Also, what happens if you go to
http://ip-api.com/json/?fields=status,message,country,continent,regionName,city,zip,lat,lon,timezone,offset,isp,asname,as,query
in a browser?

I published 0.9.1 which has additional logging to help diagnose the null JSON error. If you have a chance, install that release and when the issue reoccurs attach the log. Mask or omit any details you feel necessary.
Thanks,
Tim

http://ip-api.com/json/?fields=status,message,country,continent,regionName,city,zip,lat,lon,timezone,offset,isp,asname,as,query

status	"fail"
message	"SSL unavailable for this…ps://members.ip-api.com/"

I published 0.9.1 which has additional logging to help diagnose the null JSON error. If you have a chance, install that release and when the issue reoccurs attach the log. Mask or omit any details you feel necessary.
Thanks, Tim

When error pops up again, i will send the log. Thank you!

status "fail"
message "SSL unavailable for this…ps://members.ip-api.com/"

This indicates a problem connecting to ip-api.com. I don't have a clue where "members" in the URL comes from. This behavior could certainly be causing the Json to be null.
I'm super busy with real life obligations today. I may not be able to look any further until tomorrow.
Tim

SSL unavailable for this endpoint, order a key at https://members.ip-api.com/

Here's the problem I'm facing, there are several providers that will supply public IP information for free. However, most of them want the user to sign up for a key. Of the few that don't require a key, ip-api.com offered the most details. Now it appears that somehow you are being redirected to the URL that requires a key.
I won't ask users of GetMyIP to get a key to be able to use the app. That would simply be a nonstarter for many.
I want GetMyIP to work, without errors, for everyone that wants to use it. The way I see it I have 3 choices.

Change from ip-api.com to another provider that offers less information. Basically, just the public IP address. I have a feeling that this is all most users care about.
Update the app to offer a choice of providers and tell users to find the one that works for them. This would be a lot of work, but I'm willing to do it.
Leave everything as it is.

What would you do if you were in my shoes?
Tim

maybey just wait until more reports are coming.
Or! If JSON error, try several times to get the info before error popup. And suggest user for reporting the error, and the log file.
If you have enough reports, you can rebuild the tool with the choic of provider.
After my JSON error, i refreshed and then it worked.

After my JSON error, i refreshed and then it worked.

@CMTriX, thanks for your ideas.  Your last comment started me thinking...
In the log file, there is a line like "Discovering external IP information took ###.## ms". Would you collect a few of those lines, for both when the app fails and when it works. Label each with fail or success, then paste them into the issue.
Thanks,
Tim

@CMTriX  Disregard my last message. I think I have the problem isolated and corrected. Long day, I'll pick this up again tomorrow.
Tim

Started program many times now, but the error is not showing ... grr... ;)
Close ticket. If the error comes back, i reopen / open ticket.
Anything else:
Give the dog a cookie!

2023/10/27 09:40:09.70 INFO   GetMyIP (Get My IP) <IP_ADDRESS> is starting up 2023/10/27 09:40:09.71 INFO   GetMyIP Copyright © 2023 Tim Kennedy 2023/10/27 09:40:09.71 DEBUG  GetMyIP Build date: 10/24/2023 02:37:36 (UTC) 2023/10/27 09:40:09.71 DEBUG  GetMyIP Commit ID: 154e1fa 2023/10/27 09:40:09.71 DEBUG  GetMyIP was started from C:\Users\office\AppData\Local\Programs\T_K\Get My IP\GetMyIP.exe 2023/10/27 09:40:09.75 DEBUG  Operating System version: Microsoft Windows 10.0.22621 2023/10/27 09:40:09.75 DEBUG  .NET version:  6.0.24 2023/10/27 09:40:09.75 DEBUG  Startup culture: nl-NL  UI: nl-NL 2023/10/27 09:40:09.75 DEBUG  Current culture: en-US  UI: en-US 2023/10/27 09:40:09.75 DEBUG  189 strings loaded from Languages/Strings.en-US.xaml 2023/10/27 09:40:09.93 DEBUG  Starting discovery of internal IP information. 2023/10/27 09:40:09.93 DEBUG  Starting discovery of external IP information. 2023/10/27 09:40:10.03 DEBUG  Internal IPv4 Address is <IP_ADDRESS> 2023/10/27 09:40:10.03 DEBUG  Internal IPv4 Address is <IP_ADDRESS> 2023/10/27 09:40:10.03 DEBUG  Internal IPv4 Address is <IP_ADDRESS> 2023/10/27 09:40:10.03 DEBUG  Internal IPv4 Address is <IP_ADDRESS> 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is fe80::3ad%26 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is fe80::a5a:c6b1:4962:5ea3%12 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is 2a02:a450:49e1:1:a59c:d0ed:94a2:dad2 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is 2a02:a450:49e1:1:d8b2:ba7e:ac60:2cf7 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is fe80::7a9c:b460:3ece:f93%15 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is fe80::a087:3126:4af1:4bd9%3 2023/10/27 09:40:10.03 DEBUG  Internal IPv6 Address is fc00:fed0:0:beef::3ad 2023/10/27 09:40:10.03 DEBUG  Discovering internal addresses took 45.99 ms 2023/10/27 09:40:10.22 ERROR  **JSON was null.** Check for previous error messages. 2023/10/27 09:40:10.28 DEBUG  Received status code: OK - OK 2023/10/27 09:40:10.28 DEBUG  Discovering external IP information took 420.66 ms 2023/10/27 09:41:07.39 DEBUG  Opening C:\Users\office\AppData\Local\Temp\T_K\GetMyIP.20231027.log in default application

I believe that the error that happened in this case was the parsing of the Json that's supposed to contain the external IP information started before it should have. I changed how this works and hopefully it doesn't happen again. If it does, please let me know.
Tim


Can not obtain the reported baseline performance

Thank you very much for this great work!
I am trying to train the baseline model based on your code.
However, I can not obtain the reported baseline performance.
I use Cityscapes train set to train the model and test the model on BDD-100K.
But the baseline performance is only 42.7, which is 2.3 mIoU lower than your baseline (44.96).

It seems because that I used 8 GPUs to train the model and set the total training iteration from 40000 to 10000.

Yes, iteration has a significant impact on performance.
Additionally, it may be difficult to reproduce the exact number because the development environment, such as GPU, CUDA version, random seed etc., must exactly match.


Query and mutation for multiple environment variables for a schedule

I had a question from a customer:
AS the document shows PipelineScheduleUpdateInput has env: String not [String] . How can I update env with a list of variables such as env: [“bar=foo”, “var1"=“val1”, “var12"=“good”] ?
Here's the mutation https://buildkite.com/user/graphql/console/2ad2ddd5-dd14-485c-b87d-af5751b3ec5b if you would like to check it out.
This probably applies to anything we take in as a String and separate with a new line - so there may be more opportunities.
Here is what the change looks like:

You may want to consider linking to this recipe or adding something in https://buildkite.com/docs/apis/graphql/schemas/pipelinescheduleupdateinput to let folks know.
Another thing - this is kinda hacky; a better alternative would be to have its value that accepts an Array. I am not sure if that is on the Product roadmap, but just a FYI.

Thanks @jayco
what I suggest here is switching this to the more generic
Updating multiple environment variables
and use the Schedule as an example. Off the top of your head, do you know if there are more Mutations that use env in the same way?
If you're happy with that approach I'll implement it.

Oof - sorry for the late reply @plaindocs
Yeah I did a quick check and this is used as a generic delimiter so I think that is the right call

@jayco Heyo! Do you reckon this is mergeable or should the Onboardin team take another look at it?

I've brought this one back to life and moved it under pipelines. cc @mbelton-buildkite


Azure AD with openid configuration

In the config.py, the function _load_openid_config forms the OpenID configuration URL by combining the SERVER and TENANT_ID settings, yet these two are not both allowed to be specified. How then should one use the OpenID configuration for key discovery?
I'm using Azure AD to get an access token and the oauth2 mode doesn't work, but openid connect does (maybe this is after a change made on Azure?)

Only ADFS on Server 2012 is full OAuth2. Starting with 2016 and up (or AzureAD) it's all OpenID Connect.
So, you point the config to a Server 2012 or 2016/2019 server by using the SERVER setting, or you point to AzureAD by using the TENANT_ID setting. Discovery of what mode to use then happens automatically.


Extend Operator to PSQL-HA

What this PR does / why we need it:
Provision and clone postgres-ha databases. Continues work from another semester, reading in k8s resources to create that database (and proxy).
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
How Has This Been Tested?:
Unit tests run correctly to ensure no breaking changes.
We are working on the end-to-end tests.
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

Adds provisioning of postgres-HA instances.

@mazin-s Cody messaged you, but since the database_types and webhooks are coupled in the same package, refactoring these methods into utils/common causes a circular dependency.


chore(package): remove unused sprintf dependency

This change removes the dependency on the sprintf module, which dreadnot does not use in favor of its own implementation.

One wonders if it should or should not use its own implementation, but meanwhile +1

Why not util.format()?


Add Identifier#end_with? and #include?

This expands upon our range of helpful Identifier predicates and resolves #171.

@flash-gordon In #171 you suggested #match? as a possible key segment-aware predicate that we could add to Identifier.
After adding #end_with? and #include? here (both of which have fairly obvious behaviours around making them key segment-aware), I'm not really sure what would be the right thing to do for #match?.
Given a key of "foo.bar.baz", would you want e.g. #match?(pattern? to return true if any individual segment matched? So match?("ba") # => true and match?(/.oo/) # => true but match?(bar.*z) # => false?

@timriley I took a look into my apps, I don't have a place where I would need a match? against a full key. Except for one place where match?(/_plugins\./) matches both rom_plugins and roda_plugins. So, I think .include? is enough. As an option, we can make start_with?/end_with? work with paths: .start_with?('top.middle') or .start_with?('top', 'middle').

Ah, now I took a look at the sources, it already works this way, nevermind :)

Thanks for checking this, @flash-gordon! And I was happy that the existing code already satisfied your wishes 😄


Any chance for a size increase?

I have a VSIX that is very close to the current upload size limit of 30 MB- any ideas how to support this?

Did I set that limit or is it asp.net’s default limit?

Looks like an ASP.NET Core limit: https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads?view=aspnetcore-5.0#kestrel-maximum-request-body-size

And/Or IIS: https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads?view=aspnetcore-5.0#iis

Yikes - now 0.5 MB from the limit (and more bits coming very soon). 50 MB??
[]!(https://media0.giphy.com/media/Q94xQWspTUkShljj8P/source.gif)

Any updated or decision - alternatives are using another hosting provider or roll my own...

Sorry, I forgot all about this. I'm totally fine raising the limit. Thought you were going to send the PR that did it?

Where is this hosted? On Windows App Service?

Hmm.. Looks like the web.config in src is already configured for 50 MB!?

Hosted on Azure App Services on Windows

I will try to repro and capture the error message.

I tested upload of a 31 MB file from my own PC - it worked. Could be an appveyor limitation


Windows environment path has an illegal character

Describe the bug
Seems like there is an illegal character coming from Microsoft SQL
Caused by: java.nio.file.InvalidPathException: Trailing char < > at index 36: C:\Program Files (x86)\Microsoft SQL

https://github.com/jenkinsci/hashicorp-vault-plugin/runs/540184036#step:4:193
This used to work in the past so a recent change made it borked:
https://github.com/jenkinsci/hashicorp-vault-plugin/actions/runs/47619076
Area for Triage:
Java
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[X] Windows Server 2019

Expected behavior
Environment variables should be possible to normalize.
Actual behavior
Code that tries to normalizes the windows path sees an illegal character

https://github.com/jenkinsci/configuration-as-code-plugin/pull/1302/checks?check_run_id=541313850#step:5:599

Hello, @Jetersen
I can reproduce the bug. Thank you for mention about it.
 - name: Trail space
      run: |
        $env:Path.split(";") -match " $"

"C:\Program Files (x86)\Microsoft SQL " - contains space  as the last character

Hopefully it would be fixed at the source? 🤔 I assume this is a bug in the Microsoft SQL installer?

@Jetersen , I don't think it's a bug in the Microsoft SQL installer. Looks like we reach env var 2048 limit - https://devblogs.microsoft.com/oldnewthing/20100203-00/?p=15083

Well that's somewhat disappointing 😞
I guess we need to start using more variables and using short paths.

This stackoverflow goes over some of the steps to go through: https://stackoverflow.com/questions/34491244/environment-variable-is-too-large-on-windows-10
Some even suggest Microsoft SQL is partly responsible for the issue.

I think the root cause: setx  Path is truncating the path to 1024 characters.

That's even more concerning 😰

As there are released windows 2019 images according to the tags: https://github.com/actions/virtual-environments/commit/f67375ac5cd480959b184c92c9dda601c9db3982
I can validate that the issue is fixed: https://github.com/jenkinsci/hashicorp-vault-plugin/pull/95


rust: How to export all structs

How to make wit_bindgen::generate!  generate all types in world export <<interface>>?
Dead code elimination is performed by default.
If a record or variant is not an input or return value of any function, such a type will not be generated as rust struct and enum.

I can try to submit a PR, but I don’t know what should be changed

I am going to add allow_unused: bool here

https://github.com/bytecodealliance/wit-bindgen/blob/b4b56c05aab16755ebd495e30bdef767548d766f/crates/guest-rust/macro/src/lib.rs#L263

This seems to be the entrance to the backend, but unused has been deleted before.

https://github.com/bytecodealliance/wit-bindgen/blob/b4b56c05aab16755ebd495e30bdef767548d766f/crates/rust/src/interface.rs#L1365

I believe the main thing you'll want to change is this line where you'll want to consult self.gen.opts.<your-option-here>. That'd then be plumbed through the macro in the enum Opt you found as well.


Missing http_client and http_server executables

On Ubuntu Linux, http_server and http_client don't compile when "make test" is executed in the root dir. How to compile these? Otherwise, all of the tests run fine.

Not a problem. Made the mistake of running cmake for a static build then running cmake for a dynamic build in succession. In this case the dynamic build fails.


Defect - Major - Contact section: Email Address field validation is incomplete; email format without domain ( "test@test") is accepted

On the Email Address field of the Contact section of the website, Email Address field can accept an text without domain, for example test@test that can be accepted as an email address
(Note: without the "@" it is still not accepted though)

Go to partsasist.com ( or https://main--vg-partsasist--hlxsites.hlx.live/ or https://main--vg-partsasist--hlxsites.hlx.page/ )
Scroll down to the Contact section and proceed to complete the Contact fields
In Email Address field write an incomplete email address without domain for ex "test@test"
Submit the Contact form and notice that the Email Address was accepted

Expected result
Email Address field should not validate and incomplete email format and should display an error prompt
Actual result
User is able to submit the Contact form using an incomplete email address with out domain for ex "test@test"

confirmed as fixed on partsasist.com


Failed to restart with error Restore postion from BlobStat failed, [offset=166292405] [buf_size=115365] [blob_id=19] is used or subspan is used

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run a TiDB cluster with TiFlash node of 16GiB memory. Run chbenchmark warehouse 1000 on that cluster. chbenchmark Q9 cause OOM frequently

2. What did you expect to see? (Required)
TiFlash run normally after restart caused by OOM
3. What did you see instead (Required)
After frequently restart caused by OOM run for over 15 hours, TiFlash fail to restart with error message like:
fail_restart.log.zip
[2022/05/23 01:45:53.738 +08:00] [INFO] [BaseDaemon.cpp:315] ["BaseDaemon:Stop SignalListener thread"] [thread_id=2]
[2022/05/23 01:46:28.175 +08:00] [INFO] [<unknown>] ["Welcome to TiFlash"] [thread_id=1]
[2022/05/23 01:46:28.175 +08:00] [INFO] [<unknown>] ["Starting daemon with revision 54381"] [thread_id=1]
[2022/05/23 01:46:28.175 +08:00] [INFO] [<unknown>] ["TiFlash build info: TiFlash\nRelease Version: v6.1.0\nEdition:         Community\nGit Commit Hash: 71613fd8c059187a89d7858d3d723fea701869fc\nGit Branch:      heads/refs/tags/v6.1.0\nUTC Build Time:  2022-05-20 06:38:20\nEnable Features: jemalloc asimd unwind\nProfile:         RELWITHDEBINFO\n"] [thread_id=1]
[2022/05/23 01:46:28.175 +08:00] [INFO] [<unknown>] ["Application:starting up"] [thread_id=1]
[2022/05/23 01:46:28.175 +08:00] [INFO] [Server.cpp:363] ["Application:Got jemalloc version: 5.2.1-0-gea6b3e973b477b8061e0076bb257dbd7f3faa756"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:372] ["Application:Not found environment variable MALLOC_CONF"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:378] ["Application:Got jemalloc config: opt.background_thread false, opt.max_background_threads 4"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:382] ["Application:Try to use background_thread of jemalloc to handle purging asynchronously"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:385] ["Application:Set jemalloc.max_background_threads 1"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:388] ["Application:Set jemalloc.background_thread true"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:452] ["Application:start raft store proxy"] [thread_id=1]
[2022/05/23 01:46:28.176 +08:00] [INFO] [Server.cpp:1019] ["Application:wait for tiflash proxy initializing"] [thread_id=1]
[2022/05/23 01:46:28.577 +08:00] [INFO] [Server.cpp:1022] ["Application:tiflash proxy is initialized"] [thread_id=1]
[2022/05/23 01:46:28.577 +08:00] [INFO] [Server.cpp:1029] ["Application:encryption is disabled"] [thread_id=1]
[2022/05/23 01:46:28.595 +08:00] [WARN] [StorageConfigParser.cpp:241] ["Application:The configuration \"path\" is deprecated.  Config{ PageStorage::Config V3 {blob_file_limit_size: 536870912, blob_spacemap_type: 2, blob_cached_fd_size: 100, blob_heavy_gc_valid_rate: 0.200, blob_block_alignment_bytes: 0, wal_roll_size: 2097152, wal_recover_mode: 0, wal_max_persisted_log_files: 4} }"] [thread_id=1]
[2022/05/23 01:46:28.596 +08:00] [INFO] [PageStorageImpl.cpp:41] ["PageStorage:__global__.data PageStorageImpl start. Config{ PageStorage::Config V3 {blob_file_limit_size: 536870912, blob_spacemap_type: 2, blob_cached_fd_size: 100, blob_heavy_gc_valid_rate: 0.200, blob_block_alignment_bytes: 0, wal_roll_size: 2097152, wal_recover_mode: 0, wal_max_persisted_log_files: 4} }"] [thread_id=1]
[2022/05/23 01:46:28.596 +08:00] [INFO] [PageStorageImpl.cpp:41] ["PageStorage:__global__.meta PageStorageImpl start.  Still exist [snapshot_nums=0], [page_nums=27790]. Longest alive snapshot: [longest_alive_snapshot_time=0] [longest_alive_snapshot_seq=0] [stale_snapshot_nums=0]"] [thread_id=1]
[2022/05/23 01:46:28.717 +08:00] [WARN] [SpaceMapSTDMap.h:151] ["SpaceMap:Marked space used failed. [offset=166292405, size=115365] is bigger than space [offset=166292405,size=112309]"] [thread_id=1]
[2022/05/23 01:46:28.717 +08:00] [DEBUG] [SpaceMap.cpp:73] ["SpaceMap:    STD-Map entries status: \n      Space: 0 start: 798 size : 74\n  ..... (check the file for full log)
[2022/05/23 01:46:31.442 +08:00] [ERROR] [Exception.cpp:85] ["bool DB::Context::initializeGlobalStoragePoolIfNeed(const DB::PathPool &):Code: 49, e.displayText() = DB::Exception: Restore postion from BlobStat failed, [offset=166292405] [buf_size=115365] [blob_id=19] is used or subspan is used, e.what() = DB::Exception, Stack trace:\n\n\n       0x1a879b0\tStackTrace::StackTrace() [tiflash+27818416]\n                \tdbms/src/Common/StackTrace.cpp:23\n       0x1a852c0\tDB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) [tiflash+27808448]\n                \tdbms/src/Common/Exception.h:41\n       0x642722c\tDB::PS::V3::BlobStore::BlobStats::BlobStat::restoreSpaceMap(unsigned long, unsigned long) [tiflash+105017900]\n                \tdbms/src/Storages/Page/V3/BlobStore.cpp:1439\n       0x642712c\tDB::PS::V3::BlobStore::BlobStats::restoreByEntry(DB::PS::V3::PageEntryV3 const&) [tiflash+105017644]\n                \tdbms/src/Storages/Page/V3/BlobStore.cpp:1117\n       0x64354ac\tDB::PS::V3::PageDirectoryFactory::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::shared_ptr<DB::FileProvider>&, std::__1::shared_ptr<DB::PSDiskDelegator>&, DB::PS::V3::WALStore::Config) [tiflash+105075884]\n                \tdbms/src/Storages/Page/V3/PageDirectoryFactory.cpp:59\n       0x6419924\tDB::PS::V3::PageStorageImpl::restore() [tiflash+104962340]\n                \tdbms/src/Storages/Page/V3/PageStorageImpl.cpp:55\n       0x623b7a0\tDB::DM::GlobalStoragePool::restore() [tiflash+103004064]\n                \tdbms/src/Storages/DeltaMerge/StoragePool.cpp:120\n       0x5cd1e00\tDB::Context::initializeGlobalStoragePoolIfNeed(DB::PathPool const&) [tiflash+97328640]\n                \tdbms/src/Interpreters/Context.cpp:1663\n       0x1ab328c\tDB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) [tiflash+27996812]\n                \tdbms/src/Server/Server.cpp:1117\n       0x68f77d4\tPoco::Util::Application::run() [tiflash+110065620]\n                \tcontrib/poco/Util/src/Application.cpp:335\n       0x1ab7c50\tmainEntryClickHouseServer(int, char**) [tiflash+28015696]\n                \tdbms/src/Server/Server.cpp:1542\n       0x1a73268\tmain [tiflash+27734632]\n                \tdbms/src/Server/main.cpp:167\n  0xffff991c1724\t__libc_start_main [libc.so.6+136996]\n                \t/usr/src/debug/glibc-2.17-c758a686/csu/libc-start.c:266\n       0x1a7272c\t<unknown symbol> [tiflash+27731756]"] [thread_id=1]
[2022/05/23 01:46:31.443 +08:00] [INFO] [Server.cpp:1038] ["Application:Let tiflash proxy shutdown"] [thread_id=1]
[2022/05/23 01:46:31.443 +08:00] [INFO] [Server.cpp:1041] ["Application:Wait for tiflash proxy thread to join"] [thread_id=1]
[2022/05/23 01:46:31.671 +08:00] [INFO] [Server.cpp:1043] ["Application:tiflash proxy thread is joined"] [thread_id=1]
[2022/05/23 01:46:31.671 +08:00] [ERROR] [<unknown>] ["Application:DB::Exception: Restore postion from BlobStat failed, [offset=166292405] [buf_size=115365] [blob_id=19] is used or subspan is used"] [thread_id=1]
[2022/05/23 01:46:31.671 +08:00] [INFO] [<unknown>] ["Application:shutting down"] [thread_id=1]
[2022/05/23 01:46:31.671 +08:00] [DEBUG] [<unknown>] ["Application:Uninitializing subsystem: Logging Subsystem"] [thread_id=1]
[2022/05/23 01:46:31.672 +08:00] [INFO] [BaseDaemon.cpp:315] ["BaseDaemon:Stop SignalListener thread"] [thread_id=2]
[2022/05/23 01:46:46.926 +08:00] [INFO] [<unknown>] ["Welcome to TiFlash"] [thread_id=1]
[2022/05/23 01:46:46.926 +08:00] [INFO] [<unknown>] ["Starting daemon with revision 54381"] [thread_id=1]
[2022/05/23 01:46:46.926 +08:00] [INFO] [<unknown>] ["TiFlash build info: TiFlash\nRelease Version: v6.1.0\nEdition:         Community\nGit Commit Hash: 71613fd8c059187a89d7858d3d723fea701869fc\nGit Branch:      heads/refs/tags/v6.1.0\nUTC Build Time:  2022-05-20 06:38:20\nEnable Features: jemalloc asimd unwind\nProfile:         RELWITHDEBINFO\n"] [thread_id=1]

4. What is your TiFlash version? (Required)
master @ 71613fd8c059187a89d7858d3d723fea701869fc

There is two reasons that cause this bug:

We need to apply PageDirectory::gcInMemEntries twice to get a clean PageDirectory as last runtime
We can not avoid being_ref_count from being modified by acquire a snapshot while dumping snapshot


Possible to customize the format?

Hi!
Does this support custom formats/templates?

Hello. Yes. What you want to customize? These options ca help you:
    -f, --date-format [FORMAT]       Date format. Default is %Y-%m-%d
    --bugs-label [LABEL]         Setup custom label for bug-fixes section. Default is "**Fixed bugs:**
    --enhancement-label [LABEL]  Setup custom label for enhancements section. Default is "**Implemented enhancements:**"
    --issues-label [LABEL]       Setup custom label for closed-issues section. Default is "**Closed issues:**"
    --header-label [LABEL]       Setup custom header label. Default is "# Change Log"

@alanhartless Let me know if you need any help with formatting.

I was thinking more of the format.  For example, I prefer the PR#/link in front of each line rather the end.

@alanhartless If you want to hack on the generation of markup, the file to begin with may be generator_generation.rb. You might come up with ideas for how you'd want to express the options you want to use. Or, you may just find a way to get your desired output.


Docs on params and Python tutorial for regression

Thank you for the great package.
I'm struggling to find a tutorial in python for doing regression with the library. Also, I am having trouble finding docs on the params argument, i.e., valid and default values for params. If I am not overlooking existing officially released resources, they would be great additions.

I am having trouble finding docs on the params argument, i.e., valid and default values for params

You may consult https://xgboost.readthedocs.io/en/latest/parameter.html, which documents the valid and default values for all parameters.
https://xgboost.readthedocs.io/en/latest/python/examples/index.html has examples for using XGBoost in Python for a variety of tasks.


How generate a client_id & secret key ?

HI,
I want to generate client_id and secret_key, but I don't know how to do that .?

@lucadegasperi I am going to add another client. I added a record in oauth_clients table but when I try to use it it gives:
{"error":"invalid_client","error_description":"Client authentication failed."}

What else do I need to do?


Fix double firing of check_request_enabled

The check_request_enabled signal can fire twice during process_response, but really we should only do it once. Handlers could be expensive, e.g. doing database queries, and there's no reason they should be expected to cache their results.
Reported by @markush.

Correct me if I'm wrong, but I think it already executes just once.
Before process_response Django runs process_request which sets therequest._cors_enabled and that makes lines 103-105 in middleware.py redundant, because it will always be set and the "second" call to self.is_enabled(request) will not be made.


nullable openapi properties converted to non-nullable gql fields

OpenAPI properties may be nullable & required. required only indicates that a key must be present in an object to be valid, it makes no restriction on the type of the value corresponding to that key. openapi-to-graphql assumes that required OpenAPI properties are non-nullable:
https://github.com/IBM/openapi-to-graphql/blob/a06d6f418455d4daba9a03610a0062d58479d7cb/packages/openapi-to-graphql/src/schema_builder.ts#L622-L623
To Reproduce
Use openapi-to-graphql on a spec with type with a required field that is also nullable. Queries for that type which return a null for that nullable field cause unexpected validation errors.
Expected behavior
No validation errors when returning nulls for explicitly nullable fields.

Very interesting! I will review the spec but thank you so much for reporting this issue! This is an important distinction.

Thinking about this a bit more I don't think that required has any relevance to a GraphQL API. Certainly not during querying as it's entirely up to the querier to specify what subset of fields they wish to fetch.
To be useful during mutation, GQL would need to be able to validate the presence of a field independently of it's type. GQL can't do that though- every non-nullable field of an input type is implicitly also required. If openapi-to-graphql tried to use required to imply non-nullability on input types, it would break any API that requires a null field to be present on an input type.
For openapi-to-graphql to validate required precisely it would need to run a JSONSchema validator against the input types since the GQL validator doesn't have the flexibility required. Probably easier in the short term to just document this incompatibility between the specifications.

After some more careful review, I believe you are correct! This bug originally stems from a misunderstanding of what required means. We should be checking for nullable instead, so thank you for the clarification.

Any progress on this?
This prevent us from using nullable fields.

Setting default: null does the trick.


#2 - Inception : Feedback

לא תייגתם אותי בissue שפתחתם
חסר קצת מידע על הצוות ועל השונות
צריך להוסיף סיכונים שקשורים בפרויקט עצמו

Hi Yaacov,
changes have been made to the risk management and team diversity sections.
Concerning the first point, about opening the issue, when I opened the issue it was a Saturday, I wanted to tag you but you haven't approved the request to be one of the contributors to this project yet. So I tagged myself instead and changed it back to you as soon as I got your approval.
thank you.

Great, you still didn't opened issue for submission for this exercise, next time pay attention to this.


Fixed #369

I've looked at the master branch and I think this is what you want to happen.

The issue is already fixed in 56353962e7da7e385c3d577581ccc3015ed6d1dc, but IMO the fix in this PR is better because it follows more closely the behavior in master. So, either close the PR or revert 56353962e7da7e385c3d577581ccc3015ed6d1dc and merge this.

Closing this, as the fix we put in follows the (yucky) 1.0.2 style :)


Iconic stroke font

Hi all,
I am trying to use your great extension.
It is working perfectly fine with LESS, but the icons do not show up.
As a temporary workaround I've downloaded "iconic_stroke.otf" from another website and now I am able to use some icons.
I'm browsing my website with FF 9.0.1.
What am I doing wrong?
Thanks,
Francesco

Hey,
maybe you just have to set the variable $iconFileName into the file variables_xtra.scss

I have the following variables in variables_xtra.less
/* VariablesXtra.less

Variables to customize the look and feel of Bootstrap
----------------------------------------------------- */

//Icons
@iconFontFamily:        "IconicStrokeRegular";
@iconFileName:          "fonts/iconic_stroke";
@iconColor:             #000000;
@alternativeIconColor:  #ffffff;
@iconBasefont:          13px;
@iconBaseline:          14px;

By me it works like that, I have the folder "bootstrap"  that contain variable_xtra.less, and in the main directory the folder "fonts" where you can find the 4 font types (.eot .svg .ttf .woff)
Maybe it could depend from the OS you are loading on. In Linux you would have a different typing to declare the specified path.

Now Bootstrap 2.0 includes icons. I'll switch to it.
Thank you!


Rename weight by grid_fee for price adjustments

I noticed also in fair_market it is called weight, but the grid_fee is not necessarily equal to the weight, the weight is the network-graph weights and the grid_fee is adjusted by the weight factor which is only 1 as a default
Originally posted by @j-ti in https://github.com/BESTenergytrade/simply/pull/99#discussion_r871429990

closes #100


fixed deprecation warning

Codecov Report

Merging #38 (5365339) into main (b4a1282) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   92.30%   92.30%
=======================================
  Files           7        7
  Lines         728      728
=======================================
  Hits          672      672
  Misses         39       39
  Partials       17       17

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b4a1282...5365339. Read the comment docs.


Warning: Calling <<-EOS.undent is deprecated

I see this when installing on Mac High Sierra using brew:
Warning: Calling <<-EOS.undent is deprecated!
Use <<~EOS instead.
/usr/local/Homebrew/Library/Taps/pinepain/homebrew-devtools/Formula/v8@6.4.rb:71:in `block in install'
Please report this to the pinepain/devtools tap!

@baberuth22 Thanks for reporting! I'll update pinepain/devtools tap later this week.

Fixed by https://github.com/pinepain/homebrew-devtools/commit/8b9206598d45cb8ed811292b21cb35033305ab18


PR for adding content pack items

These include module MMDs, SVTs, required roles & picklists, navigation views

Does the export have the Hunt playbooks as well?
Please remove the .zip. The next version of the pack will have those

@cs-pooja-singh Removed zip. Added hunt playbooks