Fix termination condition in makeChangeRepeatedly.

Issue Number
ADP-890
Summary
This PR fixes a termination condition in RoundRobin.makeChangeRepeatedly.
This initial termination condition was incorrect:
Right change | length change == length outputsToCover ->
    -- We've succeeded in making the optimal number of change outputs.
    -- Terminate here.
    pure $ Right $ mkSelectionResult change

This equality check was based on the faulty assumption that makeChange always returns a list of change outputs whose length is less than or equal to the number of user-specified outputs.
However, this assumption is NOT valid.
In cases where there are many unique assets in the selected inputs, it's possible for makeChange to return a list whose length is greater than the number of user-specified outputs. This can happen when one or more change outputs exceeds either of the following limits:

A change output has a quantity of a particular asset that exceeds maxBound :: Word64.
A change output has a serialized length that is greater than the upper limit defined by the protocol (4000 bytes).

If makeChange encounters a bundle that exceeds either of the above limits, it will split up the oversized bundle into smaller bundles that don't exceed the limits. (See splitOversizedMaps.)
This means that the number of change outputs generated by makeChange can exceed the number of user-specified outputs. Hence, we need to adjust the termination condition of makeChangeRepeatedly to allow for this possibility.
QA
This PR:

[x] Adds regression tests boundaryTest_largeTokenQuantities_{5,6}. These tests perform coin selections that can only succeed if change bundles are split, in order to demonstrate that the change generation algorithm terminates after only a subset of the UTxO has been selected.
[x] Adjusts the property test prop_makeChange_length to account for splitting of bundles.

Background
The original motivation for generating one change output per user-specified output was to avoid shrinking the size of the UTxO set unnecessarily. By default makeChange will already do this, unless there is not enough ada available in the existing set of selected inputs to pay for all the change, in which case change outputs will be coalesced.
Performance Impact
The faulty termination condition would cause makeChangeRepeatedly to repeatedly expand the set of selected inputs in an effort to optimize the set of change outputs, continuing until the entire UTxO set was exhausted.
Example
This example uses a testnet wallet with:

47 UTxO entries, of which:

1 entry is a pure ada entry
46 entries are multi-asset entries.

around 700 unique assets.

We make a payment request for the exact balance of the pure-ada entry, the value of which is around 20% of the total ada available in the UTxO set (when all entries are considered).
Specifying this amount means that the coin selection algorithm is guaranteed to select from among the multi-asset entries when generating the initial selection.
Before applying this PR
Time required to generate a fee estimate:
$ time curl -X POST http://localhost:8090/v2/wallets/c8b5cd51de6c0c84c5404fca06a02007e650548f/payment-fees     -d '{"payments":[{"address":"addr_test1qzg9mz36rmw4k24hpnnmhfmvrfj8vydmc4rl970zdxfd5ltgrnkw3ewxurn9kuwfuq7gexjulr0s9wthlxa37z2ezwcqy3cxhm", "amount":{"quantity":2164303103,"unit":"lovelace"}}]}'     -H "Content-Type: application/json"
{"estimated_min":{"quantity":244013,"unit":"lovelace"},"deposit":{"quantity":0,"unit":"lovelace"},"minimum_coins":[{"quantity":1000000,"unit":"lovelace"}],"estimated_max":{"quantity":2143653,"unit":"lovelace"}}
real    4m46.720s
user    0m0.004s
sys     0m0.011s

Number of inputs selected:
$ grep numberOfSelectedInputs cardano-wallet.log | sort -V | uniq -c
  3   numberOfSelectedInputs: 2
  3   numberOfSelectedInputs: 3
  2   numberOfSelectedInputs: 4
  1   numberOfSelectedInputs: 5
  2   numberOfSelectedInputs: 6
  2   numberOfSelectedInputs: 7
  1   numberOfSelectedInputs: 9
  2   numberOfSelectedInputs: 10
  3   numberOfSelectedInputs: 12
  4   numberOfSelectedInputs: 13
  3   numberOfSelectedInputs: 14
  4   numberOfSelectedInputs: 15
  2   numberOfSelectedInputs: 16
  1   numberOfSelectedInputs: 17
  2   numberOfSelectedInputs: 18
  1   numberOfSelectedInputs: 19
  1   numberOfSelectedInputs: 20
  2   numberOfSelectedInputs: 21
  1   numberOfSelectedInputs: 22
  2   numberOfSelectedInputs: 23
  2   numberOfSelectedInputs: 25
  1   numberOfSelectedInputs: 26
  1   numberOfSelectedInputs: 29
  1   numberOfSelectedInputs: 30
  2   numberOfSelectedInputs: 31
  1   numberOfSelectedInputs: 32
  1   numberOfSelectedInputs: 38
 49   numberOfSelectedInputs: 47

In the above test run, in 49 cases out of 100, the entire UTxO set was consumed.
After applying this PR
Time required to generate a fee estimate:
$ time curl -X POST http://localhost:8090/v2/wallets/c8b5cd51de6c0c84c5404fca06a02007e650548f/payment-fees     -d '{"payments":[{"address":"addr_test1qzg9mz36rmw4k24hpnnmhfmvrfj8vydmc4rl970zdxfd5ltgrnkw3ewxurn9kuwfuq7gexjulr0s9wthlxa37z2ezwcqy3cxhm", "amount":{"quantity":2164303103,"unit":"lovelace"}}]}'     -H "Content-Type: application/json"
{"estimated_min":{"quantity":231206,"unit":"lovelace"},"deposit":{"quantity":0,"unit":"lovelace"},"minimum_coins":[{"quantity":1000000,"unit":"lovelace"}],"estimated_max":{"quantity":1927085,"unit":"lovelace"}}
real    0m19.462s
user    0m0.003s
sys     0m0.005s

Number of inputs selected:
$ grep numberOfSelectedInputs cardano-wallet.log | sort -V | uniq -c
  5   numberOfSelectedInputs: 2
  4   numberOfSelectedInputs: 3
  2   numberOfSelectedInputs: 4
  1   numberOfSelectedInputs: 5
  3   numberOfSelectedInputs: 6
  1   numberOfSelectedInputs: 7
  1   numberOfSelectedInputs: 8
  2   numberOfSelectedInputs: 9
  1   numberOfSelectedInputs: 10
  1   numberOfSelectedInputs: 12
  3   numberOfSelectedInputs: 13
  1   numberOfSelectedInputs: 14
  1   numberOfSelectedInputs: 15
  1   numberOfSelectedInputs: 16
  1   numberOfSelectedInputs: 17
  4   numberOfSelectedInputs: 18
  2   numberOfSelectedInputs: 19
  5   numberOfSelectedInputs: 20
  3   numberOfSelectedInputs: 21
  1   numberOfSelectedInputs: 22
  3   numberOfSelectedInputs: 23
  1   numberOfSelectedInputs: 24
  2   numberOfSelectedInputs: 25
  2   numberOfSelectedInputs: 27
  3   numberOfSelectedInputs: 29
  3   numberOfSelectedInputs: 30
  1   numberOfSelectedInputs: 31
  3   numberOfSelectedInputs: 32
  2   numberOfSelectedInputs: 33
  2   numberOfSelectedInputs: 34
  3   numberOfSelectedInputs: 35
  5   numberOfSelectedInputs: 36
  2   numberOfSelectedInputs: 37
  2   numberOfSelectedInputs: 39
  4   numberOfSelectedInputs: 40
  5   numberOfSelectedInputs: 41
  5   numberOfSelectedInputs: 42
  4   numberOfSelectedInputs: 43
  3   numberOfSelectedInputs: 44
  2   numberOfSelectedInputs: 45

Now the number of selected inputs has a much flatter distribution, and we never hit the case where the entire UTxO set is consumed.

bors r+

bors r-

bors r+


No product_names available in datacube_viewer nb

@alexgleith Jorge and I are receiving the error below when running the "datacube_viewer" notebook when running in fresh deployments in Azure. Not sure when the error started, is this an indexing issue?
`---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
 in
14         'fillOpacity': 0.05,
15         'color': 'teal',
---> 16         'weight': 0.7
17     }
18 )
/env/lib/python3.6/site-packages/odc/ui/_dc_explore.py in init(self, dc, time, products, zoom, center, height, width, style)
55                                     center=center,
56                                     height=height,
---> 57                                     width=width)
58         self._state = state
59         self._gui = gui
/env/lib/python3.6/site-packages/odc/ui/_dc_explore.py in _build_ui(self, product_names, time, zoom, center, height, width)
126
127         state = SimpleNamespace(time=time,
--> 128                                 product=product_names[0],
129                                 count=0,
130                                 bounds=None)
IndexError: list index out of range`

Hey @patrickmuston1 has indexing completed? I looked at this in the AWS deployment and it worked ok.
Can I get some Azure credits to test with?
Also, on the command line in Jupyter, what is the output of datacube products list

fixed in commit [https://github.com/EY-Data-Science-Program/2020-bushfire-challenge/commit/0492b121464d451147b7250fde8ef769b8e10f46]


toLowercase method compromises indexed searches

OrientDB Version: 2.2.33
Java Version: openjdk 1.8
OS: alpine 3.4
Expected behavior
select * from CarbonUser where name.toLowercase() == 'mary'

Actual behavior
select * from CarbonUser where name.toLowercase() == 'mary'

Steps to reproduce
Just use the toLowercase method on indexed fields in search query

Hi @gianluca-valentini
That's correct, OrientDB cannot use indexes in this case.
But you have at least two alternatives:

you can define case-insensitive indexes and then do the query without the toLowercase(), eg.

CREATE INDEX CarbonUser.name ON CarbonUser (name COLLATE ci) NOTUNIQUE

you can use LUCENE indexes, that are case insensitive by default

Thanks
Luigi

Hi @luigidellaquila
I execute
CREATE INDEX CarbonUser.name ON CarbonUser (name COLLATE ci) NOTUNIQUE
And now it works as expected.

But there is still one scenario where the behavior is case sensitive.
If you use the any() construct  the database still perform a case-sensitive research, ignoring the ci collate
select * from CarbonUser where any() = 'MAry'

Have you any suggestion for this scenario?
Gianluca

Hi @luigidellaquila
thanks a lot. What about the performace using LUCENE insteadof NOTUNIQUE?
In my opinon the LUCENE index is useful when you try to search a word in a big text. So I thought to exclude it as I need to search on some Class fields, as name, surname userid

Hi @gianluca-valentini
Lucene performance is very good, even with small text, so you can definitely consider it
Thanks
Luigi

Thanks a lot @luigidellaquila

Do you think that Lucene index is good also for Long fields?
In my case I need also to execute a query where lastExecutionTime (is a Long) > 100000
but, looking the Explain result, no index is involved during its execution.
Thanks
Gianluca

Hi @gianluca-valentini
if you need range queries you can use Lucene
https://orientdb.com/docs/2.2.x/Full-Text-Index.html#numeric-and-date-range-queries-from-2214

Thanks a lot


Small screen size breaks the send form

Hey @gregLibert, what size did you put your screen in ?

Hey @gregLibert, what size did you put your screen in ?

I don't know. The smaller possible value if I remember well

Hey @gregLibert, what size did you put your screen in ?

I don't know. The smaller possible value if I remember well

Ok! I will check for small laptop screen If this bug is still around. 👍🏻

1920x1080px

1440x900px

1366x768px

After reading the DoD, I can see that the site adapts well to 3 screen sizes.

This ticket will be prioritised and when it will, it will also be more generic to address the responsiveness of all the components of our UI-kit :)


fix reply progress bar bug( PR#118)

fix reply progress bar bug

Coverage remained the same at 58.781% when pulling 170f1735020e12be025f7437f021dfba1cab39f2 on YumiChen:master into 69578a82c7fd9e8ba531172aecb42ebabf499f4e on cofacts:master.

LGTM! thanks!


replace error-chain with Failure

Replace the current error handling with Failure

Completed in https://github.com/georust/rust-gdal/pull/58


scaleLinear not exported by d3-scale.v3.js?

Really sorry to bother you with this, I've been using CommonJS for years but am less familiar with ES2015 module syntax. I and am attempting to replicate this Svelte example using D3 scale
Using https://d3js.org/d3-scale.v3.js
import { scaleLinear } from '../thirdparty/d3-scale.v3.js'

Results in:
[!] Error: 'scaleLinear' is not exported by src\frontend\thirdparty\d3-scale.v3.js

How can I import scaleLinear? I have attempted to understand how d3-scale is doing it's exports but there is some magic using defineProperty() that I don't understand the rationale behind.

The d3-scale.v3.js you’re referring to is not an ES module; it’s a UMD that’s intended to be used from CommonJS, AMD (e.g., d3-require) or as a script element with global export.
If you want the ES module entry point, it’s the module field in the package.json, which is currently src/index.js. However, because d3-scale has external dependencies (such as d3-interpolate), it uses bare imports. You’ll either need a bundler that knows how to resolve these dependencies (such as Rollup) or an import map.
(See also https://github.com/d3/d3/issues/3336.)


Unrecognized VM option 'MaxPermSize=1G' with OpenJDK 17

Remove the argument -XX:MaxPermSize=1G in the gradle.properties file of a generated project.
See https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#removed-java-options:
Removed Java Options
These java options have been removed in JDK 17 and using them results in an error of:
-XX:MaxPermSize=size
Sets the maximum permanent generation space size (in bytes). This option was deprecated in JDK 8 and superseded by the -XX:MaxMetaspaceSize option.

Uh, OK. I wasn't expecting that. I'd like to replace with -XX:MaxMetaspaceSize , as long as it's still supported by both 17 and 8. I'll look into this, and I might just remove the max size for this entirely.


Link broken for Architecture approaches for Microsoft cloud tenant-to-tenant migrations

Hello,
After removing tenant-to-tenant file from downloads folder, the link in Microsoft cloud for enterprise architects illustrations to the same seems broken. Is there a new document to be linked?

@septst Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/4439
Thanks
Sri


hack/swagger-gen.sh is not exist

- What I did
Change hack/swagger-gen.sh to hack/generate-swagger-api.sh.
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: yupeng<EMAIL_ADDRESS>

Thanks! I guess I renamed the script and forgot to change the template


Images can't display because of incorrect file names

Describe the bug
Some of the images in the documentation can not be displayed because the file names in markdown are not correct.
To Reproduce
Example: https://www.useboomerang.io/docs/boomerang-flow/3.4.1/getting-to-know/triggers
The image for configure tab can't be displayed.
Expected behavior
Images are loaded correctly
Screenshots

Additional context
a throwaway bash script for finding incorrect image filenames in markdown.
grep -E -i -r --include '*.md' '\.(png|svg)' . | awk -F':' '{print $2}' | gsed -E 's/.*\(\.?\/.*\/(.*\.(png|svg))\).*/\1/g' | sort | uniq | while read -r i;do
    find . -name "$i" | grep -q . || echo "$i"
done

Fixed with #51


chore: release 1.0.0

:robot: I have created a release *beep* *boop*
1.0.0 (2020-07-25)
⚠ BREAKING CHANGES

/api/build endpoint, github action (#15)

Features

/api/build endpoint, github action (#15) (7b411d5)
github action improvements (#91) (ee9cc51)

This PR was generated with Release Please.

@StuartRucker I'm adding functionality to release-please that will let us automate tagging releases when updates to the action are made, this way we can just ask folks to use a given version of the action, e.g.,
<EMAIL_ADDRESS>


Handle Uncaught Attestation Exceptions

For example, if someone tries to verify a phone number for which Twilio cannot send SMS messages, an exception will be raised:

The DApp should render an alert instead of swallowing exceptions like this for each of the attestation services.
Steps to Reproduce

Try to verify phone number 🇮🇹050835011
Check the console

@sparrowDom I just saw in one of your recent commits that you've added supported for handling general errors like this (at least to the phone verification). It looks like your work on #152  is going to close this issue as well so I've unassigned myself for now. Happy to help out though if you'd like me to work on part of it.

Hey @tomlinton thanks for the heads up. Yeah looks like this ticket should be resolved along with issue https://github.com/OriginProtocol/origin-dapp/issues/152 like you mention. And thanks will let you know if I need some help.
I saw you cleared some stuff up and made better error reporting when doing https://github.com/OriginProtocol/origin-bridge/pull/113. Effort done there will help a lot with https://github.com/OriginProtocol/origin-dapp/issues/152.

Done via #303 ✅


Wildcard is broken in publickey

Looks like wildcard is broken after this commit.
$ ./RsaCtfTool.py --publickey "*.pub" --private --verbose

Traceback (most recent call last):
  File "./RsaCtfTool.py", line 655, in <module>
    key = open(args.publickey, 'rb').read()
FileNotFoundError: [Errno 2] No such file or directory: '*.pub'

Thx for the issue.
Fixed in latest commit.


Section suspension does not assign Vet Ban for Veteran Raids

There is no way to configure a role for it at the moment either.

A role is unnecessary. This is internally logged in the database and you can check if the person is section suspended by using an appropriate command. I also do not plan on adding a role that designates this.
What do you have in mind?

Wait, so does it use channel permissions to only ban the player from that section or from verification for that section?

All the bot needs to do is remove the section member role from the person and then prevent that person from verifying into said section.
Editing channel permissions is not feasible due to the possibility that we need to make hundreds of overrides.

If a role is preferred, I can add it at a later time.

I agree with your approach, we need to handle vet verification through the bot next then for it to work.


[WIP] Argparser Improvements

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @nateraw! Thanks for updating this PR.

In the file tests/utils/test_arguments.py:

Line 83:14: W291 trailing whitespace

@awaelchli

Add docs please :)

Honestly I would prefer:
parser.add("model", MyLightningModule)
parser.add("data", MyDataModule)

That way the use could always add any arbitrary object they want

Honestly I would prefer:
parser.add("model", MyLightningModule)
parser.add("data", MyDataModule)

That way the use could always add any arbitrary object they want

+1 to this. that's what add_object_args was before. which do you think is better function name? .add or .add_object_args? I figured the latter sounds more like argparse, but idc.

@nateraw are the arguments for the different objects added into ArgumentParser groups (using add_argument_group)? I've read the code and couldn't find add_argument_group being called.
I think it would significantly help the clarity of the command line help.
Also, regarding your question to @teddykoker I prefer using add_object_args, or perhaps even add_object_specific_args, which conforms to the norm suggested in the documentation for add_model_specific_args.

@nateraw is it still WIP, how is it going?

seems dead, right? @nateraw feel free to reopen if suitable...

seems dead, right? @nateraw feel free to reopen if suitable...


How to obtain the ONNX model of an encoder

I want to get the onnx from encoder,the notebooks only provides the onnx conversion method for the decoder.I would greatly appreciate it if I could receive help

https://github.com/facebookresearch/segment-anything/pull/29


[Minor] Browse working directory UI doesn't work as expected

This is a very minor bug, where when adding / editing a target, when you use the UI to set the working directory you can mistakenly choose a file as the working directory as shown below:

When this happens, the only way to correct the working directly is to
(i) re-setup the target
(ii) Manually enter the working directory path.

I'll fix this, the directory picking is not great right now... But in the meantime, you shouldn't need to recreate the target, you can just edit the text after picking the file.

I'll fix this, the directory picking is not great right now... But in the meantime, you shouldn't need to recreate the target, you can just edit the text after picking the file.

Not sure why I didn't try this out first, but editing the text works perfectly. Thanks for the info!


Add dashaw92.rs

Fixes or introduces:
Proposed Changes

Add my profile in Rust

Thanks for contributing!


[Bug report] Gravitino 0.6.0 rat test fails when checking release candidate

Version
main branch
Describe what's wrong
Download the 0.6.0 release artifact, untar, and try to compile and you get an error.

Here are the commands:

download gravitino-0.6.0-incubating-src.tar.gz from https://dist.apache.org/repos/dist/dev/incubator/gravitino/v0.6.0-incubating-rc5/
Untar with tar -xvf gravitino-0.6.0-incubating-src.tar.gz
Change directorycd gravitino-0.6.0-incubating-src
Build with ./gradlew build

Ah, I found what the issue is, the source contains ./gradle/wrapper/gradle-wrapper.jar

Ah, I found what the issue is, the source contains ./gradle/wrapper/gradle-wrapper.jar

Sorry, I don't understand.
Before running the command  ./gradlew build, there are no jars in ./gradle/wrapper
After running the command ./gradlew build on my Mac, the build was successful in 4 minutes and 15 seconds. It produced a gradle-wrapper.jar in the directory ./gradle/wrapper.
So what's wrong?

I doubt if you have any local directory files that haven't been cleared. Can you verify using this command?
rm -rf gravitino-0.6.0-incubating-src && rm -rf gravitino-0.6.0-incubating-src.tar.gz && wget https://dist.apache.org/repos/dist/dev/incubator/gravitino/v0.6.0-incubating-rc5/gravitino-0.6.0-incubating-src.tar.gz && tar -zxf gravitino-0.6.0-incubating-src.tar.gz && cd gravitino-0.6.0-incubating-src && ./gradlew build

Yep as you say the jar is not in the source artifact. Perhaps what is happening is that jar is getting downloaded before the rat finishes its run and the rat is getting the error that way?

Have you verified the commands I provided above? Is the result still the same?

The results are not always the same (even though they should be) I've run it several times and got a Python error (in the client-python:envSetup part) on 3 occasions, and it built correctly on two occasions. I'm guessing some sequence/concurrency issue is going on.
I can verify that that jar is being downloaded before rat is run so it does show up in the rat report, I think is it possible that other files created as part of the build process could possibly cause rat to fail.


Is it possible to hide a resource from side menu?

I'd like to hide a resource completely but still be able to access it via other resources relations.
Basically I want a resource not to show up on the side menu.
Is this currently possible?
Thanks in advance

Possible via resource configuration:
Example with sequelize:
const { Model } = require('../models');

module.exports = {
    resource: Model,
    options: {
        properties: { ... },
        actions: {
            list: {
                isAccessible: false, // This hides it from the panel but SHOW is still accessible via links.
            },
        },
    },
};

Found the answer on this example

there is also a new option href: https://softwarebrothers.github.io/admin-bro-dev/ResourceOptions.html#href which allows you to redirect users to show action


Correct external links

Document is missing opening square brackets. This fixes it.

Docs Build status updates of commit e41f1e5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

outlook/How-to/Items-Folders-and-Stores/outlook-item-objects.md
:bulb:Suggestion
View
Details

outlook/How-to/Items-Folders-and-Stores/outlook-item-objects.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

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


QR Code for MFA

When enrolling the client into MFA, and using Authy as the ToTP application, it cannot find the logo to use.  By default Authy is picking Microsoft Kaizala.  If you edit the logo and search for OpenZiti, it will find it and all is well.  This is due to the account name starting with "ziti.dev".  If you change this to search for OpenZiti, then it finds the correct logo.
Searching for Ziti finds Mario the Baker.  So, can the account name be changed to be openziti: name

Thanks for this. @andrewpmartinez -- this goes back to our conversation wrt ziti.dev, as I'm sure you recall. :) I'm going to transfer this to the edge repo


Seems not working anymore

./flight-scraper -departure=FCO -arrival=AMS -date=2023-04-12<EMAIL_ADDRESS>Fetching results...
Parsing results...
No results parsed.

Hi @doxt3r, probably Kayak changed the HTML/CSS structure, and the parsing function doesn't work anymore, see https://github.com/antodippo/flight-scraper/blob/master/ParseKayakResults.go
I don't have much time to look into it at the moment, but I will give an update here whenever I can.


Improve TreeView example

Review the code to create dynamically TreeViewItems recursively.

Reviewed the code. Nothing to do.


Unexpected token >

vedantkarande93 changed the title from When i install this npm in centos it is not working. It gives me err like "Unexpected token >" and if I installed this npm in Ubuntu then it is properly running to Unexpected token >

When i install this npm in centos it is not working. It gives me err like "Unexpected token >" and if I installed this npm in Ubuntu then it is properly running

There is no need of token to make the call to tiny url service. Its a web hosted service open to anyone


ERROR: Verifying deployment

I get an error when deploying the app to the server:
`
MBP-Anton:EventsApp-MeteorUp antonioffe$ mupx setup
Meteor Up: Production Quality Meteor Deployments
Configuration file : mup.json
Settings file      : settings.json
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Started TaskList: Setup (linux)
[<IP_ADDRESS>] - Installing Docker
[<IP_ADDRESS>] - Installing Docker: SUCCESS
[<IP_ADDRESS>] - Setting up Environment
[<IP_ADDRESS>] - Setting up Environment: SUCCESS
[<IP_ADDRESS>] - Copying MongoDB configuration
[<IP_ADDRESS>] - Copying MongoDB configuration: SUCCESS
[<IP_ADDRESS>] - Installing MongoDB
[<IP_ADDRESS>] - Installing MongoDB: SUCCESS
MBP-Anton:EventsApp-MeteorUp antonioffe$ mupx deploy
Meteor Up: Production Quality Meteor Deployments
Configuration file : mup.json
Settings file      : settings.json
“ Checkout Kadira!
It's the best way to monitor performance of your app.
Visit: https://kadira.io/mup ”
Meteor app path    : /Users/antonioffe/Desktop/Документы/Web/MAMP/meteor/EventsApp
Using buildOptions : {}
Started TaskList: Deploy app 'meteor' (linux)
[<IP_ADDRESS>] - Uploading bundle
[<IP_ADDRESS>] - Uploading bundle: SUCCESS
[<IP_ADDRESS>] - Sending environment variables
[<IP_ADDRESS>] - Sending environment variables: SUCCESS
[<IP_ADDRESS>] - Initializing start script
[<IP_ADDRESS>] - Initializing start script: SUCCESS
[<IP_ADDRESS>] - Invoking deployment process
[<IP_ADDRESS>] - Invoking deployment process: SUCCESS
[<IP_ADDRESS>] - Verifying deployment
[<IP_ADDRESS>] x Verifying deployment: FAILED
-----------------------------------STDERR-----------------------------------
 deprecated may need to prefix the preceding commands with `sudo`, or if
npm WARN deprecated on Windows, run them from an Administrator prompt.)
npm WARN deprecated
npm WARN deprecated If you're running the version of npm bundled with
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
npm WARN deprecated will be bundled with a version of npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
npm WARN deprecated semver behavior.
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data

><EMAIL_ADDRESS>install /bundle/bundle/programs/server/node_modules/fibers
> node build.js || nodejs build.js

make: Entering directory `/bundle/bundle/programs/server/node_modules/fibers/build'
  CXX(target) Release/obj.target/fibers/src/fibers.o

=> Redeploying previous version of the app

-----------------------------------STDOUT-----------------------------------

To see more logs type 'mup logs --tail=50'

----------------------------------------------------------------------------

`
Here are the latest logs:
`
MBP-Anton:EventsApp-MeteorUp antonioffe$ mupx logs --tail=50
Meteor Up: Production Quality Meteor Deployments
Configuration file : mup.json
Settings file      : settings.json
[<IP_ADDRESS>]     at Object. (/bundle/bundle/programs/server/node_modules/fibers/fibers.js:16:8)
[<IP_ADDRESS>]     at Module._compile (module.js:456:26)
[<IP_ADDRESS>]     at Object.Module._extensions..js (module.js:474:10)
[<IP_ADDRESS>]     at Module.load (module.js:356:32)
[<IP_ADDRESS>]     at Function.Module._load (module.js:312:12)
[<IP_ADDRESS>]     at Module.require (module.js:364:17)
[<IP_ADDRESS>]     at require (module.js:380:17)
[<IP_ADDRESS>]     at Object. (/bundle/bundle/programs/server/boot.js:1:75)
[<IP_ADDRESS>]     at Module._compile (module.js:456:26)
[<IP_ADDRESS>]     at Object.Module._extensions..js (module.js:474:10)
[<IP_ADDRESS>] npm WARN deprecated This version of npm lacks support for important features,
[<IP_ADDRESS>] npm WARN deprecated such as scoped packages, offered by the primary npm
[<IP_ADDRESS>] npm WARN deprecated registry. Consider upgrading to at least npm@2, if not the
[<IP_ADDRESS>] npm WARN deprecated latest stable version. To upgrade to npm@2, run:
[<IP_ADDRESS>] npm WARN deprecated
[<IP_ADDRESS>] npm WARN deprecated   npm -g install npm@latest-2
[<IP_ADDRESS>] npm WARN deprecated
[<IP_ADDRESS>] npm WARN deprecated To upgrade to the latest stable version, run:
[<IP_ADDRESS>] npm WARN deprecated
[<IP_ADDRESS>] npm WARN deprecated   npm -g install npm@latest
[<IP_ADDRESS>] npm WARN deprecated
[<IP_ADDRESS>] npm WARN deprecated (Depending on how Node.js was installed on your system, you
[<IP_ADDRESS>] npm WARN deprecated may need to prefix the preceding commands with sudo, or if
[<IP_ADDRESS>] npm WARN deprecated on Windows, run them from an Administrator prompt.)
[<IP_ADDRESS>] npm WARN deprecated
[<IP_ADDRESS>] npm WARN deprecated If you're running the version of npm bundled with
[<IP_ADDRESS>] npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
[<IP_ADDRESS>] npm WARN deprecated will be bundled with a version of npm@2, which has some small
[<IP_ADDRESS>] npm WARN deprecated backwards-incompatible changes made to npm run-script and
[<IP_ADDRESS>] npm WARN deprecated semver behavior.
[<IP_ADDRESS>] npm WARN package.json<EMAIL_ADDRESS>No description
[<IP_ADDRESS>] npm WARN package.json<EMAIL_ADDRESS>No repository field.
[<IP_ADDRESS>] npm WARN package.json<EMAIL_ADDRESS>No README data
[<IP_ADDRESS>] npm WARN cannot run in wd<EMAIL_ADDRESS>node npm-rebuild.js (wd=/bundle/bundle/programs/server)
[<IP_ADDRESS>] => Starting meteor app on port:80
[<IP_ADDRESS>]
[<IP_ADDRESS>] /bundle/bundle/programs/server/node_modules/fibers/fibers.js:16
[<IP_ADDRESS>] 	throw new Error(''+ modPath+ '.node is missing. Try reinstalling node-fibe [<IP_ADDRESS>] 	      ^ [<IP_ADDRESS>] Error: /bundle/bundle/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.nodeis missing. Try reinstallingnode-fibers? [<IP_ADDRESS>]     at Object.<anonymous> (/bundle/bundle/programs/server/node_modules/fibers/fibers.js:16:8) [<IP_ADDRESS>]     at Module._compile (module.js:456:26) [<IP_ADDRESS>]     at Object.Module._extensions..js (module.js:474:10) [<IP_ADDRESS>]     at Module.load (module.js:356:32) [<IP_ADDRESS>]     at Function.Module._load (module.js:312:12) [<IP_ADDRESS>]     at Module.require (module.js:364:17) [<IP_ADDRESS>]     at require (module.js:380:17) [<IP_ADDRESS>]     at Object.<anonymous> (/bundle/bundle/programs/server/boot.js:1:75) [<IP_ADDRESS>]     at Module._compile (module.js:456:26) [<IP_ADDRESS>]     at Object.Module._extensions..js (module.js:474:10) MBP-Anton:EventsApp-MeteorUp antonioffe$
When I start a new standart meteor app and try to deploy it with mupx deploy - i get error.
When I start a new standart meteor app and try to deploy it with mupx deploy, but first do mupx setup - it works well!
When i add needed packages and code - i get error again.
BUT!
When i just started trying to deploy the first time with the whole code it worked well, too!
Then i added body-parser with
meteor npm install body-parser
... and tryed Npm.require('body-parser') - I started to constantly get such errors. Event after rebuilding the whole app without body-parser.
Now I can not deploy the app... And can not fugire out where is the problem...

I changed   "deployCheckWaitTime" to 60 and deployment worked well again!
Thanks https://github.com/arunoda/meteor-up/issues/305
https://github.com/arunoda/meteor-up/issues/905

weird funny error that shows up for a lot of people and is fixed with waiting time on deploy..
that's realllllly weird //=
doesn't seem to solve my issue tough


feat: Icon Button

SUMMARY
I have created a new Icon Button. The button can be customized with the following parameters:
buttonText: string;
logo: string;
altText?: string;

SCREENSHOT

TESTING INSTRUCTIONS

Run Storybook
Click IconButton > Interactive IconButton
Interact with the available arguments to observe customization

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

Just a few small nits, but it looks great, and I'm looking forward to using this component. Thanks @lyndsiWilliams!


CASMINST-2951: Clarify LDAP setting examples and change bullets to numbered tasks

Summary and Scope
CASMINST-2951: Clarify LDAP setting examples and change bullets to numbered tasks
Issues and Related PRs
Testing
Tested on:
Test description:
Risks and Mitigations
Pull Request Checklist

/backport release/1.2


I have to keep using VPN and need help with this problem

Yes, I have encountered this problem too, hope it can be solved

Please share your backend logs

Backend log：
INFO:     ('<IP_ADDRESS>', 53938) - "WebSocket /generate-code" [accepted]
INFO:     connection open
Using OpenAI API key from client-side settings dialog
generating code...
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 247, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/fastapi/applications.py", line 276, in call
await super().call(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/fastapi/routing.py", line 289, in app
await dependant.call(**values)
File "/Users/mark/Desktop/AI/screenshot-to-code-main/backend/main.py", line 100, in stream_code_test
completion = await stream_openai_response(
File "/Users/mark/Desktop/AI/screenshot-to-code-main/backend/llm.py", line 11, in stream_openai_response
client = AsyncOpenAI(api_key=api_key)
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/openai/_client.py", line 313, in init
super().init(
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/openai/_base_client.py", line 1182, in init
self._client = http_client or httpx.AsyncClient(
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1408, in init
self._mounts: typing.Dict[URLPattern, typing.Optional[AsyncBaseTransport]] = {
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1411, in
else self._init_proxy_transport(
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/httpx/_client.py", line 1464, in _init_proxy_transport
return AsyncHTTPTransport(
File "/Users/mark/Library/Caches/pypoetry/virtualenvs/backend-LkJV4r1g-py3.10/lib/python3.10/site-packages/httpx/_transports/default.py", line 309, in init
raise ImportError(
ImportError: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using pip install httpx[socks].
INFO:     connection closed

INFO:     Will watch for changes in these directories: ['/Users/Data/screenshot-to-code/backend']
INFO:     Uvicorn running on http://<IP_ADDRESS>:7000 (Press CTRL+C to quit)
INFO:     Started reloader process [10044] using StatReload
INFO:     Started server process [10048]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     ('<IP_ADDRESS>', 52665) - "WebSocket /generate-code" [accepted]
INFO:     connection open
Using OpenAI API key from environment variable
generating code...
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 247, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/applications.py", line 276, in call
await super().call(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/routing.py", line 289, in app
await dependant.call(**values)
File "/Users/Data/screenshot-to-code/backend/main.py", line 100, in stream_code_test
completion = await stream_openai_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/screenshot-to-code/backend/llm.py", line 23, in stream_openai_response
completion = await client.chat.completions.create(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py", line 1191, in create
return await self._post(
^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1474, in post
return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1275, in request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1318, in _request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model gpt-4-vision-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
INFO:     connection closed
INFO:     ('<IP_ADDRESS>', 52681) - "WebSocket /generate-code" [accepted]
INFO:     connection open
Using OpenAI API key from environment variable
generating code...
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 247, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/applications.py", line 276, in call
await super().call(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/middleware/errors.py", line 149, in call
await self.app(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 341, in handle
await self.app(scope, receive, send)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 82, in app
await func(session)
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/fastapi/routing.py", line 289, in app
await dependant.call(**values)
File "/Users/Data/screenshot-to-code/backend/main.py", line 100, in stream_code_test
completion = await stream_openai_response(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/screenshot-to-code/backend/llm.py", line 23, in stream_openai_response
completion = await client.chat.completions.create(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py", line 1191, in create
return await self._post(
^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1474, in post
return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1275, in request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "/Users/Data/Library/Caches/pypoetry/virtualenvs/backend-7PreVEuP-py3.12/lib/python3.12/site-packages/openai/_base_client.py", line 1318, in _request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'message': 'The model gpt-4-vision-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}
INFO:     connection closed

@Shawn-Jones-7 your API key doesn't have the vision model available. Please see FAQ. " {'error': {'message': 'The model gpt-4-vision-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}"
@Laixinsz can you try running pip install httpx[socks] as your logs suggest?

Going to close this issue. Feel free to re-open if those fixes don't solve it.

I have encountered this problem too and I have installed httpx[socks],but same problem


Adds eslint and markdownlint to pre-commit hook

⚠ Depends on https://github.com/CesiumGS/cesium/pull/10411 being marged into main first. Once that is done, the destination branch can be changed to main.
In order to reduce cases where ESLint errors are caught too late in CI process, this PR adds eslint and markdownlint to the pre-commit hook.
If the eslint cache is not built, this means that the first commit will take a while to run, however, subsequent commits will be fast.

Thanks for the pull request @sanjeetsuhag!

:heavy_check_mark: Signed CLA found.
:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@sanjeetsuhag I couldn't get markdownlint to fail on an invalid commit. Did you have any luck?
Also, eslint takes a few seconds to run on the whole codebase. Plus it runs on files which may not have have been staged for the commit. lint-staged is a package you can use to configure the precommit hooks to only run on the staged files.

@ggetz I was able to get it to work. Just to double check, did you run npm install in case you switched branches?

I'll take a look at lint-staged and update the PR.


Move patch_list filtration to grid

Still wont support -t filtration, but it does filter the grid.

Codecov Report
Base: 82.16% // Head: 82.19% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (3884151) compared to base (e4cdcc0).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #177      +/-   ##
===========================================
+ Coverage    82.16%   82.19%   +0.03%
===========================================
  Files           50       50
  Lines         3750     3752       +2
===========================================
+ Hits          3081     3084       +3
+ Misses         669      668       -1

Impacted Files
Coverage Δ

eogrow/core/area/base.py
100.00% <100.00%> (+1.25%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Integration does no longer work after PCM upgrade - can be Closed

After the upgrade to PCM 6 (the 'colored icons' update) the integration is no longer working.
Error message:
Logger: custom_components.porscheconnect
Source: custom_components/porscheconnect/init.py:175
Integration: Porsche Connect (documentation, issues)
First occurred: 20:01:37 (13 occurrences)
Last logged: 20:14:07
Unexpected error fetching porscheconnect data: string indices must be integers
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/porscheconnect/init.py", line 175, in _async_update_data
vin = vehicle["vin"]
TypeError: string indices must be integers

Exactly the same issue here.

I would need some help on this one as I don't have access to a car with PCM 6.
Can someone install the python library and do a porschecli list? Looks like the output format might have changed with PCM 6 and I need to figure out in what way...

Happy to help, but this is already beyond my capabilities. I sthere another way to get you the Output format ?

hi! if that helps: i have PCM6 in a taycan MJ22 and it works well. (it was already delivered with PCM6).
But there seems to be an update for PCM6, it is called "WNK1" - you only get this at your dealer, not via OTA according to info from MyPorsche Service. Maybe you have this WNK1 Update already?

I already have WNK1, that is the update (from white icons to coloured) that caused the HA integration to stop working.
Thanks for your comments though. @CNJE: How can we get you a PCM6 car with the WNK1 update ;-)

actually WNK1 is an update OF the colored icons one.
i have colored icons one already since delivery, i'll get WNK1 end of january though. curious how we can help to fix this.
@midget1234 to run porschecli as mentioned by @CJNE, i guess you need to to the following:

open a new SSH/Terminal session on Home assistant (e.g. through one of the addons)
run "pip install pyporscheconnectapi" and follow the instructions
run "sudo porschecli list" afterwards, enter your myporsche credentials when asked
send @CJNE  the output.

hope that helps, @CJNE  please confirm the steps :)

I am back in business.. I installed th enew (?) integration that was shown in HACS and this works like a charm. Thanks to the developpers who made changes..  All is working as before WITH the car being updated to latest PCM version.

How can I 'close' this issue ?

Thanks for letting me know, I haven't changed anything so it must have been a temporary problem then :)

Verstuurd vanaf mijn iPhoneOp 4 jan. 2023 om 00:38 heeft Johan Isacsson @.***> het volgende geschreven:Those are the best ones 😁..
Thanks for letting me know, I haven't changed anything so it must have been a temporary problem then :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


NOTICE: goversion and cargo-auditable will be removed in a future version

blint would become the official tool to generate post-build sboms for binaries. This PR adds support for go with rust following quite soon.
As an added benefit, blint also supports dotnet and android binaries, which are not supported by cdxgen.
https://github.com/CycloneDX/cdxgen-plugins-bin/tree/main/thirdparty
After removal, trivy would be the only plugin remaining, and it would eventually get replaced by blint.

1.6.0 released without goversion and cargo-auditable.


Add Option Functionality for Appium (Output options)

For Appium, needs to be able to output a java class file and be able to run the input on the given app as the JSON file is being translated to Appium. The user gets to choose which one they want.

You have the class file at least. Was there luck on getting a live feed going?

I have a live version going for Appium that works by just passing it
TestCase tc from Main.java.
On Mar 3, 2016 11:30 PM, "MarkHutchens"<EMAIL_ADDRESS>wrote:

You have the class file at least. Was there luck on getting a live feed
going?
—
Reply to this email directly or view it on GitHub
https://github.com/TranslationWMcs435/TranslationWMcs435/issues/19#issuecomment-192095979
.


Add Content-Type and X-Request-Id as allowed CORS headers

The UI will use Content-Type and might use X-Request-Id
when communicating with the backend. These headers should
be allowed to pass the CORS Policy.
@joshuawilson This should fix your CORS issue with 'create workitem'

This change is

LGTM


Modules to calculate EPG from EPC

What is the expected behavior?
RB utility supports function to count number of gate per Clifford and the EPC can be extracted by the RB fitter. Combining these two, we can estimate EPGs of u1, u2, u3 gate and then the EPG of two qubit gate is also able to be calculated without contribution of single qubit gate errors.
This is very convenient to compare the RB results with backend reported gate fidelity.

(transferred from #360) This is TODO list to track merging process of EPG utils.

[ ] merge #345 and rewrite docstring in this PR accordingly
[ ] merge #360
[ ] merge #335 with unittest based on this PR
[ ] update tutorial notebook

A list of notebooks that should be updated:

4 tutorial notebooks in:
https://github.com/Qiskit/qiskit-iqx-tutorials/tree/master/qiskit/advanced/ignis
2 community notebooks in:
https://github.com/Qiskit/qiskit-community-tutorials/tree/master/ignis
section 5.3 in qiskit textbook:
https://qiskit.org/textbook/ch-quantum-hardware/randomized-benchmarking.html

Here are the relevant PR's for the tutorials:

https://github.com/Qiskit/qiskit/pull/866
https://github.com/Qiskit/qiskit-community-tutorials/pull/76


Pending txs when listed on the wallet have inserted_at field instead of pending_since.

Release
Operating System
Cause

next
Windows & OSX & Linux)
Code  v Configuration v Environment v Human v Unknown

Context
Pending txs when listed on the wallet have inserted_at field instead of pending_since.
Steps to Reproduce

Send the transaction. Response reads:

    {
        "pending_since": {
            "time": "2019-10-29T16:45:38Z",
            "block": {
                "height": {
                    "quantity": 266,
                    "unit": "block"
                },
                "epoch_number": 5388493,
                "slot_number": 2
            }
        },
        "status": "pending",

List txs on the wallet you just sent tx from (while tx is still pending).

Expected behavior
Response should  read:
    {
        "pending_since": {
            "time": "2019-10-29T16:45:38Z",
            "block": {
                "height": {
                    "quantity": 266,
                    "unit": "block"
                },
                "epoch_number": 5388493,
                "slot_number": 2
            }
        },
        "status": "pending",

Actual behavior
Response reads:
    {
        "inserted_at": {
            "time": "2019-10-29T16:45:38Z",
            "block": {
                "height": {
                    "quantity": 266,
                    "unit": "block"
                },
                "epoch_number": 5388493,
                "slot_number": 2
            }
        },
        "status": "pending",

Resolution Plan

PR

Number
Base

#936
master

QA

Added a regression integration scenario (Regression #935) checking the following fixes:

Fixed field assignation to make sure that pendingWith is assigned when tx is Pending, and insertedAt otherwise.
Also fixed time calculation when creating transaction to consistently use the slot start time

lgtm.


What if instead, there's a text field option in settings for the user to put whatever they want? Would that get around any legal problems?

see #5

It's not really possible to make it an editable field unfortunately.

I don't know if it's illegal, but you can just edit load.py's 33th line
CLIENT_ID = b'386149818227097610'
to
CLIENT_ID = b'363413225578037248'
so you'll get Elite Dangerous instead of EDMC Discord Presence.

I just want to jump in and say that IANAL and I have no idea if its illegal or not so I am not liable for anyone changing IDs of the plugin. But its an open source project so anyone can take the source code and deploy it as their own plugin.


SSL Certificate Expired

Hey, just wanna let you know that your Let's Encrypt SSL certificate has expired and causes red alerts upon using the download link.

Almost skipped the application entirely because of that...


change ranges to use string versions

it's a little bit more concise to read without have String(i) and you see the 'quotation marks' instead

I like it, thanks!


add chest xray exploration demo

Codecov Report

Merging #296 (eacfa48) into main (5349f85) will decrease coverage by 0.01%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main     #296      +/-   ##
==========================================
- Coverage   67.56%   67.55%   -0.01%
==========================================
  Files         206      206
  Lines       11651    11654       +3
  Branches     1733     1734       +1
==========================================
+ Hits         7872     7873       +1
- Misses       3368     3374       +6
+ Partials      411      407       -4

Flag
Coverage Δ

unittests
67.55% <25.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

...rc/lib/component/contrib/gallery_query/__init__.py
25.49% <0.00%> (ø)

...ctive/app/src/lib/component/core/match/__init__.py
40.78% <33.33%> (-0.16%)
:arrow_down:

... and 4 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat(fhir.core): Improve computation of "content" code system property

Codecov Report
Base: 64.26% // Head: 64.26% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (af7b306) compared to base (9297afd).
Patch coverage: 64.70% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##                8.x    #1069      +/-   ##
============================================
- Coverage     64.26%   64.26%   -0.01%
- Complexity    12439    12440       +1
============================================
  Files          1732     1732
  Lines         58067    58079      +12
  Branches       5362     5365       +3
============================================
+ Hits          37315    37322       +7
- Misses        18449    18453       +4
- Partials       2303     2304       +1

Impacted Files
Coverage Δ

...equest/codesystem/FhirCodeSystemSearchRequest.java
87.75% <64.70%> (-12.25%)
:arrow_down:

...national/snowowl/core/locks/OperationLockInfo.java
43.33% <0.00%> (-3.34%)
:arrow_down:

...nternational/snowowl/core/events/util/Promise.java
73.21% <0.00%> (-1.79%)
:arrow_down:

...national/index/revision/BaseRevisionBranching.java
90.64% <0.00%> (+1.16%)
:arrow_up:

...om/b2international/index/es/log/Slf4jAppender.java
63.15% <0.00%> (+10.52%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Optional field not working with custom Validation

I have issues making a field Optional (using the annotation). I'm using FormFlow and I when I build the form I add a custom validation to the field, just to add some extra logic if the field has a value, but the bot keeps prompting for the field if no value is provided. If I remove my custom validator then the Optional works as expected but I really need to have both in my implementation.

How can I make the Optional and the validator work together?

This seems to work fine on the current release if you return new ValidateResult() { IsValid = true} from your field validation.


Greenkeeper/nsp 3.2.1

Coverage remained the same at 93.75% when pulling 38aa6baa3728dbd5e74bb0ad58ef6e6cef9d4a58 on greenkeeper/nsp-3.2.1 into 7938f57cd52e5539ebfb30674d63bacbb8df551b on master.


Computed Layout: Dim.Bottom is +2

Y = Pos.Bottom(Win) - 3 is required to have the control be at the bottom of a Window (the last row, inside of the Window's drawn frame). It makes no sense to me that I have to subtract 3 to get the last row of  Win. I thought it would have been -1.
This makes 'Left1 just visible:
			var leftButton = new Button ("Left") {
				Y = Pos.Bottom (Win) - 3
			};

This makes Left invisible:
			var leftButton = new Button ("Left") {
				Y = Pos.Bottom (Win) - 2
			};

etc...
I'm either confused about what Pos.Bottom is supposed to mean or this is a bug. Which is it?

The last row is always Rows - 1, so Window draw the border at Rows - 2 and any control above it have to be Rows - 3. That the way it is working.

The last row is always Rows - 1, so Window draw the border at Rows - 2 and any control above it have to be Rows - 3. That the way it is working.

I agree that's the way it's working.
I don't think it is correct.
Unless there is a good reason for it, we should fix it as it is not intuitive and feels broken.
0    +--------------------+
1    + Row == 0           +
2    + Row == 1           +
3    + Row == 2           +
4    +--------------------+
5
6

Pos.Top == 0
Pos.Bottom == 5
But you are saying it makes sense for Pos.Bottom to be 6. I just don't see how this makes any logical sense.

		public WindowsDriver ()
		{
			winConsole = new WindowsConsole ();

			SetupColorsAndBorders ();

			cols = Console.WindowWidth;
			rows = Console.WindowHeight;
			WindowsConsole.SmallRect.MakeEmpty (ref damageRegion);

			ResizeScreen ();
			UpdateOffScreen ();

			Task.Run ((Action)WindowsInputHandler);
		}

As you can see here the rows = Console.WindowHeight, so if you want to write to the bottom of the window you must code it must draw in rows - 1. Where is wrong here?


Compatibility with latest Android Studio and Gradle plugin

Hi,
Android Studio 3.2 and Android Gradle Plugin 3.2.0 requires protobuf-gradle-plugin to be at last at 0.8.6 version.
Cheers,

I'm going to wait on Flutter's official plugin repo to make these changes before applying them here.
Will leave open in the meantime. Thanks for your contribution!

Fixed via 2cf8cecb2f0f2bd80dd8562fa9ed8de0102954ef


Create Makefile target deploy-to-kind

What this PR does / why we need it:
To ease the deploying of Parodos in a Kind cluster use this new make deploy-to-kind target
Change type

[ ] New feature
[ ] Bug fix
[ ] Unit tests
[ ] Integration tests
[ ] CI
[ ] Documentation
[ ] Auto-generated SDK code

Impacted services

[ ] Workflow Service
[ ] Notification Service

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/lgtm


GitLens was unable able to find Git with Live Share session opened

GitLens Version:

VSCode Version: 1.37.1
OS Version: OSX 10.14.6 (18G87)

Steps to Reproduce:

Connect to a live share session that does not have git
open a new window or a recent workspace (from the dock).

To work around this and keep the live share session opened,
I have to use a separate terminal or the terminal of the new window to open the folder.
My guess is this is vscode related, that when open a new window from the dock, it tries to use some environment setting from the existing one (which is the live share session).

But I also observed that it still fail If I have two windows opened. One live share, one normal workspace (with gitlens working).
It still fails even if I first focus the window without problem before using the dock to open another workspace.

I'm currently facing (in some way I think) this issue. I have git set up on both windows 10 and wsl2, but vscode / gitlens will fail to find git every other time I open any project, what is weird, since it is able to find git sometimes, but sometimes not.
Any hint on what I may be doing wrong? @unional

That's probably a different issue.


Getting "TimeOut"error while making  kibana to work with SearchGuard

Hi Everyone
I Have Implemented  “search-guard” Elasticsearch
-->
*First i have created a “SearchGuard” Index
*Then I have Installed and Configured it in logging.yml and Elasticsearch.yml
*In elasticsearch.yml i have given a user name:admin and password:admin
note:I have given all permissions to admin user in “searchguard” index
**HERE is my index
curl -XPUT 'http://localhost:9200/searchguard/ac/ac' -d '{
"acl": [
{
"Comment": "By default no filters are executed and no filters a by-passed. In such a case an exception is thrown and access will be denied.",
"filters_bypass": [],
"filters_execute": []
},
{
"Comment": "For role admin all filters are bypassed (so none will be executed). This means unrestricted access.",
"roles": [
"admin"
],
"filters_bypass": [],
"filters_execute": [“actionrequestfilter.kibanaUser”]
}
]
}'
**Here is my elasticsearch.yml
searchguard.enabled: true
searchguard.rewrite_get_as_search: true
searchguard.allow_all_from_loopback: true
searchguard.config_index_name: searchguard
searchguard.key_path: /var/lib/elasticsearch/searchguard_node.key
##User settings
searchguard.authentication.settingsdb.user.admin: admin
searchguard.actionrequestfilter.names: ["kibanaUser","admincopy"]
searchguard.actionrequestfilter.kibanaUser.allowed_actions:["indices:admin/get","indices:data/read/*", "monitor"]
--->Here iam getting “timeout” Error.
As i am new to this concept.Not getting.Please someone help me out in this??
Thanks And Regards
Balaji

Try with
searchguard.allow_all_from_loopback: false

If i do that then i can’t change the config index and kibana also not working.
Please see this 2cases
Case1:
KIbana giving “RuntimeException” due to no default bypass and execute filters becuase the default configiration is
"filters_bypass": [],
filters_execute": []
Now by replacing this to
"filters_bypass": ["actionrequestfilter.readonlyuser"],
"filters_execute": []
and giving same  usernames and password in elasticsearch.yml and kibana.yml
Kibana is working fine For Admin role and Readonly users…
But not working for the  readonly specific indices when i replace the default configuration…
Here is my updated config index:
curl -XPOST -u admin:admin  'http://localhost:9200/searchguard/ac/ac' -d '
{
"acl": [
{
"Comment":Default”,
"filters_bypass": ["actionrequestfilter.readonlyuser"],
"filters_execute": []
},
{
"Comment": "For user agent1 only “ind” index operations should be performed",
"users": [
"agent1"
],
"indices": [
"Ind"
],
"filters_bypass": [],
"filters_execute":["actionrequestfilter.readonlyuser"]
},
}
*Now here comes the problem is that the user “agent1” actually should only read the index “ind” but reading and writing all the  indices
BUT when we replace the “ind” with “” then it is reading the all indices but not writing the indices..
Please help me How to perform read only on particular index without keeping default empty(Because kibana is giving exception if default is empty)...
here is My elasticsearch.yml file
searchguard.authentication.settingsdb.user.agent2:pswd
searchguard.actionrequestfilter.readonlyuser.allowed_actions:["indices:admin/get","indices:data/read/", "monitor"]
*here is my kibana.yml
searchguard.enabled: true
kibana_elasticsearch_username: agent2
kibana_elasticsearch_password: pswd
Case2:
Here if i give default configuration "filters_execute": [“*”]
THen kibana is giving “internal server error”

For the timeout issue,
rewrite get as search: false
Probably there's some issue with being able to run Kibana with this setting as true. I'm looking at the issue, meanwhile try this workaround if it helps you.
For the default Acls, I have
{
"Comment": "By default, bypass nothing, execute read only filter",
"filters_bypass": [],
"filters_execute": [
"actionrequestfilter.readonlyfilter"
]
}
and if you want to restrict access, you could have something like:
{
"Comment": "Role Nurse has no access to patients data",
"roles": [
"nurse"
],
"indices": [
"patients"
],
"filters_bypass": [],
"filters_execute": [
"actionrequestfilter.noaccess"
]
}
and in config file:
searchguard.actionrequestfilter.readonlyfilter.forbidden_actions: ["indices:data/write*"]
searchguard.actionrequestfilter.readonlyfilter.allowed_actions: ["indices:data/read*"]
searchguard.actionrequestfilter.noaccess.forbidden_actions: ["indices:data/*"]

HI
Thank You.Please Help me when the issue is solved.
*I  tried  in that above way as u said
I am unable to access even the index  "patients" i mean specified index and no other index.
case1
*When iam trying to access "patients" index giving me error “RuntimeException[Action 'indices:admin/get' is forbidden due to DEFAULT]”
so
Then i added the 'indices:admin/get’ to the “searchguard.actionrequestfilter.readonlyfilter.allowed_actions”
Now i can read all the indices..
But our requirement is “specific role should  access only one indices” and kibana also should work
Case 2:
I added ‘indices:admin/get’ to the “searchguard.actionrequestfilter.noaccess.forbidden_actions:”
Now i Our requirement (“specific role should  access only one indices”) reaching but kibana is giving error”Runtime error” due to “indices:data/read/search” is forbidden in default
Then i added that “indices:data/read/search” to the “actionrequestfilter.readonlyfilter.allowed_actions” But now kibana is giving “internal server exception”
Is their any idea about searchguard index such that  “specific role should  access only one indices?? and kibana to be connected without errors”..
Please Suggest me
Thanks and regards
Balaji

what are the rules you have configured for kibana index in your search guard acl?

Same as U given in the above comment
{
"Comment": "By default, bypass nothing, execute read only filter",
"filters_bypass": [],
"filters_execute": [
"actionrequestfilter.readonlyfilter"
}
{
"Comment": "Role Nurse has no access to patients data",
"roles": [
"nurse"
],
"indices": [
"patients"
],
"filters_bypass": [],
"filters_execute": [
"actionrequestfilter.noaccess"
]
}

Auto close this issue because it refers to Search Guard 1 which is decommissioned now. For details pls. see https://github.com/floragunncom/search-guard-attic/wiki . If this issue is still valid for Search Guard 2 (for elasticsearch 2.x) feel free to reopen it (or to file a new one). Pls. do not longer report issues for Search Guard 1 (for elasticsearch 1.x). We sincerely apologize for the inconvenience this may have caused. Thanks for contributing!


added comments

Description
fix login/ signup issue
Fixes #48
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Thank you very much sir

Thank you very much sir

No mention 😊


STRONG-9: add text coloring for user input

Add coloring to user input on correct, wrong, not reached characters
Honestly, we could shorten this code a lot. Assuming we have a cursor with an index we can write the colors directly during input.
Preview:

Assuming we have a cursor with an index we can write the colors directly during input.

This might end up being more complicated considering that we'd have to write portions of the target words to the user words with colors or still do logic to resolve the partial text and extra text cases in the view. Plus, I think we should avoid coupling the view with the model.


event-based printf/logging for ISRs (IDFGH-10121)

Is your feature request related to a problem?
Any attempt to printf/log from an ISR crashes the system. This is however needed for debugging.
Describe the solution you'd like.
It would be nice if there were queue-based versions of printf/ESP_LOGx(), such that when printing/logging, the statement doesn't get sent directly to the uart, rather is passed as a message on a queue to a dedicated handler, that runs using the idle task or its own task (whose priority is then configurable in sdkconfig, otherwise it might never execute, causing confusion), to actually print/log the message.
Describe alternatives you've considered.
No response
Additional context.
No response

would ESP_DRAM_LOGX serve the purpose?

Yeah, as @wuyuanyi135, ESP_DRAM_LOGX will probably be sufficient for what you are trying to achieve.
ESP_DRAM_LOGX and ESP_EARLY_LOGx both map to esp_rom_printf, but ESP_DRAM_LOGX also guarantees that the string is placed in DRAM (it uses DRAM_STR) .
 ESP_EARLY_LOGx as the name implies is intended mostly for IDF internal code, before all the system support is up and running. So I recommend sticking with ESP_DRAM_LOGX

thx

actually, i no longer consider this completed, because i keep running across cases where even esp_dram_logx & esp_early_logx crash the system.

@moefear85 are you able to provide an example that shows this issue?

it happens in the uart isr

I guess that it might happen because you are trying to print a string that is not in DRAM. In this case, you need to wrap it by DRAM_STR, to place it in RAM which will be guaranteed available during ISR.
const static char *MSG = DRAM_STR("I am a string stored in RAM");
ESP_DRAM_LOGI(TAG, "message text, %s", MSG);


added a check for empty var

Shell integrations behaves weird if the command line is empty.
Added a basic check for bash to not execute with empty command line.

This should do it


Extensions doesn't have any effect

Hey! First off, I love the idea of this extension. I had the same idea, because often VSCode file explorer becomes too noisy. As far as I can see, this is the only extension that does this specific thing.
However, I tried it out and followed your video. I created a scope, had it include a specific folder and switched to it. Yet my File Explorer is still the same as default. Do you have any idea what might cause this?
I'm also down to help you out with this extension. I really want it for myself and just might dive into the code itself.

Are you able to share your settings.json here? it could help me see if there's anything potentially conflicting.
For debugging, you can have it open while you change settings in the extension. it should update the files.excluded key as you add things to the list.
On Jan 24, 2023 at 02:08 -0800, Hafsteinn Ragnarsson @.***>, wrote:

Hey! First off, I love the idea of this extension. I had the same idea, because often VSCode file explorer becomes too noisy. As far as I can see, this is the only extension that does this specific thing.
However, I tried it out and followed your video. I created a scope, had it include a specific folder and switched to it. Yet my File Explorer is still the same as default. Do you have any idea what might cause this?
I'm also down to help you out with this extension. I really want it for myself and just might dive into the code itself.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I might have run into the same (or similar) issue.  My issue was that I had a file in my "include" list that was deleted, which seemed to have broken the extension.  When I opened my User Settings (JSON) file, and removed the file from the list, the extension kicked on and started working.
This is mainly observed behavior, I didn't poke in the code to see if this is a reasonable root cause, so it's possible there was something else going on that kicked it into gear, but now I'm back up and running! 🎉

Got the same bug. Got this error.

Note that I'm working from an entreprise managed laptops.. if it change anything.

Note that I'm working from an entreprise managed laptops.. if it change anything.
Just ask my IT guy, and this folder is sync on the server.
Also note that, sometime, i'm not able to move directory and need to give administrative right to delete folder.
Hope that help.

I have the same issue.
I've followed the instructions and the video, set up 3 scopes .
The default base scope:

The c-code scope:

This should show only the src-c folder, but shows everything.
The python-code scope:

This should show only the src-py folder, but shows everything.
And finally the qsp-code scope which should show only the src-qsp folder:

The project-scopes.activeScope value updates correctly as it can be seen on the screenshots, but the Explorer content doesn't change at all.
I have attached the settings file (can't upload with .json extension that's why it's .txt.)
settings.txt
I don't think anything can conflict with it, there aren't a lot of extensions, but who knows.

I made a release yesterday that should make thing a bit more robust, let me know if you still get these issues.


Add key support to cupertino button

Description
Currently cupertino button does not support the Key parameter, even though it is stated in the documentation that it does. This also breaks with the standard of similar widgets, which all support key.
The lack of support for key is causing annoyance when writing tests using flutter driver, as the widget can not be found using findByKeyValue method.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes).
[x] No, this is not a breaking change.

LGTM, thanks


Data Processing Takes a Long Time

Because of server call restrictions, only one call can be made a second. This makes data processing take +20 min

fixed by commit 9a5e4b0c20d4ace9e97e5267e8e44f34c602f85d


fix incorrect JWT rejection due to instance creation time rounding algorithm not matching Google's

fix incorrect JWT rejection due to instance creation time rounding algorithm not matching Googles

fix incorrect JWT rejection due to instance creation time rounding algorithm not matching Google's


Updated botlist statuses

@forgetfulskybro Infinity Bot List and Rovel Discord List seems to be working again, please update the status.

Fixed Infinity & Rovel

@mezotv please change the red icon from Discordz

Hey @WhiteClueGaming currently on vacation so it might take a bit until i will change it


[BUG] param.grad_accum.data.view(-1).add_(dest_buffer) AttributeError: 'NoneType' object has no attribute 'data'

Describe the bug
File "/usr/local/lib/python3.10/dist-packages/torch/autograd/__init__.py", line 204, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/function.py", line 274, in apply
    return user_fn(self, *args)
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/checkpoint.py", line 161, in backward
    torch.autograd.backward(outputs_with_grad, args_with_grad)
  File "/usr/local/lib/python3.10/dist-packages/torch/autograd/__init__.py", line 204, in backward
    Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 871, in reduce_partition_and_remove_grads
    self.reduce_ready_partitions_and_remove_grads(param, i)
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1332, in reduce_ready_partitions_and_remove_grads
    self.reduce_independent_p_g_buckets_and_remove_grads(param, i)
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 899, in reduce_independent_p_g_buckets_and_remove_grads
    self.reduce_ipg_grads()
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1319, in reduce_ipg_grads
    self.copy_grads_in_partition(param)
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1239, in copy_grads_in_partition
    self.async_accumulate_grad_in_cpu_via_gpu(param)
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1143, in async_accumulate_grad_in_cpu_via_gpu
    accumulate_gradients()
  File "/root/.local/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1122, in accumulate_gradients
    param.grad_accum.data.view(-1).add_(dest_buffer)
AttributeError: 'NoneType' object has no attribute 'data'

To Reproduce
This bug only appears on slurm platforms + grad_accum > 1 + CPUAdam
FusedAdam or grad_accum = 1 works well
our reproduce script:
https://github.com/OpenLLMAI/OpenLLaMA2/blob/main/examples/scripts/train_llama_slurm.sh
please git clone the whole project

Hi , Is there any workaround or solution can quick fix this issue?

a serious bug

Please try this branch https://github.com/microsoft/DeepSpeed/pull/4214


On chrome, clicking the jnlp seems to cancel the couch changes feed

Some strange behaviour is seen on the changes feed when you click on the jnlp for some reason in chrome. It might be a fix to poll the doc until the recorder is detected, or have an error function on the changes feed.

In the chrome network tab, the changes request goes red, and status turns to cancelled.


Admin Authentication System (BACKEND)

Story
As an admin, I need to securely access the system to manage curriculum content.
Objective
Set up a secure admin user model to store and authenticate admin credentials.
Requirements
Admin User Model (Backend)

Fields:

email
password
role (Admin, Super Admin)

Security:

Password encryption (bcrypt,  salting)
Unique email validation
Required field validation
Error handling implementation

Authentication Endpoints (Backend)

Required Endpoints:

POST admin/auth/login - Authenticate admin and initiate session
POST admin/auth/register -Create Admin
POST admin/auth/logout - End admin session

Features:

Secure session management (cookies/JWT)
Email verification for password reset

Acceptance Criteria

[ ] Admin user model created with all required fields
[ ] Password encryption implemented and tested
[ ] Authentication endpoints functional
[ ] Error handling covers all cases

Technical Notes

Use bcrypt
Add CSRF protection

I will handle this

great, its assigned to you


sempy.fabric module missing in sempy_labs?

Is your feature request related to a problem? Please describe.
I was using the sempy library, and I was using the PowerBIRestClient which is very powerful, and was inside the sempy fabric module. I'm trying to switch to the new library, but I'm not finding it.
Please forgive me if I'm doing something wrong, but it's the first time I'm opening an Issue on GitHub
Describe the solution you'd like
To have again the fabric module inside the sempy_labs library
Describe alternatives you've considered
To continue to use sempy library at the moment, but I guess it'll get deprecated

Semantic link labs does not replace semantic link, it augments it. To wield the most power, both libraries should be used in conjunction. Semantic link has the FabricRestClient and PowerBIRestClient methods while semantic link labs has many wrapper functions for power bi and fabric APIs which means you don’t need to worry about calling the API - you just run the function and the API is called in the background.

From: dtiles @.>
Sent: Wednesday, July 17, 2024 6:57:28 PM
To: microsoft/semantic-link-labs @.>
Cc: Subscribed @.***>
Subject: [microsoft/semantic-link-labs] sempy.fabric module missing in sempy_labs? (Issue #35)
Is your feature request related to a problem? Please describe.
I was using the sempy library, and I was using the PowerBIRestClient which is very powerful, and was inside the sempy fabric module. I'm trying to switch to the new library, but I'm not finding it.
Please forgive me if I'm doing something wrong, but it's the first time I'm opening an Issue on GitHub
Describe the solution you'd like
To have again the fabric module inside the sempy_labs library
Describe alternatives you've considered
To continue to use sempy library at the moment, but I guess it'll get deprecated
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-link-labs/issues/35, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBQBNWWOCJQESQIQFL4IDLZM2H6RAVCNFSM6AAAAABLA5WM2SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYTGOJYHA2DKOI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


fix(scripts): fix update-prow-owners.ts

skip the repository when the bot has no rights to create refs.
Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Update EC2/IAM resources

Codecov Report

Merging #4682 (f4b09ad) into master (3d10536) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4682   +/-   ##
=======================================
  Coverage   95.26%   95.26%
=======================================
  Files         550      550
  Lines       60752    60754    +2
=======================================
+ Hits        57877    57880    +3
+ Misses       2875     2874    -1

Flag
Coverage Δ

servertests
47.81% <ø> (+<0.01%)
:arrow_up:

test_responses
32.46% <ø> (-0.01%)
:arrow_down:

unittests
95.18% <ø> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

moto/iam/aws_managed_policies.py
100.00% <ø> (ø)

moto/sns/models.py
96.65% <0.00%> (+0.01%)
:arrow_up:

moto/awslambda/models.py
93.03% <0.00%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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


Open same site when switching documentation version

This is a...

[x] Feature Request
[ ] Bug Report

Problem:
Changing the version of the k8s documentation redirects to /docs/home.
Proposed Solution:
Redirect to the same site for the older version.
Meaning: When changing the version from a specific documentation site ( e.g. https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#) it should open the same document for the older version (i.e. https://v1-7.docs.kubernetes.io/docs/concepts/workloads/controllers/statefulset/).
If no doc entry is available, redirect to home.
Page to Update:
https://kubernetes.io/docs/home/

PostgreSQL doc does this pretty well, i.e. changing the version on any doc page redirects to the proper page.
e.g.: when visiting https://www.postgresql.org/docs/current/static/typeconv-oper.html and changing version it redirects to https://www.postgresql.org/docs/9.6/static/typeconv-oper.html

@dvdgsng 👋 Thanks for reporting your experience. This issue and #6337 are duplicates of an open issue, #5930. We're working on a fix, but it's a long-term project.


Invert curve in Plotwindows

When inverting a variable in a plotwindow it does become un-inverted when a simulation is performed. Then one need to invert it again. It is likely that the user wants to keep it inverted i.e. the same visual benefit with inverting the variable is likely still there after another simulation.
To Reproduce

Simulate a system
Plot a varilble or more
Invert at leat one of the plotted curves
Simulate the model again
The invert will be un-ticked and the variable is thereby also un-inverted

Expected behavior
The invert setting in plotwindows should be preserved when simulations are ran.

OS: Windows 10 ver 1809 OS Build 17763.973
Version: Info: HopsanCore 64-bit, Version: <IP_ADDRESS>01108.1336 (Compiled in debug mode)
Build: compile it myrself

Hmm I just realized that this functionality already exists, sort of. In the propertis dialog for a component you can check an anonymous box far to the right in the PlottSettings column. Then it will tag the data that it should be inverted (in the plot) data is still not inverted. Then any new generation will get inverted.
The control for inverting curve in the plot window, only inverts the current particular curve. If you open another plot with the same data, it will not be inverted.
So essentially, any changes that you want to affect all instances of the data, i.e. all curves, should be med in the model. In this case in the PlottSettings in the properties window.
Any changes that should only affect a particular curve in a particular plot, should be made in the plot window. Such changes should not affect other instances of the data. (One exception is the generation timescale function).
Maybe I should make it more clear in the properties dialog what the checkbox does.

Sort of. But, my opinion is that all you say make sense except if a curve is inverted in a plot window it shall be inverted in all following simulations, in that plot window, until the invert option is unticked. I have no problem with different invert status between generations.

Correction to what I previously said, if you click the invert button in the plotwindow, it will actually invert all instances of that curve at that particular generation in all plotwindows. But this is the intended behavior.
I am clarifying the UI elements and tooltip for the controls. But I am not sure if I want to allow making changes to the model from the plot window. Possibly the individual plot window could remember if you have invert settings that  differs from the model, and then remember it until the windows is closed, but this adds complication.
If you know that you want to invert the curve, then set it in the model /then it will also be saved)
But lets see what Robert thinks. Maybe it could be useful to remember locally in a plot window (plot tab actually)

This turned out to be more complicated then I thought, please have a look at the linked pull request description.


Random Quotes Generator project

I like To add random Quotes Genertor using javascript

This Type of project already exist in our current codebase name Dynamic Quote Genrator. If you want to improve or modify create a new issue for that.
I'm closing this for now


rendering quality is bad when html5 export

Godot version
3.3 stable
System information
UBUNTU, GLES3
Issue description
When I set canvasResizePolicy: 0, rendering quality is bad.
Default canvas rect size is too small (300x150) and it is not updated.
So I changed as below. Is it correct change?
diff --git a/platform/javascript/js/libs/library_godot_display.js b/platform/javascript/js/libs/library_godot_display.js
index affae90370..23f8977125 100644
--- a/platform/javascript/js/libs/library_godot_display.js
+++ b/platform/javascript/js/libs/library_godot_display.js
@@ -584,6 +584,9 @@ const GodotDisplayScreen = {
                        let width = wwidth;
                        let height = wheight;
                        if (noResize) {
+                               const canvasRect = canvas.getBoundingClientRect();
+                               canvas.width = canvasRect.width;
+                               canvas.height = canvasRect.height;
                                // Don't resize canvas, just update GL if needed.
                                if (canvas.width !== width || canvas.height !== height) {
                                        GodotDisplayScreen.desired_size = [canvas.width, canvas.height];

Steps to reproduce

set canvasResizePolicy to 0
run in browser

Minimal reproduction project
No response

Since Godot 3.3, the HTML5 export follows the same hiDPI policy as Windows and macOS. Enable Allow Hidpi in the Project Settings to make rendering more crisp on hiDPI displays, at the cost of greater GPU usage.

I mean... even though canvas size is changed, renderer size? is not updated. it remains 300 x 150. It is just scaled.
When canvasResizePolicy is 1 or 2, there is no problem.

cc @Faless

canvasResizePolicy: 0 means no resizing. I.e. Godot will not touch the canvas.
You have to set the canvas size yourself via JavaScript. It that's not what you want, use a different canvas resize policy.

Hi @Faless
My web page contains header, footer, and other elements. Canvas is one of them.
Of course, I manually set the canvas size with 100% in JavaScript.
In case canvasResizePolicy is 0,
Canvas size is 100% size. It is not problem.
BUT, rendering resolution is always 300 x 150, so it shows blurred image.
In case canvasResizePolicy: 1,
Canvas size is the same as window size set in project setting.
So, I cannot use it.
In case canvasResizePolicy: 2,
Canvas size is the same as browser window size.
Canvas is drawn on the header and footer.
So, I cannot use it.
Do you think my usage is wrong? Then, how to use it?

canvasResizePolicy: 0 means no resizing. I.e. Godot will not touch the canvas.
You have to set the canvas size yourself via JavaScript. It that's not what you want, use a different canvas resize policy.

BUT, rendering resolution is always 300 x 150, so it shows blurred image.

What stretch mode are you using in the Project Settings? If you're using the viewport stretch mode, this is expected.

I used default mode. "disabled"

I have a question. In the code that I attached.
// Don't resize canvas, just update GL if needed.
if (canvas.width !== width || canvas.height !== height) {
GodotDisplayScreen.desired_size = [canvas.width, canvas.height];
I think it should be called at least once. But it never called.
I printed log and the result is as below.
canvas.width == 300, width == 300,  canvas.height == 150, height == 150.

Sounds like a floating-point precision issue. @Faless Should we use an epsilon value for the comparison?

Of course, I manually set the canvas size with 100% in JavaScript.

You are probably confusing canvas size and css size. You can't use percentages in canvas size.
I can't really help much without knowing the HTML used.

Sounds like a floating-point precision issue.

Canvas height and width are integers

Oh, I see. Now, I understand what you mean and the concept.
For responsive web, I usually use css size with percentage, not width and height property.
I thought that canvas css size : render size = 1 : 1 would be better.
Anyway, thanks.

I thought that canvas css size : render size = 1 : 1 would be better.

Not for canvas, they work a bit different then other elements.
And what you want is size / css_size = devicePixelRatio.

Thanks for the information. :)

And what you want is size / css_size = devicePixelRatio.


Add ability to force USB2 mode

@themarpe the param is now called -usbs / --usb_speed and accepts either usb2 or usb3 (default)

Related docs update - https://github.com/luxonis/depthai-docs-website/pull/217