Modify ConfigurationBuilder.GetBasePath() does not return an absolute path on Mono

Fixes #336

cc @divega \ @davidfowl

Overall it seem a bit weird that we don't setup APP_CONTEXT_BASE_DIRECTORY correctly going in instead of compensating here, but assuming that is harder or not possible, :shipit:

Might be worth using PlatformAbstractions in here and fixing it in there https://github.com/aspnet/PlatformAbstractions/blob/dev/src/Microsoft.Extensions.PlatformAbstractions/DefaultApplicationEnvironment.cs#L17

@davidfowl we can't produce a PlatformAbstractions package that targets netcore50. The application compiles but EF wouldn't be able to use it in UAP applications. I'm going to leave this PR as is.

@pranavkm even if taking a dependency on PlatformAbstractions here isn't possible, shouldn't DefaultApplicationEnvironment.ApplicationBasePath be fixed to expand the "." on Mono?

Yes it needs to be fixed in the same way :smile:

Sure, I'll re-send my PR to PlatformAbstractions.

Reopened https://github.com/aspnet/PlatformAbstractions/pull/11


updating timezone if changed

Title: Updating Timezone in Session if Changed
This pull request introduces a small yet crucial update in the edit_user_post function within the users.py file. The change ensures that if a user's timezone has been updated, this new timezone is also reflected in the current session's data.
Previously, changes to a user's timezone would update the database but not the session, potentially leading to inconsistencies during the user's session. By adding a check to update the session's timezone when it differs from the one stored in the database, we ensure that the user experience remains consistent and accurate throughout the session.
This improvement enhances the robustness and user-friendliness of the application by keeping session information in sync with the database state.

closes #18


Clarification on "Line Of Business" update

Line-of-business add-in: If an admin explicitly uploaded a manifest file when implementing Centralized Deployment via the Microsoft 365 admin center, the admin must upload a new manifest file that contains the desired changes. After the updated manifest file has been uploaded, the next time the relevant Office applications start, the add-in will update.

We can either manually upload an xml file (browse), or we can specify a url. Is the above also true when we specified a url? That is, is selecting a manifest url instead of a file also considered "upload"?
Thanks!

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

ID: 41508035-2045-1706-9917-cd2da1e99cc7
Version Independent ID: ea51ce32-18e2-68ed-ddc5-74f0d3d8a3d1
Content: Publish Office Add-ins using Centralized Deployment via the Microsoft 365 admin center - Office Add-ins
Content Source: docs/publish/centralized-deployment.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

@nikki9696 Thanks for asking about this. We'll respond with an answer soon.
Thanks.

@nikki9696 I've confirmed with the team that you can also point to the URL of the manifest file to update the add-in. I'll work on clarifying this in the article.
Thanks.

@nikki9696 Do take a look at the linked PR to see if that helps clarify this for you.
Thanks.


Is there a way to scroll popovers in a scrollable div?

Hi! Thanks for the great library!
I have a question about the popovers. I am using them in a scrollable chat window (which isn't the body). When I scroll the chat div, the popovers don't scroll along (because they are appended to the body). Is there a way to append them to the pop-over a-tag or parent div? I've noticed that the tool-tips have a "mac-tooltip-inside" method. Is there something similar for the popovers? Or do I overlook something?

Hi @DirkAmmerlaan,
Any chance you can provide an example on either jsbin, plunker or any other side you prefer?

Hi @adrianlee44,
I've created a JSFiddle to show what I am trying to achieve: https://jsfiddle.net/e5hb5d9n/
(sorry for the extremely ugly implementation, but I hope it gives you an impression about what I am trying to do).
Thanks!

Hi @DirkAmmerlaan,
Thanks for the JSFiddle. It's very helpful. Unfortunately, there is currently no option to change where the popover gets appended to. This is definitely a feature that can be added to popover in the next release.
I have opened another issue (#30) regarding to this enhancement.
I would suggest hacking around this limitation by auto hiding the popover on scroll for now.
Thanks!

@adrianlee44 Thanks for looking into the issue and your work-around suggestion.
I am looking forward to the next release!


Fix opening PDFs when double-tap to show details is enabled

Having Double-Tap Message for Details turned on makes this even more of a challenge
https://user-images.githubusercontent.com/53708281/108916087-c5c20500-75fb-11eb-8ce6-26b616d88bdb.mp4
https://docdro.id/Vh1evLl
^ PDF in question

I can't replicate this. Is this still an issue?

I can't replicate this. Is this still an issue?

I found out what the problem was. In the center, there is a square with the letters "PDF" on it, and if I tap that icon, then the file will open without any issues. Can this ticket be turned into a feature request to also have the file open if you tap anywhere in the gray box?

yezzir

Fixed.


Surface national Get Into Teaching events on no results

Trello card
Trello-3736
Context

Display upcoming national GiT events on no results view

When a candidate has performed a search and there are no results we want to surface the national Get Into Teaching events as a potential point of interest for them.
Changes proposed in this pull request

Display upcoming national GiT events on no results view

Memoize the TeachingEvent::Search#results so that we can check for empty and query national GiT events without triggering a further API call.
Add national GiT events to no results page and tidy up the CSS/HTML a bit.
Guidance to review

This looks good on initial review @ethax-ross - I've tested a few different scenarios
What happens:

when the National event closes to registrations if it reaches capacity early
once the event date has passed

@EllieNodder @gazcarr tagging you in to see what you think as well (including whether the heading makes sense)

This looks good on initial review @ethax-ross - I've tested a few different scenarios
What happens:

when the National event closes to registrations if it reaches capacity early
once the event date has passed

@EllieNodder @gazcarr tagging you in to see what you think as well (including whether the heading makes sense)

Looks good to me.
Once the event date has passed, presuming we just remove it and put the old bullet points back in? And the same if it reaches capacity? Or could we surface the nearest provider event (is that possible/a lot of work?)

When the event reaches

This looks good on initial review @ethax-ross - I've tested a few different scenarios
What happens:

when the National event closes to registrations if it reaches capacity early
once the event date has passed

@EllieNodder @gazcarr tagging you in to see what you think as well (including whether the heading makes sense)

Looks good to me.
Once the event date has passed, presuming we just remove it and put the old bullet points back in? And the same if it reaches capacity? Or could we surface the nearest provider event (is that possible/a lot of work?)

I think we should just remove it if it reaches capacity or the date is passed - is that what happens @ethax-ross ?
I don't think we should serve anything else

@EllieNodder @gazcarr @gemmadallmandfe that's right; we display the upcoming national GiT events but when there are none in the future we will hide that section


raftstore: collect statistics of buckets

Signed-off-by: 5kbpers<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Ref #11718
What's Changed:

Collect read/write flow of buckets.

Check List
Tests

Unit test
Integration test

Side effects

Performance regression

Consumes more CPU

Release note
None

cc @tonyxuqqi @bufferflies

LGTM

/merge

/test

/test


fix: https://github.com/guybedford/cjs-module-lexer/issues/64

Thanks @zhoukekestar it's just a lot of work to review, release, and get the backport approvals through Node.js at this point to get this update through. It would be possible though so I don't want to block work here either. Would you be interested in taking over maintenance of this project?

Awesome project, and thanks for your TRUST. But I'm very beginner for this project ( WebAssembly or its tools too) and can't deal so many details in this project. Due to your detailed Unit Test, the PR can be added.
But I'd also want to offer some help that I can do.
By the way, I'm building our internal ga.jspm.io, this project helps a lot 😀.


Remaining TransactionFailureReason questions

Questions for Philipp

[ ] Which error is used if an Anchor modifies fields with the wrong transition type?
[ ] Which error is used if Anchor state index is decreasing?
[ ] Is TypeInvalid about the signed transaction payload type?
[ ] What exactly is Conflicting?
[ ] CommitmentInputMissing should be syntactic?
[ ] NativeTokenAmountLessThanZero and NativeTokenSumExceedsUint256 could be combined like ManaOverflow? Or what is it describing?
[ ] Which error is used if the account ID of an account transitioned from an implicit account is null?
[ ] Which error is used if an account transitioned from an implicit account is not a block issuer?
[ ] Should ChainOutputImmutableFeaturesChanged be used for other immutable fields that are not features? Like a Foundry's serial number, maximum supply, ... for example.
[ ] What error should be used if minted tokens or melted tokens decrease in a transition?
[ ] What error should be used for NativeToken count > 64?
[ ] Would it be possible to have an amount overflow error like the mana one? Could happen with private tangle configurations.
[ ] What error should be used on invalid unlock method? Like a Signature for an AccountAddress?
[ ] What error should be used if an NFT/Account/Anchor unlock point to a different but same type NFT/Account/Anchor?
[ ] Self::DelegationStartEpochInvalid => write!(f, "invalid start epoch."), should this mention delegation? Staking also has a start epoch field

Remaining tasks

[ ] Handle InputCreationAfterTxCreation

Which error is used if an Anchor modifies fields with the wrong transition type?

The now introduced TxFailureAnchorInvalidStateTransition and TxFailureAnchorInvalidGovernanceTransition respectively.

Which error is used if Anchor state index is decreasing?

TxFailureAnchorInvalidStateTransition

Is TypeInvalid about the signed transaction payload type?

It's currently returned for both invalid SignedTransaction or Transaction payload types. It's used in iota-core when we cannot downcast an interface to the expected type. Although I now think that this is much more akin to an internal error than something that we need to have in the TX Failure Reasons, since an incorrect payload type would never get past the syntactic check. So I'll remove TxFailureTypeInvalid.

What exactly is Conflicting?

It means that some TX A was conflicting with one or more other transactions and that A was the one that was rejected.

CommitmentInputMissing should be syntactic?

True, I removed it from the mapping.

NativeTokenAmountLessThanZero and NativeTokenSumExceedsUint256 could be combined like ManaOverflow? Or what is it describing?

Removed NativeTokenAmountLessThanEqualZero. It's only returned from syntactic checks (when native token value is 0 or when the sign of the big.Int is negative, which should not even be possible to occur since the serialization is uint256). I think it was there before and I didn't check if it was actually returned in the VM.
Also removed NativeTokenSumExceedsUint256 since it is also only returned from syntactic checks.

Which error is used if the account ID of an account transitioned from an implicit account is null?

That would be ImplicitAccountDestructionDisallowed since the VM would detect that as "implicit account on the input side with no corresponding account output on the output side".

Which error is used if an account transitioned from an implicit account is not a block issuer?

That would be BlockIssuerNotExpired since the implicit account's implicit Block Issuer Feature has an Expiry Slot set to u32::MAX (TIP-42) and therefore removing it in current slot would be an attempt to remove an unexpired block issuer feature.

Should ChainOutputImmutableFeaturesChanged be used for other immutable fields that are not features? Like a Foundry's serial number, maximum supply, ... for example.

I imagine debugging a ImmutableFeaturesChanged error is still easier than ImmutableFieldChanged since the latter could refer to a lot more error cases. So I would personally stick with the current approach if you're fine with it.

What error should be used if minted tokens or melted tokens decrease in a transition?

Thanks for bringing that up. I missed that part during the refactoring. I now did that and introduced ErrSimpleTokenSchemeMintedMeltedTokenDecrease for the case you're referring to.

What error should be used for NativeToken count > 64?

We only allow one Native Token in each Native Token Feature, so I'm not sure what you're referring to.

Would it be possible to have an amount overflow error like the mana one? Could happen with private tangle configurations.

I don't see how that could happen thanks to this syntactic rule in TIP-45:

The sum of all Amount fields must not exceed Token Supply.

What error should be used on invalid unlock method? Like a Signature for an AccountAddress?

For example, when unlocking a chain output with a signature unlock you can use ErrInvalidChainAddressUnlock. When unlocking a direct unlockable address (like an Ed25519 Address or Implicit Account Creation Address) then you can use ErrInvalidDirectUnlockableAddressUnlock.

What error should be used if an NFT/Account/Anchor unlock point to a different but same type NFT/Account/Anchor?

"different but same" Not sure I understand what you mean exactly.
But the errors for mismatched unlocks are the ones from the question above. The error message itself would specify the concrete mismatched errors but creating dedicated errors for each possible combination is too much, imho.

Self::DelegationStartEpochInvalid => write!(f, "invalid start epoch."), should this mention delegation? Staking also has a start epoch field

I expanded it to delegation output has invalid start epoch, but in our case it would end up as a "joined" error from ErrDelegationTransitionInvalid and ErrDelegationStartEpochInvalid which would be printed as invalid delegation output transition: [delegation output has] invalid start epoch which would already have the necessary context to make it clear that it's about delegation outputs.
Changes are here: https://github.com/iotaledger/iota.go/pull/685.
Thanks for raising those issues!

Closed by https://github.com/iotaledger/iota-sdk/pull/1997


Bug/mocked window issue

Ran into an issue where mocking global.window can interfere with other libraries. Many libs check for the presence of window and if it exists, they assume that other properties like location will be available too. These libraries should probably do more rigorous null checking but we can't control that unfortunately.
Concrete example:

While trying to use the nock library in some core-js tests, the sinon library was throwing some NPE's from here: https://github.com/sinonjs/sinon/blob/v1.17.6/lib/sinon/util/fake_server.js#L38

@tfennelly

The specs for this pass... unfortunately since so many libs depend on js-storage I can't easily update all of the deps to do a full test in the browser. (publishing a beta version of this library seems to cause js-extensions eventually to choke on the peerDep: ^0.0.6, presumably since beta versions won't satisfy the semver requirement?)

@cliffmeyers as a test, it might be worth updating @jenkins-cd/logging and testing it in blue ocean?

Also requires a republish of sse-gateway, possibly others... failing due to peerDep violations :/ I was going to do it, after the third library I updated I complained I decided to hit the pause button.

👍 / 🐝 etc


Merge clinvar fix

Issue: https://github.com/broadinstitute/gnomad-browser/issues/1046

Replaced by PR #3


Runelite crashes when entering Kephri's puzzle room in TOA

Type
Crash or hang
Operating System
Windows
OS Version
Windows 10, build 19044.1826
Bug description
Runelite hangs/crashes when entering Kephri's puzzle room in TOA.
No TOA plugins are installed, quest helper and all associated fight cave plugins have either been disabled/uninstalled
Path taken in TOA
Ba Ba > Croc > Ahhka > Kephri
Also have attempted
Ba Ba > Kephri
Kephri
Every time I get to Kephri, and enter the puzzle room, the client hangs, and I have to go into task manager to kill the process/task
Screenshots or videos
No response
RuneLite version
Runelite: <IP_ADDRESS>
Launcher 2.4.5
Logs
client.log
launcher.log

Since this issue was opened, we've made a number of changes which should reduce the amount of memory the client in general uses, which should address this issue. Let us know if it is still a problem for you.
For some more information, you can read the blog post we published on it here: https://runelite.net/blog/show/2022-09-04-recent-performance-regressions-and-tombs-of-amascut


AsyncKeyedLock: Rename folder and add link to the original source code.

Description
Resolves: https://github.com/MudBlazor/MudBlazor/pull/8210#issuecomment-1985448480
Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.

@MarkCiliaVincenti is everything correct?

Posting this as informational; we're seeing these Exceptions in our Log Analytics events:


Time notation in Reporting:Traffic and Dashboard traffic widget always 12-hours

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x]  I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I am convinced that mine is new.

Describe the bug
Time notation in Reporting:Traffic and Dashboard traffic widget always is 12-hours, so am-pm, not 24-hours notation
To Reproduce
Steps to reproduce the behavior:

Go to 'Reporting: Traffic'
View time notation below graph
Or see the traffic widget in Dashboard

Expected behavior
The time zone on my OPNsense instance is Europe/Amsterdam
The time notation in other gui areas is 24-hours. Only in the traffic graphs the notation is English so 12-hours and am-pm.
Software version used and hardware type if relevant, e.g.:
OPNsense 21.1.3-amd64
Minor detail, so no hurry, keep up your good work ;-)

https://github.com/opnsense/core/commit/3d3810b42d1664087594ecc8fadc43568056220c should fix the 24hour format, which is indeed the default in other sections as well. For some reason it doesn't appear to be very trivial to change this in chart.js, a generic change to change the format for all cases where data is formatted would be practical.


⚠ Turnos 24x7 has degraded performance

In 244d676, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 865 ms

Resolved: Turnos 24x7 performance has improved in 85c3091.


[Bug]: Found towhee's exception handling case reporting an error“Incorrect operator format.”

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
>>> import towhee
>>> from towhee.functional import DataCollection
>>> dc = DataCollection.range(5)
>>> (
...     dc.map(lambda x: x+1)
...       .map(lambda x: x*2)
...       .to_list()
... )
[2, 4, 6, 8, 10]
>>> dc.set_parallel(num_worker=5) \
...     .load_image() \
...     .towhee.resnet_model(model_name='resnet50')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/hparam/hyperparameter.py", line 205, in __call__
    return self._callback(self._path, self._index, *args, **kwds)
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/functional/data_collection.py", line 652, in wrapper
    return self.map(op)
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/functional/data_collection.py", line 26, in wrapper
    return self.factory(func(self, *arg, **kws))
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/functional/data_collection.py", line 377, in map
    if hasattr(unary_op, 'is_stateful') and unary_op.is_stateful:
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/engine/factory.py", line 109, in is_stateful
    self._op = op(self._name, self._tag, **self._kws)
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/engine/factory.py", line 45, in op
    op_obj = loader.load_operator(operator_src, kwargs, tag)
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/engine/operator_loader.py", line 142, in load_operator
    op = factory(function, args, tag)
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/engine/operator_loader.py", line 113, in load_operator_from_cache
    path = fm.get_operator(operator=function, tag=tag)
  File "/Users/jingjing/miniconda3/envs/tw/lib/python3.9/site-packages/towhee/hub/file_manager.py", line 416, in get_operator
    raise ValueError('''Incorrect operator format, should be '<author>/<operator_repo>'.''')
ValueError: Incorrect operator format, should be '<author>/<operator_repo>'.

Expected Behavior
No response
Steps To Reproduce
No response
Environment
- Towhee version(e.g. v0.1.3 or 8b23a93):0.5.1.dev82
- OS(Ubuntu or CentOS):macos
- CPU/Memory:
- GPU:
- Others:

Anything else?
No response

The operator is removed and the document will update to the latest version when the new operator is ready.
An error message is added to improve the user experience.


sensor: fxos8700: add forgot int2 defines to dts_fixup.h

The last commit #14242  changes FXOS8700 to use new DT defines in its
dts_fixup.h, and the build was also succeeded after it. But
DT_NXP_FXOS8700_0_INT2_GPIOS_CONTROLLER and
DT_NXP_FXOS8700_0_INT2_GPIOS_PIN were missed so the build_all project
is still failing.
Signed-off-by: Song Qiang<EMAIL_ADDRESS>

Hi @galak , the last time I fix this problem in #14242 I didn't use sensors_a_h.conf and sensors_trigger_a_h.conf as configuration file but enabled the driver of fxos8700 manually. So I missed two defines, which are being added in this commit.

Codecov Report

Merging #14781 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #14781   +/-   ##
=======================================
  Coverage   52.51%   52.51%
=======================================
  Files         309      309
  Lines       45048    45048
  Branches    10419    10419
=======================================
  Hits        23656    23656
  Misses      16584    16584
  Partials     4808     4808

Continue to review full report at Codecov.

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


WIP: Debug larger models

This is WIP and does not solve #9 yet.
I found out that it's a floating point underflow/overflow issue and clamping makes it run without assertion failure, but no luck in useful embeddings. It somehow explodes to clamping min and max vals, I need to work more on this.

tiny update. found out that the NaN issue effects the vision tower, not the text tower. it might have something to do with smaller patch size, leading to much longer sequence length. continuing to debug this.

Found out that first NaN values appear in the output tensor of the 2D convolution operation, and then it propogates through all the calculations because the result of any operation with NaN is also NaN.
In this case, I'll need to debug Conv2D operation in GGML.

Found out that the NaN issue is due to the rounding up of the convolution range to the order of 32 for SIMD performance. With patch_size = 32 and patch_size = 16, this is not an issue because
(kernel_size * kernel_size * num_channels) % 32 = 0. However, for patch_size = 14,
const ew0 = ggml_up32(nk0 * nk1 * ne02);

yields 608, which should have been 588 without roundup. The NaN value comes into being ın the first padding slot. I varified that it works without this roundup. I need to think through it and make a PR in the upstream GGML tomorrow.


✨ Hide Interface

Description
Provide an option to hide the interface similar to Sketch.
It would be in View → Hide Interface ("Show Interface" if hidden) and the keyboard shortcut might be ⌘ ..
If the interface is hidden...

the toolbar would shrink (removing all toolbar items and title will be the current active file)
the navigator and inspector sidebars will hide
the status bar will hide (floating line and character position indicator will appear at the bottom right)
the utility area drawer will hide
in the View menu

"Hide Interface" will become "Show Interface"
"Hide Navigator Area" will become "Show Navigator Area"
"Hide Inspector Area" will become "Show Inspector Area"
"Hide Utility Area" will become "Show Utility Area"
"Hide Path Bar" will become "Show Path Bar"
"Hide Tab Bar" will become "Show Tab Bar"
"Hide Status Bar" will become "Show Status Bar"

If showing any UI element while hiding interface, hide Interface will continue to be enabled while the element is shown. When showing interface and hiding again, everything will be hidden again. The user would need to show all elements before hide interface would be disabled.

[!NOTE]
Toggling this will only apply to the workspace in focus

Alternatives Considered
This might be a good way to handle single file mode by enabling hide interface by default when single files are open.
Additional Context
Xcode does this when opening a single file...
https://github.com/CodeEditApp/CodeEdit/assets/806104/3a1f8b68-b5b6-428b-8e58-cd651d2a0085
Screenshots
Sketch
https://github.com/CodeEditApp/CodeEdit/assets/806104/f3b76fc9-4f7d-465a-8317-873106272156
Blocked By

#1633
#1696
#1639

Hi,
Sure I can assign it to you. Although this is market "Good first issue", I personally think it does require quite some know how about Swift and macOS API's. But you're always free to try it.
But I recommend joining our Discord and join our weekly meetings so you can share your progress

Please note, I've added a "Blocked By" section to the issue description. We may want to look at those so we can hide/show everything mentioned above.

@siemvanoers Are you still working on this?

Hi @FastestMolasses
Can I be assigned to this?
I'm new to Swift but I enjoy hands on experince, and a community building somthing important.

Sure!

Thanks!
Joining Discord now.

@Devdre1909 Is this being worked on?

Can i work on it?

@nis-ship-it sure! I just assigned this to you.


[Event Request] codeunit 7021 "Purchase Line - Price" - OnAfterIsDiscountAllowed

Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnAfterIsDiscountAllowed' to be added to procedure 'IsDiscountAllowed' in codeunit 7021 "Purchase Line - Price".
    procedure IsDiscountAllowed() Result: Boolean;
    begin
        Result := DiscountIsAllowed or not PriceCalculated;
        OnAfterIsDiscountAllowed(PurchaseLine, PriceCalculated, Result); //**4PS>MS.n
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterIsDiscountAllowed(PurchaseLine: Record "Purchase Line"; PriceCalculated: Boolean; var Result: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 53020.


Deployment stuck in "Waiting for rollout to finish: 1 old replicas are pending termination..."

Output of helm version:
2.8.0 both on client and server
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T09:14:02Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"7+", GitVersion:"v1.7.4-2+75b9e2369d08cb", GitCommit:"75b9e2369d08cbee827ba177cc972b0ad58b0910", GitTreeState:"clean", BuildDate:"2018-02-23T08:08:44Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
IBM Cloud
What has happened: I ran a helm upgrade  with a chart containing invalid image tags. I cancelled the upgrade  midway which resulted in one of the deployment (I'm referring to the Kubernetes deployment now) ending up in a broken state where  the "New Replica Set" is in showing red (image cannot be pulled) state while the "Old Replica Set" set is running fine.

Running kubectl rollout status deployment/<deploymentName> gives me Waiting for rollout to finish: 1 old replicas are pending termination...
What was tried

helm rollback <deployment> 7
Where 7 was the number of the last successful helm upgrade operation

helm upgrade --install --force --wait ....
We tried upgrading again in the hopes helm will cleanup the stuck deployment, no luck

Question
How can I get the deployment unstuck without breaking Helm's ability to upgrade the deployment in the future? I could edit the Kubernetes deployment with kubectl edit and point to the correct image but I believe that will prevent our Helm charts working after that.
Thank you.

Thanks @bacongobbler 2.8.2 did the trick for us. This is what we did:

updated to 2.8.2
run a helm upgrade - FAILED
did a rollback to the previous deployed revision ( one of the 7 revisions marked as DEPLOYED)

Once the rollback was finished all the previous DEPLOYED revisions were marked as SUPERSEEDED so no manual intervention was required.


DBCC MEMORY STATUS

We have written the needed data into your clipboard because it was too large to send. Please paste.

Hello,
I am working on a SQL 911 Jupyter Notebook.  If I run DBCC MEMORYSTATUS
@.***
@.***
I continue to click Keep Waiting until I finally give up.
The same command in SSMS takes less than 3 seconds to complete.
Hope that helps,
Kevin
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: Christopher @.>
Sent: Wednesday, October 20, 2021 3:34 PM
To: @.>
Cc: @.>; @.>
Subject: Re: [microsoft/azuredatastudio] DBCC MEMORY STATUS (Issue #17412)
Hi @RhinoDBAhttps://github.com/RhinoDBA, thank you for submitting a bug report, can you please paste the data to this issue and include some more details so we can help you with your problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/azuredatastudio/issues/17412#issuecomment-947975749, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHTUGTGA6HVBBJGFKYABJ4TUH4KVBANCNFSM5GMHB6TQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


These two lines appear to have issues.

Disclaimer: I don't fully understand the context for this file or this portion of the file, and I'm not especially versed in shell scripting.
These two lines appear to me to have issues.
https://github.com/arminc/terraform-ecs/blob/7eb8a43154e61e68d50fd749c48cb17da65aacbb/modules/ecs_instances/templates/user_data.sh#L97-L98
Should az=$(curl -s http://instance-data/latest/meta-data/placement/availability-zone)
be az=$(curl -s http://<IP_ADDRESS>/latest/meta-data/placement/availability-zone)
and should region=$${az:0:$${#az} - 1}
be region=$${az:0:$${az} - 1}
Would you mind briefly confirming for me and possibly explaining the context for this file and these lines?

As stated above in the comment: "Get ECS instance info, although not used in this user_data itself" the code below that is not used by the script, therefore we would just remove all the lines or fix them as that line is wrong as you correctly point out.

As stated above in the comment: "Get ECS instance info, although not used in this user_data itself" the code below that is not used by the script, therefore we would just remove all the lines or fix them as that line is wrong as you correctly point out.

Thanks. I understand the lines aren't used in user_data.sh itself. Forgive my inexperience with Terraform, but where are they be useful otherwise?
Also, I realize now region=$${az:0:$${#az} - 1} could actually just be region=$${az:0:-1} to get az without the last char. Will this ever differ from the region we specify through terraform variable?

Thanks. I understand the lines aren't used in user_data.sh itself. Forgive my inexperience with Terraform, but where are they be useful otherwise?
Also, I realize now region=$${az:0:$${#az} - 1} could actually just be region=$${az:0:-1} to get az without the last char. Will this ever differ from the region we specify through terraform variable?

This could be useful when you pass in your own "custom_userdata" to the script and then your already have the 'region' information that you can use. But I think we should remove these lines from the script as the region is already defined on line 60.
P.S. Don't worry about the experience, we are all always learning something new.

This could be useful when you pass in your own "custom_userdata" to the script and then your already have the 'region' information that you can use. But I think we should remove these lines from the script as the region is already defined on line 60.
P.S. Don't worry about the experience, we are all always learning something new.


Tutorials: Intializing Kakarot Devnet / Rpc and solidity contract deployment on Kakarot

Create an in-depth tutorial for initializing Kakarot Devnet / Rpc and deploying Smart Contract.
Currently, we have the flow to anyone initialize a Devnet, RPC Node, and now we can have anyone deploy Solidity Smart Contracts on Kakarot.
Create an in-depth tutorial with detailed steps so anyone can deploy their first Solidity contract in Kakarot in less than 5 minutes.

Hi @danilowhk can I take this one?

Assigned

Closing as this is "solved" with docker compose


TX2 support for Langdale and newer

From what I can see Kirkstone is the latest Yocto release that is supported for Jetson TX2 by this layer. Are there any plans to add support for TX2 in the newer meta-tegra branches?

So Nvidia has no plans to keep supporting TX2 in newer Jetpacks? And meta-tegra is dependent on Nvidia to release newer Jetpacks in order to update the kernel?

So Nvidia has no plans to keep supporting TX2 in newer Jetpacks? And meta-tegra is dependent on Nvidia to release newer Jetpacks in order to update the kernel?

That's correct, TX1/Nano and TX platforms are not supported in JetPack 5/L4T R35.x. It might be possible to switch to a mainline kernel, but that wouldn't be compatible with any of the JetPack packages, since those rely on the downstream kernel changes and drivers that NVIDIA supplies.

Well, as far as I know I do not use any Jetpack packages unless they are used by the system in some way. I just use it as a  normal Linux machine. I was under the impression that these things were somehow required in order for Linux to work on these machines.

You might be able to reuse the tegraflash packaging and scripts from here, but otherwise this layer is pretty closely coupled with NVIDIA's BSP, and would try to install their userland libraries, which are tied to their downstream kernel and GPU driver and wouldn't be usable with a mainline kernel.
I'd expect this to be a bunch of work, and unfortunately I can't even dig up any links to provide as references to start with.

I'd expect this to be a bunch of work, and unfortunately I can't even dig up any links to provide as references to start with.

See https://github.com/OE4T/meta-tegra/discussions/965 for a thread on nano, and https://elinux.org/Jetson/Nano/Upstream for a page on an upstream kernel build for nano.

I do not use any Jetpack packages unless they are used by the system in some way. I just use it as a normal Linux machine

If you don't need the GPU and can consider another platform you might just use an RPi 4 and save yourself some headaches and cash.


Add whitelist of safe intrinsics

This PR should fix #5996, where intrinsic operations where all marked as unsafe.
I'm rather new to this codebase, so I might be doing something very wrong. Please forgive me!
In particular, I'm not sure how to "check that we are in extern rust-intrinsics" as mentioned in this comment.

Awesome :-). In other places we clone the repository and read the files from there, but this feels like such a huge wart TBH...

Regarding the type of the extern block, the AST looks like this:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>"extern"
<EMAIL_ADDRESS>" "
<EMAIL_ADDRESS>"\"C\""

I think you can get the ABI node using extern_block.abi(), but there's no child for the type, only for the extern token. @matklad, we should probably add it to the AST?

@lnicola good question! Turns out this needs a bit of design, I've put together https://github.com/rust-analyzer/rust-analyzer/issues/6308

Thank you for your feedback and comments. I think I addressed all points, except for the issue about checking the ABI name, which I guess is blocked on #6308.
Also, I'm not sure why CI failed for macos-latest.. It might be unrelated.
Let me know what should I do next!

bors r=frazar

Great! As a final note, would you mind adding the hacktoberfest-accepted label to this PR? Thanks!

Sure, done.


Publisher with context

option that might resolve #29, scrutiny is appreciated.
half-baked backwards compat for API change on the top-level NewPublisher(), but does incur breaking change on publisher/publisher.go
commits are: pkg/lib update, test suite update, docs update.
lmk your thoughts.
would like to use this pkg instead of the vanilla Azure/azure-service-bus-go module.

Hi @coip thanks so much for rolling up your sleeves and contributing here!
As you have guessed, this is quite a young project.
I created it to facilitate my team's integrations. so, we have the luxury of not being too worried about breaking changes (until you showed up 😄 )
I think we should just drop the top level NewPublisher funcs. they just haven't been cleaned up after the refactoring.
I'll take a closer look later today, but looks fine at first pass.

I figured that might be a better route for concise/intuitive structure. (esp given the v0 breaking changes almost guaranteed angle)
Didnt want to make such a design decision given issue, but happy to reduce cruft and doubly happy to be an early contributor on a project such as this.


[Sema] Fix compiler crash when pattern matching optional enum

What's in this pull request?
TypeCheckPattern was able to take the path checking if Optional.None
should be renamed to lowercase Optional.none and if this wasn't
necessary still failed but without generating a diagnostic.
Now it always provides a diagnostic when failing.
Resolved bug number: (SR-2057)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please test and merge.

Failures possibly related to the changes of @DougGregor?

Looks like it. Please flip all those SRs to resolved!

Whoops, looks like that was my fault. Thank you!


feat: Add Glue Dev Endpoints Resource

Added the Glue Dev Endpoints resource for aws and a delete action.  The usecase is deleting any publicly created glue dev endpoints.

@kapilt   I think my code is ready but the continuous-integration/ tests are erroring out with credentials errors:
ClientError: An error occurred (UnrecognizedClientException) when calling the GetDevEndpoints operation: The security token included in the request is invalid.
Don't think that is something I can fix if the drone client is missing creds.


Overhaul the URN parser

I have a requirement for my project where I need to properly parse URNs and this library exists within https://hex.pm so I decided since this is a primarily dead project that I would update / take it over if you don't mind.
I made this adhere as close as I could to https://tools.ietf.org/html/rfc8141

One change that may be warranted for a back out is downcasing URN back to Urn to make a transition easier.

Thanks, sorry for the long delay in publishing.
published to v1.0.0


cmd/compile: different behaviors between short and normal variable declarations

This issue is filed per @mdempsky's suggestion.
What version of Go are you using (go version)?

$ go version
go version go1.14beta1 linux/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
package main

import "fmt"

func f(p *int) int {
	*p = 123
	return *p
}

func bar() {
	var x int
	y, z := x, f(&x)
	fmt.Println(y, z) // 123 123
}

func baz() {
	var x int
	var y, z = x, f(&x)
	fmt.Println(y, z) // 0 123
}

func main() {
	bar()
	baz()
}

What did you expect to see?
Same outputs for the two functions.
What did you see instead?
Different outputs.
 But maybe it would be great to make the outputs in this examples consistent.
[edit]: this inconsistency has been removed since Go toolchain 1.20. But another found one still exists.

It looks the output of the short declaration case behaves as pure assignment:
func foo() {
	var x int
	var y, z int
	y, z = x, f(&x)
	fmt.Println(y, z) // 123 123
}

/cc @ianlancetaylor @randall77 @griesemer

It looks like this is because dcl.go:variter emits N:N variable declaration+initialization statements as var v1 t; v1 = e1; var v2 t; v2 = e2; .... This is safe because newly declared variables don't come into scope until after the statement, and short variable declarations must always declare new variables, so we can always initialize them in order.
On the other hand, for v1, v2 := e1, e2 we only require at least one variable to be newly declared. If v1 or v2 is already within scope, then it might appear in the RHS, and we need to be more careful.
As @go101 points out, the discrepancy is still conforming to the Go spec, so it's not something we have to fix.
I suspect the easiest fix (assuming we think it's worth fixing) would be changing variter to emit a single OAS2 node instead of multiple OAS nodes. I'm a little nervous if this has any unintended consequences via n.Name.Defn, but I don't immediately spot anything.
Another question is if it has any effect on compiler performance or on compiled program performance. I haven't looked into these at all yet.

Another question is if it has any effect on compiler performance or on compiled program performance. I haven't looked into these at all yet.

I tried with a simple patch:
diff --git a/src/cmd/compile/internal/gc/dcl.go b/src/cmd/compile/internal/gc/dcl.go
index 54c6a24df5..8402d818d8 100644
--- a/src/cmd/compile/internal/gc/dcl.go
+++ b/src/cmd/compile/internal/gc/dcl.go
@@ -162,6 +162,22 @@ func variter(vl []*Node, t *Node, el []*Node) []*Node {
                return append(init, as2)
        }

+       if len(vl) > 1 && len(el) == len(vl) && Curfn != nil {
+               as2 := nod(OAS2, nil, nil)
+               as2.List.Set(vl)
+               as2.Rlist.Set(el)
+               for _, v := range vl {
+                       v.Op = ONAME
+                       declare(v, dclcontext)
+                       v.Name.Param.Ntype = t
+                       v.Name.Defn = as2
+                       init = append(init, nod(ODCL, v, nil))
+               }
+               as2.SetColas(true)
+
+               return append(init, as2)
+       }

With this, go tool dist test passes, compilecmp result:
$ compilecmp
03:27:22 compilecmp   master   HEAD
03:27:22 master: cmd/go: adjust heuristics for skipping +incompatible versions
03:27:22 HEAD: xxx
03:27:22 cp <master> /Users/cuonglm/.compilecmp/817afe83578d869b36e8697344bb2d557c86b264
03:27:24 /Users/cuonglm/.compilecmp/817afe83578d869b36e8697344bb2d557c86b264/src/make.bash
03:28:15 cp <HEAD> /Users/cuonglm/.compilecmp/49890043fd25044d53b4167fb4214b7382b855f7
03:28:17 /Users/cuonglm/.compilecmp/49890043fd25044d53b4167fb4214b7382b855f7/src/make.bash
03:29:08 before: /Users/cuonglm/.compilecmp/817afe83578d869b36e8697344bb2d557c86b264
03:29:08 after: /Users/cuonglm/.compilecmp/49890043fd25044d53b4167fb4214b7382b855f7

benchstat -geomean  /var/folders/y4/hs76ltbn7sb66lw_6934kq4m0000gn/T/737143426 /var/folders/y4/hs76ltbn7sb66lw_6934kq4m0000gn/T/497012217
completed   15 of   15, estimated time remaining 0s (eta 3:39AM)
name          old time/op       new time/op       delta
Template            200ms ±13%        191ms ±14%   -4.18%  (p=0.033 n=15+14)
Unicode            85.2ms ±18%       76.7ms ± 8%   -9.94%  (p=0.000 n=15+13)
GoTypes             662ms ±13%        655ms ± 7%     ~     (p=0.652 n=14+15)
Compiler            3.21s ±11%        3.20s ±16%     ~     (p=0.653 n=15+15)
SSA                 10.1s ± 9%        10.2s ± 8%     ~     (p=0.603 n=14+14)
Flate               122ms ±10%        128ms ±23%     ~     (p=0.747 n=14+15)
GoParser            149ms ± 4%        155ms ±14%     ~     (p=0.052 n=13+15)
Reflect             393ms ± 4%        444ms ±23%  +12.77%  (p=0.013 n=13+15)
Tar                 165ms ± 4%        169ms ± 6%   +2.17%  (p=0.029 n=15+14)
XML                 221ms ± 3%        226ms ± 4%   +2.41%  (p=0.033 n=12+12)
LinkCompiler        1.11s ±25%        1.11s ±27%     ~     (p=0.713 n=15+15)
[Geo mean]          435ms             439ms        +1.01%

name          old user-time/op  new user-time/op  delta
Template            264ms ±12%        253ms ± 4%     ~     (p=0.052 n=15+13)
Unicode             136ms ±12%        126ms ± 5%   -7.44%  (p=0.000 n=15+12)
GoTypes             909ms ± 5%        907ms ± 7%     ~     (p=0.786 n=13+15)
Compiler            4.60s ± 9%        4.57s ± 8%     ~     (p=0.813 n=15+14)
SSA                 14.5s ± 4%        14.8s ± 6%     ~     (p=0.185 n=13+15)
Flate               158ms ±11%        166ms ±22%     ~     (p=0.847 n=14+15)
GoParser            190ms ± 4%        194ms ±13%     ~     (p=0.519 n=13+14)
Reflect             548ms ± 4%        610ms ±19%  +11.36%  (p=0.013 n=13+15)
Tar                 214ms ± 3%        214ms ± 4%     ~     (p=0.905 n=14+13)
XML                 290ms ± 3%        295ms ± 6%     ~     (p=0.143 n=12+12)
LinkCompiler        1.18s ±13%        1.17s ±10%     ~     (p=0.653 n=15+15)
[Geo mean]          583ms             587ms        +0.68%

name          old alloc/op      new alloc/op      delta
Template           36.5MB ± 0%       36.5MB ± 0%     ~     (p=0.838 n=15+15)
Unicode            28.4MB ± 0%       28.4MB ± 0%     ~     (p=0.252 n=14+15)
GoTypes             123MB ± 0%        123MB ± 0%     ~     (p=0.174 n=15+15)
Compiler            571MB ± 0%        571MB ± 0%   +0.04%  (p=0.000 n=15+15)
SSA                1.96GB ± 0%       1.96GB ± 0%     ~     (p=0.653 n=15+15)
Flate              22.9MB ± 0%       22.9MB ± 0%     ~     (p=0.363 n=13+15)
GoParser           28.2MB ± 0%       28.2MB ± 0%     ~     (p=0.567 n=15+15)
Reflect            78.9MB ± 0%       78.9MB ± 0%     ~     (p=0.683 n=15+15)
Tar                34.3MB ± 0%       34.3MB ± 0%     ~     (p=0.653 n=15+15)
XML                44.4MB ± 0%       44.4MB ± 0%     ~     (p=0.910 n=14+14)
LinkCompiler        263MB ± 0%        263MB ± 0%     ~     (p=0.148 n=15+15)
[Geo mean]         89.3MB            89.3MB        +0.00%

name          old allocs/op     new allocs/op     delta
Template             372k ± 0%         372k ± 0%     ~     (p=0.814 n=15+15)
Unicode              333k ± 0%         333k ± 0%     ~     (p=0.598 n=14+15)
GoTypes             1.33M ± 0%        1.33M ± 0%     ~     (p=0.281 n=15+15)
Compiler            5.53M ± 0%        5.53M ± 0%   +0.04%  (p=0.000 n=15+14)
SSA                 18.3M ± 0%        18.3M ± 0%     ~     (p=0.713 n=15+15)
Flate                234k ± 0%         234k ± 0%     ~     (p=0.065 n=15+14)
GoParser             305k ± 0%         305k ± 0%     ~     (p=0.060 n=15+15)
Reflect              980k ± 0%         980k ± 0%     ~     (p=0.602 n=15+15)
Tar                  345k ± 0%         345k ± 0%   -0.01%  (p=0.005 n=15+12)
XML                  425k ± 0%         425k ± 0%     ~     (p=0.991 n=14+15)
LinkCompiler         597k ± 0%         597k ± 0%     ~     (p=0.798 n=15+15)
[Geo mean]           813k              813k        +0.00%

name          old text-bytes    new text-bytes    delta
HelloSize           831kB ± 0%        831kB ± 0%     ~     (all equal)

name          old data-bytes    new data-bytes    delta
HelloSize           192kB ± 0%        192kB ± 0%     ~     (all equal)

name          old exe-bytes     new exe-bytes     delta
HelloSize          1.20MB ± 0%       1.20MB ± 0%     ~     (all equal)

file    before    after     Δ       %
compile 24493832  24502024  +8192   +0.033%
total   135247388 135255580 +8192   +0.006%

Is it ok for compilers to automatically convert all local normal variable declarations to short variable declarations?

Is it ok for compilers to automatically convert all local normal variable declarations to short variable declarations?

That's what my patch above does:
if len(vl) > 1 && len(el) == len(vl) && Curfn != nil {

It looks the results become consistent with tip.

Another similar case is found:
package main

func p() {
  f := func(x int) { print(x) }
  g := func() int { f = nil; return 1 }
  defer f(g())
}

func q() {
  f := func(x int) { print(x) }
  g := func() int { f = nil; return 2 }
  go f(g())
}

func main() {
  p()
  q()
}

It is not variable declaration related. It is related to this issue in the expression evaluation order view.
Need to open a new issue for it?

BTW, I mistakenly put a go keyword in the q function. Now it is removed.

This issue can be closed now. Because the cases mentioned in https://github.com/golang/go/issues/36449#issuecomment-1337583970 now print consistent outputs now.


[vite]: Rollup failed to resolve import "assets/cumulative_budgets.png" from "/home/runner/work/PACKAGE_NAME.jl/PACKAGE_NAME.jl/docs/build/.documenter/index.md"

Could you please help me with this error: https://github.com/shayandavoodii/OnlinePortfolioSelection.jl/actions/runs/8895424510/job/24425728076#step:6:54
Here is the link to the related branch: https://github.com/shayandavoodii/OnlinePortfolioSelection.jl/tree/Vitepress
This is the error I got when I tried to build the docs locally:
E:\Julia Forks\OPS.jl\docs>npm run docs:dev

> docs:dev
> vitepress dev build/.documenter

failed to start server. error:
Error: ENOENT: no such file or directory, lstat 'E:\Julia Forks\OPS.jl\docs\build\.documenter'
    at Object.realpathSync (node:fs:2702:29)
    at windowsSafeRealPathSync (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:12590:17)
    at getRealPath (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:47444:20)
    at getFsUtils (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:47160:29)
    at preAliasPlugin (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:49643:21)
    at resolvePlugins (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:50359:9)
    at resolveConfig (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:68250:30)
    at async _createServer (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:64503:20)
    at async createDevServer (file:///E:/Julia%20Forks/OPS.jl/docs/node_modules/vitepress/dist/node/cli.js:403:20)

You are probably trying to display an image in the markdown https://github.com/shayandavoodii/OnlinePortfolioSelection.jl/actions/runs/8895424510/job/24425728076#step:6:47 which doesn't exist in that path

which doesn't exist in that path

Which path?

You are probably trying to display an image in the markdown https://github.com/shayandavoodii/OnlinePortfolioSelection.jl/actions/runs/8895424510/job/24425728076#step:6:47 which doesn't exist in that path

I changed the path from assets/cumulative_budgets.png to:
<img src="src/assets/cumulative_budgets.png" width="100%">

For GitHub actions, the former error exists as before.
Locally, when I want to build the documentation, I get the following 403 Error:

@shayandavoodii it looks like you're using a pretty strange way of including images.  That's why the loading doesn't work (that plus your HTML tags weren't closed).
In this case, you should include your images in the standard Markdown format:
![alt-text](path/to/image)

and it will work automatically.
I've tested that on my machine and the docs seem to build fine.

Thank you so much. I used ![alt-text](assets/performance_eval.png) in the docs\src\performance_eval.md and ![alt-text](assets/cumulative_budgets.png) in docs\src\index.md. Yet, the 404 error is there when I try to test it locally. What's the problem?. However, it seems that the problem is solved on GitHub actions: https://github.com/shayandavoodii/OnlinePortfolioSelection.jl/actions/runs/8900200497/job/24441242896#step:6:56

Might be because of the base URL that's set when dev'ing locally.


"An Invalid Python interpreter is selected"

Type: Bug
Install python 3.11.4
VS Code 1.80.1
Uninstall python
Install Python Extension v2023.12.0
Install python 3.11.4 again
This is my first time trying to learn coding/programming and downloading VScode and Python. When i saw that there is Python to download in VScode I thought that then it is not necessary to have Python installed on windows so I uninstalled it. Then when I tried to run test python file, Python in VScode turned out to be only extension so I installed Python on windows again. I again tried to run test file but error poped up  "An Invalid Python interpreter is selected, please try changing it to enable features such as IntelliSense, linting, and debugging. ".

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

2023-07-26 00:43:32.287 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-07-26 00:43:32.288 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-07-26 00:43:32.288 [info] Experiment 'pythonSurveyNotification' is active
2023-07-26 00:43:32.288 [info] Test server listening.
2023-07-26 00:43:32.288 [info] > conda info --json
2023-07-26 00:43:32.333 [info] > ~\AppData\Local\Programs\Python\Python311\python.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
2023-07-26 00:43:32.343 [info] > ~\AppData\Local\Programs\Python\Python311\pythonw.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
2023-07-26 00:43:32.412 [error] [Error: Command failed: c:\Users\o^\AppData\Local\Programs\Python\Python311\pythonw.exe -I c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
System nie mo�e odnale�� okre�lonej �cie�ki.

	at ChildProcess.exithandler (node:child_process:409:12)
	at ChildProcess.emit (node:events:513:28)
	at maybeClose (node:internal/child_process:1121:16)
	at Socket.<anonymous> (node:internal/child_process:479:11)
	at Socket.emit (node:events:513:28)
	at Pipe.<anonymous> (node:net:757:14)] {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'c:\\Users\\o^\\AppData\\Local\\Programs\\Python\\Python311\\pythonw.exe -I c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\get_output_via_markers.py c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\interpreterInfo.py'
}
2023-07-26 00:43:32.413 [error] [Error: Command failed: C:\Users\o^\AppData\Local\Programs\Python\Python311\python.exe -I c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
System nie mo�e odnale�� okre�lonej �cie�ki.

	at ChildProcess.exithandler (node:child_process:409:12)
	at ChildProcess.emit (node:events:513:28)
	at maybeClose (node:internal/child_process:1121:16)
	at Socket.<anonymous> (node:internal/child_process:479:11)
	at Socket.emit (node:events:513:28)
	at Pipe.<anonymous> (node:net:757:14)] {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'C:\\Users\\o^\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -I c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\get_output_via_markers.py c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\interpreterInfo.py'
}
2023-07-26 00:43:32.428 [info] > ~\AppData\Local\Microsoft\WindowsApps\python3.11.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
2023-07-26 00:43:32.470 [error] [Error: Command failed: C:\Users\o^\AppData\Local\Microsoft\WindowsApps\python3.11.exe -I c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
System nie mo�e odnale�� okre�lonej �cie�ki.

	at ChildProcess.exithandler (node:child_process:409:12)
	at ChildProcess.emit (node:events:513:28)
	at maybeClose (node:internal/child_process:1121:16)
	at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'C:\\Users\\o^\\AppData\\Local\\Microsoft\\WindowsApps\\python3.11.exe -I c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\get_output_via_markers.py c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\interpreterInfo.py'
}
2023-07-26 00:43:34.425 [info] > ~\AppData\Local\Programs\Python\Python311\pythonw.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
2023-07-26 00:43:34.430 [info] > ~\AppData\Local\Programs\Python\Python311\python.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
2023-07-26 00:43:34.453 [error] [Error: Command failed: c:\Users\o^\AppData\Local\Programs\Python\Python311\pythonw.exe -I c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
System nie mo�e odnale�� okre�lonej �cie�ki.

	at ChildProcess.exithandler (node:child_process:409:12)
	at ChildProcess.emit (node:events:513:28)
	at maybeClose (node:internal/child_process:1121:16)
	at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'c:\\Users\\o^\\AppData\\Local\\Programs\\Python\\Python311\\pythonw.exe -I c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\get_output_via_markers.py c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\interpreterInfo.py'
}
2023-07-26 00:43:34.458 [error] [Error: Command failed: C:\Users\o^\AppData\Local\Programs\Python\Python311\python.exe -I c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
System nie mo�e odnale�� okre�lonej �cie�ki.

	at ChildProcess.exithandler (node:child_process:409:12)
	at ChildProcess.emit (node:events:513:28)
	at maybeClose (node:internal/child_process:1121:16)
	at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'C:\\Users\\o^\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -I c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\get_output_via_markers.py c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\interpreterInfo.py'
}
2023-07-26 00:43:34.476 [info] > ~\AppData\Local\Microsoft\WindowsApps\python3.11.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
2023-07-26 00:43:34.504 [error] [Error: Command failed: C:\Users\o^\AppData\Local\Microsoft\WindowsApps\python3.11.exe -I c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py c:\Users\o^\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py
System nie mo�e odnale�� okre�lonej �cie�ki.

	at ChildProcess.exithandler (node:child_process:409:12)
	at ChildProcess.emit (node:events:513:28)
	at maybeClose (node:internal/child_process:1121:16)
	at ChildProcess._handle.onexit (node:internal/child_process:304:5)] {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'C:\\Users\\o^\\AppData\\Local\\Microsoft\\WindowsApps\\python3.11.exe -I c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\get_output_via_markers.py c:\\Users\\o^\\.vscode\\extensions\\ms-python.python-2023.12.0\\pythonFiles\\interpreterInfo.py'
}
2023-07-26 00:43:35.732 [info] Starting Pylance language server.
2023-07-26 00:43:35.750 [info] > ~\AppData\Local\Programs\Python\Python311\pythonw.exe -c "import sys;print(sys.executable)"

What I tried:
-running vscode as an admin
-reinstalling python and vscode
-moving %SystemRoot%\system32 to the top of system variables path list
-switching to pre-release version of an extension
-manually selecting interpreter
Results:
-it still doesn't work
Expected results:
-it works how it should
Extension version: 2023.12.0
VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:22:07.651Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 2600X Six-Core Processor            (12 x 3593)

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_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.93GB (12.40GB free)

Process Argv
--crash-reporter-id c433a643-5c66-4a18-9f45-0286bb6c5e3d

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
2e4cg342:30602488
f6dab269:30613381
vscrp:30673768
showlangstatbar:30737416
vsctsb:30748421
03d35959:30757346
57b77579:30736110
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonnoceb:30797650
e537b577:30795824
dsvsc013:30795093
dsvsc014:30797589
cmakestatusbarv2:30779594

@madmarcin33 Click on the yellow "select interpreter" on the status bar in your screen shot:

Then pick a python from the list:

I tried downloading python from windows store, but when i try to choose file in the same localization as on your screenshot it doesn't work too.

it says that the system cannot access the file

Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience!

@madmarcin33 Can you demonstrate to me that any of pythons work outside of VSCode? For eg. try running:
~\AppData\Local\Microsoft\WindowsApps\python3.11.exe -I ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py

outside VS Code in Command prompt. Make sure to expand ~ to your home directory path.

Also, note pythonw.exe is not a valid Python binary, so selecting it would not work.

@madmarcin33 Can you demonstrate to me that any of pythons work outside of VSCode? For eg. try running:
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\python3.11.exe -I %USERPROFILE%\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\get_output_via_markers.py ~\.vscode\extensions\ms-python.python-2023.12.0\pythonFiles\interpreterInfo.py

outside VS Code in Command prompt.

"the system could not find the specified path"

In that case this seems like this is not an issue of VS Code, so I will have to close this issue. I encourage you to ask this question in stack overflow or https://chat.openai.com/ to figure out what's wrong with the Python installs in your system.

but python works correctly

I installed Code Runer instead of extension that vscode recommends and now everything works correctly, thanks for not helping me out

@madmarcin33 In-case it's helpful for you or others who stumble upon this issue: I saw a this with similar results/output running almost the same versions of the software. Turns out it was our anti-virus (sentinel one). 😭


long metric names cut off in metrics browser UI

Some of the metric names are very long, and there's no way of actually seeing the entire metric name in the metrics browser without being able to resize (or at a minimum, horizontally scroll) the left-hand pane.

Metrics browser UI is dead.


cinelerra: 2018-05-16 -> 2021-02-14

Motivation for this change
A previous pull request, #112680, unbroke the build by including a not-yet-merged upstream pull request among the patches. Meanwhile upstream has progressed (and incorporated a different solution to the compilation issue), rendering the patch unnecessary. It seems simpler to imply track upstream, even though (apart from unbreaking the build) no user-facing commits have landed since the version which is currently in nixpkgs.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113249 at 53da1836 run on x86_64-linux 1

1 package built:

cinelerra

1 suggestion:

warning: unused-argument
Unused argument: fetchpatch.
Near pkgs/applications/video/cinelerra/default.nix:1:33:
  |
1 | { lib, stdenv, fetchFromGitHub, fetchpatch, autoconf, automake, libtool
  |                                 ^

Thank you dear friendly bot :-) Shouldn't have missed that, fixed in new force-push.


offset  out of range for 65536-byte buffer

While attempting to download files from an ultra-large zip archive (355Gb) I got the following:

Traceback (most recent call last):
File "/Users/sergey.vilov/tmp/test/test.py", line 5, in
binfp = rzf.open('train_images/10005/18667/100.dcm')
File "/Users/sergey.vilov/miniconda/envs/kaggle/lib/python3.9/site-packages/unzip_http.py", line 192, in open
f = list(self.matching_files(fn))
File "/Users/sergey.vilov/miniconda/envs/kaggle/lib/python3.9/site-packages/unzip_http.py", line 186, in matching_files
for f in self.files.values():
File "/Users/sergey.vilov/miniconda/envs/kaggle/lib/python3.9/site-packages/unzip_http.py", line 109, in files
self._files = {r.filename:r for r in self.infoiter()}
File "/Users/sergey.vilov/miniconda/envs/kaggle/lib/python3.9/site-packages/unzip_http.py", line 109, in
self._files = {r.filename:r for r in self.infoiter()}
File "/Users/sergey.vilov/miniconda/envs/kaggle/lib/python3.9/site-packages/unzip_http.py", line 151, in infoiter
struct.unpack_from(self.fmt_cdirentry, resp.data, offset=filehdr_index)
struct.error: offset -138557274 out of range for 65536-byte buff

The archive link can be obtained by downloading a Kaggle dataset from here.
Unfortunately, I can't provide a direct link without exposing my kaggle credentials

Thanks for the report, @sergeyvilov.  I tried to get a URL to this dataset using my own kaggle account, but it seems like you either have to use their library/API, or save cookies from the browser session and use wget/curl.  How did you manage to get a simple URL to use with unzip-http?

Hi @saulpw and thanks for the fast reply. I just clicked on Download All button under the Data Explorer on the Data tab, then canceled the download and chose Copy download link in the Firefox by clicking on the cancelled download in the Firefox download window. The link starts with https://storage.googleapis.com/kaggle-... and ends with .zip. It works then with wget or curl.
The problem with kaggle-api is that it can't download directories. When one tries to download files one-by-one, one gets the error 'Too many requests' after some time (for this dataset there're too many small .dcm files which raises Too many requests error). I thought that with unzip-http one could try to overcome this.

Thanks, that allowed me to get the URL too.  When I use this code it works fine for me:
import unzip_http

rzf = unzip_http.RemoteZipFile(URL_FROM_KAGGLE)
binfp = rzf.open('train_images/10005/18667/100.dcm')
binfp.read()

So I'm not sure why you're seeing that error.  We did fix an issue like this awhile ago for 64-bit .zip files. Are you using the most recent version of unzip_http?
You're right though, that unzip-http does a separate HTTP request per file.  It wouldn't be impossible to make unzip_http be able to download multiple contiguous files with one request, as you suggest, but it would be somewhat complicated and I unfortunately don't have the time at the moment to pull it together.  If you're interested in making it happen I'd certainly review a PR for it.

Thank you very much for testing.
Looks very very strange. I'm using a clean  conda environment with unzip-http 0.4 and Python 3.11 (also tried with 3.8) and execute the same code as you, the issue is observed on MacOS Big Sur (my home laptop), Ubuntu 18.04.6, and Rocky Linux 8.8. (remote servers) Again, wget with the same link works fine.
Concerning the number of requests, it might be useful to merge individual requests for contiguous regions. I am pretty sure that not only the kaggle server limits the requests rate, so many users may also run into this issue when trying to download many files from the archive.

I get the same error.
error: offset -25009427 out of range for 65536-byte buffer
I am trying to download parts of the DocLayNet_extra.zip from here:
https://developer.ibm.com/exchanges/data/all/doclaynet/
I extracted the actual url from the HTML element.
import unzip_http

rzf = unzip_http.RemoteZipFile("https://codait-cos-dax.s3.us.cloud-object-storage.appdomain.cloud/dax-doclaynet/1.0.0/DocLayNet_extra.zip")
binfp = rzf.open('PDF/876c27352fc096c0572aa1141dd5e4465fec098b31d67c42df5ba955709b4979.pdf') # or 'DocLayNet_extra/PDF/....' not sure how to use the library yet
binfp.read()

Same here with
zip_url = 'https://knmi-ecad-assets-prd.s3.amazonaws.com/download/ECA_blend_rr.zip'
filename_in_zip = 'RR_STAID000031.txt'

Would it be enough to change the 65536 to a larger number (I have no idea if that make sense) when needed?

So, I tried all these cases myself from the CLI and they seem to work fine with v0.5.1.  For example:
$ ./unzip-http https://knmi-ecad-assets-prd.s3.amazonaws.com/download/ECA_blend_rr.zip RR_STAID000031.txt
Extracting RR_STAID000031.txt to RR_STAID000031.txt...
0s  0.26/0.18MB  (20.41 MB/s)  RR_STAID000031.txt

I think the problem is that we never pushed v0.5.1 to PyPI.  So these problems should be fixed once we do that (hopefully tonight).
If any errors like this happen still with v0.5.1, please open a new issue.


[FLINK-10569] Refactor CoLocationConstraintTest and remove Instance u…

…sage
What is the purpose of the change
Get rid of unnecessary try/catch block. CoLocationConstraint now works with setSlotRequestId and lockLocation(TaskManagerLocation). Test the new logic.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector:(no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @tillrohrmann

please move the try/catch block removal into a separate commit.

Address comments.


feat: custom button set with overflow straw man

Contributes to #1062
Adds the option of providing a custom component to the ButtonSetWithOverflow.

Warnings raised about the closeMenu and handleOverflowMenuItemFocus not implemented
Presume above causes a lack of focus in a narrow version
How to document/support different custom versions. For example, different behaviours when horizontal or vertical space is limited. NOTE: We could accept multiple scenario-based custom props or document the host classes the user will need to check for.

What did you change?
ButtonSetWithOverflow and story.
How did you test and verify your work?
Storybook

Where do you see warnings? I didn't spot any.
It looks like the OverflowMenu would need to cancel the click handling on it in order to work properly in a drop-down.


GHA: add a swift-format build stage for the toolchain

Begin building swift-format as part of the toolchain as this is meant to be part of the toolchain distribution on Windows.

CC: @tristanlabelle @mangini @hjyamauchi


add webhook payload examples

Signed-off-by: James Massardo<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Added examples of a converge_failure and a compliance_failure webhook notification.
:chains: Related Resources
None.
:+1: Definition of Done
Documentation change
:athletic_shoe: How to Build and Test the Change
Documentation change
:white_check_mark: Checklist

[ x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ x] Docs added/updated?
[ x] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable
None needed.

Thanks @jmassardo ! We will edit these after Chef Conf.


Update drill-down-support.md

@uve : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Completion doesnt work

Completion etc does not work at all:
Console output when opening a *.ts file:
reloading plugin typescript.TypeScript
2015-04-14 14:51:05,560: WARNING: TypeScript plugin initialized.
initialize typescript...
3083
spawning node module: C:\Users\Matthias\AppData\Roaming\Sublime Text 3\Packages\typescript\tsserver\tsserver.js
Found node executable at node
request: {"seq": 1, "type": "request", "arguments": {"hostInfo": "Sublime Text version 3083", "formatOptions": {"indentSize": 4, "tabSize": 4}}, "command": "configure"}
queue timeout
request: {"seq": 2, "type": "request", "arguments": {"file": "c:\\Development\\Test\\AngularTypescriptEs6\\src\\app\\app.module.ts"}, "command": "open"}
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 127, in reload_plugin
    el.on_activated(v)
  File "C:\Users\Matthias\AppData\Roaming\Sublime Text 3\Packages\typescript\TypeScript.py", line 523, in on_activated
    info = self.getInfo(view)
  File "C:\Users\Matthias\AppData\Roaming\Sublime Text 3\Packages\typescript\TypeScript.py", line 500, in getInfo
    open_file(view)
  File "C:\Users\Matthias\AppData\Roaming\Sublime Text 3\Packages\typescript\TypeScript.py", line 417, in open_file
    cli.service.open(view.file_name())
  File "C:\Users\Matthias\AppData\Roaming\Sublime Text 3\Packages\typescript\libs\serviceproxy.py", line 88, in open
    self.__comm.postCmd(jsonStr)
  File "C:\Users\Matthias\AppData\Roaming\Sublime Text 3\Packages\typescript\libs\nodeclient.py", line 163, in postCmd
    self.__serverProc.stdin.flush()
OSError: [Errno 22] Invalid argument
reloading Packages/typescript/TypeScript.sublime-settings```

This is on Windows x64. Sublime 3. Build 3083. No previous typescript enabled.

Anybody an idea what the issue might be ?

The server is not up (invalid argument to stdin.flush() shows this as well as queue timeout messages).  Most likely cause is node was not found.  If your node is installed in a place not on your system path, then you can add a 'node_path' setting to your Preferences.sublime_settings file (see README.md for more details).

@steveluc thanks for the feedback. node was in the path (where node worked fine).
It turns out the issue was a leftover folder of the manual TypeScript installation of before.
I had recently reinstalled windows and also reinstalled sublime but the Sublime Installed Packages folder was still present, including the previous TypeScript package. The current one is just typescript.
Works now.


add tsinghua.edu.kg

@jason5ng32 I am sorry, this request has signs of fraud. I have to close it without merging. If you are a student of this school, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


[JS] Intl API updates, Fx 78

Story
As web developer, I want to know about the latest features of the JS Intl API, so that I can localize my apps/websites correctly.
Acceptance criteria
Latest Intl API additions, that are shipped in Firefox 78, are documented

[ ] Add dayPeriod option to Intl.DateTimeFormat

[ ] Enable Unified NumberFormat API by default

The first item here isn't actually shipping apparently. See https://bugzilla.mozilla.org/show_bug.cgi?id=1645115 which isn't fixed yet. Not documenting now.

Unified NumberFormat API is done also, see https://bugzilla.mozilla.org/show_bug.cgi?id=1633836#c8
(only pending BCD, but that should make it this week, too),


Canonicalization for resource likely incorrect

GetCanonicalizedResource returns case sensitive parameters,
e.g.:
?A=1 would return "A:1"
this is incorrect per https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with-shared-key#constructing-the-canonicalized-resource-string
Which asks for
"Convert all parameter names to lowercase."

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

ID: dd487659-ee50-61e5-1438-2ff48a592a7e
Version Independent ID: 6d67aaff-2063-a48f-ca83-5ee8bd4b013b
Content: Calling Azure Storage Services REST API operations including authentication
Content Source: articles/storage/common/storage-rest-api-auth.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

using System;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Web;
namespace ConsoleApp1
{
class Program
{
private static string GetCanonicalizedResource(Uri address, string storageAccountName)
{
// The absolute path will be "/" because for we're getting a list of containers.
StringBuilder sb = new StringBuilder("/").Append(storageAccountName).Append(address.AbsolutePath);
        // Address.Query is the resource, such as "?comp=list".
        // This ends up with a NameValueCollection with 1 entry having key=comp, value=list.
        // It will have more entries if you have more query parameters.
        NameValueCollection values = HttpUtility.ParseQueryString(address.Query);

        foreach (var item in values.AllKeys.OrderBy(k => k))
        {
            sb.Append('\n').Append(item).Append(':').Append(values[item]);
        }

        return sb.ToString();
    }

    static void Main(string[] args)
    {
        var a = new Uri("http://a.com/?A=1&b=1");
        Console.WriteLine(GetCanonicalizedResource(a, "storageaccount"));
    }
}

}
prints out
/storageaccount/
A:1
b:1
This is important with regards to maxResults which is one of few parameters that is not all lowercase.

@peledins Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@peledins - Thanks for your feedback! Can you please tell me which version of the .NET client library you are using?

@peledins - I am following up on this with the Azure Storage engineering team. Can you tell me which version of the client library you were using when you encountered this issue?
Please let me know so that we can resolve this.

This is just the sample code that is wrong – see my extract from the sample does not include any azure library.
From: Tamra Myers<EMAIL_ADDRESS>Sent: Thursday, August 15, 2019 9:25 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Peteris Ledins<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Canonicalization for resource likely incorrect (#32933)
@peledinshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpeledins&data=02|01|peledins%40microsoft.com|13013b6a6ecb4655156608d7219d2f0f|72f988bf86f141af91ab2d7cd011db47|1|0|637014831300990074&sdata=goxbcy3pRyoL8%2FgiQeswKeKbNp0bHR9zlenp4g1liQY%3D&reserved=0 - I am following up on this with the Azure Storage engineering team. Can you tell me which version of the client library you were using when you encountered this issue?
Please let me know so that we can resolve this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F32933%3Femail_source%3Dnotifications%26email_token%3DAK7MHLUKN5ZTZIFPBVHHIBTQEV7PPA5CNFSM4HVY24RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MJI5Y%23issuecomment-521704567&data=02|01|peledins%40microsoft.com|13013b6a6ecb4655156608d7219d2f0f|72f988bf86f141af91ab2d7cd011db47|1|0|637014831300990074&sdata=m7zxo7JzTWloCrhkpEGKGJuYfcEL4DaFivGZdgQ28qE%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAK7MHLQMR2PNVLNBXQSLBBTQEV7PPANCNFSM4HVY24RA&data=02|01|peledins%40microsoft.com|13013b6a6ecb4655156608d7219d2f0f|72f988bf86f141af91ab2d7cd011db47|1|0|637014831300990074&sdata=M7RuCMwu8jNiEBqVmoabxmn0haEVx%2BOYrmA1Elxe%2Fvw%3D&reserved=0.

@peledins - Thanks so much for that clarification. I have updated the sample to lower-case the resource string before it is returned. The change to the documentation should go live in the next day or so.
#please-close

This change causes issues when using the SharedKey Authentication with ADLS Gen 2 REST APIs as the query part of the string contains upper case characters. For example, in ADLS Gen2, you need to specify action=setAccessControl with the upper case letters. The update made here causes path and query to be changed to lowercase and therefore results in a 403.

@GBBBAS: the lowercasing should be just for "action" and not for "setAccessControl", no?

Working through the ADLS Gen 2 Rest APIs, I’ve found that even the path needs to remain as it is, including the uppercase and lowercase letters. Therefore the path and query in the API calls must respect casing and can not be converted to lower case

@tamram  - I think I see where the bug is:
instead of return sb.ToString().ToLower();
it should be
sb.Append('\n').Append(item.ToLower()).Append(':').Append(values[item]);
But return needs to be
return sb.ToString();

Yes it is, which was the change made from the original issue raised. I’ve updated on this thread as it is related

@peledins @GBBBAS - thanks so much for following up on this. I've fixed the example, and it should go live within the next day.


[Python] Unable to install requirements.txt

Describe the bug
A clear and concise description of what the bug is.
Try to do local build using the steps in README.md file. The checked in arrow-datafusion/python/requirements.txt is locked in python 3.8 version.
the step pip install -r requirements.txt throws the below exception and failed to install dependencies.
Collecting typed-ast>=1.4.2
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    typed-ast>=1.4.2 from https://files.pythonhosted.org/packages/01/08/0d92feed38a4cafe45bcbd42a2507c1900e9ec1e2e9b5e5a472f8ebfa9bb/typed_ast-1.4.3-cp37-cp37m-macosx_10_9_x86_64.whl#sha256=0fb71b8c643187d7492c1f8352f2c15b4c4af3f6338f21681d3681b3dc31a266 (from black==21.7b0->-r requirements.txt (line 15))

To Reproduce
Steps to reproduce the behavior:
Python 3.7.11 version (venv)
pip install -r requirements.txt
Expected behavior
A clear and concise description of what you expected to happen.
It should install all the dependencies without any errors.
Additional context
Add any other context about the problem here.
To workaround is to generate requirements.txt using
pip-compile --generate-hashes requirements.in

Then pip install -r requirements.txt works in python 3.7

@Jimexist do we need to generate the lock files for different versions of python? It looks like typed-ast is not required for python 3.8 anymore, which resulted in pip-compile to not include that in the lock file.

@Jimexist do we need to generate the lock files for different versions of python? It looks like typed-ast is not required for python 3.8 anymore, which resulted in pip-compile to not include that in the lock file.

I'm using 3.8.12 and it works. Which version of 3.8 are you using?

It works for python 3.8, but not 3.7. I am guessing it's because when we generate the lock file using python 3.8, it didn't include typed-ast, which is needed by 3.7, because typed-ast is not required for 3.8 anymore.


Google Maps Mod crashes MSFS2020 and restarts computer

On MSFS 2020 Standard edition, your mod freezes the simulation and restarts the computer after a while on the simulation. This does not happen with Bing maps (Google Maps mod non active).

I have no idea about this.
How's going now?

Hello again. I increased virtual memory in my system, and reboots are not
so frequent now, but they keep happening. Going back to bing maps to check
for further crash rate of incidence.
El dom., 14 nov. 2021 2:32, hesicong @.***> escribió:

I have no idea about this.
How's going now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/derekhe/msfs2020-google-map/issues/72#issuecomment-968186680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWODTNCOPDQC6B27KMTKQC3UL4GSHANCNFSM5H5R57LQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

How much memory do you have?

16 Bg physical RAM memory. 8 Gb in my video card. Just increased virtual memory to 25 Gb.

16GB for MSFS2020 is not quite enough especially run high details. Yes increase the VM may help.