Deploy 1st Version of v3 Subgraph

Support summoning
Dao entity
Handles events from summoner and baal

    event SummonBaal(
        address indexed baal,
        address indexed loot,
        address indexed safe
    );

    event SetupComplete(
        bool lootPaused,
        bool sharesPaused,
        uint32 gracePeriod,
        uint32 votingPeriod,
        uint256 proposalOffering,
        uint256 quorumPercent,
        uint256 sponsorThreshold,
        uint256 minRetentionPercent,
        string name,
        string symbol,
        address[] guildTokens,
        uint256 totalShares,
        uint256 totalLoot
    ); /*emits after Baal summoning*/

https://thegraph.com/hosted-service/subgraph/hausdao/daohaus-v3-rinkeby?selected=logs
https://rinkeby.etherscan.io/address/0x31C948A5Ad149853B211de025082b61573ef3979#code


change flyin animate from top to down

how can i change flyin animate from top to down not right to left

No progress.


Provide type annotations for razorpay

Currrently, neither razorpay has typed annotation, nor are they listed on @types/razorpay. Please add typed annotations to make the development experience easier.

Closing in favour of #116


mkimage: add debian security updates source when available

- What I did
This change checks validity of debian updates source line before appending it to the built chroot. In debian wheezy, only some of its official architectures have updates channel. So when running a multiarched build of debian images, it fails to retrieve apt files for wheezy mips/mipsel/powerpc/s390x. See http://security.debian.org/dists/wheezy/updates/main/ for the supported list for Wheezy. Stretch has updates channel for all its official architectures.
- How I did it
Use curl to detect whether a remote file under the targeting folder exists.
- How to verify it
https://travis-ci.org/vicamo/docker-brew-debian/builds/183813495
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)
https://www.facebook.com/photo.php?fbid=10207044514698919&l=88868d064f
Signed-off-by: You-Sheng Yang (楊有勝<EMAIL_ADDRESS>

/cc @tianon @mlaventure

Rebased to current HEAD and add quotes.

LGTM


Running tests & LICENSE in README.md

@Natim Is that a good idea?

What is the question?

@Natim If we should add a section for Running the tests and what LICENSE we are using in the README.md file :)

Yes that's a good idea I think :)


Sonos

Fix non-radio Sonos album-art by using track_info['album_art'] before checking other options.
Related issue (if applicable): fixes #4661
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

First time I'm working with Git: My first commit had extra files, then I reverted it, then resubmitted with sonos.py only. I'm not sure how to include only the last submit into the pull request.


Opam prepare/submit

adds prepare and submit takes to vrt

Looks good to me.

@samuelrivas this should be good, and based on the afin commands

Ok, done reviewing. Had a few comments/questions in code, but one overarching question I have is where do tie a specific version of vrt to a specific version of opam? Since we are calling opam from this, we probably want some kind of sanity check to make sure we are using the intended version of opam before executing the command maybe?


fix: :bug: fix npm release

:tada: This PR is included in version 0.1.2 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Documentation window does not have the same appearance as vim.lsp.buf.hover

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
-- import lsp-zero plugin safely
local lsp_status, lsp = pcall(require, "lsp-zero")
if not lsp_status then
	return
end

-- import cmp plugin safely
local cmp_status, cmp = pcall(require, "cmp")
if not cmp_status then
	return
end

-- import neodev plugin safely
local neodev_status, neodev = pcall(require, "neodev")
if not neodev_status then
	return
end

neodev.setup()

lsp.preset({
	name = "minimal",
})
lsp.setup()

cmp.setup({
	sources = {
		{ name = "path" },
		{ name = "nvim_lsp" },
		{ name = "nvim_lua" },
		{ name = "luasnip", keyword_length = 2 },
		{ name = "buffer", keyword_length = 3 },
	},
	window = {
		documentation = cmp.config.window.bordered(),
	},
})

Description
I don't know why the documentation window appearance differs from lspconfig's vim.lsp.buf.hover. FIY https://github.com/VonHeikemen/lsp-zero.nvim/issues/255
Steps to reproduce
Use the config provided above and try to autocomplete the following with fmt.Scanf.
package main

import "fmt"

func main() {
  fmt.S
}

Expected behavior
The documentation window should look like the one being rendered by vim.lsp.buf.hover.
Actual behavior
Some colors are off, symbols and even the markdown rendering is not working as expected.
Additional context
No response

The nvim-cmp have window appearance settings.
See :help cmp-config.view


Changes to resource status summary are not reflected in real-time

A page navigation (or refresh) is required to see the updated status.

fixed in recent commit


parrots for tin_shift

parrots for tin_shift

Codecov Report

Merging #1 into tin will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##              tin       #1   +/-   ##
=======================================
  Coverage   63.12%   63.13%
=======================================
  Files         130      130
  Lines        7232     7231    -1
  Branches     1269     1268    -1
=======================================
  Hits         4565     4565
+ Misses       2441     2440    -1
  Partials      226      226

Flag
Coverage Δ

#unittests
63.13% <0.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mmcv/ops/tin_shift.py
52.38% <0.00%> (+2.38%)
: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 2c4dff4...54b01fa. Read the comment docs.


Default support for 'alt '

Looks like alt  is not supported. The expected behavior is to jump between words, and the current behavior for alt  is to output ie. (';3C' or ';3D').

Can confirm. Might be related to #161

Nope. Not related. Those keyboard shortcuts just aren't mapped to the escape sequences.
Esc + b & Esc + F are working.
So I tried to write a small plugin. While the plugin system of hyperterm works fine. But sadly I always get an error from hterm. It doesn't support escape sequences: https://github.com/chromium/hterm/blob/23300c0308d9e4ea9bd784807a4e40b1fb1ac69e/js/hterm_vt.js#L1323-L1330

Related https://github.com/zeit/hyperterm/issues/53

I have no idea what I did the first time when it didn't work.
But I had to debug the hterm code to get it working. Will continue in #217.


[FEATURE] implement compression level for PBF files

set default compression level to 6 and removed the option to change it


Innacurate Spike results

Slayer is counting 9 spikes in the chart, but as can be seen below there are 10 spikes (in my project I am counting the number of punches thrown so each spike = a punch)
The graph is created by parsing a CSV file using PapaParse and creating the graph using C3.JS and D3.JS.
I use Slayer to find the peaks from the parsed data in the CSV file and display the number of "punches".
Is there any way to resolve this so slayer can find every peak(punch), as each spike is acceleration from a punch being thrown.
 I suspect two peaks are close enough in term of distance and only of them is being picked.
As the default minPeakDistance option value is 30, if two of your peaks are separated with 30 or less datapoints, peaks would pike the highest of them.
If that does not change a thing, maybe there is a problem down the line.

Attempted it but no luck.
when minPeakDistance: 1 it displays "17" punches and when minPeakDistance: 2 it displays 9  :/
any other ideas?

Hm, it's definitely a bug then.
Do you mind pasting your JSON content on https://jsonbin.io/? Without any sensitive information of course 😄

yeah sure:
//api.jsonbin.io/b/5acbd8174ba8d82b4ccc480a

Hello again @rkhairandish 🙂
I realise my previous message was a bit confusing. I was thinking of the JSON content of your datapoints, not the content of the package.json file.
On a side note, I realise you use d3-peaks. Do you manage to identify the 10 peaks in your data?

I think this is what you're asking for:
//api.jsonbin.io/b/5acc99f490d8772b521adf7c
As for D3-Peaks i've not completely implemented it yet as i was hoping to get slayer working


Simplify ECC CompressedMarshal / Unmarshal

Inspired by https://github.com/golang/go/pull/35110
CompessedMarshal/Unmarshal will be available in Go 1.15, but it's not released yet.

@BenBenoyRedux Thanks so much for your review. I've added a bunch of test vectors and cleaned things up quite a bit.

@BenBenoyRedux PTAL?

Addressed most comments - PTAL.
The unaddressed comments are to keep the code as close to the offical Golang source as possible.


Creating BC Docker Container Question - Error after Initializing

Hi
I am new to BC Docker Container. I tried to follow many different guidelines but I had no success. Basically everything is run and get to Initializing and then it stuck for a long time and then I receive the following error message.
I have tried to remove all containers, images, remove docker, reinstall docker, use older BC image, use Sandbox and onprem version, download and save image and use saved image, hyperv or process isolation. All guideline I could find but had no success. I cannot pass the Initializing step and always receive the same exact error.
Any help will greatly appreciate
Sample of one script:
$containerName = 'bcdev20'
$password = 'P@ssw0rd'
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential 'admin', $securePassword
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'us' -select 'Latest'
New-BcContainer     -accept_eula
-containerName $containerName     -credential $credential
-auth $auth     -artifactUrl $artifactUrl
-imageName 'script18'     -multitenant:$false
-assignPremiumPlan     -isolation 'process'
-memoryLimit 4G `
-updateHosts
Error:
Building image took 886 seconds
Using image script18:sandbox-19.3.34541.35905-us
Creating Container bcdev20
Style: sandbox
Multitenant: No
Version: 19.3.34541.35905
Platform: 19.0.34506.35781
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1526 (21H2)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\BcContainerHelper\Extensions\bcdev20\my:

AdditionalOutput.ps1
MainLoop.ps1
SetupNavUsers.ps1
SetupVariables.ps1
updatehosts.ps1
Creating container bcdev20 from image script18:sandbox-19.3.34541.35905-us
b489cfe8e636f76a63be9cfe4167564a7d09b84bdc06ffd3523d1b9954ae2c1b
Waiting for container bcdev20 to be ready
Initializing...Error
Initializing...
New-BcContainer Telemetry Correlation Id: 18004b7a-13b0-481c-bfc4-a8a3a480fb1a
Initialization of container bcdev20 failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\ContainerHandling\Wait-NavContainerReady.ps1:42 char:17

... throw "Initialization of container $containerName failed" ...

CategoryInfo : OperationStopped: (Initialization ... bcdev20 failed:String) [], RuntimeException
FullyQualifiedErrorId : Initialization of container bcdev20 failed

If your machine can run Windows 11 - you should upgrade - docker works much better on that.
If you stay on Windows 10, you can try to use hyperv isolation (change -isolation 'process' to -isolation 'hyperv') to the new-bccontainer command.

Some Info
I only had a success using command prompt as follow and I have a container now. But when I try to connect to it using Visual Basic / AL to get the symbols I receive the following error. I am not sure if I followed the right practice.
How I created container:
docker pull mcr.microsoft.com/businesscentral:10.0.19041.329
docker run -e accept_eula=Y -m 4G -e artifacturl=https://bcartifacts.azureedge.net/sandbox/16.3.14085.14363/us mcr.microsoft.com/businesscentral:10.0.19041.329
My jason file in AL: I tried both OnPrem and Sandbox
{
"version": "0.2.0",
"configurations": [
{
"name": "Your own server",
"request": "launch",
"type": "al",
"environmentType": "OnPrem",
"server": "http://mysandbox",
"serverInstance": "BC",
"authentication": "UserPassword",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true,
"tenant": "default"
}
]
}
Error message: AL ask for user name and password after I enter them I receive the following. I can access Web Client using the same user and password.
[2022-02-09 07:56:34.53] Using reference symbols cache path: c:\Users\MahdyG\Documents\AL\ALProject1./.alpackages
[2022-02-09 07:56:34.57] Targeting server 'http://mysandbox', server instance 'BC' and tenant 'default'.
[2022-02-09 07:56:34.65] Please authenticate in the Visual Studio Code...
[2022-02-09 07:56:52.42] Using reference symbols cache path: c:\Users\MahdyG\Documents\AL\ALProject1./.alpackages
[2022-02-09 07:56:52.43] Targeting server 'http://mysandbox', server instance 'BC' and tenant 'default'.
[2022-02-09 07:56:52.43] Using user name and password authentication. User name used is: 'mahdyg'.
[2022-02-09 07:56:52.44] Sending request to http://mysandbox:7049/BC/dev/metadata?tenant=default
[2022-02-09 07:56:52.46] Sending request to http://mysandbox:7049/BC/dev/metadata?tenant=default
[2022-02-09 07:56:54.75] Authorization has failed or the credentials have expired. The credential cache has been cleaned. Any access to reach Business Central would require new authorization.
The authentication has been cancelled.

you could remove the -imagename property and try again,
You could also try and add -usegenericimage 'mcr.microsoft.com/businesscentral:10.0.19041.329' to specify that you want to use this image specifically.

Thanks Freddy for your help. I ended up removing each parameters and finally the following one worked for me. As soon as I add any extra parameters it get stuck at the same step. Thanks again
$artifactUrl = Get-BcArtifactUrl -type onprem -country us -select Latest
New-BCContainer -accept_eula -containerName sandboxdev -artifactUrl $artifactUrl -assignPremiumPlan


Documentation: Use case library naming convention

Description
As part of Component Jam, contribute updated naming convention for Use case library

As per the Component Jam discussion, three new BDDs to add:
Prerequisites
Create 'observableExample' component that exposes configuration data and credentials to the TDD scripts
scenario get OpenID connect configuration from known URL
Given a component 'observableExample' is installed
When the status of the 'observableExample' component is 'Complete'
Then the 'observableExample' component has valid OpenID Connect configuration data
scenario register component in identity platform
Given a component 'observableExample' is installed
When the status of the 'observableExample' component is 'Complete'
Then the 'observableExample' component is registered in the identity management platform
And the 'observableExample' component has credentials
scenario test credentials
Given a component 'observableExample' is installed
When the 'observableExample' component authenticates itself with the identity platform
Then a token is returned to the 'observableExample' component


check_serializability fails for Date

Describe the bug
I'm getting the following error passing a Date from the server.
Error: data.currentServerDate returned from 'load' in src/routes/+layout.server.ts cannot be serialized as JSON
    at check_serializability (file:///Users/chriscarson/linketysplit-dev-august/sk-date-serialization-issue/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:126:8)
    at check_serializability (file:///Users/chriscarson/linketysplit-dev-august/sk-date-serialization-issue/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:120:5)
    at load_server_data (file:///Users/chriscarson/linketysplit-dev-august/sk-date-serialization-issue/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:34:3)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async file:///Users/chriscarson/linketysplit-dev-august/sk-date-serialization-issue/node_modules/@sveltejs/kit/src/runtime/server/page/index.js:163:13

Date is serializable to JSON. The problem is check_serializability.https://github.com/sveltejs/kit/blob/566776afcdae54c6f60f4eaf75933b3041c96fb2/packages/kit/src/runtime/server/page/load_data.js#L96
I understand the function gives you the key of the offending non-serializable type. But the error thrown from JSON.stringify is already pretty descriptive...
const foo = BigInt(3);
const bar = {foo}
JSON.stringify(bar)
VM270:1 Uncaught TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    at <anonymous>:1:6
(anonymous) @ VM270:1

If you do want to keep track of the path, maybe we can just add a try/catch before we throw (untested):
/**
 * Check that the data can safely be serialized to JSON
 * @param {any} value
 * @param {string} id
 * @param {string} path
 */

function check_serializability(value, id, path) {
  const type = typeof value;

  if (type === 'string' || type === 'boolean' || type === 'number' || type === 'undefined') {
    // primitives are fine
    return;
  }

  if (type === 'object') {
    // nulls are fine...
    if (!value) return;

    // ...so are plain arrays...
    if (Array.isArray(value)) {
      value.forEach((child, i) => {
        check_serializability(child, id, `${path}[${i}]`);
      });
      return;
    }

    // ...and objects
    const tag = Object.prototype.toString.call(value);
    if (tag === '[object Object]') {
      for (const key in value) {
        check_serializability(value[key], id, `${path}.${key}`);
      }
      return;
    }
  }
 // added to handle things that fail the above tests
  try {
    JSON.stringify(value);
    return;
  } catch (error) {
    //ignore
  }

  throw new Error(`${path} returned from 'load' in ${id} cannot be serialized as JSON`);
}

Reproduction
https://github.com/cdcarson/sk-date-serialization-issue.git
Logs
No response
System Info
ystem:
    OS: macOS 12.4
    CPU: (8) arm64 Apple M1
    Memory: 167.59 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Safari: 15.5
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/kit: next => 1.0.0-next.426
    @sveltejs/package: next => 1.0.0-next.1
    svelte: ^3.44.0 => 3.49.0
    vite: ^3.0.0 => 3.0.9

Severity
blocking all usage of SvelteKit
Additional Information
I'm blocked until this is fixed, so I'll take a stab at modifying the function and writing tests.

That's a really bad design decision. The notion that I can't be trusted to rehydrate Date on the client in the correct way. Whew. 'Nuff said.

Prisma Decimal has the same issue.

Starting with one of the recent updates, I've been having related issues with Prisma and timestamps stored as BigInt.

@DePasqualeOrg BigInt isn't JSON serializable -- you have to do that yourself. It's not a SvelteKit specific limitation, like Date currently is.  I raised the issue of serialization today here: https://github.com/sveltejs/kit/discussions/6143#discussion-4322035 and it looks like SvelteKit are working on de/serialization of both Date and BigInt in https://github.com/sveltejs/kit/issues/6008.
@lulucas I'm not directly familiar with Prisma Decimal, but it looks like it's a class with methods rather than a plain object: https://mikemcl.github.io/decimal.js. Can you serialize it to JSON yourself, outside Kit? If you can, it probably means that Kit's check_serializability is objecting to it on those grounds.


Missing IMET Sonde in SondeHub?

Hi,
Strangely, it seems that while radiosonde_auto_rx is uploading to sondehub successfully (see below log), the sonde is not shown on the online SondeHub map.
Maybe there is some issue with IMET sondes...? Or perhaps I'm doing something wrong?
Thanks.
2021-04-25 14:31:14,479 INFO:Task Manager - Detected new IMET sonde on 401.999 MHz!
2021-04-25 14:31:14,480 INFO:Halting Scanner to decode detected radiosonde.
2021-04-25 14:31:14,480 INFO:Scanner #0 - Waiting for current scan to finish...
2021-04-25 14:31:31,557 INFO:Scanner #0 - Scanner Thread Closed.
2021-04-25 14:31:31,558 INFO:Task Manager - SDR #0 has been allocated to Decoder (IMET, 401.999 MHz).
2021-04-25 14:31:34,564 INFO:Decoder #0 IMET 401.999 - Starting decoder subprocess.
2021-04-25 14:31:51,868 INFO:Sondehub Uploader - Uploaded 13 telemetry packets to Sondehub in 1.5 seconds.
2021-04-25 14:32:07,646 INFO:Sondehub Uploader - Uploaded 16 telemetry packets to Sondehub in 0.8 seconds.
2021-04-25 14:32:23,787 INFO:Sondehub Uploader - Uploaded 16 telemetry packets to Sondehub in 1.1 seconds.
2021-04-25 14:32:31,959 INFO:Habitat - Uploaded sentence to Habitat successfully: $$RS_IMET-BE734E5D,2991,11:32:42,32.01149,34.93981,13267,-9999.0,-57.0,9.0,IMET IMET-BE734E5D 401.999 MHz 166.2hPa 4.8V*2B86
2021-04-25 14:32:39,407 INFO:Sondehub Uploader - Uploaded 17 telemetry packets to Sondehub in 0.6 seconds.
2021-04-25 14:32:54,943 INFO:Sondehub Uploader - Uploaded 15 telemetry packets to Sondehub in 0.5 seconds.
2021-04-25 14:33:12,951 INFO:Sondehub Uploader - Uploaded 15 telemetry packets to Sondehub in 3.0 seconds.
2021-04-25 14:33:29,145 INFO:Sondehub Uploader - Uploaded 19 telemetry packets to Sondehub in 1.2 seconds.
2021-04-25 14:33:29,480 ERROR:Habitat - Error uploading to Habitat. Status Code: 200 {"message": "HabHub is currently under heavy load. You telemetry has been recorded in the SondeHub DB but not forwarded to HabHub. Please do not panic!."}.

@darksidelemm @TheSkorm - did you have a chance to look at this?
Thanks.

It's definitely ending up in the database as I can query that serial number on sondehub.org/card/ - https://sondehub.org/card/BE734E5D
I did notice a distinct lack of iMet sondes on the map though, and I thought that might have just been them not being launched for a few days...

OK, thanks to @TheSkorm this is now fixed :-)

Good find. This was actually a bug in the backend where we were expecting to see a vel_h value, however this isn't reported by iMet sondes. Backend has been updated to reflect this (https://github.com/projecthorus/sondehub-infra/commit/3fd74d61a7f6a4d26d1d580078f276f54d7816ad)

Thanks again!


Not to be able to login GROWI demo page as an admin user

Problem to Solve
Not to be able to login GROWI demo page as an admin user

https://demo.growi.org/

How to reproduce? (再現手順)

Try to login as an admin user refer to the following image.

What happens? (症状)

Login failed

What is the expected result? (期待される動作)

Be able to log in as an admin user

解決したので close します


[omnisci] Various problems in datetime processing

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 20.04.1 LTS

Modin version (modin.__version__):

0.10.2+39.g15f168ca

Python version:

Python 3.9.7

Code we can use to reproduce:

import modin.pandas as pd

df = pd.read_csv("datetime.csv", parse_dates=["pickup_datetime", "dropoff_datetime"])

print(df.dtypes)
print(df["pickup_datetime"].astype("int64"))

df["dropoff_datetime"][0] = pd.to_datetime("2014-01-09 20:52:31")
df["dropoff_datetime"][1] = pd.to_datetime("2014-01-09 20:55:12")
# If you uncomment this line you get a different exception
# df["dropoff_datetime"][3] = pd.to_datetime("2014-01-09 20:59:46")

print(df["dropoff_datetime"].astype("int64"))

Describe the problem

Code above finds three different problems:

When datetime is read from CSV file, it is kept in seconds, not in nanoseconds as type datetime64[ns] implies. When this code runs on Pandas it shows numbers like<PHONE_NUMBER>000000000 while the same code on Modin on omnisci produces numbers like<PHONE_NUMBER>.
When datetime is assigned to column from pd.to_datetime it produces an AssertionError: unaligned dtypes (dropoff_datetime    int64.
If you uncomment a 3rd assignment line this code produces another exception ValueError: cannot reindex from a duplicate axis.

Attached is the data file. datetime.csv
Source code / logs

What else do we need here?

Let’s close this then

@ienkovich , did #3483 fully covered this issue?

I worked on the second problem only.

Let's put the rest part to be resolved in 0.13 then.

HDK engine is deprecated and will be removed in a future version.


Import DB backup to Digital Ocean and Test

Test functionality with working data.

Decision was made to stick with Heroku for the time being.


_preprocess_numpy_input in keras.applications.imagenet_utils should not be in place

give the signiture of
def _preprocess_numpy_input(x, data_format, mode):
....
    return x

it should either not return anything, or have an extra optional parameter in_place.

We had a discussion about this recently here: https://github.com/keras-team/keras/pull/10153 .
The conclusion was:

In-place copying makes sense, because always creating a new array can lead to large performance decrease with large images.

If the user wants to create a new image instead of copying in-place, they should use np.copy(x) as the argument.


Private git server

hi sir
i want create private git server in my organization,where all developers stores and retrieve their code ,in windows is it possible ?

thank you sir


Give user access to only their own details

I am using IdSvr as my main identity server, and Identity Manager to provide additional capability for managing users.
I want to be able to add additional claims to a user to allow them access to parts of my web application (via the role claim). Currently I can do this by manually giving the user the Identity Manager Admin Role then calling the relevent API with the JWT Bearer token I receive from IdSvr when the user logs in with the idmgr claim.
Is there any way to configure either my client application, or identity manager itself to allow a user access to their own details without adding giving them an Identity Manager admin role?

This sounds like a bad idea. Why not just have your other code write to the identity DB? IdMgr was not designed to be a Web API wrapper around identity (even though this UI was built that way).

@brockallen it seemed like the best idea to use IdMgr to add additional claims for my user, since it already has a web API component to it. Writing my own would essentially duplicate this effort to much the same conclusion.
Is this a common use-case? Adding claims to a user from a client application after they have registered?

Given that it wasn't designed to be the general purpose API you just might run into things that are hard to get done... that's all.

@brockallen what would you recommend as the best method to add claims to users at runtime?

Per-request? Claims transformation.


Native node TestContext.assert is not typed correctly

🔎 Search Terms
NodeJS 22
Typescript 5.5.4
test runner
assertions
🕗 Version & Regression Information

This changed between versions 3.6.3 and 5.5.4
I was unable to test this on prior versions because the Test runner was introduced as experimental in Node 18, and was made stable in Node 20.

⏯ Playground Link
https://www.typescriptlang.org/play/?#code/PTAEAsBdIBwZwFwgHYHsAmBTAVnAdKgE4Dmw6qAxnMADYCGkmckwdMAlsI83lALY0AxBVTJGAD0h04cTIUgAodnxhFIoAN6hu6gL6gAZoVR9QAcjRYEOswG4FCkKABCxgNaZkCnQAozNgBpQH0gASlAAXgA+TQVQbTxpWXk8ZkJ2CkgAUQBHAFc6GhDCPMwgyBLMUPtdaodlVXlNUAAVJkgAYVEJPUNjUwsMTGt2uwcnAHUiN3ZkYm92v0DgyARW9q6xTElw6Nj4yESZOUO0jOz8wuLS8sq62tsgA
💻 Code
// https://nodejs.org/docs/latest/api/test.html#contextassert
import { test } from 'node:test';

// Broken
test('test', (t) => {
  t.assert.strictEqual(true, true);
});

import { TestContext } from 'node:test';

// Working
test('test', (t: TestContext) => {
  t.assert.strictEqual(true, true);
});

🙁 Actual behavior
Assertions require every name in the call target to be declared with an explicit type annotation.(2775)
input.tsx(5, 15): 't' needs an explicit type annotation.
(property) TestContextAssert.strictEqual: (actual: unknown, expected: true, message?: string | Error) => asserts actual is true
Tests strict equality between the actual and expected parameters as determined by Object.is().
import assert from 'node:assert/strict';
assert.strictEqual(1, 2);
// AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
//
// 1 !== 2
🙂 Expected behavior
// Both cases should be treated the same way.
test('test', (t) => {
t.assert.strictEqual(true, true);
});
test('test', (t: TestContext) => {
t.assert.strictEqual(true, true);
});
Additional information about the issue
Test example taken directly from NodeJS 22 documentation
https://nodejs.org/api/test.html#contextassert

This is working as intended per #32695. Assertions require every name in the call target to be declared with an explicit type annotation.

I've got three questions.

Every name in the call target needs to be declared with an explicit type annotation. TypeScript knows the types involved. Why does the parameter need to be explicit? I've read the issue and others like it but I failed to find the underlying reason why explicitly typed parameters are required or a workaround.

Why does the native assert package work?

TypeScript Playground

Using the native assertions doesn't help with the test plan when one is required. Can @types/node be updated so the first example works? If so, is that a ticket for DefinitelyTyped/DefinitelyTyped?

I appreciate any extra detail or dumbing-down of the information that you can provide.

This limitation is by design for performance reasons.
This library does not require your passed function to be an assertion function, or there are no identifiers without declared type (didn't check which one).
That would be a bad change. I'm sure it's intentional that it requires an assertion function.

I don't think this is a TypeScript issue per se, but it is weird that this works when node:assert is imported directly, but it doesn't when it's used off of node:test's TestContext object which, as far as I know, just re-exports node:assert.

I expect this is an issue with @types/node instead and how it's typing TestContext's assert:

Note when it's off of node:assert it's a full function, but it's a lambda when it's on TestContext.


libcuda.so: cannot open shared object file: No such file or directory

Hi,
I have been trying to use the Dockerfile given and run the example
docker run --rm -it --runtime=nvidia --gpus all maniskill/base python -m mani_skill.examples.benchmarking.gpu_sim

I tried both building the Dockerfile locally and pulling the image using docker pull maniskill/base
When I run the benchmark, I get the error
Traceback (most recent call last):
  File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/conda/lib/python3.9/site-packages/mani_skill/examples/benchmarking/gpu_sim.py", line 156, in <module>
    main(parse_args())
  File "/opt/conda/lib/python3.9/site-packages/mani_skill/examples/benchmarking/gpu_sim.py", line 40, in main
    env = gym.make(
  File "/opt/conda/lib/python3.9/site-packages/gymnasium/envs/registration.py", line 802, in make
    env = env_creator(**env_spec_kwargs)
  File "/opt/conda/lib/python3.9/site-packages/mani_skill/utils/registration.py", line 167, in make
    env = env_spec.make(**kwargs)
  File "/opt/conda/lib/python3.9/site-packages/mani_skill/utils/registration.py", line 78, in make
    return self.cls(**_kwargs)
  File "/opt/conda/lib/python3.9/site-packages/mani_skill/envs/tasks/tabletop/pick_cube.py", line 27, in __init__
    super().__init__(*args, robot_uids=robot_uids, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/mani_skill/envs/sapien_env.py", line 229, in __init__
    physx.enable_gpu()
  File "/opt/conda/lib/python3.9/site-packages/sapien/physx/__init__.py", line 45, in enable_gpu
    ctypes.CDLL("libcuda.so", ctypes.RTLD_GLOBAL)
  File "/opt/conda/lib/python3.9/ctypes/__init__.py", line 382, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libcuda.so: cannot open shared object file: No such file or directory

Single environments work

Did you setup the nvidia docker container? It's an additional setup after installing docker.

Hi, managed to fix it by uninstalling docker and nvidia-docker, and reinstalling both


Feat/create local dev environment that mirrors kube

Creates a local deployment that more closely mirrors Kube containers.
Creates a new docker-compose configuration that uses container builds for Kube.
Has some convenience features like setting user id to be identical to development environment allowing user to adjust files mounted into the containers without permission issues.
Included instructions on how to deploy.
Walked through instructions within README.md to make sure that it would create a working deployment.

@gtirloni would you be able to review this PR?

As I understand it, @peterhebert and @JureUrsic will recreate this work if needed. I've mothballed this PR so that it's still visible as a reference for them.

@JureUrsic and @peterhebert could you please review this.

@marvinroman could you please update this with dev and resolve the conflict?

Dev is merged in and conflicts resolved.

@marvinroman could you please look at the merge conflicts with this PR? I hope to find some more time to review this after the conflicts are addressed.

@jobara I have merged in dev and resolved the conflict.


Benchmark BNF examples via Criterion

Changes
I hope the README explains this PR. But one additional nice thing to look at is a screenshot from the Criterion report 😍

Obviously big caveat to the numbers. Running on my personal laptop, with other process activity, etc. But nice to see what the reports can look like!
Issues
One potential issue with these benchmarks is that Grammar::generate relies on random seeds. Currently there is no public API for generating with a static, controlled seed for reliable benchmarking. This introduces some chance to that benchmark, but hopefully it is small noise in the big picture. On my machine, I observed ~2% of performance drift between random Grammar::generate benchmarks.

this is rad, really glad to see it incorporated, totally agree with 😍


Whitelist for redirects

If we link from the platform to the OCF docs, the user sees this warning:

It would be great if we could have a whitelist for domains that skip this redirect, such as opencollective.foundation and oscollective.org and their subdomains.

@Betree I thought we already had this notion of trusted domains. Am I wrong or what is different here?

@Betree I thought we already had this notion of trusted domains. Am I wrong or what is different here?

We indeed have this notion already.

In https://github.com/opencollective/opencollective-api/pull/6603, I'm adding the two domains to the trusted list to make sure they will be linked directly in the future when sanitizing (rather than being sanitized as /redirect?url=...).
In https://github.com/opencollective/opencollective-frontend/pull/6886, I'm tweaking the behavior of the external-redirect page to make sure we don't show any warning for already sanitized links pointing to domains that are now trusted (e.g. https://opencollective.com/redirect?url=https://opencollective.foundation)


Potential Bug with URL Hash being decoded (Tested on Angular 1.4.2 & 1.4.7)

After browsing the code and reading http://tools.ietf.org/html/rfc3986#section-2.4 I'm still not sure if this is intended behavior. This is happening for us in one specific instance where we have Angular being used by a component on our page. A 3rd party script sets window.location.hash, and Angular's $locationWatch picks up the url and the url is decoded... When the 3rd party js script grabs the window.location.hash value, its now decoded and the third party script expects it to be encoded still which creates a bug. The reason it occurs in this case is that the third party script is splitting on the "/" character, so 942520H PROCAT SE KOHLER CV680 W/52 SIDE DISCHARGE gets encoded to /s/TPI/942502G_PROCAT_26HP_KAW_W%2F%2F61_SIDE_DISCHARGE//1
Angular modifies it to /s/TPI/942502G_PROCAT_26HP_KAW_W//61_SIDE_DISCHARGE//1. Which is put into json to send over the wire... So the decoding in the hash breaks that process...
Here is an example setting the window.location.hash = "%27" notice that it gets decoded...

From what I could glean from the spec this shouldn't happen...
"The characters slash ("/") and question mark ("?") are allowed to
represent data within the fragment identifier. Beware that some
older, erroneous implementations may not handle this data correctly
when it is used as the base URI for relative references (Section
5.1)."
I did find this in the source... looks like I'm hitting the or of the else, seems to happen across all browsers ;)
} else {
// - reloadLocation is needed as browsers don't allow to read out
// the new location.href if a reload happened.
// - the replacement is a workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=407172
return reloadLocation || location.href.replace(/%27/g,"'");
}

Just found this issue, looks related.  https://github.com/angular/angular.js/issues/1388

and i have same problem :(

@dgwaldo  - the code that you point to actually replaces incorrectly encoded single quotes %2F with real quotes ', which is not the cause of your problem...

The actual line of code that makes the change is https://github.com/angular/angular.js/blob/v1.4.7/src/ng/location.js#L40
locationObj.$$path = decodeURIComponent(prefixed && match.pathname.charAt(0) === '/' ?
      match.pathname.substring(1) : match.pathname);

We are passing in 'abc%2F' as match.pathname but it is setting locationObj.$$path to 'abc/'.

OK, I think this is a bug we can fix... Having a play right now


Update part-5-ui-and-react.md

Improve english
Thanks for the PR!
To better assist you, please select the type of PR you want to create.
Click the "Preview" tab above, and click on the link for the PR type:

:book: New/Updated Documentation Content

Thanks!


vscode plugin: expose logs to vscode frontend or describe in documentation how to reach the logs

The vscode plugin is not working for me in Sagemaker, it does work on my laptop. I could have sworn I DONT need to install the sql-formatter binary via npm or yarn if I install the plugin (the docs could be clearer on this--many enter the sql-formatter world via the vscode plugin).  So I want to see what might be going wrong when the format command is run against my code (in vscode) but unlike most other plugins there is not output exposed to vscode (via 'output->dropdown') .
This will help tons of people find out immediately what's going wrong rather than just a lack of responsiveness from a plugin.

Thanks for the suggestion.

I could have sworn I DONT need to install the sql-formatter binary via npm or yarn if I install the plugin (the docs could be clearer on this--many enter the sql-formatter world via the vscode plugin).

Well, you indeed don't need to install sql-formatter in addition to the SQL Formatter VSCode plugin . I'm not sure what to clarify in the docs about this.. I mean, there are lots of other things one doesn't need to do :)
Though perhaps you are using some other plugin that does require installing sql-formatter separately. There are many different VSCode plugins that use sql-formatter libary, but most of them are not under my control. Perhaps you could first mention which exact plugin you are using.

 There are two highly relevant common install patterns and this one is different than the others.  Docker Plugin? You need to install docker. Maven Plugin? Same. NeoVim Plugin? Same.   I could go find 50 plugins that work this way. SQL-Formatter? Well, it's not clear.  There is no 'Installation' section to the Readme for the plugin, and the sister page for the executable talks about installing sql-formatter. So maybe I need to install sql-formmater like the non-plugin page says?  It is not obvious.  Yes, I'm sure many just install the plugin and things just work. But in my case, it didn't, and so the confusion is just compounded ("why isn't it working? Do I need to install the binary? Do I need it in my path?" I went to install sql-formatter because it wasn't clear whether I needed to with the plugin. Even if the instillation section says nothing more than a single  line "just install the plugin it should just work; no need to install sql-formatter with npm or yarn" it would help all of us where it's not working.

Perhaps you could first mention which exact plugin you are using.

I agree all the different SQL formatter plugins do make it confusing. I'm only referring to the 'SQL Formatter VScode ' plugin which VSCode points me to the extension page which takes me to this repo: https://github.com/sql-formatter-org/sql-formatter-vscode (and in terms of the above, I'm referring the link in that page that points here: https://github.com/sql-formatter-org/sql-formatter). I'm assuming this is under your remit; if not please let me know.
But don't no need to spend your time trying to fix my issue--I can keep working on it.  The feature request isn't for tech support or documentation changes (though a low-cost single line in the documentation would clear up an ambiguity compared to other plugins), it's to expose log outputs to VSCode frontend (or specify a readme section on how to read those logs). See here:
https://stackoverflow.com/questions/34085330/how-to-write-to-log-from-vscode-extension
I have no other SQL formatting plugins installed.  But, independent of my particular issues of the VSCode plugin not working, it would nice to expose the runtime output to the frontend (->Outputs->).  This is a common logging pattern enabled by the python, github, vscode-neovim, pytest (I find it VERY useful for this one), I could go on and on (and vscode supports specifying debug level from the output panel).
It would be great to have a place to look when I save and nothing formats that some setting is wrong or some other error to help me easily know what to fix.  Currently none of this is exposed for debugging and if it doesn't work it's completely silent.

Thanks for the thorough explanation.
Would you perhaps be interested in contributing this log-exposure functionality (which seems like a useful addition)? You seem to know a lot more about this than I do.

I'll consider it. I think you give me too much credit, but would love to contribute if I can.  I'll look over your source and the solutions, and think it through and if it's not too hard or time-consuming for me, Ill submit a PR to you. Thanks!


Add salesforce-to-sap integration

Purpose
When a salesforce Opportunity is created, an listener is used to create an SAP sales order.
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Closing this as this example is now included in https://github.com/ballerina-platform/module-ballerinax-sap.s4hana.sales/tree/main/examples


gps: move gps to internal/gps

Fixes #519

awesome, ty!
(i removed fixing #300 b/c i'm also holding that open until after authors is updated - which maybe it is now, but gonna manually check and close that issue once it's confirmed)


Revise aqmon processing

What does the code in this PR do / what does it improve?

Fix issues in the processing of aqmon data.
Fix artificial deadtime parsing #62

Can you briefly describe how it works?
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:

[ ] Update the docstring(s)
[ ] Update the documentation
[ ] Tests to check the (new) code is working as desired.
[ ] Does it solve one of the open issues on github?

Notes on testing

Until the automated tests pass, please mark the PR as a draft.
On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

63 of 66 (95.45%)  changed or added relevant lines in 1 file are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 93.351%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

straxen/plugins/acqmon_processing.py
63
66
95.45%

Files with Coverage Reduction
New Missed Lines
%

straxen/plugins/acqmon_processing.py
4
90.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
6346

Relevant Lines:
6798

💛  - Coveralls


fix: PIL does not support ANTIALIAS anymore

it's been deprecated for a long time. Replaced by Image.LANCZOS...
see here https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants

Hello @xnopasaranx, this was already fixed in be1958abfe23869e96ca6ecde48be7530a1d1c6d, or does it refer to main?


Deleting datasets with fast-track

It's currently not easily possible to delete datasets uploaded via fast-track. It has been requested by authors. In addition to deleting dataset in DB we should also remove files from ETL generated by fast-track.
It makes sense to add it to fast-track itself as an additional "Delete" button when user selects an existing dataset (with confirmation pop-up).

Won't do anything about it right now, but if we get more requests we can schedule it.


How does the ModelViewer rotate 90 degrees

How does the ModelViewer rotate 90 degrees

Please use the discussions tab for questions


VPN adapter metric is not guaranteed to be below that of regular adapters

Prerequisites

[X] Can you reproduce? Yes (on one machine only)
[x] Are you running the latest version of SoftEtherVPN? Yes

SoftEther version:
Component: Client (Build 9674)
Operating system: Windows 10 (10.0.18363.1082)
Architecture: 64 bit
Processor: Intel64 Family 6 Model 60 Stepping 3
Description
The VPN adapter is not prioritized in Windows. The priority (metric) is left for windows to decide. This means Windows can prefer the LAN adapter over the VPN adapter for conflicting routes.
Expected behavior:
When a VPN connection is made, the routes pushed by the adapter to the system should be the preferred routes.
Actual behavior:
Currently the metric is decided by Windows. On this machine I'm writing this message, LAN routes have a metric of 25 and VPN routes a metric of 35, meaning Windows will prefer the LAN routes over the VPN routes.
Example routing table (10.13.37.x is the VPN network, 192.168.30.x is the regular LAN network, 192.168.1.x is a network that has been pushed via SecureNAT rule):
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          <IP_ADDRESS>          <IP_ADDRESS>     <IP_ADDRESS>    <IP_ADDRESS>     25
          <IP_ADDRESS>          <IP_ADDRESS>       <IP_ADDRESS>      <IP_ADDRESS>     35
       <IP_ADDRESS>    <IP_ADDRESS>         On-link       <IP_ADDRESS>    291
      <IP_ADDRESS>  <IP_ADDRESS>         On-link       <IP_ADDRESS>    291
     <IP_ADDRESS>  <IP_ADDRESS>         On-link       <IP_ADDRESS>    291
    <IP_ADDRESS>  <IP_ADDRESS>     <IP_ADDRESS>    <IP_ADDRESS>     25
        <IP_ADDRESS>        <IP_ADDRESS>         On-link         <IP_ADDRESS>    331
        <IP_ADDRESS>  <IP_ADDRESS>         On-link         <IP_ADDRESS>    331
  <IP_ADDRESS>  <IP_ADDRESS>         On-link         <IP_ADDRESS>    331
      <IP_ADDRESS>    <IP_ADDRESS>       <IP_ADDRESS>      <IP_ADDRESS>     36
     <IP_ADDRESS>    <IP_ADDRESS>         On-link     <IP_ADDRESS>    281
    <IP_ADDRESS>  <IP_ADDRESS>         On-link     <IP_ADDRESS>    281
   <IP_ADDRESS>  <IP_ADDRESS>         On-link     <IP_ADDRESS>    281
        <IP_ADDRESS>        <IP_ADDRESS>         On-link         <IP_ADDRESS>    331
        <IP_ADDRESS>        <IP_ADDRESS>         On-link     <IP_ADDRESS>    281
        <IP_ADDRESS>        <IP_ADDRESS>         On-link       <IP_ADDRESS>    291
  <IP_ADDRESS>  <IP_ADDRESS>         On-link         <IP_ADDRESS>    331
  <IP_ADDRESS>  <IP_ADDRESS>         On-link     <IP_ADDRESS>    281
  <IP_ADDRESS>  <IP_ADDRESS>         On-link       <IP_ADDRESS>    291
===========================================================================

Fix
LAN adapters in Windows support a value called "metric". This can be set to 1 for the VPN adapter to make it the preferred choice for routing. The client should do this when a VPN adapter is created or a VPN connection is made. This needs to be done twice, once for IPv4 and once for IPv6.

Interface metric is actually set to 1 in the registry. It just needs a reboot to take effect.

The metric can be reset by windows if it runs network diagnostics. The VPN client makes no attempts at detecting and correcting the wrong metric. This should be possible without a reboot, since installing the VPN adapter itself doesn't requires one either.

User can alter the metric too. So we can only reset metric to 1 at installation to avoid overwriting user's action.


Can you add minions/suicide bots to the game please.

waitting :v

http://giphy.com/gifs/the-office-no-steve-carell-12XMGIWtrHBl5e

http://giphy.com/gifs/the-office-no-steve-carell-12XMGIWtrHBl5e

lulzyy: :)

no, I don't want to add minions to the server. Vice versa - protections will be added to prevent using it.
The only way to use minions is to set serverScrambleCoords = 0


feat: add spawn wrap to hook every child process

Codecov Report

Merging #6 into master will decrease coverage by <.01%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   78.77%   78.77%   -0.01%
==========================================
  Files         137      137
  Lines        4015     4024       +9
  Branches      480      481       +1
==========================================
+ Hits         3163     3170       +7
- Misses        643      644       +1
- Partials      209      210       +1

Impacted Files
Coverage Δ

packages/pandora/src/daemon/Daemon.ts
81.41% <77.77%> (-0.32%)
:arrow_down:

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 ff49511...d792fd4. Read the comment docs.


Add AUC mu metric for multiclass training

There was a paper written on a new AUC metric for multiclass problems.
http://proceedings.mlr.press/v97/kleiman19a/kleiman19a.pdf
The authors have provided the code in the repository below so this should be straightforward to incorporate as an inbuilt metric.
https://github.com/kleimanr/auc_mu/blob/master/auc_mu.py

For the reference: catboost has already implemented AUC Mu: https://github.com/catboost/catboost/commit/298ca12c7c7c8bda54ef1291b3fb1ea0888e6539.

Closed in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.

PR is open for this.

Closed via #2567.


Added image to repo and readme

I guess the resolution of the .ping is way too high. When viewing it in GitHub it is hard to see. Furthermore, it generates big binary blobs. Is there an option to generate vector graphics? SVG for example render nice in GitHub, see https://github.com/schoeberl/chisel-lab/tree/master/lab2


The operation couldn’t be completed. (OAuthSwiftError error -11.)

Description:
OAuth Provider? (Basecamp3):
OAuth Version:

[ ] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[ ] Carthage
[ x] CocoaPods
[ ] Swift Package Manager
[ ] Manually

Library version:

[ ] head
[ ] v2.1.0
[x ] v2.0.0
[ ] v1.4.1
[ ] v1.2 (Swift 4.0)
[ ] other: (Please fill in the version you are using.)

Xcode version:

[ ] 11.x (Swift 5.1)

[ x] 10.x (Swift 5.0)

[ ] 10.x (Swift 4.1)

[ ] 9.3 (Swift 4.1)

[ ] 9.0 (Swift 4.0)

[ ] other: (Please fill in the version you are using.)

[ ] objective c

I am trying to integrate basecamp3 but getting the error.
       func createAuthRequest(){
    // create an instance and retain it
    oauthswift = OAuth2Swift(
        consumerKey:    clientID,
        consumerSecret: clientSecret,
        authorizeUrl:   authURL,
        accessTokenUrl: tokenURL,
        responseType:   "token"

    )

      oauthswift.authorizeURLHandler = internalWebViewController
    //oauthswift.authorizeURLHandler = SafariURLHandler(viewController: self, oauthSwift: oauthswift)

    let handle = oauthswift.authorize(
        withCallbackURL: URL(string: redirectURL)!,
        scope: "profile", state:"hjejklk") { result in
            switch result {
            case .success(let (credential, response, parameters)):
                print(credential.oauthToken)
            // Do your request
            case .failure(let error):
                print(error.localizedDescription)
            }
    }
}

https://github.com/OAuthSwift/OAuthSwift/blob/master/Sources/OAuthSwiftError.swift#L59
use debuger and see in error not only the localizedDescription but the cause error, an URLError I think and you will now

It shows request error but i am not able to understand this. Please correct me if I am making something wrong

print? it is not debugger like I say...
or "switch" on the error enum

Sorry, I don't understand this. can you please help me to know how to  "switch" on the error enum.

I got the error, i changed my tokenurl to "https://launchpad.37signals.com/authorization/token?type=web_server" & it seems to be working now.


Bug in the prototype behaviour of search field

Provide a general summary of the issue here
Hi, when I use the search field in my prototypes (size large), it changes the size to md when I hover the field or click on it.
🤔 Expected Behavior?
When you click or hover the search field in a prototype, it does not change its size from large to md.
😯 Current Behavior
https://github.com/sl-design-system/components/assets/170721457/3ec9a54d-719a-41e7-8327-71eb8321d3ab
💁 Possible Solution
No response
📷 Screenshots
No response
📎 Link to Figma
https://www.figma.com/proto/S5QgDy8X9eqhvECPANSZMM/Editorial-Suite-designs?page-id=5287%3A28538&node-id=6539-97155&viewport=558%2C3395%2C0.25&t=rAu0z0d3ihCFpNwg-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=6539%3A97155
🎨 Your Theme(s)
Editorial Suite

@Martrybus Hi Maria, I want to fix the search field hover state but can't reproduce it in the SLDS file. I only see the link to the prototype in the issue, could you also share the Figma link? Then I can have a closer look, thanks.

solution: Ensure the placeholder property is always enabled when no value is provided.


beforeRouteUpdate  is not can play

my project is contain a child route, when the route change but the father beforeRouteUpdate is not play and never play. what is happen


Gracefully handle initial installation error (#1505)

As per #1505

Currently, when npm fails for the first time, you end up with an empty project that doesn't work.

We should delete the broken files we added (or the whole folder if we created it), and print a message explaining the problem is with npm, as well as the underlying message.

Print out message when problem occurs
Delete project folder on errors

@fson, could you please review this? I would greatly appreciate it.

@chitchu could you please rebase this?

/cc @gaearon

Still doesn't account for the "user created a file in the folder during installation" use case.

Is this an acceptable trade-off? We could always change this to prompt the user.
The app creation failed. Would you like to delete the attempt?
This is a destructive action. You will lose any work attempted during the creation phase. (Y/n)

The prompt sounds like a good idea. Only prompt if installation failed on an existing folder scenario?

Yeah, I'd only prompt on an install fail + existing folder.

Hmm, I don't think the prompt is necessary.
I'm not sure I fully understand the problem.
We should always delete everything we created. If, after that, the directory is empty, we should remove the directory as well. Otherwise, we can leave it.
The goal here is that, regardless of whether the directory exists or not, you should not have any files from the broken state after the tool exits, and you should be able to run create-react-app with the same directory again.

I suppose the problem here is that we don't keep a list of files that the installer creates.
This works by deleting all files not on the permitted list pre-install. We should probably switch it but then we need to update this if we ever add or change the file names in the future.

If npm install (or yarn) fails, then we can only have package.json, node_modules, and their logs, right?

That may be true, I haven't checked. Have we moved the template over yet at that point?

The template exists inside react-scripts so I don't think we could have.

@chitchu can you switch it to functioning how @gaearon suggested? Delete known files which will be artifacts, then delete the whole folder if it's empty.

Looks like updating this is the last blocker to 0.9.1 🎉

Alrighty, amended the approach to only delete known generated files and delete the folder if it's empty.

🔥 LGTM, will test soon.

I just left one more [silly] comment. Thanks so much for being so responsive!
We really appreciate what you're doing. Really.

Thanks so much for being so responsive!

Well when I saw

Looks like updating this is the last blocker to 0.9.1 🎉

I knew I had to step it up!

Looks like there's a bug in Yarn, but this is working:
+ yarn cache clean
yarn cache v0.20.3
success Cleared cache.
✨  Done in 0.06s.
+ cd /Users/joe/Documents/Development/OSS/create-react-app
+ node packages/create-react-app/index.js --scripts-version=/Users/joe/Documents/Development/OSS/create-react-app/packages/react-scripts/react-scripts-0.9.0.tgz /Users/joe/Desktop/test1
Creating a new React app in /Users/joe/Desktop/test1.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...

yarn add v0.20.3
info No lockfile found.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error An unexpected error occurred: "ENOENT: no such file or directory, lstat '/Users/joe/Library/Caches/Yarn/react-scripts'".
info If you think this is a bug, please open a bug report with the information provided in "/Users/joe/Desktop/test1/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation. yarnpkg add --exact react react-dom /Users/joe/Documents/Development/OSS/create-react-app/packages/react-scripts/react-scripts-0.9.0.tgz has failed.
Deleting generated file... package.json
Deleting generated file... yarn-error.log
Deleting test1 from /Users/joe/Documents/Development/OSS/create-react-app
Done.
++ set +x
cra.sh: ERROR! An error was encountered executing line 83.
Cleaning up.
Exiting with error.
error Command failed with exit code 1.

And with during-install modifications:
Joes-MacBook-Pro:Desktop joe$ touch ~/Desktop/test1/npm-debug.log124125f
Joes-MacBook-Pro:Desktop joe$ touch ~/Desktop/test1/stop.txt

Creating a new React app in /Users/joe/Desktop/test1.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...

yarn add v0.20.3
info No lockfile found.
[1/4] 🔍  Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/destroy: read ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/Users/joe/Desktop/test1/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

Aborting installation. yarnpkg add --exact react react-dom /Users/joe/Documents/Development/OSS/create-react-app/packages/react-scripts/react-scripts-0.9.0.tgz has failed.
Deleting generated file... npm-debug.log124125f
Deleting generated file... package.json
Deleting generated file... yarn-error.log
Done.

Joes-MacBook-Pro:Desktop joe$ ls ~/Desktop/test1/
stop.txt

Only problem I see is that Deleting test1 from /Users/joe/Documents/Development/OSS/create-react-app seems to be wrong.
I believe this should be root.

I went ahead and changed it since it was trivial, thanks so much @chitchu!
diff --git a/packages/create-react-app/index.js b/packages/create-react-app/index.js
index aa0dd33..d5afee4 100755
--- a/packages/create-react-app/index.js
+++ b/packages/create-react-app/index.js
@@ -202,7 +202,7 @@ function run(root, appName, version, verbose, originalDirectory, template) {
       var remainingFiles = fs.readdirSync(path.join(root));
       if (!remainingFiles.length) {
         // Delete target folder if empty
-        console.log('Deleting', chalk.cyan(appName), 'from', chalk.cyan(originalDirectory));
+        console.log('Deleting', chalk.cyan(appName + '/'), 'from', chalk.cyan(path.resolve(root, '..')));
         fs.removeSync(path.join(root));
       }
       console.log('Done.');

yielding
Aborting installation. yarnpkg add --exact react react-dom /Users/joe/Documents/Development/OSS/create-react-app/packages/react-scripts/react-scripts-0.9.0.tgz has failed.
Deleting generated file... package.json
Deleting generated file... yarn-error.log
Deleting test1/ from /Users/joe/Desktop
Done.

🎉


[BUG]: Delete a project does not work

Deleting a project seemed to delete the object in the database, but the user-interface is not reflected, the deleted project can still be seen and clicked on.

Can not reproduce the issue anymore.


Add notebooks saved with widgets

I reran all the notebook and committed them again. This will show all the plots in the notebooks on nbviewer.

Fantastic! Thanks for going through all the notebooks. Merging!

Thanks! However, there were a couple of issues with this notebook, one of which I wasn't able to figure out. That notebook has been left unchanged.

Thanks. I suspect there is an issue with missing default values. I will look into it.

@kdheepak For Introduction.ipynb, you saved the notebook after panning actually. Should I go through the examples and make sure interactions weren't made or do you want to take care of that?

@dmadeka Sorry for the late reply, you can go ahead and take this.


Vote icon color should change if voted

Did the same for the follow button...
Screenshot

@aleffert pl review

:+1: Do we have a bug about the text being cut off?

@aleffert Yes we do...


MeasuredTemplate, BaseMeasuredTemplate, MeasuredTemplateData, MeasuredTemplateDocument -> v0.8.6

Some things have changed in 0.8.7 regarding these classes, please update accordingly

Will do once #837 is merged. Did not make any sense to progress with this in advance.


Gateways should account for routing fees when deciding whether to pay an invoice

When user client's fund an outgoing contract, they currently choose an amount that is 1% more than the invoice amount. The gateway pays their routing fees from this fee and takes the rest as profit.
When deciding whether to pay an invoice or not, a gateway should take routing fees into account. Currently, it does not. It just checks if the outgoing account isn't more than the invoice amount. It should check invoice_amount + expected_routing_fees >= contract_amount. Left side is what gateway pays, right side is what it receives. Might want to also include a profit margin, but that's another topic.

Actually I think this is already enforced with the maxfeelimit parameter we send to the pay RPC to Core Lightning. The problem is that in practice routing doesn't work very well when we send the parameter on mainnet.

Also, the % fee parameter is ignored for small payments that would have too low of a fee limit, which is actually an attack vector. Afaik the absolute fee limit option doesn't have this problem and we should use it.

Closing in favor of https://github.com/fedimint/fedimint/issues/524


removed files no longer needed for the workflow

This is the first PR but is minimal.  The whole repo has to be reviewed as this is it's first time through the pipeline.

Refer to this link for build results (access rights to CI server needed):
http://ops-jenkins-master-001.optoro.io:8080/job/optoro_redis-pr/1/
Test PASSed.


should sub-directories of solid:instanceContainer considered in apps?

Suppose we have a solid:instanceContainer that points to https://pod-url.net/bookmarks/ in a typeindex document
That also has subdirectories such as /meetings, /video-tuts, etc.
should an app parse all files inside the sub-directories of /bookmarks or do only the first-level files have to be parsed?

should an app parse all files inside the sub-directories of /bookmarks or do only the first-level files have to be parsed?

I think it's depend on the client-client standard the app is following. In my understanding, TypeIndex should be used to advertise primary objects like contacts/address books, pictures and so on. Once an app has discovered its entry points, the next steps should be defined in a client-client spec that can be followed by different apps for ("vertical") interoperability.

It would be very confusing if the meaning of solid:instanceContainer were different for various verticals! I think we should either understand it to mean direct containment + subfolders for all verticals, or only direct containment for all verticals.

From https://github.com/solid/solid/blob/main/proposals/data-discovery.md#solidinstancecontainer:

solidInstancedContainer maps a type to a Solid container which the client would have to list to get the instances of that type.

It says "list", not "traverse" or "recursively traverse" so let's assume the answer to the OP's question is "no", unless new evidence to the contrary is found.

I am still unsure what "list" means. A container contains documents, not instances of the given type. So does it mean I have to read all documents contained in the container and consider all instances of the type found in those documents?


add warning that you can only upload .png

Took me a long time that .jpg is not compatible with excalidraw.

We do support jpeg, do you mind sharing the image (if it's not confidential) so we can take a look?


[New feature] Automatically click an option when the form input elements are buttons

A lot of forms are going with button based, one-tap responses so they can be optimized for mobile. As I'm going through various forms for testing, it's annoying to only be able to use form-filler for text/drop-down based entry. If I could use it to auto-select a response when the form input elements are buttons, that would be 💯.
Example form with these input types:
https://www.lendingtree.com/forms/mortgage/dogwood/refinance_phx?icode=28580&rcode=10000&SpId=mortgage&=

Same question as in #56. How can we safely determine which buttons are safe to click automatically? I don't want to automatically click on buttons that submit the form or reset it.

@husainshabbir I checked a few sites. Most form submission buttons are of type=submit and value=Continue. I bet if you ignored all buttons or inputs that had a type of "submit" and values of "continue", "next", "previous", or "reset", that would avoid the clicking of most submit buttons. Then the tool could just click one of the other available inputs.
To avoid errors, this feature could be disabled by default and added as one of the field options or general settings.
Here's a Google sheet showing button attributes from a few sites I checked:
https://docs.google.com/spreadsheets/d/1SCVaMqxrHvs0O64OqbuPKTY_yU0nJmNlFvcdaNAOgyU/edit#gid=0


[incubator][VC] fix compile error and correct vc spec

Signed-off-by: zhuangqh<EMAIL_ADDRESS>

/lgtm
/approve


Changes for Upgrade to Java 11 #194

Please review the changes to Koryphe to bring the code up to Java 11 level.
Java version has been set to 11.
All plugins and dependencies have been moved up to the most recent stable release versions (ignoring release candidates and very recent versions with low usage figures).
Checkstyle has been brought up to the most recent version. This has necessitated some changes to the checkstyle.xml configuration file to eliminate deprecated options.
Where checkstyle modules have been tightened up some main code code changes have been made to allow the checkstyle checks to pass -  these are mainly RedundantModifier module checks for the 'final' modifier.
There has been no attempt to (Java 9) modularise Koryphe at this time.

Codecov Report

Merging #196 into develop will increase coverage by 0.31%.
The diff coverage is 98.03%.

@@              Coverage Diff              @@
##             develop     #196      +/-   ##
=============================================
+ Coverage      73.65%   73.96%   +0.31%
+ Complexity      1285     1282       -3
=============================================
  Files            184      184
  Lines           3670     3653      -17
  Branches         383      382       -1
=============================================
- Hits            2703     2702       -1
+ Misses           784      769      -15
+ Partials         183      182       -1

Impacted Files
Coverage Δ
Complexity Δ

.../koryphe/binaryoperator/KorypheBinaryOperator.java
100.00% <ø> (ø)
11.00 <0.00> (ø)

.../impl/binaryoperator/NumericAggregateFunction.java
83.33% <ø> (ø)
6.00 <0.00> (ø)

.../java/uk/gov/gchq/koryphe/signature/Signature.java
82.97% <ø> (+0.18%)
39.00 <0.00> (ø)

.../gchq/koryphe/tuple/function/KorypheFunction2.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

.../gchq/koryphe/tuple/function/KorypheFunction3.java
50.00% <ø> (ø)
1.00 <0.00> (ø)

.../gchq/koryphe/tuple/function/KorypheFunction4.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

.../gchq/koryphe/tuple/function/KorypheFunction5.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

.../gchq/koryphe/tuple/function/KorypheFunctionN.java
33.33% <ø> (ø)
2.00 <0.00> (ø)

...chq/koryphe/tuple/predicate/KoryphePredicate2.java
100.00% <ø> (ø)
2.00 <0.00> (ø)

...chq/koryphe/tuple/predicate/KoryphePredicate3.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

... and 42 more

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 c6c1985...3ee2d5e. Read the comment docs.

Checkstyle has been brought up to the most recent version.
Where checkstyle modules have been tightened up some main code code changes have been made to allow the checkstyle checks to pass - these are mainly RedundantModifier module checks for the 'final' modifier.

Given that this will require users to upgrade to a more recent runtime and thus effectively a breaking change, we'll merge this into a non-develop branch for the time being. This will allow for any non-breaking changes to still be made to develop and released without being blocked behind this change. Any subsequent changes to Java 11 compatible code can be cloned from/merged into that branch for the time being. I've rebased this to the new branch.


Con-PCA Pilot

After the deployment to production completes #422. Initial piloting tests can occur.
Testing Checklist:

[ ] Determine the length of the pilot and the flow rate
[ ] Get a refined set of templates
[ ] Test all templates to make sure everything looks good in the emails.
[ ] Get a domain categorized for the pilot.
[ ] Test emails from the new clean domain to make sure it gets into inboxes.
[ ] Run a test against large amount of users (Probably in staging with a burner domain).
[ ] Create pilot customer in the app.
[ ] Start subscription for pilot customer.

Documentation Checklist

[x] Data Dictionary
[ ] Data Flow Documentation

New Features that need to be created

[ ] Sending Profile domain for landing page URL.

Paperwork Checklist:

[ ] Confirm Start Date with Customer
[ ] Get new PCA App A signed with Continuous phishing option noted (start date, no end date)
[ ] Receive emails from customer in proper format

Three checklist things on the paperwork side: confirm start date with pilot customer, get new PCA App A signed with Continuous phishing option noted (start date, no end date), and receive emails from customer in proper format

I made updates to the checklist with those paperwork items.


defaultFile not setting path

I have a gulp task in which I'm trying to automatically open a file in the app directory of my project from the root. However, the browser simply opens localhost:8000 displaying the index.html file. Because the browser url is not set to contain the app directory, the included CSS and JS files are not loaded.
Task:
gulp.task('start', start);
/** Start app with the live reload server */
function start() {
  gulp.src(paths.root)
    .pipe(server({
      livereload: false,
      defaultFile: '/app/index.html',
      open: true
    }));
};

It appears that the server serves the default file when a request is made for the root of the server (localhost:8000). I would like to be able to have the browser load One solution I can think of is a defaultPath option which would open the browser to something other than the root.
Note: The reason I'm not starting the webserver on the app directory is because I have other directories of the project which I want access to (such as docs/ ).

Not a bad idea. PR welcome.


Max/Min Calculation Issues

Describe the bug
When adjusting the time range in Grafana with zabbix datasource the MAX/Min values change - possibly due to less datapoints as the time range expands.  For instance - with a 3 hour window set I have a MAX value for CPU at 100% - expanding that out to 2, 7 and 30 days can cause the MAX value to decrease.   The behaviour in Zabbix is as expected.
Expected behavior
MAX/MIN values should be consistent regardless of time range selected.
Screenshots

Software versions

Grafana
Zabbix
Grafana-Zabbix Plugin

7.1.5
3.4
4.0.1

Hi,
Have you experimented with the function:
trendValue(Max)
It's not easy to tell above, as you've only supplied pictures of graphs,
not your configuration.
On Tue, 8 Sep 2020 at 20:34, jamesetune<EMAIL_ADDRESS>wrote:

Describe the bug
When adjusting the time range in Grafana with zabbix datasource the
MAX/Min values change - possibly due to less datapoints as the time range
expands. For instance - with a 3 hour window set I have a MAX value for CPU
at 100% - expanding that out to 2, 7 and 30 days can cause the MAX value to
decrease. The behaviour in Zabbix is as expected.
Expected behavior
MAX/MIN values should be consistent regardless of time range selected.
Screenshots
[image: image]
https://user-images.githubusercontent.com/70948615/92465783-fa194480-f1c6-11ea-88b3-ec28bc80ce79.png
[image: image]
https://user-images.githubusercontent.com/70948615/92465792-fd143500-f1c6-11ea-958a-f7bd9b2262a1.png
[image: image]
https://user-images.githubusercontent.com/70948615/92465807-01405280-f1c7-11ea-96fb-f8b1d98da1c1.png
Software versions
Grafana Zabbix Grafana-Zabbix Plugin
7.1.5 3.4 4.0.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexanderzobnin/grafana-zabbix/issues/1052, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA4AMFPO6I2H7EVPFYTHBTSEYCENANCNFSM4Q7ZUADQ
.

Thanks - no - I hadnt.  I will try that.
I have tried to work around it in several ways.  My configuration is taking the zabbix item and then ticking the MAX/MIN check boxes as below.

I have also found the following settings which allow the increase of data points - which works up to a point but as you increase the date range the MAX/MIN values start drifting away from the MAX/MIN values zabbix reports.

Fair enough -- this has bitten us in the past, in much the same way as it got you.
My email reply earlier didn't include images, and email responses can't be markdown'd retrospectively either.
Check the images I've added to my last comment on github proper, if you didn't see them already.

Thanks Jedd - appreciate the responses.  I will try the trendvalue function.

Hi! As it's mentioned above - you can use both trendValue(max) and groupBy($__interval, max) to always get maximum value even if the series was downsampled.

The trendvalue function works but on long time filter there is a problem in the avg calculation.
last 7 days filter on grafana with trendvalue(max):

same graph on zabbix:

This can be a problem when analyzing long time series data.

any comment on my post?
I don't think that this issue is closed with those results.
first image 18% avg on Grafana, second image 2% avg on Zabbix.

Hi  -- can you share both Grafana and Zabbix graphs again, but without the legend cut off -- and also a screen grab of the graph configuration for the Grafana graph?

Hi Jedd,
thank you for your comment.
Grafana 7 days: (20% avg)

Zabbix 7 days: (2% avg)

Also changing the Max data points on grafana the result is the same.

Ah, I was going to ask about max data points - I'd stumbled across that a while ago as a cure for a slightly different pain.  : )
Okay, I don't use Zabbix graphs, but I'm looking at the red line in your Zabbix graph, and it looks like it only once or twice dips beneath 10%, never reaches zero, and consequently the (Grafana reported) average for that maxvalue of 20% feels much closer to what that Zabbix graph is showing.  The Zabbix legend just reads wrong in that context.
Was that your judgement too, or did you think the Grafana graph was wrong?
I'd almost be tempted to dive into the DB directly and do some extractions there, at least on a smaller sample set of trend data.
Btw, are you using the DB connection, or just the API, from Grafana into Zabbix?  (Not that we've noticed any difference in results between those.)

we use the API with the Grafana-Zabbix plugin.
I think that the graphs view is the same between Grafana and Zabbix (also the zabbix graph is configure to show "max" values in the view), the issue is on the values in the table.
When I put Grafana with trendvaluemax setting the graph view is aligned with the Zabbix one but grafana calculate the avg value based on the trend of the max value that the graph view shows and show this "high" avg value in the table, it doesn't show  the real average value that zabbix collects and calculate with the item history.
Zabbix instead show the graph correctly and also the avg value in the table is the real one.
I hope that my explanation was clear, if needed I can post more graph

Grafana's documentation says:

Avg - Average of all values returned from the metric query.

I'm not sure if datasource plugin can somehow override this by sneaking "the real average value" from a different source.

Ah, so you want to have the graph (on Zabbix) set to show max - but the legend show averages of actual values?
This might be a problem with Zabbix then.
I've attached a Grafana graph of CPU usage - both from the same host, over 7d, which in my config forces trend data.  It shows what looks to me to be accurate min, max, avg in the legend for the two interpretations of those source data.
If you want a Grafana legend to show you figures that reflect actual (avg), rather than trendMax, say, well I'm not sure how you'd go about that.

No, wait. I try to explain it better.
On zabbix you can configure the items in the graph to show the lines with the min, max or avg values:

And in the table below of the graph the values shown are calculated from the history of the collection of the item, so for the average the value shown is the average of all the samples in the time window selected in the graph.
In grafana the average value that is show is the average of the data points of the graph, so if I put the trendvalueMax function, the average value in the table is an average of the Max values shown by the graph. Not the real average based on the zabbix item's history.

Old thread, but still an ongoing "issue".
Solution:
Disable trends in the query options.
This will obviously impact performance.


Update mixed-reality-partner-program.md

Updated list and table formatting

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mixed-reality-partner-program.md
:white_check_mark:Succeeded
View

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.


7tv emotes not showing

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I just downloaded Chatterino. I've never used it, but what I immediately noticed is that I can't see emotes like "OMEGALUL", "GIGACHAD" (xqc Channel).
I also haven't found a "enable 7tv emotes" in the options.
Am I missing an option? Or is it a known problem?
Screenshots

OS and Chatterino Version
Chatterino 2.3.5 (commit 81a62764c) on Windows 10

7TV is only available in the Nightly release - there has been no stable release made yet. The nightly build can be found here.
More info on the nightly build can be found on our wiki and full install instructions in case you run into any issues can be found here


[gui error report] Error: Initializing daemon...

👉 Please describe what you were doing when this error happened.
Specifications

OS: linux
IPFS Desktop Version: 0.23.0
Electron Version: 19.0.9
Chrome Version: 102.0.5005.167

Error
Error: Initializing daemon...
Kubo version: 0.15.0
Repo version: 12
System version: amd64/linux
Golang version: go1.18.5

Error: unrecognized routing option:

    at errorTemplate (/opt/IPFS Desktop/resources/app.asar/src/daemon/migration-prompt.js:78:49)
    at loadWindow (/opt/IPFS Desktop/resources/app.asar/src/daemon/migration-prompt.js:129:26)
    at showMigrationPrompt (/opt/IPFS Desktop/resources/app.asar/src/daemon/migration-prompt.js:134:3)
    at startIpfsWithLogs (/opt/IPFS Desktop/resources/app.asar/src/daemon/daemon.js:193:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startDaemon (/opt/IPFS Desktop/resources/app.asar/src/daemon/daemon.js:216:27)
    at async startIpfs (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:48:17)
    at async restartIpfs (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:102:5)
    at async Object.restartIpfs (/opt/IPFS Desktop/resources/app.asar/src/daemon/index.js:35:5)

@kosson This seems to be a problem with your ipfs config. Can you follow the directions at https://github.com/ipfs/ipfs-desktop/issues/2217#issuecomment-1216516990 to see if this solves your problem?
If that doesn't solve it, please include the combined.log and error.log files from https://github.com/ipfs/ipfs-desktop#where-are-my-ipfs-configuration-and-log-files here so we can attempt to assist you further.


Replace QuickContactBadge with custom widget

See #1580, thanks to @madrat-. I only cleaned up a bit, and put a note about the origin of the file instead of the copyright notice.
This is only a cosmetic change, however it prepares round contact pictures, and a gmail-style click-to-select feature.

The code looks fine to me. I'll try and review the actual visible changes this evening.


[Core] Record dependencies in order requested

This changes the core engine processing order to preserve the order in which tasks/the client have requested input dependencies. This ensures that subsequent builds scan those dependencies in a similar ordering.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Deviation#2933

Coverage remained the same at 91.174% when pulling a41cd00f22936b4eb9c5fdece83e8798056e0fea on deviation#2933 into 35288cf5dc50cb79fac6effbc19bd3d7a0aa5bb2 on develop.


New Metadata API & Metadata Storage.

Story: https://www.pivotaltracker.com/story/show/111132276
Todo:

[ ] Update metadata documentation links in README and docs/Metadata/index.md to link to master branch rather than feature/metadata-api branch.

Development remarks:
A patch file is included in the PR, this is purely intended to be used for debugging during development by using a file rather than having to push json constantly. This should be removed from the PR when no longer of use. Furthermore it is recommended to request a dump from production Janus/SR metadata to ensure full compatibility with the current metadata.
Todo for the required feature:

[ ] Resolve all open questions and remarks (see questions and findings). Take care that any changes to logic/default values regarding SAMLValueObjects must be made local in EngineBlock as the value objects are conforming to the SAML specification. Changes to logic/default values for all other value objects are local to EngineBlock by nature and can thus be changed.
[ ] Ensure that an additional value object is added to the IdentityProvider and ServiceProvider objects that allow storing of arbitrary key => value(s) structures to allow flexible expansion of the configuration. Should the expansion become a part of mainstream application logic, a custom value object should be built for that.
[ ] Create an entity and repositories to persist and hydrate the models. The value objects should be stored as json blobs. each entity should also store its UUID, EntityID and EntityType.
[ ] Create a model and accompanying repository that allows the modelling and querying of Connections. A connection is an explicit allowed connection between a ServiceProvider and an IdentityProvider. If there is no limit on which IdPs can be used for an SP, the idea is not to store any connections to reduce load (meaning introduction of the rule: no connection means all connections are allowed)
[ ] Parse the connections from the JSON and create connections between the correct metadata models.
[ ] Create the entity and repository to persist and load connections.
[ ] Create a service that allows the retrieval of metadata and connections (read only - reading should be used everywhere but in the the ConnectionsController, writing should only be used in the ConnectionsController
[ ] Create a service that allows the updating of the metadata and connections (write only). For connections cheapest would be wipe and replace, for the metadata it should be checked, updates might be better, but are expensive in a cluster, therefor wipe/replace all might be best.
[ ] Use the new services and storage to persist the metadata and connections in the new structure. This could be done in an intermediate release with a feature toggle so that temporarily both exists and the new structure is only used for writes, the old for both writes and reads. This allows for verification of compatibility with production data.
[ ] Adapt all usages of metadata to the new metadata structures, effectively implementing the usage of the new metadata structures on the read side. If necessary/effective, bridge functionality can be created that allows transformation of the new structure to the old structure to minimize the required changes in the library (EB4) code. All new code must use the new structures.
[ ] Remove any and all code that is no longer needed.

Closing this PR as these changes have been addressed in the upcoming 5.7 release.


Add Meta configs for the eye gaze interaction extension

The first commit is a small change to address and fix https://github.com/GodotVR/godot_openxr_loaders/issues/46
The second commit contains the majority of the changes and is the counterpart to https://github.com/godotengine/godot/pull/82614:

Adds the necessary config option to enable eye tracking for Meta devices
Defines XR_EXT_eye_gaze_interaction as a feature tag to set when eye tracking is enabled

On mobile xr devices, this feature tag is used to gate the eye gaze interaction extension

Adds the necessary Meta permissions when eye tracking is enabled
Updates the demo project to showcase eye tracking (tested on Quest Pro device)
Updates Meta's GodotPlugin instance to return true for the PERMISSION_XR_EXT_eye_gaze_interaction feature tag when the necessary permissions are granted.

Owh, I'm starting to understand the approach you were planning now. Makes a lot of sense to have a platform agnostic feature for the permission, that we then implement for each platform that supports it.
We might want to add stubs to the other platforms that implement the supportsFeature function and just returns false.
The only bit that I don't completely see through, when I'm looking at also adding support on PICO, is selecting the setting itself in the export interface. I'm assuming we'll have a PICO section where we select whether eye gaze is required on PICO and it adds the same feature tag?

Owh I noticed in the PR on the Godot side the supportsFeature already has a base implementation and we're overriding it :)

I'm assuming we'll have a PICO section where we select whether eye gaze is required on PICO and it adds the same feature tag?

Yeah I can't test so I skipped that section but the changes will be similar (if not identical to the Meta changes):

In godot_openxr_pico_editor_export_plugin.gd, an additional option will be added which will be returned by _get_export_options as done for Meta. Unlike Meta, Pico eye tracking may be more of a boolean value since they don't have the required attribute
_get_export_features will need to be overridden for Pico to include the feature tag when Pico eye tracking is enabled
_get_android_manifest_element_contents will also need to be overridden for Pico to include the proper Pico permission in the manifest.

I'm kind of in the same boat as my PICO 4 doesn't have eye tracking. But I'm hoping I can test the extension with a Varjo headset at least.
I might add the PICO changes as I think they're needed and sent a test build off to PICO. But I think we can approve this work as is after I get a chance to test it on my Quest. Hopefully the production team will merge the upstream change in Godot for 4.2

I'm kind of in the same boat as my PICO 4 doesn't have eye tracking. But I'm hoping I can test the extension with a Varjo headset at least.
I might add the PICO changes as I think they're needed and sent a test build off to PICO. But I think we can approve this work as is after I get a chance to test it on my Quest. Hopefully the production team will merge the upstream change in Godot for 4.2

We can also use the gating logic to validate this no longer causes a crash on the Pico 4.

@BastiaanOlij This can be merged now that https://github.com/godotengine/godot/pull/82614 has been merged.


Add link to file in growl notification of task

Issue created with imdone.io

TODO: +imdone +feature Add link to file in growl notification of task id:334
2017-03/2017-03-19.md:3
@imdone Issue Creator. The developer's task board. imdone.io

DONE: +imdone +feature Add link to file in growl notification of task id:334 gh:221
2017-03/2017-03-19.md:7
@imdone Issue Closer. The developer's task board. imdone.io


Databases have not been updated since Thu, 08 Feb 2024

Both https://osv.dev/vulnerability/GHSA-7c6p-848j-wh5h and https://osv.dev/vulnerability/GHSA-78xj-cgh5-2h22 seem to be missing at least:
❯ curl-headers-only -X HEAD https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip
HTTP/2 200
x-guploader-uploadid: ABPtcPrro9PtEfrhYe4g3epdcrFFDNAAc_bHOc1-VEloFtbACuWQaD574NYZlzWD-zLqtA2I0A
expires: Sun, 11 Feb 2024 23:04:56 GMT
date: Sun, 11 Feb 2024 22:04:56 GMT
cache-control: public, max-age=3600
last-modified: Thu, 08 Feb 2024 05:33:19 GMT
etag: "d3743abfc43d21b9acdc60183ba1724e"
x-goog-generation:<PHONE_NUMBER>249870
x-goog-metageneration: 1
x-goog-stored-content-encoding: identity
x-goog-stored-content-length: 12941961
content-type: application/zip
x-goog-hash: crc32c=mEFk+A==
x-goog-hash: md5=03Q6v8Q9Ibms3GAYO6FyTg==
x-goog-storage-class: STANDARD
accept-ranges: bytes
content-length: 12941961
server: UploadServer
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

curl: (18) transfer closed with 12941961 bytes remaining to read

Note that last-modified header:

last-modified: Thu, 08 Feb 2024 05:33:19 GMT

I was just about to file an issue for the same reason. The .json files contain this, but the API does not return it:
`>         "id": "GHSA-57m8-f3v5-hm5m",

    "summary": "Withdrawn Advisory: Netty-handler does not validate host names by default",
    "severity": "MODERATE",
    "cves": [
      "unknown CVE ID, but artifact has vulns"
    ]
  },`

This issue should be resolved now. We are just keeping this open to track any work we can do to prevent this happening again in the future.
Re @jimshowalter 's question

I was just about to file an issue for the same reason. The .json files contain this, but the API does not return it:

The API does return this at https://api.osv.dev/v1/vulns/GHSA-57m8-f3v5-hm5m. Are you referring to this being returned from /v1/query or /v1/querybatch? Because this vulnerability is marked as withdrawn, this won't be returned by those endpoints as they're treated as not existing in that context.

When calling the API, not returned. When reading from the out-of-date .json files, was present. Now it's probably gone from the .json files too.

@jimshowalter Could you please clarify which API endpoint you're referring to? The advisory in question is returned by the API at https://api.osv.dev/v1/vulns/GHSA-57m8-f3v5-hm5m, but it will not be returned by our other query endpoints because it's marked as "withdrawn".

/v1/querybatch
When we called that, it didn't return the withdrawn advisory. When we ran against the downloaded .json files in Maven all.zip, they were present.

Thanks. That's intended behaviour, as withdrawn advisories should be treated as non-existent for the purpose of matching vulnerabilities to package versions (which is what the query endpoints do).

Ah. That means just matching versions in the .json files isn't going to work.

If they're withdrawn, why are they included in the .json files at all?

If they're withdrawn, why are they included in the .json files at all?

These are included for historical reasons. It should be very easy to distinguish these: They have a  top level "withdrawn" field.

Ack.

Closing this in favour of #1990.


[WIP] use MSI instead of hard coded service principal credentials

Needs to be done correctly; idea for verbal discussion.

This does not work because the MSI would not have vnet access (chicken/egg) and so the controller would not be able to create an internal load balancer.  Closing for #487