Intellisense stopped working with a UnhandledPromiseRejectionWarning

This extension worked fine until last night, but today morning, when I try to use it, it doesn't give me Intellisense anymore.
Instead, I get the following in the debug console
UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at flattenColorPalette (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\util\flattenColorPalette.js:8:67)
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\plugins\caretColor.js:27:48
    at registerPlugins (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupContextUtils.js:487:7)
    at createContext (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupContextUtils.js:530:3)
    at getContext (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupContextUtils.js:591:17)
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupTrackingContext.js:177:57
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\processTailwindFeatures.js:54:7
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\index.js:25:56
    at LazyResult.runOnRoot (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\postcss\lib\lazy-result.js:339:16)
(Use `Code --trace-warnings ...` to show where the warning was created)
(node:12464) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:12464) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Option: `separator` forced to be set ':'.
(node:12464) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at flattenColorPalette (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\util\flattenColorPalette.js:8:67)
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\plugins\caretColor.js:27:48
    at registerPlugins (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupContextUtils.js:487:7)
    at createContext (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupContextUtils.js:530:3)
    at getContext (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupContextUtils.js:591:17)
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\lib\setupTrackingContext.js:177:57
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\processTailwindFeatures.js:54:7
    at c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\tailwindcss\lib\jit\index.js:25:56
    at LazyResult.runOnRoot (c:\Users\dave\.vscode\extensions\lightyen.tailwindcss-intellisense-twin-0.9.0\node_modules\postcss\lib\lazy-result.js:339:16)
(node:12464) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)

Any idea how I can get this fixed?

I have no idea, maybe you have a broken tailwind.config like this:
module.exports = {
  theme: {
    caretColor: null,
  },
}

Can you share your config file?

I cannot actually share the config because I'm working on a proprietary codebase. But I don't think anything could be wrong with that because the plugin was working till yesterday and we haven't made any changes to it in many days.
Is there any way I can find out where in the config file might be causing this?
Any way I can dive more deeper into this and debug it?

My team's twin.macro Intellisense stopped working recently too. Although it does still work when using the className props with the Tailwind CSS Intellisense extension.

(node:12164) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
    at Function.entries (<anonymous>)
    at flattenColorPalette (/home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/util/flattenColorPalette.js:8:67)
    at /home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/plugins/caretColor.js:27:48
    at registerPlugins (/home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/jit/lib/setupContextUtils.js:487:7)
    at createContext (/home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/jit/lib/setupContextUtils.js:530:3)
    at getContext (/home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/jit/lib/setupContextUtils.js:591:17)
    at /home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/jit/lib/setupTrackingContext.js:177:57
    at /home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/jit/processTailwindFeatures.js:54:7
    at /home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/tailwindcss/lib/jit/index.js:25:56
    at LazyResult.runOnRoot (/home/rozar/.vscode/extensions/lightyen.tailwindcss-intellisense-twin-0.9.0/node_modules/postcss/lib/lazy-result.js:339:16)
(node:12164) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 14)

With no change to the config file, Intellisense started working again.
I am closing this because it seems to be fixed. I'm guessing it had something to do with the latest release.
Thanks 🙏🏻

https://github.com/tailwindlabs/tailwindcss/commit/8ceedb2dd64b7e99f6a6de7f6fb68ac65d66d862


Webhooks + Local environment does not work

How do you handle webhooks in local environment?. Out of ignorance, I had never used webhooks like this.
Therefore, return responses will never fall and fire in the local environment.
(ngrok is not and option for free temp plan)

Hi @luissandrea. Was the https://github.com/lmsqueezy/laravel#webhooks section in the docs not clear about this? What are you missing from these docs to get started?

@luissandrea depending on what you're using to run Laravel locally, you might already have an easy way to do this baked in:

Using Valet:

# set sharing tool to either ngrok or expose
valet share-tool ngrok
valet share-tool expose

# create public url
valet share

see https://laravel.com/docs/valet#sharing-sites

Using Sail:

# create public url with expose
sail share

see https://laravel.com/docs/sail#sharing-your-site
@driesvints it might be a good idea to link directly to the 'Laravel way' of sharing sites (Valet & Sail) in the docs. Right now some people might think it's much more complicated than it actually is

Thank you @felixsc. Gonna wait on @luissandrea' answer.

Hey @felixsc, based on my understanding, ngrok implements a lock screen feature in its free plan. Consequently, would the application remain unaffected by this lock?.
Likewise, I will follow your instructions and provide feedback accordingly. 😉

I'm not sure what you mean by lock screen, could you explain that to me?
In general, what these tools will do is give you a public URL with a random subdomain where your project will be accessible from the public. This URL will be alive as long as you're running the tool in your command line. You then add this public URL as the webhook URL in Lemon Squeezy. So, any time you test a purchase on LS it will send the webhook to this URL, which behind the scenes gets routed to your local dev environment.
One difference between the free and paid plans is that on the free plans, you'll get a new random subdomain every time you run it. So you'll have to change the webhook URL each time. With the paid plans you'll get a fixed domain (or you can add a custom one) so you don't have to worry about changing the webhook each time.
Does that help?

Added an extra note about Sail and Valet in the docs: https://github.com/lmsqueezy/laravel/commit/00be4a43bc328cf10746c4340b1d6ce4a830055d
Thanks


remove usage of PeerCount type

Describe the feature
we only use PeerCount type here:
https://github.com/paradigmxyz/reth/blob/af85c133d165d7fcd46e44ed712bd2579d2433d8/crates/rpc/rpc/src/net.rs#L40-L40
we can get rid of this type and instead replace the response type to U64
ref https://github.com/alloy-rs/alloy/pull/1140#pullrequestreview-2233540222
Additional context
No response

👌🏻

@mvares @tcoratger already claimed this via alloy :)

@mvares @tcoratger already claimed this via alloy :)

yeah, I saw here 🔥


Configure FIL address via ENV vars + show it in WebUI

At startup, get the FIL address to use from the env vars, e.g. FIL_ADDRESS.
Modify the static HTML content served by /webui to show the address.
Abort with a descriptive error when no address was provided.

Context
As discussed with @bajtos and @patrickwoodhead on Slack, given Saturn L2 is currently loading the webui as an external dependency, sharing the FIL address config value (and any other future config values) will require us to have a standardized way to do so.
Decision
Having saturn-l2 expose an HTTP API seems like the sensible thing to do. There are, however, a few options in terms of API architecture that should be considered.
After checking the IPFS webui sister project, it can be seen it's using ipfs-http-client, which is its own HTTP RPC API client library (correct me if I'm wrong).
Following the same approach has the synergies of code reuse. However, this lib appears to be coupled to the IPFS use-case. Thus, making its usage less ideal and probably not the best fit.
To make an informed decision, we should consider any foreseeable future data flows. For instance, will we only ever expose/fetch discrete values or will we need want to vizualize more complex data? Is streaming an use-case?
Given this, here's a comparison of different approaches to expose an HTTP API to communicate with a browser frontend. I should note the general ideas behind this comparison came from here.
REST
The traditional solution which allows for a lot of flexibility in terms of implementation. It thrives in scenarios where API clients are unknown or where requirements are loose.
Flexibility is useful on the short-term but it builds entropy over time.
Given we control both ends of the contract (API client and server), a tighter integration could be beneficial in terms of enforcing expectations on both ends.
GraphQL
A declarative approach to empower clients to fetch their desired data fields without having the server-side implementation growing in terms of endpoint implementation complexity (as is the case with REST). It shines in product development use cases.
There are a couple of scenarios in which this could be useful:

Having multiple distinct data sources for a single client which need to be rendered in a single view

GraphQL can hide the integration details and provide a single concise view

Having multiple clients with different data field requirements for the same data source

GraphQL allows each client to independently query whatever fields they might require

Additionally, it allows fetching complex relational data models in a single request. However, we don’t have a relational data model and from my current understanding, it doesn't seem one would make sense.
Also, we're dealing with a 1-1 client to server mapping.
gRPC
It combines Google's lessons and knowledge in efficient remote communication for building complex distributed systems. It uses protobufs out of the box, which are a wire-efficient serialization protocol that enforces a data contract on both ends.
It uses code generation and features are dependent on the language implementation. It's a solid microservice solution.
It supports HTTP/2 transparently out of the box. It also has a bunch of more distributed system-oriented features (namely retries and deadline enforcement). It supports streaming use cases.
To run on a web browser, it requires https://github.com/grpc/grpc-web. This uses a modified protocol which doesn't use HTTP/2, but HTTP/1.1. This protocol change requires a conversion layer between regular grpc and grpc-web, which is probably overkill with our current use case.
json-rpc
A lightweight and simple RPC protocol meant to perform RPC calls using JSON. It is protocol agnostic meaning it can run over HTTP or WebSockets.
Library support exists, but it doesn't seem to be widely used. However, it is used by Ethereum clients.
This could be a way to have an RPC-like solution without the overhead associated with gRPC.
Consequences
Depending on the chosen solution, future use-cases might be more convoluted to implement.
Also, implementing a wholly new solution based on a tech which isn't used in other PL projects might add further external dependency complexity and skip the opportunity to reuse existing libraries and associated good practices. On the other hand, if the chosen solution is simple enough given the target use-case, it could be reasonable to do so.

Great write-up, @joaosa 💪🏻
Since we don't need RPC semantics and our data model is not relational, it seems to me that we should KISS and implement the API as REST. What are your thoughts?

Great write-up, @joaosa 💪🏻
Since we don't need RPC semantics and our data model is not relational, it seems to me that we should KISS and implement the API as REST. What are your thoughts?

Thank you @bajtos :)
Let's go for it. I agree it's the simplest solution given the current expectations.

I suppose this can be closed 👍 (provided we're not including the integration with the https://github.com/filecoin-project/saturn-webui here)


idamax.ndarray does not support negative strides

Description
Encountered an error when adding negative stride tests for lapack/base/dlacn2
Related Issues
Required for PR: #2790.
Questions
No.
Demo
No response
Reproduction
var idamax = require('@stdlib/blas/base/idamax');
var Float64Array = require( '@stdlib/array/float64' );
var X = new Float64Array( [ 4.0, 999.9, 999.9, 3.0, 999.9, 999.9, 2.0, 999.9, 999.9, 1.0 ] );
console.log( "idamax( N, X, strideX, offsetX ): ", idamax.ndarray( 4, X, -3, 9 ) );

Expected Results
% node a.js
idamax( N, X, strideX, offsetX ):  3

Actual Results
% node a.js
idamax( N, X, strideX, offsetX ):  -1

Version
latest main
Environments
Node.js
Browser Version
No response
Node.js / npm Version
v20.9.0
Platform
mac
Checklist

[X] Read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.

The following diff fixes ndarray implementation:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 8b9fd18fc9..48543ebcf3 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -49,7 +49,7 @@ function idamax( N, x, strideX, offsetX ) {
        var v;
        var i;

-       if ( N < 1 || strideX <= 0 ) {
+       if ( N < 1 ) {
                return -1;
        }
        idx = 0;
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 6a53cb7a07..926bbc9e6e 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -108,19 +108,17 @@ tape( 'if provided an `N` parameter equal to `1`, the function returns `0`', fun
        t.end();
 });

But to support ndarray.native implementation, we need to change C and Fortran signature to include offset parameter and this asks us to diverge from https://github.com/OpenMathLib/OpenBLAS/blob/develop/lapack-netlib/CBLAS/src/cblas_idamax.c.
int c_idamax( const int N, const double *X, const int strideX, const int offsetX )

integer function idamax( N, dx, stride, offset )

Not supporting negative strides is intentional, as this is what is supported by reference BLAS: https://www.netlib.org/lapack/explore-html/dd/d52/group__iamax_gacec03c5109f531c06b4fb301cf1a2d7a.html#gacec03c5109f531c06b4fb301cf1a2d7a.
If you need to use a negative stride, simply compute the offset of the last element and then flip the sign of the stride. For computing the max, iteration direction does not matter, as you are returning a scalar. In short, perform the workaround in code.

Exactly. Address the lack of negative stride support downstream, not upstream.

We do something similar in https://github.com/stdlib-js/stdlib/blob/153bb1aac042aeabffb18e0082ced6c3c66cbcdf/lib/node_modules/%40stdlib/blas/base/dsymv/lib/dsymv.js#L108.

okay, closing this then. Thank you for the clarification!

Opening with reference to talk on slack to support negative strides in JS implementation but not in C and Fortran.


BUG: Resizing panes is slow and doesn't really follow the mouse

If you are reporting a bug or requesting support, start here:
Bug or support request summary
This is my first time using Storybook with a project that I've been working on, but I wanted to resize the "knobs" pane and when I clicked then dragged the pane the divider did not move with my mouse. Instead, it just moved a couple of pixels. So I tried again, and again it only moved a couple of pixels at a time.
Steps to reproduce

visit https://nm123github.github.io/ebayui-core/
try to resize the "Knobs" pane to make it larger

https://www.useloom.com/share/e92710e1ae8b47d284b854ee88b3f747 (Sorta hard to follow when Loom doesn't follow my mouse after I click. But watch where my mouse ends up after I click and drag, way up the window)
Please specify which version of Storybook and optionally any affected addons that you're running

@storybook/react 4.0.0-alpha.11
@storybook/addon-something x.x.x

Affected platforms

Chrome for Mac

Screenshots / Screencast / Code Snippets (Optional)
https://www.useloom.com/share/e92710e1ae8b47d284b854ee88b3f747

Looks strange 🤔. In the latest alpha it does work very smooth:
https://storybooks-official.netlify.com/?selectedKind=Addons|Knobs.withKnobs&selectedStory=tweaks static values&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs

BTW, Isn't it a marko?

Yup.

@seangates, I've checked again your example (wanted to run a profiler on it), and it looks now fast. Did you find a fix in your code? Or did the upgrade help?

@igor-dv Thanks for looking into it! Yes, it works much better now.
BTW, that's not my project, but one that I'm affiliated with. I believe the developer did the update. Let me know if you want to do any further investigation. Otherwise, I'm closing this.


Sails.js and skipper-disk maxBytes

Hello folks.
So to override the maxBytes for file upload I have this in my sailsjs api that handles uploads
Sails 0.12.13
req.file('file').upload({
          maxBytes: 250000000,
          dirname: path.resolve(writeRoot, 'data'),
          saveAs: writeRoot + "data/" + req.body.app_page + ".csv"

          },
          function (err, uploadedFiles) {
            console.log('This Error',err);
            if (err) return res.negotiate(err);
            //console.log('uploadedFiles',uploadedFiles);
            return res.json({
                              message: uploadedFiles.length + ' file(s) uploaded successfully!'
                            });
    });

It works on local dev fine for uploading 5 - 50 and 100mb csv files but once up on production I get the Entity too large 413 error after it reaches 100% progress.
I logged into out production server to poke around and look for possible production settings but didn't fond anything that stood out  but I could not be looking for the right things.
Anyone have any insight?

Maybe ignore?
Folks that maintain production got back to me and there was a separate max limit on the server


Gate: Request Cleaning for BPN Update

When business partner information in the BPDM Pool has been updated, Gates which have matching business partners need those business partners to be updated as well. Therefore, Gates poll the BPN changelog of the Pool and check for updates on BPNs.
Check whether business partner update needed
For a BPN update the Gate will request a cleaning to the orchestrator for business partners if two conditions are fulfilled:

The business partner has an associated BPN matching the updated BPN
The BPN update's timestamp is newer than the business partner's timestamp

Request cleaning
If the business partner needs to be cleaned, the Gate should request a cleaning from the orchestrator. The request should be in mode NoChanges and the output  data needs to be put as the business partner data to clean.
Tasks

[ ] Poll Pool BPN Changelog for new changes
[ ] Create cleaning task for business partners with Golden record updates (see #431)

Dependencies
#429

In order to create the polling the Gate needs to remember the last time the changelog has been polled. This can be analogous to how the Pool does its sync with the Opensearch:
https://github.com/eclipse-tractusx/bpdm/blob/main/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/entity/SyncRecord.kt
https://github.com/eclipse-tractusx/bpdm/blob/main/bpdm-pool/src/main/kotlin/org/eclipse/tractusx/bpdm/pool/component/opensearch/impl/service/OpenSearchSyncStarterService.kt

This issue handles the second use case in the orchestration layer: https://github.com/eclipse-tractusx/bpdm/issues/455#issuecomment-1717272993

For now checking the timestamp is not needed. This would mean that the Gate which was responsible for causing the Pool Changelog Entry will also start this new request.


ptyxis: 46.3 -> 46.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ptyxis/versions.
meta.description for ptyxis is: Terminal for GNOME with first-class support for containers
meta.homepage for ptyxis is: https://gitlab.gnome.org/chergert/ptyxis
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 46.4 with grep in /nix/store/zg5lqj60f4l6qgnkhqn8fx7zqcqc6niy-ptyxis-46.4
found 46.4 in filename of file in /nix/store/zg5lqj60f4l6qgnkhqn8fx7zqcqc6niy-ptyxis-46.4

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

ptyxis

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/zg5lqj60f4l6qgnkhqn8fx7zqcqc6niy-ptyxis-46.4 \
  --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 ptyxis https://github.com/r-ryantm/nixpkgs/archive/57c9979e71555b2502dfae90e7a2548664519270.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/57c9979e71555b2502dfae90e7a2548664519270#ptyxis

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/zg5lqj60f4l6qgnkhqn8fx7zqcqc6niy-ptyxis-46.4
ls -la /nix/store/zg5lqj60f4l6qgnkhqn8fx7zqcqc6niy-ptyxis-46.4/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:

ptyxis

Maintainer pings
cc @Aleksanaa for testing.

Looks okay


[Merge] MONDO:0044652	optic atrophy-peripheral neuropathy-developmental delay syndrome

Mondo term (ID and Label)
MONDO:0044652	optic atrophy-peripheral neuropathy-developmental delay syndrome
Reason for deprecation
duplicate
Term to be merged with
MONDO:0014958	Harel-Yoon syndrome

related to #2939

sh run.sh owltools --use-catalog mondo-edit.obo --obsolete-replace MONDO:0044652 MONDO:0014958 -o -f obo mondo-edit.obo


External crate is gcc, not cc

I couldn't get the examples to work with extern crate cc;, but the gcc crate seemed to do the job. I also added instructions for how to make that package available.
I'm not certain this is the intended crate, though. If that's not the case, I'd be interested to know what cc crate is intended.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @wycats (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks for the PR! Currently this example is intended to be mostly a placeholder, however, and isn't meant to represent the actual gcc crate on crates.io (hence the hand-wavy comment at the end).

Thanks for the feedback, @alexcrichton . It wasn't clear to me that this example was not meant to compile.


Please release one stable version with all the fixes which are pending in PR.

I think most of the code is getting fixed on daily basis so how can I get that latest fixes in my current code, and once you release that how can I upgrade my code to that?

If you don't mind some half-work. Try
git clone this-repo
git checkout develop
npm link

then your global generator-material-app will link to this local project

sure, I will try this and let you know!!

Duplicate of #66


(fix) Self is not available in non-browser env

Fixes #1612
Adds +11B ☹

Coverage remained the same at 100.0% when pulling 36d4186f9f17b5eb2245002e91810a54d61f9726 on bug/fix-self-ref-for-non-browser into b1a1956a9749a74fe57039f4fffc0680b2ac46a9 on master.

I had another look into the original motivation for the change to avoid doing nameLower in dom. It looks like there is an inconsistency between Safari, Firefox and Chrome here. This evaluates to true. in Safari and Firefox but false in Chrome:
'onanimationend' in document.body

I wonder whether this is simply not specced or if it is, which browser is incorrect.

Just a wild thought: Would we break any common use cases if the code just always lower-cased all event names and required consumers to manually attach event listeners if they wanted to listen for a non-lower-cased event?

@robertknight that's what Preact used to do. It breaks a few native DOM events, and also makes using Custom Elements really cumbersome. It was responsible for all of our failing tests on custom-elements-everywhere.com

The spec for defaultView notes that it can be null.  For example:
var parser = new DOMParser();
var doc = parser.parseFromString('<b>foo</b>', 'text/html');
doc.defaultView // null

Are there any other cases where this might happen that folks can think of?
It won't be null in the normal case of rendering into a browser, and it should be fine in JSDOM which was the problem with self. You could have something like the following as a fallback:
eventName in (dom.ownerDocument.defaultView || dom)

I filed an upstream issue in Chrome to get some input on the inconsistency between browsers: https://bugs.chromium.org/p/chromium/issues/detail?id=961193&can=1&q=ontransitionend

This is likely to regress event handler performance by 10-20%:

https://esbench.com/bench/5cd8af874cd7e6009ef623fd


Way to use MNI Pediatric Template?

I was wondering if there is a way to use MNI Pediatric template, like how --infant option can be used to use the MNI infant template instead of the adult template.
Is there a way to do this in QSIPREP? (for example, by changing the json files?)
Thank you!

Hi Danny,
I suggest using --dwi-only and doing all your infant-specific anatomical work outside of qsiprep. The T1w-based registration is good for getting gray matter atlases into alignment with the DWIs, but is not great for lining up white matter structures. I'd suggest using DSI Studio or MRtrix3 to register the DWI data directly to a template

Thank you for the response!
Is my understanding correct that you are suggesting:

Run freesurfer with MNI Pediatric template by itself (not using QSIPREP)
Run preprocess only dwi by using dwi-only
Use the results of the previous #2 step and register the dwi image to the preprocessed results of the #1 step.
Use the "registered" dwi image (and the freesurfer outcomes from step1) as the inputs for qsiprep recon-only

(Sorry for asking, as I am not adept at MRI preprocessing, so wanted to make sure if my understanding was right!)

I want to add to this:
I'm using the --infant flag for preprocessing WITHOUT the --dwi-only flag (due to this issue).
However, it seems that QSIprep doesn't recognize the flag properly as the transforms in the sub/anat directory are named "...from-MNI152NLin2009cAsym_to-T1w..."

Thank you for your comment @scchueler !  do you mean that you preprocess T1w separately (perhaps using infant recon all), then provide them as inputs to QSIPREP for dwi preprocessing while doing --infant and --dwi-only?

If possible, could you share the command that you used to do this? I am trying to do something like what you said because some of our subjects are 0~2 years old so conventional skull stripping fails, but I can't get the QSIPREP to take in a pre-done freesurfer result as input

You should have no trouble skull stripping in recent versions. We've switched to synthstrip


Create dagster.yaml

Hi @edgBR - Updating this as we exclude "solo" or non-business tiers from the base pricing list and the PR lacks the SSO tier pricing.


Error when upgrading to version 2.0.0

I started using your project recently and I installed the new version today, but I get this error when rendering the component.
Uncaught TypeError: combine is not a function

It is happening with version 2.0.0 and 2.1.0. So I believe the issue was probably introduced with the react-markdown update.
I tried downgraded to version 1.0.9 and it is working ok.

@Timunas May be caused by this reason: https://github.com/webpack/webpack/issues/4742

@Timunas https://github.com/remarkjs/react-markdown/issues/518

@jaywcjlove I updated to 2.1.1. And now it is working fine.


Godot 3.2 C#: failed to build project solution

Godot version:
Godot 3.2
OS/device including version:
macOS Mojave 10.14.5
Issue description:
When I click to build/run, a build error modal pops up, saying: failed to build project solution.
Steps to reproduce:
I cannot remember the steps, but here is what I did in general:

add some builtin meshes
playing around spatial and shader materials (during the process, it builds successfully)
add a C# script for some object (the script file name is in Chinese, no editing at all)
the issue comes
delete the script, the issue remains
Minimal reproduction project:
Godot.zip

I'm not entirely sure how you got your project into the state, but the csproj references wall.cs which isn't included in your source. This is probably why it isn't compiling for you.

As I said,
I created a script (the script file name is in Chinese, no editing at all; and then I rename it in wall.cs)
And then I deleted the script.
All those operations(rename and delete) are done in Godot.

If you did a file rename then it's likely a duplicate of #12917.
I'm afraid Godot is still a little buggy when keeping csproj files in sync. I end up editing them manually when I've done a file rename.

I see.
But now I removed those references of cs script from csproj file (by an external editor), it still did not build.

Does any C# project work on your system, such as the demo projects? Do you have Mono installed?

@aaronfranke  I just installed godot_mono.

What is the actual build error? It should be shown in the debugger when you over the "callback failed" message.
If it refers to missing .NET Framework 4.7, be sure to install that.

If it refers to missing .NET Framework 4.7, be sure to install that.

Well, they're on Mac, so I doubt they could install a Windows-only library.

¯_(ツ)_/¯
.NET ecosystem naming is a mess.

@akien-mga No, there is no useful message.
Installing mono solves the issue.
I thought godot_mono contains mono by itself.
So maybe there should be a note for godot_mono on the downloading page.

@zwz There is a note:

However, you are not the only person who has had this issue. I help several people each week on Discord set up Godot with Mono, and the issue is usually because they don't have Mono installed, or they are using and outdated version of Mono. @akien-mga Please check your Discord DMs, this needs to be made more obvious somehow, far too many people are missing the requirements.

Maybe still an issue.
After I removed all the c# scripts (and references from csproj file by an external editor), it should build. Shouldn't it?

@zwz The minimal reproduction project you posted does contain entries in the csproj file.
Also, I highly recommend that you use ASCII characters for file names. Your project didn't unzip properly on my system since it changed 地面.tscn into å°é¢.tscn. If you are making a game in another language, consider leaving all of the files and code in ASCII characters and then just having the in-game text in that language.

Thank you for your file naming suggestion.
What I mean is that after I remove all the references from csproj file, it should build even if mono sdk is not installed, right?

If you are using the Mono version of Godot, and the project has a C# solution generated, then you need to have Mono/etc installed in order for it to run. This is expected behavior.
If you don't wish to use C# in your project, you can either delete all of the C# files, or open the project with a non-Mono version of Godot, which will ignore the C# solution file. Really, if you don't wish to have Mono/etc installed, you should just use the non-Mono version since it doesn't require Mono.
I will close this since it's not a Godot bug. It is possible that some things can be made clearer, like on the website, but the Godot developers are already aware of this kind of thing and there's not really any specific actionable proposals listed here.


Hybridization generates superfluous backward ops that may induce storage fallbacks

Description
Hybridizing creates superfluous backward ops in some conditions. This is bad, as these ops may consequently trigger a storage fallback. In the example below, no gradient for csr is requested. Still operator = _backward_square is generated and consequently a storage fallback occurs.
Note that this example works without storage fallback in the imperative and symbolic API (for imperative, just remove hybridize. For symbolic, see https://github.com/apache/incubator-mxnet/blob/master/example/sparse/factorization_machine/model.py#L39 )
Environment info (Required)
mxnet
----------Python Info----------
Version      : 3.6.6
Compiler     : GCC 8.2.0
Build        : ('default', 'Oct 13 2018 05:47:55')
Arch         : ('64bit', 'ELF')
------------Pip Info-----------
Version      : 10.0.0.dev0
Directory    : /home/leonard/software/pip/src/pip
----------MXNet Info-----------
/home/leonard/.local/lib64/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Version      : 1.3.1
Directory    : /home/leonard/.local/lib64/python3.6/site-packages/mxnet
Commit Hash   : 0bea50ec201d19cf393a2dce37d9a6b1625be144
----------System Info----------
Platform<EMAIL_ADDRESS>system       : Linux
node         : leonard-xps13
release      : 4.19.0-gentoo
version      : #4 SMP Sun Oct 28 09:21:38 UTC 2018
----------Hardware Info----------
machine      : x86_64
processor    : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               142
Model name:          Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Stepping:            9
CPU MHz:             3499.226
CPU max MHz:         3500.0000
CPU min MHz:         400.0000
BogoMIPS:            5808.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            4096K
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0133 sec, LOAD: 1.3410 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.1139 sec, LOAD: 0.2640 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.2299 sec, LOAD: 0.8850 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0157 sec, LOAD: 1.0251 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0164 sec, LOAD: 1.1068 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0497 sec, LOAD: 2.2623 sec.

Package used: Python
Error Message:
[07:31:15] src/operator/tensor/././../../common/utils.h:450:
Storage type fallback detected:
operator = _backward_square
input storage types = [default, csr, ]
output storage types = [default, ]
params = {}
context.dev_mask = cpu
The operator with default storage type will be dispatched for execution. You're seeing this warning message because the operator above is unable to process the given ndarrays with specified storage types, context and parameter. Temporary dense ndarrays are generated in order to execute the operator. This does not affect the correctness of the programme. You can set environment variable MXNET_STORAGE_FALLBACK_LOG_VERBOSE to 0 to suppress this warning.
[[0. 0.]
 [0. 0.]]

Minimum reproducible example
import mxnet as mx

dns = mx.nd.array([[0, 0], [1, 2], [0, 0], [3, 4], [0, 0]])
rsp = dns.tostype('row_sparse')
csr = mx.nd.sparse.csr_matrix(mx.nd.zeros(shape=(2, 5)))

class Net(mx.gluon.HybridBlock):
    def hybrid_forward(self, F, csr, rsp):
        csr = csr.square()
        return F.dot(csr.square(), rsp)

rsp.attach_grad()
net = Net()
net.hybridize()
with mx.autograd.record():
    l = net(csr, rsp)
l.backward()
print(l.asnumpy())

Steps to reproduce
(Paste the commands you ran that produced the error.)

Run above code example. Note the storage fallback that occurs.
Remove the .hybridize() line. Note that the storage fallback disappears.

Also note that adding F.dot(F.BlockGrad(csr.square()), rsp) will avoid the storage fallback on CPU.
On GPU, adding F.BlockGrad will induce the following error message:

[07:42:34] src/engine/engine.cc:55: MXNet start using engine: NaiveEngine
Traceback (most recent call last):
  File "bug.py", line 17, in <module>
    l = net(csr, rsp)
  File "/home/ubuntu/mxnet/python/mxnet/gluon/block.py", line 542, in __call__
    out = self.forward(*args)
  File "/home/ubuntu/mxnet/python/mxnet/gluon/block.py", line 909, in forward
    return self._call_cached_op(x, *args)
  File "/home/ubuntu/mxnet/python/mxnet/gluon/block.py", line 815, in _call_cached_op
    out = self._cached_op(*cargs)
  File "/home/ubuntu/mxnet/python/mxnet/_ctypes/ndarray.py", line 150, in __call__
    ctypes.byref(out_stypes)))
  File "/home/ubuntu/mxnet/python/mxnet/base.py", line 253, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [07:42:38] src/operator/tensor/././cast_storage-inl.cuh:606: Check failed: ctx.requested.size() > 0 (0 vs. 0)

@mxnet-label-bot [Good first issue, operator]

I don't think it's a trivial task for a beginner, as it involves sparse ops and hybridization. Removing "good first issue" label.


"ng serve" not slow compile error

Even if you write a code that normally becomes an error, no error is displayed when it is "ng serve".
example
//Importing file that do not exist.
import {Foo} from './not-exist-file';

Sorry I'm not good in English.

Not sure what you're talking about. TSLint complains about that in Atom, serve and build complain about that in their output, and there are error messages logged to the browser's console along with the app never bootstrapping properly. I don't think the errors have any more places left to appear.

Even if you code incorrectly, no error is displayed.

I believe this was a reported issue before. Some developers use the command ng build to check for errors that are not shown with ng serve. I know its not a good solution but it works for now at-least :)

OK.Thanks You.


Abstractions of text

Hello Sir,
I would like to talk about a use case I am thinking up. This is not really a feature request (as I understand it might be a huge patch), but an open question about building upon textwrap.
Reading the docs and a few bits of the sources I found out that it may not possible to work with abstractions of text.
Let's say I am writing a terminal rendering pipeline in a layer superimposing fashion (i.e. a simple DOM for terminal).  // Totally fake, but describes the context
    <div>
        Hello, <red>World</red>! // Text with inline styles
    </div>
);

I might then work with text with something like this:
struct Cell {
    char: char,
    style: Style, // Meta alongside the char
}

type Text = Vec<Cell>; // or anything...

As you can see, I cannot get an &str from that kind of Text type. Yet I really need this styling meta with each char to do some sort of painter algorithm, due to how terminal CSI work (they're global, I guess you know what I mean).
What pieces from core would I be able to reuse, and to what extent, to build a wrap working with my Cells?
Thank you for your answer !

Hi @truchi, thanks for the question, it's a great one. Sorry for the slow reply, I wish I had more time for open source work :-)
With the changes I made for the 0.13 release, you should be able to wrap things that don't have a &str anywhere. A made-up example about building a house can be found here: https://docs.rs/textwrap/0.13.2/textwrap/core/fn.wrap_first_fit.html#examples
So in short, if you can give core::wrap_first_fit or core::wrap_optimal_fit a slice with "things which can be wrapped", then the functions will tell you where you should put your line breaks.

As you can see, I cannot get an &str from that kind of Text type. Yet I really need this styling meta with each char to do some sort of painter algorithm, due to how terminal CSI work (they're global, I guess you know what I mean).

Yeah, I think I know what you mean :-) I guess you want to turn on bold/cursive/... on a per-character basis?
For textwrap to work, you would only need to group your Cells into some kind of "words". These words would then need to implement the Fragment trait — this trait does not require you to produce a &str at any time! You could perhaps do something like this:
#[derive(Debug)]
struct Word {
    cells: Vec<Cell>,
    whitespace: usize,
}

impl Fragment for Word {
    fn width(&self) -> usize {
        self.cells.len()
    }

    fn whitespace_width(&self) -> usize {
        self.whitespace
    }

    fn penalty_width(&self) -> usize {
        0
    }
}

I wrote a full example here which shows how these words can be wrapped into one or more lines, depending on the line width: playground.
Please let me know if this helps, I would love to include an example with exactly this kind of functionality in the examples/ directory.

Hello, thanks for the reply!
That looks great!

0.13

Yep it changed a lot since my previous issue, kudos!

I guess you want to turn on bold/cursive/... on a per-character basis?

Yes, in individual layers. When printing the flattened canvas to the terminal we can simplify because we are (supposedly) the single owner of Stdout, hopefully making it faster.
I have to play with the Fragment trait to get a grasp of it. The "house building" example is still confusing to me since I didn't run it... I suggest including the output in the docs.
Looking at your playground.
We do not get unicode-width/hyphenation features through this? That would be a huge bummer (unicode-width esp.)!
I'm working on a different part of the project right now, I will be back at that sooner or later!

I have to play with the Fragment trait to get a grasp of it. The "house building" example is still confusing to me since I didn't run it... I suggest including the output in the docs.

Yeah, I agree that it's a rather abstract example! :-) I wanted to show that you could use the wrapping algorithm for something way outside the realm of text — if you really really want to. Notice that you see the "output" indirectly via the assert_eq! statements in the example. You can copy-paste the code to the playground and make it run if you add a fn main() { ... } around it: playground.
It is honestly not so interesting to use wrap_first_fit for this since the underlying algorithm is so simple — but wrap_optimal_fit is more interesting since it has the same API, but uses a non-trivial algorithm below the covers.

Looking at your playground.
We do not get unicode-width/hyphenation features through this? That would be a huge bummer (unicode-width esp.)!

You would be responsible for determining the width of each cell — use core::display_width for this.
The Fragment trait is just the building block which textwrap uses internally. Hyphenation is implemented by breaking each word down to its syllables (using core::split_words) but you would need your own splitting if you have your own struct which implements the Fragment trait.

Hey @truchi, I hope the above helped you a bit, otherwise please let me know. GitHub recently released a "discussion" feature and I'll try and convert this issue into the very first discussion in this repo :tada:


training and eval with different weights

Is it possible to use two different weights for training/eval?  For my use case I'd like to train with one weight, and use a custom eval function which uses a different weight.  Of course I can retrieve the weights from an lgbm dataset in my eval function with .get_weights(), but this will retrieve the training weights.  Is this possible?  Is there any hack around this?

Hi @dsrub, thanks for using LightGBM. What you mean is that you want to have the same object holding both weights, right? Because you can create a second dataset with the same data and label but different weight, like:
import lightgbm as lgb
import numpy as np

X = np.random.rand(100, 2)
y = np.random.rand(100)
train_weight = np.random.rand(100)
valid_weight = np.random.rand(100)
train_ds = lgb.Dataset(X, y, weight=train_weight)
valid_ds = train_ds.create_valid(X, y, weight=valid_weight)


Where are the parameters of short queries input

this personId always 1,but no data.... I want to know where to get the input

thank you
I think the parameters of short queries come from the results of complex queries

Sorry, you're right: the results of complex queries are taken:
https://github.com/ldbc/ldbc_snb_interactive_driver/blob/64ba27ad2694eb796ea3b3aa975f295213bd1991/src/main/java/com/ldbc/driver/workloads/ldbc/snb/interactive/LdbcSnbShortReadGenerator.java#L519-L685
I added this to the documentation now:
https://github.com/ldbc/ldbc_snb_docs/commit/10418b9bb18c31f4270036ca927fb70e5d17eae6


Test reservation series ignores all but one test

After booking a test appointment, e.g. using no-q.info, users are offered to register the test in the Corona Warn App.
This works for me when registering only one appointment. However, when I register a series of upcoming tests, by repeating the same procedure after each new appointment, only the first registration shows in CWA.
After deleting this test in CWA, no other upcoming tests are displayed.
Software version:
cwa-android 2.15.1
Google Exposure Notification:
182114516000
Android 12
Security patch 5 December
Kernel 4.14.243
ENF version

Hi @openmindculture
Thanks for your comment. Please see the FAQ article:

EN https://www.coronawarn.app/en/faq/#rat_multiple_rat
DE https://www.coronawarn.app/de/faq/#rat_multiple_rat

Corona-Warn-App Open Source Team

Thanks for the links! I was not even sure if I should label it as a bug.
It might be helpful to warn the users when trying to add a second test in a row.
But then again, maybe I'm an edge case as a curious developer.

@openmindculture There is a warning when adding a new test if another test is already registered.

@openmindculture There is a warning when adding a new test if another test is already registered.

I was not consciously aware of the warning, but as I suspected the actual behavior, I probably skimmed and understood nevertheless.

@openmindculture Anyway thanks for your question. Next time you try to register a second test, check if get a notification before adding the second test. Is should say that the other register test will be deleted. If you don't see such a notification, please report back here.
Also, did you check the recycle bin? Are the test in the recycle bin?

P.S. I tried to check again, but ran into another problem (QR code seemingly invalid, which always happens with results from that specific pharmacy. I will try to follow-up with another issue after taking another test there).


"Get a random number" V2.5 tutorials

[ ] Subscription "Get a random number" (preview: https://documentation-git-fork-thedriftofwords-ran-975a39-chainlinklabs.vercel.app/vrf/v2-5/subscription/get-a-random-number)
[ ] Direct funding "Get a random number" (https://documentation-git-fork-thedriftofwords-ran-975a39-chainlinklabs.vercel.app/vrf/v2-5/direct-funding/get-a-random-number)

[ ] Refs to update: to V2 programmatic subscription page
[ ] Add V2.5 programmatic subscription within this PR

Testing

[ ] Subscription on Sepolia, paying w/ LINK
[ ] Subscription on Avalanche, paying w/ LINK
[ ] Subscription on Avalanche, paying w/ AVAX
[ ] Direct funding on Avalanche, paying w/ LINK
[ ] Direct funding on Avalanche, paying w/ AVAX

Testing paying w/ native on Sepolia: https://sepolia.etherscan.io/address/0xc0dc96a9c1f0e0b988754db5fdcb67f109a2c6a7#readContract
Request successfully submitted but not fulfilled

Updated DirectFundingConsumer.sol and successfully tested payment with LINK and Sepolia ETH here: https://sepolia.etherscan.io/address/0x85ab53039b10c1655c9a17b62018405079c994e4


No method to retrieve cookie object by name

I would like to be able to get a cookie object out of the cookie jar by name and inspect its attributes (e.g. domain, expires, secure flag). My use case is a test script that ensures my webserver is configuring cookies properly.
I expect to have some kind of function like get that returns the whole cookie object, not just the value, but no function seems to exist.
Reproduction Steps
import requests
response = requests.get('http://google.com')
response.cookies.get('NID')  # Only returns cookie value
for c in response.cookies:
    print(c)  # c is entire cookie object

If this is a desired feature, I'd be happy to code it up myself. My suggestion is a simple get_cookie function, but am open to other ideas.

You're right, this is not a feature that exists currently. I don't think we want it though: I'm reluctant to expand RequestsCookieJar too far, especially when we have some pretty mixed (ie. negative) feelings about cookielib. My inclination is that the best thing to do is for you to write a helper function that iterates over the cookiejar and does the search by name (this is how RequestsCookieJar.get works).

I agree, mostly because there's a possible future were were we remove Cookielib entirely from the equation, and want to keep it as abstract as possible.

Thanks for the suggestion, though, @lordjabez! ✨🍰✨

A consideration for the future, however you decide to manage cookies, is the ability to inspect all cookie attributes, not just the value. This is a common use case for me writing automated tests to ensure web servers are doing the right things with their session cookies.
And thank you for a fantastic library.


cli: fixes dep error from ipfs-http-client and concat-stream

fixes #1262
I have forked the concat-stream repository and have patched it with the changes that existed in the other forked version. This is definitely a "patch" and I think there needs to be a better solution to fix this issue.
Ideally the version for ipfs-http-client is upgraded to the latest version along with any changes that are required

This patch works in my monorepo for the time being. Thanks for pulling this together. I suggest we upgrade the package entirely — it was published 4 years ago — to avoid this technical debt.

Yeah upgrading the packaging is definitely the best long term option.
FWIW I tried to upgrade the package, but because new versions of ipfs-http-client are ESM only (source: https://github.com/ipfs/js-ipfs/issues/4138), which requires there to be larger changes to the code

thank you @mihirgupta0900!

doesn't  look like this worked in<EMAIL_ADDRESS>

not work in [<EMAIL_ADDRESS>either


All Scenarios: The "Data formatting" page is blank.

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-22H2
ML.Net Model Builder 2022: <IP_ADDRESS>0501 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.5.5)
.Net: 6.0, 7.0
Describe the bug

On which step of the process did you run into an issue:
The "Data formatting" page is blank.

TestMatrix
https://testpass.blob.core.windows.net/test-pass-data/wikipedia-detox-250-line-data.tsv
To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio start window.
Choose the C# Console App (.NET Core) project template.
Add model builder by right click on the project.
Select any scenario.
On Data page, choose the data source.
Click the "Advanced data options..." link, go to the "Data formatting" tab.

Expected behavior
The "Data formatting" page should be displayed normally.
Screenshot

Additional context

Duplicate to https://github.com/dotnet/machinelearning-modelbuilder/issues/2709

The bug has been fixed on the latest main build <IP_ADDRESS>2001.


Can't open my app

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.0.0-beta.63
Electron version
1.13.1
Operating system
windows 10
Last known working Electron Forge version
6.0.0-beta.63
Expected behavior
It would just act like normal
Actual behavior
I get the following error
><EMAIL_ADDRESS>start
> electron-forge start

✔ Checking your system
✔ Locating Application
✖ Preparing native dependencies

An unhandled error has occurred inside Forge:
UNKNOWN: unknown error, lstat 'C:\Users\[hidden]\Documenten\prive\programeren\app\2\bavo\node_modules\path-type\node_modules'
Error: UNKNOWN: unknown error, lstat 'C:\Users\[hidden]\Documenten\prive\programeren\app\2\bavo\node_modules\path-type\node_modules'

Steps to reproduce
Here is the code
const { app, BrowserWindow } = require('electron');
const { rmSync } = require('fs');
const path = require('path');
const os = require ('os');
var username = process.env.username

// Handle creating/removing shortcuts on Windows when installing/uninstalling.
if (require('electron-squirrel-startup')) { // eslint-disable-line global-require
  app.quit();
}

const createWindow = () => {
  // Create the browser window.
  const mainWindow = new BrowserWindow({
    width: 800,
    height: 600,
  });

  // and load the index.html of the app.
  mainWindow.loadFile(path.join(__dirname, 'index.html'));
  mainWindow.setMenuBarVisibility(false)
};

// This method will be called when Electron has finished
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on('ready', createWindow,);

// Quit when all windows are closed, except on macOS. There, it's common
// for applications and their menu bar to stay active until the user quits
// explicitly with Cmd + Q.
app.on('window-all-closed', () => {
  if (process.platform !== 'darwin') {
    app.quit();
  }
});

app.on('activate', () => {
  // On OS X it's common to re-create a window in the app when the
  // dock icon is clicked and there are no other windows open.
  if (BrowserWindow.getAllWindows().length === 0) {
    createWindow();
  }
});

// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and import them here.

Additional information
No response

it started magically

why did you close

nvm I fixed it by buiding another one


Install this software in msys2

[x] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I notice https://github.com/Genymobile/scrcpy/blob/master/BUILD.md#in-msys2 can build this program in msys2. Moreover, how about allowing user to install this program by pacman -S mingw-w64-scrcpy in msys2? It will be more convenient for user to install or test.

https://github.com/msys2/MINGW-packages/pull/11793, however, msys2 haven't yet provided adb.


Added UTF-8 checking.

Codecov Report
Attention: 25 lines in your changes are missing coverage. Please review.

Comparison is base (798e2d8) 89.04% compared to head (5977b30) 88.88%.
Report is 2 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #107      +/-   ##
==========================================
- Coverage   89.04%   88.88%   -0.16%
==========================================
  Files          94       95       +1
  Lines       10187    10249      +62
==========================================
+ Hits         9071     9110      +39
- Misses       1116     1139      +23

Files
Coverage Δ

include/async_mqtt/util/utf8validate.hpp
100.00% <100.00%> (ø)

include/async_mqtt/packet/property.hpp
97.40% <50.00%> (-0.28%)
:arrow_down:

include/async_mqtt/packet/v3_1_1_publish.hpp
90.07% <50.00%> (-1.27%)
:arrow_down:

include/async_mqtt/packet/v3_1_1_subscribe.hpp
85.24% <50.00%> (-1.20%)
:arrow_down:

include/async_mqtt/packet/v3_1_1_unsubscribe.hpp
87.61% <50.00%> (-1.49%)
:arrow_down:

include/async_mqtt/packet/v5_publish.hpp
93.79% <50.00%> (-0.69%)
:arrow_down:

include/async_mqtt/packet/v5_subscribe.hpp
86.12% <50.00%> (-0.86%)
:arrow_down:

include/async_mqtt/packet/v5_unsubscribe.hpp
88.19% <50.00%> (-1.10%)
:arrow_down:

include/async_mqtt/packet/v3_1_1_connect.hpp
84.33% <50.00%> (-2.01%)
:arrow_down:

include/async_mqtt/packet/v5_connect.hpp
84.85% <50.00%> (-1.54%)
:arrow_down:

... and 1 file with indirect coverage changes


DatePicker issue with format MM/dd/yy

i have isssue datepicker with format is 'MM/dd/yy':
pick 01/01/1940 => input will be display 01/01/40
but real value is 01/01/2040
pls help me.
thanks

MM/dd/yyyy


How to create multiple task_set in http locust class?

I have tried to create a multipls task_set under locust class. While creating am getting error message. Pls assist me. Eg. below
class ApiClient(HttpLocust):
task_set = ApiClientBehavior
task_set = ApiClientBehavior1
Also i have tried below way also,
class ApiClient(HttpLocust):
# taskset is just a POPO
task_set = ApiClientBehavior
task_set1 = ApiClientBehavior1

what error are you getting?  please include the entire stacktrace

@cgoldberg
I'm sorry for the above code, am not getting any error message. It only execute the tas_set and it is not executing task_set1. Please find my entire code below.
from locust import TaskSet, task, HttpLocust
import json
class ApiClientBehavior(TaskSet):
headers = {'content-type': 'application/json'}
# device_name = "sur01.whitebear.mn.minn.comcast.net"
key = "30661f00d312221ddf232e5ffc88870f468aba63"

@task(1)
def get_response(self):
    response = self.client.get("/v1/v1/docs/sm001482886-5363f0288gebo-wholesaleethernet", headers = self.headers, name='A 200 Status')
    if response.status_code == 200:
        print "Get response status code:", response.status_code
        # print "Response content:", response.content
    else:
        response.failure("Got wrong response code")

class ApiClientBehavior1(TaskSet):
@task(2)
def post_response(self):
payload = {"names": ["sur01.perry.fl.tallah.comcast.net", "sur01.arvada.co.denver.comcast.net", "AR151.000195"]}
response = self.client.post("/v1/elements?key=30661f00d312221ddf232e5ffc88870f468aba63", data=json.dumps(payload), headers = self.headers, name='A 200 Status')
if response.status_code == 200:
print "Post response status code:", response.status_code
# print "Response content:", response.content
else:
response.failure("Got wrong response code")
class ApiClient(HttpLocust):
task_set = ApiClientBehavior
task_set = ApiClientBehavior1
min_wait = 1000
max_wait = 5000
# host = "http://cmaas-element-api-qa.cm.comcast.net"
If i do the below method:
class ApiClient(HttpLocust):
# taskset is just a POPO
task_set = ApiClientBehavior, ApiClientBehavior1
I'm getting this error messge.
[2017-04-07 14:57:31,526] HQSWL-C018024/ERROR/stderr: self.task_set(self).run()
[2017-04-07 14:57:31,528] HQSWL-C018024/ERROR/stderr: TypeError: 'tuple' object is not callable
[2017-04-07 14:57:31,528] HQSWL-C018024/ERROR/stderr: <Greenlet at 0x62764e0: start_locust(<class 'locustfile.ApiClient'>)> failed with TypeError
[2017-04-07 14:57:31,619] HQSWL-C018024/ERROR/stderr: KeyboardInterrupt
I have tried another as well.

@nrbalajimca If all you want is to be able to run locust for multiple task_sets, just add multiple Client classes in your locustfile, each using its separate task_set
`class ClientOne(HttpLocust):
task_set = TaskSetOne
class ClientTwo(HttpLocust):
task_set = TaskSetTwo
`
locust will load both Client classes when run.

Dear @prince-mishra ,and how to run these clients from single command?

Addressed, closing

Is it possible for running multiple task-sets from using what was suggested above (making multiple clients) that we can have multiple graphs be shown? Thanks!


"types" key in proxy packages is bugged

Bug report
What is the current behavior?
Seems like the compiled proxies "types" path point to @diegohaz's machine. :P
Example:
{
  "name": "reakit/Box",
  "private": true,
  "main": "../lib/Box",
  "module": "../es/Box",
  "types": "../ts//Users/diegohaz/Projects/reakit/packages/reakit/src/Box"
}

If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
I guess it should point to the respective type def file, right?
{
  "name": "reakit/Box",
  "private": true,
  "main": "../lib/Box",
  "module": "../es/Box",
  "types": "../ts/Box/index.d.ts"
}

I'll probs open a PR for this tomorrow - it's getting close to midnight here 😴

Other relevant information:
reakit version: 0.16

Good catch! Sorry about that haha


Option to adjust spacing does not exist

I am using Visual Studio 2017 version 15.9.6  Professional Edition.
I do not see the option to adjust Python Spacing.
This is what I see:
https://imgur.com/vejZXAc
How can I enable the spacing setting for Python?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 67031305-2f97-3aa4-ced1-b66092dd4d41
Version Independent ID: 37603282-7242-21de-fb56-9f1bbae9dc43
Content: Format Python code - Visual Studio
Content Source: docs/python/formatting-python-code.md
Product: visual-studio-dev15
GitHub Login: @kraigb
Microsoft Alias: kraigb

@DataIsGold That's curious...the Formatting node should expand with the sub-nodes as shown in the docs. My 15.9.6 (community) install (which is Preview 1 right now), shows all those nodes.
Can yo go to Help > About Microsoft Visual Studio, then use the Copy Info button and paste the results here? I'd like to check the Python tools versions before proceeding. It sounds like a configuration issue of some kind, and if so, I may direct you to the GitHub repo for product engineering, https://github.com/Microsoft/ptvs/issues.

Hi Kraig,
Here you go:
Microsoft Visual Studio Professional 2017
Version 15.9.6
VisualStudio.15.Release/15.9.6+28307.344
Microsoft .NET Framework
Version 4.7.03056
Installed Version: Professional
Visual C++ 2017   00369-60000-00001-AA322
Microsoft Visual C++ 2017
Application Insights Tools for Visual Studio Package   8.14.11009.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.9.04012.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services   15.8.31590
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017   5.2.60913.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.9.03024.0
Azure App Service Tools v3.0.0
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.3.3000.2
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools   15.9.02046.0
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio   2.3.3000.2
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   15.9.18254.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
JavaScript UWP Project System   2.0
JavaScript UWP Project System
Microsoft Azure HDInsight Azure Node   2.3.3000.2
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service   2.3.3000.2
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio   2.4
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service   2.3.3000.2
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.10730.2
Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
MLGen Package Extension   1.0
MLGen Package Visual Studio Extension Detailed Info
Node.js Tools   1.4.21001.1 Commit Hash:8dd15923800d931b153ab9e4de74e42a74eba5e6
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2017 ENU   15.0.28224.00
Microsoft Office Developer Tools for Visual Studio 2017 ENU
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Python   15.9.18254.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   15.9.18254.1
Provides templates and integration for the Django web framework.
Python - IronPython support   15.9.18254.1
Provides templates and integration for IronPython-based projects.
Python - Profiling support   15.9.18254.1
Profiling support for Python projects.
Python - UWP support   15.9.18254.1
Provides templates and integration for the UWP framework.
R Tools for Visual Studio   1.3.40517.1016
Provides project system, R Interactive window, plotting, and more for the R programming language.
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
SQL Server Data Tools   15.1.61901.03220
Microsoft SQL Server Data Tools
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript Tools   15.9.20918.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Linux Development   <IP_ADDRESS>218
Visual C++ for Linux Development
Visual F# Tools 10.2 for F# 4.5   <IP_ADDRESS>.  Commit Hash: 6e26c5bacc8c4201e962f5bdde0a177f82f88691.
Microsoft Visual F# Tools 10.2 for F# 4.5
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Apache Cordova   15.123.7408.1
Visual Studio Tools for Apache Cordova
Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers
Visual Studio Tools for Unity   <IP_ADDRESS>
Visual Studio Tools for Unity
Visual Studio Tools for Universal Windows Apps   15.0.28307.208
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Kraig,
I also checked my laptop and it has the same issue. Here is the VS Info from the laptop:
Microsoft Visual Studio Professional 2017
Version 15.6.6
VisualStudio.15.Release/15.6.6+27428.2037
Microsoft .NET Framework
Version 4.7.03056
Installed Version: Professional
Visual C++ 2017   00370-10006-18411-AA966
Microsoft Visual C++ 2017
Visual F# Tools 10.1 for F# 4.1   00370-10006-18411-AA966
Microsoft Visual F# Tools 10.1 for F# 4.1
Application Insights Tools for Visual Studio Package   8.11.10402.2
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.0.40314.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017   5.2.51214.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.0.40215.0
Azure App Service Tools v3.0.0
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio
Azure Data Lake Tools for Visual Studio   2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools   15.0.40215.0
Azure Functions and Web Jobs Tools
C# Tools   2.7.0-beta3-62715-05. Commit Hash: db02128e6e3c4bdfc93e6ec425ac9162b4d4fe80
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Cookiecutter   15.6.18072.2
Provides tools for finding, instantiating and customizing templates in cookiecutter format.
GitHub.VisualStudio   <IP_ADDRESS>
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
JavaScript UWP Project System   2.0
JavaScript UWP Project System
Microsoft Azure HDInsight Azure Node   2.2.9000.1
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service   2.2.9000.1
Language service for Hive query
Microsoft Azure Stream Analytics Language Service   2.2.9000.1
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51212.2
Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2017 ENU   15.0.27326.00
Microsoft Office Developer Tools for Visual Studio 2017 ENU
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Python   15.6.18072.2
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.
Python - Django support   15.6.18072.2
Provides templates and integration for the Django web framework.
Python - IronPython support   15.6.18072.2
Provides templates and integration for IronPython-based projects.
Python - Profiling support   15.6.18072.2
Profiling support for Python projects.
Python - UWP support   15.6.18072.2
Provides templates and integration for the UWP framework.
R Tools for Visual Studio   1.3.40104.1351
Provides project system, R Interactive window, plotting, and more for the R programming language.
SQL Server Data Tools   15.1.61801.210
Microsoft SQL Server Data Tools
Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript Tools   15.6.20202.3
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   2.7.0-beta3-62715-05. Commit Hash: db02128e6e3c4bdfc93e6ec425ac9162b4d4fe80
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Cross Platform Mobile Development (Android)   15.0.27428.2015
Visual C++ for Cross Platform Mobile Development (Android)
Visual C++ for Linux Development   1.0.8
Visual C++ for Linux Development
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Apache Cordova   15.123.7102.2
Visual Studio Tools for Apache Cordova
Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake
Visual Studio Tools for Unity   <IP_ADDRESS>
Visual Studio Tools for Unity
Visual Studio Tools for Universal Windows Apps   15.0.27428.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Interesting; all the Python components are the same as my Community install where the formatting options show up. I checked also with a 15.9.6 Pro install on a different computer, and the expanding Formatting node appears just fine:

The fact that you're seeing the same behavior on two different computers suggests that there's a setting that's tied to your login and thus roamed between machines. In that case, try signing out and seeing if that changes anything. Otherwise, file an issue on https://github.com/Microsoft/ptvs/issues so the engineering team can investigate.
When you file an issue, please add a link to this present issue so that others seeing it can follow up.


Document rationale for DSSE vs COSE etc.

The IETF SCITT working group is working on an effort related to sigstore. They decided to base their work on the RFC 9052 - CBOR Object Signing and Encryption (COSE) envelope format.
Having noted a bit of discussion on perceived benefits of DSSE over JOSE and COSE, I opened an issue there: Document rationale for COSE vs DSSE etc. · Issue #57 · ietf-wg-scitt/draft-ietf-scitt-architecture.
That yielded a link to a draft document with some insightful rationales and unresolved discussions that may be of interest to those exploring these and related envelope formats: Digital Artifact Signing Envelope Format Comparison
I wonder if there is any interest in the DSSE community to bring that document to something worth noting in this repository, or publishing elsewhere, or to continue to clarify the technical rationales and tradeoffs.

Hi @nealmcb!
My 2 cents (I've since left the SSL so take this with a grain of salt). I think that document was insightful, but for reasons beyond the raw content in it. I honestly don't think it really articulates a rationale for using COSE other than it being an IETF endorsed "standard". In fact, I can't still answer this, but now that their charter does describe the NEED to use COSE/RATS for no reason other than the authors of that RFC being co-authors of that other one, then I believe there's your answer. When I asked repeatedly that they'd be willing to use other cryptographic standards instead of COSE (e.g., PKCS9 or PGP) they had no answer other than "we want to use COSE". To me, it feels like the requirement was to have one standard, rather than provide certain fundamental security/performance properties.
As for my side --- I don't speak for the SSL! --- most of the pushback to using COSE (at least from my side) fell within not adding unnecessary complexity, as well as COSE's pedigree of massive CVE's from its ancestor JOSE. They say they fixed those issues,  by issuing yet another RFC where they document the common mistakes people do when implementing JOSE. I'm not exactly satisfied with this. I believe in security by default, and I know knobs can also serve as footguns, thus the minimal specification around DSSE (Speaking of which, you may be interested in PASETO as well).
I think it'd be valuable to bring some clarity into the issue as you point out, and perhaps working on fleshing out that document is it. I unfortunately don't have the cycles for something like this, but I'd be happy to chime in whenever possible. I'd be happy to participate to the extent possible!
P.S. Oh, and to clarify. Sigstore didn't add support for COSE because of any enlightening conversation with the SCITT folks (as they seem to hint in that issue), but rather because it already supported a bunch of other standards (such as GPG and PKCS9 mentioned above) so why not.

I'm closer to someone who speaks for the SSL, but would really say that we
broadly discuss all decisions.
From my reading of the document and comments, you conclude that DSSE
provides a much simpler envelope format than COSE.  DSSE has a smaller and
simpler code base (which is good for security), but lacks some COSE
features which as I understand it, we either aren't using or are
implemented at a different level.
At the risk of parroting Santiago, I agree that what is missing is the
rationale for why we would adopt COSE.  What problem does it solve for our
users?  How would integrating change our security risk?  Is it better,
worse, different?
On Mon, Sep 4, 2023 at 5:42 PM Santiago Torres @.***>
wrote:

Hi @nealmcb https://github.com/nealmcb!
My 2 cents (I've since left the SSL so take this with a grain of salt). I
think that document was insightful, but for reasons beyond the raw content
in it. I honestly don't think it really articulates a rationale for
using COSE other than it being an IETF endorsed "standard". In fact, I
can't still answer this, but now that their charter does describe the NEED
to use COSE/RATS for no reason other than the authors of that RFC being
co-authors of that other one, then I believe there's your answer. When I
asked repeatedly that they'd be willing to use other cryptographic
standards instead of COSE (e.g., PKCS9 or PGP) they had no answer other
than "we want to use COSE". To me, it feels like the requirement was to
have one standard, rather than provide certain fundamental
security/performance properties.
As for my side --- I don't speak for the SSL! --- most of the pushback to
using COSE (at least from my side) fell within not adding unnecessary
complexity, as well as COSE's pedigree of massive CVE's from its ancestor
JOSE. They say they fixed those issues, by issuing yet another RFC where
they document the common mistakes people do when implementing JOSE. I'm not
exactly satisfied with this. I believe in security by default, and I know
knobs can also serve as footguns, thus the minimal specification around
DSSE (Speaking of which, you may be interested in PASETO as well).
I think it'd be valuable to bring some clarity into the issue as you point
out, and perhaps working on fleshing out that document is it. I
unfortunately don't have the cycles for something like this, but I'd be
happy to chime in whenever possible. I'd be happy to participate to the
extent possible!
P.S. Oh, and to clarify. Sigstore didn't add support for COSE because of
any enlightening conversation with the SCITT folks (as they seem to hint in
that issue), but rather because it already supported a bunch of other
standards (such as GPG and PKCS9 mentioned above) so why not.
—
Reply to this email directly, view it on GitHub
https://github.com/secure-systems-lab/dsse/issues/62#issuecomment-1705718521,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGRODYVO7HW3UXAB6JISTTXYZDNBANCNFSM6AAAAAA4K3GZXY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

A related observation. It seems that Sigstore bundle was invented purely because DSSE has limits on the metadata you can embed in the signature.
https://github.com/sigstore/protobuf-specs/blob/b6d25769ec1d565ba45fd121310daf4ab963da9b/protos/sigstore_bundle.proto#L63
I have no proof of the claim, but after working with cose it would be a similar thing I'd miss.

The Sigstore bundle format is also needed for non-DSSE cases to ship the additional verification information. On the DSSE side, we're actively working to support the additional information on a case-by-case basis. See: #59, #61, and https://github.com/sigstore/protobuf-specs/pull/145. I can't speak for how COSE handles this though.


fix boolean coercion, disable opencollective for CI environments

@znarf could you have a quick look at this PR? it is a tiny change

e.g. on CircleCI, see https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables

Travis: https://docs.travis-ci.com/user/environment-variables/#default-environment-variables

Gitlab: https://docs.gitlab.com/ee/ci/variables/#predefined-environment-variables

@macjohnny Thank you for the input.
And thank you for the fix, I only started to look at his code base recently and this is something that I spotted and wanted to fix: https://github.com/opencollective/opencollective-postinstall/pull/14#discussion_r251827158


How to retrieve spelling suggestions in the serializer?

I would like to return spelling suggestions in my serializer. How would I do that? Thanks
Haystack method: http://django-haystack.readthedocs.io/en/latest/searchqueryset_api.html?#SearchQuerySet.spelling_suggestion

Hi.
Support for spelling suggestion is not currently implemented.
It's probably quite easy to add support for, so I'll see what I can do.

Any chance there is an update on this?

Hi,
I have started looking into it, but I got busy with other work so it is currently a bit on hold.
I'll see if I have som time soon-ish..

Any news on this?

@rhblind any pointer? I am also looking for same, if you are busy I can add it. please share if you have already done an analysis of it.

@jpatel3  have you made any progress on this implementation?

@pymarco  I was using ListAPIView, so I did override on list method to add a suggestion in it if any.
`
overriding list to get the applied spelling suggestion along with query.
def list(self, request, *args, **kwargs):
response = super(SearchList, self).list(request, args, kwargs)
# Add data to response.data for your object:
q = request.query_params.get('q', None)
suggestion_query = SearchQuerySet().auto_query(q.strip())
if suggestion_query.count() == 0:
    suggestion = suggestion_query.spelling_suggestion()
    if suggestion:
        suggestion = re.sub(r"[\(.*?\)]", "", suggestion)
        response.data['suggestion'] = suggestion
    response.data['searchQuery'] = q.strip()
    return response`

Where suggestion is spelling suggestion, and searchQuery is actual query. The reason why I extracted the value using regular expression is that the spelling suggestion string was coming in bracket e.g. "(government)".
Hope it helps!

Hello guys.
Sorry for not replying, been insanely busy lately.
I did start working on this, but didn't get very far. I started by adding this as a filter feature, but I think that's going down the wrong path. I quickly ran into issues where spelling suggestions duplicated themselves (probably because of stacked filters or something), and didn't have any more time investigating.
If anybody find a clean and generic way of implementing this, I'm always open of merging pull requests!


[Schema Registry] Integration with IoT Hub

Is your feature request related to a problem? Please describe.
I am trying to understand how to integrate this feature with IoT Hub. There any integration with IoT hub?
Describe the solution you'd like
I am looking for a way to send message from a device with a specific schema and validated that message by routing to a event hub.
Describe alternatives you've considered
I know that is possible to achieve something similar to Kafka
Thanks a lot

hey @ederfdias ,
currently schema registry is a standalone preview library, it only provides the basic ability to register/retrieve a schema.
I assume the "integration" you refer to is about encoding/decoding data.
I'm sorry that we don't have a sample on how to integrate with IotHub, but we do have a separate package called azure-schemaregistry-avroserializer which integrates with the schema registry library and provides the ability to encode/decode avro data, and it also has samples on integration with the Event Hub. It should be fairly easy for you to mitigate the samples into IoT Hub.
let me know whether my response answers your question, I would be glad to provide any kind of help to you.

Thanks @yunhaoling you answer the question for sure.

great! @ederfdias I'm closing the issue now but feel free to reach out to me if you have more question.


Doesn't work in React Vite

I got BottomSheet working in Next.js but in React I get the following error:
`web.js:508 Uncaught TypeError: Cannot read properties of undefined (reading 'getValue')
at web.js:508:57
at Array.map ()
at AnimatedInterpolation.getValue (web.js:508:38)
at AnimatedStyle.getValue (web.js:173:98)
at AnimatedProps.getValue (web.js:173:98)
at web.js:303:45
at renderWithHooks (react-dom.development.js:16305:18)
at updateForwardRef (react-dom.development.js:19226:20)
at beginWork (react-dom.development.js:21636:16)
at HTMLUnknownElement.callCallback2 (react-dom.development.js:4164:14)
(anonymous) @ web.js:508
getValue @ web.js:508
getValue @ web.js:173
getValue @ web.js:173
(anonymous) @ web.js:303
renderWithHooks @ react-dom.development.js:16305
updateForwardRef @ react-dom.development.js:19226
beginWork @ react-dom.development.js:21636
callCallback2 @ react-dom.development.js:4164
invokeGuardedCallbackDev @ react-dom.development.js:4213
invokeGuardedCallback @ react-dom.development.js:4277
beginWork$1 @ react-dom.development.js:27451
performUnitOfWork @ react-dom.development.js:26557
workLoopSync @ react-dom.development.js:26466
renderRootSync @ react-dom.development.js:26434
recoverFromConcurrentError @ react-dom.development.js:25850
performSyncWorkOnRoot @ react-dom.development.js:26096
flushSyncCallbacks @ react-dom.development.js:12042
commitRootImpl @ react-dom.development.js:26959
commitRoot @ react-dom.development.js:26682
finishConcurrentRender @ react-dom.development.js:25936
performConcurrentWorkOnRoot @ react-dom.development.js:25809
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
react-dom.development.js:18687 The above error occurred in the  component:
at http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:6403:25
at http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:10940:14
at Portal2 (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:1716:24)
at http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-spring-bottom-sheet.js?v=e089520f:11312:15
at Mahnegar (http://<IP_ADDRESS>:5173/src/components/Mahnegar.jsx?t=1690450579063:49:16)
at RenderedRoute (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3115:5)
at Routes (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3483:5)
at div
at Router (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3430:15)
at BrowserRouter (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-router-dom.js?v=e089520f:3851:5)
at SessionAuth (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:69:25)
at UserContextProvider (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:40:25)
at UserContextWrapper (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:48:17)
at SessionAuthWrapper (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/chunk-BOIIUMNT.js?v=e089520f:377:32)
at SuperTokensWrapper
at Provider (http://<IP_ADDRESS>:5173/node_modules/.vite/deps/react-redux.js?v=e089520f:1210:3)
at App (http://<IP_ADDRESS>:5173/src/App.jsx?t=1690450579063:263:66)

`

It's not working in NextJS v13.5 either...

Same, did you find an alternative package ?

Same, did you find an alternative package ?

There are many alternative libraries. I use framer-motion. you can find a similar package here with the sample code.
https://socket.dev/npm/package/slick-bottom-sheet
Demo: https://slick-bottom-sheet.vercel.app/


Support spring 3.0

This loosens the version query for spring to support the newly released 3.0. The changes appear to be mostly around dropping support for older Rails versions, so there shouldn't be any changes needed in this library.
Closes #25

BTW, if folks want to use this now, just use my repo temporarily:
gem 'spring-watcher-listen', github: 'timdorr/spring-watcher-listen'

You should have it in a :development group, so it won't affect your production workloads, in case you're worried about me doing evil things 😃

@timdorr Thanks for doing this! Rails 7 alpha2 won't run without this change due to a change that breaks Spring. It is fixed in 3.0. Looking forward to having this merged in.

Sounds good to me.

@rafaelfranca Could you merge this PR? Thank you!

I can't merge anything yet. Jon needs to transfer first.

Thanks so much @jonleighton ! ❤

@rafaelfranca OK, I have done the following:

Initiate transfer of the repo to your personal GitHub. I couldn't tranfser to Rails because I got the error "You don't have permission to create public repos in this org". I think it's because I'm in the Rails org but don't have full permissions. You could accept the transfer and then transfer onwards to the Rails org.
Added you to the gem owners
Merged this PR and fixed up tests

I intended to release a new version with this change, but there is still one failing test (due to https://github.com/rails/spring/commit/87dc8cee8f0fb463c256775d58ae5ad627fe7410):
  1) Error:
ListenWatcherTest#test_add_directory_with_dangling_symlink:
NoMethodError: undefined method `check_stale' for #<Spring::Watcher::Listen:0x000055e32be04fe8 @_mutex=#<Thread::Mutex:0x000055e32be04db8>, @root="/tmp/d20211104-1368267-iy8664", @latency=0.001, @files=#<Set: {}>, @directories=#<Set: {"/tmp/d20211104-1368267-iy8664/subdir"}>, @stale=false, @listeners=[], @on_debug=nil>
    /home/turnip/.gem/ruby/3.0.0/bundler/gems/spring-7ca995584bed/test/support/watcher_test.rb:189:in `block in <class:WatcherTest>'

So I thought I'd let you decide what's the best solution for that.
Thanks :pray:

I can't merge anything yet. Jon needs to transfer first.

@rafaelfranca jonleighton did that, but we need a new version (#27). The repo is still under jonleighton, I don't see any repo in your account / Rails org. Thanks!

Oh, that is right. It seems the transfer expired before I could accept. @jonleighton can you start it again please?

@rafaelfranca I have re-initiated the transfer. I also added you to as a repo collaborator because I thought then I could make you an owner and you can do it in your own time, but I can't actually see a way to achieve that (maybe because I'm not paying for GitHub...)

Bump for @rafaelfranca after the holidays :)

Bump for @rafaelfranca after the holidays :)
This PR is merged, it's missing only a new version.
See this open issue for the support for Spring v4.

It's merged—but not released as a gem. Since the transfer it needs a new release!

While a new release doesn't happen, you can fix it by pointing your gemfile to use the master branch, since the patch was already merged:
gem 'spring-watcher-listen', github: "rails/spring-watcher-listen", branch: "master"

Also, if you're updating (to rails 7 for instance), use bundle update spring spring-watcher-listen afterwards (be sure to unlock your spring version in your gemfile if it's locked, you need at least version 3)

Do you have any plans to release it anytime soon?
Thanks!

Please don't let "perfect" become the enemy of the "good". Just because the gem cannot support Spring 4 doesn't mean some people would like to update older codebases to Spring 3 first.
Upgrading everything right up until the edge of requiring newer versions of Ruby, then upgrading Ruby, and then moving along, for example.
I don't think there should be anything blocking this from being released in a new version and when Spring 4 support is added later, then that is just another new release.


Added ReadExceptionStatus at PDU Response

Changed src/lib.rs as with codec::* it doesn't re-export the submodules rtu and tcp.

Thank you!


feat: publish npm-shrinkwrap.json

Publish npm-shrinkwrap.json
@W-15103413@

Nolan said it was ok 👍🏼