Please Provide  Sample Data

Please Provide  Sample Data
Originally posted by @vmanojreddy in https://github.com/Azure/Azure-Sentinel/issues/3198#issuecomment-943270138
Hi!
I am not sure how to do that. Let me explain. Our integration is not dealing with log analytics per se. We provide an azure function which creates/updates Sentinel Incidents with REST API calls https://docs.microsoft.com/en-us/rest/api/securityinsights/incidents/create-or-update
We don't analyze logs or events, we don't create incidents based on rules and alerts - we only create Incidents directly with REST API calls.
We do define one data type SYNACK_VULNERABILITY in Synack_API_FunctionApp.json file. But we never use it. The only reason it is there is because the Data Connector page defined by Synack_API_FunctionApp.json reports an error if I try to use an empty array of data types like this "dataTypes": [].
So, in this context, I am not sure how to provide sample data. Our data type SYNACK_VULNERABILITY is a kind of stub. I did check some examples of Sample Data provided by Cisco Umbrella connector (we used it as a reference when working on ours) - these are for the data types. For example https://github.com/Azure/Azure-Sentinel/blob/master/Sample Data/Custom/Cisco_Umbrella_ip_CL.json
Unfortunately we cannot provide something like this for our "data type".
We are open to suggestions and can work on some sample data, but need some further guidance on how to do that.
Thank you!

@andriykozynets  : We are closing this issue. The related pr has been closed. Please feel free to reopen the issue if you need any more details.Thanks!!


App block using scripttag in vintage theme

Hello, Can anybody help me.
i am get stuck on integrating scripttag in shopify app for vintage theme basically the aim is that my app use theme-app-extension functionality for 2.0 theme and for vintage themes my app will use scripttag for app block.
so i am done with theme-app-extension but stuck on scripttag below is the error i am getting after adding scripttag code in shopify-app.php file. The error i am getting right after install app.
Illuminate\Database\Grammar::parameterize(): Argument #1 ($values) must be of type array, int given, called in /home/
Note: i am done with permission for scripttag

@Sajidali123 - the error is telling you the issue but without more context around your code it will be hard to provide any meaningful help.

Closing as a stale issue, reopen if you still have the problem


adjusted the log guidance

Added more explanation around sizing

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

Hi, Ned - little typo in the last sentence of your changes: +Again: Microsoft strongly recommends that the log storage be faster than the data storage and thatl og volumes must never be used for other workloads.
Can you fix? Then I'll get this merged and published.
Thanks, Liza

Done – I think. 😊
NP | PM
From: Liza Poggemeyer<EMAIL_ADDRESS>Sent: Wednesday, July 19, 2017 2:57 PM
To: MicrosoftDocs/windowsserverdocs<EMAIL_ADDRESS>Cc: Ned Pyle<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windowsserverdocs] adjusted the log guidance (#126)
Hi, Ned - little typo in the last sentence of your changes: +Again: Microsoft strongly recommends that the log storage be faster than the data storage and thatl og volumes must never be used for other workloads.
Can you fix? Then I'll get this merged and published.
Thanks, Liza
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindowsserverdocs%2Fpull%2F126%23issuecomment-316530220&data=02|01|nedpyle%40microsoft.com|d80f78105da3412ce77608d4cef10cfe|72f988bf86f141af91ab2d7cd011db47|1|0|636360982078326005&sdata=wo0lPP4ImHWrU5EeIJ67Gv0cKT2PzaVGyYanr3pGcAE%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARndN9RFhNNQbpWtHFhVyCa9EpTJ1gvPks5sPnudgaJpZM4OcGN7&data=02|01|nedpyle%40microsoft.com|d80f78105da3412ce77608d4cef10cfe|72f988bf86f141af91ab2d7cd011db47|1|0|636360982078326005&sdata=yyKtBxeJ3FhA3ThErus5TMCmcNNnktlTKBtAzu5sROc%3D&reserved=0.

Beautiful - thanks! I'll get this merged and published today.

Thank you!
NP | PM
From: Liza Poggemeyer<EMAIL_ADDRESS>Sent: Thursday, July 20, 2017 10:31 AM
To: MicrosoftDocs/windowsserverdocs<EMAIL_ADDRESS>Cc: Ned Pyle<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windowsserverdocs] adjusted the log guidance (#126)
Beautiful - thanks! I'll get this merged and published today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fwindowsserverdocs%2Fpull%2F126%23issuecomment-316775156&data=02|01|nedpyle%40microsoft.com|f0b229e81c5c48ea96e108d4cf950ded|72f988bf86f141af91ab2d7cd011db47|1|0|636361686476206917&sdata=0Nnblk%2FgBOf3Q6ZJRemGvPVerZXhaV9E%2BJhVsvnfeVk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARndN78EkJhUm9NgLK9gYSf2wAIPIBEpks5sP47DgaJpZM4OcGN7&data=02|01|nedpyle%40microsoft.com|f0b229e81c5c48ea96e108d4cf950ded|72f988bf86f141af91ab2d7cd011db47|1|0|636361686476206917&sdata=pX9q%2BdHsF322V7XJ%2FCXPdwp5jr6vB6hGWuw14MHkUpQ%3D&reserved=0.


[cli/libra framework] Remove Offer module from being published in genesis

Moves the Offer module to the nursery so it is no longer published in genesis. Tests have been moved to a Move CLI smoke test.
This move doesn't have any effects to scripts or on-chain modules as it wasn't being used.
This PR would be a proposed cherry-pick to release.

One thing I was wondering: do the verifier tests know to run on stdlib/nursery? CC @junkil-park @emmazzz

(1) Yes. cargo test -p move-prover verifies each .move files under language/stdlib/ and its sub-directories. So, it should verify the .move files under language/stdlib/nursery as well.
(2) language/stdlib/nursery is not included in the dependency list. If a module "uses" one of the nursery modules, Prover will not connect them, but raise an error (e.g., Invalid 'use'. Unbound module: ...).

/land


Added multiple YouTube players feature

My version fix #15 issue.
I added a playerId state, it contains PLAYER_ID const + current timestamp so we can create multiple Youtube players.

Hey @hyanmandian, thanks for the contribution! I've actually written a fix for this already but am yet to push it up (sorting out https://github.com/CookPete/react-player/pull/13 first) but I appreciate the effort!

Fixed by https://github.com/CookPete/react-player/commit/882dbe5d383f92a914e925ecc03076511483c966


Stack overflow in variant interface casting

This reproes with .NET Native for UWP. Not a compiler issue.
using System;

internal sealed class Module1
{
    public static int Main()
    {
        T1 t = new T1();
        int result;
        try
        {
            N<T1> n = (N<T1>)t;
            Console.WriteLine("FAIL! System.InvalidCastException was not thrown.");
            result = 1;
        }
        catch (InvalidCastException)
        {
            Console.WriteLine("PASS! System.InvalidCastException caught.");
            result = 100;
        }
        return result;
    }
}

internal interface N<in X>
{
}

internal class T1 : N<N<T1>>
{
}

We should also add a test case to the type system CanCastTo logic and fix it there too if it reproes.

This was fixed in 907e75814f72cb4ebf5ec172def064ff1b9959c8.


Track sync timestamps in Microsoft.AzureStackHCI/clusters

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

This is a public preview API. I'm adding read-only properties (which may be null) and changing some enum values.

Can one of the admins verify this patch?

As identified in the automated checks there are breaking changes, Please follow Azure Breaking changes approval request form as defined @ Breaking Change Process

@chiragg4u I understood that approval is needed only for GAed services. Is this incorrect?

Signing off from ARM side.

@njuCZ Please help complete this PR.

@mbialecka May I ask the breaking change is by design?

@njuCZ yes


User warnings can return list of warnings

*CLOUDBLD-4643
Signed-off-by: Serhii Salatskyi<EMAIL_ADDRESS>Maintainers will complete the following section

[x] Commit messages are descriptive enough
[x] Code coverage from testing does not decrease and new code is covered
[x] JSON/YAML configuration changes are updated in the relevant schema
[x] Changes to metadata also update the documentation for the metadata
[x] Pull request has a link to an osbs-docs PR for user documentation updates

rn updated: User warnings can return list of warnings


Root Mean Square Calculator

Root Mean Square Calculator for data analysis programmed to calculate the RMS or Root Mean Square or Quadratic Mean for set of varying data. In data analysis many situations involving Voltage, Current, Speed, Velocity, Distance, Magnitude, it is necessary to calculate the Root Mean Square Value for a set of data with varying quantity.
I'd like to work on it.

Go ahead
Deadline 11 May,2021


Revamp guest-test-infra presubmit checks

We are missing a lot of gobuild/gocheck/gotest coverage because these containers are scoped to only subdirectories which belong to the same module as the main directory. This change will modify the citpresubmit container to either build CIT or test it based on the argument given to the container. This should be accompanied by the change in guest-test-infra presubmit configuration to check/test/build each module in guest-test-infra separately.
This also includes a fix for registry-image-forked's gocheck presubmit, which would otherwise fail because it's accessing linux only APIs in a file that's not scoped for linux builds only.

/hold
Should be merged at the same time as https://github.com/GoogleCloudPlatform/oss-test-infra/pull/2116

/lgtm

/unhold


How to make the edge as smooth line

Demos:

http://cpettitt.github.io/project/dagre-d3/latest/demo/hover.html
http://cs.brown.edu/people/jcmace/d3/graph.html?id=small.json

The second one's edge is smooth. So, how to get smooth lines?

Where do we find all graph options, all node options and all edge options?
Is there documentation?
Thank you.


compiling error kade engine 1.7

compiling kade engine 1.7 doesn't compile and gives me this:
source/LuaClass.hx:35: characters 46-58 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : Defined in this class
source/LuaClass.hx:1669: characters 42-54 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : Defined in this class
source/LuaClass.hx:1469: characters 42-54 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : Defined in this class
source/LuaClass.hx:1144: characters 42-54 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : Defined in this class
source/LuaClass.hx:855: characters 41-53 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : Defined in this class
source/LuaClass.hx:635: characters 40-52 : Type not found : StatePointer
source/Replay.hx:55: lines 55-145 : Defined in this class
source/LuaClass.hx:370: characters 42-54 : Type not found : StatePointer

Me too

For now use 1.6.2

Me too

it's literally the same error as 1.6.2

Which is the latest working version

(for me)

1.6.1

for me

use the latest version that works

k

for me

ok use 1.6.1

if u find a fix comment here plz and thx

https://github.com/KadeDev/Kade-Engine/issues/1942#issuecomment-904236679 I did what they said and it worked

#1942 (comment) I did what they said and it worked

Thx for ur help it worked


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

hi, sorry for the late response, i've added it with this commit, 7c141a30d0426f2981e4373631af6c784f965c32


[Feat]: models trained with graphormer architecture

Contact Details
No response
Feature Description
It appears that only the models trained with the M3GNet architecture have been released. In the paper, the model based on the Graphormer architecture seems more promising. I’m curious when they will be made open-source for the community.
Motivation
The model based on Graphormer architecture is more promising and is expected to have broader applications.
Proposed Solution
No response
Contribution Interest

[ ] I'm interested in potentially implementing this feature
[ ] I can provide guidance, but cannot implement
[x] I'm just suggesting the feature for the community

Code of Conduct

[x] I agree to follow the project's Code of Conduct

Currently, MatterSimV1-1M and MatterSimV1-5M are released to be used/built on. We are continuing to refine and enhance other versions of MatterSim that we are looking to make available in the future. We are looking forward to learning from the materials community and how we can improve our work together. For now, more advanced and fully-supported versions of MatterSim, and additional materials capabilities are available in Azure Quantum Elements. If you have further questions, please email us at<EMAIL_ADDRESS>


Rare cases when ~P4API() crashes while p4-fusion is shutting down

In rare cases, p4-fusion crashes when running ThreadPool::ShutDown(), where the P4API destructor (defined in the Helix Core C++ API library) runs into a segmentation fault.
Version: 1.9
OS: CentOS 7
Crash backtrace from gdb:
Program terminated with signal 11, Segmentation fault.
#0  Signaler::DeleteOnIntr (this=0x55a7a6720460 <signaler>, ptr=0x7f1b1893c3b0) at ../p4/sys/signaler.cc:229
229	../p4/sys/signaler.cc: No such file or directory.
(gdb)
(gdb) where
#0  Signaler::DeleteOnIntr (this=0x55a7a6720460 <signaler>, ptr=0x7f1b1893c3b0) at ../p4/sys/signaler.cc:229
#1  0x000055a7a62c4b13 in Rpc::~Rpc (this=0x7f1b1893c3b0, __in_chrg=<optimized out>) at ../p4/rpc/rpc.cc:312
#2  0x000055a7a62a3ef7 in Client::~Client (this=0x7f1b1893c3b0, __in_chrg=<optimized out>) at ../p4/support/strbuf.h:369
#3  0x000055a7a629c8ac in ClientApi::~ClientApi (this=0x7f1b188df100, __in_chrg=<optimized out>) at ../p4/client/clientapi.cc:21
#4  0x000055a7a6298d4c in _Destroy<P4API> (__pointer=0x7f1b188df100) at /usr/include/c++/10.3.1/bits/stl_construct.h:135
#5  __destroy<P4API*> (__last=<optimized out>, __first=0x7f1b188df100) at /usr/include/c++/10.3.1/bits/stl_construct.h:152
#6  _Destroy<P4API*> (__last=<optimized out>, __first=<optimized out>) at /usr/include/c++/10.3.1/bits/stl_construct.h:185
#7  _Destroy<P4API*, P4API> (__last=<optimized out>, __first=<optimized out>) at /usr/include/c++/10.3.1/bits/alloc_traits.h:738
#8  _M_erase_at_end (__pos=0x7f1b188df100, this=0x55a7a671f750 <ThreadPool::GetSingleton()::singleton+112>) at /usr/include/c++/10.3.1/bits/stl_vector.h:1796
#9  clear (this=0x55a7a671f750 <ThreadPool::GetSingleton()::singleton+112>) at /usr/include/c++/10.3.1/bits/stl_vector.h:1499
#10 ThreadPool::ShutDown (this=0x55a7a671f6e0 <ThreadPool::GetSingleton()::singleton>) at /tmp/tmp.CjOLdF/p4-fusion-src/p4-fusion/thread_pool.cc:78
#11 0x000055a7a6299385 in ThreadPool::ShutDown (this=<optimized out>) at /tmp/tmp.CjOLdF/p4-fusion-src/p4-fusion/thread_pool.cc:58
#12 0x000055a7a6289fc1 in Main(int, char**) () at /tmp/tmp.CjOLdF/p4-fusion-src/p4-fusion/main.cc:308
#13 0x000055a7a627b027 in main () at /tmp/tmp.CjOLdF/p4-fusion-src/p4-fusion/main.cc:344
#14 0x00007f1b18d31a03 in ?? ()
#15 0x00007f1b18d319dc in ?? ()
#16 0x00007ffc0b6fce20 in ?? ()
#17 0x0000000000000000 in ?? ()

This usually doesn't corrupt any data because the cloning is complete by the time when ThreadPool::ShutDown() is called

Related:

https://www.perforce.com/manuals/p4api/Content/P4API/p4libraries.html?Highlight=thread
https://www.perforce.com/manuals/p4api/Content/P4API/chapter.clientprogramming.signaler.html


fix(packages/core): headless.ts blindly removes -v from everywhere on…

… the command line
Fixes #7285

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

/lgtm


'multipart/form-data' will always return a validation error

Describe the bug
The validation always fails whenever a multipart/form-data content type is used in the requestBody. This prevents the normal usage of prism without any other proxy server (like nginx) on which such requests can be filtered out.
To Reproduce

Given this OpenAPI document (stored as testapi.yaml)

openapi: '3.1.0'
paths:
  /path:
    post:
      responses:
        200:
          content:
            text/plain:
              example: ok
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                testData:
                  type: string
              required:
                - "testData"

Run this CLI command .\prism-cli-win.exe mock -h <IP_ADDRESS> .\testapi.yaml
Write a non-empty post request to http://<IP_ADDRESS>/path with included form-data in the request body
See response error

 {
    "type": "https://stoplight.io/prism/errors#UNPROCESSABLE_ENTITY",
    "title": "Invalid request",
    "status": 422,
    "detail": "Your request is not valid and no HTTP validation response was found in the spec, so Prism is generating this error for you.",
    "validation": [
        {
            "location": [
                "body"
            ],
            "severity": "Error",
            "code": "type",
            "message": "must be object"
        }
    ]
}

Expected behavior
It is expected that the response defined in the example is returned.
Additional context
As one of the last PR #1990 the validation is skipped when an empty request is send. As a simple workaround this could also be implemented for the case multipart/form-data is used.
gz#8297(related to Zendesk ticket #8297)

thanks @SeMuell. i'm looking into this - i notice we have several feature requests closed #432 #1012 - i'll leave this open as we discuss internally.

Our project also needs multipart/form-data support because we use multipart/form-data to upload files.
How about responding in the following ways?
packages/http-server/src/server.ts
//~~~

import * as formidable from 'formidable';

//~~~

function parseRequestBody(request: IncomingMessage) {
  // if no body provided then return null instead of empty string
  if (
    // If the body size is null, it means the body itself is null so the promise can resolve with a null value
    request.headers['content-length'] === '0' ||
    (request.headers['content-type'] === undefined &&
      request.headers['transfer-encoding'] === undefined &&
      request.headers['content-length'] === undefined)
  ) {
    return Promise.resolve(null);
  }

  if (typeIs(request, ['application/json', 'application/*+json'])) {
    return json(request, { limit: '10mb' });
  }

  if (typeIs(request, ['multipart/form-data'])) {
    const form = formidable({ multiples: true });
    return new Promise((resolve, reject) => {
      form.parse(request, (error, fields, files) => {
        if (error) {
          reject(error);
          return;
        }
        resolve({ ...fields, ...files });
      });
    });
  }

  return text(request, { limit: '10mb' });
}

I want to make sure it works, but I dont know how to make sure @stoplight/prism-http-server` works....

Sorry. I'm using<EMAIL_ADDRESS>and I also have the above problem. Is there any solution for the above problem?

It would be nice if we can disable validatior when using multipart/form-data content by a parameter of @stoplight/prism-cli.

I discovered this issue when I was using Prism in proxy mode. The real backend was rejecting my uploads complaining that the file I was trying to upload was not valid.
The upload worked when I decided to skip the Prism proxy.


"pre-training" section in the readme

Just want to confirm, when you talk about "pre-training" in the readme (https://github.com/airsplay/lxmert#pre-training) you mean training the entire LXMERT model from scratch?
If we just want to use a trained LXMERT model (and stick on a classification or LSTM layer at the end), we can just use the pre-trained model link you provided: http://nlp.cs.unc.edu/data/model_LXRT.pth, load your model, freeze the weights and then finetune with our specific task, right?
Thanks

Yes. The script is to train the model from scratch.

Mostly correct. As I tested before, the fine-tuned model would work better if the backbone weight are not frozen. It is the same to BERT.

Thanks! It was a little confusing since the BERT component can also be pre-trained. :)

Thanks for the insight! It's good to know experimentally what worked. It is always a good question to see whether just finetuning the last layer vs finetuning the entire model works better. And there are of course trade-offs as well, with regards to training time etc.

I suspect we see this behaviour in your model in particular due to the complexity of the different moving parts.


Add debounce for deep link navigation

📦 Published PR as canary version: 1.0.6-canary.35.469.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>

:rocket: PR was released in v1.1.0 :rocket:


Support more complex add dep configuration, e.g. :only

Is your feature request related to a problem? Please describe.
I was playing around with building an Igniter installer for a library of mine, but found that the high-level Project.Deps utils do not support adding deps with more complex configuration, e.g. {:mneme, ">= 0.0.0", only: :test}
Describe the solution you'd like
Instead of accepting the package name and version as separate arguments, I'd propose that a dep tuple be passed in and inserted or used to replace existing dep tuples based on a matching first argument.
Describe alternatives you've considered
Unless I'm mistaken, the only alternative at the moment is to use much lower-level tools to modify the deps list yourself.


go-ethereum: incorrect number of transactions returned

Description
go-ethereum is returning the incorrect number of transactions
Steps to reproduce
func TestHederaParseBlock(t *testing.T) {
	ctx := context.Background()

	ethClient, err := eth.Dial("https://testnet.hashio.io/api")
	require.NoError(t, err)

	block, err := ethClient.BlockByNumber(ctx, big.NewInt(7771665))
	require.NoError(t, err)

	log.Infof("number of block transactions, %v", len(block.Transactions())) // 1

	rpcClient, err := rpc.Dial("https://testnet.hashio.io/api")
	require.NoError(t, err)

	var result map[string]interface{}
	err = rpcClient.Call(
		&result, "eth_getBlockByNumber", toBlockNumArg(big.NewInt(7771665)), true,
	)
	require.NoError(t, err)

	log.Infof("number of rpc transactions, %v", len(result["transactions"].([]interface{}))) // 1
}

The above prints 1, whereas https://hashscan.io/testnet/block/7771665 shows 9.
Additional context
No response
Hedera network
testnet
Version
NA
Operating system
macOS

@jbaldwinroberts thank you for bringing this to our attention and for your support.
The difference you're seeing occurs because Hedera Consensus Service Submit Messages are not included in the results when querying block data via the Hedera JSON-RPC API.
To retrieve the complete list of transactions stored on a specific block, you can use the following script:
curl -X POST https://testnet.hashio.io/api \
-H "Content-Type: application/json" \
-d '{
    "jsonrpc":"2.0",
    "method":"eth_getBlockByNumber",
    "params": [
        "0x769611",  // Block number in hexadecimal (7771665 in decimal is 0x769611 in hex)
        true
    ],
    "id":1
}'

Please note that this behaviour is tied to the architecture of the Hedera services, rather than the Golang client itself.
If you have any further questions or need additional assistance, please don't hesitate to reach out.

@jbaldwinroberts To add to @arianejasuwienas point, the above JSON RPC call will return ethereum related as well as crypto transfer transactions, and there is one crypto transfer transaction in that block.


Remove _wait_for_listening hook from sysvinit script

This PR partially reverts #433 . Reasons:

The root issue has been fixed by another solution: #443
We can't use consul info call in init script, because it doen't work in Consul 0.8+ with ACL enabled (https://github.com/johnbellone/consul-cookbook/pull/434#issuecomment-303654809)

Codecov Report

Merging #444 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #444   +/-   ##
=======================================
  Coverage   67.03%   67.03%
=======================================
  Files           7        7
  Lines         358      358
=======================================
  Hits          240      240
  Misses        118      118

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 95be769...3dccaa7. Read the comment docs.


After installing illenium appearance stuck on awaiting scripts

After installing illenium appearance with dependencies the fivem serverstuck on awaiting scripts while joining after loading screen

Read the docs again. You haven't installed it properly


Fixing a typo 0365->O365

Summary
Fixing a small typo (0365->O365)
Ticket Link
https://translate.mattermost.com/translate/mattermost/mattermost-webapp_master/en/?checksum=9d9f72ea51311df5
Related Pull Requests
None
Screenshots
Screenshots
Release Note
None

Hello @YetAnotherBlogArticle,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/check-cla

I'm working on a blog post 'Git for non-developers' so I created a new username to start from scratch but hey, it's just me: @ctlaltdieliet :wave:

@YetAnotherBlogArticle you might need to run mmjstool to extract the translations into en.json i18n file

/update-branch

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/208739


[B11] Suggestion:  Arcane workbench vis display

Since all arcane crafting requires vis drawn from the aura, could the arcane workbench display how much vis is available as soon as you open its interface, instead of having to lay out the entire recipe before it'll tell you whether there's any aura to work with?

This issue was moved to Azanor/thaumcraft-suggestions#386


Can Logfire be used with Prometheus, Jaeger and Grafana?

Question
I read the entire introduction, went through the documentation and looked in the documentation's "search" and I believe I didn't understand how the infrastructure works. Am I doomed to using the pydantic's API to use this open-source tool?
I apologize if this is a misunderstanding...

This is only a SDK, sorry for my misunderstanding.

Precisando de alguma coisa, só falar. :)

If you need anything, just let us know. :)

Yes it can, it's just not properly documented. And currently as pointed out in https://github.com/pydantic/logfire/issues/298 you have to authenticate with Logfire even if you don't send data to it.

Yes, you can now with the newest release (0.50.0). See https://docs.pydantic.dev/logfire/guides/advanced/alternative_backends/


Expose Hyper Client

I'm currently using reqwest to make requests to an API using mutual TLS.
For some endpoints, more advanced networking features are required and I need to fall back to using a Hyper client. However, it is hard to establish mutual TLS using Hyper and rustls and, furthermore, it's a little undesirable to manage two distinct Hyper clients (as reqwest is backed by one anyway).
It would be great if reqwest's client would expose a method granting access to the underlying Hyper client.

What part of a hyper::Client would you need access to?

Basically, I wanted to get access to .inner.hyper, but I noticed I need to expose too many types that are not public.
I now went with the following public function that I added to the client. It does its job but I'm not sure if it should be part of this crate (although I'd love to not use my own fork):
pub fn execute_hyper(
    &self,
    builder: http::request::Builder,
    body: impl Into<super::body::Body>,
) -> Result<hyper::client::ResponseFuture, http::Error> {
    let request = builder.body(body.into().into_stream())?;
    return Ok(self.inner.hyper.request(request));
}

What does that give you that isn't possible with the reqwest::Client? I'm trying to understand the intent, to see if there's another solution besides just opening up private methods.

Basically, I need to hijack the underlying TCP stream (I'm interfacing with the Docker API and this is required for some interactive calls). Using Hyper, I can schedule the request and then get access to the TCP stream using the Upgraded type.
This looks something like that:
let request = hyper::Request::builder()
    .method(hyper::Method::POST)
    .uri(format!("http://localhost:2375/exec/{}/start", id))
    .header(hyper::header::CONTENT_TYPE, "application/json")
    .header(hyper::header::CONNECTION, "Upgrade")
    .header(hyper::header::UPGRADE, "tcp")
    .body(hyper::Body::from(body))?;

let client = hyper::Client::new();
let response = client.request(request).await?;
let mut upgraded = response.into_body().on_upgrade().await?;
// `upgraded` is now `AsyncRead` and `AsyncWrite`

I doubt that reqwest currently enables doing something like that and I'm not sure if gaining access to the underlying TCP connection is a common use case.

I see, so you want to do HTTP upgrades. That's not currently exposed in
reqwest, though it's probably not difficult to do so without opening up the
internals.
On Wed, Sep 30, 2020, 10:24 AM Oliver Borchert<EMAIL_ADDRESS>wrote:

Basically, I need to hijack the underlying TCP stream (I'm interfacing
with the Docker API and this is required for some interactive calls). Using
Hyper, I can schedule the request and then get access to the TCP stream
using the Upgraded
https://docs.rs/hyper/0.13.8/hyper/upgrade/struct.Upgraded.html type.
This looks something like that:
let request = hyper::Request::builder()
.method(hyper::Method::POST)
.uri(format!("http://localhost:2375/exec/{}/start", id))
.header(hyper::header::CONTENT_TYPE, "application/json")
.header(hyper::header::CONNECTION, "Upgrade")
.header(hyper::header::UPGRADE, "tcp")
.body(hyper::Body::from(body))?;
let client = hyper::Client::new();let response = client.request(request).await?;let mut upgraded = response.into_body().on_upgrade().await?;// upgraded is now AsyncRead and AsyncWrite
I doubt that reqwest currently enables doing something like that and I'm
not sure if gaining access to the underlying TCP connection is a common use
case.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/seanmonstar/reqwest/issues/1045#issuecomment-701531249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMSFYD4WGX7HYYTSNRBX3SINSVHANCNFSM4R7FVLVA
.

Yes, exactly. I'm not too familiar with reqwest's internals at the moment, but if you think this would be nice to have in reqwest, I might familiarize myself a bit more with it in the coming days and might open a PR soon.

HTTP Upgrade support has landed with #1376:
https://github.com/seanmonstar/reqwest/blob/61474f422caa6f9f843ae3a5bf656b5b3f507241/tests/upgrade.rs#L33-L50


Provide a faster method to use ruby-head in local

Why?: https://github.com/kachick/irb-power_assert/issues/183, https://github.com/kachick/irb-power_assert/issues/176
Only using nixpkgs is not fit to test ruby-head.
It is same even if using https://github.com/bobvanderlinden/nixpkgs-ruby/blob/d6cc5a9e7f9480ff37e9b598c9898530b4391f93/ruby/versions.json
I did in 5 years ago https://gist.github.com/kachick/b7437f3ef1446a8b3ed1a4026e640338?permalink_comment_id=2925684#gistcomment-2925684
Note for nix requirements https://github.com/kachick/dotfiles/blob/afa24552323e597dcf49b8e5165cf63bb8da7bc2/home-manager/packages.nix#L121-L125
If I can use the container, it will be reasonable way https://github.com/docker-library/ruby/issues/222

https://github.com/ruby/ruby-docker-images
https://hub.docker.com/r/rubylang/ruby/
https://github.com/ruby/ruby-docker-images/pkgs/container/ruby
Looks good


Restore-DbaDatabase Try to put FileStream files on the source path

Bug Report
While implementing a FileStream check on Test-DbaMigrationConstraint I found that FileStream files will try to restore on the source default path. If the path does not exists will fail.
General Troubleshooting steps

[x] Verified running latest release of dbatools?
[x] Verified errors are not related to permissions?
[x] Can duplicate in new/fresh PowerShell.exe session?

Steps to Reproduce

[x] Attach any screenshots (if possible/allowed)
`Backup-DbaDatabase -SqlInstance sql2012 -Database db3 -BackupDirectory "\dc\sql\SQL2012"  | Restore-DbaDatabase -SqlInstance sql2016 -DestinationDataDirectory "C:\temp" -DestinationLogDirectory "C:\temp"

[x] Attach logs generated by dbatools (Get-DbatoolsLog)
DbatoolsLog_Backup_Restore_one_db.txt
Here I can see the Test-DbaDatabaseCompatibility being called for every single DB even that I just passed one.
[X] Attach output from PowerShell console (if possible/allowed)
See screenshot
`

Feature Request
Implement a new parameter like -DestinationDataDirectory and -DestinationLogDirectory for FileStream filegroups.
Problem to solve
Being able to restore a database that uses FileStream to a specific directory

closed via #2892


"Sort By" setting not staying saved on any playlist.

ℹ Computer information

Spotify version: <IP_ADDRESS>9.gf1bb1e36
Plan Spotify: Free
Windows version: 10
PowerShell version: 5.1
Spicetify installed: No

📝 Description of the problem
Everytime I set a playlist sorting to something other than custom order and then restart Spotify client, the setting does not stay saved.

Go to a playlist and set "Sort by" from Custom Order to any other order. Example: Date added
Close Spotify and turn it on again.
Playlist sorting goes back to Custom Order.

Note: Sorting playlist stays saved and doesn't change on normal Spotify client.
📷 Screenshots

Hi

which SpotX installer did you use?
were there any errors during the installation?

Yeah nvm a clean install fixed the issue


[bug] Unable to Run train.py in Diffusion Policy Example Code

Hi,
I am experiencing an issue when trying to run the example code for the Diffusion Policy. I followed the instructions in the README.md to:

Create a new virtual environment
Replay the trajectory

However, when I run train.py, I encounter an error that I cannot resolve. I have attached a screenshot of the error message.
I am unable to locate where this bug is occurring. Could you please help me troubleshoot this issue?

Thank you!

What version of maniskill are you using? Pypi or latest git commit?
And did you make any modifications?
And what is the exact command you ran?

I followed the Installation section in the Diffusion Policy README.md to create a new conda environment and installed the environment:
conda create -n diffusion-policy-ms python=3.9
conda activate diffusion-policy-ms
pip install -e .

I replayed the trajectory using the following commands:
python -m mani_skill.utils.download_demo "PickCube-v1"
python -m mani_skill.trajectory.replay_trajectory \
  --traj-path ~/.maniskill/demos/PickCube-v1/motionplanning/trajectory.h5 \
  --use-first-env-state -c pd_ee_delta_pos -o state \
  --save-traj --num-procs 10

Since I just created a new environment, I don't think I've modified anything. As for the code under the diffusion_policy folder, it's the same as the main branch on GitHub, and I haven't made any changes. The training command is as follows:
python train.py --env-id PickCube-v1 \
  --demo-path ~/.maniskill/demos/PickCube-v1/motionplanning/trajectory.state.pd_ee_delta_pos.cpu.h5 \
  --control-mode "pd_ee_delta_pos" --sim-backend "cpu" --num-demos 100 --max_episode_steps 200 \
  --total_iters 30000

The runtime information is as follows:
Loading HDF5 file /home/lirui/.maniskill/demos/StackCube-v1/motionplanning/trajectory.state.pd_ee_delta_pos.cpu.h5
Loaded
Load observations 100 <class 'numpy.ndarray'>
Load actions 100 <class 'numpy.ndarray'>
Total transitions: 10843, Total obs sequences: 10743
number of parameters: 4.43M
number of parameters: 4.43M
Iteration 0, loss: 1.1223094463348389
ERROR: Received the following error from Worker-0: TypeError: 'bool' object is not iterable
ERROR: Shutting down Worker-0.
ERROR: Raising the last exception back to the main process.
Traceback (most recent call last):
  File "/home/lirui/ManiSkill/examples/baselines/diffusion_policy/train.py", line 399, in <module>
    eval_metrics = evaluate(args.num_eval_episodes, ema_agent, envs, device, args.sim_backend)
  File "/home/lirui/ManiSkill/examples/baselines/diffusion_policy/diffusion_policy/evaluate.py", line 35, in evaluate
    obs, rew, terminated, truncated, info = eval_envs.step(action_seq[:, i])
  File "/home/lirui/anaconda3/envs/diffusion-policy-ms/lib/python3.9/site-packages/gymnasium/vector/vector_env.py", line 204, in step
    return self.step_wait()
  File "/home/lirui/anaconda3/envs/diffusion-policy-ms/lib/python3.9/site-packages/gymnasium/vector/async_vector_env.py", line 333, in step_wait
    self._raise_if_errors(successes)
  File "/home/lirui/anaconda3/envs/diffusion-policy-ms/lib/python3.9/site-packages/gymnasium/vector/async_vector_env.py", line 544, in _raise_if_errors
    raise exctype(value)
TypeError: 'bool' object is not iterable

What's more, I just did some more experiments. If I downgrade the version using the command pip install mani_skill==v3.0.0b12, I can run train.py with the above commands normally and get the following output:
Loading HDF5 file /home/lirui/.maniskill/demos/PickCube-v1/motionplanning/trajectory.state.pd_ee_delta_pos.cpu.h5
Loaded
Load observations 100 <class 'numpy.ndarray'>
Load actions 100 <class 'numpy.ndarray'>
Total transitions: 7720, Total obs sequences: 7620
number of parameters: 4.39M
number of parameters: 4.39M
Iteration 0, loss: 1.1120742559432983
Evaluated 100 episodes
success_once: 0.0000
return: 0.0000
episode_len: 200.0000
reward: 0.0000
success_at_end: 0.0000
Iteration 1000, loss: 0.023024782538414
Iteration 2000, loss: 0.013510224409401417
Iteration 3000, loss: 0.010976266115903854
Iteration 4000, loss: 0.008350854739546776

@Rui-li023 the latest version 3.0.0b15 has the fixes for this up now, please upgrade to that to get the changes


Sparse update

Summary:
Minimal working example of sparse variational Gaussian processes. Needs further work before merging to the main package.
Main features are:

The addition of sparse variational Gaussian processes
Setting trainable parameters via a pytree's
Pushing the probabilistic backend to distrax as mentioned in #42
Proposal of consistent notation throughout the package that is close to how the maths is written.
Minor bug fixes

Full list of proposed changes:
gps.py:

Added global jitter variable to all GP models.
Map estimator, static prams resulted in an error → temporally changed this to raise an exception (note this can now be resolved with the recent addition of trainable parameters in future changes).
Fixed a bug in the NonConjugatePosterior _repr_ → previously is incorrectly said “Conjugate posterior” when it printed.
Added _rmul_ method to the prior → we can now do  both prior * likelihood and likelihood * prior.

kernels.py:

Fixed bug in euclidean distance function.
Added _add_ and _mul_ functionality to the kernel class - so that it is closer to the maths e.g. we can type kernel1 + kernel 2 +( kernel 3 * kernel4)
Revised cross covariance function (it was back to front) → swapped arguments to match how the maths is written, i.e. can now write Ktx = cross_covariance(k, t, x, k.params), whereas before this had to be implemented as Ktx = cross_covariance(k, x, t, k.params).

parameters.py:

Noticed bug in parameter transforms that arrises  for kernel combinations e.g. SumKernel(  kernel_set = [kernel1, kernel2]), due to having to apply transforms over list, as well as dictionaries. To fix this, I added a new function 'build_bijectors' that now works recursively over lists and dictionaries to create a pytree of bijectors. Then to obtain constrainers and unconstrainers to recover 'build_transforms ' as before , I apply forward and inverse methods to the pytree of bijectors.
Fxed the same issue aforementioned above in the 'transform' function.
Have changed "initialise" functions to add a boolean pytree of same structure as params, 'trainables' that determines which prameters are trainable.
Added function to stop gradients for non trainable parameters, "stop_grads" that applies jax.lax.stop_gradient to parameters that are set to false in the trainables pytree.

abstractions.py:

Revised existing training functions to set trainable parameters.
Added minimal working data mini-batcher using TensorFlow data.
Added minimal working mini-batch training function.

New additions :
These are currently minimal working.
variational.py:

Contains variational family class
Contains variational posterior class, that utilises variational families
Contains functions to build the ELBO and VFE for a variational posterior object.

sparse_gps.py:

Contains minimal working SVGP

gauss_hermite_quadrature.py:

Contains function that does Gauss-Hermite quadrature.

Notation:
Made notation more intuitive, e.g. Kxf = gram(kernel, test_inputs, x, kernel.params) in current version of GPJax was not intuitive  → it is confusing to have f corresponding to x and, x  corresponding to test_inputs.
I have provisionally revised the notation:

x    for the train inputs

y    for train labels

t     for test inputs (this might need to be changed to another letter to avoid confusion with time series)

F     for the latent function modelled as a GP

Fx    for the latent function, F, at train inputs, x

Fmu   for the predictive mean of the latent function, F

Fcov  for the predictive covariance of the latent function, F

Fvar  for the predictive (diagonal) variance of the latent function, F

nx    for the number of train inputs, x

Kxx   for the kernel gram matrix at train inputs, x

Lx    for lower cholesky decomposition at train inputs, x

mx    for prior mean at train inputs, x

nt    for number of test inputs, t

Ktt   for gram matrix at train inputs, t

Lt    for lower cholesky decomposition at test inputs, t

mt    for prior mean at test inputs, t

Ktx   for cross covariance between test inputs, t, and train inputs, x

and added notation for sparse GPs:

u for the inducing outputs
z for inducing inputs
nz for number of inducing inputs, z
Kzz for gram matrix at inducing inputs, z
Lz for lower cholesky decomposition at inducing inputs, z
Kzx   for cross covariance between test inputs, z, and train inputs, x

and the Gaussian variational family has two parameterations:

q(u) = N[u; mu,  sqrt . sqrt^T], is the standard (whiten is false).
q(u) = N[u; Lz . mu + mz,  (Lz . sqrt) . (Lz . sqrt)^T], is the whitened parameterisation.
with variational parameters, mu and sqrt, a vector and lower-triangular matrix respectively to optimise over.

Other issues

Variational poster in variational.py is rough. Would be nice if in later version it would accept a GP posterior and variational family as arguments
In SVGP from sparse_gps.py - it would be good to remove the "q" argument and take in a variational family.
Would like opinion of how to structure variational class.

@thomaspinder - think about integrating likelihood(model(x_test)) syntax for predictions. Handles the likelihood noise term in SVGP.


A few fixes for components with overridden colours

Radio Buttons
Removes a transparent border from the radio button labels.
Before

After

Checkboxes
Removes a transparent border from the checkbox labels.
Before

After

Panel
Adds a transparent border which is made visible when users override colours.
Before

After

How does this impact hint text?
Did that invisible border set some spacing for this components that'll be missed?

How does this impact hint text?

I don't believe it does?

Did that invisible border set some spacing for this components that'll be missed?

My understanding is that the 2px border was originally added to align components to the same height, however removing it actually improves the alignment as seen on the form-alignment example:
Before

After

@nickcolley that border added part of the equalising heigh form elements a while ago. component have now changed so that is no longer relevant/workable. also looking at the firefox custom colours, it's not the best solution.


Refactor error messages on Account requests

Currently, for accepting account requests (/api/ui/admin/request), any response other than 204 returns a popup with "An unknown error occurred". Change this to a red alert box with a more detailed description of the possible errors.

#321


Removal of a package

I can't find a way to remove accidentally uploaded module version from the ecosystem. Even though Cro::RPC::JSON 0.1.904 has production: false in its META, zef upgrades to the version implicitly.

Thinking through this.  We already have a lot of issues reported where people can't install modules because something happened in p6c user removed their dist|user renamed a dist|user broke some piece of the dist off into its own dist and now the dependency doesn't find the new dist because it's provided by what's installed.  There's more.  I'm wondering if maybe patching a dist should be allowed within an hour of uploading.
I don't know what production: false means or why that's relevant.

I don't know what production: false means or why that's relevant.

https://design.raku.org/S22.html#production
Perhaps fez should give a BIG warning if the key is present and it is false.
Talking about my case, I have accidentally published a version from development branch which number actually obsoletes any production version on the same branch. I.e. dev numbers in my model are x.y.9xx, and production are x.y.[1..899]. So, I effectively disabled the whole 0.1.xx.
Perhaps pulling out a single version should be possible because the worst case would then be if there is a dependency recorded for exactly this particular version which is rather unlikely.
Alternatively, zef must not allow installation of non-production versions without a special request.
Otherwise I'm not sure I can be really helpful with packages as I'm don't have that much experience with the kind of issues you mention. Technically I can only think of a full indexing which will know everything about dependencies. And since we're basically out of control of CPAN and, up to some extent, of the ecosystem repo, we barely can do much about any changes done do them. On the other hand, fez technically can find out if a module being removed has any dependents and take corresponding actions.
Yet, it's rather questionable what kind of actions these could be. It just crossed my mind that we actually don't have any kind of license agreement with module publishers. What is the actual ownership of the module when it's published? One of the targets of fez development, as you declared, is to provide authors with better protection over their modules. But how far does this go? Shouldn't the right to remove be considered a part of this protection? I'm not sure.

That is technically a pretty good point - i'll manually remove that module for now and implement the warning on the client side.  Fez only looks at the dist info (of which production isn't).  It's going to take me a little bit to figure out dependency chaining to ensure no deps are broken by removal.

Turns out I overlooked the fact the the dev version was actually in the LocalCache. I confused it up with a neighbor version from Zef::Repository::Ecosystems<fez>. Anyway, the mistake has led to a good discussion. :)

@vrurg - i'm on the fence about time vs dependency. otoh you can be reasonably sure no one has pinned a module within an hour but you can't be reasonably sure you're not removing a module that broke backcompat.

I tried to think over it, but not sure I consider all possible options. First of all, I'm not sure that ecosystem must maintain integrity by disallowing module removal. There're too many other ways to break things down and wether is makes sense to try to block one of them is still not clear to me.
Yet, what if a severe security issue has been discovered in a module? Releasing a fix and removing the bad version sounds like the best option. If there is another module which depends on the removed one then it wouldn't be affected unless it's dependency points at that particular vulnerable version. In this case I'd rather consider sending a warning email to the author.
Alternate solution is a bit more complicated. If we know that there is a strict version dependency then removal may require to specify a replacement. I.e. x.y.1 is unsafe, but x.y.2 is fixed. So, the index will contain a "redirection". Whenever x.y.1 is requested x.y.2 will be installed instead.
One last option just have came into my mind. A version could be disabled, not removed. In this case it remains available for installation with a kind of --force CLI option when absolutely necessary. But otherwise it must have a description of reason for disabling and the reason would be displayed to the one requesting the version.

@vrurg branch eco_rmdist introduces a way to remove a dist from the ecosystem.  currently doing some testing and the rules around it right now are: must be removed within 24 hours of upload.

This feature is introduced with
d39800a

I better avoid testing the feature these days. So, if anything pops up in the real life – I'll report with a new issue.
BTW, support for production key will is likely to be even more useful for me.
Thank you!

@vrurg ive been chatting with nick about how tiers or some other way of managing strict vs not strict auths could work and support for auths will likely come with that. Once that’s in place it’ll also lend itself to hosted dark ecos


Home page now displays correct lesson completion

Adjusts home controller to calculate complete lessons rather than incomplete.
Renames variables in home.ejs to match changes

Closes #38

Related issue

Closes #38


Refactory/postbacks

Coverage increased (+0.6%) to 90.688% when pulling 42f505df5da56b9686e4190a25a9eea6b55eb53a on refactory/postbacks into a973fbea340c0b9a2779338fdf316f2f813e8b36 on V3.


Xero's Minimap would work with ForgetMeChunk?

Forget me chunk forgets chunk data while minimap renders a minimap of everywhere you go. So I assume it keeps the data. Would minimap work with that.

I've used Xaero's Minimap for quite a while with this mod. So, it should be fine, I think.


[bug]: failing link: unable to synchronize channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error with error: unable to resume channel, recovery required

After a restart I can't connect again with this peer. Running lnd 0.16.2 on docker

Logs
2023-05-15 20:16:53.855 [INF] NTFN: New spend subscription: spend_id=17, outpoint=xxxxxxx:1, script=0 05ddd1b293d2b87069903fbb0da8180b2057fa9e64c8be410afeb414b626a37c, height_hint=789800
2023-05-15 20:16:53.856 [INF] NTFN: Dispatching historical spend rescan for outpoint=xxxxxxx:1, script=0 05ddd1b293d2b87069903fbb0da8180b2057fa9e64c8be410afeb414b626a37c, start=789800, end=789904
2023-05-15 20:16:54.250 [INF] CNCT: Close observer for ChannelPoint(xxxxxxx:1) active
2023-05-15 20:16:54.667 [INF] CNCT: ChannelArbitrator(xxxxxxx:1): starting state=StateDefault, trigger=chainTrigger, triggerHeight=789904
2023-05-15 20:19:41.039 [WRN] CHBU: Replacing disk backup for ChannelPoint(xxxxxxx:1) w/ newer version
2023-05-15 20:20:02.052 [INF] PEER: Peer(0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f): Loading ChannelPoint(xxxxxxx:1), isPending=false
2023-05-15 20:20:02.055 [INF] HSWC: ChannelLink(xxxxxxx:1): starting
2023-05-15 20:20:02.057 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(xxxxxxx:1)
2023-05-15 20:20:02.058 [INF] HSWC: ChannelLink(xxxxxxx:1): HTLC manager started, bandwidth=yyyyyyyyy mSAT
2023-05-15 20:20:02.059 [INF] HSWC: ChannelLink(xxxxxxx:1): attempting to re-synchronize
2023-05-15 20:20:02.442 [INF] HSWC: ChannelLink(xxxxxxx:1): stopping
2023-05-15 20:20:02.442 [WRN] HSWC: ChannelLink(xxxxxxx:1): error when syncing channel states: link shutting down
2023-05-15 20:20:02.443 [INF] HSWC: ChannelLink(xxxxxxx:1): exited
2023-05-15 20:20:25.537 [INF] PEER: Peer(0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f): Loading ChannelPoint(xxxxxxx:1), isPending=false
2023-05-15 20:20:25.550 [INF] HSWC: ChannelLink(xxxxxxx:1): starting
2023-05-15 20:20:25.552 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(xxxxxxx:1)
2023-05-15 20:20:25.556 [INF] HSWC: ChannelLink(xxxxxxx:1): HTLC manager started, bandwidth=yyyyyyyyy mSAT
2023-05-15 20:20:25.556 [INF] HSWC: ChannelLink(xxxxxxx:1): attempting to re-synchronize
2023-05-15 20:20:25.692 [WRN] HSWC: ChannelLink(xxxxxxx:1): error when syncing channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error
2023-05-15 20:20:25.694 [ERR] HSWC: ChannelLink(xxxxxxx:1): failing link: unable to synchronize channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error with error: unable to resume channel, recovery required
2023-05-15 20:20:25.695 [INF] HSWC: ChannelLink(xxxxxxx:1): exited
2023-05-15 20:20:25.894 [INF] HSWC: ChannelLink(xxxxxxx:1): stopping
2023-05-15 20:20:50.750 [INF] PEER: Peer(0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f): Loading ChannelPoint(xxxxxxx:1), isPending=false
2023-05-15 20:20:50.758 [INF] HSWC: ChannelLink(xxxxxxx:1): starting
2023-05-15 20:20:50.759 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(xxxxxxx:1)
2023-05-15 20:20:50.760 [INF] HSWC: ChannelLink(xxxxxxx:1): HTLC manager started, bandwidth=yyyyyyyyy mSAT
2023-05-15 20:20:50.760 [INF] HSWC: ChannelLink(xxxxxxx:1): attempting to re-synchronize
2023-05-15 20:20:50.891 [WRN] HSWC: ChannelLink(xxxxxxx:1): error when syncing channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error
2023-05-15 20:20:50.893 [ERR] HSWC: ChannelLink(xxxxxxx:1): failing link: unable to synchronize channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error with error: unable to resume channel, recovery required
2023-05-15 20:20:50.893 [INF] HSWC: ChannelLink(xxxxxxx:1): exited
2023-05-15 20:20:50.994 [INF] HSWC: ChannelLink(xxxxxxx:1): stopping
2023-05-15 20:21:10.750 [INF] PEER: Peer(0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f): Loading ChannelPoint(xxxxxxx:1), isPending=false
2023-05-15 20:21:10.752 [INF] HSWC: ChannelLink(xxxxxxx:1): starting
2023-05-15 20:21:10.753 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(xxxxxxx:1)
2023-05-15 20:21:10.753 [INF] HSWC: ChannelLink(xxxxxxx:1): HTLC manager started, bandwidth=yyyyyyyyy mSAT
2023-05-15 20:21:10.755 [INF] HSWC: ChannelLink(xxxxxxx:1): attempting to re-synchronize
2023-05-15 20:21:10.993 [INF] HSWC: ChannelLink(xxxxxxx:1): stopping
2023-05-15 20:21:10.994 [WRN] HSWC: ChannelLink(xxxxxxx:1): error when syncing channel states: link shutting down
2023-05-15 20:21:10.994 [INF] HSWC: ChannelLink(xxxxxxx:1): exited
2023-05-15 20:21:41.020 [INF] PEER: Peer(0298f6074a454a1f5345cb2a7c6f9fce206cd0bf675d177cdbf0ca7508dd28852f): Loading ChannelPoint(xxxxxxx:1), isPending=false
2023-05-15 20:21:41.103 [INF] HSWC: ChannelLink(xxxxxxx:1): starting
2023-05-15 20:21:41.104 [INF] CNCT: Attempting to update ContractSignals for ChannelPoint(xxxxxxx:1)
2023-05-15 20:21:41.104 [INF] HSWC: ChannelLink(xxxxxxx:1): HTLC manager started, bandwidth=yyyyyyyyy mSAT
2023-05-15 20:21:41.104 [INF] HSWC: ChannelLink(xxxxxxx:1): attempting to re-synchronize
2023-05-15 20:21:41.285 [WRN] HSWC: ChannelLink(xxxxxxx:1): error when syncing channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error
2023-05-15 20:21:41.285 [ERR] HSWC: ChannelLink(xxxxxxx:1): failing link: unable to synchronize channel states: first message sent to sync should be ChannelReestablish, instead received: *lnwire.Error with error: unable to resume channel, recovery required
2023-05-15 20:21:41.285 [INF] HSWC: ChannelLink(xxxxxxx:1): stopping
2023-05-15 20:21:41.286 [INF] HSWC: ChannelLink(xxxxxxx:1): exited

The other peer can't continue, it's telling you that it can't resume the channel. At this point, you can force close to cover your funds as the remote party isn't able to continue with the channel.

Hi @bota87 assuming your question is addressed and closing this issue. If your concern is still not addressed feel free to re-open this issue. Thanks.


Add cloudbuild configuration to build the image

What type of PR is this?
/kind feature
What this PR does / why we need it:
Add cloudbuild configuration to build the image and push it to GCR.

/ok-to-test

I don't see it is covering the building image for both x86 and ppc64le, we need at least these platform supported to run, lets modify the makefile to accommodate the changes.

ok @mkumatag, I will modify accordingly.

@mkumatag can you review this?

@mkumatag can you review this?

occupied today, will review next week,


Fix: Unexpected var, use let or const instead. (eslint: no-var)

Changes
Fix: Unexpected var, use let or const instead. (eslint: no-var)

LGTM - but can you run yarn test -u and yarn test:dev -u to update test snapshots?


Gauge initial animation

It seems the loading animation from the c3.js gauge chart is not working. Is there an optional parameter needed to be passed?
So I made two codepens both with equivalent gauge charts.
The first one has the initial animation and uses the old method (client.draw)
The second one uses the Keen.DataViz but doesn't have the animation
https://codepen.io/joaoamaral/pen/MveOqd
https://codepen.io/joaoamaral/pen/YxWEMx

@joaoamaral sorry for the delayed response here. We've opted to disable the animation feature of C3.js visuals to mitigate the performance impact for charts containing a large number of data points (and dashboards containing more than a few charts). Right now this setting is enforced, but I can understand the case for making this optional. I'll make a note to change this in a future iteration.


fix broken meeting after resignin with different permissions

resolves #1789
Data received by autoupdate subscriptions will now be cleared after user changed.

Cannot reproduce the initial issue.


Fix depot case

encodes the depot name as a URI component.
Fixes an issue where the depot path contains upper case characters - VS code URI parses them to lower case
fixes #97

whoops wrong repo


[enhancement]: Add Seed Variations to the Linear UI

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
Users have occasionally requested the ability to generate variations on a seed (something InvokeAI provided in older versions, and something that can still be done - but only in nodes workflows). Currently this can be done by using a Blend Latents node to mix two noises with two different seeds. It would be nice to have this ability available through the Linear UI, using either this method or something comparable.

In this image, the base seed of 0 is modified with a variation strength of 10% (Blend Latents Alpha of 0.1).
(Feature request created by request of @psychedelicious)
EDIT: Besides single seed variations, the feature in the old version of the linear UI used to allow combining multiple variation seed/strength pairs, which might also be nice to see return to that UI in some way
Alternatives
No response
Additional Content
No response

The old implementation of variations used a prompt syntax. IIRC, you could have any number of seeds.
For the Linear UI graphs, I think we should mirror the exact functionality in the example graph. You get one main seed, and may blend one variation seed with it at the given alpha value. The variation seed can be manually specified or left random.
A stretch goal would allow for any number of variation seeds to be added via linear UI, but IMO that's complexity for which a use-case should be first proven. Blending between 2 seeds seems like a very reasonable feature set for the linear UI - if you want more than that, drop into workflows.
This would be a good first issue. The state and UI components are very straightforward, but it does require some graph changes. These are easy for the generation tab:

Add the new nodes to the graph.
Update any graph builder helper functions that depend on the noise node.

The canvas graphs are a bit more involved,  because they are not using the new graph builder utils yet. The changes are a bit more complex, but not crazy.


Test against 2012R2 and 2016

I am submitting this for test and consideration - this would improve the xPSDesiredStateConfiguration resource quality by testing against both Windows Server 2012R2 and Windows Server 2016 (full desktop in both cases).

This change is

Codecov Report

Merging #403 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #403   +/-   ##
===================================
  Coverage    67%    67%
===================================
  Files        27     27
  Lines      3947   3947
  Branches      4      4
===================================
  Hits       2670   2670
  Misses     1273   1273
  Partials      4      4

@mgreenegit a good plan testing against different platforms. A test fails on the platform that wasn't tested previously, can you look at that? https://ci.appveyor.com/project/PowerShell/xpsdesiredstateconfiguration/build/6.0.1031.0/job/o9lgudehyrerixae?fullLog=true#L2901

Labeling this PR as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on the PR is taken up again.


upload_date not working properly after the new update

The parameter %(upload_date)s is not working properly ( It was before the recent update)
If I run:
youtube-dl -ciw -v -o '%(id)s_N3ws1t_%(upload_date)s_N3ws1t_%(title)s.%(ext)s' --date '20150424' --write-thumbnail --playlist-end 30 ytuser:newsittv
I get only the videos uploaded after 12:00 (GMT +2 Athens)
For videos uploaded earlier but on the same day, I have to run:
youtube-dl -ciw -v -o '%(id)s_N3ws1t_%(upload_date)s_N3ws1t_%(title)s.%(ext)s' --date '20150423' --write-thumbnail --playlist-end 30 ytuser:newsittv
I attach a photo of what 'ls -ltr' is showing on the local folder. The attributes of ls are the same with the ones on youtube but " %(upload_date)s " is not

Post the full output you get when running with --verbose option.

video 8 is correctly not in range
from 9-12 shouldn't be in range.. same as the above because it was uploaded today (24/04/2015)
video 13 is correctly in range and already existing in the folder

( youtube-dl -ciw -v -o '%(id)s_N3ws1t_%(upload_date)s_N3ws1t_%(title)s.%(ext)s' --date '20150423' --write-thumbnail --playlist-end 30 ytuser:newsittv )

I'm experiencing exactly the same behavior with last 3 versions of youtube-dl (current git, 2015.04.17 and 2015.04.09), so nothing has been broken by recent releases. Such behavior happens due to the file timestamp being set from Last-modified HTTP header returned by webserver and not from the upload_date field (modifying file timestamp can be disabled with --no-mtime).
Since you are not willing to provide full output containing at least the actual version of youtube-dl you are using I can't check your particular version.

With the previous version I haven't had any problems.. be aware that by previous version I don't mean only of youtube-dl but youtube itself as well.. maybe something has changed there and that's why you are getting the same results with the previous version
Of course I can give you the full output.. but I don't know how to catch all of it ( too long for the ubuntu shell)
here is the start of it

Just to put it diferrently the timestamp returned by youtube is the actual date and time the upload happened and the ' upload_date ' and/or the ' --date ' attribute of youtube-dl is not working properly for every video


90% of functions are broken or un documented

90% of functions are broken or there is no documentation on how to use them, not to mention that the error messages are useless.
For example: "Cannot convert number to 'float *'" what kind of error is that, a number is a float in lua
imgui.ColorPicker4("Color", 1.0,1.0,1.0)

With the exception of the LÖVE rendering and input functions, cimgui-love is simply an FFI wrapper for cimgui/Dear ImGui. For documentation on how to use the function you will have to refer to the Dear ImGui documentation (in the file imgui.h).
Regarding those error messages: the function calls are not just Lua functions, as they use FFI to call the C functions directly. When possible the Lua objects are converted to cdata automatically, but in your exemple the function is expecting a cdata representing a pointer to a float, which you will need to create yourself using FFI. You cannot just convert a number to a pointer, which is what the error message is helpfully telling you.
As mentioned in the README, you need some familiarity with LuaJIT FFI to use cimgui-love (which in turn means you need some familiarity with C).

Yeah I apologise for not reading through the read me more clearly, my mistake. thanks for clearing up the documentation


New plots and results related to adversarial training

Added a comment.

View entire conversation on ReviewNB

Updated text.

View entire conversation on ReviewNB


throw :warden not always caught by failure_app

Hi! I have a project in which there are two kinds of user and both of them are set up with devise. When the sing in fails for one kind of user (Pc), I wish to try if the credentials are correct for the other one (Tutor), since some Tutor users forget to use their specific login page. I created a custom failure app in which I recreate the call but for the other resource name. It works correctly if there is a user of type Tutor with the credentials. However, if the second attempt fails the failure app is not called again and the warden error is not caught.
I can't see why it would be called the first time but not the second. While debugging I have checked that warden.manager.config.failure_app keeps being my custom failure app through all the calls. Could anyone tell me if this is the expected behaviour? These are some key parts of the code:

class CustomFailureApp < Devise::FailureApp

  def respond
    if warden_options[:scope] == :pc && (warden_message == :invalid || warden_message == :not_found_in_database)
      params[:tutor] = params[:pc] # copy the credentials as if they were tutor credentials
      params.except!(:pc) # remove pc params
      flash.keep # it gets cleared otherwise, which leads to errors
      request.env["devise.mapping"] = Devise.mappings[:tutor]
      sessions_controller = SessionsController.new
      sessions_controller.request = request
      sessions_controller.response = response
      sessions_controller.process(:create)
    else
      super
    end
  end

#... other unrelated code

config.warden do |manager|
    manager.failure_app = CustomFailureApp
  end

What I observed is that in proxy.rb, in:
   def authenticate!(*args)
      user, opts = _perform_authentication(*args)
      throw(:warden, opts) unless user
      user
    end

the first time, CustomFailureApp is called after  throw(:warden, opts) unless user but on the second time it is not, it continues and leads to some other errors related to user being nil here
If you think this is the expected behaviour an I should rather post this somewhere else like stackoverflow please say so.
Edit: I did post in on stackoverflow as well (https://stackoverflow.com/questions/66866653/throw-warden-not-always-caught-by-failure-app)
Thanks!

more context: https://github.com/rails/rails/issues/25581#issuecomment-229626256
# Also handle the unauthenticated cases where warden would throw a
# :warden symbol, but it would cause an exception because the live
# controller runs in a separate thread and only propagates exceptions.
# There is currently no way to proparate throws through the Thread
# boundary.
#
# To handle this situation, we detect an ArgumentError caused by
# an uncaught throw by warden, then we rethrow the :warden symbol
# without any parameters. This will cause the appropriate warden
# handlers to run. Note that custom actions or any other parameters
# to throw :warden are lost.
#
# https://github.com/hassox/warden/wiki/Failures
# https://bugs.ruby-lang.org/issues/6372
# https://github.com/plataformatec/devise/issues/2332
# https://github.com/rails/rails/issues/13873

Here’s what I found related to this issue:
When a request is made to a controller that includes the ActionController::Live module, it is processed through the process method of the ActionController::Live module. This method overrides the process method in ActionController::Base.
The problem arises because the ActionController::Live#process method creates an additional thread. The existing thread is responsible for streaming the response, while the new thread handles the action.
If an exception is raised in the new thread, it is configured to also raise the same exception in the parent thread.
However, the devise-security gem transfers control to the previous stack not by raising an exception, but by throwing an error. When a throw occurs, it passes a specific token that is supposed to be caught by the corresponding stack. The issue seems to be that the thread that throws (child thread) and the thread that catches (parent thread) are different, leading to the UncaughtThrowError (uncaught throw :warden) error.
As a reference, a similar issue was raised in the Rails repository, but it was closed with a comment stating that having different gems throw/catch each other is a violation of the Rack spec.


Authentication bloc

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
#661
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer

Authentication bloc and is created and logic from biomtric auth is included in VerificationBloc (before called PasscodeBloc).
Onboarding flow is verified.
flow with passcode verified
flow without passcode verified
Enable/disable passcode security verified.

👯♀ Paired with
"nobody"

I know it reached the limit of 500 lines but I needed to test all the authentication flows.

I didnt review in details, and wont have time to do so. Approving and hoping its all good

This Pr is massive. I know sometimes its easy to get carried away and just keep working on a PR>
Thats why its important to stop, take a sec before you start and thing about different ways to split the code before starting on it.

Yes I know I should but being connected and already advanced I had to upload the whole flow(auth, verification) I also did the tests.


Pixel to point correspondances with renderer

Hi, can the renderer provide correspondences between pixels on a rendered image and the points on the CAD model?

The renderer does not provide it directly but you can create a function to have from the depth map and object poses (first flip the depth into 3D point cloud (in camera coordinate) then transform them into the object coordinate)


json2tsv: 1.1 -> 1.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/json2tsv/versions.
meta.description for json2tsv is: JSON to TSV converter
meta.homepage for json2tsv is: https://codemadness.org/json2tsv.html
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2 in filename of file in /nix/store/fylmddp3mf7fkby2qyyh3s8ykh2f0rzc-json2tsv-1.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

json2tsv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fylmddp3mf7fkby2qyyh3s8ykh2f0rzc-json2tsv-1.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A json2tsv https://github.com/r-ryantm/nixpkgs/archive/105ecf30356455c10b9a9a080ce2637415256dc9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/105ecf30356455c10b9a9a080ce2637415256dc9#json2tsv

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fylmddp3mf7fkby2qyyh3s8ykh2f0rzc-json2tsv-1.2
ls -la /nix/store/fylmddp3mf7fkby2qyyh3s8ykh2f0rzc-json2tsv-1.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

json2tsv

Maintainer pings
cc @sikmir for testing.

Result of nixpkgs-review pr 332602 run on x86_64-darwin 1

1 package built:

json2tsv


Error starting gunicorn.service on VM Running Oracle Linux 8.9

Hello, I am working through setting up OKIT on a new Oracle Linux 8.9-2024.02.26-0 VM on Oracle Cloud Infrastructure.
I am following the Native Oracle Linux install instructions running as root (OKIT installed in root directory), with the OCI CLI configured and tested (config & keys stored in root).
After following all of the steps listed in the instructions (using http), checking the status sudo systemctl status gunicorn.service initially shows as active and running, but after a few seconds, the process exits due to a failure in some Python code farther up the chain.
Mar 26 21:06:24 okitdemo gunicorn[9276]:   File "/usr/local/lib/python3.6/site-packages/git/__init__.py", line 8, in <module>
Mar 26 21:06:24 okitdemo gunicorn[9276]:     from git.exc import *                       # @NoMove @IgnorePep8
Mar 26 21:06:24 okitdemo gunicorn[9276]:   File "/usr/local/lib/python3.6/site-packages/git/exc.py", line 10, in <module>
Mar 26 21:06:24 okitdemo gunicorn[9276]:     from git.compat import safe_decode
Mar 26 21:06:24 okitdemo gunicorn[9276]:   File "/usr/local/lib/python3.6/site-packages/git/compat.py", line 32, in <module>
Mar 26 21:06:24 okitdemo gunicorn[9276]:     from git.types import TBD
Mar 26 21:06:24 okitdemo gunicorn[9276]:   File "/usr/local/lib/python3.6/site-packages/git/types.py", line 12, in <module>
Mar 26 21:06:24 okitdemo gunicorn[9276]:     from typing_extensions import Final, Literal, SupportsIndex
Mar 26 21:06:24 okitdemo gunicorn[9276]: ImportError: cannot import name 'SupportsIndex'
Mar 26 21:06:24 okitdemo gunicorn[9276]: [2024-03-26 21:06:24 +0000] [9276] [INFO] Worker exiting (pid: 9276)
[root@okitdemo ~]# sudo systemctl status gunicorn.service
● gunicorn.service - gunicorn daemon
   Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2024-03-26 21:06:25 GMT; 771ms ago
  Process: 9269 ExecStart=/usr/local/bin/gunicorn okitweb.wsgi:app --config /okit/config/gunicorn_http.py (code=exited, status=3)
 Main PID: 9269 (code=exited, status=3)

Mar 26 21:06:24 okitdemo gunicorn[9276]: ImportError: cannot import name 'SupportsIndex'
Mar 26 21:06:24 okitdemo gunicorn[9276]: [2024-03-26 21:06:24 +0000] [9276] [INFO] Worker exiting (pid: 9276)
Mar 26 21:06:25 okitdemo gunicorn[9269]: [2024-03-26 21:06:25 +0000] [9269] [ERROR] Worker (pid:9274) exited with code 3
Mar 26 21:06:25 okitdemo gunicorn[9269]: [2024-03-26 21:06:25 +0000] [9269] [ERROR] Worker (pid:9276) was sent SIGTERM!
Mar 26 21:06:25 okitdemo gunicorn[9269]: [2024-03-26 21:06:25 +0000] [9269] [ERROR] Worker (pid:9272) was sent SIGTERM!
Mar 26 21:06:25 okitdemo gunicorn[9269]: [2024-03-26 21:06:25 +0000] [9269] [ERROR] Worker (pid:9273) was sent SIGTERM!
Mar 26 21:06:25 okitdemo gunicorn[9269]: [2024-03-26 21:06:25 +0000] [9269] [ERROR] Shutting down: Master
Mar 26 21:06:25 okitdemo gunicorn[9269]: [2024-03-26 21:06:25 +0000] [9269] [ERROR] Reason: Worker failed to boot.
Mar 26 21:06:25 okitdemo systemd[1]: gunicorn.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Mar 26 21:06:25 okitdemo systemd[1]: gunicorn.service: Failed with result 'exit-code'.

In /usr/local/lib/python3.6/site-packages/git/types.py
import os
import sys
from typing import Union, Any

if sys.version_info[:2] >= (3, 8):
    from typing import Final, Literal, SupportsIndex  # noqa: F401
else:
    from typing_extensions import Final, Literal, SupportsIndex

if sys.version_info[:2] < (3, 9):
    # Python >= 3.6, < 3.9
    PathLike = Union[str, os.PathLike]
elif sys.version_info[:2] >= (3, 9):
    # os.PathLike only becomes subscriptable from Python 3.9 onwards
    PathLike = Union[str, 'os.PathLike[str]']  # forward ref as pylance complains unless editing with py3.9+

TBD = Any

Lit_config_levels = Literal['system', 'global', 'user', 'repository']

python --version = Python 3.6.8
It seems the file is already checking for Python Versioning for this library, and only fails on the last import for 'SupportsIndex', not any of the previous from the same typing_extensions.
I can't seem to get a good idea of where to go from here, I've rebooted the instance, and that had no impact. Any help / guidance on this would be appreciated.
Thank you

@DanielBatesJ Can you try updating to a later release of python.

I am having the exact same issue. I upgraded python as suggested above and got the same result.

@jlirette1 What version of python have you upgraded to. Looks like SupportsIndex was only added in 3.8. Also you'll need to make sure that your upgraded version of python marked as the default.

Marking as default fixed my problem. Thanks


Cookie updates

This moves all our cookies to be set with the Secure and HttpOnly flags (previously the JSESSIONID was not, nor were local dev cookies), and sets SameSite=Strict on all the cookies (previous we were implicitly using SameSite=Lax in modern browsers).
I think this is fine; the difference between Lax (what we have been implicitly using before now) and Strict is about top-level navigations and third-party triggered GET requests.
We don't use any cookies on the very-top-level GET; that goes to the frontend which is stateless.
I also do not think that third-party origins should be making authenticated GET requests (our CORS would stop the response being used in most cases anyhow), so that should also be safe.
The SameSite attribute is supported on all the browsers we care about.
If this breaks, moving to SAME_SITE_LAX_COMMENT is the next one to try.
This change to web-api-local.xml may break local development using Safari, if it still does not do the sensible thing Chrome and Firefox do by allowing insecure "Secure" cookie to be set on localhost origins. It won't affect the live sites at all, and if we really need to test something in Safari it's straightforward to remove temporarily.

Let's discuss whether we need to add a comment, and if the comment would help a developer more than just the DevTools warning would, later.


Updated angular-odata-resources definitions

Updated angular-odata-resources definitions to have support count and inlinecount.
Updated count return type from any to ICountResult
Also added tests.

@devnixs thanks mate!


Telework: Email message to manager for sign-off

This ticket relates to closed ticket #199 -
At May 25 scrum, we decided the email language was acceptable an further programmatic work required (outlined below) could be consider as phase 2 work or if specifically requested by form owner
User story: As a manager receiving the email from my employee with a request to review and approve my Telework agreement, I would like to see the following direction/language in the email:
PLEASE UPDATE THE CURRENT EMAIL TEXT WITH THE FOLLOWING
Hello (manager's name),
A new Telework Agreement has been submitted by Meghan Stothers (meghan.stothers@gov.bc.ca).
Please review this submission in the Manager/Supervisor Sign-Off section of the Agreement at https://digital-journeys-test.apps.silver.devops.gov.bc.ca/task/9d327b61-b203-11ec-b8d0-0a580a61197b to complete and submit this form.
*If this request is for 3 or more Telework days, you must get approval from your ADM or delegate.
Thank you.
Issue#198 in dev board- currently in sprint backlog
This ticket will be considered done when the language has been updated and includes the programmatic work to:

embed the link into the manager's name
re-order the names (supervisor and employee) from Moffatt,Don to Don Moffat
link to the employee's unique submission/Telework form

I am getting a read-only flag on this code. Regardless, I am not sure it will work as it may insert the data before the javascript runs. This should change things from “Moffatt,Don” to “Don Moffatt” if it is working correctly. It is in the “Calculated Value” area of the Data tab on the Dev server copy. I left it there: currently it prevents the field from autofilling if you try to run it.

It is "Telework Agreement" (not one of the copies) and it is the "Employee Name" field.  Then Data > Calculated Field.

@DonMoffatt you can get the user' values from data and should set the final value in value to have it in effect. Users values are listed in here
Seems like we already have firstName and lastName, one way to do it is like below. Please make sure to wrap your logic in an if like below to make sure it only runs if there is user data (e.g., data.name, data.firstName and etc)
if (data.firstName && data.lastName) {
  value = firstName + " " + lastName;
}

I stripped this down to the following and got the results shown in the screen shot below:
value = (data.firstName + " " + data.lastName)

@DonMoffatt I just wanted to make the changes to the backed. Just wondering if all the names (returned from ODS) will be only first and last names and are separated by ,.  If someone has a middle name, wouldn't our logic loses his middle name if it was separated by two commons (e.g, "Lastname, middleName, fristName). Let me know what you think and I can make the changes to the backend.

I think first name and last name with no comma between would be the preference. My first name is John (second Donald) but if it came us a John Moffatt I would have no objection as I see that so often on legal documents. However, seeing it as "John, Moffatt" would look odd.

@DonMoffatt I merged the firstName and lastName of the employee and sent it as displayName to the TOOL to address the issue you found. Once my PR is deployed you can change the API name of that field from name to displayName to get firstName + lastName.
Please note, that name comes directly from ODS. I did not change that since I don't know the logic/format ODS uses to calculate it. It's better we don't mess with it or let ODS know to change the format to our preference. In the meantime, the displayName should work.

Hi @iman-jamali-fw . I chatted with @Stella-Archer  about that and we think you should go ahead and implement it.  Please let me know when it is deployed and I will change the variable for that field in the API.

@DonMoffatt it's deployed. Can you please check to see if you get value if you set the API name as displayName?

It works! Well done. We will do a bit more testing but I would say this is done.


It does not convert numbered items

Your code does not convert numbered items in lists.
An example:

bla bla bla bla
bla bla bla bla

Are converted in:
bla bla bla bla
bla bla bla bla

Hi,
I too faced the same issues mentioned by robo3945.
Also I we should add the code to extract the endnotes.xml & footnotes.xml . Similar to the header and footer*.xml

I will try to work on this feature but feel free to send a pull request too.

Yes this would be super, super useful if we could extract bullets/numbered lists specifically!

Hi..Somebody have any update on this issue. Still I am not able to extract bullets/numbered lists

Hi...?
Is anybody here...?

I have a fork that converts bullets and numbers in docx to plain text.
https://github.com/ShayHill/docx2python
To get something close to python-docx2txt output:
pip install docx2python
text = docx2python('path/to/file.docx').text

@ShayHill
very good, thank you

@ShayHill
Is there is option to not to convert hyper links to a tag? I just need the text.

There is not, though this might be accomplished post-conversion with re.sub:
re.sub(r'<a href=".*?">(.*?)<a/>', r"\1", text)

very good, thanks
but it's  not  😅😅


fix(forge): remove (u)int bits suffix from parse cheatcodes

Motivation
the envInt and envUint cheats have been around for longer and don't have the explicit bits suffix, so we should probably be consistent with that

@mattsse yeah i didn't notice it lol


httponly flag remember_device

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

Looks like Travis is having some issues. I need to update these tests anyway (and the version of rails we test against). Will see if I can sort this out soon.


Release of version <IP_ADDRESS> of xCertificate

Releasing version <IP_ADDRESS>

This change is

Closing and re-opening to try to get GitHub to pull in the latest commit with the release updates


Ian's Flask routing PR

This properly represents the diffs found in this PR, until we can merge the auth stuff: https://github.com/CCI-MOC/haas/pull/541

Good idea. Would like to stress the importance of getting #491 merged soon though; I just fixed some more merge conflicts (fortunately trivial) with something else you merged.

(Also, the same fixes have gone into my branch, so you'll probably want to update).
It should actually be possible for you to submit a pr from my branch; that way you won't have to keep updating.


CONNECTION ERROR

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

| INFORMATION     2024-02-12 18:08:12   Launched 2b2t constructor
| ERROR           2024-02-12 18:08:13   Disconnected: {"color":"red","text":"You are already connected to this proxy!"}
| ERROR           2024-02-12 18:08:13   Disconnected: socketClosed
| ERROR           2024-02-12 18:08:22   Unable to get queue position
| ERROR           2024-02-12 18:08:32   Unable to get queue position

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Ok, I resolved it, i had to leave server first.


not setted insertId when call stored procedure

this is result of calling of stored procedure
{ fieldCount: 0,
  affectedRows: 1,
  insertId: 0,
  serverStatus: 2,
  warningCount: 0,
  message: '',
  protocol41: true,
  changedRows: 0 }

and blow is calling query directly
{ fieldCount: 0,
  affectedRows: 1,
  insertId: 912,
  serverStatus: 2,
  warningCount: 0,
  message: '',
  protocol41: true,
  changedRows: 0 }

when i use stored procedure, insertId field is not setted.
how can i handle it?

This is just how MySQL works. You will need to do a second SELECT LAST_INSERT_ID(). You can either add that in your sproc and out an out variable, or manually call that after the stored procedure.


Use gulp-git instead of commands

https://github.com/stevelacy/gulp-git

Fixed in https://github.com/eramdam/gulp-task-commit-emoji/commit/640be985c7c368b74665c0d9ab0b467084e17e33 and https://github.com/eramdam/gulp-task-commit-emoji/commit/da3f605d093527e46f4b54e54bb60e47eab7c597 :tada: :boom:


How to make scrollview work when working on Universal (Adaptive Layout)?

I am experiencing like scroll images are bouncing when I add scrollview to my project.Please take a look
But,when i disable Extend Edges (Under Top Bar and Under Button Bar) scroll work fine(No image bouncing).
Is there any way to work under Navigation bar and tab view?Please Take a look

And for my storyboard
http://puu.sh/mwdSR/7a14fee591.png
Did I do anything wrong?Please Help?

I will be waiting for that bug fix m8,Thanks.

Any help pls?I have been waiting for that?Or should I use it by disabling extend edges on storyboard viewcontroller?

Could you please check if this issue is still present?


Can you show/hide xAxis area category items?

hi!!!
I use bar charts and I have a question about a few issues.
I want to hide/show x items according to a custom event. Is there an API that supports it?
If not, can you tell me how to implement it?
- before

- after

Afaik not, you will need to keep them in memory for your own if you want to show them later and then replace those values by null values in the data array so they dont show anymore

If I understand correctly, you can use the scale min/max to limit what range is displayed.


[FEATURE REQUEST] Inflow/Outflow Daily Granularity

Is your feature request related to a problem? Please describe.
I still look to Personal Capital for a few visualizations which could be made available within the YNAB toolkit. They all relate to the Inflow/Outflow section of the toolkit currently and is a simple modification to it's presentation.
Describe the solution you'd like
The 3 visualizations that could be incorporated into the toolkit are:

MTD Cash Flow at the daily granularity compared to selected month
Cumulative inflow at the daily granularity compared to selected month
Cumulative outflow at the daily granularity compared to selected month

Being able to select a comparison month would be an improvement on the presentation from Personal Capital which defaults you to the prior month. Say you want to budget to save 1k a month, you successfully manage to save 1k and can use that month as the comparison month against your current MTD income/outflow pace.
Describe alternatives you've considered
My alternative is to continue using Personal capital for these visualizations
Additional context

I believe this is a toolkit report that someone created recently that shows a daily? outflow? Is that close to what you want?
https://github.com/toolkit-for-ynab/toolkit-for-ynab/pull/2807

@saxtonjoshua1 awesome yeah that definitely covers the cumulative outflow. Adding the same functionality for inflow as well as the combined net cashflow would meet all the criteria of my request.

This was recently merged into the main branch and I know the maintainers ran into a problem with types when building the latest version of the toolkit. I can see if I can build off it somehow I guess
Josh Saxton

From: twilio-taylorferguson @.>
Sent: Tuesday, November 22, 2022 2:42:37 PM
To: toolkit-for-ynab/toolkit-for-ynab @.>
Cc: Joshua Saxton @.>; Mention @.>
Subject: Re: [toolkit-for-ynab/toolkit-for-ynab] [FEATURE REQUEST] Inflow/Outflow Daily Granularity (Issue #3019)
@saxtonjoshua1https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsaxtonjoshua1&data=05|01||a8f1834bebb14d6e856508daccc1b5e0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638047429596012196|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=p4FwV42pLNi5bGT4itzGh4nYIwut5StPxGUXDH3CxHY%3D&reserved=0 awesome yeah that definitely covers the cumulative outflow. Adding the same functionality for inflow as well as the combined net cashflow would meet all the criteria of my request.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftoolkit-for-ynab%2Ftoolkit-for-ynab%2Fissues%2F3019%23issuecomment-1324157616&data=05|01||a8f1834bebb14d6e856508daccc1b5e0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638047429596012196|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xsUS5812F%2F%2B2ZQ8s0avRJFJcLKa5oyoZoOSU%2FWt4dYM%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABCFY6ORKA4AATTZT4E3UO3WJUO23ANCNFSM6AAAAAASICNJKE&data=05|01||a8f1834bebb14d6e856508daccc1b5e0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638047429596012196|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Gej8XhjgEUQTDbWJ4u4rCAy0gxQNt8Y8uI%2FbXDX4a78%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@saxtonjoshua1 I just rebased my branch against main, and it builds just fine! :)


RESEARCH: This is a MERN App, we need to understand how Mongo interacts with Express, React, and Node to create a fluid full stack app!

working on today 11-22-21


setup size-plugin-bot

Items:

[x] Add rollup plugin rollup-plugin-size
[x] Add configuration file(.github/size-plugin.yml) for size-plugin 🤖
[x] Install Github App  👈@tannerlinsley

@tannerlinsley, test command is failing. do we have tests in this repo?

No, not yet :/
Tanner Linsley
On Dec 3, 2019, 10:15 AM -0700, anotherjsguy<EMAIL_ADDRESS>wrote:

@tannerlinsley, test command is failing. do we have tests in this repo?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Change --salt-palette-neutral-backdrop value

In light mode change --salt-palette-neutral-backdrop value from --color-black to color-white
### Tasks
- [x] Change value in Figma docs
- [x] Change value in Light mode figma library
- [x] Change in code

How do we communicate theme changes like this so we can correlate code and figma specs together ?

This has been resolved as part of #2571