fix: add limit to all getAll*() methods (fixes #233)

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
This PR adds types for the limit parameter to all getAll*() methods.
Before this PR, only dangerouslyGetAll() was property typed to accept the limit param. All getAll*() methods accepted the limit param at runtime.
Fixes #233
Checklist:

[ ] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

🐔

Codecov Report

Merging #234 (01a339f) into master (ba9e8ca) will decrease coverage by 0.27%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##            master     #234      +/-   ##
===========================================
- Coverage   100.00%   99.72%   -0.28%
===========================================
  Files           23       23
  Lines          360      361       +1
  Branches        67       68       +1
===========================================
  Hits           360      360
- Misses           0        1       +1

Impacted Files
Coverage Δ

src/client.ts
99.51% <100.00%> (-0.49%)
:arrow_down:

Continue to review full report at Codecov.

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


i18n-tasks: select locale properly

Motivation and Context

i18n-tasks uses strings internally to specify locales not symbols. Using a symbol means that no locales are found that specifies the given locale (ie. it is not a key in a hash) and so all tests looking for missing keys pass regardless of the state of the I18n translation yaml files.
Your Changes

Description:

changed symbol to string

Type of change (select all that apply):

[x] Test update (change that modifies or updates tests only)

Testing

Confirmed that a missing key is found by the tests when the locale is specified with a string.
Questions and Comments (if applicable)

one test should now fail. This is expected and should be resolved in a different PR.

Checklist

[x] I have performed a self-review of my own code.
[x] I have added tests for my changes, if applicable.
[ ] I have updated the Changelog.md file.
[x] I have described any required documentation changes below, if applicable.
[x] I have fixed any Hound bot comments (check after opening pull request).
[x] I have verified that the TravisCI tests have passed (check after opening pull request).
[x] I have reviewed the test coverage changes reported on Coveralls (check after opening pull request).

Required documentation changes (if applicable)

@mishaschwartz thanks for pointing this out, can you rebase it off of master now?


no maps show up

none of my maps show up. is there any way to fix

delete danser.db and rerun the menu


I suggests adding a new API endpoint to facilitate the dispatching of workflows. It empowers developers and teams to automate repetitive tasks and orchestrate complex workflows efficiently.

          I suggests adding a new [API endpoint](https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event) to facilitate the dispatching of workflows. It empowers developers and teams to automate repetitive tasks and orchestrate complex workflows efficiently.

Create a workflow dispatch event
Payload:
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
Content-Type: application/json
Authorization: Bearer <token>

{
  "ref": "main",
  "inputs": {
    "param1": "value1",
    "param2": "value2"
  }
}

Permissions:

"Actions" repository permissions (write)

Additional endpoints:

Enable workflow (PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable)
Disable workflow (PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable)
Get a workflow (GET /repos/{owner}/{repo}/actions/workflows/{workflow_id})
Get workflow usage (GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing)
List repository workflows (GET /repos/{owner}/{repo}/actions/workflows)

Originally posted by @bencurio in https://github.com/go-gitea/gitea/issues/28163#issuecomment-2202120215

Congratulations for the longest issue title 🎉


Ayush

Added functionality to undo votes on reviews, colored vote buttons if user has already voted on the review
Description
Added a new patch to the review router to get the color for a specific vote for a review and user, used the useEffect React hook to constantly update the className for each vote button.
Screenshots
Before:

After:

Steps to verify/test this change:
Go to any course(course used to test COMPSCI 143A) and vote on any of the test reviews there, see how the buttons color when you vote and click again to remove the vote.

Also, can you rebase with master and resolve the merge conflicts?


Removed prompt from bash commands

Description
This is to remove pit# and ncn#  prompt from commands presented on documentation, with this will be easier to copy commands with multiple lines during a new install or upgrade.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X ] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

@mantoanibroadwing I'll usher this through before end of November, might seem late but personally I want this before I do 1.2 installs later.


Wrong import in SignalDB SolidJS Plugin

Seems like there's a mistake here on the import. It should be importing from "solid-js", not "solidj-s/dist/solid"

I confirmed that removing the /dist/solid fixes it.
Notice no errors:

@Blankeos  See #701

Thanks @obedm503 for pointing to #701
The import of solid-js/dist/solid is used to make reactivity work on server side (see https://github.com/maxnowack/signaldb/issues/701#issuecomment-2096095138).
The question is, why it cannot find this module in your environment.
It's definitely in the npm package of solid-js:

Which version on solid-js are you using? How does the solid-js folder look like in your node_modules?

Hi! Just realized there were replies on here.
I'm on "solid-js": "^1.8.17" when I posted this.
How the solid-js folder looks like:

Okay, dist/solid is definitely in your solid-js module. I have no idea why the error occurs in your environment.

@Blankeos could you provide a minimal reproduction repo? I’ll try to solve it or find the root cause at least

Closing this, as no response received. Feel free to reopen the issue

The issue is finally resolved in<EMAIL_ADDRESS>🎉


Ignore out-of-date XCode on CircleCI

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Do not check for out-of-date XCode or CLT on CircleCI.
Suppress the error:
Warning: Your Xcode (9.0) is outdated.
Please update to Xcode 9.0.1 (or delete it).

I went with
return if ENV["CIRCLECI"] || ENV["TRAVIS"]

Alternatively it could be instead
return if ENV["CI"]

Frankly I think it's correct to fail CI when an image being used for bottling is outdated.

I don't have the ability to update the image myself.

That's between you and Circle CI. I don't see what we gain by making it less important to users that the images be up to date.

I've opened an issue with CircleCI.
https://discuss.circleci.com/t/macos-build-image-update-xcode-9-0/16478/9?u=sjackman
For the time between when Apple releases an update to Xcode and when CircleCI applies it, all the CI builds will be red due to brew doctor failing. How do we avoid that?

the time between when Apple releases an update to Xcode and when CircleCI applies it

We don't immediately bump the minimum requirement. This is always a grace period.

XCode 9.0.1 was released 8 days ago. How long is the grace period?
https://itunes.apple.com/ca/app/xcode/id497799835

I don't think that's something we intend to formalize but the majority of the bumps have occurred between 2 and 7 days, I believe.

That's not a whole lot of time for a company to adopt the new release. TravisCI is already excused for this same reason.

CircleCI already adopted Xcode 9.0.1 five days ago:
https://discuss.circleci.com/t/xcode-9-0-1-image-release/17562
So brew doctor and CircleCI do not seem to agree on which version of Xcode they're running. I'll follow up with them.

TravisCI is already excused for this same reason.

Not quite; we excuse Travis CI because we want to run brew doctor on Travis for our CI. I think a better place for this would be to have something in test-bot that will allow optionally skipping brew doctor.

we excuse Travis CI because we want to run brew doctor on Travis for our CI.

I'm not quite sure how this differs. I want to run brew doctor on CircleCI for our CI.

I think a better place for this would be to have something in test-bot that will allow optionally skipping brew doctor.

That solution is fine by me.

I'm not quite sure how this differs. I want to run brew doctor on CircleCI for our CI.

Who is "our" here?

I'm using CircleCI to build bottles for both macOS and Linux in the tap Linuxbrew/bio. It's a proof-of-concept for now. Assuming all goes well, I plan to expand it. This same method could be used by other non-Homebrew taps if they were so inclined.

The following workaround is fine by me. Feel free to close this PR if you prefer.
brew --env
brew config
brew test-bot --skip-setup

@sjackman We'll talk about this a bit more but thanks for the flexiblity.

CircleCI already adopted Xcode 9.0.1 five days ago:
https://discuss.circleci.com/t/xcode-9-0-1-image-release/17562
So brew doctor and CircleCI do not seem to agree on which version of Xcode they're running. I'll follow up with them.
https://discuss.circleci.com/t/xcode-9-0-1-image-release/17562/5

Actually, given this: passing on this for now.

Also, you could set HOMEBREW_UPDATE_TO_TAG.

I didn't know about this config HOMEBREW_UPDATE_TO_TAG. Thanks!


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_95i6e6437b/clone/recipe/meta.yaml:9: missing_hash: The recipe is missing a sha256 checksum for a source file
ERROR: /tmp/abs_95i6e6437b/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_95i6e6437b/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_95i6e6437b/clone/recipe/meta.yaml:73: missing_pip_check: For pypi packages, pip check should be present in the test commands
INFO: /tmp/abs_95i6e6437b/clone/recipe/meta.yaml:81: invalid_url: https://sfu-db.github.io/dataprep/ : URL domain redirect sfu-db.github.io ->  docs.dataprep.ai
WARNING: /tmp/abs_95i6e6437b/clone/recipe/meta.yaml:82: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_546mw67dy6/clone/recipe/meta.yaml:9: missing_hash: The recipe is missing a sha256 checksum for a source file
ERROR: /tmp/abs_546mw67dy6/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_546mw67dy6/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_546mw67dy6/clone/recipe/meta.yaml:73: missing_pip_check: For pypi packages, pip check should be present in the test commands
INFO: /tmp/abs_546mw67dy6/clone/recipe/meta.yaml:81: invalid_url: https://sfu-db.github.io/dataprep/ : URL domain redirect sfu-db.github.io ->  docs.dataprep.ai
WARNING: /tmp/abs_546mw67dy6/clone/recipe/meta.yaml:82: missing_description: The recipe is missing a description
Errors were found


Drawing Instructions Modal

This PR addresses a common feature request I have been asked for and links to issue https://github.com/GEOLYTIX/xyz/issues/1212.
I chose to address 1212 in this way as the user needs to know what options are available when they begin drawing, changing the context menu would only appear at the end of drawing interaction.
Often users aren't clear exactly how to use the drawing interactions.
This PR adds a modal element when drawing interactions are started that simply gives guidance on the drawing interaction options available.
Hopefully this will just aid user experience a bit as it makes it clearer.
All the text in the modal is using dictionary terms so can be translated.
The modal is closable and will close when the drawing interaction finishes or the button state is inactive.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1207284671598597

I start poly, close modal. Click on point and then on poly again.
This should be resolved now.
The modal method should be flagged to only show the modal when the flag is set.
Moving towards a future where it is possible to store config it can then be possible to remove the flag and not see the modal anymore if no longer desired.
I have added the infoModal:true flag that allows the developer and subsequently in the future the user to control the display of this information modal.
The modal should be removed from within the modal method using the data_id.
Before a new data_id: 'modal_drawing' is created the existing one will be removed.
Does the modal method require an empty method for the close to work? This is hard to configure in json and should be looked at.
There was a bug in the modal.mjs
Previously the code was this, which meant passing just true to the close would result in an error.
  function closeModal(e) {
    e.target.closest('.modal').remove();
    modal?.close?.(e);
}

I have updated the function to check on the close value being a function and only run it if so - removing the error.
  function closeModal(e) {
    e.target.closest('.modal').remove();
 // Run the modal close function only if it exists
    if (modal?.close && typeof modal?.close === 'function') {
      modal.close(e);
    }
}

Is it possible to provide the header as html template without the .node calling the web api?
Resolved this one.
I have also added conditional text so that the polygon type has a more verbose set of content than the rest

I did a few changes for the drawing interactions module but want to revise this more.
I renamed the method to help modal.
Whether the modal should be shown or not should be flagged in the locale. Config. This will allow us to create a plugin which allows the user to turn the modal off for all layers in the locale. And in turn allows the user to store this config in the user locale.
Whether the modal should be shown or not should be controlled within the modal method itself and not whether the modal method is called. Otherwise each call will require a condition check instead of a single condition check.
The deleteModal should use the data-id queryselector. No condition is required this can be always called as nothing will be deleted if there is nothing to delete.
function deleteModal() {
  const modal = document.querySelector('[data-id=modal_drawing]')

  modal && modal.remove()
}

The classlist.toggle returns true on addition and can be used inside the if statement which returns after the interaction finish. No else, add, remove required.
The finish event calls the callback and removes the active class as well as removes the interaction.
Toggling the same interaction on, off, and on again will finish the current interaction and remove the class before starting the interaction. Hence it is required to add the 'active' class and modal after the interaction is triggered.
This is more concise but can further be simplified as the same commands are run for each drawing interaction element.
        const btn = e.target

        if (!btn.classList.toggle('active')) {

          layer.mapview.interaction.finish()
          return;
        }

        !layer.display && layer.show()

        layer.draw.point.callback = feature => {

          layer.draw.callback(feature, layer.draw.point)

          btn.classList.remove('active')

          delete layer.mapview.interaction

          deleteModal();

          // Set highlight interaction if no other interaction is current after 400ms.
          setTimeout(() => {
            !layer.mapview.interaction && layer.mapview.interactions.highlight()
          }, 400)
        }

        layer.mapview.interactions.draw(layer.draw.point)

        helpModal();

        btn.classList.add('active')

The drawOnclick method now has all the duplicate code from the individual drawing methods.
function drawOnclick(e, layer, interaction) {

  const btn = e.target

  if (!btn.classList.toggle('active')) {

    layer.mapview.interaction.finish()
    return;
  }

  !layer.display && layer.show()

  interaction.callback = feature => {

    layer.draw.callback(feature, interaction)

    btn.classList.remove('active')

    delete layer.mapview.interaction

    helpModal();

    // Set highlight interaction if no other interaction is current after 400ms.
    setTimeout(() => {
      !layer.mapview.interaction && layer.mapview.interactions.highlight()
    }, 400)
  }

  layer.mapview.interactions.draw(interaction)

  helpModal(interaction.helpModal);

  btn.classList.add('active')
}

The helpModal is now a ui.element
let helpModal

export default (params) => {

  // Only one helpModal.node can be shown at any one time.
  helpModal?.node && helpModal.node.remove()

  if (!params) return;

  helpModal = {
    target: document.getElementById('Map'),
    height: 'auto',
    width: '200px',
    css_style: 'padding: 0.5em;',
    top: 30,
    left: 60,
    contained: true,
    close: true,
    ...params
  }

  // Create the modal
  mapp.ui.elements.modal(helpModal);
}

The drawOnclick method needs to be exported for ease of use in plugins.

The drawing interaction condition requires a wait check to not process inputs while waiting for the geometry function to resolve.
The wait condition will be removed in the API response callback.


Initializing, destroying, and then initializing the API again freezes the application

There seems to be a weird bug with cusCastInit. The method never returns when called for a second time (after custCastDestroy is called). The easiest way to reproduce this bug is by tweaking the console sample to do the following:
cusCastInit(argc, argv, keydir.c_str(), newProcessedImageFn, newRawImageFn, newSpectralImageFn, freezeFn, buttonFn, progressFn, errorFn, width, height);

cusCastDestroy();

cusCastInit(argc, argv, keydir.c_str(), newProcessedImageFn, newRawImageFn, newSpectralImageFn, freezeFn, buttonFn, progressFn, errorFn, width, height);

I am working on an application that dynamically loads external SDKs such as the CAST api and unloads them whenever it is done using it. In this workflow, sometimes a library is loaded again when it needs to be used for a second time. Unfortunately, the CAST API gets into a weird state and freezes the application, never returning from a cusCastInit call. It would be great if that wasn't the case.

Hi this looks like a bug indeed we will investigate thanks for reporting!

I'm testing our upcoming release, and cannot reproduce (on Linux), so may be fixed.

i hath confirmed in windows the issue does not occur as well - so stay tuned for v10


Improve ockam node default by displaying the default node name when no argument is passed in

Current behavior
If you run ockam node default <NODE_NAME> then you can currently only set the default node. If you run ockam node default without any other arguments it results in an error like this:

Desired behavior
When no arguments are passed, it should display the default node name.
Please take a look at this file to get started.
Please make sure that the bats tests and other Rust tests work after this change.

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

Hey nazmulidris! I'm still learning rust but i would like to work on this issue.

@MaheshMoholkar That's awesome, this is all yours. Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.gg/RAbjRr3kds


Default date preferences

If – in the config – the date preferences are empty, Symphony doesn't default to any standard format. It just doesn't output dates anymore (showing None).
'region' => array(
	'time_format' => null,
	'date_format' => null,
	'datetime_separator' => null,
	'timezone' => 'Europe/Berlin',
),

This caused me to think that something went terribly wrong and the database was corrupted.
Expected behaviour
I'd expect Symphony:

to log an error,
to show a warning in the interface,
to fall back to a default format.

Wow, that's pretty cool ;)

I bet there are a lot of things that goes wrong when some config is missing ;)

@nilshoerrmann It's a problem everywhere we use config values: we rarely check if they are missing.
How did you lost those values ?

The German translation might be at fault. It happened after saving the prefs.

Am 08.06.2017 um 00:20 schrieb Nicolas Brassard<EMAIL_ADDRESS>@nilshoerrmann It's a problem everywhere we use config values: we rarely check if they are missing.
How did you lost those values ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, it's the German translation: https://github.com/animaux/lang_german/blob/master/extension.driver.php#L81-L105
Besides providing the translations, it also toggles between German and English date and time formats. Like Symphony, it should default to fallback settings.
/cc @animaux

Ok! Well I hope #2705 does not makes thing worst ?

#2705 works great. Along with https://github.com/animaux/lang_german/issues/9, this issue should be fixed.


feat: major refactor

Refactor and update the file structure.
This paves the way for adding new functionalities.

Coverage increased (+0.2%) to 97.236% when pulling 73c803cc3c1bb080bb2588b64b6dae27d749d19b on refactor into 69f64efd8262d2c6f827e6998baf54bfb13fe89b on master.


Subreddit name cutting off first post.

Also happens in posts.

Hmm I’m not seeing that. What device are you on?

7+

It also happens on my iPhone 7 running iOS 10.3.3, latest alpha (0.3) from TestFlight

Not seeing it on my iPad or 6s, wonder if it's just something occurring on the 7

Correct me if I'm wrong (I have no experience in programming apps for iOS) but isn't it strange to be related to iPhone 7 as it has the same display size as the 6s? If you are on the iOS 11 beta maybe it could be that.

I'm on iPhone 7 with 10.3.3 and can confirm this issue.

Yes it is strange @OrionDB5 , which is why I'm looking for something the devices have in common. It had too much padding on my device after the XCode update and the latest developer build of iOS 11, so I removed the extra padding which made it cut off on some devices

Same issue on SE, 10.3.

Should be fixed now


Missing UniversalTransfer types

at types/spot.ts, several types are missing.
additionally, several params are missing at UniversalTransferParams interface.
https://binance-docs.github.io/apidocs/spot/en/#user-universal-transfer-user_data

Hi, yes - it's been an incremental process to add these types as well as some of the currently missing endpoints. Contributions via pull requests are very welcome, no matter how small.

Hi, yes - it's been an incremental process to add these types as well as some of the currently missing endpoints. Contributions via pull requests are very welcome, no matter how small.

I will send pull requests whenever I find issues. No problem!

this has been resolved with PR #317


Mosquitto5

Codecov Report

Merging #221 (f520f8a) into master (acaf5dc) will decrease coverage by 0.31%.
The diff coverage is 4.34%.

:exclamation: Current head f520f8a differs from pull request most recent head ee7f39d. Consider uploading reports for the commit ee7f39d to get more accurate results

@@            Coverage Diff             @@
##           master     #221      +/-   ##
==========================================
- Coverage   26.68%   26.36%   -0.32%
==========================================
  Files          52       52
  Lines        3452     3497      +45
  Branches      659      659
==========================================
+ Hits          921      922       +1
- Misses       2251     2295      +44
  Partials      280      280

Impacted Files
Coverage Δ

src/routes/amt/auditLog.ts
16.12% <0.00%> (-3.11%)
:arrow_down:

src/routes/amt/eventLog.ts
16.66% <0.00%> (-4.39%)
:arrow_down:

src/routes/amt/generalSettings.ts
16.66% <0.00%> (-4.39%)
:arrow_down:

src/routes/amt/getAMTFeatures.ts
15.38% <0.00%> (-2.27%)
:arrow_down:

src/routes/amt/hardwareInfo.ts
16.00% <0.00%> (-4.00%)
:arrow_down:

src/routes/amt/powerAction.ts
4.90% <0.00%> (-0.21%)
:arrow_down:

src/routes/amt/powerCapabilities.ts
6.15% <0.00%> (-0.41%)
:arrow_down:

src/routes/amt/powerState.ts
16.66% <0.00%> (-4.39%)
:arrow_down:

src/routes/amt/setAMTFeatures.ts
21.87% <0.00%> (-5.05%)
:arrow_down:

src/mpsMicroservice.ts
52.17% <100.00%> (+1.06%)
: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 acaf5dc...ee7f39d. Read the comment docs.


Error upon launching Spyder 3

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\akand\Downloads\WinPython-64bit-<IP_ADDRESS>Qt5\python-3.6.3.amd64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1290, in close_client
self.create_new_client()
File "C:\Users\akand\Downloads\WinPython-64bit-<IP_ADDRESS>Qt5\python-3.6.3.amd64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1009, in create_new_client
self.connect_client_to_kernel(client)
File "C:\Users\akand\Downloads\WinPython-64bit-<IP_ADDRESS>Qt5\python-3.6.3.amd64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1035, in connect_client_to_kernel
stderr_file)
File "C:\Users\akand\Downloads\WinPython-64bit-<IP_ADDRESS>Qt5\python-3.6.3.amd64\lib\site-packages\spyder\plugins\ipythonconsole.py", line 1440, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr)
File "C:\Users\akand\Downloads\WinPython-64bit-<IP_ADDRESS>Qt5\python-3.6.3.amd64\lib\site-packages\jupyter_client\manager.py", line 234, in start_kernel
"Currently valid addresses are: %s" % local_ips()
RuntimeError: Can only launch a kernel on a local interface. Make sure that the '*_address' attributes are configured properly. Currently valid addresses are: ['<IP_ADDRESS>', '<IP_ADDRESS>', '<IP_ADDRESS>', '']
Version and main components

Spyder Version: 3.2.4
Pytho

Thanks for reporting. This has been a commonly reported issue with WinPython, and does not appear to be a spyder problem, and indeed, a near-duplicate, #5101 , says as much. There is currently an issue over there, #582, that deals with this, so feel free to comment over there if you have something to add, and I would think this one can be closed.
In general, Spyder recommends the Anaconda distribution, as it avoids many of the problems and pitfalls found in other install methods, particularly for less experienced users, though you are welcome to try to get it to work on your own. Best of luck!


Copy file size limit

the 15MB limit on the copy file is no longer a hard limit, looks like one of the project teams I work with successfully copied 45MB file

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

ID: e8acdbe0-a74f-a747-10f3-c861c831e46a
Version Independent ID: bf1b180c-b240-6340-d409-74dfc125a5d6
Content: Connect to SFTP server with SSH - Azure Logic Apps
Content Source: articles/connectors/connectors-sftp-ssh.md
Service: logic-apps
GitHub Login: @divyaswarnkar
Microsoft Alias: estfan

@mganeshphani Thank you for providing feedback with this level of detail. I will have the content team evaluate this information and make an update as appropriate.

Thanks Mike
Get Outlook for Androidhttps://aka.ms/ghei36

From: Mike Ubezzi<EMAIL_ADDRESS>Sent: Saturday, February 1, 2020 9:05:15 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Ganesh Phani Kumar Majeti<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Copy file size limit (#47279)
@mganeshphanihttps://github.com/mganeshphani Thank you for providing feedback with this level of detail. I will have the content team evaluate this information and make an update as appropriate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/47279?email_source=notifications&email_token=AFPMMIH4GPRSFTM3L3IUWXDRAYZ6XA5CNFSM4KOWTJO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKRMMGY#issuecomment-581092891, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFPMMIERE4Y3AIINA4APIZLRAYZ6XANCNFSM4KOWTJOQ.

@divyaswarnkar, please confirm? Thanks!

@mganeshphani  could you please confirm if this was SFTP-SSH connector ?

Hi @mganeshphani, as @divyaswarnkar requested, please confirm that this behavior happened for you with the SFTP-SSH connector? Thanks!

Yes this is SFTP-SSH connector
Get Outlook for Androidhttps://aka.ms/ghei36

From: Esther Fan<EMAIL_ADDRESS>Sent: Wednesday, February 12, 2020 2:17:03 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Ganesh Phani Kumar Majeti<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Copy file size limit (#47279)
Hi @mganeshphanihttps://github.com/mganeshphani, as @divyaswarnkarhttps://github.com/divyaswarnkar requested, please confirm that this behavior happened for you with the SFTP-SSH connector? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/47279?email_source=notifications&email_token=AFPMMIGKO7LS7GEX4MTTUGTRCRKL7A5CNFSM4KOWTJO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELSHLRQ#issuecomment-585397702, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFPMMIH5SIEIANYLJD6ZUSDRCRKL7ANCNFSM4KOWTJOQ.

@divyaswarkar, could you please respond to this customer's question after they've confirmed using the SFTP-SSHconnector?

@mganeshphani thanks for the confirmation. Your observation is valid, the copy file operation can transfer file size upto the size of the chunk which could be upto 50 MB. We are updating the documentation to correct the limits and clarify this behavior.

Thankyou @divyaswarnkar .. it would be impossible for customers to ignore Logicapps for their solution by checking documentation. are your PM's we trying to make sure the docs are updated in a timely fashion?

We are committed to providing our customers with continuous improvement in our offerings, including documentation.

Hi @mganeshphani,
A doc update should appear today. Here's a preview:
SFTP-SSH actions that support chunking can handle files up to 1 GB, while SFTP-SSH actions that don't support chunking can handle files up to 50 MB. Although the default chunk size is 15 MB, this size can dynamically change, starting from 5 MB and gradually increasing to the 50 MB maximum, based on factors such as network latency, server response time, and so on.

[!NOTE]
For logic apps in an integration service environment (ISE), this connector's ISE-labeled version uses the ISE message limits instead.

Chunk size is associated with a connection, which means that you can use the same connection for actions that support chunking and then for actions that don't support chunking. In this case, the chunk size for actions that don't support chunking ranges from 5 MB to 50 MB. This table shows which SFTP-SSH actions support chunking:

Action
Chunking support

Copy file
No

Create file
Yes

Create folder
Not applicable

Delete file
Not applicable

Extract archive to folder
Not applicable

Get file content
Yes

Get file content using path
Yes

Get file metadata
Not applicable

Get file metadata using path
Not applicable

List files in folder
Not applicable

Rename file
Not applicable

Update file
No

Hi @mganeshphani, this doc update is now live:
https://docs.microsoft.com/azure/connectors/connectors-sftp-ssh#limits
I hope this information helps explain the behavior that you're seeing. I'll now proceed with closing this issue, but if you have more questions about this subject, please tag me and @divyaswarnkar in your reply. We'll gladly continue the discussion and reopen the issue.


Pinned compiler binary package are still put in the cache.

Indeed, the binary is ultimately installed from the cache. It could overwrite existing binary package and be installed in place of other later...
The solution to this could be:

Use another temporary binary repo when a pinned compiler is detected, and remove it after
Do not add them to a repo, but pin those package to the right link instead of installing them through a repo

The second solution could be applied for the installation of all packages, to prevent the problem where ocaml needs to be recompiled but the repository where the package comes from has been disabled (reported in #112).

Fixed in https://github.com/tarides/ocaml-platform-installer/pull/115


Add WaveRunner support and batch capture script

This change adds support for capturing traces using a LeCroy WaveRunner 9104 and a new script that captures traces using the new 'b' (batch encrypt) command.
As I mentioned earlier, WaveRunner has several settings that we should evaluate. For the sake of simplicity, most of the parameters are hardcoded for now in waverunner.py. I thought it would be better to postpone the decision on which parameters should be fixed and which should be tunable when we start working on the CLI (and the refactoring that will go with it). I guess the most important parameters are sampling rate and noise filtering which are set to 1 GS/s down to 100 MS/s with 10x sparsing + 2.5bits ERes (enhanced resolution, i.e. noise filtering). 2.5bits ERes is a bit extreme and significantly reduces the bandwidth (-3dB @ 14.50 MHz according to the oscilloscope) but it performed better than smaller values in the ceca attack so I decided to leave it as-is. This obviously results in much smoother traces when compared to chipwhisperer (top: waverunner, bottom: chipwhisperer):

I confirmed that these changes work using an older aes_serial binary and the bitstream in the ot-sca repo (will try building these from opentitan:master next). This change lets us capture traces at a rate of ~1200 traces/s:
$ ./simple_capture_traces_waverunner.py
Connecting and loading FPGA
Initializing PLL1
Programming OpenTitan with "objs/aes_serial_fpga_nexysvideo.bin"...
Transferring frame 0x00000000 @ 0x00000000.
...
Transferring frame 0x8000000B @ 0x00002A48.
Serial baud rate = 38400
Serial baud rate = 115200
Scope setup with sampling rate 100003063.0 S/s
Reading from FPGA using simpleserial protocol.
Target simpleserial version: 'z01'.
Using key: '2b7e151628aed2a6abf7158809cf4f3c'.
Connected to LECROY WAVERUNNER9104 (ip: <IP_ADDRESS>, serial: LCRY4701N40366, version: 9.1.0, options: HDTV, JTA2, XDEV, XWEB)
Capturing: 100%|███████████████| 1000000/1000000 [13:18<00:00, 1252.54 traces/s]

I also confirmed that we can recover the key with the new traces:
$ ./ceca.py -f projects/opentitan_simple_aes -n 1000000 -w 8 -a 110 130 -d output -s 3
2021-02-11 21:04:07,420 INFO services.py:1171 -- View the Ray dashboard at http://<IP_ADDRESS>:8265
2021-02-11 21:04:10,909 INFO ceca.py:492 -- Will use 982919 traces (98.3% of all traces)
2021-02-11 21:04:11,656 INFO _timer.py:57 -- compute_pairwise_diffs_and_scores took 0.3s
2021-02-11 21:04:11,657 INFO ceca.py:501 -- Difference values (delta_0_i): [  0 196  41 120  25  62 245  89  49 239 220  24 102 179 220 118]
2021-02-11 21:04:11,734 INFO ceca.py:505 -- Recovered AES key: 2b7e151628aed2a6abf7158809cf4f3c
2021-02-11 21:04:11,735 INFO _timer.py:57 -- perform_attack took 2.9s
2021-02-11 21:04:11,735 INFO _timer.py:57 -- main took 4.9s

Initially I was planning to refactor the current capture script, but I thought it would be better to just add a new script without touching the one that everyone relies on. Again, something to tackle when we start working on the CLI.
Signed-off-by: Alphan Ulusoy<EMAIL_ADDRESS>

@vogelpi merging this now as we discussed since I need to make a few changes for new binaries. Please feel free to comment here or on a new issue. Thanks!


Update LOCALIZATION_CONTRIBUTORS

Changes

Implementation details

How to read this PR

Screenshots

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

Hi @0sophy1, could you please add me to the GitLocalize project?


DTS: Convert SAM TWI/TWIHS I2C to DT_INST macros

@galak thank you for this.
The I2C shell scan available at telnet demo is broke. It's possible see eeprom data were read with success. I build and flash same telnet demo using our current master without your changes  and confirmed the same problem. So, I can assume I2C driver config is working but have some problems that are not related to this PR.
[00:00:00.000,000] <inf> i2c_sam_twihs: Device I2C_2 initialized
[00:00:00.000,000] <inf> i2c_sam_twihs: Device I2C_0 initialized
uart:~$ *** Booting Zephyr OS build zephyr-v2.2.0-1688-gdada113e3e05  ***
[00:00:00.001,000] <inf> eth_sam: MAC: fc:c2:3d:08:90:35
[00:00:00.001,000] <inf> eth_sam: Queue 0 activated
[00:00:00.001,000] <inf> eth_sam: Queue 1 activated
[00:00:00.001,000] <inf> eth_sam: Queue 2 activated
[00:00:00.001,000] <inf> eth_sam: Queue 3 activated
[00:00:00.001,000] <inf> eth_sam: Queue 4 activated
[00:00:00.001,000] <inf> eth_sam: Queue 5 activated
[00:00:00.001,000] <inf> eth_sam_phy: Soft Reset of ETH PHY
[00:00:00.091,000] <inf> eth_sam_phy: PHYID: 0x221573 at addr: 0
[00:00:00.097,000] <inf> shell_telnet: Telnet shell backend initialized
[00:00:03.122,000] <inf> eth_sam: Link up
[00:00:05.587,000] <inf> eth_sam_phy: common abilities: speed 100 Mb, full duplex
[00:00:08.687,000] <inf> net_telnet_sample: Starting Telnet sample
[00:00:08.687,000] <inf> net_telnet_sample: Running dhcpv4 client...
[00:00:08.687,000] <inf> net_telnet_sample: IPv6 address: 2001:db8::1
[00:00:12.591,000] <inf> net_telnet_sample: IPv4 address: <IP_ADDRESS>
[00:00:12.591,000] <inf> net_telnet_sample: Lease time: 86400 seconds
[00:00:12.591,000] <inf> net_telnet_sample: Subnet: <IP_ADDRESS>
[00:00:12.591,000] <inf> net_telnet_sample: Router: <IP_ADDRESS>
uart:~$ i2c scan I2C_0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:             -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- --
[00:01:34.025,000] <err> os: ***** BUS FAULT *****
[00:01:34.025,000] <err> os:   Precise data bus error
[00:01:34.025,000] <err> os:   BFAR Address: 0x20480000
[00:01:34.025,000] <err> os: r0/a1:  0x204040a4  r1/a2:  0x0007b155  r2/a3:  0x00000004
[00:01:34.025,000] <err> os: r3/a4:  0x40018000 r12/ip:  0xaaaaaaaa r14/lr:  0x00404b9f
[00:01:34.025,000] <err> os:  xpsr:  0x01000223
[00:01:34.025,000] <err> os: Faulting instruction address (r15/pc): 0x004189c8
[00:01:34.025,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:01:34.025,000] <err> os: Fault during interrupt handling

[00:01:34.025,000] <err> os: Current thread: 0x204040fc (unknown)
[00:01:34.045,000] <err> os: Halting system

[00:00:00.000,000] <inf> i2c_sam_twihs: Device I2C_2 initialized
[00:00:00.000,000] <inf> i2c_sam_twihs: Device I2C_0 initialized
uart:~$ *** Booting Zephyr OS build zephyr-v2.2.0-1688-gdada113e3e05  ***
[00:00:00.001,000] <inf> eth_sam: MAC: fc:c2:3d:08:90:35
[00:00:00.001,000] <inf> eth_sam: Queue 0 activated
[00:00:00.001,000] <inf> eth_sam: Queue 1 activated
[00:00:00.001,000] <inf> eth_sam: Queue 2 activated
[00:00:00.001,000] <inf> eth_sam: Queue 3 activated
[00:00:00.001,000] <inf> eth_sam: Queue 4 activated
[00:00:00.001,000] <inf> eth_sam: Queue 5 activated
[00:00:00.001,000] <inf> eth_sam_phy: Soft Reset of ETH PHY
[00:00:00.091,000] <inf> eth_sam_phy: PHYID: 0x221573 at addr: 0
[00:00:00.097,000] <inf> shell_telnet: Telnet shell backend initialized
[00:00:03.122,000] <inf> eth_sam: Link up
[00:00:05.477,000] <inf> eth_sam_phy: common abilities: speed 100 Mb, full duplex
[00:00:08.577,000] <inf> net_telnet_sample: Starting Telnet sample
[00:00:08.577,000] <inf> net_telnet_sample: Running dhcpv4 client...
[00:00:08.577,000] <inf> net_telnet_sample: IPv6 address: 2001:db8::1
[00:00:12.480,000] <inf> net_telnet_sample: IPv4 address: <IP_ADDRESS>
[00:00:12.480,000] <inf> net_telnet_sample: Lease time: 86400 seconds
[00:00:12.480,000] <inf> net_telnet_sample: Subnet: <IP_ADDRESS>
[00:00:12.480,000] <inf> net_telnet_sample: Router: <IP_ADDRESS>
uart:~$

Note not related to the PR: The DT_USART_SAM_* still there for all SAM variations. Maybe we miss that on #24319.


Expe mathias

CMakefiles are now of better quality (but yet improvable), externals submodules may be used easily. Only tested on MacOsX.

Hello,
do not make the review yet for this pull request. When trying to integrate glbinding, I found some more problems that need to change this pull request.

This pull request is obsolete ... I close it.


Make the "Send" button in Admin/Registrations more eye-catching

When a new registration is entered by hand, it's easy to forget to press the Send button.  To make it more obvious, the the buttons in the Invitation column should be colored red when their text is "Send" (not when it is Re-send).
Also, by the way, there's a redisplay bug in this code: The button text does not change to Re-send until the page is refreshed.

Closing as the new UI has been developed after this issue was opened and this issue relates only to the old UI.


Add Cargo workspace configuration

Introducing virtual workspace Cargo.toml file allows reusing workspace configuration (version, dependencies) in all Rust subprojects.

I changed version of the REPL to the workspace version because I don't think we will release them independently. @luketpeterson what do you think?

I changed version of the REPL to the workspace version because I don't think we will release them independently. @luketpeterson what do you think?

I this this is generally the right thing to do.
As things currently stand there are basically two ways to build the REPL, with or without Python.  If you build it with Python, it doesn't actually call hyperon lib directly, only through Python.  If you build with --features no_python then it calls hyperon lib directly.  The default is Python.
So, by default, the Rust hyperon lib gets statically linked into hyperonc which is then linked by hyperonpy, which is finally called by the hyperon python module.
In the future we may want to make the hyperon lib a stand-alone component, but I think that is further down the road.

I figured out the crash.  It's actually a really subtle bug and I'm not quite sure why this didn't bite us sooner.
It's in the tokenizer_register_token function of the C API.  The issue is this code that says:
    let c_token = CToken{ context, api };
    tokenizer.register_token(regex, move |token| {
        let constr = unsafe{ (&*c_token.api).construct_atom };
        let atom = constr(str_as_cstr(token).as_ptr(), c_token.context);
        atom.into_inner()
    });

The naive expectation is that the closure would capture the c_token, and then the c_token object would be dropped when the closure object was dropped.  But because the closure is not FnOnce (because it needs to be able to run multiple times) c_token can't capture by value.  So instead it captures the pointers inside c_token.
Then, when c_token goes out of scope, its drop implementation is called, freeing the object holding the pyfunction needed to make the token.
The fact the compiler didn't catch it is a perfect storm of unsafe and https://doc.rust-lang.org/edition-guide/rust-2021/disjoint-capture-in-closures.html

I'm not totally sure why it broke now, but my best guess is that the version of the Rust language changed from 2018 to 2021, which subtilely changed the rules about variable captures.
Anyway, I added a fix to make the capture explicit


Reincarnate  smart contract example and the documentation

There used to be a nice documentation and an example on smart contracts and seems both left this world. It will be nice to have those back.

Since we have got Substrate Contracts Workshop, I think it can be closed now.


command 'spgo.retrieveFolder' not found

I get a notification "command 'spgo.%any_command_name%' not found" on try to call any SPGo command.
I tried to use clean VSC and SPGo installation, did not help.
Issue occurs on both Windows and Ubuntu.

Yes, I’m receiving reports of issues with build 1.4.1. Can you revert to 1.4.0 until I have a chance to fix this today?

That helped. Thank you!

How I can return to 1.4.0 version?

I got it!

Everyone- I found the error with packaging that prevented SPGo from loading, fixed it, and published an update version 1.4.2 to the Visual Studio Marketplace.
Please confirm that v1.4.2 works. Thanks!

Hi, sorry but spgo.retrieveFolder doesn't work for me.  Local files are not updated by new sitecollection files. I am using version is 1.4.2.  How can I return to 1.4.0

found the "install another option" on the extention. I had to install 1.3.5 to make it work as expected.

Hello @mknig -
Are you working against the root web of the root site collection? I am tracking an active issue with users downloading files, using Glob notation, from that specific web here: #94

Hello Chrishasz,
thanks for your reply.
Yes. I use /**/* to download all files form the server. 1.3.5 is working fine, but 1.4.X abort the download immediately.
Von: "Chrishasz"<EMAIL_ADDRESS>An: "chrishasz/spgo"<EMAIL_ADDRESS>CC: "mknig"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Gesendet: Montag, 8. Juli 2019 19:45:26
Betreff: Re: [chrishasz/spgo] command 'spgo.retrieveFolder' not found (#93)
Hello @mknig -
Are you working against the root web of the root site collection? I am tracking an active issue with users downloading files, using Glob notation, from that specific web here: #94
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .

@mknig we have determined a root cause for this issue. I’ll have a build out in the next day.

@mknig Version 1.4.3 has been published to the Visual Studio Marketplace. Please update to the latest version and confirm here if the issue is resolved.


pint support for Dataset

This is part of the effort to add support for pint (see #3594) to Dataset objects (although it will probably be a test-only PR, just like #3643).

[x] Tests added
[x] Passes isort -rc . && black . && mypy . && flake8
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

The list of failing tests from #3594:

Dataset methods

__init__: Needs unit support in IndexVariable, and merge does not work yet (test bug is also possible)
aggregation: xarray does not implement __array_function__ (see #3917)
rank: depends on bottleneck and thus only works with numpy.array
ffill, bfill: uses bottleck
interpolate_na: uses numpy.vectorize, which does not support NEP-18, yet
equals, identical: works (but no units / unit checking in IndexVariable)
broadcast_like: works (but no units / unit checking in IndexVariable)
to_stacked_array: no units in IndexVariable
sel, loc: no units in IndexVariable
interp, reindex: partially blocked by IndexVariable. reindex works with units in data, but interp uses scipy
interp_like, reindex_like: same as interp / reindex
quantile: works, but needs pint >= 0.12
groupby_bins: needs pint >= 0.12 (for isclose)
rolling: uses numpy.lib.stride_tricks.as_strided
rolling_exp: uses numbagg (supports NEP-18, but pint doesn't support its functions)

it seems assert_allclose was one of the sources of UnitStrippedWarnings, but since there's a bug in pint's isclose (fixed on master) the tests fail now.
Also, because it casted to numpy, there were a few bugs that were hidden.

Thanks for working on this @keewis . Since there are no changes outside test_units.py, I think you should merge whenever you think this is ready.

I just found another issue: pint implements prod (but not yet nanprod) so the prod tests could be un-xfailed. However, we define a custom nanprod function that uses where to replace nan with 1. This won't work on quantities since, unlike nan and 0, a bare 1 cannot be put into quantities with a dimension (i.e. with a unit other than dimensionless).
I don't really understand the purpose of nanprod's min_count parameter (and _maybe_null_out) so I'm not sure how to fix that.
For now, I think we can merge this PR and I'll add that issue to the list in #3594.

TimeGrouper = <class 'pandas.core.resample.TimeGrouper'>, stacklevel = 2

    def __new__(cls, *args, **kwargs):
        if kwargs.get("freq") is not None:
            from pandas.core.resample import TimeGrouper

            # Deprecation warning of `base` and `loffset` since v1.1.0:
            # we are raising the warning here to be able to set the `stacklevel`
            # properly since we need to raise the `base` and `loffset` deprecation
            # warning from three different cases:
            #   core/generic.py::NDFrame.resample
            #   core/groupby/groupby.py::GroupBy.resample
            #   core/groupby/grouper.py::Grouper
            # raising these warnings from TimeGrouper directly would fail the test:
            #   tests/resample/test_deprecated.py::test_deprecating_on_loffset_and_base

            # hacky way to set the stacklevel: if cls is TimeGrouper it means
            # that the call comes from a pandas internal call of resample,
            # otherwise it comes from pd.Grouper
            stacklevel = 4 if cls is TimeGrouper else 2
            if kwargs.get("base", None) is not None:
>               warnings.warn(
                    "'base' in .resample() and in Grouper() is deprecated.\n"
                    "The new arguments that you should use are 'offset' or 'origin'.\n"
                    '\n>>> df.resample(freq="3s", base=2)\n'
                    "\nbecomes:\n"
                    '\n>>> df.resample(freq="3s", offset="2s")\n',
                    FutureWarning,
                    stacklevel=stacklevel,
                )
E               FutureWarning: 'base' in .resample() and in Grouper() is deprecated.
E               The new arguments that you should use are 'offset' or 'origin'.
E
E               >>> df.resample(freq="3s", base=2)
E
E               becomes:
E
E               >>> df.resample(freq="3s", offset="2s")

yeah, I don't know how to only filter for pint warnings, I tried pytest.mark.filterwarnings("error:::pint[.*]") but that doesn't work


A different "can't build web app"

After raising the issue in the Google + forum, it's taken me a while but I've built a new development Linux box from scratch.  I downloaded the latest Master branch but unfortunately I'm getting an error towards the end of the build web app.
I've tried to follow the errors through in the code, but I can't see what might be the cause.
Unfortunately the inability to build the application is causing a problem as I can't bootstrap and deploy a fresh instance.  I would be grateful for any help.
Expected Behaviour
run bash deployments/deploy.sh web prod
to build web app
Actual Behaviour
errors at the end of build
Steps to Reproduce
run build again
[27] ./web_app/frontend/src/services/device.ts 9.26 kB {0} [built]
[33] ./web_app/frontend/src/services/shelf.ts 5.84 kB {0} [built]
[43] ./web_app/frontend/src/services/snackbar.ts 1.57 kB {0} [built]
[52] ./web_app/frontend/src/services/user.ts 4.27 kB {0} [built]
[59] ./web_app/frontend/src/services/dialog/dialog.ts 1.41 kB {0} [built]
[60] ./web_app/frontend/src/services/config.ts 5.88 kB {0} [built]
[61] ./web_app/frontend/src/services/search.ts 3.52 kB {0} [built]
[434] ./web_app/frontend/src/main.aot.ts 1.01 kB {0} [built]
[598] ./web_app/frontend/src/app.module.ngfactory.js 31.8 kB {0} [built]
[695] ./web_app/frontend/src/app.ngfactory.js 16.9 kB {0} [built]
[699] ./web_app/frontend/src/services/oauth_interceptor.ts 5.93 kB {0} [built]
[701] ./web_app/frontend/src/services/tag.ts 3.15 kB {0} [built]
[707] ./shared/directives/min_validator/index.ts 1 kB {0} [built]
[708] ./shared/directives/remove_whitespaces/index.ts 1.03 kB {0} [built]
[712] ./shared/directives/focus/index.ts 960 bytes {0} [built]
+ 721 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./web_app/frontend/src/index.html 781 bytes {0} [built]
ERROR: /home/hackney/Dev/loaner-master/loaner/web_app/BUILD:113:1: in py_appengine_binary_base rule //loaner/web_app:runfiles:
Traceback (most recent call last):
File "/home/hackney/Dev/loaner-master/loaner/web_app/BUILD", line 113
py_appengine_binary_base(name = 'runfiles')
File "/home/hackney/.cache/bazel/_bazel_hackney/b5b8b7c184f422d566e2bb6917c490a0/external/io_bazel_rules_appengine/appengine/py_appengine.bzl", line 165, in _py_appengine_binary_base_impl
struct(runfiles = runfiles, py = ctx.attr...)
File "/home/hackney/.cache/bazel/_bazel_hackney/b5b8b7c184f422d566e2bb6917c490a0/external/io_bazel_rules_appengine/appengine/py_appengine.bzl", line 165, in struct
ctx.attr.binary.py
<target //loaner/web_app:_py_appengine_runfiles> (rule 'py_binary') doesn't have provider 'py'
ERROR: Analysis of target '//loaner/web_app:runfiles' failed; build aborted: Analysis of target '//loaner/web_app:runfiles' failed; build aborted
INFO: Elapsed time: 0.300s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
hackney@hackney-gng-dev:~/Dev/loaner-master/loaner$ ^C

May I ask what kind of machine you are building on and you are on the most up to date version correct?

Hi, I'm on the Master version. Building on Kde Neon.  I re-built it three or four times, trying to get the right version of npm, node and Angular .. Do you recommend anything ?

well, yet another clean install of Linux later and I've managed to clean everything up.  I'll post something in G+ which might help others.  I got some inspiration from the travis stuff and some from my previous installation notes ... at least I'm able to build the web app again, which is  a relief!


Website Agent misses some classes

Hello!
I'm want to get an email every time this website change; a product is added/removed or the stock changes.
The Website Agent seem to not scrape all classes - why is this?
{
  "expected_update_period_in_days": "30",
  "url": "https://www.gronahus.se/sv/webbutik/fyndhorna/",
  "type": "html",
  "mode": "on_change",
  "extract": {
    "products": {
      "css": ".tws-list--type-grid",
      "value": "normalize-space(.)"
    }
  }
}

This extracts this:
{
  "products": "Nyhet- 44%FIBARO Smoke sensor - Fyndvara699 SEK389 SEKI lager: 16KöpNyhetAqara Hub M2649 SEKKöpNyhetAQARA - Single Switch Module T1 (med neutralledare) - Fyndvara199 SEKKöpNyhet- 39%FIBARO Single Switch 2 - Fyndvara649 SEK399 SEKI lager: 1KöpNyhet- 22%Aeotec WallMote Quad899 SEK699 SEKLäs merNyhet- 39%FIBARO RGBW Controller - Fyndvara649 SEK399 SEKI lager: 1KöpNyhet- 31%FIBARO Single Switch for HomeKit - Fyndvara649 SEK449 SEKI lager: 1KöpNyhet FIBARO Heat Controller & Temperature Sensor HomeKit - Fyndvara499 SEKKöpNyhet- 39%FIBARO Roller Shutter 2 - Fyndvara649 SEK399 SEKI lager: 1KöpNyhetDanalock V3 Skandinavien Z-Wave1 949 SEKKöpNyhetDanalock Danapad V3999 SEKKöpNyhetAeotec Smart Home Hub - Works as a SmartThings Hub - EU1 149 SEKKöp"
}

There are products missing, for example "Fibaro Dimmer 2..."
There are also products in the list that can't be seen when browsing, for example "aeotec...".
These items can be found in the "inspection" if I do a search but I cant find any classes (css?) for them.
So, where is huginn looking? I though I specified it to take everything in the class ".tws-list--type-grid"_.
I hope you understand what I mean, I'm not very good at this...

I'm thinking that maybe javascript don't have time to load?

I'm thinking that maybe javascript don't have time to load?


additional meta data

Hi, is it possible to set additional meta data on the uploaded object. We want to set the x-amz-meta-mime-type on upload.

+1

Need to set Cache-Control header on file put operation. IS this possible with this library?


Feature: Parameters: add support for manual value refresh (WIP)

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
This would add a method to the parameter provider to force-refresh a parameter value. This could be done through a flag.
Use cases: username/password that have expired and need to be refreshed.
Describe alternatives you've considered

Additional context

@nmoutschen @heitorlessa would this be via some kind of exception handler that picks up when the credentials failed?

@nmoutschen  a version of this is in this PR : https://github.com/awslabs/aws-lambda-powertools-python/pull/341
UX might be better for a decorator.

@nmoutschen could you expand on what you meant with this feature request so we can get it added in Wednesday's release?
Do you mean a parameter like what @michaelbrewer implemented on a per get_parameter call, or an explicit method to refresh what's already in the cache e.g. .refresh_parameter(name='/dev/service/parameter')?
If it's the former, @michaelbrewer I'd suggest a more explicit name like ignore_cache as that's what it seems to be happening in the implementation.

Hey @michaelbrewer & @heitorlessa!
I didn't have a specific implementation in mind and thought of 2 possibilities: pass a flag to the get_parameter call, or manually flush a specific cache value. Overall, I think @michaelbrewer's implementation is simpler (same function, with just an additional parameter).
From a name point of view, ignore_cache would imply that the parameter wouldn't be stored in local cache, so I personally prefer force_update. force_fetch is good too.

Thanks @nmoutschen that makes sense. force_fetch in this case makes more sense -- @michaelbrewer could you do a quick refactor on that PR with that and we can merge ahead of Wed's release?

@heitorlessa  i have made the changes just thinking of a good example for the docs, here it was i have so far:
import os
from aws_lambda_powertools.utilities import parameters

class InvalidCredentials(Exception):
    """Raised when client get an invalid credentials error"""

class Client:
    password = None

    def configure(self, password):
        self.password = password

    def read_record(self):
        """Might raise an InvalidCredentials exception """

DB_PASS_PARAM = os.environ["DB_PASS_PARAM"]
db_client = Client()
db_client.configure(parameters.get_parameter(DB_PASS_PARAM))

def refresh_db_password():
    db_client.configure(parameters.get_parameter(DB_PASS_PARAM, force_fetch=True))

def read_record(is_retry=False):
    try:
        return db_client.read_record()
    except InvalidCredentials:
        if not is_retry:  # avoid infinite recursion
            refresh_db_password()  # force parameter refresh
            return read_record(is_retry=True)

def handler(event, context):
    return {"record": read_record()}

This is now available in 1.12.0 :) Thanks @michaelbrewer !
https://github.com/awslabs/aws-lambda-powertools-python/releases/tag/v1.12.0


[RFC]: improve README examples of number/uint8 namespace

Description
This RFC proposes to improve the README examples of the number/uint8 namespace package. Currently, namespace package READMEs only include minimal examples which are not particularly informative and do not showcase namespace functionality.
Historically, namespace examples were not given much effort due to the rapidly changing nature of the project; however, now that development and organization has settled, it would be good to revisit these packages and add proper examples to better communicate to users how to use namespace contents.
For those wanting to contribute to this issue, you can use the following steps:

Browse through the contents of the number/uint8 namespace and identify interesting functions and packages to showcase.
Update the example code block in the "Examples" section of the README for the number/uint8 namespace and open a PR.
When updating the README, examples should follow existing project conventions (e.g., ES5).
Examples may require functionality from other packages to help make examples more interesting.

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

Hey @Planeshifter please assign this issue to me


Upgrade bs-platform and related dependencies

It normally wouldn't be necessary, had it not been for changes in how booleans are compiled + ReasonReact.stringToElement being renamed to ReasonReact.string.
Word of caution: I did this update in the middle of the night, without executing the code at all, so might be a good idea to run it at least once 🤣

I'm in the process of creating a presentation with it, and I can report that the code runs like a charm.


Only install required pip packages

The image should only install the minimum required python pip packages to get running.
I don't want to install packages that I don't need as it adds to the size, build time (which can take some time on my raspberry pi) and potentially introduces more problems.
The current release of the Dockerfile supports adding extra pip packages using variables. Docker is designed for one image to be built on another (ie FROM airflow RUN pip install whatever).
So I propose that the following packages be removed: hive, jdbc, and mysql.

as far as i knew, most people does not care the size. because we are living on the clouds.

I don't know where you live @Kiddinglife but Docker's own best practice document says:

Inadvertently including files that are not necessary for building an image results in a larger build context and larger image size. This can increase the time to build the image, time to pull and push it, and the container runtime size.

So most authors do aim to keep the image size down and leave out unnecessary packages. You could argue whether the packages @lmcclell proposes to drop are necessary or not, but it's not fair to say image size is somehow irrelevant.


[question] Is it possible to switch using only single ⌘ key press?

Hi! Wonderful app, thanks!
I used to switch input source (via Karabiner) to MyLang1 via LEFT ⌘ key single press and to MyLang2 via RIGHT ⌘ key single press, but unfortunately Karabiner no longer works with OSX Sierra.
Is it possible to add this feature to your app?

Kawa uses MASShortcut for shortcut management and it doesn't support registering shortcuts with only those meta keys. It seems Karabiner will support Sierra soon, so you may expect it to work in a while. Sorry that I cannot help much.
Thanks!


Question:  Fullscreen modal

@first - thanks for your work!  Is it possible to have also a 'fullscreen' size property?  100% width and height would be really nice!  Thanks

I just added a full size property - width only. BUT you can add your own size in the config method e.g.:
angular
  .module('myApp', [ 'vModal' ])

  .config(function (modalConfig) {
    modalConfig.sizes.fullscreen = 'Dialog--sizeFullscreen'
  });

<v-modal>
  <v-dialog size="fullscreen">
    [content]
  </v-dialog>
</v-modal>

You can do the same with the position of the dialog and then add your own styles.


Error when evaluation

When I run the evaluation in the docker container:
torchpack dist-run -np 1 python tools/test.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml pretrained/bevfusion-det.pth --eval bbox
occurs this error:
TypeError: 'MultiPolygon' object is not iterable
Here are the details:
Original Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/bevfusion/mmdet3d/datasets/custom_3d.py", line 291, in getitem
return self.prepare_test_data(idx)
File "/home/bevfusion/mmdet3d/datasets/custom_3d.py", line 182, in prepare_test_data
example = self.pipeline(input_dict)
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/pipelines/compose.py", line 41, in call
data = t(data)
File "/home/bevfusion/mmdet3d/datasets/pipelines/loading.py", line 290, in call
masks = self.maps[location].get_map_mask(
File "/opt/conda/lib/python3.8/site-packages/nuscenes/map_expansion/map_api.py", line 392, in get_map_mask
return self.explorer.get_map_mask(patch_box, patch_angle, layer_names=layer_names, canvas_size=canvas_size)
File "/opt/conda/lib/python3.8/site-packages/nuscenes/map_expansion/map_api.py", line 870, in get_map_mask
map_mask = self.map_geom_to_mask(map_geom, local_box, canvas_size)
File "/opt/conda/lib/python3.8/site-packages/nuscenes/map_expansion/map_api.py", line 819, in map_geom_to_mask
layer_mask = self._layer_geom_to_mask(layer_name, layer_geom, local_box, canvas_size)
File "/opt/conda/lib/python3.8/site-packages/nuscenes/map_expansion/map_api.py", line 1803, in _layer_geom_to_mask
return self._polygon_geom_to_mask(layer_geom, local_box, layer_name, canvas_size)
File "/opt/conda/lib/python3.8/site-packages/nuscenes/map_expansion/map_api.py", line 1890, in _polygon_geom_to_mask
map_mask = self.mask_for_polygons(new_polygon, map_mask)
File "/opt/conda/lib/python3.8/site-packages/nuscenes/map_expansion/map_api.py", line 1823, in mask_for_polygons
exteriors = [int_coords(poly.exterior.coords) for poly in polygons]
TypeError: 'MultiPolygon' object is not iterable
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
/opt/conda/lib/python3.8/site-packages/shapely/set_operations.py:133: RuntimeWarning: invalid value encountered in intersection
return lib.intersection(a, b, **kwargs)
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.

mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[20835,1],0]
Exit code:    1
I think the problem is not about the environment setup cuz I am using the Dockerfile to build up in the container.

I meet the same problem

Are you also using the nuscenes mini dataset instead of the full dataset?

Hmmm,no, I am using the full dataset. You mean the reason of this error is using mini dataset?

Hmmm,no, I am using the full dataset. You mean the reason of this error is using mini dataset?

No, I am also not sure.
Did you also meet this error?
TypeError: 'MultiPolygon' object is not iterable
I thought there might be some data error in the mini dataset, but if the full dataset also occurs this I think the reason is not about the data error.

yes, I met this problem yesterday, and I could not find any methods to fix it.

yes, I met this problem yesterday, and I could not find any methods to fix it.

Hi Hanlin, I downgrade the shapely from 2.0 to 1.8 and the error solved.

I will try it, thx

It works dude!thx!> > yes, I met this problem yesterday, and I could not find any methods to fix it.

Hi Hanlin, I downgrade the shapely from 2.0 to 1.8 and the error solved.

Closed due to inactivity. Please feel free to reopen if you feel it necessary.


Polymer function not accessible in firefox/safari

So I made a polymer element.
and in the script part i wrote this

And in my JS controller i wrote:
var timelineEl=document.querySelector(".timeline-shipment");
console.log(timelineEl);
timelineEl.renderEvents(data,$scope.shipment_id);
This works fine in chrome but not in firefox/safari...
I had to do this:
timelineEl.proto.renderEvents(data,$scope.shipment_id);

Any example in Plunker?

unable to get a polymer example running in plunkr... can help?

Sample code:

So i was using a SPA
and the other view which loaded via ajax was bringing in new polymer tags
so it was not getting initialised before i accessed them..
any way of knowing such initialisation event?


Custom Nb Search field

How to have a custom search field via NbSearch component. Basically how to edit the HTML of the search field and add more multiple input fields instead.

I tried following that approach but it says NbSearchComponent not found in '@nebular/theme'.
How do I extend NbSearchComponent

Can anyone give a working example of this.

Any sample with custom field really need it


closes #193 Upgrade to golang 1.19.1

Codecov Report
Base: 99.44% // Head: 99.44% // No change to project coverage :thumbsup:

Coverage data is based on head (25c2f07) compared to base (a68ae5c).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   99.44%   99.44%
=======================================
  Files          10       10
  Lines         541      541
=======================================
  Hits          538      538
  Misses          2        2
  Partials        1        1

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.


Enhancements/Bugs after first test series

Bugs and necesaary improvements noticed during the first test series

Startpage

[ ]  Loading bar during upload of ERCs
[ ]  Error Message if the user is not logged in
[ ]  Error Message if no file is inserted

###other noticed bugs:
####check ERC

[  ]  new Job not added in List
[  ]  no Error Message if User is not logged in
[  ]  rendering error while running check ERC

@NJaku01 can you please double check - I think we can close this.

@nuest Here are some more possible enhancements for the manipulation view listed. Maye it would make more sense to save the ideas inside an new issue?


Lambda Authorizer (CS)

This issue is all about setting up the venue lambda authorizer attached to the venue API Gateway on the venue account, in the case unity-SBG-Dev account.
This is already in place, but just need to come up with a test case that proves this works (being accessed from the shared services API GW, and authorizing)

The Lambda Authorizer was tested with the steps explained in following 2 comments on issue https://github.com/unity-sds/unity-cs/issues/320. This was tested with the https://github.com/unity-sds/unity-cs/issues/320
Steps to test the venue API Gateway and test results
https://github.com/unity-sds/unity-cs/issues/320#issuecomment-1977999072
Steps to test the shared services API Gateway and test results
https://github.com/unity-sds/unity-cs/issues/320#issuecomment-1978061798


re-enable auto-connect for peer-to-peer connections

Boolean exposed in the configuration, but it's not yet wired up
When true, and the NWBrowser returns some peers, the system should ideally attempt to connect to those peers to establish an automatically updating/syncing connection while it's actively "listening". (Listening, and browsing, are tied together - and currently under explicit control by the hosting app)

fixed with #56


fix memory units in libvirt xml

What this PR does / why we need it:
This PR adjusts the memory units that we set in libvirt XML and verifies that the VM is started with correct values.
So far we were translating guest memory to bytes but set the incorrect units B instead of b.
In this case, 512Mi would be eventually translated incorrectly and qemu would be started with 537 MiB instead.
Release note:
use correct memory units in libvirt xml

/lgtm

/release-blocker master
since we're close to branching, I want to make sure this goes into the next upstream release

/release-blocker cancel master
never mind, this isn't a critical enough to be a blocker, but great to have it fixed!

Another question, isn't B normally byte while b normally means bit? But we were not off 8 times, so what is the difference?

Actually, I'm not sure what B means. On the other hand, libvirt documentation says: Valid units are "b" or "bytes" for bytes


PROPOSAL: Users should be passing in their specific dialect

Is your feature request related to a problem? Please describe.
When someone wants to download out repository, it's important for us to not force them to install all of the different sub-dialects like mariadb or mssql. We want to keep our package light.
Describe the solution you'd like
We have separate submodules as a part of the SDK that implement a specific Abstract Interface that we have defined. I think we could benefit from following the pattern that Sequelize has implemented. What you'll notice is that they have a "core" module that is in charge of ensuring the abstract interfaces are used properly in the core module.
As you can see here: https://github.com/sequelize/sequelize/blob/main/packages/core/src/sequelize.internals.ts#L18-L52, you wont be forced to install a specific module, rather, you will be passing them in. For each supported module, Sequelize has the appropriate Abstract Interface created https://github.com/sequelize/sequelize/tree/main/packages.
Describe alternatives you've considered
I haven't really thought about any additional solutions 😄 , I had given the thought of maybe doing something like a dev dependency install, but that would only be helpful for developing on the SDK rather than making it install with the appropriate library.,
Additional Context
const {mariaDB} = require('mariaDB')

const connection = OuterbaseConnection({
dialect: mariaDB
})

It also looks like if there is disparity in the child dependency, we can try and add overrides?
https://github.com/sequelize/sequelize/blob/main/packages/mysql/src/_internal/data-types-overrides.ts


[ ] Hi

[x] Hi

Originally posted by @Aein29 in https://github.com/mjbvz/vscode-github-markdown-preview-style/issues/115#issuecomment-1712085678

A


compued can not destruction

Version
3.1.0-beta.5
Reproduction link
https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8YnV0dG9uIEBjbGljaz1cImxuaWsxLnErK1wiPmxuaWsxLnEge3sgbG5pazEucSB9fTwvYnV0dG9uPlxuICA8YnV0dG9uPmxuaWsxLmFkZDEge3sgbG5pazEuYWRkMSB9fTwvYnV0dG9uPlxuICA8YnV0dG9uPmxuaWsxLmFkZDIge3sgbG5pazEuYWRkMiB9fTwvYnV0dG9uPlxuICAtLVxuICA8YnV0dG9uIEBjbGljaz1cImxuaWsyLnErK1wiPmxuaWsyLnEge3sgbG5pazIucSB9fTwvYnV0dG9uPlxuICA8YnV0dG9uPmxuaWsyLmFkZDIge3sgbG5pazIucHJvcHMuYWRkMSB9fTwvYnV0dG9uPlxuICA8YnV0dG9uPmxuaWsyLmFkZDMge3sgbG5pazIucHJvcHMuYWRkMiB9fTwvYnV0dG9uPlxuICAtLVxuICA8IS0tIHRoaXMgd2lsbCBlcnJvciwgcGxlYXNlIFR1cm4gT24gIE1hbnVhbGx5IC0tPlxuICA8IS0tIDxidXR0b24gQGNsaWNrPVwibG5pazMucSsrXCI+bG5pazMucSB7eyBsbmlrMy5xIH19PC9idXR0b24+XG4gIDxidXR0b24+bG5pazMuYWRkMSB7eyBsbmlrMy5hZGQxIH19PC9idXR0b24+XG4gIDxidXR0b24+bG5pazMuYWRkMiB7eyBsbmlrMy5hZGQyIH19PC9idXR0b24+IC0tPlxuPC90ZW1wbGF0ZT5cblxuPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IGNvbXB1dGVkLCByZWFjdGl2ZSB9IGZyb20gXCJ2dWVcIlxuXG5cbnZhciBsbmlrMSA9IHJlYWN0aXZlKHtcbiAgcTogMSxcbiAgYWRkMTogY29tcHV0ZWQoKCkgPT4gbG5pazEucSArIDEpLFxuICBhZGQyOiBjb21wdXRlZCgoKSA9PiBsbmlrMS5xICsgMiksXG59KVxuXG52YXIgbG5pazIgPSByZWFjdGl2ZSh7XG4gIHE6IDEsXG4gIHByb3BzOiBjb21wdXRlZCgoKSA9PiAoeyBhZGQxOiBsbmlrMi5xICsgMSwgYWRkMjogbG5pazIucSArIDIgfSkpLFxufSlcblxuLy8gdGhpcyB3aWxsIGVycm9yLCBwbGVhc2UgVHVybiBPbiAgTWFudWFsbHlcbi8vIHZhciBsbmlrMyA9IHJlYWN0aXZlKHtcbi8vICAgcTogMSxcbi8vICAgLi4uY29tcHV0ZWQoKCkgPT4gKHsgYWRkMTogbG5pazMucSArIDEsIGFkZDI6IGxuaWszLnEgKyAyIH0pKSxcbi8vIH0pXG48L3NjcmlwdD5cblxuIn0=
Steps to reproduce
first, as link 1 code,
i have lots of computed
so as link 2
Combine them into one
last, link 3
i want take out props, but get error
What is expected?
work
What is actually happening?
can not work

The return value from computed is a computed ref. It's not the object your returned.
It is unwrapped automatically when you access it as a property of a reactive object, but you can't spread it.


Removed reference to future V4

After todays update it is running Strapi v4 and the reference is not longer valid

Good catch! Thank you @MikkelScheike !


Small html2htpy fixes

hi @OleJoik, what do you think about these changes?

   - shorthand: bool = False if args.no_shorthand else True
   + shorthand = not args.no_shorthand

easier to read!

By the way, I see that I forgot to add a link to the new docs page on the root readme. Maybe could add that in this one also?

Good catch, I added it now too! Published 24.6.0 to pypi with these changes. Again thanks a lot for this, looking forward to use this!


late-July 2020 update causing "warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory"

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)

just updated brew and formula

What happened (include command output)

new warnings in brew's output (you can even see it in the output from brew config and brew doctor below

What you expected to happen

no unexpected warnings about locales

Step-by-step reproduction instructions (by running brew commands)

run brew or brew config or brew doctor or virtually any brew command

Output of brew config and brew doctor commands

❯ brew config
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
HOMEBREW_VERSION: 2.4.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: e6b066a3d9fc5435009428fcd2855fddf9b455c0
Last commit: 13 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 8f364d1e8f9c47e0879fa628720c682cd1ef3e8f
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_DISPLAY: :0
HOMEBREW_EDITOR: /usr/bin/nvim
HOMEBREW_MAKE_JOBS: 16
CPU: 16-core 64-bit unknown_0x17_0x8
Homebrew Ruby: 2.6.3 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
Clang: 10.0 build (parse error)
Git: 2.27.0 => /bin/git
Curl: 7.71.1 => /usr/bin/curl
Kernel: Linux 5.7.10-zen1-1-zen x86_64 GNU/Linux
OS: Unknown
Host glibc: 2.31
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
/usr/bin/gcc: 10.1.0
glibc: N/A
gcc: N/A
xorg: N/A

❯ brew doctor
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 15: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  guile@2
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)

Warning: python is symlinked to python3
This will confuse build scripts and in general lead to subtle breakage.

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /home/ron/.local/bin/ansible-config
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)

❯ localectl
   System Locale: LANG=en_AU.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

~
❯ localectl list-locales
en_AU.UTF-8
en_US.UTF-8

❯ locale -a
C
en_AU.utf8
en_US.utf8
POSIX

Looks like C.UTF-8 is missing from certain distributions including Arch (what I'm using) and nixOS:
https://github.com/electron-userland/electron-builder/issues/2340
https://github.com/signalapp/Signal-Desktop/issues/1829

Thanks for the report @jokeyrhyme!
The fix (#8072) will be included in the next Homebrew release -- it has been already merged into the main branch. You can switch to using the latest Homebrew/brew (rather than releases) by setting HOMEBREW_DEVELOPER env. variable to 1.

I interpret the above emoji reactions as "it works now" :)


[Frontend][ONNX] add onnx Mish operator

Mish  - tests pass locally for llvm target on a cpu

cc @mbrookhart @liangfu

Please add a testcase for it

Hey @Hzfengsy, I thought tests for the onnx frontend are directly picked from their test suite. There is one for test_mish as well, which executes through the parametrised function, test_onnx_nodes, should i write a separate one ?

Please add a standalone test in the file https://github.com/apache/tvm/blob/main/tests/python/frontend/onnx/test_forward.py

Hey @Hzfengsy, just added a test

Hey @Hzfengsy, can this be merged now ?

Thanks @Aarsh2001


crashes on stateless react class

I'm getting this error:
TypeError: Cannot read property 'type' of undefined
    at resolveSuperParameterPropsType (node_modules/eslint-plugin-react/lib/util/propTypes.js:615:20)
    at Object.ClassDeclaration (node_modules/eslint-plugin-react/lib/util/propTypes.js:651:39)
    at updatedRuleInstructions.(anonymous function) (node_modules/eslint-plugin-react/lib/util/Components.js:748:43)
    at listeners.(anonymous function).forEach.listener (node_modules/eslint/lib/util/safe-emitter.js:45:58)
    at Array.forEach (<anonymous>)
    at Object.emit (node_modules/eslint/lib/util/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (node_modules/eslint/lib/util/node-event-generator.js:251:26)
    at NodeEventGenerator.applySelectors (node_modules/eslint/lib/util/node-event-generator.js:280:22)
    at NodeEventGenerator.enterNode (node_modules/eslint/lib/util/node-event-generator.js:294:14)
    at CodePathAnalyzer.enterNode (node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:632:23)

It appears to be caused by a react class that has no state. It crashes for this code:
class MyClass extends React.Component<Props> {}

...but does not crash if you add a state annotation:
class MyClass extends React.Component<Props, State> {}

Is this TS or Flow?

Flow
On Wed, Feb 27, 2019, 12:59 PM Jordan Harband<EMAIL_ADDRESS>wrote:

Is this TS or Flow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yannickcr/eslint-plugin-react/issues/2179#issuecomment-467965582,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdunBYZlJV1-7y4QoqZ_6_Rw0HTec5Kks5vRsdmgaJpZM4bVHVF
.

I'm seeing this issue with TypeScript as well. Adding an empty State interface works around the error.

A PR to fix both would be great.

The number of crashes fixed in the changelog recently really illustrates the pitfalls of managing a codebase of this size without using TypeScript or Flow

I don’t agree; it’s just the legacy of not being rigorous about defensive programming in this repo. That’s no longer the case.

Defensive programming is of course always good, but what I'm saying is that Flow (and I assume TypeScript?) would have caught this potential NPE and probably many others that exist in this codebase.  I doubt there's any programmer who's at good at remembering to include null checks as Flow is at requiring them.

Maybe so, but that relies on the parser types always being correct too. Either way, writing not-javascript in this repo isn’t on the horizon.


test out fixes to PreparedStatementCache

See #307.

Looks like we have a new issue on DB2 with Vert.x 3.9.3:
  Caused by:
        java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
            at io.vertx.db2client.impl.drda.DRDAConnectRequest.getProductData(DRDAConnectRequest.java:121)
            at io.vertx.db2client.impl.drda.DRDAConnectRequest.buildPRDDTA(DRDAConnectRequest.java:363)
            at io.vertx.db2client.impl.drda.DRDAConnectRequest.buildACCRDB(DRDAConnectRequest.java:68)

Problem appears to be specific to JDK 1.8. It works for me on JDK 11.

Problem appears to be specific to JDK 1.8. It works for me on JDK 11.

@aguibert pointed out that the problem occurs when the Vert.x SQL Client is built in JDK 11. I've verified that the problem is fixed when I use a local JDK 1.8 build of 3.9.3-SNAPSHOT.
The issue is that the Vert.x snapshot built on the sonatype repo was built on JDK 11.

Great, thanks @aguibert, this is now fixed with the latest snapshot. Now all we need is a release.

Closing, was already fixed.


Port to Forge 1.19.2 and 1.18.2

These will be handled via separate Git branches that stem from the 1.19.3 version. The number of changes from 1.19.2 to 1.19.3 actually seems to be greater than 1.18.2 to 1.19.2, and from what I remember, there aren't a substantial number of changes between 1.18.2 and 1.19.2. As a result of these, both of these versions will be part of the same goal.
Some major things that would need to be updated for this port include

How data providers are initialized
All loot table providers
How custom creative mode tabs are created
How items are included in creative mode tabs

Further port goals outside of this milestone include Forge 1.16.5 and 1.12.2, and maybe Fabric if I feel like it.

Port to 1.19.2 is finished. Seems to work perfectly.

Port to 1.18.2 finished.


Improvements to service catalog documentation

restructure and improve Service Catalog docs.

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


wait_for_dv_success: adapt to Populators, add stop_status optional ar…

Changes in wait_for_dv_success:

Moving wait for PVC Bound to the end of the function because CSI storage is now using Populators for DataVolumes. With Populators, PVC gets Bound only after DV succeeded.

Adding new DV phase 'PendingPopulation' for DVs provisioned on CSI WFFC storage.

Adding 'stop_status' optional arg (function) to exit if stop_status is True.

/hold

/hold cancel

/verified


How to deploy flash sockets in uwsgi CentOS ？

Receive message interface exception information as follows：
environment = environ['wsgi.websocket']
KeyError: 'wsgi.websocket'

Hi @ShawnChen-dev  - you really need to give a lot more explanation about what you're trying to do specifically. What you're using, what code you've ran etc before anyone can help you.
From the very little we can see, it looks like perhaps the environ dictionary doesn't have the key "wsgi.websocket" as a literal. Though without knowing more it's hard to say what's going on.

Thank you for the reminder. I did it ：
`import json
from flask import Flask
from flask_sockets import Sockets
app = Flask(name)
sockets = Sockets(app)
@sockets.route('/echo')
def echo_socket(ws):
while not ws.closed:
message = ws.receive()
if message is not None:
ws.send(json.dumps({'output': message['output']}))
@app.route('/')
def hello():
return 'Hello World!'
if name == "main":
from gevent import pywsgi
from geventwebsocket.handler import WebSocketHandler
server = pywsgi.WSGIServer(('<IP_ADDRESS>', 9017), app, handler_class=WebSocketHandler)
server.serve_forever()

`
Deploy to centos7 and run this file directly. Both interfaces are normal, but running through uwsgi(uwsgi --ini flask_uwsgi.ini), HTTP interface is normal, and WS interface throws an exception
environment = environment [' wsgi.websocket ]
KeyError: ' wsgi.websocket '
uwsgi config:
[uwsgi] uid=root gid=root http-socket = <IP_ADDRESS>:9024 chdir=/root/test-scc/scc_service master=true vhost = True workers = 2 enable-threads = True wsgi-file= run.py callable = app module=run:app logto=/var/error.log python-autoreload=1 touch-chain-reload = true uwsgi_read_timeout = 600 limit-as = 6048 processes=4 gevent= 100
This problem has bothered me for a long time. I hope my experienced friends can help me！


Can you also share the electron build?

Hi, thanks for taking an interest on Storaji. What's your exact mean? If you mean about the frontend repo you can visit at IndomaximTechID/storaji-ui in that repo you can find about the electron build conf, main, updater and the app source.
I think, I will add CONTRIBUTING.md file for contributors need. On that file I will explain about the (Frontend & Backend repo; How to contribute; Code style guides, etc)

yup thats what im just looking for the electron app, where you can specify the build thanks

do u have any milestone of the feature you want to add , so i can also check it , also i can help build some parts if needed

where you can specify the build thanks

This is the resources for the app https://github.com/IndomaximTechID/storaji-ui/tree/master/build
This is the configuration for electron-builder https://github.com/IndomaximTechID/storaji-ui/blob/added4d756084d00f394d81b22335634c5a2f820/package.json#L12
This is the resources for electron such as (main.js, setupFrame.js, and releaseNote) https://github.com/IndomaximTechID/storaji-ui/tree/master/src/electron
To build on your machine first you need yarn globally, when done with clone the ui, run yarn && yarn build --macos

do u have any milestone of the feature you want to add , so i can also check it , also i can help build some parts if needed

Please check this out v1.0.0 for current milestone
I appreciated that you want to help me working on this, a PR would be great! If you help me a lot and want to join the organization I will invite you as a maintainer.


Benchmark Democracy Pallet

Part of #4876
It seems that some of the calls (like veto_external) can't be benchmarked without modification because they should be dispatched from other modules (like collective module) due to origin restrictions.
To solve this problem I could modify the code and guard it but it may be too dangerous.

Hm, github doesn't let me put in inline comments...
So a general comment, I would think that we should use the origins as designed and not cheat by using root. I think some of these origin check are doing some storage lookups that could influence the benchmark results.

Yeah, I agree. Do you have any idea on how to benchmark these calls?

Can you not construct the state in such a way that these origins are correct?

Can you not construct the state in such a way that these origins are correct?

The problem is that run_benchmark is called on Democracy, which requires origin from frame_system. So it doesn't compile if I use a collective::RawOrigin. If I use system::Origin it compiles but  into() returns an error as defined in the macro at support/origin.rs.
My best idea is to define a conversion between both types and guard it, by modifying that macro. But it sounds a bit dangerous as I said  in the description.

What is the error you get?

What is the error you get?

The error is mapped, so it says only BadOrigin, should be something like Err(system_origin).

My guess is that it's possible but from other module, something like TechnicalCommittee::run_benchmarks(). I'll check.

I was missing some bounds as you said (thanks!!!), it's fixed now.

Update: Gav suggested to use Origin::Root, it remains to see how to bench fn veto_external, because of who in let who = T::VetoOrigin::ensure_origin(origin)?;.


"Warning, no matches were found", even with existing files in relative path

OS: Windows 8.1
vscode: 1.27.1
plugin: 1.2.4
I keep receiving the message "Warning, no matches were found" when I ALT+d in any of my included files.
My scenario:
The opened file: /project/module1/tool/script/myfile.php
Inside it I have:
require_once '../../../module2/class/MyClass.php';

The file MyClass.php exists in the given path and is sucefully included when I run the script myfile.php. But I continue receiving this plugin error when I try to open the file using ALT+d.
Before the ALT-d, I tried click in any part of the string, tried select the file name, tried select the full relative path, nothing works.
I can provide more information if you need. Thanks!

Thank you for the feedback! I will check the problem and let you know.
In the meantime if you want you can try to play with the setting open-file-from-path.regExp and try to find the best combinations that suits you!
Cheers!

After some extension debugging I think found the problem. Please, tell me if I missed something.
Inside the for (var index in files) loop the filePathConverted successfully received the full path of MyClass.php
The script never enter in this comparisson, let's see why:
if ((matchFileName && filePathConverted.split('/').pop() == lastPart) || (!matchFileName && filePathConverted.indexOf(lastPart)>0)){

matchFileName is set to false, so only the filePathConverted.indexOf(lastPart)>0 can save us.
lastPart currently has the relative path of the file name (../../../module2/class/MyClass.php), so indexOf() can't find it in filePathConverted since it contains the full path.
Note: I changed the open-file-from-path.matchFileName to true and worked, but this option can't be trusted because, you know, the extension can find other file with the same name.

I have similar issue. It cannot find path staring with  '../'

Hello guys!
Thanks for the feedback and sorry for taking so long to solve this.
Try to update and if you still have the problem open a new issue.


Update README.md

Needed to make these changes to my code otherwise the delegate function circleMenuActivatedButton failed to fire and the set of expanded buttons were positioned too far below the main button. (Xcode 9beta5, Swift 4, after creating a clean project and adding through CocoaPods)

Hi, sorry for my delayed response, I just came back from holidays. :)
Thank you for testing CKCircleMenuView with the latest Xcode and Swift versions and for contributing a fix. I will have a look at it in the next few days.

Cool, thanks for the response, hope you had a good holiday. This was actually my first pull request so if I've done anything wrong, please let me know so I can improve in the future.