Option to not use cache

Hi, is it possible to choose to not use cache at all, other than using a version <=1.4 ?
The use case for this is: there are multiple workflows for which I want to use this action, but only one of them where I actually want this action to cache artifacts so that its execution time remains low. Since there is not enough space to cache everything, if every other workflow is also caching, the one "critical" workflow will often have its cache overwritten by that of some other workflow.
Please let me know if there is actually an option available for this that I've overlooked.

@FranciscoPombal it definitively makes sense to add an option to disable completely caching if not desired.
At the moment, the only way to do this it's to have a fixed key "e.g. "nocache" and cache an empty directory.

@lukka

At the moment, the only way to do this it's to have a fixed key "e.g. "nocache" and cache an empty directory.

Would setting vcpkgArtifactIgnoreEntries to just **/*\n achieve this?

@FranciscoPombal the vcpkgArtifactIgnoreEntries is not effective on GitHub, but only on Azure DevOps pipeline.
I think that as of today only caching an empty directory is a workaround the could be working.

@lukka

@FranciscoPombal the vcpkgArtifactIgnoreEntries is not effective on GitHub, but only on Azure DevOps pipeline.
I think that as of today only caching an empty directory is a workaround the could be working.

Probably a dumb question, but how can I tell this action to cache an empty directory? Do I just rm -r $VCPKG_ROOT/* before the end of the workflow or is there a better way?

@FranciscoPombal yes, that is the only way.
If you can validate some changes, I created a PR for a new input called doNotCache. You may set  this to true, and try if it works in your workflows?
You can use it like this:
uses: lukka/run-vcpkg@dev/disable_cache
with:
  doNotCache: true
  [...]

@lukka
Here is a workflow run with that change: https://github.com/FranciscoPombal/qBittorrent/runs/914168623
I had to cancel it because it was hanging due to a bug with MSYS setup that is currently affecting vcpkg, but your change seems to work fine:

Caching is disabled (doNotCache=true)

@lukka
Ok, here is a workflow run that succeeded: https://github.com/FranciscoPombal/qBittorrent/actions/runs/184636989
I removed most useful steps for building the actual application so that no actual useful artifacts were produced, but left in the installation of a package via vcpkg that is not affected by the aforementioned MSYS issue.
This should be enough confirmation that your patch is working correctly.

@FranciscoPombal thanks for testing it!
Work completed in https://github.com/lukka/run-vcpkg/pull/33


Add ThemeProvider

In the story above, the default theme has been overridden inside the modal to change the primary button color.

Not sure why all the Chromatic screenshots have an additional padding now. Stories look exactly the same as before

Added also a support to inline theming and theme Box customization via as and className properties.
It's now possible to use the BentoThemeProvider to override tokens inline, so for example we can:

Override the whole theme with another static theme created with makeBentoTheme:

<BentoThemeProvider theme={{ theme: newTheme }}>

Override just a few tokens from the parent theme, with:

<BentoThemeProvider theme={{ tokenOverrides: { interactiveBackgroundColor: { primarySolidFocusBackground: "red" } } }}>

Do both, passing both the theme and the tokenOverrides fields.

Note that tokenOverrides can be set progressively, as they're merged with the overrides defined in the parent provider.


Any plan to support scala 3?

The project is currently cross published for scala 2.12 and 2.13. Are there any plans to start supporting scala3?
Importing meteor in scala3 projects using cross(CrossVersion.for3Use2_13) is not an option, because dependencies have different incompatible artefacts for scala2 and scala3

hi, sorry for the late reply. Unfortunately there isn't a plan for upgrading from scala2 to scala3 yet. I've tried to do it but it seems to require a lot more effort that expected. Please feel free to raise a PR if you have done this before. Cheers.

@mhzajac integration tests are failing for scala 3 and that is the only blocker atm. It looks like this bug but I might be wrong. I haven't managed to figure out why. Any suggestions are welcomed. Thanks.

Ah, that looks right. I no longer see that error using dotty/main, but it's not officially published yet ☹

Any news on Scala 3 support @d2a4u ?
3.3.1-RC1 includes dotty#16882, so it should now be easy to validate the hypothesis that the IT failures were caused by that issue.

Update: please see https://github.com/d2a4u/meteor/pull/301#issuecomment-1675922253

PR https://github.com/d2a4u/meteor/pull/343 updated to Scala v3.3.1-RC7.
Please have a look @d2a4u and others.

Scala v3.3.1 was released on 2023-09-08.
Any chance of someone looking at this issue again?
Please also check out https://github.com/d2a4u/meteor/pull/343.

We've waited too long for Scala 3 support. Please help!

hi, sorry for the long delay. I've not been able to spend as much time as I did before on this project. Version 2.0.0 has been released with Scala 3 support. With this release, I've dropped supports for scanamo because when I started working on Scala 3 support, scanamo hadn't supported it yet so the removal was needed to unblock meteor's work. I will consider re-adding it in the future. Thank @marko-asplund for helping with the Scala 3 support release.

Great to see meteor v2 released with Scala 3 support! 🥳 Thanks @d2a4u ! 🙇


Revert "Fixes left margin alignment on news article page"

We just received another 503 error. I believe this is the PR that cause it. I'm going to revert to see if this fixes it.

No, the PR didn't break the webpage. See your email. It's a problem with
Docker.
On Thu, Mar 21, 2019 at 2:33 PM Hank Tadeusiak<EMAIL_ADDRESS>wrote:

Merged #802
https://github.com/jonfroehlich/makeabilitylabwebsite/pull/802 into
master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jonfroehlich/makeabilitylabwebsite/pull/802#event-2221104298,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABi-9XUdn9_GHmr7Gs5DzFohwmUrCM9Gks5vY_q6gaJpZM4cCatA
.

--
Jon Froehlich
Associate Professor
Paul G. Allen School of Computer Science & Engineering
University of Washington
http://www.cs.umd.edu/~jonf/
http://makeabilitylab.io
@jonfroehlich https://twitter.com/jonfroehlich - Twitter


Consider making releases of common controller package

We need a way for dependencies to be expressed on the controller pkg from mig-controller and virt-controller.
Right now mig-controller is importing master of this repo referring to whatever the newest commit is at the time of dep resolution, but perhaps we should consider tags or versions in this repo when it comes time to cut releases in either of the depending controllers.

Done.


FreeBSD base includes NTP.  It isn't a package.

^^^ appears to be caused by PR 145 (merged).  I'll merge master when it passes tests.

the test failure is firstly due to your changes :)
rspec ./spec/unit/attributes_spec.rb:245 # ntp attributes on the FreeBSD platform sets the package list to include only ntp
rspec ./spec/unit/recipes/default_spec.rb:309 # ntp::default freebsd installs the ntp package

@shortdudey123 , you're right.  I saw that previously merged PRs were failing, and took the lazy way out.
I'll close this PR until I get clean build in my own environment.


Create documentation

Hi, @Naylin15
Please, create these files in this repository

[x] README in markdown file format
[x] LICENSE in markdown file format [The MIT License (MIT)]
[x] GitHub templates for issues and PRs
[x] Contribute Guidelines

Thank you.

Hi, @ajsb85
I think this issue is finished
Greetings

Good job @Naylin15
I will fill a new issue, to review the code documentation


Add Mongodb daily backup S3 bucket

Some slight refactoring so that we're using the private module policy for our mongo backups in S3. Added a bucket for mongo daily backups.

Merge away.


Dependabot encountered an unknown error

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
pip
Package manager version
No response
Language version
3.11
Manifest location and content before the Dependabot update
/Pipfile
dependabot.yml content
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
- package-ecosystem: pip
  directory: "/"
  schedule:
    interval: weekly
  groups:
    python-dependencies:
      update-types:
        - "minor"
        - "patch"
  versioning-strategy: lockfile-only
  open-pull-requests-limit: 10
- package-ecosystem: npm
  directory: "/"
  schedule:
    interval: weekly
  groups:
    javascript-dependencies:
      update-types:
        - "minor"
        - "patch"
  versioning-strategy: lockfile-only
  open-pull-requests-limit: 10
- package-ecosystem: github-actions
  directory: "/"
  schedule:
    interval: weekly

Updated dependency
No response
What you expected to see, versus what you actually saw
https://gist.github.com/amureki/c9f0fff4a062f94d4abc38872272a613
Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

Could you share a sample repository that reproduces this?

#8452 will fix this!

Oh wow, thank you David, for a swift response and an instant fix! And sorry I was late with an example repo - but that's great that you managed to reproduce it!
Looking forward to this solution, will test it ASAP.


[WIP] Doc updates for 0.2 release

Fixes #443
Fixes #441

Added simple tutorial for modules
Added arm -> bicep cheat sheet
Updated examples contribution guide with slightly more guidance

Waiting on module scopes and dot property PRs to merge to main

Codecov Report

Merging #779 into main will increase coverage by 0.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #779      +/-   ##
==========================================
+ Coverage   94.05%   94.72%   +0.67%
==========================================
  Files         282      278       -4
  Lines       11873    11716     -157
  Branches       12        0      -12
==========================================
- Hits        11167    11098      -69
+ Misses        706      618      -88

Flag
Coverage Δ

dotnet
94.72% <ø> (-0.07%)
:arrow_down:

typescript
?

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

Impacted Files
Coverage Δ

...cep.Core.UnitTests/FileSystem/FileResolverTests.cs
76.66% <0.00%> (-23.34%)
:arrow_down:

src/Bicep.Core/FileSystem/PathHelper.cs
88.00% <0.00%> (-4.00%)
:arrow_down:

src/Bicep.Core/TypeSystem/DeclaredTypeManager.cs
82.14% <0.00%> (-0.16%)
:arrow_down:

...p.LangServer/Completions/BicepCompletionContext.cs
95.37% <0.00%> (-0.08%)
:arrow_down:

src/Bicep.Core/TypeSystem/TypeValidator.cs
91.47% <0.00%> (-0.04%)
:arrow_down:

src/Bicep.Core/Parser/Parser.cs
93.68% <0.00%> (-0.02%)
:arrow_down:

....LangServer/Completions/BicepCompletionProvider.cs
98.51% <0.00%> (-0.01%)
:arrow_down:

src/Bicep.Core.UnitTests/Utils/CompilerFlags.cs
33.33% <0.00%> (ø)

...Bicep.Core.UnitTests/FileSystem/PathHelperTests.cs
100.00% <0.00%> (ø)

src/vscode-bicep/src/extension.ts

... and 3 more


negative regulation of protein localization to cell tip involved in positive regulation of establishment of cell polarity regulating cell shape

This ticket is for discussion and resolution of a TermGenie request for a pair of compound terms with very long names with multiple clauses.  The term genie requests have been rejected (=> obsoletion of the terms).
"protein localization to cell tip involved in positive regulation of establishment of cell polarity regulating cell shape"
intersection_of: GO:1990151 ! protein localization to cell tip
intersection_of: part_of GO:2000784 ! positive regulation of establishment of cell polarity regulating cell shape
"negative regulation of protein localization to cell tip involved in positive regulation of establishment of cell polarity regulating cell shape"
intersection_of: GO:1903067 ! negative regulation of protein localization to cell tip
intersection_of: par\t_of GO:2000784 ! positive regulation of establishment of cell polarity regulating cell shape
These terms were requested for curation of Kokkoris  et al., 2014. PMID:24554432
Critique of term names:
These terms are hard for most people to read and understand.  The main problem is not their length (although that doesn't help), it is the multiple occurences of 'regulates'  (positive, negative and neutral) combined with involved in.
Brief summary of the biology:
The big picture:
"microtubule organization and cell shape form a self-reinforcing system, in which the cell shape provides physical constraints that align microtubules along the length of the cell to deliver landmarks to cell extremities, which in turn reinforce the rod shape by marking the cell ends for growth"
Can we simplify/clarify the terms by changing the way we capture this context?

Doesn't all establishment/maintenance of cell polarity have some effect on cell shape? If so, do we need to mention most in the term?
Given that we're talking about a self-reinforcing system rather than de novo establishment of a state, wouldn't it be clearer to use 'maintenance' to describe this, rather than regulation?
What about the relationship to polarised growth? We have a variety of terms for this (e.g. bipolar cell growth; cell tip growth), but the requested terms lack this context. Presumably polarised cell growth is always dependent on a prior establishment of cell polarity followed by ongoing maintenance of cell polarity.  It should be possible to reflect this in the ontology.
Would be enough to capture a smaller slice of this big picture?  Rather than establishement of cell polarity regualting cell shape, perhaps: 'maintenance of cell polarity' OR 'maintenance of polarised cell growth'

The molecular details:
Microtubules deliver Tea1-Tea4 to the poles where it activates Cdc42. This activation drives localised growth. e.g. via promoting polarised exocytosis of cell wall remodelling enzymes.
The paper focuses on how Tea4 activates Cdc42.  It does this by binding and recruiting an activator of Cdc42 (the GEF, gef1), while locally excluding a inhibitor of Cdc42 (the GAP, Rga4)
Some suggestions
Tea4 capable_of protein localisation to cell tip involved in maintenance of polarised cell growth (localizes Gef1)
Tea4 capable_of negative regulation of protein localisation to cell tip involved in maintenance of polarised cell growth (some relationship to Rga4 ?)
Reported by: dosumis
Original Ticket: geneontology/ontology-requests/10987

Can probably close since the offending terms are obsoleted?


Create a sendRedirectBack utility

This utility could be a wrapper of sendRedirect:
function sendRedirectBack(event) {
  const back = getHeader(event, 'referer') || '/'
  return sendRedirect(event, back)
}

This type of utility is in many framework:
https://expressjs.com/en/4x/api.html#res.redirect
https://docs.adonisjs.com/guides/response#redirect-back-to-the-previous-page

Hey, @Barbapapazes
event.node.res.getHeader('referer') is returning undefined then how should I get referer?

Hello!
First, try to use the utility getHeader.
Then, the referrer header https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer is not always (direct access or rel is noreferrer) set this is why you need a fallback.

If referrer header is not set then in fallback what should happen?

If referrer header is not set then in fallback what should happen?
many thanks 🙌

Yes! If there is no referrer, so user is redirect back to home.
In a real world application, you do not have a noreferrer in your internal links. So redirect back will works well for forms (in case of error for example)
Otherwise, if a user open in a new tab, the referrer is not set!

so, if user has to use sendRedirectBack() then user should have to set header referer? and if header is not set then redirect to '/' right?

No issue! Will make your a better in-context response once I've my computer with me!

First, we are writing the documentation. I highly recommended you to take a look to have a better understanding of utilities.
https://github.com/unjs/h3/pull/595
Then, do not use event.node.res.getHeader('referrer') but `getHeader(event, 'referrer')
The referrer header is automatically set by a browser. Imagine you are submitting a form but there is an error in it. The server will re-send you to the same page. You achieve this using the referrer header.

See referrer as a message like "user come to this page from ".


Compatibility with Umbraco 8.11.1

I am trying to give Vendr a spin so I installed the latest 8.11.1 version (tried both on IIS express and full IIS);
Install Vendr 1.5 goes fine, i can see the section under Settings.
However when I try installing Checkout package it doesnt seem to create any nodes, I cant seem to create any nodes from the root either.
Is this a SQLCE issue? I did standard install on both IIS.
Similarly when I search for Vendr Contrib Payment Providers
front-end shows"Package already installed" and error pops up indicating validation fails as exception.
It was my understanding if this was installed Paypal/Stripe will be shown under Settings-> Vendr but they are not there.
Would appreciate if you can shed some light.
cheers

Hi Akeilox,
Neither of these packages will create nodes automatically. Vendr Checkout requires you to use the dashboard installed in the settings section to install the relevant content. This is because Vendr support multiple stores so you are required to select the actual store you wish to install the package under before anything is created.
With payment providers, again, you still need to create the "Payment Methods" in your stores settings, installing the payment provider packages just makes those payment providers as selectable options.
Matt


Make web components

User story
For re-use in non-react environments, web components are preferred.

WIP: https://github.com/hubmapconsortium/vitessce/compare/mccalluc/web-components?expand=1

I looked into it some more, and I'm not convinced the isolation provided by webcomponents is worth the extra complexity.


Clean up text drawer compression issues

Summary
Fixes several problems with vertical_compression in the text circuit drawer.
Details and comments
There is an option for the text circuit drawer called vertical_compression that allows a user to choose how much vertical spacing there is between the horizontal lines. If 'high is chosen, then only 1 line will display between a pair of wires and in certain cases it's possible characters will overwrite other characters or drawing elements. If low is chosen, 2 lines will be used between every pair of lines and no overwriting will occur.
If medium, which is the default, is chosen, the compression starts out the same as high, but the drawer then tries to detect areas where overwriting would occur and expands the vertical to 2 lines where that would happen. The detection of these areas was not working consistently.
low compression was also causing connections between a gate and a control to be broken. Finally there were areas where connections for conditional gates were breaking. These drawings show 2 of the problems followed by a corrected drawing.
qr_0: ─░─────────────
       ░       ┌───┐
qr_1: ─░───■───┤ X ├─
       ░   │   Bar─1
qr_2: ─░───┼─────░───
       ░ ┌─┴─┐   ░
qr_3: ───┤ X ├───░───
         └───┘   ░

       a
qr_0: ─░─────────────
       ░       ┌───┐
qr_1: ─░───■───┤ X ├─
       ░   │   └───┘
       ░   │   Bar 1
qr_2: ─░───┼─────░───
       ░ ┌─┴─┐   ░
qr_3: ───┤ X ├───░───
         └───┘   ░

qr_0: ────────────
            ┌───┐
qr_1: ──■───┤ X ├─
        │   └───┘
            Bar 1
qr_2: ────────░───
      ┌─┴─┐   ░
qr_3: ┤ X ├───░───
      └───┘   ░

qr_0: ────────────
            ┌───┐
qr_1: ──■───┤ X ├─
        │   └───┘
        │   Bar 1
qr_2: ──┼─────░───
      ┌─┴─┐   ░
qr_3: ┤ X ├───░───
      └───┘   ░

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 84.054%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
56324

Relevant Lines:
67009

💛  - Coveralls


make toggle labels clickable

the label of the toggle could also get a pointer cursor
(and be clickable)

started in branch "clickable-toggle-labels", but took more time than expected and does not work yet, so I stopped

fix with #415


additional issue with language pack on WVD

[Enter feedback here]
hello all,
what we faced last week regarding language pack installation (at least with the italian one) is that removing the AppX package to make Sysprep works correctly, also block typing on the search bar, and all the workaround tried were unsuccessfully. This is true with Win10 build 1909, while the procedure reported here doesn't cause any contraindication on build 1809.
another issue, not strictly related to language pack, is that installing KB4541335 on Win10 1909 cause issue on remoteFX blocking connection to the VMs once accessed the WVD tenant.
Unfortunately we didn't find a workoaround for that and we were forced to work on 1909 without this last KB. but as described before 1909 cause the issue with language pack...
shortly, the last pool we deployed to our customer was created on Win10 buil 1809.
hope this can help
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a8d3194d-974c-f014-cd0a-6ec611952281
Version Independent ID: 52951f02-174b-a688-bca0-4f93cc6f7e8b
Content: Install language packs on Windows 10 VMs in Windows Virtual Desktop - Azure
Content Source: articles/virtual-desktop/language-packs.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@ChristianMontoya Can you please share your insights on this? Thanks :)

I will need to send around internally for an answer on this one.

Thank you for your valuable feedback. The product team is aware of the language pack issues and working/testing on these language pack scenarios. They are prioritizing this work, as well as working on updated documentation. As this would take some time, I will close this issue. I will keep you updated on the progress by sharing on this thread.


About Batch-Normalization

Thanks a lot for sharing your work! In the CVPR paper, it is stated that "batch normalization is used at all layers except for output layers". However, the network models in both this repo and the pytorch fork choose not to use batch norm. This seems to be quite important in training (from my experiments), could you provide some insights?
Thanks a lot!

Please see previous discussion: https://github.com/tinghuiz/SfMLearner/issues/30.


Amplify env checkout falls out of sync when a resource is updated in another environment

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v14
Amplify CLI Version
6.1.1
What operating system are you using?
MacOS
Amplify Categories
auth
Amplify Commands
env
Describe the bug
Although auth category resource is used as an example, the following issue is applicable to any category resource that stores updatable configuration in amplify-meta.json.
I have 2 environments in my Amplify JS App (say dev and test). I add and push an Auth resource in my dev env with default configuration. Now, I checkout the test environment using amplify env checkout test, update the Auth resource's MFA configuration (for example) and push the modified resource in test environment.
Now when I switch back to the dev environment using amplify env checkout dev, amplify status shows that the Auth resource has updates to push (I confirm this is correct as the parameters.json file for that resource has updated configuration inputs to the stack). However, the amplify-meta file does not have the updated resource configuration. Hence, after I run amplify push in dev, the Auth resource stack provisions the updated stack but neither aws-exports nor amplify-meta show the correct updated configuration.
Digging a little into why env checkout does not fetch the resource configuration updates into amplify-meta, I see that there is a file called backend-config which is not updated during amplify update <category> commands. amplify env checkout might be using that file to initialize the amplify-meta during env switching, hence making it fall out of sync.
Expected behavior
Both amplify-meta and aws-exports should reflect the changes in resource configuration made in another environment after running amplify push.
Reproduction steps

amplify init in a JS app - choose env name as dev. Run amplify push.
amplify env add test, amplify env checkout test followed by amplify push in test environment.
Switch back to dev environment using amplify env checkout dev.
Add Auth resource in dev using amplify add auth - choose all defaults. Run amplify push and verify the following Auth configuration settings in amplify-meta and aws-exports:

"mfaConfiguration": "OFF",
"mfaTypes": [
  "SMS"
],
"verificationMechanisms": [
  "EMAIL"
]

Checkout the test environment using amplify env checkout test. Run amplify update auth and set the following configuration:

What do you want to do? Walkthrough all the auth configurations
Select the authentication/authorization services that you want to use: User Sign-Up, Sign-In, connected with AWS IAM controls (Enables per-user Storage features for images or other content, Analytics, and more)
Allow unauthenticated logins? (Provides scoped down permissions that you can control via AWS IAM) Yes
Do you want to enable 3rd party authentication providers in your identity pool? No
Do you want to add User Pool Groups? No
Do you want to add an admin queries API? No
Multifactor authentication (MFA) user login options: OPTIONAL (Individual users can use MFA)
For user login, select the MFA types: SMS Text Message, Time-Based One-Time Password (TOTP)
Please specify an SMS authentication message: Your authentication code is {####}
Email based user registration/forgot password: Disabled (Uses SMS/TOTP as an alternative)
Please specify an SMS verification message: Your verification code is {####}
Do you want to override the default password policy for this User Pool? No
 Specify the app's refresh token expiration period (in days): 30
Do you want to specify the user attributes this app can read and write? No
Do you want to enable any of the following capabilities?
Do you want to use an OAuth flow? No
Do you want to configure Lambda Triggers for Cognito? No

Run amplify push and verify that the Auth configuration in amplify-meta and aws-exports are updated with following options:

"mfaConfiguration": "OPTIONAL",
"mfaTypes": [
  "SMS",
  "TOTP"
],
"verificationMechanisms": [
  "PHONE_NUMBER"
]

Note that the backend-config is not updated with the above options and still has the older config.
7. Run amplify env checkout dev and verify that amplify status shows the Auth resource as updated which can be confirmed with the following options in parameters.json file for Auth resource:
"autoVerifiedAttributes": [
  "phone_number"
],
"mfaConfiguration": "OPTIONAL",
"mfaTypes": [
  "SMS Text Message",
  "TOTP"
]

However, check that the amplify-meta and backend-config files still have the old configuration:

"mfaConfiguration": "OFF",
"mfaTypes": [
  "SMS"
],
"verificationMechanisms": [
  "EMAIL"
]

Run amplify push. You see that the stack is updated with the new MFA configuration but the aws-exports file still has the older configuration.

"aws_cognito_mfa_configuration": "OFF",
"aws_cognito_mfa_types": [
    "SMS"
],
"aws_cognito_verification_mechanisms": [
    "EMAIL"
]

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Hey @phani-srikar :wave: thanks for raising this! To clarify, are each of these two environments tied to a corresponding git branch?

Hi. No they are on the same branch. I am not using hosting.

Hey @phani-srikar thanks for clarifying! The multi-environment workflow relies heavily on git to prevent unwanted/unintentional changes to your project's backend resources. Despite this, it is interesting that you are not seeing an update to your exports file after an env checkout and resource update.

Run amplify push. You see that the stack is updated with the new MFA configuration but the aws-exports file still has the older configuration.

Ideally the exports file is updated after a successful push, however in this case we can mitigate by checking out the current environment (similar to the Custom Resources workflow to enable a new custom resource) with amplify env checkout <current-environment-name>.
Marking as a bug 🙂

Hi @phani-srikar,
I was able to reproduce the issue related to the backend-config.json not being updated which I fix as part of
8566. But I am not able to reproduce step 8 incorrect amplify-meta.json and step 9 incorrect aws-exports.js
closing this ticket, please reopen if you still have this issue with latest CLI


[vimeo] Add hint to error message to use --referer URL

Add a hint to the error message that the user can try using
--referer URL on the command line.
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[ ] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[ ] Searched the bugtracker for similar pull requests
[ ] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[x ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.
Add a hint to the error message that the user can try using
--referer URL on the command line.

https://github.com/rg3/youtube-dl/issues/17209#issuecomment-412264267


Is photometric regions within the scope of astropy.regions?

Hello
I wasn't present at any of the region discussion/sprint/unconference of PyAstro16 so I don't really know the scope of the project and its main goals, but defining photometric regions, e.g petrosian region in a single galaxy image, is within such objectives? I could really use something like that in some nonparametric morphology measurements I'm pushing to photutils.
Thank you

I think it is in scope, but I'm not sure what such regions include.  Could you link to some literature describing these regions?

You can check that in the original paper Petrosian, 1976 or maybe in one its applications Lotz et al, 2004. It is a good way of defining the extends of a galaxy in an image, the Petrosian Radius does not depends explicitly in the cosmological model, making it a very useful tool while comparing galaxies at different redshifts. Another form of photometric region would be the region within the half-light radius, but that can be easily found by fitting a Sérsic profile.

IMO astropy.regions is something very general ... represent regions, serialisation, masks.
Computing regions for galaxies is something application-specific that should go in photutils (which will import astropy.regions once the work here is done) instead of the Astropy core.
@larrybradley and @bsipocz as photutils maintainers - what do you think?

I completely agree with @cdeil.  Petrosian apertures are simply ellipses.  While the general elliptical region machinery will be handled in astropy.regions, the particular Petrosian ellipse parameters for a galaxy should be defined in photutils.  Same for half-light radius etc.  One also needs to handle overlapping sources/apertures, and that should also be in photutils.

@larrybradley @cdeil @keflavich - I had the impression that we had the conclusion that any photometry specific part of the apertures remain in photutils, while the generic region geometry/mask/etc will be moved over to regions.

@astroferreira - Could you please close the issue in this astropy.regions tracker and open an equivalent one at https://github.com/astropy/photutils ?
I don't know how hard it is to compute these photometric regions. Would you maybe even be interested to take a stab at implementing one of them and make a pull request to photutils?

@cdeil I was planning in developing that myself, but I want to avoid any possible redundancy with astropy.regions,  I might just wait to use the regions machinery within photutils to do that instead of refactoring it once regions is ready. Thank you all for the discussion, should I just close this issue then?

I might just wait to use the regions machinery within photutils to do that instead of refactoring it once regions is ready

There will be nothing in astropy.regions that helps you compute the ellipse parameters.
FYI: It could easily be many months until the regions code that is being developed in this repo is finished and stable, included in the astropy core as astropy.regions and then shipped in a stable Astropy release. Only then will we update photutils to replace all the aperture code with astropy.regions.
So if you want to implement this, you should have your function return a table of ellipse parameters, or an EllipticalAperture object.


Document rename functionality

Fixes #1473

I changed the wording a little bit.

That looks good.
The PR looks good to me.


Permission fixes

Taking over for #10664 as these changes must go into bugfix, not `master
Closes #10664
[sc-7039]

Thanks for the patch !


Switch to cross-compilation for linux_aarch64 and linux_ppc64le

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hoping to use fewer ARM runners since they appear to be failing in #25.

@conda-forge-admin, please rerender

@conda-forge-admin, please re-render

I took a quick review of the diff and I think this is good to go!

Agreed. Thanks Bradley! 🙏


Migrate bug

When I migrate docz from 0.13.7 to the next version. here are some problems:

My propject used docz-plugin-css, I meet  the similar issues/999 what I lacked is the plugin
gatsby-plugin-mdx.

Then I removed the docz-plugin-css, the eslint disabled me bundle the file, I got the info:

It's my own package lib dist. so I add .eslintignore in the project root which is invalid.
But I found in the node_modules/gatsby/dist/utils/webpack.config.js
line 314, It telled me my program.directory is .docz? Sure It can't not read my .eslntrc?

gatsby maked sad :(
Or is there any config file  can be provided ?
Environment

docz version: [2.0.0-rc.48]
OS: [OSX 110.14.6]
Node/npm version: [Node v10.16.3 / yarn 1.17.3]

Hey @fidoChou
Thanks for reporting this issue.
Any chance you can provide a small repro repository with the problem ?

Hey @fidoChou
Thanks for reporting this issue.
Any chance you can provide a small repro repository with the problem ?

Just install the plugin docz-plugin-css, you will reshow the case, As for the second eslint problem, I will do more check about the code.

Hey @fidoChou
Thanks for reporting this issue.
Any chance you can provide a small repro repository with the problem ?

Just install the plugin docz-plugin-css, you will reshow the case, As for the second eslint problem, I will do more check about the code.

docs-plugin-css is not needed / does not work any more for v2. This is not well documented, we are sorry about that. But we have written about it here and will try to make it more clear in the documentation:
Migration Guide

I read the migration said the docz-theme-default is decrepted but not docz-plugin-css. You just give me a good guide. I will try to make a repo to show the eslint error.

Hey @fidoChou
Thanks for reporting this issue.
Any chance you can provide a small repro repository with the problem ?

Just install the plugin docz-plugin-css, you will reshow the case, As for the second eslint problem, I will do more check about the code.

docs-plugin-css is not needed / does not work any more for v2. This is not well documented, we are sorry about that. But we have written about it here and will try to make it more clear in the documentation:
Migration Guide

I read the migration said the docz-theme-default is decrepted but not docz-plugin-css. You just give me a good guide. I will try to make a repo to show the eslint error.

I have invited you  two to join a private repo.   Thanks for your time.

Hi,  guys, just read the gatsby source code, I have fix the eslint error  with  gatsby-config.js. Anyway the doc is really not nice for developer :(

BTW, I think the root path  is default belong to the project instead of .doz ?

Glad you fixed it, sorry that the docz are missing some config, we are working on improving them.


Low framerate with Firefox 54

I'm using Arch Linux's latest firefox build, Arch Linux's pulseaudio, and both apulse and apulse-git from Arch Linux's AUR.
I'm using this video as a test reference point: https://www.youtube.com/watch?v=1La4QzGeaaQ
With apulse, I'm getting very low framerate.  I'd guess maybe 5-10 fps.
With apulse-git, I'm getting very low framerate.  I'd guess maybe 5-10 fps.
With pulseaudio, it looks like a smooth 60.
With either apulse nor pulseaudio, it looks like a smooth 60 but, naturally, no sound.

I think Firefox relies on libpulse.so to provide synchronization events. On the other hand, apulse does not generate such events by itself. It asks ALSA to do it. But there is no guarantee that actual period sizes will be the same as requested. Most of the time they are larger. And that effectively decreases framerate.
To fix that, I need to reimplement the same feature in apulse. I'll need to think about implementation details.

I don't know if this might be related, but when I start up KDE on my Slackware, the framerate is extremely low there as well.  Reinstalling the PulseAudio package fixes the low framerate, while using this repository's apulse wrapper seems to cause KDE to be next to unusable due to slowness.
All the CPU usage seems to come from the kmix mixer modules.

I have some interesting info on this.
While tinkering with my setup, I noticed that fps changes depending on .asoundrc contents!

My .asoundrc with very complex setup: 12-15fps.
.asoundrc with something simple like defaults.pcm.card 1: 39-45fps (for 60fps video).

(I measured it on YouTube with variety of videos, using layers.acceleration.draw-fps from about:config)
After some playing around with a bunch of values, it seems that period_size in pcm definition has this effect on performance. Explicitly setting it to default value boosts framerate to watchable levels.

Steps to (hopefully) improve framerate (note that all values are only examples):

Backup your .asoundrc (and/or asound.conf if you have it):

mv .asoundrc .asoundrc.bak

Play some audio:

ALSA_CARD=PCH mpg123 music.mp3

Follow this section of ArchWiki to get something along these lines:

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384

The period_size value is what you're looking for.
4. You can now bring back your .asoundrc. You need the pcm with dmix plugin that  goes into your pcm.!default.
Put information you got in 3 there:
pcm.sound {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:PCH,0"
        format S32_LE
        rate 48000
        period_size 1024
        period_size 16384
    }
}

I hope it will make videos watchable for anyone having this problem.
Keep in mind that this is not a fix. It will improve the framerate, and 30fps are now okay, but max framerate is still 45fps, while framerate with pulseaudio is 60fps.
P.S. I also tried toggling almost everything connected to video or audio in about:config in hopes that some option cancels this strange fps drop, but sadly no result.

Any progress on this issue?

Any progress on this issue?

Sadly, no.


Adds Read Time widget for English Language

This is N mins read widget for the blog posts.

I have been using this blog theme from a long time and have build a lot of extra stuff on top of it. There are a lot of other things which you can find my fork. I am thinking of opening PRs for every one of them. Do let me know if you like anyone in particular.


L.Control.MiniMap is not a constructor

Hi,
I try your plug-in for the first time on leaflet. I follow the examples in their simplest way before puting more options.
In the browser (with F12), there's an error message saying L.Control.MiniMap is not a constructor
After reading the dozens of posts in the issue tab, I realise there's no info about this issue, which means the problem is not relying on the pluggin but on the general code I wrote, or the problem is new.
Coud you have a look to the jsFiddle here : https://jsfiddle.net/BrunJerome/ek4g3u8k/2/
Thanks for your ideas to allow me to clean the code and to make the plug-in function.
Jérôme

I've found the solution: there was an error in the html.
Thanks for your plug in

Hi, sorry for responding slowly, but I'm glad you solved the problem! Thank you for your kind words about the plugin. 👍

I've found the solution: there was an error in the html. Thanks for your plug in

whats the error in HTML?


Consumer group no messages received

Hi @mostafa
I'm seeing problems where the consumer group I specified is not reading messages from the topic. Below is the script I have and the displayed logs. The reader started at offset 180 but then jumps to 192. I sent a message to my topic from an external source while the script is running, then it moved to offset 193 while still not reading any messages. Again I sent a message and offset moved to 194 with still no messages received. I see that there was already an open issue mentioned with consuming messages (https://github.com/mostafa/xk6-kafka/issues/15). However, perhaps you may have some recommendations that I can try with the consumer group to get the reader to consume messages.
import { Reader, Connection, SASL_SSL, TLS_1_2, } from "k6/x/kafka";

const brokers = ["mynamespace.servicebus.windows.net:9093"];
const topic = "default";

const saslConfig = {
  username: "$ConnectionString",
  password: "{YOUR.EVENTHUBS.CONNECTION.STRING}",
  algorithm: SASL_SSL,
};

const tlsConfig = {
  enableTls: true,
  insecureSkipTlsVerify: false,
  minVersion: TLS_1_2,
};

const second =<PHONE_NUMBER>;

const reader = new Reader({
  brokers: brokers,
  groupID: "test-group",
  groupTopics: [topic],
  sasl: saslConfig,
  tls: tlsConfig,
  connectLogger: true,
  sessionTimeout: 30 * second,
  rebalanceTimeout: 40 * second,
});

const connection = new Connection({
  address: brokers[0],
  sasl: saslConfig,
  tls: tlsConfig,
});

export default function () {
  let messages = reader.consume({ limit: 10 });
  console.log(messages);
}

export function teardown(data) {
  reader.close();
  connection.close();
}

time="2023-02-17T13:20:05-05:00" level=info msg="subscribed to topics and partitions: map[{topic:default partition:0}:180]"
time="2023-02-17T13:20:05-05:00" level=info msg="initializing kafka reader for partition 0 of default starting at offset 180"
time="2023-02-17T13:20:05-05:00" level=info msg="started commit for group test-group\n"
time="2023-02-17T13:20:07-05:00" level=info msg="the kafka reader for partition 0 of default is seeking to offset 180"
time="2023-02-17T13:20:16-05:00" level=info msg="no messages received from kafka within the allocated time for partition 0 of default at offset 192"
time="2023-02-17T13:20:25-05:00" level=info msg="no messages received from kafka within the allocated time for partition 0 of default at offset 192"
time="2023-02-17T13:20:36-05:00" level=info msg="no messages received from kafka within the allocated time for partition 0 of default at offset 193"
time="2023-02-17T13:20:50-05:00" level=info msg="no messages received from kafka within the allocated time for partition 0 of default at offset 194"
time="2023-02-17T13:20:59-05:00" level=info msg="no messages received from kafka within the allocated time for partition 0 of default at offset 194"
time="2023-02-17T13:21:08-05:00" level=info msg="no messages received from kafka within the allocated time for partition 0 of default at offset 194"

Have you had a chance to pick up this issue, @mostafa ?
I have been experiencing the same issue and I'm also very keen on updates regarding this problem.

Hey @gabsw,
do you still have this issue?

@carlostancinco
I suppose this is resolved. Feel free to reopen it if the issue persists.


Rename repositories?

For continuity with the current (previous?) versions, it would make sense to name this repository Mechanic-2 and the site mechanic-server-2 or mechanic-2-server. Amenable?

I see , that makes sense
Im going to change that


JCenter is shutting down, are there plans to migrate?

What kind of issue is this?

[X] Question. If you want to ask how to do something, or to understand why something isn't
working the way you expect it to.

[ ] Bug report. Please provide your device name, device OS version, and describe the reproduction steps.

[ ] Feature Request. Telling us what problem you’re trying to solve.

Description:
JCenter is shutting down, are there plans to migrate? - https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Yes. But maybe take some time.

repositories {
    maven {
        mavenCentral()
    }
}

dependencies {
   implementation 'io.github.chaosleung:pinview:1.4.4'
}

Now you can use maven central to import the library. Because I am not the owner of view.chaos.com, the group id on maven central has been changed to io.github.chaosleung.

Thanks for the update. And your PR will help me to migrate one of my library to maven central as well. Thanks a lot.


Support custom text color-MDRectangleFlatIconButton & MDRoundFlatIcon…

…Button
This fix is for Issue #84.
Currently, the text colour of MDRectangleFlatIconButton and MDRoundFlatIconButton objects always default to theme_cls.primary_color even with supplied attributes, theme_text_color: 'Custom' and text_color: [1,0,0,1].

https://github.com/HeaTTheatR/KivyMD/wiki/MDButtons


Update activity log query

Context
The /provider/acitivity page is slow, this became an issue when we ran this DB migration https://github.com/DFE-Digital/apply-for-teacher-training/pull/9741. This created a lot of audits for the query to go through.
Previously the query would do an inner join on all audits and filter out the ones we didn't need.
This PR tries to filter out the audits we don't need first and then do the inner join.
We need an inner join to put an application_choice_id on every audit this query returns, this is needed on the view.
Changing the query this way, improved the response time, this is based on 20 million audits on local. Hopefully this is enough to make the page work

New query
Old Query

5.5 seconds
50 seconds

Co-authored by @dcyoung-dev
Changes proposed in this pull request
Updated the provider activity log query
Guidance to review
Go on review app and check if the /provider/activity works
Does the SQL make sense?
https://github.com/user-attachments/assets/e80a572d-7c89-4192-84d2-cbf787be994f
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault
[ ] Inform data insights team due to database changes
[x] Make sure all information from the Trello card is in here
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally
[x] Add PR link to Trello card

 Tech debt: Fix the /provider/activity page

For short term fix, these sounds good. ✌ 🚀
Although some considerations.
Pluck and auditable_id
Because of pluck this condition could be very big to the amount of application forms to show, but it is definitely better than production one. But this can also have a problem depending on the provider.
How to monitor?
For now Grafana is the best one. Can we have a compile result of before and after in terms of metrics?
Long term
Can we create a Trello card to solve long term?
I just drew a simple idea of transforming the audits in a compiled table and read from the table:

## Using common table expressions
In the future (if we optin to store in another table) we could break into CTEs.
WITH app_choices AS (
    SELECT ac.*
    FROM application_choices ac
    WHERE (ac.provider_ids @> '{1}' OR
           ac.provider_ids @> '{3}' OR
           ac.provider_ids @> '{16}')
      AND ac.current_recruitment_cycle_year IN (2025, 2024)
      AND ac.status IN ('awaiting_provider_decision', 'interviewing', 'offer',
                        'pending_conditions', 'recruited', 'rejected',
                        'declined', 'withdrawn', 'conditions_not_met',
                        'offer_withdrawn', 'offer_deferred', 'inactive')
),
...# etc

I agree with long term fix and I'll create a ticket. Will monitor this in grafana 👍🏻

Ticket for a long term fix https://trello.com/c/GE0S8QnH/2307-tech-debt-create-activity-log-table-for-provider-activity


ASP.NET support

I am just wondering when you are going to support the latest version of .NET MVC framework?
Pls send teh codez

Planeed for second quarter of 2056


Infinite recursion bug

I need to add a regression test for this at the very least. Would really like @eproxus to give this a whirl himself as well.
I tested this against the edge case kraft tarball I was given and no more infinite recursion, but would still like further validation (beyond unit tests).
To test this simple go to a project, recreate the scenario per #246 and run mkdir -p tmp && rebar3 hex build package -o tmp
Then inspect the goods.

Right, coming back to this after a good while, it's not infinite recursion, but if you have a lot of files, it can take a LONG time in addition to ending up with a ton of bogus paths in the results.


Query::indexBy with dimensions

I've just read, that I need to create issue for PR. This is it.
Very often I need to get models with index not by key, but by not unique attribute (as array). For example to index models by status or related id.
Quick example (for model Customer from tests):
$customerClass::find()->indexBy('name', ['status'])->orderBy('id')->asArray()->all();

will return
array(2) {
  [1] => // status "1"
  array(2) {
    'user1' => // name
    array(6) {'id' => "1", 'email' =><EMAIL_ADDRESS>'status' => "1" ... }
    'user2' =>
    array(6) {'id' => "2", 'email' =><EMAIL_ADDRESS>'status' => "1" ...}
  }
  [2] => // status "2"
  array(1) {
    'user3' =>
    array(6) {'id' => "3", 'email' =><EMAIL_ADDRESS>'status' => "2"... }
  }
}

and (I use this case very often)
$customerClass::find()->indexBy(null, ['status'])->orderBy('id')->asArray()->all();

will return
array(2) {
  [1] => //status
  array(2) {
    [0] => // just array index
    array(6) {'id' => "1", 'email' =><EMAIL_ADDRESS>'status' => "1" ... }
    [1] =>
    array(6) {'id' => "2", 'email' =><EMAIL_ADDRESS>'status' => "1" ...}
  }
  [2] =>
  array(1) {
    [0] =>
    array(6) {'id' => "3", 'email' =><EMAIL_ADDRESS>'status' => "2"... }
  }
}

I created pull request with possible realization and some tests: #10477 (realization in this pull request is not completed, concept only).

@yiisoft/core-developers any comments?

We are preparing 2.0.7 release now. This issue is assinged to a next release, so we will check it later. Thank you for your patience

The feature request is discarded. Please, see the comment in the PR


Set const for array passed or returned from C/C++ API

Set parameters returns of arrays like shape, strides and some TensorList pointers as const
Implements https://github.com/onnx/onnx-mlir/issues/2075

@jenkins-droid test this please

Jenkins Linux ppc64le Build #9303 [push] Set const for array pass... started at 16:24

Jenkins Linux s390x Build #10250 [push] Set const for array pass... started at 16:21

Jenkins Linux amd64 Build #10239 [push] Set const for array pass... started at 15:21

Jenkins Linux amd64 Build #10239 [push] Set const for array pass... passed after 1 hr 27 min

Jenkins Linux s390x Build #10250 [push] Set const for array pass... passed after 1 hr 43 min

Jenkins Linux ppc64le Build #9303 [push] Set const for array pass... passed after 2 hr 6 min

@cjvolzka see that you kept the OMTensor ** for the lists... that seems very sensible.


Timer

Hi, really cool widget. Maybe you can add some custom time settings.
Like,
first press -> 5 min
second press -> unlimited
third -> off
But also keep the mode you have right now.

I'm guessing you want the same functionality we used to have in CM13, correct? I'll see what I can do.

Maybe make this user selectable behavior? I currently like the simplicity: you just press the tile and screen just remains on.


E2E: Add MicroOS Support

Proposed Changes

Previous our MicroOS VM was a custom image created by dweomer. As he as left the project, we need to move to maintained VM. This introduces support for opensuse's offical  MicroOS image.
Removed ARM resources for E2E tests. We are not running arm tests with the current E2E stack. It will be handled by WIP Terraform tests.

Types of Changes
Test Improvement

Verification

Testing

Linked Issues

User-Facing Change

Further Comments

Due to https://github.com/hashicorp/vagrant/issues/12777 I am converting this back to a draft.

FYI this is still a draft and not OOD.

Closing this as its likely vagrant will never be updated to support microos properly


Unable to install extensions on attached docker container

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:1.69.2
OS Version:Linux

Steps to Reproduce:
1.install vscode version 1.69.2
2. open vscode
3. using docker extension, attach vscode to running container
4. choose to install local extensions in container
(on version 1.68.1 it is working)
below is an image with the trace logs (it keeps retrying with the same trace a few times and then give up)

below is the remote server trace log:

Seems proxy related

The issue is involving proxy problems - the container does not have proper proxy settings so it cannot access outside.
But even so, in previous versions 1.68.1 and before - it was still able to work (probably the host would download the needed data and than transfer it to the container without the container directly access outside network).
Is there a change in some default settings in the new versions that could cause the change in behavior  (if so what were these and how to change them), or could it be that there is some new bug/issue that prevents this to work properly now?

Maybe it worked because the Dev Containers extension copies previously downloaded VSIXs to the container. Not sure why this would stop working, can you confirm it still works with 1.68.1 today? Could you append the full log from when it fails? (F1 > Dev Containers: Show Container Log)


Missing context menu on folders in explorer to set subdirectory

Description
Missing context menu on folders in explorer to set subdirectory
Steps to Reproduce

Open VSC
Install mocha-sidebar
R-Click any folder

Expected Results
Context menu option to set mocha sidebar subdirectory
Actual Results
No Mocha Sidebar related context menu options at all
Settings file
none, just rolling with the default installation
Versions

VScode: v1.24.1
Mocha SideBar: v0.20.4
Node Version: v8.9.4

OS version

[ ] Linux
[ ] Mac
[x] Windows 10 Pro v1803

Example for reproducing

hi @StJohn3D
I've created a new version (0.20.7). Could you please try it and let us know
https://files.fm/u/qsq54k9k
We want to wait for your input before publishing

Sorry, for just now responding. I need to be better about checking my email. Ok so I uninstalled the public version and installed from that .vsix file and the context menu option is now present. So I can r-click folders and click set sub-directory now. I don't know if it actually works though. The explorer looks like it's stuck searching. There's this waiting icon and blue progress line that never go away.

Also it's not finding any of my tests. I might need to set some config options though. I pointed it to a directory with a folder in it called tests, and a test file in there called *.spec.js
I tried setting these config values. The sub-directory value was set using the r-click context menu
{
  // Mocha: Subdirectory in the Workspace where run mocha from
  "mocha.subdirectory": "..\\..\\..\\..\\..\\c:\\Users\\stjoh\\Projects\\Navex\\empapp-curator\\client",
  // Mocha: Glob to search for test files
  "mocha.files.glob": "./src/tests/**/*.spec.js",
}

The fully qualified path to the test file is C:\Users\stjoh\Projects\Navex\empapp-curator\client\src\tests\pages\intake-password\intake-password.spec.js
Something I'm missing in my work-space settings that I have when I call mocha from the cl are these options.
./src/tests/helpers/setup.js
./src/tests/**/*.spec.js
-r chai/register-should
-r chai/register-expect

I'm not sure how to translate those last two options into the work-space settings. The documentation for mocha-side-bar just points me to a source mocha js file which isn't super intuitive.
The second option from the top I believe is handled by mocha.files.glob in my work-space settings. But where should I put the setup file? Would it go in mocha.requires?

Does this issue solved in 0.2.11 ?

@maty21 The original issue, (Right Click context menu option missing) has been resolved in 0.20.11
It properly sets the value in work-space settings. It's still not finding my tests so either I'm not understanding the config options or there's a separate issue. The endless searching described in my last comment is also still happening.
I'll go ahead and close this issue since the original problem has been solved. Just know that it is still unusable for me as it just gets stuck in an endless search for tests and never finds them despite my best efforts to get the work-space configuration right.
Also something to think about. My team keeps our work-space settings under source control so we can share settings.  It'd be nice if we had the option to put some or all of the options in our user-settings instead. As is I don't think we can use it since we don't want to fight with that sub-directory value constantly changing in our work-space settings.

hi,
do you have code, configuration to share in order to reproduce it

about workspace it's on our roadmap

@maty21
Sorry, I've cleared everything out. But I can describe our stack. We used create-react-app to jump start things. So the file structure is as follows
root./
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── client/
     ├── node_modules
     ├── package.json
     ├── app/
     │   └── all of our .ts and .tsx files
     │   ├── tests/
     │   │   └── all of our .ts and .tsx test files
     ├── src/
     │   └── all of our compiled .js files
     │   ├── tests/
     │   │   └── all of our compiled .js test files
├── server/
     ├── node_modules
     ├── package.json
     ├── app/
     │   └── all of our .ts files
     │   ├── tests/
     │   │   └── all of our .ts test files
     ├── src/
     │   └── all of our compiled .js files
     │   ├── tests/
     │   │   └── all of our compiled .js test files

We have work-space settings that are tracked in git and shared across the team. Mostly ts-lint options.
So there's the basic setup. If there was a way to easily point Mocha-sidebar at our src/tests/**/*.spec.js files in either client/ or server/ and have it actually find them would be great. One more thing with us, idk how this happened but our server output actually includes the app folder for some reason so it would be server/src/app/tests/**/*.spec.js
Anyway, last I checked switching was working, it just wasn't finding any test files. But since it'd be a huge pain to constantly ignore the workspace-settings change in git, I've uninstalled it for the time-being.


New Tick Stops Delivery Mission INF Counting

Describe the bug
If you pick up missions that have a different destination system to origin system (e.g. delivery missions, courier missions etc.) then if a tick happens after you pick up the mission but before you hand it in, BGS-Tally doesn't count the INF.
Workaround
If you visit the originating system again, after the tick, then that solves the problem.

This is because when a tick occurs, current state (TodayData) is moved to previous (YesterdayData), and the current state is wiped. The current state contained an entry for the originating system for the mission, along with all its factions, and this is no longer available.
A couple of solutions:

When handing in a mission, try to rebuild the state for the originating system. This may be problematic as we probably don't have all the info we need to do this at the destination system.
When handling a new tick, instead of completely clearing all previous state, try to be intelligent and only delete systems that we don't have any current missions. For systems that do have current missions, keep the state but zero all activity.

Going to go with option 2 above. Work started in branch feature/improved-tick-handling.


Implement additionnal properties for objects

This allows to specify the component to be used for additionnal properties.

I think this should be automatically infered or at least available using the Component derive, but I don't really know what would be the best interface, or if it should be tried for all HashMap

I think this should be automatically infered or at least available using the Component derive, but I don't really know what would be the best interface, or if it should be tried for all HashMap

Yes this should be inferred from users using any map type e.g HashMap or BTreeMap etc. I guess these two maps are sufficient since they are provided by the standard library. The infer should happen in utoipa-gen library.
Currently the maps are just treated as generic objects. So there would be some changes to be done to the behaviour so that the types can be inferred from the maps. One of the places need changes is ComponentPart struct which currently does not infer types for maps correctly (because there has not been a need for).

I added the test in the first commit, and I am looking into the derive macro, but I need some time to understand the code

I think I have a functionnal implementation, but as I don't really understand the code I may have made a mistake

I have rebased the branch on the current master, and have added the into_param implementation & test

@juhaku Has this been implemented in the newest release? I'd love to use this 😄

@juhaku Has this been implemented in the newest release? I'd love to use this smile

This has been implemented and is currently in master but has not been yet released to the crates. This will be available in next 2.0.0 release once released. Alternatively you may use the git master branch as a source in your Cargo.toml file but be aware that breaking changes might occur still before the actual release is out.
utoipa = { git = "https://github.com/juhaku/utoipa", branch = "master" }


add hello world example

CC @ericlindley-g

@erwinmombay Do you want to address the comments or merge and address it?

@erwinmombay  - Merged this for now could you add the nits soon please!


KafkaChannel v1beta1 docs and examples

Part of https://github.com/knative/eventing-contrib/issues/1350

/assign


LMDB: Embed literal values into IDs

Problem description
The LMDB ValueStore currently assigns every value an ID (64 bits) and stores the corresponding ID -> value and value -> ID mappings.
This is overhead for values that may be encoded in less than 64 bits.
Possible candidates are:

double
decimal
integer
datetime
boolean

Preferred solution
Use something in the lines of Jena's TDB2 encodings for literals:
https://github.com/apache/jena/tree/main/jena-tdb2/src/main/java/org/apache/jena/tdb2/store/value
Are you interested in contributing a solution yourself?
Perhaps?
Alternatives you've considered
No response
Anything else?
No response

@abrokenjester Is it possible to copy code from Jena which is licensed under Apache License and add this code to RDF4J?

That is difficult. Technically the Apache license allows that, provided we make it clear what parts are original and modified,  and keep the original copyright headers intact.
However,  we don't do this anywhere else in the project,  as far as I'm aware,  so making sure we set it up correctly will be non trivial.  Also not sure what the Eclipse Foundation's view on this is.
I have generally preferred not doing this.

I'm not aware that we've copied any code verbatim. We do depend on some Jena stuff for some of the SHACL test, in order to use the reference implementation.
What code exactly is it you're considering @kenwenzel? Maybe we can take inspiration from it and write something of our own, instead of copying it?

@hmottestad Basically the files contained in the following directory along with some helper classes (BitsInt, BitsLong):
https://github.com/apache/jena/tree/main/jena-tdb2/src/main/java/org/apache/jena/tdb2/store/value
I am not sure if it is easier to copy the code than to reimplement it?!

I meant to reply to this. I was wondering if we could create a maven module with classes that extend all the ones you want to include, then use java 9 modules to only export those classes.
For the maven side we should exclude basically all dependencies.
Do you think that would work?

Maybe you could shade the jena artifact instead of copying the code? Would still require to mention the source of the classes in the NOTICE file and the license in the LICENSE file of the respective module/JAR though.


HAWQ-522. Add socket connection pool feature to improve resource negotiation performance

2 gucs are added to control this feature:
hawq_rm_enable_connpool, default true.
hawq_rm_connpool_sameaddr_buffersize , default 2.

＋1 for performance improvement

＋1

＋1


Looking for new maintainers for the project

It's probably obvious from the number of open issues and PRs that I have not had the time to maintain this project properly in recent years.
I'm looking for one or more individuals to take the detours going forward.
Should you choose to accept the challenge, I'll be around to answer questions and discuss details by email or Skype through out the nest year.

Hey Mikko, it's a shame that you don't have the time for Recast and Detour any more, but a positive move to pass it on to someone else to manage!
I'd be happy to take on some responsibility alongside others - I definitely don't have the time to be the sole maintainer though. Perhaps moving the project to a new organisation, with a few members (including yourself and maybe some other frequent contributors), is the best thing for it?

Hey Mikko,
Sorry you're feeling overwhelmed!  I think @hymerman makes a great point that it'd best taken over by a small group of members invested in the project.  I'd love to be part of this group as well.
Honestly, I'd given up on submitting PRs to recast, seeing them sit for a year without comment.  I think opening up the project will improve Recast and re-energize the community around it.  I'm excited for the future of Recast.  :smile:

Awesome! I was secretly hoping that you both would be willing to help :) I've got some email privately for some more folks, I'll ask them to join the discussion here too. This is long overdue, but it has been quite hard to let go of my darling.
I have created organization recastnavigation and invited you both as admins. I might add few more. I trust your judgement to add more members as you see fit,.
I have to look up how to move the repo over to the organization, and we should be set up technically. I would suggest that the first step would be to figure out simple instructions how to contribute, and I'd like to draft a code of conduct too.
I have a couple of unfinished ends with Recast, and I'd like to discuss them at some point.

Repo is now moved to under the organization. I probably should give you keys to the google group, it is still quite actively used.
For contribution, I'd suggest something along the lines of https://github.com/facebook/react/blob/master/CONTRIBUTING.md
along with code of conduct based on the template by todo group .

Hey everybody,
I'm one of the private enquieries Mikko was talking about. It's good to see some movement for recast&detour. I did some work on a fork and willing to port the stuff in a more structured manner than it happened. I'm able to take over a part of the maintenance as well. And happy to join my forces with all of you.
Bye Rene

Hi Graham and Rene! This is going to be good :)
Mikko - agreed, a 'Contributing' doc and Code of Conduct are needed. I'll have a look at those - the todo group one looks good.
I think we also need a Contributor License Agreement - having been on the other side of the fence I know the legal protection is more than superficial! Either CLAHub (https://www.clahub.com/) or CLA assistant (https://cla-assistant.io/) look like good options to get this done easily.
Next I'd love to get Continuous Integration set up - I've actually already got a pull request open for this :) (https://github.com/recastnavigation/recastnavigation/pull/89). I see you've got a really nice AppVeyor setup in your fork, @rwindegger - let's get that merged in if it's easy to separate from the other things merged into your fork, and we'll use my Travis setup. I updated to premake5, and I see you've updated the way lots of dependencies work with submodules, which is also cool.
One more thing, I've just bought recastnavigation.com just in case we want to do something with it - perhaps to host documentation, or just for project-specific email. So nobody freak out if you notice it's not available :)

This is nice to see. I have a number of modifications to my own recast I wouldn't mind contributing back.
One of them that might be worth deeper discussion is something I brought up a while back in another thread(I'd have to dig it up for the historical context), but it is essentially that within my own usages of recast/detour in several of my own projects, I've converted the area and flags fields of poly areas to use a single 64 bit bitmask flags field. I feel strongly that this is far more useful than the separate area type and mask functionality that exists in the core recast, as it allows you to track different area types in an additive manner through the rasterization steps to the final result. The current mechanism of having a single area type loses a lot of contextual information about areas that stack. This mechanism opens up a range of additional uses for area type markup than what is possible in the existing library.
Perhaps we can discuss the merits of this contribution and whether or not you all feel like it would be a good thing to bring into the official fold? Thanks

Indeed it is nice to see more action in this repo. I have also been using Recast & Detour for many years now (in the same company as @rwindegger), so if you need more people, I would love to be a part of the maintainers.
I also have a few possible improvements that I have discussed with Mikko over email. However I have refrained from making them yet as Mikko had some good ideas and I wasn't sure exactly how to put them into effect. This is for implementation of off-mesh connections to non-adjacent tiles and for edge normals returned by findWallDistance (relates to #120).

I've been having thoughts about that too @jswigart; in old projects I've done the same as you, and eventually ended up using a separate data structure to store more information on polys. And of course, this extra data is only useful if queries can use it, so another important thing to figure out is how to support custom cost functions etc. - when I've done this before I've modified dtQueryFilter but it'd be nice to allow this with only client code changes. Something to talk about soon, for sure!

Perhaps we should spin off focused issue threads on specific topics for discussion?

If you need more hands, I'd be happy to help out here and there.

The CI should be easy to port over, I've uploaded VS Solutions to the repo, I should have adjusted the premake file.
Most of the Submodule stuff I did is for the dependencies of the Demo. The rendering of the UI was completly adjusted to use https://github.com/ocornut/imgui. I've updated to SDL2 instead of SDL. And did a gh-pages push for the doxygen documentation. FastLZ is pulled in from https://github.com/ariya/FastLZ and stb is pulled in from https://github.com/nothings/stb.
All in all the Demo changes will be a fast port too. Just need to do it a little more structured than i did it in the first place.
@Janiels it's good to see you here too :+1:

I had a discussion with @memononen about the CLAs @hymerman recommended: https://twitter.com/dougbinks/status/674544666264539136, and he asked me to post my points here.
Basically most CLAs are complex enough to require a lawyer to understand the implications, in particular whether there is any potential liability exposure for the contributor. These issues tend to be more complex than they appear. For example guaranteeing that something is your original creation means you could be exposed to liability if someone later claims your code is a copy of theirs; litigation defence in some regions is extremely expensive.
In my view Apache 2.0 covers the main issue many companies have - a guarantee that a contributor won't sue for patent infringement for use of their contribution. This seems reasonable and fair, and doesn't expose the contributor to needing to guarantee that they own the patent rights nor infringe others. Going Apache 2.0 would need all prior contributors to agree, or a dual license. But then adding a CLA won't protect the current code either without getting all prior contributors to sign.
Note that I'm not a lawyer, but that's the real problem here - putting a legal barrier in place really requires people to have or be one.

@jswigart is right, we should spin off separate issues for points raised here, let's leave this issue for people offering help for now!
I've just created one for the CLA here: #125, and one for CI here: #126. The flags/area ID chat is going on here: #81.

Awesome.  You read my mind, Ben.  :)  Should we close this out now?

@hymerman @grahamboree You have now owner access to the google group.

@memononen - has anyone else gotten back to you about joining?

@hymerman - nope, there has not been any further leads. I've pointed all even mildly interested parties to this thread.

There have been a few more people in this thread who have expressed interest (myself included).
But if you want to keep the list of maintainers low-size I completely understand - everyone can always make PRs anyway!

I think a couple more maintainers would be a good idea. @rwindegger sorry, I didn't notice you said you'd like to join - I've just invited you. @jswigart it sounds like you'd like to contribute, which you can continue doing with pull requests - would you also like to join the org though? And @Janiels I'll invite you too.
That should be plenty of cover even if several of us are busy at once. I'll close this now but if there's anyone else that would like to be involved as more than a contributor via pull requests, leave another comment and we'll see it.

@hymerman Thanks for the invitation.

I'm also interested if you need more folks.

This is great to see the project come to life again. I have one suggestion for the new maintainers. Perhaps it'd be good to keep @memononen as one of the members of the recastnavigation GitHub group. For other outsiders who may not be following the switch of maintainership they may see this new group as fork if they don't see Mikko's name still associated, even  if it's just symbolic gesture. Two cents.

Mikko is still in the group, he just doesn't appear that way publicly :) (sorry for blowing your cover) @memononen could you set your group membership to public? It's on the 'people' tab of the org's settings.

@hymerman done, noobie mistake :)


Usage with TailwindCSS

I've set up a small react project using parcel with postcss-modules and, when built, postcss-modules hashes all tailwind classes making it unusable when doing something like <button className="bg-indigo-500" />.
The desired behaviour for my use case is to have all the tailwind classes untouched for global access and then scoped classes for imported modules like import styles from './Button.css' which uses @apply tailwind directive.
This is my current .postcssrc config file:
{
  "modules": true,
  "plugins": {
    "tailwindcss": {},
    "postcss-preset-env": {
      "stage": 0
    },
    "postcss-modules": {
      "generateScopedName": "[sha1:hash:base64:5]",
    }
  }
}

You can pass a function into the localsConvetion option to choose which classes you want to leave without mangling.

for anyone in the future coming across this, I didn't get this to work with localsConvention which as I understand it determines the style of the KEYS in your json file outputs.
Rather I got this to work by making sure tailwind is handled as a global with
globalModulePaths: [/tailwind/],


Remove pattern UUID for x-correlator

What type of PR is this?

documentation

What this PR does / why we need it:
Removes requirement for pattern: UUID in x-correlator header. It still recommends to use this format as value.
It aligns the guidelines with the actual use in specs.
Which issue(s) this PR fixes:
Fixes #166
Special notes for reviewers:
n/a
Changelog input
* Remove pattern: UUID as requirement for x-correlator header

Additional documentation
n/a

@patrice-conil are you ok with this?


never even ran the program

Type: Bug
i have not run any any any program yet and it showed me more than 6 type of error today it self . i have mentioned problems previously but no proper help.  1) it hangs/lags a lot
2) Do not run until you click and wait for 3 min and then again click .
3)unable start debugging ( for no reason )
4) file is missing ,create new file , file does not exists
5) not in executable program format: file format not recognized
6) for no reason tell open launch: json
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz (4 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
11.75GB (2.43GB free)

Process Argv
--crash-reporter-id a76bef76-7be1-440b-9c78-6d5ea151d774

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

code-runner
for
0.12.1

python
ms-
2023.18.0

vscode-pylance
ms-
2023.10.40

cmake-tools
ms-
1.15.31

cpptools
ms-
1.17.5

cpptools-extension-pack
ms-
1.3.0

cmake
twx
0.0.17

vscode-lldb
vad
1.10.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30856252
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
962ge761:30841074
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
copilotsettingt:30859503
synctok:30869157
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30866405
pyreplss1:30865275
pythoncet0:30866520
2e7ec940:30870395
pythontbext0:30864172

Re 1 and 2,do you have McAfee antivirus installed? If so, see  #178962

No it's not McAfee antivirus but Micrsoft defender antivirus

/confirmPlease

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.
Happy Coding!

the moment i press f1 in vs code it opens (how to get help in windows 11), and even in help section there is no troubleshoot option.  please write it in step by step format so i can implement it .

Please start by learning about how to use the Command Palette, which on your Windows environment is for some reason not being invoked when you press F1
https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette

i found  Help: Troubleshoot Issue (but it didn't have f1 as shortcut) . i proceeded with trouble shoot twice but it was not able to resolve it so it sent me a link to download vs code insider , after installing i ran vs code insider to but same issue and this one also has variable($workspace) can not be resolved and open folder  but folder was opened . All this happened after it lagged while running the program.

Have you already worked through the guide at https://code.visualstudio.com/docs/languages/cpp or were you using instructions from elsewhere?

Thanks for helping.
I'll write what happed after opening this https://code.visualstudio.com/docs/languages/cpp .  I  was scrolling and reading in this page  then i saw this

{ mingw-w64-gdb }, then i ran these commands

then just to be in safer side i run this command after searching online ->    pacman -S mingw-w64-x86_64-gdb    and reinstalled 1 single file/thing .  Then i wrote a program and run it without debugging --> this is what shown after that

( I chose the suggested one ) after that this was shown

( I chose the second last one , the one above default , ucrt64 ) ( others were still showing the error ) , after it run the program and opened the debug console but i didn't touch it and clicked on terminal that was write next to it and there you have it the code was running.


demo/bug: lr_demo

Describe the bug
ImportError: cannot import name 'plot_old' from 'dynadojo.utils.kuramoto'
To Reproduce
Steps to reproduce the behavior:

Go to demos/algorithms/lr_demo.ipynb
Run each cell
Error occurs in the second sell.

Expected behavior
A correct plot function should be imported from src/dynadojo/utils/kuramoto.py

Delete plot_old. Program only uses plot() so we only need to import plot from dynadojo.utils.kuramoto.
After this, the following errors also occur in a few places.

plot() got an unexpected keyword argument 'legend_labels'
resolve by changing 'legend_labels' to 'labels'
plot() got multiple values for argument 'max_oscillators'
resolve by deleting "timesteps", which is not a parameter in plot().


[windows 7]Could not excute 'if else' in webpack.config.js

Do you want to request a feature or report a bug?

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

webpack 3.3.0
const nodeenv = process.env.NODE_ENV; console.log('yes',nodeenv) if(nodeenv  == 'development'){ console.log('development') } if(nodeenv.indexOf('de')>0){ console.log('de') }
the result:
yes development
why?
Please give me help. Thanks a lot!

Please submit support requests and questions to StackOverflow using the tag [webpack]. StackOverflow is better suited for this kind of support. The issue tracker is for bug reports and feature discussions. See also our CONTRIBUTING guidelines.


MINOR Fix is-public-fork input type

PRs are getting the wrong value for this workflow input. The context value we are checking is a boolean and we were treating it as a string. This patch fixes that by defining the workflow input as a boolean and treating it as such.

@chia7712 I updated the inputs as suggested. Note that composite actions do not support input types (everything is a string I think). See https://github.com/actions/runner/issues/2238

Note that composite actions do not support input types (everything is a string I think). See https://github.com/actions/runner/issues/2238

thanks for this sharing. I have noted it. BTW, could you please add comment to those composite file?


Post editor opens when clicking on the title instead of the body

When clicking on the title of the post opens the editor, instead of clicking on the body of the post as expected. This can be confusing for users and leads to an inconsistent user experience.
Expected behaviour: Clicking on the body of the post should open the post editor.

Actual behaviour: Clicking on the title opens the post editor.

Proposed solution: Modify the code to handle the click event on the post body correctly so that the editor opens when the body is clicked instead of the title.
Labels: bug, beginner-friendly

Hi there, I'm interested in contributing to this project and I noticed this small issue about the post editor opening when clicking on the title instead of the body. I would love to work on this issue and contribute to the project. Could you please assign it to me? Thank you!


Facing error: NoSuchMethodError: The method 'classMirrorForInstance' was called on null

Dart version: Dart VM version: 2.0.0-dev.59.0 (Tue May 29 22:11:36 2018 +0200) on "macos_x64"
Reflectable version: ^2.0.1
A repository to reproduce is here: https://github.com/moznion/dart_reflection_error_example
When reflector and reflectee are separated from main, occurs the error.
However following concatenated code works rightly:
import 'package:reflectable/reflectable.dart';
import './main.reflectable.dart';

class MyReflectable extends Reflectable {
  const MyReflectable() : super(invokingCapability, declarationsCapability);
}

const myReflectable = const MyReflectable();

@MyReflectable()
class Foo {
  int bar = 42;
  int buz() {
      return 42;
  }
}

main() {
  initializeReflectable();

  Foo instance = new Foo();
  InstanceMirror instanceMirror = myReflectable.reflect(instance);
  ClassMirror classMirror = instanceMirror.type;
}

Are there any solutions?

Try these adjustments: adjustments.txt. I couldn't immediately reproduce the issue. But I also can't see that you've generated any code, so I added a comment to main.dart about how to do that. With that, it runs here.

The link to 'adjustments.txt' seems to take forever to follow, so here's the text of that file as well:
diff --git a/lib/main.dart b/example/main.dart
similarity index 51%
rename from lib/main.dart
rename to example/main.dart
index 44df24a..df19764 100644
--- a/lib/main.dart
+++ b/example/main.dart
@@ -1,7 +1,9 @@
 import 'package:reflectable/reflectable.dart';
-import './main.reflectable.dart';
-import './foo.dart';
-import './my_reflectable.dart';
+import 'package:dart_reflection_example/foo.dart';
+import 'package:dart_reflection_example/my_reflectable.dart';
+import 'main.reflectable.dart';
+
+// Use `pub run build_runner build example` to initiate code generation.

 main() {
   initializeReflectable();
diff --git a/pubspec.yaml b/pubspec.yaml
index 4a4e005..4974cf4 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,10 +1,11 @@
-name: example
+name: dart_reflection_example
 description: A sample command-line application.

 environment:
   sdk: '>=2.0.0-dev.52.0 <2.0.0'

 dependencies:
+  build_runner: any
   reflectable: ^2.0.1

 dev_dependencies:

Thank you for your response.
I applied the above patch and moved main.dart to under the example directory, then it works fine.
Is this point "user of the reflectable must import packages of reflectable and reflectee with package: prefix"?

Is this point "user of the reflectable must import packages of reflectable
and reflectee with package: prefix"?

No, I believe that the build package and the pub run build_runner ... commands assume that there will not be any entry points (i.e., Dart files containing main which will be the root of a program for execution) in lib, and it is also a common recommendation to never put any entry points there (the following is from Pub Package Layout Conventions):

Note that only libraries should be in lib. Entrypoints—Dart scripts with a
main() function—cannot go in lib.

So the problem was that no code generation would ever take place as long as you'd keep main.dart in lib. In case you encounter some other situation where no code generation takes place you should be able to see it in the response from the run of pub run build_runner ...:
$ pub run build_runner build lib
[INFO] Generating build script completed, took 387ms
[INFO] Building new asset graph completed, took 443ms
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[INFO] Running build completed, took 4ms
[INFO] Caching finalized dependency graph completed, took 33ms
[INFO] Succeeded after 45ms with 0 outputs (0 actions)

The giveaway is 0 outputs, especially if this is the first run, or if you have just deleted all the *.reflectable.dart files in all subdirectories.
PS: Thanks! 🏖

Closing: I believe this issue is now resolved. Please open a new one if there are any remaining issues.


Support optional argument for awaitevent?

It seems that we mostly pass "true" as the expression. Can we make this argument optional? Reads better in tests.

for sure

Done.


The Problem when run ex1p with cuda

Hello everyone! When I run: mpirun -np 4 ex1p -pa -d cuda -m ../data/square-disc.mesh . It doesn't work. I have no idea about it. May you help me. Thank you!

Hi @nghiakvnvsd,
Have you built MFEM with cuda corretly? e.g. make cuda -j 4
Maybe you can give your build/compile command and the ex1p's running information here, so anyone know it can give you some advices.

Hi @nghiakvnvsd,
Have you built MFEM with cuda corretly? e.g. make cuda -j 4
Maybe you can give your build/compile command and the ex1p's running output information here, so anyone know it can give you some advices.

Thank you for replying. I use :"make cuda -j 4" and when I use: make ex1p it returns:
nvcc  -O3 -std=c++11 -x=cu --expt-extended-lambda -arch=sm_60 -ccbin mpicxx -I.. -I../../hypre/src/hypre/include ex1p.cpp -o ex1p -L.. -lmfem -L../../hypre/src/hypre/lib -lHYPRE  -L../../metis-4.0 -lmetis  -lrt
../libmfem.a(mesh.o): In function mfem::Mesh::GeneratePartitioning(int, int)': tmpxft_00001d0f_00000000-5_mesh.cudafe1.cpp:(.text+0x35c95): undefined reference to METIS_PartGraphVKway'
collect2: error: ld returned 1 exit status
makefile:65: recipe for target 'ex1p' failed
make: *** [ex1p] Error 1

Hi @nghiakvnvsd ,
Can you rebuild mfem with: make pcuda -j 4 instead of: make cuda -j 4 ?
I don't have an NVIDIA GPU so I can't reproduce the problem,  other person may help.
Best wishes

Hi @nghiakvnvsd,
As @hongbo-yao said, you should switch to a parallel build if you want to compile parallel examples.
The error you reported tells that the metis library is missing, which will be used if you do a make pcuda -j 4 for example.
Tell us if you are able to build ex1.


Allow user to publish the page without any blocks

This just checks if elementdata exists before looping it, otherwise it throws an error and the user is unable to publish the page.

Just realised this only applies when there are no blocks on the whole site, but still good to have 😄

Hmmmn. I'll have a think about this and update the PR


Offset utility

Add a utility program nmfoffset that adjusts all time offset values of each note and all section offsets except for section zero by a positive number of quanta.  This is needed for when the composition starts with a grace note, which can't be handled by the grace note compiler unless an offset is applied somewhere.

Offsets can now be handled with note rendering script in infrared, so this utility is not needed.


Jest integration

Added jest integration and tests for src/Documentation/SidebarMenu/helper.js. This files made a lot of data manipulations and we already had some bugs in it. This tests will help us to avoid regressions in the future.

@iAdramelk also, let's exclude tests from the Codeclimate.

Will update doc's and fix configs today.


GraphQL Handler - Crashes on Configuration Errors

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

[ ] 1. The issue provides a reproduction available on
Github,
Stackblitz
or
CodeSandbox

Make sure to fork this template and run yarn generate in the terminal.
Please make sure Mesh package versions under package.json matches yours.

[ ] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug
When using the WS transport for subscriptions in the GraphQL handler, any configuration error causes the instance to terminate.
To Reproduce Steps to reproduce the behavior:

Set up a GraphQL handler with a subscription, but use an endpoint that is interpolated (i.e. env.SOMEURL). Another bug/issue I'll report separately means this variable isn't being interpolated today.
Invoke the subscription.

The mesh instance will terminate with this trace:
/Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/ws/lib/websocket.js:675
      throw new SyntaxError(`Invalid URL: ${address}`);
            ^
SyntaxError: Invalid URL: {env.TEST_URL}
    at initAsClient (/Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/ws/lib/websocket.js:675:13)
    at new WebSocket (/Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/ws/lib/websocket.js:85:7)
    at /Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/graphql-ws/lib/client.js:158:28
    at /Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/graphql-ws/lib/client.js:261:11
    at new Promise (<anonymous>)
    at connect (/Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/graphql-ws/lib/client.js:147:121)
    at /Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/graphql-ws/lib/client.js:373:87
    at Object.subscribe (/Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/graphql-ws/lib/client.js:424:15)
    at Object.repeaterExecutor [as executor] (/Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/@graphql-tools/executor-graphql-ws/cjs/index.js:33:53)
    at /Users/steve/go/src/github.com/steve-gray/test-graph/node_modules/@repeaterjs/repeater/cjs/repeater.js:453:69

Expected behavior
A runtime error (This is the behaviour in LEGACY_WS) that does not terminate the instance.

It appears this crash occurs any time there's a non-clean socket disconnect too, in Kubernetes this leads to pod groups going into Crashloop due to:

Fixed in https://github.com/Urigo/graphql-mesh/commit/e4f94eb3a3f01ac88935b708ceb6ffa06cb7f3b3

https://github.com/ardatan/graphql-tools/pull/5349
Fixed in the underlying package. Thanks for the feedback.


CI: specify matplotlib-base

🚀 Pull Request
Description

Use matplotlib-base instead of matplotlib in the conda yml files, following advice here:
https://conda-forge.org/docs/maintainer/knowledge_base.html#matplotlib
Fewer packages to resolve :+1:

It is already done like this in the feedstock.

Thanks @bjlittle, I reckon that was the fastest merge I've ever had :smile: