SSD premium storage type for Azure cloud missing in node templates UI

What kind of request is this (question/bug/enhancement/feature request):
feature request
Steps to reproduce (least amount of steps as possible):
add or edit node template in rancher UI.
choose Azure / then azure public cloud.
SSD premium storage type for Azure is missing in node templates UI .
Result:
standard SSD is not available in the menu
Other details that may be helpful:
It works if I update the object API this way :
"storageType": "StandardSSD_LRS"
For information Azure SSD disks availability in 2018 :
https://azure.microsoft.com/fr-fr/blog/preview-standard-ssd-disks-for-azure-virtual-machine-workloads/
It seems to me that SKU proposed values are in this js file :
ui/lib/shared/addon/utils/azure-choices.js
Environment information

Rancher 2.5.7
Installation option (single install/HA): HA

will ask to Suse support.
besides the title is wrong . I should have said : add standard SSD choice in UI.


kemp-services: Display the original status of every Virtual Service

Describe the solution you'd like
Thank you for fixing the credentials bug so fast.
It would be nice if the services which are disabled in the Loadbalancer would be displayed with the State [Disabled] not as [OK]
Not as warning or crit just as disabled
Maybe a triger option for max_disabled_services or known_disbled_services_count if warnings is an option
Additional context
The REST API from the Kemp LB displays this state in Lines 2 and 7 in my eample:

Disabled
7
*********
80
7
Redirect ************
N
N
N
0
N

....

The REST API from the Kemp LB displays this state in Lines 2 and 7 in my eample:
<VS>
<Status>Disabled</Status>
<Index>7</Index>
<VSAddress>*********</VSAddress>
<VSPort>80</VSPort>
<Layer>7</Layer>
<NickName>Redirect ************</NickName>
<Enable>N</Enable>
<SSLReverse>N</SSLReverse>
<SSLReencrypt>N</SSLReencrypt>
<InterceptMode>0</InterceptMode>
<Intercept>N</Intercept>
<InterceptOpts>
....

Output changed to be more clear
Now also returns perfdata


No Maintainer - What to do?

Making this issue so we can have a discussion.
There doesn't seem to be an active maintainer at Raizlabs anymore for this project, @agrosner hasn't responded in quite some time and neither has @arrouse. If you look at commits to master and develop the only thing that has changed was an update to the license file 13 days ago. In the meantime there are some critical issues that users are reporting, and as one of those users, I would like to fix them.
Is there any interest in contributing to the project? Should we fork it? Raizlabs does have a copyright license on the project and I want to respect that, but if we make a fork we would have to make our own maven repository on JCenter under a different group as we would not have permission to upload releases (Unless someone at Raizlabs allows new contributors to do so).
Mentioning past contributors so they can see this -- sorry if this is spammy.
@mcumings
@kamilzych
@dylanrjames
@mozarcik
@wongcain
@ktzouno
@mathieudebrito
@MaciejCiemiega
@mickele
@kayvannj
@intrications
@pplant
@MoranM
@martino2k6
@noughts
@jan-pintr

Wasn't @agrosner simply on holidays? (https://twitter.com/agrosner)
But more external contributions can't be bad for the library!

If that's the case my apologies :x

@kaeawc love that you called this meeting and want to make sure DBFlow is still alive. I can tell you that it is! @agrosner has been on vacation and there are plans to continually improve DBFlow.

@octohub Good to hear !

Sweet :fireworks:

Other contributors also on holidays? That's the problem. The problem is that nobody can't fix this and make a decision on the resolution. We need community.

Thanks for the comments. We do intend to maintain the repo and provide community. We've been a little busy with Android requests as a result we've been slow to respond but we are trying to address this. If anyone here is interested in being a more active maintainer... we are hiring at Raizlabs..  :)

@kaeawc thanks for the issue. I have been on vacation, changed jobs, and have been very busy past few weeks.
Unfortunately, since I do not work at Raizlabs anymore, I cannot continue working on this library in the same fashion as I have before. I do not have permission to close issues, review pull requests, or upload releases myself. Which is a shame since I worked on the project at least 90% on my own time. That said, I do believe in @octohub to help me and let me push code for him to review and merge. I just won't be able to push out updates or releases without someone at Raizlabs doing so.
I strongly wish to support you guys going forward, but keep in mind that it won't be in the same capacity unless Raizlabs transfers the repo to me.

Andrew

That are no good news...on the one hand...on the other......
I hope your new job is fine and the vacation was relaxing.

@Raizlabs What are your plans with this lib?

Thanks for bringing this up, and apologies for the lack of communication as of late. We certainly want to be responsive.
Open Source is important, as is the community around it, and we strongly believe that. I chatted briefly with @agrosner today, so I can confirm he’s back from vacation. We are working this week on how to make sure both the library and community can continue long term, and in the short term to make sure that some of the critical issues are being addressed.
Additionally, we are exploring having external contributors and are looking at ways to be more responsive to pull requests. If have specific concerns or you are interested in helping out please email me<EMAIL_ADDRESS>-Michael LeBarron, Director of Engineering @ Raizlabs

Thanks for a response.
I'd like to suggest creating the mailing list (group) to discuss Design
decisions and other technical issues, just keeping bug tracker for bug
reports only.
PS.
I personally see DBFlow as the best ORM for Android these days. Good work.
Let's make it main stream.
Gennadi Kudrjavtsev
On Aug 11, 2015 21:41, "Michael LeBarron"<EMAIL_ADDRESS>wrote:

Thanks for bringing this up, and apologies for the lack of communication
as of late. We certainly want to be responsive.
Open Source is important, as is the community around it, and we strongly
believe that. I chatted briefly with @agrosner
https://github.com/agrosner today, so I can confirm he’s back from
vacation. We are working this week on how to make sure both the library and
community can continue long term, and in the short term to make sure that
some of the critical issues are being addressed.
Additionally, we are exploring having external contributors and are
looking at ways to be more responsive to pull requests. If have specific
concerns or you are interested in helping out please email me:
<EMAIL_ADDRESS>-Michael LeBarron, Director of Engineering @ Raizlabs
—
Reply to this email directly or view it on GitHub
https://github.com/Raizlabs/DBFlow/issues/351#issuecomment-130010110.

Yeah, its definitely the best that I've found, want to keep making it better.
Google groups might work best?

Hey all, I've started a google group so general discussion doesn't have to happen via github issues.
https://groups.google.com/forum/?hl=en#!forum/dbflow

Closing so this can move out of github issues

Anyone still tracking this issue, I have been reinstated as a full maintainer going forward and have some great plans for this library. Will post something on google groups.


Merkle Trie generation in basic channel is unbounded

This could open potential DoS attacks by consuming all block weight.

@alvatar can you point to the code you're referring to?

@Rizziepit This is related to https://github.com/Snowfork/polkadot-ethereum/pull/339 in which we are adding merkle-trie based commitments to the basic channel to be able to open it up to anyone in future. For the current version/launch it will stay permissioned and use flat commitments and so this issue will not be relevant until such point when we merge in that PR.

Obsolete, since #339 has been in stasis for quite a while, and will likely need to be redeveloped.


Boomerang

Hello michael''
here is a new quoting mode like PingPong but taking into account not only the last trade but also all other previous trades still opened.
A trade is considered opened once it is done, and will remain as opened until another matching trade of the opposite side plus the margin of the width is also done. Then both trades are merged and flagged as closed.
Closed trades as well as the whole history of trades can be cleaned using ui buttons.
Also the ui features optional audio and the size input was split into two inputs: buySz and sellSz.
Message table is not displayed anymore and market_display table took over its space.
Included in this PR, is also #74 and #75, and a major silent of console.log and filesystem log messages (together with truncated database collections to 1 single record [less than trades collection, that is unlimited and is loaded all at startup without limit by start_time]) to avoid hitting the limit of the harddisk after 2 hours of run.

You were fast to pull the merge request :)

(BUG) Hi guys,
Just to let you know that trades on OkCoin using the last version of the Boomerang branch have 0 persistence (trade are posted and directly canceled within 1ms).
I don't know since when it is happening but versions prior to 25th of July doesn't have the issue.


Layout revamp

Description
This Feature will update checkout layout and spacings to be more aligned to the mfe design system.

:tada: This issue has been resolved in version 4.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update alert error messages

@shua123 Do you have a full list of the current language you can pull easily?

@versatilehuman Not really, but there is kind of a default pattern for form validation based on the validation type. Generally it is "FIELD_NAME MESSAGE." For validations that require the field to not be blank the message defaults to "can't be blank." Using your screenshot (below), because the field we are actually checking is "Alert type" that is what is showing for field name with the can't be blank. You can see the alert validations at https://github.com/smartchicago/trailsyserver/blob/alerts20/app/models/alert.rb#L19. Note the custom message for the website url field (https://github.com/smartchicago/trailsyserver/blob/alerts20/app/models/alert.rb#L26)
For the second example in the screenshot, the validation is on the Alertings model. Alertings is the table that stores the connections between an alert and an poi/trailsystem. In this case its checking if the alerting can be saved but it can't because its associated alert can't be saved. Its essentially double notifying about the same alert issue. I'll see what to do about that.

Updated messages.
https://github.com/smartchicago/trailsyserver/commit/c7c3c8038ccd2f926026bbb320a553089afb977e


iCloud Special Characters in Passwords

Home Assistant release (hass --version):
0.32.1
Python release (python3 --version):
Python 3.5.2
Component/platform:
iCloud
Description of problem:
iCloud component does accepts passwords with special characters (!)
Expected:
usage of special characters in passwords
Problem-relevant configuration.yaml entries and steps to reproduce:

platform: icloud
username: {USERNAME}
password: {!PASSWORD}
account_name: iCloud

Traceback (if applicable):
Additional info:

The configuration.yaml file is a YAML file and your "special characters" can be "control characters". The real issue here is that you need to take care about the special characters by yourself like the wrapping of the password in the quotes or the encoding.


[RESERVED]: Monitoring check

This is reserved issue to have logs of failed jobs.

Failed project check https://github.com/dartmouth-cs98/Quantum-Tetris :warning:
Error see: https://github.com/qiskit-community/ecosystem/actions/runs/1
If you don't fix this issue, your badge will change to grey automatically.
Checks Status
Linter :
Coverage :
Qiskit Stable :
Qiskit Dev :
Standard:
Logs

Linter
Error logs
Failed logs

Coverage
Error logs
Failed logs

Qiskit Stable
Error logs
Failed logs

Qiskit Dev
Qiskit depreciation logs
Error logs
Failed logs

Standard
Error logs
Failed logs

Failed project check https://github.com/IceKhan13/demo-implementation :warning:
Error see: https://github.com/qiskit-community/ecosystem/actions/runs/1
If you don't fix this issue, your badge will change to grey automatically.
Checks Status
Linter :
Coverage :
Qiskit Stable :
Qiskit Dev :
Standard:
Logs

Linter
Error logs
Failed logs

Coverage
Error logs
Failed logs

Qiskit Stable
Error logs
Failed logs

Qiskit Dev
Qiskit depreciation logs
Error logs
Failed logs

Standard
Error logs
Failed logs

Failed project check https://github.com/IceKhan13/demo-implementation :warning:
Error see: https://github.com/qiskit-community/ecosystem/actions/runs/1
If you don't fix this issue, your badge will change to grey automatically.
Checks Status
Linter :
Coverage :
Qiskit Stable :
Qiskit Dev :
Standard:
Logs

Linter
Error logs
Failed logs

Coverage
Error logs
Failed logs

Qiskit Stable
Error logs
Failed logs

Qiskit Dev
Qiskit depreciation logs
Error logs
Failed logs

Standard
Error logs
Failed logs

Failed project check https://github.com/carstenblank/dc-qiskit-algorithms :warning:
Error see: https://github.com/qiskit-community/ecosystem/actions/runs/1
If you don't fix this issue, your badge will change to grey automatically.
Checks Status
Linter :
Coverage :
Qiskit Stable :
Qiskit Dev :
Standard:
Logs

Linter
Error logs
Failed logs

Coverage
Error logs
Failed logs

Qiskit Stable
Error logs
Failed logs

Qiskit Dev
Qiskit depreciation logs
Error logs
Failed logs

Standard
Error logs
Failed logs

Failed project check https://github.com/IceKhan13/demo-implementation :warning:
Error see: https://github.com/qiskit-community/ecosystem/actions/runs/1
If you don't fix this issue, your badge will change to grey automatically.

Closing as no longer needed


.ruby-version: 2.6.3 -> 2.7.2

Motivation

We already run the sorbet-runtime tests in 2.6.3 and 2.7.2. This commit
doesn't change that. This is more of a convenience, for e.g., when I run
irb from the ~/sorbet folder, or I have ALE use ruby to check a
program for syntax errors, and the file is using 2.7-only syntax.
Test plan

See included automated tests.

Looks like we'll need to tweak the Dockerfile in sorbet-build-image to make this work:
https://github.com/sorbet/sorbet-build-image/blob/cec2defc199fc8774cd056ad7df2f793daad9f0f/Dockerfile#L33-L36


Add 404 return to OpenAPI spec for collections

https://projects.engineering.redhat.com/browse/TPINVTRY-232

@gtanzillo we should probably update the open_api::generator https://github.com/ManageIQ/manageiq-api-common/blob/master/lib/manageiq/api/common/open_api/generator.rb#L172-L178 to add 404 if the primary_collection is non-nil

Just need @bdunne to release api-common to include your 404 updates

v2.0.0 was released today


error on double initialization

Codecov Report

Merging #3 into master will increase coverage by 0.28%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   94.52%   94.80%   +0.28%
==========================================
  Files           1        1
  Lines          73       77       +4
==========================================
+ Hits           69       73       +4
  Misses          4        4

Impacted Files
Coverage Δ

src/LazilyInitializedFields.jl
94.80% <100.00%> (+0.28%)
:arrow_up:

Continue to review full report at Codecov.

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


weapons appear semi-transparent

self explanatory, the textures of the weapons are see through and look very odd, picture below:

just realized it was because of optifine, sorry


Console warnings with Vite with newest Kobalte version

Describe the bug
After upgrading Kobalte, running Vite and visiting the Vite dev page prints a lot of errors in the Vite process' console about sourcemap errors with the @internationalized/date package (see the Screenshots section).
To Reproduce
Steps to reproduce the behavior:
Example repo: https://github.com/gBasil/kobalte-source-map-error

Clone repo
Install packages
Run the dev script.
Go to the URL in the browser
See the errors printed out in the Vite process.

Expected behavior
There should not be errors in the console.
Screenshots
9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at CalendarDate.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at BuddhistCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at TaiwanCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at PersianCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at IndianCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at GregorianCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at JapaneseCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at createCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at EthiopicCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at IslamicCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at conversion.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at string.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at HebrewCalendar.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at DateFormatter.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at queries.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+number<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at NumberFormatter.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+number<EMAIL_ADDRESS>9:01:26 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+number<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at NumberParser.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+number<EMAIL_ADDRESS>9:01:27 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at manipulation.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:27 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at utils.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>9:01:27 PM [vite] Failed to load source map for /Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>Error: An error occurred while trying to read the map file at weekStartData.mjs.map
Error: ENOENT: no such file or directory, open '/Path/to/kobalte-test/node_modules/.pnpm/@internationalized+date<EMAIL_ADDRESS>
Desktop (please complete the following information):

OS: macOS
Browser: Chromium (Vivaldi)
Kobalte Version: ^0.13.1

I've also opened an issue at https://github.com/adobe/react-spectrum/issues/6367

Looks like an issue from<EMAIL_ADDRESS>you can pin the dependency to version 3.5.2 or wait for the fix https://github.com/adobe/react-spectrum/pull/6368 (thanks to @oedotme!)

Same problem with @internationalized/number. I've changed it to 3.5.1 and the warnings may disappear.

@jer3m01 Shouldn't this issue remain open until:

A version of react-spectrum with the fix is released.
The version Kobalte depends on is updated.
A new version of Kobalte with the updated dependency is published.

This is an issue from @internationalized/* not Kobalte.
Kobalte doesn't depend on the broken version (3.5.3) and targets:
"@internationalized/date": "^3.4.0",
"@internationalized/number": "^3.2.1",

This will automatically target the latest available version (of 3.x.x). Up to them to fix their release or users to pin the dependency.


[Figma Refactoring] Align Background Color

I noticed following styling issue: We use different background color for the same purpose, e.g. for "warning":

Tag: warning-5
Toast: warning-2
Notification: warning-2
Snackbar: warning-2
Badge: color-warning
Button: warning-1 / hover: warning-5

We should align the background color for above mentioned components.
Note: This is just an example, the color has to be aligned for most of the backgrounds.


x/pkgsite: Github username (in Capital Case variant) causes package not found on pkg.go.dev

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/sven-seyfert/gomisc
https://pkg.go.dev/github.com/Sven-Seyfert/gomisc (Capital Case username)
https://pkg.go.dev/github.com/sven-seyfert/gomisc/singleinstance
https://pkg.go.dev/github.com/Sven-Seyfert/gomisc/singleinstance (Capital Case username)

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Screenshot

What did you do?

I created my own (first tryout) go package and published it on GitHub.

https://github.com/Sven-Seyfert/gomisc

I added git tags (v0.4.0) and used git push origin --tags (which shows up on my GitHub page too).
I have a license (MIT) in the repository.
I used the proxy command GOPROXY=proxy.golang.org go list -m<EMAIL_ADDRESS>to address my package for pkg.go.dev.
I wait more then a day for my package to be visible on pkg.go.dev.

What did you expect to see?
My package singleinstance of github.com/sven-seyfert/gomisc should be available on pkg.go.dev.
What did you see instead?
Like in the screenshot: "... could not be found."
What did I recognized?
My GitHub username is Sven-Seyfert as Capital Case. When I tried the different URLs in pkg.go.dev and on proxy.golang.org<EMAIL_ADDRESS>I see no issue when I use the lower case variant of sven-seyfert. But when I use the Capital Case variant for the same request I get "bad request: invalid escaped module path "github.com/Sven-Seyfert/gomisc"".
Can this be the reason for my problem?

Thanks for your help and support, I really appreciate it 🤝 .

when I use the Capital Case variant for the same request I get "bad request: invalid escaped module path "github.com/Sven-Seyfert/gomisc"".

No, you just have to use an escaped URL:

https://proxy.golang.org/github.com/!sven-!seyfert/gomisc/@latest
https://proxy.golang.org/github.com/!sven-!seyfert/gomisc/@v/list

The proxy definitely has data for the lower-case version as well:

https://proxy.golang.org/github.com/sven-seyfert/gomisc/@latest
https://proxy.golang.org/github.com/sven-seyfert/gomisc/@v/list

I'm pretty sure this is https://go.dev/issue/62031. I'll confirm after the fix is deployed.

Ok, I've figured it all out...

#62031 was originally preventing any fetching from working, but even after fixing that I was having trouble fetching this module manually, because...
v0.1.0 lacks any go files
v0.2.0 was named github.com/Sven-Seyfert/gomisc in the go.mod file (and so must be fetched as such, with the exact casing)
v0.3.0 was also named github.com/Sven-Seyfert/gomisc, according to the proxy, but the tag in github says github.com/sven-seyfert/gomisc in the go.mod file -- did you change the tag?
v0.4.0 is named github.com/sven-seyfert/gomisc

So I've fetch the three valid versions (v0.2.0-v0.4.0). v0.2.0 and v0.3.0 are available with capital 'S': https://pkg.go.dev/github.com/Sven-Seyfert/gomisc?tab=versions. v0.4.0 is available with lower-case 's': https://pkg.go.dev/github.com/sven-seyfert/gomisc?tab=versions

Thank you very much @findleyr for your investigation and your effort, I appreciate it 🤝 .
 I changed the tag v0.3.0. I really just need v0.4.0 and the future upcoming versions.
Since it's my first step into own packages and working with GO, it's not a big deal. Anyway, I really grateful.
One question @findleyr : How can I get rid of the versions v0.2.0 and v0.3.0? I really don't need them.
Best regards
Sven


release: tag and branch kata-containers repository

Now CI depends on this repository, needed to make work stable
branches starting stable-1.10
Fixes: #894
Signed-off-by: Jose Carlos Venegas Munoz<EMAIL_ADDRESS>

/AzurePipelines run

/test

CI failing because kata-containers needs to be in the same VERSION in the file, just open a PR  for that https://github.com/kata-containers/kata-containers/pull/115

/test


Turn IncomingStreamHandler into FramedConnection.Listener.

Add a callback invoked on settings changes. The concurrency here
is a little awkward because the calls into the listener are not
serialized.
This is going to be used in a follow up change to keep the
connection's allocation limit in sync.

okhttp/src/main/java/com/squareup/okhttp/internal/framed/FramedConnection.java:915:17: 'abstract' modifier out of order with the JLS suggestions.

Always forget static abstract or abstract static!

LGTM


Fix Bug for Jumping to Calculator Mode Prematurely

This addresses the following issue: https://github.com/qdore/Mutate/issues/60
Before this fix, if you have a parameter for a script that has both
a math symbol and number in it Mutate would jump to calculator mode
and no longer stick with the script it was previously matching. This
was because the calculator check happens before script searches, and
once the script check happened the keyword would be altered.
This prevents calculator checks from happening if the the buffer
matches a script.  This was compiled and tested on Ubuntu 15.04.
Before the applied fix :point_down:  (note I have calc "..." removed in my config so it defaults to search)

After the applied fix :point_down:

+1 Approve


Smoke detector not triggering

Alarmo Version
1.8.1
HA Version
2021.12
Bug description
This was working very recently. But now when a smoke alarm trips it is no longer triggering the alarm
Steps to reproduce
Fire smoke at a smoke alarm.  e.g:

Check that it is active and home assistant
Note that it is not triggering the alarm.
Let me know if you need any further information.
Relevant log output
No response

My environmental binary sensors trigger the alarm as expected. Have just checked my instance. Maybe a configuration issue?

Can you click on the smoke sensor and check if it is assigned to an area?
If you have this sensor set up before support was added to Alarmo for multiple areas, it might be not assigned to any area, therefore not triggering any alarm.

Yes, that was it.  But they were only added in the last couple of weeks. The original ones still had an area but the new ones didn't have any area. Is it possible to have some sort of indication in the UI that they won't work without an area?

Added some visual aids.
In sensor overview page:

And on the sensor configuration page itself:

Thanks. Looks Great!


update CategoricalArrays [compat] = "^0.8"

Do not merge until MLJ repos upstream are tested locally

Should pass after https://github.com/JuliaData/DataFrames.jl/issues/2204 is resolved.

No, actually likely will need to wait for CSV update as well:
https://github.com/JuliaData/CSV.jl/pull/602

Codecov Report

Merging #20 into breaking will decrease coverage by 0.96%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           breaking      #20      +/-   ##
============================================
- Coverage     99.51%   98.55%   -0.97%
============================================
  Files             7        7
  Lines           208      208
============================================
- Hits            207      205       -2
- Misses            1        3       +2

Impacted Files
Coverage Δ

src/MLJScientificTypes.jl
100.00% <ø> (ø)

src/convention/coerce.jl
98.30% <100.00%> (-1.70%)
:arrow_down:

src/schema.jl
96.96% <0.00%> (-3.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Public Load Balancer

The instructions state that the load balancer can be Public.  If this is public, though, there is nowhere to configure the private IP to set it to the FCI IP.  How should this be configured?

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

ID: af26cb8a-f7a0-291b-7ac3-e38f679df4ba
Version Independent ID: dd04d12d-05cb-6fb4-4a2c-ef85ebb15d0e
Content: SQL Server FCI on Azure Virtual Machines - SQL Server on Azure VM
Content Source: articles/azure-sql/virtual-machines/windows/failover-cluster-instance-storage-spaces-direct-manually-configure.md
Service: virtual-machines-sql
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

Thanks for the question. We are currently investigating and will update you shortly.

Can you please elaborate on your question? Are you looking for instructions on how to set Private IP to be FCI IP, from Azure portal?
For 'Private IP Address' field, Enter the IP address that you assigned to the SQL Server FCI cluster network resource.

Please help me with it, if this is not what you are looking for. Thanks :)

@Karishma-Tiwari-MSFT I am referring to where to place the private IP when using a Public load balancer. Basically the question about instructions you asked to @MikeRayMSFT at the end. I do not believe it is possible to use (only) a Public Load Balancer for this scenario.

@MashaMSFT Would you be able to confirm whether public load balancer is supported for this scenario? The doc says so, but I am not seeing an option to do it from the Azure portal. Thanks :)

@MashaMSFT Did you get a chance to look into this issue? Looks like public load balancer is not supported. Can you help confirm on the same? Thanks :)

@MashaMSFT @Karishma-Tiwari-MSFT Any news here?

Hi @lovevvolf, thanks for reaching out once more and I apologize for the delay, we are working through a greater than average number of Git Issues so our responses are slightly delayed. We're still investigating.
My apologies and thank you for your patience!
Masha from the SQL Docs team

Hi @lonevvolf , thanks again for contacting Microsoft and my apologies once again for the delay. Yes, you can configure a public load balancer for the FCI.
You can associate the private FCI IP address with the public ILB when you configure the cluster probe:

Hope that helps and please let us know if you have any further questions.
Thanks!
Masha from the SQL Docs team

Can this be added to the documentation?

Hi @lonevvolf , my apologies, I'm not sure I understand, the above screenshot is from our documentation: https://docs.microsoft.com/azure/azure-sql/virtual-machines/windows/hadr-vnn-azure-load-balancer-configure?tabs=fci#configure-cluster-probe
Would you mind clarifying your request?
Thanks!
Masha from the SQL Docs team

Please see the start of this issue.  It was reported directly in relation to setup for an FCI cluster.
https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/failover-cluster-instance-storage-spaces-direct-manually-configure
Perhaps that should link to the articles you are referencing?

@lonevvolf, I have linked the article I am referencing both times :(
it's this one: https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/hadr-vnn-azure-load-balancer-configure?tabs=fci#configure-cluster-probe
There is a section there about the configuring the cluster probe, which is how you associate the private FCI IP with the load balancer:

Is there a reason this article does not address your question?
Thanks!
Masha from the SQL Docs team

Hi @lonevvolf , thanks once more for contacting Microsoft! Since your question was addressed, I'm going to proceed with closing out this Git Issue. But please feel free to comment should you need anything further :)
Thanks once more and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


sample-viewmodel module showcases keeping an always hot StateFlow in the ViewModel

This is an issue due to how AAC ViewModel typically is used. The backstack of screens keep the ViewModels in the backstack in memory, relying on behavior like stateIn and collectAsStateWithLifecycle() to turn the "hot" flows into "cold" ones when there no longer are observers on those states.
The example inside molecule could be altered to show a way which developers who still use ViewModels  can adopt in their own apps without this pretty important downside of keeping all molecule StateFlows always hot in the backstack.
This was briefly discussed already in https://github.com/cashapp/molecule/issues/271, but I do believe that it'd be worth it for the sample to be updated to solve this issue.

We are not users of ViewModel (the library), and would very much welcome any improvements to that sample which showcases the "right" way to use it with them.

Yes, I totally understand this, and I really appreciate that you have a module like that in this repo in the first place. It really helped me for example take the first step to try out molecule, so thank you for that.
I've raised a PR here https://github.com/cashapp/molecule/pull/274. I'd love for someone else who's more familiar with AAC ViewModel to also take a look at it and discuss the approach I've taken to make those two libraries work with each other.
The one thing I am the least happy about is the fact that we lose the free synchronous first value that you get from using launchMolecule, but I don't see a way to make that work without having the StateFlow stay hot basically forever while it's in the backstack, as discussed here https://github.com/cashapp/molecule/issues/271#issuecomment-1644311575.


Integration Documentation with angular 5 or angular 5+

I am new in angular and trying to work with pivottable in but there is no integration documentation with angular 5 or 5+ .

Hi @Bhuvn12,
I have integrated this library in my project which is in Angular 6.
Here are the steps which you need to follow :

npm install pivottable
Inside angular.json file put these below mentioned files

"styles": [
"./node_modules/pivottable/dist/pivot.css"
]

"scripts": [
"./node_modules/jquery/dist/jquery.min.js",
"./node_modules/pivottable/dist/pivot.min.js",
"./node_modules/plotly.js/dist/plotly-basic.js",
"./node_modules/pivottable/dist/export_renderers.js",
"./node_modules/pivottable/dist/plotly_renderers.js",
]

Now in your component where you want to show pivot table you need to put -

Inside ".ts file"
declare var $: any;

drawPivot() {
$("#output").pivotUI(
data, {
renderers: $.extend(
$.pivotUtilities.renderers,
$.pivotUtilities.plotly_renderers
)
});
}

Here data will be list of objects.
You just need to add all these things inside your project to run the pivot table. Please let me know of you face any issue after following all these steps. I would be happy to help you.
Thanks,
Ruchita


NuGet: Remove strict dependencies on OpenSSL and PicoJSON

Hi,
I am using NuGet to include jwt-cpp into my project. Unfortunately it force-installs Edit: ~an outdated~ a specific old NuGet package of OpenSSL, openssl-vc141-static-x86_<IP_ADDRESS>, which does not work under Visual Studio 2022 (vc143).
I suggest to remove those dependencies and let the user decide and care about OpenSSL. Edit: I might want to link a vc143 version from NuGet, e.g. "zeroc.openssl.v143", or some other version from some other source.
That strict dependency is a contradiction to the README statement at https://github.com/Thalhammer/jwt-cpp#readme , "In the name of flexibility and extensibility, jwt-cpp supports... [various OpenSSL versions and alternatives like LibreSSL]".
From https://github.com/Thalhammer/jwt-cpp/blob/master/nuget/jwt-cpp.nuspec lines 17-20:
    <dependencies>
      <group targetFramework="native0.0">
	    <dependency id="PicoJSON" version="1.3.0" />
	    <dependency id="openssl-vc141-static-x86_64" version="1.1.0" />
	  </group>
    </dependencies>

@diogo-strube It seems you are the expert about this :-)
Can you please simply remove those dependencies, or is there something I'm not seeing?
Thank you!
Sven

Maybe it should be a version range https://learn.microsoft.com/en-us/nuget/concepts/dependency-resolution?

Thanks Prince. I think I need to clarify my post above.
The problem is not the dependency on version 1.1.0 of that openssl package. The problem is that it depends on that package at all, instead of allowing me to use ANY openssl (or LibreSSL or whatever) package. The user should be allowed to link any openssl or libressl or whatever lib to their project, even from a different source than from NuGet. It IS possible when I include jwt-cpp in any other way, but not when I use NuGet.
So I think inside the NuGet configuration there should not be any dependency listed.

It's been a fairly long time since I used NuGet in particular, but if I use a dependency manager I kind of expect it to pull in all dependencies of the package I install. It feels like that's its job. The issue here is in my opinion that only one possible package specified. In other systems its possible to specify a list of compatible packages and versions, one of which has to be installed, but I am not sure if NuGet can do this and if, how. jwt-cpp definitely does support all the listed ssl libraries (and probably more as long as they are somewhat api compatible), we even run CI tests on every commit to make sure it does.
Looking at the docs it seems to be possible to specify a list of supported versions, but you can't specify a list of packages.
So basically we seem to be presented with three ways:

Not specify a ssl dependency at all. I'd like to avoid that, because it kinda goes againts the point of a dependency manager.
Specify a single library and tell users who need a different one to go install jwt-cpp manually. This sounds as bad as a solution as the above (possible worse).
Publish one package for every supported SSL type. Still not perfect, but better than not having a dependency at all.

Personally I'd go with the last option, possible with a fourth package that does not depend on any library. Basically

jwt-cpp
jwt-cpp-openssl
jwt-cpp-wolfssl
jwt-cpp-libressl

Thanks @Thalhammer Very good reply!
I appreciate the concept "Dependency Manager". You are right, when I use NuGet, I should not (and actually I do not) want to choose my favorite sub-dependencies, I just want it to work.
The challenge is that NuGet apparently has no openssl package that is as flexible (regarding platform/toolset) as jwt-cpp is.
As a workaround, I found that I can manually circumvent the dependency to openssl-vc141-static-x86_<IP_ADDRESS> in NuGet using "force uninstall":

Install jwt-cpp. (It also installs the dependent openssl and picojson. Let it.)
Select openssl-vc141-static-x86_<IP_ADDRESS>, enable the checkbox "Force uninstall", then uninstall it.
Install any other openssl package, e.g. zeroc.openssl.v143, or get and link openssl or libressl or ... in any other way without NuGet.

So while I do agree with your conclusion,

TLDR: I think we might be best off removing all dependencies and putting a big fat warning in the package description with a list of usable/required dependencies.

alternatively we could leave everything as it is, and add documentation how to make it work on platforms other than vc141.
Sven

Hunter requires nothing
https://github.com/Thalhammer/hunter/blob/49b971ee85ee1aa481176110e1ec612748f8b71b/cmake/projects/jwt-cpp/hunter.cmake
vcpkg hardcodes picojson but no openssl...
https://github.com/microsoft/vcpkg/blob/70992f64912b9ab0e60e915ab7421faa197524b7/ports/jwt-cpp/vcpkg.json#L8 there;s no override feature for a different one that I could find searching quickly
Conan lists openssl (but any recipe that's a provider can be overridden)
https://github.com/conan-io/conan-center-index/blob/a08f48696f5e06bd6dfaa68a35458502bfd73b04/recipes/jwt-cpp/all/conanfile.py#L26 and there's no JSON library
and nuget hardcodes both...

So I guess the bigger question is what should we make the default?

Option 1: Require nothing

Pro: Users pick everything
Con: Its pretty useless if you do not know what you are doing

Option 2: OpenSSL only

Pro: 95% are going to use it anyway, flexible for JSON library, still useful for signing
Con: User needs to know to add a JSON library after the fact

Option 3: Force Openssl and Picojson

Pro: Just works with default examples
Con: Extra to change the the JSON library

Personally I think 2⃣ is the best, but let me know if you think differently

Hunter requires nothing

Hunter requires what you select. It basically sets up a folder so that find_package can find the stuff it needs, but it seems we only have hunter_add_package for OpenSSL in there. Theoretically it could support all of them though (assuming we add support to the cmakelists.txt). You could then set the required one normally using JWT_SSL_LIBRARY and it would "depend" on what you select.
@Sven-HP Even though that workaround works for you I don't think we should treat it as the default solution for this issue, because it doesn't really work for CI because the way I understand it you need to do the uninstall step manually every time you set up the project on a new machine.

but it seems we only have hunter_add_package for OpenSSL in there.

I did not see that when I look :eyes: I just noticed its in out repo, so we having to add it here which is kinda gross but easier to maintain.
That's 2 for option :two: IT's just nuget and vcpkg that we need to update to match?

@Sven-HP Even though that workaround works for you I don't think we should treat it as the default solution for this issue, because it doesn't really work for CI because the way I understand it you need to do the uninstall step manually every time you set up the project on a new machine.

I have tested that. It does work for CI. My workaround only has to be done once, when adding jwt-cpp to the project, and not on every machine. The result is the desired package selection (here: openssl-vc143 instead of openssl-vc141) stored correctly in my project files (*.vcxproj, packages.config), and that gets committed into my project's repo as usual, and works out of the box on other machines. :-)


Feature 100 additional rl

Add TD3 as an additional RL agent
Add example notebook for using TD3
Add Wandb example

@janstenner, are the changes in the Poject.toml ok to your mind?

@janstenner, are the changes in the Poject.toml ok to your mind?

yes, looking good to me


Duration of in-progress recording is not updated

Have you read the FAQ and checked for duplicate open issues?:
Yes
What version of Shaka Player are you using?:
2.3.4 (in production) and 2.4.0 (in testing right now)
Can you reproduce the issue with our latest release version?:
Yes, also tested in 2.4.2
Can you reproduce the issue with the latest code from master?:
Yes
Are you using the demo app or your own custom app?:
Custom app
If custom app, can you reproduce the issue using our demo app?:
No, there is a custom authorization flow
What browser and OS are you using?:
Chrome 68 macOS
What are the manifest and license server URIs?:
I am working on getting credentials for you to observe the problem in our prod environment. I will email when I have them.
What did you do?
Attempt to play an in-progress recording of some live content. The DASH manifest has an increasing mediaPresentationDuration and Period@duration (the values are the same).
What did you expect to happen?
Playback should continue smoothly until the end of the recording, and the video duration should be updated as the recording grows longer.
What actually happened?
Playback stops after the initial recorded duration of content (that is, the value of mediaPresentationDuration from the first manifest requested at the start of playback. When the player reaches this point, it continues to fetch updated manifests but does not fetch segments, so playback stalls.
I see that Shaka only calls MediaSourceEngine#setDuration at the start of playback. This seems unexpected. How does Shaka handle increasing presentation duration?

From discussion in #1148 it seems unclear if the duration must be known at the start of playback.

Is the duration you set the duration of the content in the manifest or is it longer than the content available?  If we didn't do a manifest update, could we play to the duration or would it run out of available content?
The idea of IPR is that we know the duration ahead of time; if you are changing the duration, why not use a normal live stream?  Once the live stream ends you can convert it to VOD.
We set the duration at the beginning since not having a duration makes seeking not work well.  Even for live streams we set a huge duration so that we can seek while playing.  We could increase the duration while we play, but decreasing it would be difficult.
It looks like the DASH parser already updates the duration in the PresentationTimeline, it just doesn't get updated to the <video>.  We may be able to support changing the duration in the future, but I'll but this on the backlog for now.

Is the duration you set the duration of the content in the manifest or is it longer than the content available? If we didn't do a manifest update, could we play to the duration or would it run out of available content?

The duration is the duration of the content available. On inspection I see that mediaPresentationDuration is one segment length longer than the sum of all segments described in the manifest. We are using 6s segments. For example:
<MPD availabilityStartTime="2018-07-30T16:45:07.578Z" mediaPresentationDuration="PT2M54.174S" minBufferTime="PT4S" minimumUpdatePeriod="PT6.006S" profiles="urn:mpeg:dash:profile:isoff-live:2011" publishTime="2018-07-30T16:48:54.000000Z" type="dynamic" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready">
  <Period duration="PT2M54.174S" id="0zB9AK2PRki_2B81Zp6jYA" start="PT0S">
...
      <SegmentTemplate initialization="pts/init.mp4" media="pts/$Time$.m4f" presentationTimeOffset="369804134700" startNumber="0" timescale="90000">
        <SegmentTimeline>
          <S d="540540" r="28" t="369804134700" />
        </SegmentTimeline>
      </SegmentTemplate>

Generally, in each subsequent manifest request, mediaPresentationDuration is increased by 6.006s, and S@r is incremented by 1. Without doing a manifest update, you could play this content to completion.

The idea of IPR is that we know the duration ahead of time; if you are changing the duration, why not use a normal live stream? Once the live stream ends you can convert it to VOD.

This stream is converted to VOD once the recording is complete. At that time the MPD becomes type="static". I'm not sure why we don't use a live stream for the in-progress portion, I'll check with our packaging team.

@TheModMaker My team did some troubleshooting on an identical issue in late January this year. At the time we were using Shaka v2.2.8 and I observed that the player was able to update the duration of an in-progress recording. However, I believe our headend services and content has changed since then. When I try to play this content with v2.2.8, it doesn't work, it stops at the recorded duration.
Looking at our old ticket, I see this is the feedback we received from our packager:

The MediaPresentationDuration is constantly updated in the dash MPD as we add segments to it during the recording state, so if the player is only using the initial MediaPresentationDuration and its not adjusting it due to the addition of new segments then that's likely a player issue. The player should be re-requesting the dash MPD while playing out to get the updated new video segments as they are added so it should be fully aware of the new MediaPresentationDuration

It seems it's easy to force to player to treat the IPR as live just by removing mediaPresentationDuration from the manifest, which I can do in a response filter. This allows the player to play past the initial recorded duration. I will keep testing to see what happens when the presentation ends.

I see that if I just remove mediaPresentationDuration from the manifest, playback proceeds normally. When the recording ends, the stream is converted to VOD and playback ends as expected. This is a bit of a hack so I'd prefer to avoid doing this if possible.
How big is the change to add support for updating duration throughout playback? I'd be happy to add this functionality if I could be pointed to some of the key areas of the code. I made a change to StreamingEngine#append_ to call this.setDuration_() after appending a new segment. The duration would update throughout playback, but playback still stalled after the initial recorded duration. What other changes would be required?

After some more reading of the spec, I think it's the content that is wrong. From ISO/IEC 23009-1:2014(E), <IP_ADDRESS> Semantics, Table 3:

@mediaPresentationDuration specifies the duration of the entire Media Presentation. If the attribute is not present, the duration of the Media Presentation is unknown.
This attribute shall be present when neither the attribute MPD@minimumUpdatePeriod nor the Period@duration of the last Period are present.

Also in IOP 4.2, section 4.6.4 Transition Phase between Live and On-Demand

In the scenario for which the same MPD URL is used for live and On-Demand content, once the URL and publish time of the last Segment is known for the live service, and the duration of the service is known as well, the service provider acts as defined in clause <IP_ADDRESS>, i.e.,

adds the attribute MPD@mediaPresentationDuration

I will close. Please label "Working as intended". Thanks!


Loader issue

As shown in Figure 1, when I modify the code in the figure and introduce. pmx or. pmd files, an error will be reported at sceneLoading (see Figure 2). After checking, the getDefaultPlugin method does not return default plugin information. This is the first time I have encountered such a project, please provide assistance.

Find the reason and release according to the comments
import "babylon-mmd/esm/Loader/pmdLoader";

Good to hear it worked for you. If you have any further questions, please open an issue.


Error when debugging on chrome

Close all debug chrome tabs, restart packager and the error should go.
From what I see, you have a problem with running a debugger for you app on emulator. First error tells you pretty much what you need to do, the second one tells you that there is a DNS resolution failure(see this).
@facebook-github-bot stack-overflow

^ this moment, when you don't have a permission to use a github-bot

@facebook-github-bot stack-overflow

@facebook-github-bot shack-overflow

@facebook-github-bot stack-overflow


Update Mappings

Update Child Collections Mapping, set the cascade style to both all and delete-orphan which enables deletion of items that has been removed from the collection when saving/updating parent item. With only cascade all the following user account service method will not work (Child collection item will not be deleted):

RemoveCertificate
RemoveClaim
RemoveClaims
RemoveLinkedAccount
RemoveLinkedAccountClaims
RemovePasswordResetSecret
RemoveTwoFactorAuthTokens

Finally got to this -- thanks.


UPLOAD_RETRYING status triggered too late before auto-retry

The qq.status.UPLOAD_RETRYING status is triggered immediately before the file upload begins again as part of the retry attempt. This means that the status flashes from "retrying" to "uploading" almost instantly. And during the retry.autoAttemptDelay period, the status is still listed as UPLOADING. Instead, the status should be switched to UPLOAD_RETRYING before the retry.autoAttemptDelay timer  begins. Once this is fixed, those using the API will know that a retry is imminent immediately after each failure.

Fixed. This is the last case for 5.11.9, which will likely be release in the next few days.


[Q] Date formating in cells

Hello,
i would like to know if there is a way to format dates in cells .

@a-boulafia
You can do that.

import * as moment from 'moment';

// format date
worksheet.getCell('A1:A1').value = moment(new Date()).format('DD/MM/YYYY').toString();


Wrong version resolution by npm/yarn on some occasions

This is due to the fact that according to semver, our alpha versions are always considered older than our preview versions.
Here's how a normal user would run into this:

They run npm install @prisma/client@alpha prisma2@alpha at some point
They find a bug, we fix it and ask them to update to alpha.XYZ
They manually update their package.json's prisma2 version to 2.0.0-alpha.XYZ and run npm i
They actually get the preview version installed in their node_modules

Here's a way to simulate this:

Create a new npm repository: mkdir abcd && cd abcd && npm init -y
Run npm i @prisma/client@alpha prisma2@alpha
Check actual version of prisma2 installed in your node_modules (Should be latest alpha)
Delete node_modules and package-lock.json
Run npm i
Check version of prisma2 in node_modules again. It'll be the latest preview.
This is bad, because your package.json still says "prisma2": "^2.0.0-alpha.XYZ".

This stems from the fact that our alphas and previews don't behave like we expect because of semver. If you head over to https://semver.npmjs.com, you'll be able to verify this.

I'm not sure what the solution to this problem would look like.

Here's another (more accurate) simulation:

Create a new npm repository: mkdir abcd && cd abcd && npm init -y
Now I want you to install the alpha versions of @prisma/client & prisma2 that are just shy of the latest version. As of this writing, latest alpha is 2.0.0-alpha.904, so I want to install 2.0.0-alpha.903. You can do this by EXPLICITLY defining versions in your package.json:

  "dependencies": {
    "@prisma/client": "2.0.0-alpha.903",
    "prisma2": "2.0.0-alpha.903"
  }

Notice there aren't any semver symbols (like ^, or ~ here). Then run npm i
3. Verify that the versions of @prisma/client and prisma2 inside your node_modules is alpha.903. This is important.
4. Now change your package.json's dependencies to:
  "dependencies": {
    "@prisma/client": "^2.0.0-alpha.903",
    "prisma2": "^2.0.0-alpha.903"
  }

And npm i
5. You're now in the same state as the user was when we ask them to update to the latest alpha.XYZ
6. So do that, update your dependency to alpha.904 and run npm i
7. Check your node_modules and you'll have the preview in there

What is actionable here?

This should only be a problem for the remaining time in that we use 2.0.0 as the base version.
https://docs.npmjs.com/misc/semver#prerelease-tags

If a version has a prerelease tag (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag.

This means, that as soon as we use 2.0.0, 2.0.1, 2.1.0 etc the prerelease versions will only possibly be upgraded to that version if available - and that should be expected behavior.

I am going to close this now as 2.0.0 has been released.


prerender not sending response on heavy load

Hi,
We are testing now prerender and it seems like it can't handle the heavy load of the SEO crawling requests.
After 300-400 requests, it starts to log 2021-01-18T21:13:56.267Z response not sent for https://..... for all of the next requests.
It seems like the chromium process is stuck or so, and there's no any timeout to kill it by prerender.
When trying to run manually (during those errors) the chromium binary with the same URL, it spits out the DOM as expected, so in my opinion, it's a process management issue with chrome/prerender.
pkill -9 chrom is recovering the issue till the next time.
Does anyone face something like that? is there any way to timeout the chromium process?
chromeFlags: [ '--disable-dev-shm-usage', '--no-sandbox', '--headless', '--disable-gpu', '--remote-debugging-port=9222', '--hide-scrollbars']
prerender 5.8.0
Node 12 docker alpine
Chromium 81.0.4044.113

Seeing this issue, as well. Would be nice to get some feedback here.

i have the same problem.

Me too.. any updates on this issue?

Hi there is a period after prerender is restarting the browser IF there is no request in flight.
Let this mechanism restart the browser by stopping the traffic from time to time.

We have the same problem. There is never a timewindow when there is nothing inflight, therefore chromium is never restarted.


Adding media retention policy resource

Adding media retention policy resource

Tests are failing for TestAccDataSourceArchitectDatatable, a test I didn't alter in this PR.  Looks like this is happening in @charliecon's current pr too, don't know the cause yet.

Tests are failing for TestAccDataSourceArchitectDatatable, a test I didn't alter in this PR. Looks like this is happening in @charliecon's current pr too, don't know the cause yet.

I've asked a question about that in the terraform forum. Seems like they updated something that caused it to break

You'll have to do a rebase to fix the conflict. Also, there are some documentation changes you'll pick up so you'll have to run go generate again before pushing

Seeing the following error from the tests:
Error: Failed to create media retention policy terraform-media-retention-policy: API Error: 400 - BadRequestException: sendingDomain does not exist in the organization (4297f500-d59a-478e-8159-d4a9ded169d1)

Do we need to do something for the test org?

What is the context_id value in the genesyscloud_quality_forms_evaluation resource? I've seen the following error when exporting that resource now
resource_genesyscloud_tf_export_test.go:416: Step 1/1 error: Error running apply: exit status 1

        Error: mismatch on attribute context_id:
        expected value: a65c1ee0-aefb-4e92-a3b4-6a04f1622069
        actual value:   b0d52308-26a6-4770-81ca-96f6f762134d

          with genesyscloud_quality_forms_evaluation.terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e,
          on terraform_plugin_test.tf line 2, in resource "genesyscloud_quality_forms_evaluation" "terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e":
           2: resource "genesyscloud_quality_forms_evaluation" "terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e" {

d59a

I think so. I tried just removing the sending domain field or assigning empty strings, but that block requires the sending domain field.

What is the context_id value in the genesyscloud_quality_forms_evaluation resource? I've seen the following error when exporting that resource now
resource_genesyscloud_tf_export_test.go:416: Step 1/1 error: Error running apply: exit status 1

        Error: mismatch on attribute context_id:
        expected value: a65c1ee0-aefb-4e92-a3b4-6a04f1622069
        actual value:   b0d52308-26a6-4770-81ca-96f6f762134d

          with genesyscloud_quality_forms_evaluation.terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e,
          on terraform_plugin_test.tf line 2, in resource "genesyscloud_quality_forms_evaluation" "terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e":
           2: resource "genesyscloud_quality_forms_evaluation" "terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e" {

The context id for the evaluation form resource is required by the api for media retention policy creation. I was able to remove the context_id field from the evaluation form resource and get it directly from the api instead in the media retention policy resource.

Would you be able to do that for all resources and have no reference to context_ids anywhere in the resources? As much as possible we try to only expose what's absolutely necessary and if all context Ids can be got from the API then that would be a better experience for customers

What is the context_id value in the genesyscloud_quality_forms_evaluation resource? I've seen the following error when exporting that resource now
resource_genesyscloud_tf_export_test.go:416: Step 1/1 error: Error running apply: exit status 1

        Error: mismatch on attribute context_id:
        expected value: a65c1ee0-aefb-4e92-a3b4-6a04f1622069
        actual value:   b0d52308-26a6-4770-81ca-96f6f762134d

          with genesyscloud_quality_forms_evaluation.terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e,
          on terraform_plugin_test.tf line 2, in resource "genesyscloud_quality_forms_evaluation" "terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e":
           2: resource "genesyscloud_quality_forms_evaluation" "terraform_form_evaluations_026d16f1-5760-4c05-a390-875d01635f4e" {

The context id for the evaluation form resource is required by the api for media retention policy creation. I was able to remove the context_id field from the evaluation form resource and get it directly from the api instead in the media retention policy resource.

Would you be able to do that for all resources and have no reference to context_ids anywhere in the resources? As much as possible we try to only expose what's absolutely necessary and if all context Ids can be got from the API then that would be a better experience for customers

I removed the remaining context ids from the resources


custom deepcopy() method for 'StatisticalTest', to save some memory

In another product, we call deepcopy on lists of StatisticalTest. As a result, we might waste some memory copying dataframes
My understanding is that, within StatisticalTest, the dataframe is not changed. Therefore, it is not necessary to copy it. Is this correct? Is .data "immutable" within StatisticalTest

Coverage decreased (-0.09%) to 92.376% when pulling 4f8bc99f3d8f9b81bae2cffcbe18fd24e1e9a509 on aaron-mcdaid-zalando:do.not.deepcopy.dataframes into f3b839017db9e06eba12eaa67e4d3a7022e29fde on zalando:master.

why we need that? how much memory you expect to save by this?

The data object isn't small though, that is what I'm changing. I'm not making any change to kip, features, variants.

"We should not 'deepcopy' the pandas Dataframe. The dataframe is essentially immutable for the purposes of this.
"We'll 'deepcopy' everything else though." - this is from your comment, why we need to deepcopy that?

I think that the idea is quite good.
The only hypothetical objection would be that we're sticking to the idea of carrying around data frames, which I think breaks the separation of the pure logical description of a test and its actual execution.

@daryadedik,  ExpanService.py does a deepcopy of the StatisticalTestSuite

@aaron-mcdaid-zalando ah, we had a deepcopy in expan service, now I get your pull request :) I will think about it, but now we can keep it. Sorry for many comments.

I don't understand, why you even mention ExpanService here? You are developing self-sufficient, standalone library, focus on the API, which this lib should provide :)

@igusher , maybe this suggests that the boundary between expan and our internal Zalando tools is in the wrong place!
It is appropriate to define special methods, such as __repr__ and __len__, in this repo. Therefore, __deepcopy__ is also suitable in this repo.

... but I'm not saying this in order to advocate again for this PR. I'm just observing that I'm confused about what design decisions, if any, were made when designing this API

@aaron-mcdaid-zalando it looks good to me. What is still in progress though?


cross platform test seem to hang mostly on apple aarch64 job

Component
Forge, Anvil
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
No response
Describe the bug
the aarch64 apple cross platform test seems to hang regularly at this test,
https://github.com/foundry-rs/foundry/runs/6903774179?check_suite_focus=true
but sometimes others
https://github.com/foundry-rs/foundry/runs/6905730226?check_suite_focus=true

test cmd::can_emit_multiple_extra_output has been running for over 60 seconds
test script::can_deploy_100_txes_concurrently has been running for over 60 seconds
test script::can_deploy_broadcast_wrap has been running for over 60 seconds

test cmd::can_emit_multiple_extra_output has been running for over 60 seconds
test script::can_deploy_100_txes_concurrently has been running for over 60 seconds
test script::can_deploy_broadcast_wrap has been running for over 60 seconds
test script::can_deploy_100_txes_concurrently ... ok
test script::can_deploy_mixed_broadcast_modes has been running for over 60 seconds
test script::can_deploy_broadcast_wrap ... ok
test cmd::can_emit_multiple_extra_output ... ok
test script::can_deploy_no_arg_broadcast has been running for over 60 seconds
test script::can_deploy_script_with_lib has been running for over 60 seconds

looks like this might be related to deploy/script tests so perhaps an anvil issue

Ah, I think I have an idea why this job specifically is still slow - we're cross compiling from x86 so I'm pretty sure all of these tests are being run under emulation lol

Yeah I think that's fine, cross-platform we mostly test for platform behavior anyway like paths etc.


Remove hardcoded npmjs registry.

Many organizations have npmjs mirrors and will block access. This uses npm config to get the configured registry so it will more universally work.
Also artifactory seems to add spaces in the response, so the regex in list-all is updated to be a bit more robust.

Is there a way to run these status reports @jonathanmorley ? Would be great to use asdf + pnpm in a corporate setting, thanks!


When is the next stable release scheduled?

I am wondering when the next official/stable release is scheduled please, even if only an approximate timeframe can be shared?  Or is there a roadmap of sorts you can point me to please?
It doesn't look as if there has been a stable release in over 18 months.  The C# language has evolved a good bit in that time - C#8 and now C#9 is released.  StyleCop 1.1.118 is flagging several issues because it predates the evolution of the language, which leads to lots of warning suppression, which I'm afraid will mask legitimate issues.
I see a good bit of activity in the repo suggesting that many of these issues have been fixed, but are only available in an "unstable" version.  Any chance of more smaller, incremental, frequent releases please?
Thanks to all that contribute to this awesome tool.

I would recommend using the beta releases if you are working with newer versions of the language. I would expect it to be sometime around next summer before the non-beta release is completed with C# 9 support stabilized.

Thanks for the info @sharwell.  I appreciate the quick feedback.

@sharwell do you have any updates on this? I went to add StyleCop to one of our solutions today and noticed that the last stable release was from 2019,  v1.1.118.
I'm going to add the beta package for now but it would definitely be nicer to have an official stable release.


support custom logger

Adds support for overriding RedisClient and RedisConnection's logger.

PRs are only accepted from the main GitLab repo.
Closing in favor of merge request 92


Multiple values/aggregator

Hi there,
Thanks for the amazing work you've added on top of pivottable.
I really like the ability to expand/collapse this awesome.
One of the thing I'm trying to add to your extension is the ability to have multiple values/aggregator.
I was using the method described there:
https://github.com/nicolaskruchten/pivottable/issues/30
Full like to fork:
https://github.com/unk1911/pivottable-multi-field-aggregator/tree/master
Here's also a fiddle that show multiple values in action
https://jsfiddle.net/dL86h8xr/
They added their own renderer which I changed a little bit to fit my needs.
But now I'm having a tough time to implement this in your renderer.
Have you ever thought of adding this features ? Any idea how I can implement it quickly ?
Thanks,
Damien

Hi, Thanks :)
I could not get the example of pivottable-multi-field-aggregator project or the fiddle. Could you please post some screenshots so that I understand your requirement well.

Hey !
There you go.
The main goal is to have multiple values per column.
Like you can see here we have only one column 'Okres' and for each of them we have 4 values : "IleOper, MK_Saldo, MO_Saldo, MS_Saldo"
I've already started to modified your rendered but I have to say it's not easy and I'm still far away from the expected result.

Let me know if there is a quick way to implemement that.

Here's another github link describing the use of MfSum And MfTableRenderer
https://github.com/nicolaskruchten/pivottable/issues/30

Thanks :)
Got it. What if there are vals in both rows and columns?
Please give me some time to think through and respond as early as possible.

  :)

I have something working but I'm not too proud of my code :p Most likely on buildRowHeaderHeaders i'm looping on valueKeys which contains the name of all my values columns (Cost, Sales) In buildValues same thing, but instead of calling aggregator.val() I call aggregator.multivalue() which return one property per value. Same technic is used inside buildTotals and buildGrandTotal. I also changed some colspans/rowspans to fit the number of values.
Like I said the code is not the cleanest yet but if anyone is interested let me know I'll post it.
Here's a small preview. I did change a little the default style. I Aslo updated your code to be able to use font awesome icons for collapse/expand, enable or disable expand/collapse.

Feel free to fork/clone the repository and incorporate your changes in your forked repository.
That will help us to review the changes....

@Dams591  pls share your code changes...so that i get a better understanding...

@Dams591 - I'm looking for similar feature, Could you please share your code ?

@Dams591  - Could you please share your code ?

At the moment I can't since its really tight to some other application, I'm doing my best to clean it and share it with you guys.

Thanks @Dams591 , Hoping to see your code soon.
@nagarajanchinnasamy  - Any chances of you working on this feature ?

OK. Let me give it a try over this weekend if possible. Will keep you posted. Thanks for you interest :)

@nagarajanchinnasamy  - That would be great ! Thanks in advance !

I haven't started coding. Still trying to understand the requirement better and arrive at a generic design. But definitely in my to-do list :)

Hey Guys,
I was able to make a working version for you to study.
Here is my code. Like I mentioned earlier I'm not so prod about it and since I didn't have the time to clean it it is a little bit messy.
I'm currently looking for a way to display/hide subtotals (specially once on expand) and i would appreciate if you could help me towards that.
On the following codpen you will see that I have multiple value per Car Type ( Cost, Profit).
http://codepen.io/anon/pen/YNVbJm?editors=0010
Let me know if there's anything I can help you with.

@Dams591 Thanks for the code. Will go through it.
Regarding, the way to display/hide subtotals:
pvtColSubtotal and pvtRowSubtotal classes will help you locate the cells related to subtotals.  expanded and collapsed classes will help you locate expanded or collapsed subtotal headers. You can find elements using these classes and apply necessary css.
See #20 styling collapsible labels.

@Dams591 you may also want to refer to #14 Give label for subtotal

@nagarajanchinnasamy I think using the css class will be enough !! I didn't know you implemented this ! great news ! thanks and let's keep in touch.

Humm sorry maybe I wasn't clear enough. I did implement the expanded/collapsed classes but it is not going to help me much.
I want to remove whats highlighted in yellow below once the collum is expanded. In fact I want to hide the subtotal value columns when I expand.

And this is unfortunately not as easy as hidding a cell because of the colspans and stuff. Any idea ?
Another thing would be to display the rows subtotals at the end like you did for the columns.
Thanks
Damien

Understand your problem. Could you please raise a separate issue to resolve hiding subtotals upon expansion.

Sure. let me close this one in the meantime. Thanks for your help.

For those who needs multiple values and hiding subtotals here's a way. Sorry I couldn't forked at the time due to other issues http://codepen.io/anon/pen/YNVbJm?editors=0010

Hi!
I have attempted to write a plugin for adding multiple aggregations on different fields and have published them here: https://github.com/pranjal-goswami/multifact-pivottable

Using this plugin you can :

Add multiple aggregations to the same pivottable: AVG(Column A), SUM(Column B)

Add derived aggregations :
-- a = AVG(Column A)
-- b = SUM(Column B)
-- [c = b/a] as 'Success Score'

Hide an aggregate (in case you want to use the value in derived aggregate but not show it)

Hide an aggregate from row-totals section

Enhance rendering of aggregations using heatmap or barchart

Custom heatmap colors for each aggregation

A demo is available here: http://pranjalgoswami.in/multifact-pivottable/examples/
Will add detailed documentation if people find the plugin useful.
Also, currently subtotals are not supported. But will extend @nagarajanchinnasamy 's work to support that too.

@pranjal-goswami @nagarajanchinnasamy
I have seen both the plugins, both are great for extending pivot table features.
It would be nice if both could be integrated into one.


Icon is not showing in Cinnamon desktop

Known issue #84, give it a search.

@anatolinicolae can you maybe have a look at the source code from v2, this is a new issue in v3 - It didn't happen before 👍

This icon bug appeared on Windows as well. Will definitely check v2 and copy whatever was there before hoping for a working fix.


Adding stack creation event to errors?

I'll have this code by v8 engines:
        Error.prepareStackTrace = function (error, frameObjects) {
            return new Stack(error, function (){return frameObjects;});
        };

I intend to freeze this method or make it non-configurable.
Should I add an event for logging errors?

Actually by v8 stack is lazy loaded, so the prepareStackTrace is called only once and it will set the stack property if the error. So not every error is passed to this function, only the errors which have been asked for a stack property.

Is there a way to log all errors then? No it isn't, only if you put your code into a huge try-catch block and you override every async function with try-catch wrappers.


a fatal error occurred in asynchronous engine operation

I encountered an issue about operation engine. The error information is showed below.

This looks like out of memory. Please try smaller batch sizes

@zhaodongsun Can you confirm if the issue was solved with smaller batch sizes?
@sandeep-krishnamurthy Can you add labels

Memory
Pending Requester Info

@Roshrini The issue was solved with smaller batch size


PR for 04

I am using quotation marks frequently for code inside text, I can use hyphens instead or omit any notation if you think that would be better

@hclivess Excellent work, thank you!

Thank you too, Mike


music file name from music stream server such as Tidal is too long to play.

A lot of the music files name from Tidal is too long and cannot be played,and I don't want to shorten them.

Can I have some details? For example, specify the full path.


Modal.getInstance returns null

Bug reports must include:
On MacOS 11.0.1, Firefox 83. Bootstrap 5.0.0.alpha3 (installed via yarn)
I have a modal that works great using the data attributes and I'd like to get the instance via javascript.   However, it looks like I have to create a new instance, and I can't rely on the instance created by the data attributes, is that right?

Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and Operating System details.
This is an automated reply

Cool. Thank you.


[8.x] increase performance of Str::before by over 60%.

This PR proposes a change to the Str::before function that improves performance by over 60% compared to the old code (see benchmarks below). Even with an empty search string, the new code is slightly faster.
The string cast of the $search parameter is necessary to remain compatible with the tests/Support/SupportStrTest.php test, which tests for acceptance of integer values as $search parameter. To me, this is a little confusing, because the PHPdoc block declares $search as string. I didn't change this, but I think the type should be changed to mixed for $search, if this is really expected behavior.
Alternatively, the test could be changed, but since this would introduce a breaking change, this is not advisable.
As a side node, the new code would be another 10% faster without the string cast. Not using a shorthand if in the return line would further improve performance, but is slightly less readable.
Benchmarks
Current code:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel'; $search = '/'; for ($i = 10000000; $i--;) { $search === '' ? $subject : explode($search, $subject)[0]; } echo microtime(true)-$s . "\n"; }
0.95517802238464
0.96321487426758
0.95738410949707
0.95915079116821
0.96855711936951

New code:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel'; $search = '/'; for ($i = 10000000; $i--;) { if ($search === '') { $subject; } else { $result = strstr($subject, (string) $search, true); $result === false ? $subject : $result; } } echo microtime(true)-$s . "\n"; }
0.58452105522156
0.58884692192078
0.5809018611908
0.58099007606506
0.58521318435669

Current code with empty search:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel'; $search = ''; for ($i = 10000000; $i--;) { $search === '' ? $subject : explode($search, $subject)[0]; } echo microtime(true)-$s . "\n"; }
0.16867280006409
0.16797685623169
0.16919302940369
0.16927814483643
0.16803288459778

New code with empty search:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel'; $search = ''; for ($i = 10000000; $i--;) { if ($search === '') { $subject; } else { $result = strstr($subject, (string) $search, true); $result === false ? $subject : $result; } } echo microtime(true)-$s . "\n"; }
0.1334171295166
0.13449788093567
0.13518381118774
0.13393306732178
0.13339805603027

New code without string cast:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel'; $search = '/'; for ($i = 10000000; $i--;) { if ($search === '') { $subject; } else { $result = strstr($subject, $search, true); if ($result === false) { $subject; } else { $result; } } } echo microtime(true)-$s . "\n"; }
0.50580191612244
0.50802898406982
0.51281690597534
0.52838587760925
0.51457190513611

looks like you could get rid of the initial empty string check when switching to this function. strstr will throw a warning, but it does allow an empty needle, where explode does not.
$result = strstr($subject, (string) $search, true);

return $result === false ? $subject : $result;

and then couldn't we single line it?
return strstr($subject, (string) $search, true) ?: $subject;

Does this actually make things faster for real apps?

looks like you could get rid of the initial empty string check when switching to this function. strstr will throw a warning, but it does allow an empty needle, where explode does not.
$result = strstr($subject, (string) $search, true);

return $result === false ? $subject : $result;

Not a fan of having a warning thrown, tbh.

and then couldn't we single line it?
return strstr($subject, (string) $search, true) ?: $subject;

Consider this case:
$subject = '0x10';
$search = 'x';

strstr($subject, (string) $search, true) ?: $subject;

This will return 0x10, but it would be expected to return 0.

Does this actually make things faster for real apps?

Depends on the app and the data, I would say. It will certainly make a difference iterating over very large datasets. I noticed it myself when optimizing such a script and found out that strstr was making a difference of several seconds in runtime.
And I was being kind with the benchmarks. To visualize how bad it can really get, imagine a case where the needle is in the haystack multiple times:
New code:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/b/b//b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b'; $search = '
/'; for ($i = 10000000;
0.56986904144287
0.57503294944763
0.57185816764832
0.57861685752869
0.5752580165863

Current code:
>>> for ($a = 5; $a--;) { $s = microtime(true); $subject = 'vendor/laravel/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/a/b/b//b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b/b'; $search = '/'; for ($i = 10000000; $i--;) { $search === '' ? $subject : explode($search, $subject)[0]; } echo microtime(true)-$s . "\n"; }
20.957284927368
21.176103115082
20.958166122437
20.968662977219
21.130389928818

That is 40x faster. So, yes, I would say it does have an impact in some cases. Frankly, I wouldn't want to leave the function that way, and I don't see a benefit of not patching it.

I wonder how
strtok('before?after', '?')

fares with the micro benchmarks.
Same behvaiour was with strstr, if not found it returns false

I wonder how
strtok('before?after', '?')

fares with the micro benchmarks.
Same behvaiour was with strstr, if not found it returns false

Slightly worse than strstr for small strings and MUCH worse than explode on long strings.

Thank you! => 🗑 😄


Fix function definition

@ryanmt please review & merge soon

Thanks for the contribution.

I tried to merge this on my phone. Doesn't look like it worked as expected. I'll check on a computer and accept it the right way.


Add custom throttling policy page

Purpose
This PR is to add custom throttling policies page.
This will fix https://github.com/wso2/docs-open-banking/issues/642.

Since the siddhi query is already provided in the pack and its file path is mentioned in the doc, I removed the query from the doc.


DetailedCostReportClient.BeginCreateOperation LRO returns wrong terminal success status

It's returning Completed when per ARM RPC spec it should return Succeeded.  This causes PollUntilDone() to essentially be in an infinite loop.

Since the service might not be able to change this due to back-compat concerns, we've added Completed to the list of terminal success status codes.  Fix will be included in the next update of azcore post v1.4.0.

On further investigation, it appears the service is returning a provisioning state of Cancelled to indicate that the reservation has been cancelled, not that the LRO has been cancelled.  Provisioning state is used to communicate the status of an LRO, not the state of the resource.

Ping @ccmixpdevs

Can you remove the Cost Management - Query label? This is not using Query API.


Specify a browser version range?

For example:
var legacyIE = browserslist('ie 5.5 through 8');
//=> ['ie 5.5', 'ie 6', 'ie 7', 'ie 8']

Maybe ie 7-9 syntax is more better, especially for non-English speakers? :)

Released in 0.5

Awesome! :+1:


Update DragCameraWithPointer Extension to use Option and Layer parameter types instead of normal string

Replaced normal string parameters with Layer and Options parameter. Changed the events to fit this change
Extension file
DragCameraWithPointer.zip

Excellent, great stuff! Updated 👍


Web3 Token Transfer for .NET

Hello,
In my .NET Core project, I want to transfer a token from a wallet on any network to another wallet on the same network. I've been trying the "Nethereum" library but without much success.
I can send ETH on the Ethereum network and BNB on the Binance Smart Chain network. However, I could not send any Token from the relevant network through the contract address.
Does the "web3.dots" you have published provide this or can you help me with this?
Thank you in advance. :)

For what you are describing you will need a bridge in order to accomplish this task. There is a great video by eat the blocks that shows you how to create one from scratch. I have posted a link to it below.
https://www.youtube.com/watch?v=LFoTlG-4TmU

Hello,
I guess I was misunderstood. I didn't mean to transfer between networks. I asked about the transfer of tokens in the same network.
Thanks.

Okay, so you want to transfer your own ERC20/721 or 1155 token utilizing the abi of the smart contract. If so, yes. You can accomplish that with Web3.DOTS.

In fact, this is exactly what we want to do: We are a new organization. We are trying to make software similar to Capital. Project X will send "X token" to our central wallet. We will also distribute X Token to our members' wallets.
We are investigating how we can do this with C# - .NET in the background.
Thanks