Environment Variables and External Links different behavior from 1.11.x

Rancher Version:
v1.12
Rancher Compose: v0.12.0
Docker Version:
v1.12.3
Docker Compose: v1.9.0
OS and where are the hosts located? (cloud, bare metal, etc):
boot2docker, local vm
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single Rancher; same host for rancher and user containers
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Deploy service with external variables and uses an external service using Rancher Compose...like:
db-client:
equipment-query:
    ports:
    - 8080
    labels:
      io.rancher.container.dns: 'true'
      io.rancher.container.hostname_override: container_name
    external_links:
    - foo/mongo:mongo
    environment:
      MONGO_PORT: '27017'

Results:
MONGO_PORT variable set to "tcp://mongo:27017"
Expected:
MONGO_PORT variable set to "27017" (as in Rancher 1.11.x)
Notes:
I used both Docker Compose file versions 1 and 2 and got same result.  For version, I was expect the issue to be solved as the environment variables for links are no longer supposed to be populated (https://docs.docker.com/compose/link-env-deprecated/)...what gives?

@dsvmacdonald Just to clarify, the issue you are reporting is that the user specified env var MONGO_PORT is getting overwritten by the generated MONGO_PORT env var for linking?

Correct

https://github.com/rancher/agent/pull/109

Tested with v1.3.0-rc1
When testing with the yml, provided in the issue , environment variables override the standard generated env port for linking -  MONGO_PORT="27017"
Also overriding other generated variables like MONGO_PORT_27017_TCP and MONGO_PORT_27017_TCP_PORT also work as expected.

@dsvmacdonald , fix for this issue will be available in rancher-server release - v1.3.0

Is there any work arounds until v1.3.0 release?

I would love to hear if anyone has a work-around for this too (yes 1.3.0 is now released but pending the migration...).


cURL_FTP_Rename - which property has to be set for the new name?

Hi Keisuke,
sorry, but I can't figure out which property in the options-object has to be set for the new name on the ftp-Server.
Maybe you want to give me hint?
Thanks a lot, Jörg

you can do a command+F on the source
it's RENAME_TO


Translate dropdown items for Date/Time components

Translate dropdown items on the Date tab of settings for Date/Time components.

Wait to merge, forgot some labels in same file.

OK to merge, got the labels.

Will create another PR tomorrow AM to get labels and dropdown items in the other component settings.  Just needs a little more testing.


Adding physics?

I'm thinking about adding physics engine for handling some animation (split animation,...) and for faster HitTest.
But have no idea where should we apply the physics engine. On server side (more complex) or on client side (much easier? any risk?)

Animations and physics can be done client side. Anything that is not cosmetic like the splitting action itself should be server side but the client can handle the animations.

Yes, I think this much better for server and will not affect game performance.

Physic engine should definitely not be applied on the client - that's actually one of the most important parts of the game and should be handled only by the server.

Probably obvious but hit-detection needs to remain on the server-side.

I think this title makes more sense. Physics is more of the movement stuff, animations is more of the client-side transitions (cell growth, smoother movement, smoother eating, etc.)


Comparison with Evo-ViT

Thx for your brilliant works on accelerating ViTs!
Months ago I've read this paper: Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer, and now found that you have similar model structures: preserving informative tokens while aggregating uninformative ones. Have you ever comparing with this work? I found few counter works about faster inference in Figure 4, referring to the surveys of ViTs recently, there are many more fast ViTs you could compare with.
Also, as far as I know, there are plenty works in the field of NLP, based on BERT, of prototyping and aggregating tokens. Those could also be good comparisions.
Thanks for your considerations, and looking forward to your reply.

Hi, thanks for your interest in our work.
Since the work you mentioned, namely Evo-ViT, is a concurrent work of our ICLR submission, we were unable to include it in our paper. For a pure comparison purpose, it seems that the performance of Evo-ViT is similar to that of EViT, which can be seen from the experimental results such as Table 1 in Evo-ViT and Table 8 in EViT. Specifically, Evo-ViT-DeiT-B achieves 54.5% speedup and 81.3% top-1 acc, while EViT/0.7-DeiT-B achieves 59% speedup and 81.3% top-1 acc. On the othe hand, EViT is simpler than Evo-ViT conceptually and in implementation. We would like to discuss the connections and differences between EViT and Evo-ViT in future work.
It should be noted that our work is not intended to be a SOTA model among ViTs, but merely a demonstration of an intriguing property of the attention map in ViTs and how a simple token selection method can benefit ViT models.
For the Transformer models in the NLP field, the performance cannot be compared directly with ours as they involve different tasks and different evaluation metrics.
Thanks and regards,
EViT Authors


Update the doc

Recently, two new models are added to sherpa-ncnn:

https://huggingface.co/csukuangfj/sherpa-ncnn-conv-emformer-transducer-2022-12-04  (Support English)

https://huggingface.co/csukuangfj/sherpa-ncnn-conv-emformer-transducer-2022-12-06 (Support both English and Chinese)

[ ] The README.md needs to be updated to include the above two models.

Also, the following items need to be updated

[ ] the colab notebook: https://colab.research.google.com/drive/1zdNAdWgV5rh1hLbLDqvLjxTa5tjU7cPa?usp=sharing
[ ] The documentation at https://k2-fsa.github.io/sherpa/ncnn/index.html

Note: You can find all models and their usages in
https://github.com/k2-fsa/sherpa-ncnn/blob/master/.github/scripts/run-test.sh

The source of the documentation is placed in
https://github.com/k2-fsa/sherpa/tree/master/docs/source/ncnn


standardize dimensionality in recOrder compute functions

Make sure that the convenience compute functions output data in the same dimensionality as the input data (i.e. all data remains in C, Z, Y, X order outside of the functions).

fixed in #31


The Macos runtime modification tool reported an error

Macos Sequoia 15.1.1   M1Prp
Running display：
[✗] Failed to download binary from: https://github.com/yuaotian/go-cursor-help/releases/download/v0.0.6/cursor_id_modifier_0.0.6_darwin_arm64

same

Is it a network problem? Or you can manually download a version of the implementation is also possible Oh, really can not pocket program is to manually modify it, but recently the new version of the machineId has a special encryption needs to be properly dealt with Oh!
Here are the core changes for version 0.0.6
PS：
refactor: Implement structured machineId generation
BREAKING CHANGE: machineId now follows specific format pattern
Technical Analysis:
Decoded sample: auth0|user_01JERFJQF96B7FKDX94HJH17DR
Format breakdown:

Prefix: auth0|user_
Sequence: 01 (numeric sequence)
Unique ID: JERFJQF96B7FKDX94HJH17DR (23 chars)

Changes:

Implemented structured ID generation matching observed format
Added sequence number generation (00-99)
Created unique ID generator with custom alphabet
Maintained hex encoding for final output

Format Structure:
[prefix     ][seq][unique_id           ]
auth0|user_ + 01 + JERFJQF96B7FKDX94HJH17DR
↓
Hex encoded:<PHONE_NUMBER>7c757365725f30314a4552464a514639364237464b44583934484a4831374452
Reference:

Thanks to 🙏[Huaguang]佬友 for the analysis: https://linux.do/t/topic/287438/14
Cursor version: 0.44+


Upstream2107

Описание PR

Changelog.yml
- author: ShadowCommander
  changes:
  - message: Players can now use melee attacks and shoves while dragging an entity
      in their active hand.
    type: Tweak
  id: 6900
  time: '2024-07-11T04:48:00.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29703
- author: Cojoke-dot
  changes:
  - message: You can no longer shoot out of crates with guns
    type: Fix
  id: 6901
  time: '2024-07-11T05:14:49.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/28961
- author: Cojoke-dot
  changes:
  - message: The Spray Painter can now be used to paint glass airlocks to look like
      regular glass airlocks.
    type: Tweak
  id: 6902
  time: '2024-07-11T05:33:20.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29869
- author: MFMessage
  changes:
  - message: Picking a ghost role as an admin will now deadmin.
    type: Fix
  id: 6903
  time: '2024-07-11T05:53:15.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29790
- author: Winkarst-cpu
  changes:
  - message: Admin notes popups are now more readable.
    type: Tweak
  id: 6904
  time: '2024-07-11T14:03:22.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29909
- author: jonathanargo
  changes:
  - message: Muskets are now wieldable.
    type: Tweak
  id: 6905
  time: '2024-07-12T09:16:21.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29910
- author: themias
  changes:
  - message: Notice boards can now be built on walls
    type: Fix
  id: 6906
  time: '2024-07-12T09:18:32.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29851
- author: slarticodefast
  changes:
  - message: Stun batons, stun prods and banana cream pies now fly like other throwing
      weapons when thrown.
    type: Fix
  id: 6907
  time: '2024-07-12T09:19:24.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29883
- author: Plykiya
  changes:
  - message: Dropping an item while in a container now places the item in the container.
    type: Fix
  id: 6908
  time: '2024-07-12T09:24:08.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29900
- author: coffeeware, slarticodefast
  changes:
  - message: Fixed items thrown very fast not being in the air. In particular this
      fixes the pneumatic cannon.
    type: Fix
  - message: Buffed base hand throwing speed by 10% to be more similar to before the
      recent throwing changes.
    type: Tweak
  id: 6909
  time: '2024-07-12T10:32:47.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29935
- author: themias
  changes:
  - message: Timers can now be deconstructed
    type: Fix
  id: 6910
  time: '2024-07-12T11:38:59.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29917
- author: jonathanargo
  changes:
  - message: Hard hat icon sprites are now centered correctly.
    type: Fix
  id: 6911
  time: '2024-07-12T15:00:40.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29953
- author: lzk228
  changes:
  - message: Secure windoors now use reinforced glass damage modifier.
    type: Fix
  id: 6912
  time: '2024-07-13T04:03:16.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29941
- author: Tayrtahn
  changes:
  - message: Antag objective total difficulty is now properly capped.
    type: Fix
  id: 6913
  time: '2024-07-13T04:14:30.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29830
- author: EmoGarbage404
  changes:
  - message: Added wristwatches for telling time.
    type: Add
  id: 6914
  time: '2024-07-13T06:09:19.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29550
- author: TheShuEd
  changes:
  - message: Added diamonds ore!
    type: Add
  - message: Diamonds can now be sold at a bargain price.
    type: Add
  id: 6915
  time: '2024-07-13T12:15:57.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/25750
- author: coffeeware
  changes:
  - message: Lizards will no longer lose their snouts when equipping head bandanas
    type: Fix
  id: 6916
  time: '2024-07-14T02:59:45.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29979

Admin.yml
- author: Chief-Engineer
  changes:
  - message: Baby jail no longer prevents accounts with no prior connections from
      connecting
    type: Fix
  id: 45
  time: '2024-07-11T05:14:01.0000000+00:00'
  url: https://github.com/space-wizards/space-station-14/pull/29896

Проверки

[x] PR полностью завершён и мне не нужна помощь чтобы его закончить.
[x] Я внимательно просмотрел все свои изменения и багов в них не нашёл.
[x] Я запускал локальный сервер со своими изменениями и всё протестировал.
[x] Я добавил скриншот/видео демонстрации PR в игре, или этот PR этого не требует.

Изменения

:cl: Шрёдька

tweak: Подтянуты изменения с корвакса, 21.07.24.

Кайф, выскочили ошибки в системе с языками
Error: /home/runner/work/space_station_ADT/space_station_ADT/Content.Server/ADT/Language/TranslatorSystem.cs(165,24): error CS1061: 'PowerCellSystem' does not contain a definition for 'SetPowerCellDrawEnabled' and no accessible extension method 'SetPowerCellDrawEnabled' accepting a first argument of type 'PowerCellSystem' could be found (are you missing a using directive or an assembly reference?) [/home/runner/work/space_station_ADT/space_station_ADT/Content.Server/Content.Server.csproj]
Error: /home/runner/work/space_station_ADT/space_station_ADT/Content.Server/ADT/Language/TranslatorSystem.cs(174,24): error CS1061: 'PowerCellSystem' does not contain a definition for 'SetPowerCellDrawEnabled' and no accessible extension method 'SetPowerCellDrawEnabled' accepting a first argument of type 'PowerCellSystem' could be found (are you missing a using directive or an assembly reference?) [/home/runner/work/space_station_ADT/space_station_ADT/Content.Server/Content.Server.csproj]
Error: /home/runner/work/space_station_ADT/space_station_ADT/Content.Server/ADT/Language/TranslatorSystem.cs(191,20): error CS1061: 'PowerCellSystem' does not contain a definition for 'SetPowerCellDrawEnabled' and no accessible extension method 'SetPowerCellDrawEnabled' accepting a first argument of type 'PowerCellSystem' could be found (are you missing a using directive or an assembly reference?) [/home/runner/work/space_station_ADT/space_station_ADT/Content.Server/Content.Server.csproj]

Хм, теперь такая
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
  Failed NoStaticPriceAndStackPrice [1 s]
  Error Message:
   Multiple failures or warnings in test:
  1) SERVER: 1,481s [ERRO] system.item_toggle: Can't resolve "Content.Shared.Item.ItemToggle.Components.ItemToggleComponent" on entity переводчик вульпканинов (11799/n11799, VulpTranslator)!
   at System.Environment.get_StackTrace()
   at Content.Shared.Item.ItemToggle.ItemToggleSystem.TryDeactivate(Entity`1 ent, Nullable`1 user, Boolean predicted) in /home/runner/work/space_station_ADT/space_station_ADT/Content.Shared/Item/ItemToggle/ItemToggleSystem.cs:line [13](https://github.com/AdventureTimeSS14/space_station_ADT/actions/runs/10027377105/job/27712969172?pr=133#step:10:14)8
   at Content.Server.PowerCell.PowerCellSystem.OnDrawCellChanged(EntityUid uid, PowerCellDrawComponent component, PowerCellChangedEvent args) in /home/runner/work/space_station_ADT/space_station_ADT/Content.Server/PowerCell/PowerCellSystem.Draw.cs:line 63

Надо всё проверить

ну и с хера

Жесть


Updating dev-1 with master updates

Current coverage is 100.00%

Merging #22 into dev-1 will increase coverage by +1.00% as of 8829bc2

@@            dev-1     #22   diff @@
=====================================
  Files           9       9
  Stmts         201     201
  Branches        0       0
  Methods        47      47
=====================================
+ Hit           199     201     +2
  Partial         0       0
+ Missed          2       0     -2

Review entire Coverage Diff as of 8829bc2

Powered by Codecov. Updated on successful CI builds.


Fix PYTHONPATH is not set when running collectstatic

In command bin/steps/collectstatic, PYTHONPATH is not set.
If manage.py file is not located at root folder but in the subfolder of a project and if import some_module_in_project is called in manage.py, python somefolder/manage.py collectstatic --noinput will raise can not find module error. This is due to PYTHONPATH is not set for root folder and python can not import project's own module.

I found this issue because I have a customized manage.py which will do some additional work for me. But this manage.py needs import some modules of the project and since PYTHONPATH is not set, python manage.py collectstatic will raise can not find module error
Here is the project layout
Procfile
requirements.txt
myapplication
    manage.py
    settings.py
    ....other...stuff...

thanks!

Glad to contribute!

@kennethreitz It looks like buildpack in Heroku is cached. May I know how can I update the buildpack in Heroku? It looks like the buildpack is not using the latest one in github even I create a new project in Heroku

The heroku/python buildpack alias maps to stable releases rather than master of this repo. The versions/release dates can be seen using:
https://github.com/heroku/heroku-buildkits#revisions
In the meantime if you wish to use master, set the buildpack URL to this git repository like so:
https://devcenter.heroku.com/articles/buildpacks#using-a-third-party-buildpack


DiamondLoupeFacet required, yet not added in constructor?

Hi @mudgen, this is mostly just a question for you, and may not be a big issue.
I noticed the following language in this and the other reference implementations:

Note: The loupe functions in DiamondLoupeFacet.sol MUST be added to a diamond and are required by the EIP-2535 Diamonds standard.

If this is the case, why is the DiamondLoupeFacet not being added in the constructor, as is done with the DiamondCut facet?
I am a grad student and researcher working on a survey of current upgradeability patterns, so it would be great to connect with you!
-Bill

Hi Bill, it would be great to connect with you.
I think it is a good idea to add the DiamondLoupeFacet functions in the constructor. It just isn't in this implementation.
The DiamondLoupeFacet functions are added to the diamond during deployment, right after the diamond proxy is deployed.  The deployment script is here: https://github.com/mudgen/diamond-1-hardhat/blob/main/scripts/deploy.js

So if we come across a Diamond in our data set but cannot find the Loupe functions in any of the (facet) contracts in the compilation unit, it would be correct to flag this as an issue right?

Yes, that is correct.

So then we would presumably need to trace each function selector from the constructor to that function's implementation, then search it to see if it ever calls LibDiamond.addReplaceRemoveFacetSelectors. Does that sound right to you?

Well maybe, someone could use or write a different internal function with another name that adds/replaces/removes functions.

Well maybe, someone could use or write a different internal function with another name that adds/replaces/removes functions.

Yeah, I think I'll need to track down the mapping where the facets are actually stored and determine if any of the facets added in the constructor can modify that mapping, whether it be via LibDiamond.addReplaceRemoveFacetSelectors or any other function.
Thanks for the insights! Closing this as it's not really an issue. If I have more questions, what's the best way to reach out? Twitter?

Yes, twitter,  or contact me on Discord.  My user name is mudgen#7418


feat: warn if online installation is attempted on air gap

What this PR does / why we need it:

[!IMPORTANT]
for this to work we need to merge https://github.com/replicatedhq/vandoor/pull/6374 first.

vendor portal informs us (through the embedded channel release struct) if the binary was downloaded with or without an  airgap bundle.
if the binary was downloaded with an airgap bundle, we should warn the user we must warn the users if they attempt to install the binary without passing in the airgap bundle flag.
Does this PR require a release note?

Warn users if an online installation is executed with an air gap prepared installer binary.

@ricardomaraschini mind showing a recording of this? I'd like to take a look to ensure that text is sufficiently noticeable before the prompt. (I remember for HA, people kept missing the little preamble we print about what HA means, and as a result they were confused by the prompt.)

license ID

https://github.com/user-attachments/assets/738a8f14-08d5-466a-9b09-37938a5e7064

@ricardomaraschini mind showing a recording of this? I'd like to take a look to ensure that text is sufficiently noticeable before the prompt. (I remember for HA, people kept missing the little preamble we print about what HA means, and as a result they were confused by the prompt.)

https://github.com/user-attachments/assets/de485130-68b9-45ee-a84e-5796cecb632c


Add user notifications and emails

Allow users to subscribe to various types of in-app notifications
Allow users to request an email when notifications are delivered
Users can choose immediate, digest, or no email per notification type
Support notifications for comment mentions and task-review updates
Add email column to users table to track user email addresses
Add SMTP support for transmitting emails via play-mailer
Add scheduler job for processing immediate notification emails
Add scheduler job for processing digest notification emails
Add new mailer settings block to application.conf
Update README with section on SMTP configuration
To aid comment mentions, make lookups by OSM username case insensitive

@nrotstan Just need to resolve the conflicts so that we can merge this.

Thanks, @mgcuthbert, conflict resolved.

I am sorry @nrotstan I merged a couple other PR's before looking at this one again, and it caused another conflict that needs resolution. My apologies.

No worries, @mgcuthbert, conflicts resolved.


Update deploy-staging-slots.md

VNET is cloned among slots. When adding a slot from Deployment Slots menu, for "clone settings from" I chose the production app that VNET integration is enabled, I could confirm the vnet is cloned to the slot web app. The customer also confirmed this behavior similar to my test run. So I think currently VNET is cloned among slots.

@cephalin

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Docs Build status updates of commit 2be7311:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/98150/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


@Krajzys  @JesperSchulz  Hi, I'm messing about with this in the most recent release and it works great with SAS Token but when I try to use a Shared Key for authentication I run into issues uploading a file to the File Share. I have attached the error. Any ideas? Authentication using shared key works fine for downloading and listing directory requests.

          @Krajzys  @JesperSchulz  Hi, I'm messing about with this in the most recent release and it works great with SAS Token but when I try to use a Shared Key for authentication I run into issues uploading a file to the File Share. I have attached the error. Any ideas? Authentication using shared key works fine for downloading and listing directory requests.

Originally posted by @PJohnstonSysco in https://github.com/microsoft/BCApps/issues/341#issuecomment-1916655574

Hi @PJohnstonSysco. Issues should be used to suggest fixes in code or new features. They are not meant to be used as support requests. Please use Viva Engage or other forums to ask questions and get help with your problems 😊 Thanks!

Hi @JesperSchulz, this is not a request for a new feature., it is a bug. If you try to upload a file to a File Share while authenticated with an Azure Shared Key you will get an error.  This works fine with Blob Storage so should also work with File Shares.

Sure, and if you'd like to take charge and fix that issue, I can approve this GitHub issue to allow you to create a pull request. This just isn't the right place to log bugs for the product team - for that, you must create a support request. And if you've got general questions (as your title indicates), Viva Engage is the place 😊

Maybe the author @Krajzys of the original PR #341 would like to look into this issue for you?

PS: I do get that the process is slightly confusing as it is today, but right now I just need to be very strict about what GitHub issues can be used for, as else we'll get tons of bug reports here, and those we won't be able to deal with. So, just to be clear:
You've found a bug and you want Microsoft to look into it? -> file a support request
You've found a bug (with no customer impact) and you'd like to fix it yourself? -> create a GitHub issue and get it approved
You've got a question? -> Go to Viva Engage or another public forum
Your case here is interesting though, in the sense that you're pointing to an issue introduced in a former PR. I'd admit that our processes don't cater well for this scenario yet. Ideally, I'd like you see going for option 2: fix the issue 😉


brew cask install elm-platform 0.16 causes sha256 mismatch (again)

It appears that the elm 0.16 release pkg file has a new sha again:
 ~  brew cask install elm-platform
==> Downloading http://install.elm-lang.org/Elm-Platform-0.16.pkg
######################################################################## 100.0%
==> Note: running "brew update" may fix sha256 checksum errors
Error: sha256 mismatch
Expected: e55a6e993264b29bf917df79ccb383ea99260082108d8c07b668718325478f1f
Actual: 8d87aa2737c4c9950fdbdb1f8f1b154b28fd5c27e7b1bfb3e0bdbcc5fc6cc603
File: /Library/Caches/Homebrew/elm-platform-0.16.pkg
To retry an incomplete download, remove the file above.
 ✘  ~  brew update
Already up-to-date.
 ~  brew cask update
Already up-to-date.
 ~  brew cask install elm-platform
 ✘  ~  rm /Library/Caches/Homebrew/elm-platform-0.16.pkg
 ~  brew cask install elm-platform
==> Downloading http://install.elm-lang.org/Elm-Platform-0.16.pkg
######################################################################## 100.0%
==> Note: running "brew update" may fix sha256 checksum errors
Error: sha256 mismatch
Expected: e55a6e993264b29bf917df79ccb383ea99260082108d8c07b668718325478f1f
Actual: 8d87aa2737c4c9950fdbdb1f8f1b154b28fd5c27e7b1bfb3e0bdbcc5fc6cc603
File: /Library/Caches/Homebrew/elm-platform-0.16.pkg
To retry an incomplete download, remove the file above.
 ✘  ~ 

I downloaded the pkg file directly from the elm webpage and it appears to have the new (actual) sha.

Fixed in https://github.com/caskroom/homebrew-cask/pull/15377. If this continues to happen, we can just set the shasum to :no_check, as the package is silently updated upstream.


Inline array to storage bug

Dynamic / static conversions were not handled properly. New conditions for conversion are added, old ones are most likely going to be deleted but I kept them for now. Few small bugs are solved in memory conversion functions.

Already solved


Unknown middleware: auth. Valid options are .

Environment
Nuxt project info:                                                                                12:09:42

Operating System: Darwin
Node Version:     v16.13.0
Nuxt Version:     3.0.0-27460489.53fbca7
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      vue, privateRuntimeConfig, publicRuntimeConfig, css, buildModules, build
Runtime Modules:  -
Build Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>

Reproduction

Describe the bug

middleware > with .global.ts  prefix return Unknown middleware: auth. Valid options are .
[Vue Router warn]: uncaught error during route navigation:
vue-router.esm-bundler.js?v=44320bbe:3302 TypeError: setup is not a function

file auth.global.ts

export default defineNuxtPlugin(() => {
  addRouteMiddleware('global-auth', () => {
    console.log('this global middleware was added in a plugin and will be run on every route change')
  }, { global: true })

})

Additional context
No response
Logs
No response

still error

still error

Please open a new issue with a reproduction then and feel free to link this one then 🙏

I had this issue and resolved it by just restarting the dev server


move convertParamsErrorsToAudits to common

this function is needed in frontend to show errors in the validation one pager

In theory, the frontend should not do the audit, it already has everything that is needed in the auditsV2 parameter received from server. It should not be done twice.

Well, then we need to be able to validate the params type also, which is not the case right now.

Ignore this, these will be converted on backend


Investigate error scenario when encoding into derived MessageWithMetadata

We could possibly improve the error scenario though.
Originally posted by @JoshLove-msft in https://github.com/Azure/azure-sdk-for-net/pull/26734#discussion_r797122315

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Service Bus:0.1790002,Storage:0.09269207,Azure.Core:0.06729862'


feat: port smul positivity extension

bors merge
Thanks! On reflection I think using Qq here would be a bad idea, as it requires us to hard-code all the instances we think we need, meaning we risk forgetting to mirror generalizations made to the lemmas in future.


SuiteScript 2.0

Are there any plans to expand this to support SuiteScript 2.0?

Hi @DempseyWilliams ,
Yes we plan to add full SuiteScript 2.0 support. We don't have a planned release date yet.
Thanks
Matthew

@DempseyWilliams initial SuiteScript 2.0 was merged and deployed today, you can update the package in atom and try it out!

Excellent!


Feature request: Vita3k support

Since this apparently can't be made into a flatpak I figure I'd ask for it to be included in the OS itself. It's in the AUR so it shouldn't be too hard to add.

Which package are you refering to?

They have bin and git entries
https://aur.archlinux.org/packages/vita3k-bin
https://aur.archlinux.org/packages/vita3k-git
Github page: https://github.com/Vita3K/Vita3K


Upgrade PHP7.4 to PHP8.1

Fixes #352 .

Has this been tested yet?

@TechieNK tested it, and it worked for him - I think he's the only one that has tested it.
I should note that this is not a complete patch yet - I went through the Canasta extensions, and at this point I know of four that need their version upgraded in the Dockerfile to work better with PHP 8: Cargo, Page Forms, Semantic MediaWiki and UserPageViewTracker.

Let's hold off on merging this until compatibility is confirmed with those extensions.

Moving this to the local "php-8.1" branch.


Unable to create block because world state is not available

Hi team, I'm facing the following error. Could someone give me any advice to resolve the issue?
Background:

I'm running 4 besu nodes with private network on Azure Kubernetes Service.
After a node maintenance reboot, all besu pods were recreated and cause the same error from all pods.
I've tried to restart all pods but I'm still facing the same error.

Setting logging level to INFO
2024-11-27 05:58:18.305+00:00 | main | INFO  | Besu | Starting Besu
2024-11-27 05:58:18.877+00:00 | main | WARN  | Besu | --rpc-ws-host, --rpc-ws-port, --rpc-ws-api and --rpc-ws-authentication-enabled has been ignored because --rpc-ws-enabled was not defined on the command line.
2024-11-27 05:58:18.882+00:00 | main | WARN  | Besu | --graphql-http-host, --graphql-http-port and --graphql-http-cors-origins has been ignored because --graphql-http-enabled was not defined on the command line.
2024-11-27 05:58:19.203+00:00 | main | WARN  | Besu | Forcing --bonsai-limit-trie-logs-enabled=false, since it cannot be enabled with --sync-mode=FULL and --data-storage-format=BONSAI.
2024-11-27 05:58:19.203+00:00 | main | WARN  | Besu | Permissions are disabled. Cannot enable PERM APIs when not using Permissions.
2024-11-27 05:58:19.205+00:00 | main | INFO  | Besu | Connecting to 0 static nodes.
2024-11-27 05:58:19.209+00:00 | main | WARN  | Besu | Forcing price bump for transaction replacement to 0, since min-gas-price is set to 0
2024-11-27 05:58:19.210+00:00 | main | WARN  | Besu | Forcing tx-pool-min-gas-price=0, since it cannot be greater than the value of min-gas-price
2024-11-27 05:58:19.369+00:00 | main | INFO  | Besu |
####################################################################################################
#                                                                                #
# Besu version 24.9.1                                                                              #
#                                                                                #
# Configuration:                                                                                #
# Network: Custom genesis file                                                                     #
# /etc/besu/genesis.json                                                                           #
# Network Id: 2028                                                                                #
# Data storage: Bonsai                                                                             #
# Sync mode: Full                                                                                #
# RPC HTTP APIs: DEBUG,ETH,ADMIN,WEB3,IBFT,NET,TRACE,EEA,PRIV,QBFT,PERM,TXPOOL                     #
# RPC HTTP port: 8545                                                                              #
# Using LAYERED transaction pool implementation                                                    #
# Using STACKED worldstate update mode                                                             #
#                                                                                #
# Host:                                                                                #
# Java: openjdk-java-21                                                                            #
# Maximum heap size: 0.45 GB                                                                       #
# OS: linux-x86_64                                                                                #
# glibc: 2.39                                                                                #
# jemalloc: 5.3.0-0-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c                                      #
# Total memory: 15.62 GB                                                                           #
# CPU cores: 4                                                                                #
#                                                                                #
# Plugin Registration Summary:                                                                     #
# No plugins have been registered.                                                                 #
# TOTAL = 0 of 0 plugins successfully registered.                                                  #
#                                                                                #
####################################################################################################
...
2024-11-27 05:58:22.380+00:00 | main | INFO  | DefaultSynchronizer | Starting synchronizer.
2024-11-27 05:58:22.383+00:00 | main | INFO  | TransactionPoolFactory | Enabling transaction handling following initial sync
2024-11-27 05:58:22.383+00:00 | main | INFO  | QbftBesuControllerBuilder | Starting QBFT mining coordinator following initial sync
2024-11-27 05:58:38.094+00:00 | main | INFO  | FullSyncDownloader | Starting full sync.
2024-11-27 05:58:38.098+00:00 | main | INFO  | Runner | Ethereum main loop is up.
2024-11-27 05:58:38.106+00:00 | BftProcessorExecutor-QBFT-0 | INFO  | AbstractBlockCreator | Unable to create block because world state is not available
2024-11-27 05:58:38.107+00:00 | BftProcessorExecutor-QBFT-0 | ERROR | EventMultiplexer | State machine threw exception while processing event \{BlockTimerExpiry{Round Identifier=ConsensusRoundIdentifier{Sequence=3684383, Round=0}}\}
java.util.concurrent.CancellationException: World state not available for block 3684382 with state root 0xdec05459e22919757f751b0dccc2e77a2d15bfbe0b4fe1eb6e2cfa819de13da3
        at org.hyperledger.besu.ethereum.blockcreation.AbstractBlockCreator.lambda$duplicateWorldStateAtParent$2(AbstractBlockCreator.java:415)
        at java.base/java.util.Optional.orElseThrow(Optional.java:403)
        at org.hyperledger.besu.ethereum.blockcreation.AbstractBlockCreator.duplicateWorldStateAtParent(AbstractBlockCreator.java:410)
        at org.hyperledger.besu.ethereum.blockcreation.AbstractBlockCreator.createBlock(AbstractBlockCreator.java:195)
        at org.hyperledger.besu.ethereum.blockcreation.AbstractBlockCreator.createBlock(AbstractBlockCreator.java:149)
        at org.hyperledger.besu.consensus.common.bft.blockcreation.BftBlockCreator.createBlock(BftBlockCreator.java:89)
        at org.hyperledger.besu.consensus.qbft.statemachine.QbftRound.createAndSendProposalMessage(QbftRound.java:142)
        at org.hyperledger.besu.consensus.qbft.statemachine.QbftBlockHeightManager.handleBlockTimerExpiry(QbftBlockHeightManager.java:140)
        at org.hyperledger.besu.consensus.common.bft.statemachine.BaseBftController.handleBlockTimerExpiry(BaseBftController.java:167)
        at org.hyperledger.besu.consensus.common.bft.EventMultiplexer.handleBftEvent(EventMultiplexer.java:65)
        at java.base/java.util.Optional.ifPresent(Optional.java:178)
        at org.hyperledger.besu.consensus.common.bft.BftProcessor.run(BftProcessor.java:68)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1583)

Versions (Add all that apply)

Software version: besu/v24.9.1/linux-x86_64/openjdk-java-21 (hyperledger/besu:24.9.1 docker image)
Java version: openjdk version "21.0.4" 2024-07-16
OS Name & Version: Ubuntu 24.04 LTS
Kernel Version: Linux besu-validator-1-0 5.15.0-1074-azure #83-Ubuntu SMP Wed Oct 2 18:14:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Additional Information (Add any of the following or anything else that may be relevant)

Besu setup info - genesis file, config options

genesis file
{
  "config": {
    "chainId": 2028,
    "muirglacierblock": 0,
    "qbft": {
      "blockperiodseconds": 1,
      "epochlength": 30000,
      "requesttimeoutseconds": 4
    }
  },
  "nonce": "0x0",
  "timestamp": "0x58ee40ba",
  "gasLimit": "0x1fffffffffffff",
  "difficulty": "0x1",
  "mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
  "coinbase": "0x0000000000000000000000000000000000000000",
  "extraData": "0xf87aa00000000000000000000000000000000000000000000000000000000000000000f85494dd5e5d3808917ab4224872e1320c3f79c26dd43394f2418a1c31108f844feb59c1a269313d2c3aced494fe60c404d7b949efb5ff12b9048a9bfa60ec136094de37c8946d9ff06ba083ed9ea314052f0cfb16a4c080c0",
  "alloc": {
  ...
  }
}

config file
# Every possible CLI should be in this file.
#
# Please use a plausible value, besu has to at least be able to parse it.
# If it is a multi-valued CLI make it a TOML array.
# If it is a number or boolean make it a number or boolean
# All other config options are strings, and must be quoted.

# Node Information
data-path="/data"
genesis-file="/etc/besu/genesis.json"

# TODO : insert as command line & mount Volume
# rpc-http-authentication-credentials-file="none"
# TODO : insert as command line & mount Volume
# rpc-ws-authentication-credentials-file="none"
logging="INFO"

min-gas-price=0
# Transaction Pool
#tx-pool-retention-hours=999
#tx-pool-max-size=1024

# P2P network
p2p-enabled=true
discovery-enabled=true
#p2p-host="<IP_ADDRESS>"
p2p-port=30303
max-peers=25
host-allowlist=["*"]

# JSON-RPC
rpc-http-enabled=true
rpc-http-host="<IP_ADDRESS>"
rpc-http-port=8545
rpc-http-api=["DEBUG", "ETH", "ADMIN", "WEB3", "IBFT", "NET", "TRACE", "EEA", "PRIV", "QBFT", "PERM", "TXPOOL"]
rpc-http-cors-origins=["*"]
rpc-http-authentication-enabled=false

# GRAPHQL-RPC
graphql-http-enabled=false
graphql-http-host="<IP_ADDRESS>"
graphql-http-port=8547
graphql-http-cors-origins=["*"]

# WebSockets API
rpc-ws-enabled=false
rpc-ws-host="<IP_ADDRESS>"
rpc-ws-port=8546
rpc-ws-api=["DEBUG","ETH", "ADMIN", "WEB3", "IBFT", "NET", "TRACE", "EEA", "PRIV", "QBFT", "PERM", "TXPOOL"]
rpc-ws-authentication-enabled=false

# Metrics
metrics-enabled=true
metrics-host="<IP_ADDRESS>"
metrics-port=9545

# Permissioning
#permissions-nodes-config-file-enabled=true
#permissions-nodes-config-file="/etc/permissions/nodes-allowlist.yml"

Thanks in advance.

CC @matthew1001

@junichi-tanaka does this happen on every attempt to start the node? I happened to hit something similar after you raised this issue, but the 2nd attempt to start the node it started fine. Definitely needs looking in to, just trying to understand the priority.

@matthew1001 Thank you for your comment. I tried to restart three times again. Unfortunately, the same error caused every time.


doc: update airflow README

Remove outdated information. Add note on setting validation_operator_name when using GreatExpectationsOperator.

@collado-mike thanks, I've included more information on how to set up the ValidationAction.


Incrementing values in deep embedded documents does not persist

All started with hunting a bug on mongoid_orderable (https://github.com/pyromaniac/mongoid_orderable/issues/24). Trying to reproduce the steps with a simple update leads me to the conclusion that there must be some trouble with mongoid.
The following test demonstrates the problem:
class Survey
  include Mongoid::Document
  embeds_many :questions
  accepts_nested_attributes_for :questions, reject_if: ->(a){ a[:content].blank? }, allow_destroy: true
end

class Question
  include Mongoid::Document
  field :content
  embedded_in :survey
  embeds_many :answers

  accepts_nested_attributes_for :answers, reject_if: ->(a){ a[:content].blank? }, allow_destroy: true
end

class Answer
  include Mongoid::Document
  embedded_in :question

  field :position, type: Integer
end

spec/mongoid/persistable/incrementable_spec.rb ...
   context "when the document is embedded in another embedded document" do
      shared_examples_for "an incrementable embedded document in another embedded document" do

        it "increments a positive value" do
          expect(second_answer.position).to eq(2)
        end

        it "persists a positive inc" do
          expect(second_answer.reload.position).to eq(2)
        end

        it "clears out dirty changes" do
          expect(second_answer).to_not be_changed
        end
      end

      let(:survey) do
        Survey.create
      end

      let(:question) do
        survey.questions.create(content: 'foo')
      end

      let!(:first_answer) do
        question.answers.create(position: 99)
      end

      let!(:second_answer) do
        question.answers.create(position: 1)
      end

      context "when providing string fields" do

        let!(:inc) do
          second_answer.inc("position" => 1)
        end

        it_behaves_like "an incrementable embedded document in another embedded document"

      end

      context "when providing symbol fields" do

        let!(:inc) do
          second_answer.inc(position: 1)
        end

        it_behaves_like "an incrementable embedded document in another embedded document"
      end
    end

The answer is deeply embedded in survey via question. In the question I create two answers with different positions. Now I would incremente the second answer by one but get the following:
{
    _id: ObjectId("5356359f646863bfe6000000"),
    questions: [
        {
            _id: ObjectId("5356359f646863bfe6010000"),
            content: "foo",
            answers: [
                {
                    _id: ObjectId("5356359f646863bfe6020000"),
                    position: 100
                },
                {
                    _id: ObjectId("5356359f646863bfe6030000"),
                    position: 1
                }
            ]
        }
    ]
}

Obviously it increments the first object from 99 to 100 but it should increment the second object from 1 to 2 as you can see here:
{
    _id: ObjectId("5356359f646863bfe6000000"),
    questions: [
        {
            _id: ObjectId("5356359f646863bfe6010000"),
            content: "foo",
            answers: [
                {
                    _id: ObjectId("5356359f646863bfe6020000"),
                    position: 99
                },
                {
                    _id: ObjectId("5356359f646863bfe6030000"),
                    position: 2
                }
            ]
        }
    ]
}

So I call this a bug. Or is there some limitations I didn’t get?
All is documented as well here: https://github.com/gurix/mongoid/compare/deep_increment

I'm facing the same issue while updating deeply nested item, no matter which item I update its always the last item in the array that gets updated.
mongoid 4.0.1
mongodb 2.6.7
rails 4.2.0

Aja, any chance you could try mongodb 3.0.0-rc8?  3.0 is supposed to be released next month.

Steve is there a jira issue that's fixed you think will help? Mongodb says
that $ is deterministic now, which breaks Mongoid's behavior here.
Sent from my mobile device
On Feb 18, 2015 9:49 AM, "Steve Schlotter"<EMAIL_ADDRESS>wrote:

Aja, any chance you could try mongodb 3.0.0-rc8? 3.0 is supposed to be
released next month.
--
Reply to this email directly or view it on GitHub
https://github.com/mongoid/mongoid/issues/3611#issuecomment-74875494.

Jon, no just wishful thinking... :-)

Sure can will do and upadte.
Ahmad

On Feb 18, 2015, at 5:49 PM, Steve Schlotter<EMAIL_ADDRESS>wrote:
Aja, any chance you could try mongodb 3.0.0-rc8? 3.0 is supposed to be released next month.
—
Reply to this email directly or view it on GitHub.

It looks like mongoid needs to take the MongoDB version into account when writing the query.

@aja / @steveo7 upgrading won't fix it. @ismell is right that Mongoid needs to write the query differently.
See https://jira.mongodb.org/browse/SERVER-14837 and https://jira.mongodb.org/browse/SERVER-16409. That the 2.4 positional update worked was a bug in 2.4 that just so happened to be a feature for Mongoid. The update query needs to be rewritten, upgrading to MongoDB 3.0.x is not going to solve the problem.

Thanks Jon, hopefully someone with the time and talent will pick this up.

+1

+1.  This is a huge issue.

+1

:+1: is there any update on this?  Is downgrading the mongo version the only solution as a mongoid user?

:+1:


Update bots-context.md

fix title. #727

Docs Build status updates of commit 2f22114:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/bots/bots-context.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

This change is already pending, and will be published shortly


Global Default Address Pool support

This change brings global default address pool feature into
libnetwork. Idea is to reuse same code flow and functions that were
implemented for local scope default address pool.
Function InitNetworks carries most of the changes. local scope default
address pool init should always happen only once. But Global scope
default address pool can be initialized multiple times.
Signed-off-by: selansen<EMAIL_ADDRESS>

@thaJeztah @fcrisciani @ctelfer As per our discussion I cleaned up the code along with review comments.
Now we have new API which will be used from swarmkit to set global pool address.

@ctelfer somehow I see your comments are duplicated twice in some cases. Not sure why :)

Ping @ctelfer @fcrisciani @abhi

@selansen yeah, I have been seeing comments duplicated in other PRs as well.  Weird.

@ctelfer @euanh , refactored init code completely as per our discussion.  PTAL.  Once we freeze Libnetwork PR, I can go back to swarmkit and update it.

@ctelfer All set to go. pls let me know if everything looks good to you

LGTM
The defer mutex.Unlock()s before the mutex.Lock()s looks a little weird to me, but it isn't wrong per se.


Securing the API

Brad,
Great work, any best practice for securing access to the API?
Thanks,
Sam

Not particularly. Completely up to you and your business requirements to add any authorization/authentication logic.


Update README.md, fix typo(s)

I really enjoyed using this project, nice work! Caught a couple of typos in the README.md though 😛

已收到


HIVE-25055: Improve the exception handling in HMSHandler

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@vihangk1 could you please take a look when you have a sec?

Hello.  I agree that this section of code needs a lot of help.  However, I think the real issue is that we are throwing these Thrift-exceptions from deep in Hive core code.  I propose that we stop doing that and instead wrap these Thrift exceptions appropriately as they bubble up from Hive-core.  This is effort highlights yet another issue with working with these Thrift exceptions.
Take a look at https://issues.apache.org/jira/browse/HIVE-25126

Hello. I agree that this section of code needs a lot of help. However, I think the real issue is that we are throwing these Thrift-exceptions from deep in Hive core code. I propose that we stop doing that and instead wrap these Thrift exceptions appropriately as they bubble up from Hive-core. This is effort highlights yet another issue with working with these Thrift exceptions.
Take a look at https://issues.apache.org/jira/browse/HIVE-25126

Hey, @belugabehr, thank you for the input. As I can see, remove the Thrift-exceptions from the Hive core is not easy.  There are some external classes that implements the RawStore, for example, the authorizing RawStore, removing the exceptions will make some incompatible, the retrying Metastore client uses the exception to make a decision on retrying the current operation, it's may not easy to transform un-checked Exceptions into Thrift exceptions appropriately(by message?)  and we should move the current throw-if-meet logic deep in hive core to the HMS Handler. What do you think?
Thanks.

Hey @belugabehr,  HIVE-25126 seems need a lot of changes, maybe we should push it step by step to accomplish that,  what do you think?
Thanks.


Adding translation to brazilian portuguese

I added the file pt_BR.json with the translation of the texts to Brazilian Portuguese.
The text has been revised by scholars in Literature, but is still subject to minor changes. In a few days I will be able to submit corrections if necessary.
I hope it helps!!! :)
Sent by https://www.irrd.org/

Hi @MatheusAlvesAlmeida I left several comments on the file.
I am not a native speaker of Brazilian Portuguese, there was someone was already working on this translation that he also submitted at around the same time as you created this PR. Your translations were very similar except for a few subtle differences. The notes are from his translation.
Also, there is a languages.js file in the locales. You need to follow the steps mentioned in the documentation there to add language support. You don't need to do all the steps.
The following is from that documentation.
// Adding/updating a language:
// 1**. Update i18next-parser.config.js** to ensure the xy language is in "locales"
// 2. run: npm run i18n:extract
// 3. All known/new keys will be added into xy.json
//    - any removed keys will be put into xy_old.json, do not commit this file
// 4. Update translations as needed
// 5. REMOVE all empty translations. e.g. "key": "", this will allow fallback to the default: English
// 6. import xyIndex from ./xy.json and add the language to the block at the bottom
You only need to update the i18next-parser and the languages.js file like described above.

hi @MatheusAlvesAlmeida, just wanted to check in, are there any new updates /modifications on this?

Hi @alpita-masurkar , I made the changes, but I'm having trouble accessing the branch I created. I will do another one and submit again.


Support passing a header to the manifest URL in the kubelet.

Needed to support using GCE's v1 metadata API, which requires passing
the header "Metadata-Flavor: Google".
Fixes #11982 and enables #11963 to work.
@brendandburns @roberthbailey @zmerlynn

I'm not too attached to the method of doing this by adding a new flag, but it seemed more general than trying to decide based on parsing the manifest URL.
I don't think that just using the cloud provider is sufficient, since it should be a feasible use case to run on GCE and use an HTTP endpoint other than the metadata server.

LGTM

I assume the Salt changes are going into #11963?

Yeah, the salt changes will go into the other PR once I can rebase onto this.
I also just added a second commit here to quiet the error logging, so please take another quick look.

LGTM

@k8s-bot test this (you flake monster)

Still appears to be a flake, or unrelated at the very least..

@k8s-bot test this please

The shippable failure is completely unrelated, although doesn't look like the sort of thing that's a flake, it looks like bad code may have been merged to master recently?
# github.com/GoogleCloudPlatform/kubernetes/pkg/runtime_test
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/pkg/runtime/conversion_generation_test.go:37: not enough arguments in call to runtime.NewConversionGenerator
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/pkg/runtime/conversion_generation_test.go:50: not enough arguments in call to g.RegisterConversionFunctions
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/pkg/runtime/deep_copy_generation_test.go:36: not enough arguments in call to runtime.NewDeepCopyGenerator
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/pkg/runtime/deep_copy_generation_test.go:50: too many arguments in call to g.WriteImports

@a-robinson #12027

Thanks, this should be good to merge then.

@mikedanese can I get a merge soon? This and #11963, which depends on this, need to get into the 1.0 branch before the next patch is cut.

Thanks!


fix when the invoker experience 404 it throws empty error

Description
Fix when the invoker experience 404 it throws empty error.
    // 2XX -> OK; 3XX -> Redirects and Found
    if (res.status >= 200 && res.status <= 399) {
      return txtParsed;
    }

    // All the others
    else {
      this.logger.debug("Execute response text: %s", txtParsed);
      throw new Error(JSON.stringify({ status: res.status, originError: txtParsed }));
    }

All the  error status handled in one condition.
Issue reference
Please reference the issue this PR will close: #296
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@shubham1172   please review this PR

@shubham1172  @XavierGeerinck  please review the PR

I would use the keys error and error_msg with additional the `status to ensure we don't break the contract. This way we can merge before 3.0.0

I would use the keys error and error_msg with additional the `status to ensure we don't break the contract. This way we can merge before 3.0.0

This is better, @salmankhan-prs can you please incorporate it?

@shubham1172 you want me  to do something like this ?
else {
  this.logger.debug(`Execute response with  status: ${res.status} and text: ${txtParsed}`);
  throw new Error(
    JSON.stringify({
      error: "UNKNOWN",
      error_msg: `An unknown problem occurred and we got the status ${res.status} with response ${JSON.stringify(
        res,
      )}`,
    }),
  );
  }

@salmankhan-prs something like this:
throw new Error(
        JSON.stringify({
          error: "UNKNOWN",
          error_msg: `An unknown problem occured and we got the status ${res.status} with response ${JSON.stringify(
            res,
          )}`,
          status: res.status
        }),
      );

status field is redundant but I am ok with it since we will eventually have a status and an error message.

@shubham1172  I have pushed the changes .please verify it


Fix error in linkRE regular expression literal of markdown mode

The original character class [^\\\[\\]] escapes \\ instead of \] (e.g. it would be the character class [^\\\[] followed by a ] which seems wrong).

I agree that that looked wrong. Merged as 322a80b7


collections.tar.gz cannot be found via dropbox url

I'm trying to download the collections.tar.gz file through dropbox but it seems to be deleted.
wget https://www.dropbox.com/s/m1n2wf80l1lb9j1/collection.tar.gz

encounters an ERROR 404.

Hi @Pie31415 can you show us the landing page this URL comes from? I can't tell whose dropbox account owns this file?

The url from the "Data Prep" of the readme https://github.com/castorini/pygaggle/blob/master/docs/experiments-monot5-gpu.md

@Pie31415 did you find it?

Can get from msmarco directly


Extension Incorrect locale information provided

Type: Bug
The same issue as in #122081, but the given solution does not work for me.

Open Extensions tab in vscode.
Click on any extension.
See the error: "The editor could not be opened due to an unexpected error: Incorrect locale information provided."

VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:47:18.476Z)
OS version: Linux x64 5.15.0-56-generic
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
0, 0, 0

Memory (System)
31.02GB (26.83GB free)

Process Argv
--unity-launch --crash-reporter-id 62359615-f210-4a1a-b485-c01bd7dc0119

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Some questions:

Is this a new issue?
When running the "Configure Runtime Arguments" command, argv.json loads. Is there a locale key set? If there is, what is its value?
What is the output of running the locale command in a terminal?

I am not sure if the issue is new, as I have not tried to install a new extension for a while. I just noticed it today.
No, argv.json file does not contain the word locale.
the output is as follows:

LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="C.UTF-8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="C.UTF-8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=

I was able to repro the issue by setting more language environment variables as C.UTF-8 in /etc/locale.conf on CentOS 7, but that config also prevented my terminal from starting up. I switched to tty2 and noticed that bash couldn't interpret the locale properly, either.

To mitigate the issue, I suggest setting the locale environment variables to something else like en_GB.UTF-8.

For me the same issue appears right after upgrading to 1.74.0 and can be fixed by inserting "locale"="en" in argv.json.

 My locale output
$ locale
LANG=C.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

you are right, running the following command:
sudo localectl set-locale LANG=en_US.UTF-8

and then performing a logout-login resolves the issue.
however, I would rather keep my locale as C.UTF-8 for various reasons, so I am not closing the issue yet.

My locale is set to that and I'm still receiving these errors.

The error I'm seeing

My VSCode version.

My vscode just broke today (on ubuntu) with this error on the plugins screen. I believe all I tried to do was log in to my github account to synchronise. I tried signing out (in case this caused the issue) but I still get this error.  I tried removing and then reinstalling vscode.
Can you please take a look at this asap? Thanks.

Hi, 1.74.1 just got released. Let me know if that fixes this issue.
If it does fix the issue, I will merge this issue to #169114.

On Arch with visual-studio-code-bin (aur) and 1.74.1 fixed it for me.

version 1.74.1 fixed it for me as well.

I can confirm 1.74.1 fixed this issue.

Thanks. Merging to https://github.com/microsoft/vscode/issues/169114


HTTPS certificate issue - can these be ignored?

I've run across a similar issue to https://github.com/stevenvachon/broken-link-checker/issues/58:
$ blc https://colab.aut.ac.nz/
Getting links from: https://colab.aut.ac.nz/
Error: unable to verify the first certificate
I have to use the -k option for curl to work correctly:
$ curl -ik https://colab.aut.ac.nz/
Without this option, curl reports "(60) SSL certificate problem: unable to get local issuer certificate"
(More details here: http://curl.haxx.se/docs/sslcerts.html)
Could a flag be provided so that this certificate failure can be ignored? Loading the page in the browser works fine, so I would like to mimic that rather than be strict about certificates.

Are they ignored in the v0.8.0 branch?:
npm install stevenvachon/broken-link-checker#v0.8.0

Yes, 0.8.0 works :) When do you plan to publish it as the "official" blc?
+ blc https://colab.aut.ac.nz
Getting links from: https://colab.aut.ac.nz/
├───OK─── https://twitter.com/CoLab_AUT
├───OK─── https://www.youtube.com/channel/UCDzXVaZkIGY8b95PseHYyOg
├───OK─── https://www.google.co.nz/maps/place/Colab+AUT/@-36.8537071,174.765765,15z/data=!4m5!3m4!1s0x0:0xca4f8ac55285bd1b!8m2!3d-36.8533638!4d174.7658649
├───OK─── https://colab.aut.ac.nz/wp-content/themes/colab2/images/logo.jpg
├───OK─── https://www.facebook.com/AUTCoLab
├───OK─── https://colab.aut.ac.nz/about/
├───OK─── https://colab.aut.ac.nz/courses/
├───OK─── https://colab.aut.ac.nz/events/
├───OK─── https://colab.aut.ac.nz/research/
├───OK─── https://colab.aut.ac.nz/labs/
├───OK─── https://colab.aut.ac.nz/calls/
├───OK─── https://colab.aut.ac.nz/collaborations/
├───OK─── https://colab.aut.ac.nz/publications/
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/04/Arda.gif
├───OK─── https://colab.aut.ac.nz/events/may-creative-technologists-meetup-performance-lab/
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/01/Colab_BCT_2016_Showcase_MCA-41-674x300.jpg
├───OK─── https://colab.aut.ac.nz/events/colab-open-studio-2017/
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2015/03/Bio_Antonin.bmp
├───OK─── https://colab.aut.ac.nz/collaborations/ataata/
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/05/Charged-e1496015075354-674x300.jpg
├───OK─── https://colab.aut.ac.nz/collaborations/antipodes-futur-en-seine-2017/
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/01/Blacklight_20170119_141612-674x300.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/01/Blacklight_20170119_141612-160x160.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Courses-160x160.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Courses-400x400.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Courses-768x768.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Courses-624x624.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Courses.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/04/Events-160x160.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/04/Events-400x400.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/04/Events-768x768.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/04/Events-624x624.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2017/04/Events.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Research-160x160.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Research-400x400.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Research-768x768.jpg
├───OK─── https://colab.aut.ac.nz/wp-content/uploads/2013/05/Research-624x624.jpg

Soon, I hope.

I think this is a duplicate of #42. Closing.


Ability to edit an item

Add option for editing an item

This enhancement won't be worked on because of time press...


Docs.MS Release Updates for azure-keyvault-keys

Docs.MS Release Updates for azure-keyvault-keys

Docs Build status updates of commit de5f34e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/keyvault-keys-readme.md
:warning:Warning
View (azure-node-latest) View (azure-node-preview) View (azure-node-legacy)
Details

docs-ref-autogen/overview/ManagedPartner.yml
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/keyvault-keys-readme.md

Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/services/key-vault/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples).
Line 44: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/services/key-vault/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples).
Line 44: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/services/key-vault/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples).
Line 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/quick-create-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/quick-create-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/quick-create-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 128: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 128: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 128: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 357: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 357: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 357: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 825: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/javascript).
Line 825: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/javascript).
Line 825: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/javascript).
Line 826: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/typescript).
Line 826: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/typescript).
Line 826: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/typescript).
Line 827: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/test/).
Line 827: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/test/).
Line 827: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/test/).

docs-ref-autogen/overview/ManagedPartner.yml

[Warning-DuplicateUids] Uid(azure.nodejs.sdk.landingpage.services.managedapplications) has already been defined in docs-ref-autogen/overview/ManagedApplications.yml.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

These are the ones we should fix -
Line 825: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/javascript).
Line 825: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/javascript).
Line 825: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/javascript).
Line 826: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/typescript).
Line 826: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/typescript).
Line 826: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/samples/typescript).
Line 827: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/test/).
Line 827: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/test/).
Line 827: [Warning-InvalidFileLink] Invalid file link:(~/docs-ref-services/test/).

Docs Build status updates of commit 0c68400:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/keyvault-keys-readme.md
:warning:Warning
View (azure-node-latest) View (azure-node-preview) View (azure-node-legacy)
Details

docs-ref-services/keyvault-keys-readme.md

Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 20: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-overview' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/services/key-vault/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/services/key-vault/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 44: [Warning-hard-coded-locale] Link 'https://azure.microsoft.com/en-us/services/key-vault/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/quick-create-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/quick-create-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 49: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/quick-create-portal' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 128: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 128: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 128: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 357: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 357: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 357: [Warning-hard-coded-locale] Link 'https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-soft-delete' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@sadasant It's ok if we don't fix the hard-locale links for this release, since we will be fixing these soon for all the repos.

You can merge this @sadasant

Not waiting for pending openpublishing build.


Failed to execute make all

I've exported the following environment variable:
deployer@FAL01:~$ echo $GOROOT
/home/deployer/go
deployer@FAL01:~$ echo $GOPATH
/home/deployer/falcon-plus
deployer@FAL01:~$ which go
/home/deployer/go/bin/go
deployer@FAL01:~$ go version
go version go1.8.1 linux/amd64

Then I switch to the the falcon-plus source code path and execute make all command:
deployer@FAL01:~/falcon-plus/src/github.com/open-falcon/falcon-plus$ pwd
/home/deployer/falcon-plus/src/github.com/open-falcon/falcon-plus
deployer@FAL01:~/falcon-plus/src/github.com/open-falcon/falcon-plus$ make all
govendor sync
Error: Remotes failed for:
	Failed for "golang.org/x/net/context" (failed to ping remote repo): unrecognized import path "golang.org/x/net/context"

make: *** [install] Error 2

I've run the sh fix_gosource_fetch_error.sh shell script. Any help is appreciated.

HI @LoveEachDay, we had put golang.org/x/net/context into vendor folder in latest version
https://github.com/open-falcon/falcon-plus/pull/74
please git pull and try again. :)


Parameter validation for SHA512

Description
This PR introduces the validation of the public API function parameters against NULL pointers.
Status
READY
Requires Backporting
NO
Migrations
Certain functions in the current API take pointers but don't return any result making it impossible to signal an error upon detecting incorrect input. These functions have been marked as deprecated and replacements have been proposed in their place that enable returning error codes in appropriate situations.
Additional comments
None
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

This PR has been superseded by the new method of parameter validation which does not require interface changes, so can be closed.


Unattended install of Docker Desktop (Windows and macOS)

Tell us about your request
There are many situations, but most especially CI test runners, where Docker Desktop needs to be installed unattended. With current versions, that's either impossible or very, very sketchy.
It used to be possible on macOS using the technique in https://github.com/docker/for-mac/issues/2359, but as explained  in https://github.com/docker/for-mac/issues/2359#issuecomment-516945781 it was somewhat randomly blocked by an error check on root installs in <IP_ADDRESS>
Which service(s) is this request for?
Docker Desktop for Mac and Docker Desktop for WIndows. macOS is the place I would immediately use it.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
As above, in a CI environment Docker Desktop needs to be installed... by a script.
Are you currently working around the issue?
Currently using pre-<IP_ADDRESS> version of Docker Desktop for Mac
Additional context
While I'd prefer a great solution (explicit, supported unattended install technique), I'm modestly sure that you could just remove the blocker error check, "Running Docker Desktop as root is dangerous. Please run it as a regular user"

+1 to this feature request, many times over. The lack of an automated install is a serious pain point for using Docker as part of a CI pipeline. This issue should also be fairly easy for the Docker team to fix, while at the same time being basically impossible to work around in a robust way from the outside. As I said in the older issue thread:

Here's a way to get a working copy of the latest Docker Desktop app for Mac installed from the command line:
#!/usr/bin/env bash

# refs:
# https://github.com/MicrosoftDocs/vsts-docs/issues/3784
# https://forums.docker.com/t/docker-for-mac-unattended-installation/27112

brew cask install docker
# allow the app to run without confirmation
xattr -d -r com.apple.quarantine /Applications/Docker.app

# preemptively do docker.app's setup to avoid any gui prompts
sudo /bin/cp /Applications/Docker.app/Contents/Library/LaunchServices/com.docker.vmnetd /Library/PrivilegedHelperTools
sudo /bin/cp /Applications/Docker.app/Contents/Resources/com.docker.vmnetd.plist /Library/LaunchDaemons/
sudo /bin/chmod 544 /Library/PrivilegedHelperTools/com.docker.vmnetd
sudo /bin/chmod 644 /Library/LaunchDaemons/com.docker.vmnetd.plist
sudo /bin/launchctl load /Library/LaunchDaemons/com.docker.vmnetd.plist

and then you can run the app and wait for it to install/set up with this script:
#!/usr/bin/env bash

# refs:
# https://stackoverflow.com/a/35979292/425458

[[ $(uname) == 'Darwin' ]] || { echo "This function only runs on macOS." >&2; exit 2; }

echo "-- Starting Docker.app, if necessary..."

open -g -a Docker.app || exit

# Wait for the server to start up, if applicable.
i=0
while ! docker system info &>/dev/null; do
  (( i++ == 0 )) && printf %s '-- Waiting for Docker to finish starting up...' || printf '.'
  sleep 1
done
(( i )) && printf '\n'

echo "-- Docker is ready."

This is what I needed to do in order to get Docker running during my Mac CI tests (on Azure Pipelines).
My install hack above is completely ridiculous, and there should be a better way. The old way with the cute command line arguments:
/Applications/Docker.app/Contents/MacOS/Docker --quit-after-install --unattended

was so, so much better. Can we please get this back?

You now need a slightly updated version of the above filthy hack in order to successfully install the very latest docker desktop for mac: https://github.com/docker/for-mac/issues/2359#issuecomment-853420567

After updating docker to version 3.4.0, the command open -g -a Docker.app  began to request privileged access: Docker Desktop needs privileged access to install its networking components and links to the Docker apps.
@telamonian, did you find a way to get around this?

Any update to this? Being able to default to Windows Containers automatically during install would be appreciated for automated rollouts. Default behavior is that it is spinning up Hyper-V VMs on consumer laptops...

Good morning. Is there any ETA in implementing what I described in https://github.com/docker/roadmap/issues/187 ?

Can you please implement --windows-containers a flag to the installer. I see there is also --settings parameter but I don't know how to use it to switch to windows containers.
Would like to avoid the warning message to install WSL2.

+1
"Can you please implement --windows-containers a flag to the installer. I see there is also --settings parameter but I don't know how to use it to switch to windows containers.
Would like to avoid the warning message to install WSL2."

Can anyone point me to the docker installer code? I assume some of these items are easier to add but it may require some plumbing through to the engine or they just require setting some config file I assume that isn't much work.

Colima works with macOS CI and you don't have this problem (and there are not license problems). https://github.com/abiosoft/colima

This seems to have been addressed in docker for mac 4.7.0,  https://docs.docker.com/desktop/mac/install/#install-from-the-command-line

As @rfay says, this is mostly fixed in 4.7.0. We don't have a switch for Windows containers yet.

+1 for the --windows-containers flag on installation.
I am currently using the SwitchDaemon method after install, but without idempotence this method is unreliable, especially when unattended installation scripts might run more than once


what happened to webpack?

Moved from https://github.com/aspnet/Docs/issues/7697. Originally opened by @mhamri.

in the new angular template there is no trace of webpack, what happened, also the doc doesn't cover anything about it

@SteveSandersonMS - can you share thoughts on this?

https://github.com/aspnet/JavaScriptServices/issues/1633

Indeed, it looks like https://github.com/aspnet/JavaScriptServices/issues/1633#issuecomment-389873675 has the answer. Thanks @raky291 !


fix: update migration msg, ddb import e2e, lgtm errors

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

where are we fixing the dynamodb import e2e here?

where are we fixing the dynamodb import e2e here?

https://github.com/aws-amplify/amplify-cli/pull/8796/files#diff-18ad01dd411538f04ec120914ef57aa8b14a0c27883e730a59d9ebfe86a8012dL6


Installing Lean on Ubuntu.

Hi there,
I tried installing Lean on the latest version of Ubuntu with the help of https://xenaproject.wordpress.com/2017/12/02/how-to-install-mathlib-and-keep-it-up-to-date/. However when I try the last step in the command line to check the version of Lean that I have I get the error message: Lean: command not found. Can anyone think of something that might have gone wrong?
Thanks,
Anas

You need to fix your path variable.


ComsWasm integration

Description
This PR integrate the CosmWasm go module and the possibility to handle custom queries from the contract to the
desmos chain.
Closes #115.
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Wrote unit tests.
[ ] Wrote integration tests (simulation & CLI).
[ ] Updated the documentation.
[ ] Added an entry to the CHANGELOG.md file.
[ ] Re-reviewed Files changed in the Github PR explorer.

Sims test will be solved once v0.16.0 of wasmd is out, which includes my contribution to solve them.
ARM/ARM64 support is tracked by this: https://github.com/CosmWasm/wasmvm/issues/53


Tweaks to the random trashspawner

Tones down the spawn rate a bit for both trash types.  You can merge this now.


Add Config To Silently Fail On Missing AKV Secrets

Describe the solution you'd like
When the CSI driver is unable to locate a secret (due to it being deleted or disabled), silently fail (with warning log) instead of blocking pod startup.
Anything else you would like to add:
We would prefer to fail in runtime than on startup. We had an issue where we deleted an unused secret from our key vault and it impacted our production services. Ideally, we wouldn't have had any impact here, since the secret was not required.

Duplicate of https://github.com/kubernetes-sigs/secrets-store-csi-driver/issues/567


text overlay controlled by author

Fix #184
🔗 Test URLs:

Before: https://main--caesars--hlxsites.hlx.page/caesars-palace/drafts/amol/hells-kitchen
After: https://issue-184-text-overlay--caesars--hlxsites.hlx.page/caesars-palace/drafts/amol/hells-kitchen

📝 Description:
Used to be automated. Caesars wants to control whether the text is on the left or right based on author input which will be in a separate column called 'Text Overlay' and they add the word 'Right' or 'right' to the cell and it will push the content right and if empty then it will default the content to the left.

Node/reminder: /caesars-palace/things-to-do/garden-of-the-gods-pool-oasis will need it too.


Python recurring coffee invite + readme

PR Acceptance Criteria
Guidelines

[x] PR follows the Contributing guidelines?
[x] PR Adheres to our Code of Conduct?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Ensure you are assigned the issue before creating a PR.
[x] Only one issue per PR is allowed. This simplifies the code review.

Code complete

[x] A README.md available describing 1) how to setup, 2) how to test the code and 3) the expected output? Here is an example.
[x] The code sample in the correct location (i.e. code-sample/email/node/read-email)?
[x] Link added to the repository readme (view # Code Snippets created by the Nylas Community with examples) describing what the code sample does for others to try out
[x] The code can be run using Github Codespaces, so the maintainer can try out the code sample remotely to ensure everything is working before we accept the PR.

For Maintainer Use Only (does not apply to PR Author)

[ ] Purpose of code sample is clear
[ ] The code sample is readable
[ ] Steps try out the code are provided
[ ] Code sample runs on codespaces environment
[ ] Code works as expected
[ ] PR label hacktoberfest-accepted added

Hi @relaxedtomato @atejada raised the PR for #70.
Kindly review and let me know if any changes required.
PFA : Screenshot of the recipient invite for the recurring email.


Custom Odoo Add-ons

Hi:
How would I integrate a custom Odoo add-ons directory into this configuration?
Cheers, Dave

@gridworkz  i believe you can do that with configmaps, but i'm not sure to be honest.
i could explore that at some point if you haven't already figured it out by yourself and are still interested.

oh, and, alternatively, the simpler approach would be to bake it inside the Docker image that is used for the build. Or build your own on top of the original base image with the added directory.

Hi:
Thanks for the ideas. Let me give this some thought. The way it's done
without Docker is the custom addons directory resides on an NFS configured
drive then all the Odoo instances can access it via NFS mount initiated
upon startup. This way, any new addons are added in one place and
automatically available to the nodes (without having to install the new
addon on each Odoo instance).
Cheers,
Dave
On Tue, Jun 19, 2018 at 8:01 AM, Palade Ionuț-Victor <
<EMAIL_ADDRESS>wrote:

oh, and, alternatively, the simpler approach would be to bake it inside
the Docker image https://github.com/cloudflavor/odoo-docker that is
used for the build. Or build your own on top of the original base image
with the added directory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudflavor/odoo-k8s/issues/3#issuecomment-398374238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASt2yPq5pd83ukBtt7WMW0dDUtY9FCkKks5t-OgXgaJpZM4UhXjq
.


(docs):Add CLIP image embedding example

In this PR, I add a guide that lets you use Roboflow Inference to calculate CLIP embeddings for use in LanceDB. This post was reviewed by @AyushExel.

I have made the requested change!


Duplicated twitch embed

Hi, first of all, good job for this good package, well done !
But I just have a little bug, the player is duplicated and I have 2 player of the same channel.
I'm on windows 10 and using :

Chrome 81.0.4044.138 (Build officiel) (64 bits)
React 16.13.1
React twitch 2.0.2

@alimtunc thanks for filing an issue, can you provide any example code you have?

@talk2MeGooseman I've just used the basic usage you show in th readme file, the component with a channel name

Hi, do you have any update on this @talk2MeGooseman please ?

I haven’t been able to replicate the problem unfortunately. I was testing
before doing the new release update. Unless you can link me to code you
have on github I won’t be able to debug it.
On Thu, May 21, 2020 at 5:00 PM tunc_a<EMAIL_ADDRESS>wrote:

Hi, do you have any update on this @talk2MeGooseman
https://github.com/talk2MeGooseman please ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/talk2MeGooseman/react-twitch-embed-video/issues/151#issuecomment-632405069,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJF4BUMHIKFFY5TX5LYR53RSW6AVANCNFSM4M5N2CXQ
.

--

Erik Guzman

I've juste invited you to my temp repository to take a look @talk2MeGooseman and see if you can reproduce it.

Hi @talk2MeGooseman, did you get my invite ? :)

It do the same for me, but randomly, I dont know how to reproduce.

I am hoping version 2.0.4 the solved the re-render will help resolve this issue. I will keep this issue open just in case it comes up again.

I am still experiencing this issue after updating to the latest release


How can I compute the inverse of the Matrix?

I'm interested in understanding how to implement matrix inversion （Matrix） using existing libraries. Could you provide some ideas and references?

Please ask this question in the OpenFHE discourse forum: https://openfhe.discourse.group/


Error: EPERM: operation not permitted, mkdir 'C:\Users{{user_name}}' Please open the output channel for details.

🐛 Bug Report
Error: EPERM: operation not permitted, mkdir 'C:\Users\bl94b' Please open the output channel for details.
To Reproduce
once installed the extension, click on "code now" button
Extension Output
v18.14.1
Active  Name               Version         Desc
√     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
√     company            2017.12.18      Plugin to query by company for free user.
√     cache              default         Plugin to provide local cache.
√     retry              default         Plugin to retry last failed request if autologin.enable is on.
×     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
√     leetcode           default         Plugin to talk with leetcode APIs.
(node:12456) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Active  Name               Version         Desc
√     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
√     company            2017.12.18      Plugin to query by company for free user.
√     cache              default         Plugin to provide local cache.
√     retry              default         Plugin to retry last failed request if autologin.enable is on.
×     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
√     leetcode           default         Plugin to talk with leetcode APIs.
(node:6068) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Active  Name               Version         Desc
√     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
√     company            2017.12.18      Plugin to query by company for free user.
√     cache              default         Plugin to provide local cache.
√     retry              default         Plugin to retry last failed request if autologin.enable is on.
√     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
√     leetcode           default         Plugin to talk with leetcode APIs.
(node:24504) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Active  Name               Version         Desc
√     solution.discuss   2019.02.03      Plugin to fetch most voted solution in discussions.
√     company            2017.12.18      Plugin to query by company for free user.
√     cache              default         Plugin to provide local cache.
√     retry              default         Plugin to retry last failed request if autologin.enable is on.
×     leetcode.cn        2018.11.25      Plugin to talk with leetcode-cn APIs.
√     leetcode           default         Plugin to talk with leetcode APIs.
(node:8336) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.
Your Environment

os: windows 10
extension settings:
nodejs version: v18.14.1
vscode version: 1.69.2
extension version: v0.18.1

i have the same problem